AiScriptを0.19.0にアップデート (#14226)

* Update autogen files

* Update CHANGELOG.md

* Update flash-edit.vue
This commit is contained in:
FineArchs 2024-07-17 16:55:17 +09:00 committed by GitHub
parent 8ebc3b51f7
commit 070f0e723d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 610 additions and 306 deletions

View file

@ -20,6 +20,7 @@
(Based on https://github.com/taiyme/misskey/pull/226) (Based on https://github.com/taiyme/misskey/pull/226)
- Enhance: サーバー情報ページ・お問い合わせページを改善 - Enhance: サーバー情報ページ・お問い合わせページを改善
(Cherry-picked from https://github.com/taiyme/misskey/pull/238) (Cherry-picked from https://github.com/taiyme/misskey/pull/238)
- Enhance: AiScriptを0.19.0にアップデート
- Fix: `/about#federation` ページなどで各インスタンスのチャートが表示されなくなっていた問題を修正 - Fix: `/about#federation` ページなどで各インスタンスのチャートが表示されなくなっていた問題を修正
- Fix: ユーザーページの追加情報のラベルを投稿者のサーバーの絵文字で表示する (#13968) - Fix: ユーザーページの追加情報のラベルを投稿者のサーバーの絵文字で表示する (#13968)
- Fix: リバーシの対局を正しく共有できないことがある問題を修正 - Fix: リバーシの対局を正しく共有できないことがある問題を修正

View file

@ -24,7 +24,7 @@
"@rollup/plugin-json": "6.1.0", "@rollup/plugin-json": "6.1.0",
"@rollup/plugin-replace": "5.0.7", "@rollup/plugin-replace": "5.0.7",
"@rollup/pluginutils": "5.1.0", "@rollup/pluginutils": "5.1.0",
"@syuilo/aiscript": "0.18.0", "@syuilo/aiscript": "0.19.0",
"@tabler/icons-webfont": "3.3.0", "@tabler/icons-webfont": "3.3.0",
"@twemoji/parser": "15.1.1", "@twemoji/parser": "15.1.1",
"@vitejs/plugin-vue": "5.0.5", "@vitejs/plugin-vue": "5.0.5",

View file

@ -37,6 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script lang="ts" setup> <script lang="ts" setup>
import { computed, ref } from 'vue'; import { computed, ref } from 'vue';
import * as Misskey from 'misskey-js'; import * as Misskey from 'misskey-js';
import { AISCRIPT_VERSION } from '@syuilo/aiscript';
import MkButton from '@/components/MkButton.vue'; import MkButton from '@/components/MkButton.vue';
import * as os from '@/os.js'; import * as os from '@/os.js';
import { misskeyApi } from '@/scripts/misskey-api.js'; import { misskeyApi } from '@/scripts/misskey-api.js';
@ -48,7 +49,7 @@ import MkInput from '@/components/MkInput.vue';
import MkSelect from '@/components/MkSelect.vue'; import MkSelect from '@/components/MkSelect.vue';
import { useRouter } from '@/router/supplier.js'; import { useRouter } from '@/router/supplier.js';
const PRESET_DEFAULT = `/// @ 0.18.0 const PRESET_DEFAULT = `/// @ ${AISCRIPT_VERSION}
var name = "" var name = ""
@ -66,7 +67,7 @@ Ui:render([
]) ])
`; `;
const PRESET_OMIKUJI = `/// @ 0.18.0 const PRESET_OMIKUJI = `/// @ ${AISCRIPT_VERSION}
// //
// //
@ -109,7 +110,7 @@ Ui:render([
]) ])
`; `;
const PRESET_SHUFFLE = `/// @ 0.18.0 const PRESET_SHUFFLE = `/// @ ${AISCRIPT_VERSION}
// //
let string = "ペペロンチーノ" let string = "ペペロンチーノ"
@ -188,7 +189,7 @@ var cursor = 0
do() do()
`; `;
const PRESET_QUIZ = `/// @ 0.18.0 const PRESET_QUIZ = `/// @ ${AISCRIPT_VERSION}
let title = '地理クイズ' let title = '地理クイズ'
let qas = [{ let qas = [{
@ -301,7 +302,7 @@ qaEls.push(Ui:C:container({
Ui:render(qaEls) Ui:render(qaEls)
`; `;
const PRESET_TIMELINE = `/// @ 0.18.0 const PRESET_TIMELINE = `/// @ ${AISCRIPT_VERSION}
// API // API
@fetch() { @fetch() {

File diff suppressed because it is too large Load diff