feat: 階段 1 骨架(插件、角色啟動/離開、persona、/config、狀態列)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "jsc-anima",
|
||||
"owner": {
|
||||
"name": "jsc"
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "jsc-anima",
|
||||
"source": "./",
|
||||
"description": "動漫助理:用喜愛角色的口吻互動,附單行狀態列"
|
||||
}
|
||||
],
|
||||
"description": "jsc 的動漫助理插件"
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"name": "jsc-anima",
|
||||
"version": "0.1.0",
|
||||
"description": "動漫助理:用喜愛角色的口吻互動,附單行狀態列",
|
||||
"license": "MIT",
|
||||
"userConfig": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"title": "啟用助理",
|
||||
"description": "關閉後停止所有 persona 注入與狀態列",
|
||||
"default": true
|
||||
},
|
||||
"persist": {
|
||||
"type": "boolean",
|
||||
"title": "跨 session 保留啟動",
|
||||
"description": "下次開啟時自動恢復上次的角色",
|
||||
"default": true
|
||||
},
|
||||
"statusbar": {
|
||||
"type": "boolean",
|
||||
"title": "顯示狀態列",
|
||||
"description": "輸入框上方的單行狀態列",
|
||||
"default": true
|
||||
},
|
||||
"fields": {
|
||||
"type": "string",
|
||||
"title": "狀態列欄位與順序",
|
||||
"description": "逗號分隔:character,model,dir,branch,5h,7d,ctx,sys",
|
||||
"default": "character,model,dir,branch,5h,7d,ctx,sys"
|
||||
},
|
||||
"barStyle": {
|
||||
"type": "string",
|
||||
"title": "量表樣式",
|
||||
"description": "block 或 dot",
|
||||
"options": [
|
||||
"block",
|
||||
"dot"
|
||||
],
|
||||
"default": "block"
|
||||
},
|
||||
"warnAt": {
|
||||
"type": "number",
|
||||
"title": "黃色門檻 (%)",
|
||||
"description": "使用率達此值轉黃",
|
||||
"default": 60
|
||||
},
|
||||
"dangerAt": {
|
||||
"type": "number",
|
||||
"title": "紅色門檻 (%)",
|
||||
"description": "使用率達此值轉紅",
|
||||
"default": 85
|
||||
},
|
||||
"refreshSec": {
|
||||
"type": "number",
|
||||
"title": "系統資源更新秒數",
|
||||
"description": "CPU/RAM/DSK 的取樣間隔",
|
||||
"default": 10
|
||||
},
|
||||
"axisGentle": {
|
||||
"type": "number",
|
||||
"title": "溫柔 (0-10,-1 沿用角色包)",
|
||||
"description": "覆蓋目前角色的數值軸,只存本機",
|
||||
"default": -1
|
||||
},
|
||||
"axisTsundere": {
|
||||
"type": "number",
|
||||
"title": "傲嬌 (0-10,-1 沿用角色包)",
|
||||
"description": "覆蓋目前角色的數值軸,只存本機",
|
||||
"default": -1
|
||||
},
|
||||
"axisLively": {
|
||||
"type": "number",
|
||||
"title": "活潑 (0-10,-1 沿用角色包)",
|
||||
"description": "覆蓋目前角色的數值軸,只存本機",
|
||||
"default": -1
|
||||
},
|
||||
"axisFormal": {
|
||||
"type": "number",
|
||||
"title": "正式 (0-10,-1 沿用角色包)",
|
||||
"description": "覆蓋目前角色的數值軸,只存本機",
|
||||
"default": -1
|
||||
},
|
||||
"axisTalkative": {
|
||||
"type": "number",
|
||||
"title": "話量 (0-10,-1 沿用角色包)",
|
||||
"description": "覆蓋目前角色的數值軸,只存本機",
|
||||
"default": -1
|
||||
},
|
||||
"axisHumor": {
|
||||
"type": "number",
|
||||
"title": "幽默 (0-10,-1 沿用角色包)",
|
||||
"description": "覆蓋目前角色的數值軸,只存本機",
|
||||
"default": -1
|
||||
},
|
||||
"axisProactive": {
|
||||
"type": "number",
|
||||
"title": "主動 (0-10,-1 沿用角色包)",
|
||||
"description": "覆蓋目前角色的數值軸,只存本機",
|
||||
"default": -1
|
||||
},
|
||||
"axisExpressive": {
|
||||
"type": "number",
|
||||
"title": "情緒外顯 (0-10,-1 沿用角色包)",
|
||||
"description": "覆蓋目前角色的數值軸,只存本機",
|
||||
"default": -1
|
||||
}
|
||||
},
|
||||
"author": {
|
||||
"name": "jsc"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user