enhance(frontend): update aiscript to 1.1.0

This commit is contained in:
syuilo 2025-08-18 10:18:34 +09:00
parent fea9f27fd6
commit e481205342
5 changed files with 14 additions and 14 deletions

View File

@ -22,8 +22,8 @@
- Enhance: ユーザー検索をロールポリシーで制限できるように
### Client
- Feat: AiScriptが1.0に更新されました
- プラグインは1.0に対応したものが必要です
- Feat: AiScriptが1.1.0に更新されました
- プラグインは1.xに対応したものが必要です
- Playはそのまま動作しますが、新規に作られるプリセットは1.0になります
- 以前のバージョンから無効化されていた note_view_interruptor が有効になりました
- Feat: セーフモード

View File

@ -25,7 +25,7 @@
"@rollup/plugin-replace": "6.0.2",
"@rollup/pluginutils": "5.2.0",
"@sentry/vue": "10.0.0",
"@syuilo/aiscript": "1.0.0",
"@syuilo/aiscript": "1.1.0",
"@syuilo/aiscript-0-19-0": "npm:@syuilo/aiscript@^0.19.0",
"@twemoji/parser": "16.0.0",
"@vitejs/plugin-vue": "6.0.1",

View File

@ -88,7 +88,7 @@ let choices = [
]
// PlayID+ID+
let random = Math:gen_rng(\`{THIS_ID}{USER_ID}{Date:year()}{Date:month()}{Date:day()}\`, { algorithm: 'rc4_legacy' })
let random = Math:gen_rng(\`{THIS_ID}{USER_ID}{Date:year()}{Date:month()}{Date:day()}\`)
//
let chosen = choices[random(0, (choices.len - 1))]

View File

@ -320,7 +320,7 @@ describe('AiScript UI API', () => {
const { root, get, outputs } = await exe(`
let text_input = Ui:C:textInput({
onInput: print
"default": 'a'
default: 'a'
label: 'b'
caption: 'c'
}, 'id')
@ -361,7 +361,7 @@ describe('AiScript UI API', () => {
const { root, get, outputs } = await exe(`
let textarea = Ui:C:textarea({
onInput: print
"default": 'a'
default: 'a'
label: 'b'
caption: 'c'
}, 'id')
@ -402,7 +402,7 @@ describe('AiScript UI API', () => {
const { root, get, outputs } = await exe(`
let number_input = Ui:C:numberInput({
onInput: print
"default": 1
default: 1
label: 'a'
caption: 'b'
}, 'id')
@ -564,7 +564,7 @@ describe('AiScript UI API', () => {
const { root, get, outputs } = await exe(`
let switch = Ui:C:switch({
onChange: print
"default": false
default: false
label: 'a'
caption: 'b'
}, 'id')
@ -609,7 +609,7 @@ describe('AiScript UI API', () => {
{ text: 'B', value: 'b' }
]
onChange: print
"default": 'a'
default: 'a'
label: 'c'
caption: 'd'
}, 'id')

View File

@ -731,8 +731,8 @@ importers:
specifier: 10.0.0
version: 10.0.0(vue@3.5.18(typescript@5.9.2))
'@syuilo/aiscript':
specifier: 1.0.0
version: 1.0.0
specifier: 1.1.0
version: 1.1.0
'@syuilo/aiscript-0-19-0':
specifier: npm:@syuilo/aiscript@^0.19.0
version: '@syuilo/aiscript@0.19.0'
@ -4193,8 +4193,8 @@ packages:
'@syuilo/aiscript@0.19.0':
resolution: {integrity: sha512-ZWG4s1m6RrFjE7NeIMaxFz769YO1jW5ReTrOROrEO4IHheOrjxxJ/Ffe2TUNqX9/XxDloMwfWplKhfSzx8LGMA==}
'@syuilo/aiscript@1.0.0':
resolution: {integrity: sha512-m+Dxx0g2pDI198OCj/OJgiJnE4ajlbOFAMyh84FmbY1S8ss/MHytxY82dCnMZj5WVt7VE7a1rtW7biuRRfuyaA==}
'@syuilo/aiscript@1.1.0':
resolution: {integrity: sha512-3S6+tWC6f8WD8nnCgXSkqzPlEL9iKH9cfjERrk3OEuVQy+qP3wSLRszjy9FEHeYtvg90erUCGhTuYUy4XCNnmg==}
'@szmarczak/http-timer@5.0.1':
resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==}
@ -14450,7 +14450,7 @@ snapshots:
stringz: 2.1.0
uuid: 9.0.1
'@syuilo/aiscript@1.0.0':
'@syuilo/aiscript@1.1.0':
dependencies:
seedrandom: 3.0.5
stringz: 2.1.0