Skip to content

Commit

Permalink
Merge pull request #12136 from misskey-dev/misskey
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Oct 25, 2023
2 parents 0dac580 + 6fffae7 commit 86d8abd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG_CHERRYPICK.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Misskey์˜ ์ „์ฒด ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ํ™•์ธํ•˜๋ ค๋ฉด, [CHANGELOG.md#2023xx](CHANGE
- PC์˜ ๊ฒฝ์šฐ ์˜ค๋ฅธ์ชฝ ์ƒ๋‹จ์˜ ๋ฒ„ํŠผ์„ ํ†ตํ•ด์„œ๋„ ๋‹ค์‹œ ๋ถˆ๋Ÿฌ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค
- Feat: ํƒ€์ž„๋ผ์ธ ์ž๋™ ์—…๋ฐ์ดํŠธ๋ฅผ ๋น„ํ™œ์„ฑํ™”ํ•  ์ˆ˜ ์žˆ์Œ (misskey-dev/misskey#12113)
- Feat: ์ด๋ชจํ‹ฐ์ฝ˜ ํ”ผ์ปค์˜ ์นดํ…Œ๊ณ ๋ฆฌ๋ฅผ ๋‹ค์ค‘ ๊ณ„์ธต ํด๋”๋กœ ๋ถ„๋ฅ˜ํ•  ์ˆ˜ ์žˆ์Œ (misskey-dev/misskey#12132)
- Feat: AiScript ํ•จ์ˆ˜ `Mk:nyaize()`๊ฐ€ ์ถ”๊ฐ€๋จ (misskey-dev/misskey#12136)
- Enhance: ๋…ธํŠธ ์ž‘์„ฑ ํผ์—์„œ ๋…ธํŠธ๋ฅผ ๊ฒŒ์‹œํ•œ ๋’ค์— textarea์˜ ๋†’์ด๋ฅผ ์›๋ž˜๋Œ€๋กœ ๋˜๋Œ๋ฆผ
- Enhance: ๋…ธํŠธ ์ƒ์„ธ ํŽ˜์ด์ง€์˜ ๋‹ต๊ธ€ ๋ชฉ๋ก ๊ฐœ์„ 
- Enhance: ์œ ์ € ํŽ˜์ด์ง€ ๊ฐœ์„ 
Expand Down
5 changes: 5 additions & 0 deletions packages/frontend/src/scripts/aiscript/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { $i } from '@/account.js';
import { miLocalStorage } from '@/local-storage.js';
import { customEmojis } from '@/custom-emojis.js';
import { url, lang } from '@/config.js';
import { nyaize } from '@/scripts/nyaize.js';

export function createAiScriptEnv(opts) {
const table = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
Expand Down Expand Up @@ -104,5 +105,9 @@ export function createAiScriptEnv(opts) {
}, 'closed');
});
}),
'Mk:nyaize': values.FN_NATIVE(([text]) => {
utils.assertString(text);
return values.STR(nyaize(text.value));
}),
};
}

0 comments on commit 86d8abd

Please sign in to comment.