@ycodium-ai/plugin-team 0.2.3120 → 0.2.3130
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/assets/ui.js +30 -10
- package/dist/index.js +1268 -243
- package/locales/en.json +78 -0
- package/locales/zh-CN.json +78 -0
- package/package.json +4 -2
package/locales/en.json
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
+
"handbook": {
|
|
3
|
+
"requestConflict": "This requestId was already used for a different handbook request. Use a new requestId.",
|
|
4
|
+
"requestVoided": "This requestId was abandoned before the handbook received it. Use a new requestId.",
|
|
5
|
+
"ackTool": "Acknowledge the currently required handbook release for your member seat in the current goal. Reading alone does not acknowledge it. Without a goal there are no team members, acknowledgement gates or reminders.",
|
|
6
|
+
"publishTool": "Publish handbook pages as the local team lead. Reuse requestId only for the same request. Rules changes require acknowledgement; for decisions changes choose requireAck (default false).",
|
|
7
|
+
"revertTool": "Restore a handbook release as the local team lead. Reuse requestId only for the same request. Rules changes require acknowledgement; for decisions changes choose requireAck (default false).",
|
|
8
|
+
"unknownMember": "Your verified caller identity is not mapped to a member of this project's current goal.",
|
|
9
|
+
"leadOnly": "Only the local team lead member of the current goal can publish or revert the handbook.",
|
|
10
|
+
"noGoal": "Start a goal before publishing or reverting the handbook. Without a goal there are no team members, acknowledgement gates or reminders.",
|
|
11
|
+
"noRequirement": "No handbook release requires acknowledgement yet.",
|
|
12
|
+
"wrongRelease": "Acknowledge handbook release {{release}}, the currently required version.",
|
|
13
|
+
"guard": "First acknowledge handbook release {{release}} (team_acknowledge_handbook).",
|
|
14
|
+
"reminder": "Handbook release {{release}} requires acknowledgement. Read wiki_read_handbook, then call team_acknowledge_handbook with this release number.",
|
|
15
|
+
"leadBrief": "Read the handbook with wiki_read_handbook and explicitly acknowledge its currently required release with team_acknowledge_handbook before taking new work. Publish or revert it through team_publish_handbook or team_revert_handbook; publishing a release that requires acknowledgement also acknowledges it for you.",
|
|
16
|
+
"memberBrief": "Read the handbook with wiki_read_handbook and call team_acknowledge_handbook for its currently required release before taking new work; reading alone does not acknowledge it."
|
|
17
|
+
},
|
|
2
18
|
"tab": { "title": "Teams" },
|
|
3
19
|
"board": {
|
|
4
20
|
"title": "Project board",
|
|
@@ -156,6 +172,68 @@
|
|
|
156
172
|
"remoteAgentsUnavailable": "Could not read the remote agents on this machine. Try again later.",
|
|
157
173
|
"remoteSource": "Remote agent: {{label}}"
|
|
158
174
|
},
|
|
175
|
+
"handbookPanel": {
|
|
176
|
+
"title": "Handbook",
|
|
177
|
+
"open": "View handbook",
|
|
178
|
+
"close": "Close handbook",
|
|
179
|
+
"current": "Current version {{version}}",
|
|
180
|
+
"required": "Version {{version}} currently requires acknowledgement",
|
|
181
|
+
"noCurrent": "No handbook has been published",
|
|
182
|
+
"noRequired": "No version has required acknowledgement",
|
|
183
|
+
"handbook_decisions": "Decisions",
|
|
184
|
+
"handbook_rules": "Rules",
|
|
185
|
+
"handbook_progress": "Progress",
|
|
186
|
+
"missingPage": "This page is absent from the current version",
|
|
187
|
+
"erased": "Erased",
|
|
188
|
+
"unavailable": "Content is unavailable",
|
|
189
|
+
"uneditable": "This page cannot be edited because its content is erased or unavailable",
|
|
190
|
+
"loading": "Loading handbook…",
|
|
191
|
+
"loadFailed": "Could not read the handbook. Reload to try again.",
|
|
192
|
+
"reload": "Reload handbook",
|
|
193
|
+
"moreBody": "Read more",
|
|
194
|
+
"moreBodyFailed": "Couldn't load the rest of this page. Click Read more to try again.",
|
|
195
|
+
"releases": "Version history",
|
|
196
|
+
"noReleases": "No versions yet",
|
|
197
|
+
"version": "Version {{version}}",
|
|
198
|
+
"publishedBy": "Published by {{author}}",
|
|
199
|
+
"requiresAck": "Acknowledgement required",
|
|
200
|
+
"noAck": "Acknowledgement not required",
|
|
201
|
+
"restoredFrom": "Restored from version {{version}}",
|
|
202
|
+
"moreReleases": "Load older versions",
|
|
203
|
+
"members": "Member acknowledgements",
|
|
204
|
+
"noMembers": "No executing members yet. Start a goal to assign team seats.",
|
|
205
|
+
"member": "Member {{id}}",
|
|
206
|
+
"neverAck": "Has not acknowledged a version",
|
|
207
|
+
"acked": "Acknowledged version {{version}}",
|
|
208
|
+
"pendingAck": "Needs to acknowledge version {{version}}",
|
|
209
|
+
"edit": "Edit handbook",
|
|
210
|
+
"pageTitle": "{{page}} — title (optional)",
|
|
211
|
+
"pageBody": "{{page}} — body",
|
|
212
|
+
"pageSummary": "{{page}} — change summary (optional)",
|
|
213
|
+
"ackChoice": "Require acknowledgement for changes to Decisions",
|
|
214
|
+
"ackPolicy": "Rules changes always require acknowledgement; Progress-only changes don't; Decisions changes follow this choice.",
|
|
215
|
+
"cancel": "Cancel",
|
|
216
|
+
"publish": "Save and publish",
|
|
217
|
+
"saved": "Handbook published",
|
|
218
|
+
"conflict": "Someone else changed the handbook. Your edits are kept. Review the latest version shown below before saving again.",
|
|
219
|
+
"failed": "Publishing did not finish. Click Save and publish again; as long as you don't change the edits, it counts as the same publication and won't publish twice.",
|
|
220
|
+
"revert": "Revert to this version",
|
|
221
|
+
"revertVersion": "Revert to version {{version}}",
|
|
222
|
+
"revertTitle": "Revert handbook to version {{version}}?",
|
|
223
|
+
"revertDescription": "Publish the content of version {{version}} as a new version, under your name. The current version remains in history.",
|
|
224
|
+
"confirmRevert": "Revert and publish",
|
|
225
|
+
"historyFailed": "Couldn't load the version history. Try again.",
|
|
226
|
+
"emptyPages": "Once the handbook is published, its three pages show here.",
|
|
227
|
+
"fieldTitle": "Title (optional)",
|
|
228
|
+
"fieldBody": "Body",
|
|
229
|
+
"fieldSummary": "Change summary (optional)",
|
|
230
|
+
"currentBadge": "Current",
|
|
231
|
+
"currentReadOnly": "Current handbook (read-only)",
|
|
232
|
+
"discardTitle": "Discard your unsaved edits?",
|
|
233
|
+
"discardDescription": "Your edits to the handbook pages will be lost.",
|
|
234
|
+
"keepEditing": "Keep editing",
|
|
235
|
+
"discard": "Discard edits"
|
|
236
|
+
},
|
|
159
237
|
"remoteStatus": {
|
|
160
238
|
"title": "Remote members",
|
|
161
239
|
"none": "No remote members on the roster. Add one with “Add remote agent” in the roster.",
|
package/locales/zh-CN.json
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
+
"handbook": {
|
|
3
|
+
"requestConflict": "这个 requestId 已用于另一份手册请求,请换一个新的 requestId。",
|
|
4
|
+
"requestVoided": "这个 requestId 在手册收到之前就作废了,请换一个新的 requestId。",
|
|
5
|
+
"ackTool": "以你在当前目标中的成员席位确认当前要求确认的手册版本。只读不算确认。没有目标时没有团队成员,确认门槛与提醒均不作用。",
|
|
6
|
+
"publishTool": "由本机团队负责人发布手册页。同一 requestId 只能重试同一请求。规矩变化必须确认;定过什么变化时用 requireAck 选择,默认 false。",
|
|
7
|
+
"revertTool": "由本机团队负责人恢复指定手册版本。同一 requestId 只能重试同一请求。规矩变化必须确认;定过什么变化时用 requireAck 选择,默认 false。",
|
|
8
|
+
"unknownMember": "宿主核实的调用者身份未映射到本项目当前目标的成员。",
|
|
9
|
+
"leadOnly": "只有当前目标中的本机负责人席位可以发布或退回手册。",
|
|
10
|
+
"noGoal": "请先开始一个目标,再发布或退回手册。没有目标时没有团队成员,确认门槛与提醒均不作用。",
|
|
11
|
+
"noRequirement": "目前还没有要求确认的手册版本。",
|
|
12
|
+
"wrongRelease": "请确认手册第 {{release}} 版,这是当前要求确认的版本。",
|
|
13
|
+
"guard": "请先确认手册第 {{release}} 版(team_acknowledge_handbook)。",
|
|
14
|
+
"reminder": "手册第 {{release}} 版要求确认。请先用 wiki_read_handbook 阅读,再调用 team_acknowledge_handbook 并传入这个版本号。",
|
|
15
|
+
"leadBrief": "先用 wiki_read_handbook 读手册,再用 team_acknowledge_handbook 明确确认当前要求确认的版本,才能领新活。用 team_publish_handbook 或 team_revert_handbook 发布或退回;发布要求确认的版本也会为你记下确认。",
|
|
16
|
+
"memberBrief": "领新活前,先用 wiki_read_handbook 读手册,再用 team_acknowledge_handbook 确认当前要求确认的版本;只读不算确认。"
|
|
17
|
+
},
|
|
2
18
|
"tab": { "title": "团队" },
|
|
3
19
|
"board": {
|
|
4
20
|
"title": "项目看板",
|
|
@@ -156,6 +172,68 @@
|
|
|
156
172
|
"remoteAgentsUnavailable": "暂时读不出这台机器上的远端 agent,请稍后再试。",
|
|
157
173
|
"remoteSource": "远端 agent:{{label}}"
|
|
158
174
|
},
|
|
175
|
+
"handbookPanel": {
|
|
176
|
+
"title": "手册",
|
|
177
|
+
"open": "查看手册",
|
|
178
|
+
"close": "收起手册",
|
|
179
|
+
"current": "当前版本 {{version}}",
|
|
180
|
+
"required": "当前要求确认的版本 {{version}}",
|
|
181
|
+
"noCurrent": "还没有发布手册",
|
|
182
|
+
"noRequired": "还没有要求确认的版本",
|
|
183
|
+
"handbook_decisions": "定过什么",
|
|
184
|
+
"handbook_rules": "规矩",
|
|
185
|
+
"handbook_progress": "做到哪",
|
|
186
|
+
"missingPage": "当前版本没有这一页",
|
|
187
|
+
"erased": "已抹除",
|
|
188
|
+
"unavailable": "正文暂不可读",
|
|
189
|
+
"uneditable": "这一页正文已抹除或暂不可读,不能编辑",
|
|
190
|
+
"loading": "正在读取手册…",
|
|
191
|
+
"loadFailed": "手册读取失败,请重新读取",
|
|
192
|
+
"reload": "重新读取手册",
|
|
193
|
+
"moreBody": "继续读正文",
|
|
194
|
+
"moreBodyFailed": "这一页后面的正文读取失败,请再点一次「继续读正文」",
|
|
195
|
+
"releases": "版本历史",
|
|
196
|
+
"noReleases": "还没有版本",
|
|
197
|
+
"version": "第 {{version}} 版",
|
|
198
|
+
"publishedBy": "发布者:{{author}}",
|
|
199
|
+
"requiresAck": "要求确认",
|
|
200
|
+
"noAck": "不要求确认",
|
|
201
|
+
"restoredFrom": "退回自第 {{version}} 版",
|
|
202
|
+
"moreReleases": "加载更早版本",
|
|
203
|
+
"members": "成员确认情况",
|
|
204
|
+
"noMembers": "还没有执行成员,开始目标后才有团队席位",
|
|
205
|
+
"member": "成员 {{id}}",
|
|
206
|
+
"neverAck": "还没有确认过手册",
|
|
207
|
+
"acked": "已确认到第 {{version}} 版",
|
|
208
|
+
"pendingAck": "待确认第 {{version}} 版",
|
|
209
|
+
"edit": "编辑手册",
|
|
210
|
+
"pageTitle": "{{page}} — 标题(可选)",
|
|
211
|
+
"pageBody": "{{page}} — 正文",
|
|
212
|
+
"pageSummary": "{{page}} — 改动说明(可选)",
|
|
213
|
+
"ackChoice": "定过什么有变化时要求确认",
|
|
214
|
+
"ackPolicy": "改了规矩始终要求确认;只改做到哪不要求;改了定过什么按这一项,默认不要求",
|
|
215
|
+
"cancel": "取消",
|
|
216
|
+
"publish": "保存并发布",
|
|
217
|
+
"saved": "手册已发布",
|
|
218
|
+
"conflict": "手册已被别人改过。你的编辑已保留,请对照下方重新读取的最新版,再保存",
|
|
219
|
+
"failed": "发布没有完成。请再点一次「保存并发布」;只要不改动内容,就按同一次发布处理,不会重复发布",
|
|
220
|
+
"revert": "退回到这一版",
|
|
221
|
+
"revertVersion": "退回到第 {{version}} 版",
|
|
222
|
+
"revertTitle": "把手册退回到第 {{version}} 版?",
|
|
223
|
+
"revertDescription": "以你的名字,把第 {{version}} 版的内容发布为一个新版本。当前版本仍保留在历史里",
|
|
224
|
+
"confirmRevert": "退回并发布",
|
|
225
|
+
"historyFailed": "版本历史读取失败,请再试一次",
|
|
226
|
+
"emptyPages": "手册发布后,这里显示它的三页内容",
|
|
227
|
+
"fieldTitle": "标题(可选)",
|
|
228
|
+
"fieldBody": "正文",
|
|
229
|
+
"fieldSummary": "改动说明(可选)",
|
|
230
|
+
"currentBadge": "当前",
|
|
231
|
+
"currentReadOnly": "当前手册(只读)",
|
|
232
|
+
"discardTitle": "放弃未保存的修改?",
|
|
233
|
+
"discardDescription": "对手册各页的修改会丢掉",
|
|
234
|
+
"keepEditing": "继续编辑",
|
|
235
|
+
"discard": "放弃修改"
|
|
236
|
+
},
|
|
159
237
|
"remoteStatus": {
|
|
160
238
|
"title": "远端成员",
|
|
161
239
|
"none": "名单里还没有远端成员。可在名单里用「添加远端 agent」加入。",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-team",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3130",
|
|
4
4
|
"description": "A project team roster with members, a lead, and goals.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"teams",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"tailwindcss": "^4.0.0",
|
|
35
35
|
"typescript": "~6.0.3",
|
|
36
36
|
"vite-plus": "0.2.2",
|
|
37
|
-
"@ycodium-ai/plugin-api": "0.2.
|
|
37
|
+
"@ycodium-ai/plugin-api": "0.2.3130"
|
|
38
38
|
},
|
|
39
39
|
"ycodium": {
|
|
40
40
|
"plugin": "./dist/index.js",
|
|
@@ -49,6 +49,8 @@
|
|
|
49
49
|
"work.item.create",
|
|
50
50
|
"work.item.update",
|
|
51
51
|
"work.comment.post",
|
|
52
|
+
"wiki.handbook.publish",
|
|
53
|
+
"wiki.handbook.revert",
|
|
52
54
|
"communication.message.send"
|
|
53
55
|
]
|
|
54
56
|
},
|