feat: anime-companion 插件骨架與設定 (#3)

兩個角色 skill 空殼(sao-asuna、sao-suguha)、userConfig(預設角色、強度、稱呼)、
設定解析與測試,並登錄到 marketplace。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jeffery (jiantw83)
2026-10-14 17:06:12 +00:00
co-authored by Claude Sonnet 5.5
parent b0ed5efedf
commit 8db7181825
10 changed files with 196 additions and 1 deletions
@@ -0,0 +1,33 @@
{
"name": "anime-companion",
"version": "0.0.1",
"description": "用輕小說角色的個性與語氣取代 Claude 與你對話,並照常協助你做事。以 anime-companion:{作品代號}-{角色代號} 啟動角色",
"license": "MIT",
"skills": "./skills",
"author": {
"name": "JSC"
},
"keywords": ["anime", "light-novel", "persona", "companion"],
"userConfig": {
"defaultCharacter": {
"type": "string",
"title": "預設角色",
"description": "新 session 自動套用的角色;none 表示不自動套用,需用角色 skill 啟動。",
"default": "none",
"options": ["none", "sao-asuna", "sao-suguha"]
},
"intensity": {
"type": "string",
"title": "強度",
"description": "0 不套角色;1 只換稱呼與句尾;2 前後各一個對話氣泡;3 再加動作旁白。",
"default": "2",
"options": ["0", "1", "2", "3"]
},
"address": {
"type": "string",
"title": "稱呼",
"description": "角色怎麼稱呼你。留空則依角色與使用者在原作中的關係(亞絲娜叫「桐人」、直葉叫「哥哥」)。",
"default": ""
}
}
}