@stofone/dsh-agent-roster 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +31 -2
- package/README.zh.md +26 -2
- package/client.js +459 -61
- package/index.js +41 -1
- package/lib/apply.js +186 -0
- package/lib/captain.js +259 -0
- package/lib/render.js +25 -0
- package/lib/service.js +50 -0
- package/lib/tools.js +20 -1
- package/locale/en.json +48 -3
- package/locale/zh.json +48 -3
- package/package.json +1 -1
package/locale/en.json
CHANGED
|
@@ -20,7 +20,14 @@
|
|
|
20
20
|
"policiesNone": "Not configured — policy ids in rosters stay declarations only.",
|
|
21
21
|
"policiesCount": "{count} declared",
|
|
22
22
|
"version": "Version",
|
|
23
|
-
"openPanel": "Open panel"
|
|
23
|
+
"openPanel": "Open panel",
|
|
24
|
+
"region": "Download region",
|
|
25
|
+
"regionAuto": "Follow default",
|
|
26
|
+
"regionGlobal": "Global",
|
|
27
|
+
"regionChina": "China mirror",
|
|
28
|
+
"save": "Save",
|
|
29
|
+
"saved": "Saved",
|
|
30
|
+
"saveFailed": "Could not save — the settings form is unavailable."
|
|
24
31
|
},
|
|
25
32
|
"panel": {
|
|
26
33
|
"title": "Agent Roster",
|
|
@@ -46,7 +53,11 @@
|
|
|
46
53
|
"bannerMany": "{count} things need attention",
|
|
47
54
|
"bannerCta": "Open health",
|
|
48
55
|
"workspaceFallback": "No workspace is registered yet; reading the process directory instead.",
|
|
49
|
-
"tabsSources": "Sources"
|
|
56
|
+
"tabsSources": "Sources",
|
|
57
|
+
"tagPool": "Tags",
|
|
58
|
+
"tagPoolEmpty": "No tags yet — add `tags:` to an archive.",
|
|
59
|
+
"tagClear": "Clear tags",
|
|
60
|
+
"settings": "Settings"
|
|
50
61
|
},
|
|
51
62
|
"roster": {
|
|
52
63
|
"members": "{count} members",
|
|
@@ -240,6 +251,40 @@
|
|
|
240
251
|
"hide": "Hide rosters",
|
|
241
252
|
"loading": "Loading rosters…",
|
|
242
253
|
"repo": "Repository",
|
|
243
|
-
"conflictHint": "Local versions differ; nothing was overwritten."
|
|
254
|
+
"conflictHint": "Local versions differ; nothing was overwritten.",
|
|
255
|
+
"refresh": "Refresh sources",
|
|
256
|
+
"refreshHint": "No index has been read yet — refresh to fetch the public index."
|
|
257
|
+
},
|
|
258
|
+
"captain": {
|
|
259
|
+
"title": "Captain",
|
|
260
|
+
"hint": "The captain is the session that creates the team — it has no member row. Its model comes from the deployment (agent-default-model) and its persona from the agent preset, so a roster can only declare them and compare.",
|
|
261
|
+
"declared": "Declared",
|
|
262
|
+
"effortDefault": "default",
|
|
263
|
+
"noPersona": "no persona prefix declared",
|
|
264
|
+
"hasPersona": "persona prefix declared",
|
|
265
|
+
"noChecks": "No deployment config read yet — nothing to compare.",
|
|
266
|
+
"applyTo": "Apply to a session",
|
|
267
|
+
"modeExisting": "Existing session",
|
|
268
|
+
"modeNew": "New session",
|
|
269
|
+
"noSessions": "No sessions available",
|
|
270
|
+
"cwdPlaceholder": "Working directory (optional)",
|
|
271
|
+
"apply": "Apply & create team",
|
|
272
|
+
"applying": "Applying…",
|
|
273
|
+
"applyFailed": "Apply failed",
|
|
274
|
+
"applyFailedCode": "Failed: {code}",
|
|
275
|
+
"applied": "Applied — the team prompt is queued in that session",
|
|
276
|
+
"appliedTo": "Queued in {session}",
|
|
277
|
+
"check": {
|
|
278
|
+
"provider": "Provider",
|
|
279
|
+
"model": "Model",
|
|
280
|
+
"reasoningEffort": "Reasoning effort",
|
|
281
|
+
"personaPrefix": "Persona prefix"
|
|
282
|
+
},
|
|
283
|
+
"status": {
|
|
284
|
+
"match": "matches deployment ({declared})",
|
|
285
|
+
"differ": "declared {declared}, deployment has {actual}",
|
|
286
|
+
"undeclared": "not declared, runtime uses {actual}",
|
|
287
|
+
"unknown": "deployment unreadable"
|
|
288
|
+
}
|
|
244
289
|
}
|
|
245
290
|
}
|
package/locale/zh.json
CHANGED
|
@@ -20,7 +20,14 @@
|
|
|
20
20
|
"policiesNone": "未配置——档案里写的策略 id 只是声明,运行时不生效。",
|
|
21
21
|
"policiesCount": "已声明 {count} 个",
|
|
22
22
|
"version": "版本",
|
|
23
|
-
"openPanel": "打开面板"
|
|
23
|
+
"openPanel": "打开面板",
|
|
24
|
+
"region": "下载区",
|
|
25
|
+
"regionAuto": "跟随默认",
|
|
26
|
+
"regionGlobal": "海外",
|
|
27
|
+
"regionChina": "国内镜像",
|
|
28
|
+
"save": "保存",
|
|
29
|
+
"saved": "已保存",
|
|
30
|
+
"saveFailed": "保存失败——设置表单当前不可用。"
|
|
24
31
|
},
|
|
25
32
|
"panel": {
|
|
26
33
|
"title": "Agent 档案",
|
|
@@ -46,7 +53,11 @@
|
|
|
46
53
|
"bannerMany": "有 {count} 项待处理",
|
|
47
54
|
"bannerCta": "查看体检",
|
|
48
55
|
"workspaceFallback": "还没有注册工作区,暂时按进程所在目录读取。",
|
|
49
|
-
"tabsSources": "档案源"
|
|
56
|
+
"tabsSources": "档案源",
|
|
57
|
+
"tagPool": "标签",
|
|
58
|
+
"tagPoolEmpty": "还没有标签——给档案加 `tags:`。",
|
|
59
|
+
"tagClear": "清除标签",
|
|
60
|
+
"settings": "设置"
|
|
50
61
|
},
|
|
51
62
|
"roster": {
|
|
52
63
|
"members": "{count} 名成员",
|
|
@@ -240,6 +251,40 @@
|
|
|
240
251
|
"hide": "收起",
|
|
241
252
|
"loading": "正在读取档案…",
|
|
242
253
|
"repo": "仓库",
|
|
243
|
-
"conflictHint": "本地版本与远端不同,未覆盖。"
|
|
254
|
+
"conflictHint": "本地版本与远端不同,未覆盖。",
|
|
255
|
+
"refresh": "刷新档案源",
|
|
256
|
+
"refreshHint": "还没有读到任何索引——点刷新去拉公共索引。"
|
|
257
|
+
},
|
|
258
|
+
"captain": {
|
|
259
|
+
"title": "队长",
|
|
260
|
+
"hint": "队长就是创建团队的那个会话,没有成员行。它的模型来自部署(agent-default-model),人格来自 agent preset,所以档案只能声明并核对。",
|
|
261
|
+
"declared": "声明",
|
|
262
|
+
"effortDefault": "默认",
|
|
263
|
+
"noPersona": "未声明人格前缀",
|
|
264
|
+
"hasPersona": "已声明人格前缀",
|
|
265
|
+
"noChecks": "还没读到部署配置,没有可比对的项。",
|
|
266
|
+
"applyTo": "应用到会话",
|
|
267
|
+
"modeExisting": "已有会话",
|
|
268
|
+
"modeNew": "新建会话",
|
|
269
|
+
"noSessions": "没有可用会话",
|
|
270
|
+
"cwdPlaceholder": "工作目录(可留空)",
|
|
271
|
+
"apply": "应用并创建团队",
|
|
272
|
+
"applying": "应用中…",
|
|
273
|
+
"applyFailed": "应用失败",
|
|
274
|
+
"applyFailedCode": "失败:{code}",
|
|
275
|
+
"applied": "已应用,建团队提示词已排入该会话",
|
|
276
|
+
"appliedTo": "已排入 {session}",
|
|
277
|
+
"check": {
|
|
278
|
+
"provider": "Provider",
|
|
279
|
+
"model": "模型",
|
|
280
|
+
"reasoningEffort": "推理强度",
|
|
281
|
+
"personaPrefix": "人格前缀"
|
|
282
|
+
},
|
|
283
|
+
"status": {
|
|
284
|
+
"match": "与部署一致({declared})",
|
|
285
|
+
"differ": "声明 {declared},部署是 {actual}",
|
|
286
|
+
"undeclared": "未声明,运行时用 {actual}",
|
|
287
|
+
"unknown": "读不到部署配置"
|
|
288
|
+
}
|
|
244
289
|
}
|
|
245
290
|
}
|
package/package.json
CHANGED