@ycodium-ai/plugin-team 0.2.4372 → 0.2.4394

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/locales/en.json CHANGED
@@ -25,7 +25,8 @@
25
25
  },
26
26
  "team": {
27
27
  "openTool": "Turn this thread into a team. Call it only after the person has agreed, in this thread, to the team you proposed: who joins (members already in the project, including agents on the other machines that joined this project; work_list_machines lists those machines) and which new members you will create after the team is open. A member that does not exist yet comes after this call: create it with team_create_member, then add it with team_set_members. This thread becomes the team's lead and its group chat and is renamed to the team's name: the members you list are added to it, and each local agent member gets its own thread under yours. Pass a new requestId, and reuse it only to retry the same call. name is the team's name (at most 80 characters); goal is a summary of what was agreed (at most 4000 characters); memberIds are the memberIds of the project members to bring in (not yourself; you are added as the lead); leadName optionally names you as a project member (1-40 characters). The call returns the team's work line, the members and whether each one is ready, and your brief. A thread that already is a team, or belongs to one, cannot open another.",
28
- "setMembersTool": "Change who is on this team (only the team's lead thread can). add: memberIds of project members to bring in; remove: memberIds to take out. Work assigned to a removed member that has not reached it yet is taken back and given to you; work already in their hands stays with them until you decide. You cannot remove yourself, and you cannot change members or leads of other teams. Pass a new requestId, and reuse it only to retry the same call.",
28
+ "setMembersTool": "Change who is on this team (only the team's lead can: its conversation, or its own session on another machine). add: memberIds of project members to bring in; remove: memberIds to take out. Work assigned to a removed member that has not reached it yet is taken back and given to you; work already in their hands stays with them until you decide. You cannot remove yourself, and you cannot change members or leads of other teams. The result says returnStatus: \"done\" with returnedToYou (the work item IDs given back to you), or \"pending\": the members are already changed and the work is still being given back, which finishes by itself; call again with the same requestId to read where it stands. Pass a new requestId, and reuse it only to retry the same call.",
29
+ "setLeadTool": "Hand the lead of this team to another member of it (only the team's current lead can, from its conversation or its own session on another machine; the person is not asked). memberId: the memberId of a member already on the team, a person or an agent on another machine included; add them first with team_set_members if they are not. After the call you are an ordinary member and cannot take it back: only the new lead or the person can hand it on. Your open work items move to the new lead (including ones you are already working on) and the new lead is told it leads now, so finish or hand off what you are doing before you call it. It is written once: if the team or its lead was changed at the same moment, nothing is written and the call is refused (lead-changed); read the team again, decide again, and call with a new requestId. Reuse a requestId only to read the result of the same call again.",
29
30
  "rosterOverviewTool": "Read everything you need to plan a team: every member of this project with their kind, machine, model, how their trial run stands (trial is none when no trial applies, such as a person; unverified for an agent on another machine with no trial record here; pending until the trial passes; ready once it passed or was skipped; failed; invoked for the thread that is itself the lead and needs no trial), and the teams they are in (with whether they lead it). Read it before you propose a team and before you create a member.",
30
31
  "noProject": "This call is not tied to a project, so there is no team to open or change.",
31
32
  "notLocal": "Only a thread on this machine can open a team.",
@@ -41,10 +42,15 @@
41
42
  "modelNotInCatalog": "The model chosen for member {{memberId}} is not in that provider instance's model list. Check list_models, then change it with team_update_member.",
42
43
  "noDefaultModel": "Member {{memberId}} has no model of its own and the project has no default model. Give them one with team_update_member.",
43
44
  "duplicateTeamName": "A team named {{name}} already exists in this project. Choose another name and use a new requestId.",
44
- "leadOnly": "Only the lead thread of a team can change its members.",
45
- "cannotRemoveLead": "You cannot remove yourself, the lead of this team.",
45
+ "leadOnly": "Only the lead of a team can change its members or hand over the lead.",
46
+ "cannotRemoveLead": "You cannot remove yourself, the lead of this team. Hand the lead to another member with team_set_lead first.",
47
+ "alreadyLead": "You already are the lead of this team. Pass the memberId of another member of the team.",
48
+ "memberNotOnTeam": "Member {{memberId}} is not on this team. Add them with team_set_members first, then hand over the lead.",
46
49
  "teamArchived": "This team is archived. Ask the person to unarchive the thread before changing it.",
47
- "versionConflict": "The team was changed at the same moment. Read it again and retry with a new requestId."
50
+ "versionConflict": "The team was changed at the same moment. Read it again and retry with a new requestId.",
51
+ "memberMachineUpdate": "member-machine-update-required: Update the member machine to use the team tools as a lead. Its host-signed MCP scope does not name the member, or is too old.",
52
+ "severalTeams": "This member leads more than one team, so the call cannot tell which team it is about. Ask the person to hand the lead of one of them to someone else first.",
53
+ "leadChanged": "The team or its lead was changed at the same moment, so nothing was written. Read the team again, decide again, and call with a new requestId."
48
54
  },
49
55
  "coordinator": {
50
56
  "createTool": "Add an AI teammate to this project's team as the lead of the current goal. Pass a new requestId, and reuse it only to retry the same request. The member runs on this machine unless you give environmentId: another machine that joined this project (work_list_machines lists them with the providers each one offers). Give the provider instanceId and model together (both or neither); on this machine they default to the project's default model, while on another machine they are required and must be a ready provider instance that machine reported. The new member joins the current goal and gets its own thread under yours, normally within moments (if that fails you are told why, and it is retried every couple of minutes); in a team opened with team_open, that starts once you add the member with team_set_members; once it is ready you can assign work to it with work_update_item and assignees [{ \"kind\": \"member\", \"memberId\": <the memberId this tool returns> }]. Check who is on the team first with work_list_members.",
@@ -106,6 +112,37 @@
106
112
  "boardOff": "The lead needs the board. Turn on the board switch above.",
107
113
  "memoryOff": "The lead needs project memory. Turn on the project memory switch above."
108
114
  },
115
+ "teamMembers": {
116
+ "title": "Team members",
117
+ "add": "Add member",
118
+ "addTitle": "Add member",
119
+ "addChoose": "Choose a member",
120
+ "addNone": "Every member of this project is already on the team",
121
+ "addConfirm": "Add",
122
+ "makeLead": "Make lead",
123
+ "makeLeadFor": "Make {{name}} the lead",
124
+ "leadTitle": "Make {{name}} the lead?",
125
+ "leadDescription_one": "{{lead}}'s {{count}} open work item moves to {{name}}, including ones already in progress. {{lead}} stays on the team as a member.",
126
+ "leadDescription_other": "{{lead}}'s {{count}} open work items move to {{name}}, including ones already in progress. {{lead}} stays on the team as a member.",
127
+ "leadDescriptionNone": "{{lead}} stays on the team as a member.",
128
+ "leadConfirm": "Make lead",
129
+ "remove": "Remove",
130
+ "removeFor": "Remove {{name}}",
131
+ "removeTitle": "Remove {{name}} from the team?",
132
+ "removeDescription": "Work that has not reached them yet goes back to the lead. Work already in their hands stays with them until it is done.",
133
+ "removeDescriptionCount_one": "{{count}} work item that has not reached them goes back to the lead. Work already in their hands stays with them until it is done.",
134
+ "removeDescriptionCount_other": "{{count}} work items that have not reached them go back to the lead. Work already in their hands stays with them until it is done.",
135
+ "removeConfirm": "Remove",
136
+ "working": "Working…",
137
+ "addDescription": "An agent member takes work after its trial run passes; a person can take work as soon as they join.",
138
+ "archived": "This team is archived, so its members can't be changed.",
139
+ "leadStays": "Make someone else the lead first",
140
+ "cancel": "Cancel",
141
+ "loadFailed": "The team's members could not be loaded. Try again.",
142
+ "failed": "The change was not made. The team may have just been changed, so the list was reloaded.",
143
+ "leadOffline": "{{name}}'s machine is offline. The lead stays as it is and carries on when the machine is back; or make someone else the lead.",
144
+ "returning": "Member removed. Their work items are still being given back to the lead."
145
+ },
109
146
  "members": {
110
147
  "title": "Members",
111
148
  "open": "View members",
@@ -216,7 +253,7 @@
216
253
  "passed": "Trial passed",
217
254
  "skipped": "Trial skipped",
218
255
  "remoteVerified": "Verified on its machine",
219
- "invoked": "Lead thread, no trial needed",
256
+ "invoked": "Session already running, no trial needed",
220
257
  "pending": "Trial run pending",
221
258
  "running": "Trial run in progress",
222
259
  "sent": "Trial run sent",
@@ -394,6 +431,7 @@
394
431
  "revert_handbook": "Revert handbook",
395
432
  "open": "Open team",
396
433
  "set_members": "Change team members",
434
+ "set_lead": "Hand over the team lead",
397
435
  "roster_overview": "Read roster",
398
436
  "trial_started": "Start trial",
399
437
  "trial_done": "Finish trial",
@@ -25,7 +25,8 @@
25
25
  },
26
26
  "team": {
27
27
  "openTool": "把这条会话变成一个团队。只在人已经在这条会话里同意了你提的团队方案之后才调:谁加入(已在项目里的成员,包括加进这个项目的其他机器上的 agent;work_list_machines 列出这些机器)、团队开好之后要新建哪些成员。还不存在的成员在这次调用之后再来:先用 team_create_member 新建,再用 team_set_members 拉进来。这条会话从此是团队的负责人和群聊,并改名为团队名:你列的成员加进来,每个本机 agent 成员在你的会话名下得到自己的会话。requestId 要用新的,只有重试同一次调用时才沿用。name 是团队名(最多 80 字);goal 是谈妥内容的摘要(最多 4000 字);memberIds 是要拉进来的项目成员的 memberId(不含你自己,你会作为负责人加进来);leadName 可选,是你作为项目成员的名字(1-40 字)。返回团队的工作线、成员和每个成员是否就绪,以及你的开工说明。已经是团队、或属于某个团队的会话不能再开团队。",
28
- "setMembersTool": "改这个团队里有谁(只有团队的负责人会话能调)。add:要拉进来的项目成员的 memberId;remove:要移出的 memberId。移出的成员名下还没到它手上的活会收回并交给你,已经在它手上的活留给它,由你决定。你不能移出自己,也不能动别的团队的成员和负责人。requestId 要用新的,只有重试同一次调用时才沿用。",
28
+ "setMembersTool": "改这个团队里有谁(只有团队的负责人能调:它的会话,或它在别的机器上的会话)。add:要拉进来的项目成员的 memberId;remove:要移出的 memberId。移出的成员名下还没到它手上的活会收回并交给你,已经在它手上的活留给它,由你决定。你不能移出自己,也不能动别的团队的成员和负责人。结果里 returnStatus 是 \"done\"(带 returnedToYou:退给你的件号)或 \"pending\":成员已经改好,件还在退,会自己做完,用同一个 requestId 再调一次可以读到现状。requestId 要用新的,只有重试同一次调用时才沿用。",
29
+ "setLeadTool": "把这个团队的负责人交给团队里的另一名成员(只有团队现在的负责人能调:它的会话,或它在别的机器上的会话;不用人确认)。memberId:已在团队里的成员的 memberId,人、别的机器上的 agent 成员都可以;不在团队里就先用 team_set_members 加进来。调用之后你是普通成员,不能自己收回:只有新负责人或人能再交出去。你名下还开着的件(含已经在做的)会改给新负责人,新负责人会收到「你现在是负责人」的说明,所以手上的事先收尾或交代清楚再调。只写一次:团队或它的负责人刚好同时被改了就什么都不写、拒绝这次调用(lead-changed),重新读一遍团队、再决定,用新的 requestId 调用。同一个 requestId 只用来再读同一次调用的结果。",
29
30
  "rosterOverviewTool": "读出规划团队需要的全部信息:这个项目的每个成员,含种类、机器、模型、试跑进度(trial 取值:none 表示不适用,比如人;unverified 是别的机器上、这里还没有试跑记录的 agent;pending 是还没通过;ready 是已通过或已跳过;failed 是失败;invoked 是这条会话本身就是负责人,无需试跑),以及所在的团队(是不是那个团队的负责人)。提团队方案之前、新建成员之前先读它。",
30
31
  "noProject": "这次调用不属于任何项目,没有可开或可改的团队。",
31
32
  "notLocal": "只有这台机器上的会话能开团队。",
@@ -41,10 +42,15 @@
41
42
  "modelNotInCatalog": "给成员 {{memberId}} 选的模型不在该 provider 实例的模型清单里。查 list_models,再用 team_update_member 改。",
42
43
  "noDefaultModel": "成员 {{memberId}} 没有自己的模型,项目也没有默认模型。用 team_update_member 给它一个。",
43
44
  "duplicateTeamName": "这个项目里已经有名为 {{name}} 的团队。换个名字,并用新的 requestId。",
44
- "leadOnly": "只有团队的负责人会话能改它的成员。",
45
- "cannotRemoveLead": "你是这个团队的负责人,不能移出自己。",
45
+ "leadOnly": "只有团队的负责人能改它的成员或交出负责人。",
46
+ "cannotRemoveLead": "你是这个团队的负责人,不能移出自己。先用 team_set_lead 把负责人交给别的成员。",
47
+ "alreadyLead": "你已经是这个团队的负责人。请传团队里另一名成员的 memberId。",
48
+ "memberNotOnTeam": "成员 {{memberId}} 不在这个团队里。先用 team_set_members 把它加进来,再交出负责人。",
46
49
  "teamArchived": "这个团队已归档。请人先取消归档这条会话再改。",
47
- "versionConflict": "团队刚好同时被改了。重新读一遍,用新的 requestId 再试。"
50
+ "versionConflict": "团队刚好同时被改了。重新读一遍,用新的 requestId 再试。",
51
+ "memberMachineUpdate": "member-machine-update-required:请先升级成员机,才能以负责人身份用团队工具。它签名的 MCP 范围里没有写明是哪名成员,或版本太旧。",
52
+ "severalTeams": "这名成员带着不止一个团队,这次调用说不清是哪个团队。请先让人把其中一个团队的负责人交给别人。",
53
+ "leadChanged": "团队或它的负责人刚好同时被改了,什么都没写。重新读一遍团队,再决定,用新的 requestId 调用。"
48
54
  },
49
55
  "coordinator": {
50
56
  "createTool": "以当前目标负责人的身份,给这个项目的团队加一个 AI 队友。requestId 要用新的,只有重试同一次请求时才沿用。成员跑在这台机器上,除非你给 environmentId:加进这个项目的另一台机器(work_list_machines 列出这些机器和各自提供的 provider)。provider 的 instanceId 和 model 要么都给,要么都不给;在这台机器上不给就用项目的默认模型,在别的机器上必须给,而且必须是那台机器报来的、已就绪的 provider 实例。新成员加入当前目标,在你的会话名下得到自己的会话,通常片刻就好(失败会告诉你原因,并每隔几分钟重试);在 team_open 开的团队里,要等你用 team_set_members 把它拉进来才开始;就绪后可以用 work_update_item 并带 assignees [{ \"kind\": \"member\", \"memberId\": <这个工具返回的 memberId> }] 给它派活。先用 work_list_members 看团队里有谁。",
@@ -106,6 +112,37 @@
106
112
  "boardOff": "负责人要用看板,先打开上面的看板开关。",
107
113
  "memoryOff": "负责人要用项目记忆,先打开上面的项目记忆开关。"
108
114
  },
115
+ "teamMembers": {
116
+ "title": "团队成员",
117
+ "add": "添加成员",
118
+ "addTitle": "添加成员",
119
+ "addChoose": "选择成员",
120
+ "addNone": "项目里的成员都已在这个团队里",
121
+ "addConfirm": "添加",
122
+ "makeLead": "设为负责人",
123
+ "makeLeadFor": "将 {{name}} 设为负责人",
124
+ "leadTitle": "将 {{name}} 设为负责人?",
125
+ "leadDescription_one": "{{lead}} 名下还开着的 {{count}} 件会改给 {{name}},已经在做的也一起拿走。{{lead}} 留作团队里的普通成员。",
126
+ "leadDescription_other": "{{lead}} 名下还开着的 {{count}} 件会改给 {{name}},已经在做的也一起拿走。{{lead}} 留作团队里的普通成员。",
127
+ "leadDescriptionNone": "{{lead}} 留作团队里的普通成员。",
128
+ "leadConfirm": "设为负责人",
129
+ "remove": "移除",
130
+ "removeFor": "移除 {{name}}",
131
+ "removeTitle": "把 {{name}} 移出团队?",
132
+ "removeDescription": "还没交到它手上的活会退回负责人,已经在它手上的留给它做完。",
133
+ "removeDescriptionCount_one": "还没交到它手上的 {{count}} 件会退回负责人,已经在它手上的留给它做完。",
134
+ "removeDescriptionCount_other": "还没交到它手上的 {{count}} 件会退回负责人,已经在它手上的留给它做完。",
135
+ "removeConfirm": "移除",
136
+ "working": "处理中…",
137
+ "addDescription": "agent 成员要先通过试跑才能接活,人加入后即可接活。",
138
+ "archived": "这个团队已归档,不能改成员。",
139
+ "leadStays": "先把负责人交给别人",
140
+ "cancel": "取消",
141
+ "loadFailed": "团队成员读不出来,请重试。",
142
+ "failed": "没有改成。团队可能刚被改过,列表已刷新。",
143
+ "leadOffline": "{{name}} 所在的机器离线了。负责人保持不变,机器回来后接着做;也可以改让别人当负责人。",
144
+ "returning": "成员已移出,名下的件还在退回负责人。"
145
+ },
109
146
  "members": {
110
147
  "title": "成员",
111
148
  "open": "查看成员",
@@ -216,7 +253,7 @@
216
253
  "passed": "试跑通过",
217
254
  "skipped": "已跳过试跑",
218
255
  "remoteVerified": "已在它的机器上验证",
219
- "invoked": "负责人会话,无需试跑",
256
+ "invoked": "会话已在运行,无需试跑",
220
257
  "pending": "等待试跑",
221
258
  "running": "试跑中",
222
259
  "sent": "试跑已发出",
@@ -394,6 +431,7 @@
394
431
  "revert_handbook": "退回手册",
395
432
  "open": "开团队",
396
433
  "set_members": "调整团队成员",
434
+ "set_lead": "交出团队负责人",
397
435
  "roster_overview": "读取成员概览",
398
436
  "trial_started": "开始试跑",
399
437
  "trial_done": "完成试跑",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-team",
3
- "version": "0.2.4372",
3
+ "version": "0.2.4394",
4
4
  "description": "A project team roster with members, a lead, and goals.",
5
5
  "keywords": [
6
6
  "teams",
@@ -34,8 +34,8 @@
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.4372",
38
- "ycodium-system-text": "0.0.0"
37
+ "ycodium-system-text": "0.0.0",
38
+ "@ycodium-ai/plugin-api": "0.2.4394"
39
39
  },
40
40
  "ycodium": {
41
41
  "plugin": "./dist/index.js",
@@ -121,6 +121,7 @@
121
121
  {
122
122
  "key": "members",
123
123
  "scopes": [
124
+ "team",
124
125
  "project"
125
126
  ],
126
127
  "titleKey": "views.members",
@@ -187,6 +188,10 @@
187
188
  "tool": "set_members",
188
189
  "titleKey": "tool.set_members"
189
190
  },
191
+ {
192
+ "tool": "set_lead",
193
+ "titleKey": "tool.set_lead"
194
+ },
190
195
  {
191
196
  "tool": "roster_overview",
192
197
  "titleKey": "tool.roster_overview"