@ycodium-ai/plugin-team 0.2.3681 → 0.2.3766

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
@@ -1,4 +1,8 @@
1
1
  {
2
+ "presentation": {
3
+ "name": "Teams",
4
+ "description": "Give a project team a goal: the lead plans it on the board and hands work to the members."
5
+ },
2
6
  "handbook": {
3
7
  "requestConflict": "This requestId was already used for a different handbook request. Use a new requestId.",
4
8
  "requestVoided": "This requestId was abandoned before the handbook received it. Use a new requestId.",
@@ -43,8 +47,8 @@
43
47
  "versionConflict": "The team was changed at the same moment. Read it again and retry with a new requestId."
44
48
  },
45
49
  "coordinator": {
46
- "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 with the provider instanceId and model you give (both or neither); without them it uses the project's default model. The new member joins the current goal and gets its own conversation 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.",
47
- "updateTool": "Change a teammate as the lead of the current goal: name, title, responsibility, work instructions (an empty string clears them) or provider instanceId and model (both or neither); a new model applies to conversations opened afterwards, and a conversation already running keeps its model. Pass the member's version from work_read_member as expectedVersion; if it has changed you get stale-version, so read the member again. You cannot change your own provider or model. Reuse requestId only to retry the same request.",
50
+ "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 conversation 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.",
51
+ "updateTool": "Change a teammate as the lead of the current goal: name, title, responsibility, work instructions (an empty string clears them), the machine it runs on (environmentId: this machine's id or another machine from work_list_machines), or provider instanceId and model (both or neither). Without environmentId the member stays on its machine. Moving it to another machine keeps its provider instance only if that machine reported the same ready instance; otherwise give instanceId and model from that machine too. A new machine or model applies to conversations opened afterwards, and a conversation already running keeps its setup. Pass the member's version from work_read_member as expectedVersion; if it has changed you get stale-version, so read the member again. You cannot change your own machine, provider or model. Reuse requestId only to retry the same request.",
48
52
  "removeTool": "Remove a teammate from the team as the lead of the current goal. The record is kept and the member can be restored. Work assigned to the member that has not reached it yet is taken back and you are told; work already in its hands stays with it until you decide. You cannot remove yourself. Reuse requestId only to retry the same request.",
49
53
  "restoreTool": "Bring a removed teammate back as the lead of the current goal. Reuse requestId only to retry the same request.",
50
54
  "noProject": "This call is not tied to a project, so there is no team to change.",
@@ -62,7 +66,12 @@
62
66
  "memberInOtherTeam": "Another team is using this member. You can only change or remove members who are on no team, or only on yours. See which teams each member is on with team_roster_overview.",
63
67
  "memberNotFound": "No such member in this project. List the members with work_list_members.",
64
68
  "cannotRemoveLead": "You cannot remove yourself, the lead of the current goal.",
65
- "cannotReplaceLead": "You cannot change your own provider or model."
69
+ "cannotReplaceLead": "You cannot change your own machine, provider or model.",
70
+ "machineNotInProject": "Machine {{environmentId}} is not in this project. Call work_list_machines to see the machines that joined it, or leave out environmentId to use this machine.",
71
+ "machineNeedsModel": "A member on machine {{environmentId}} needs a provider from that machine. Give instanceId and model from what work_list_machines reports for it.",
72
+ "machineInstanceNotFound": "Machine {{environmentId}} did not report a provider instance {{instanceId}}. Call work_list_machines (with includeModels) and give an instanceId and model that machine reported. The list is what that machine reported when it last connected: if the provider was set up there since, ask a person to reconnect that machine (or restart its Ycodium) to refresh the list, then call work_list_machines again.",
73
+ "machineInstanceNotReady": "Provider instance {{instanceId}} on machine {{environmentId}} is not ready to take work. Call work_list_machines and pick a ready instance, or ask a person to fix that provider on that machine. The readiness is what that machine reported when it last connected: if it was fixed since, ask a person to reconnect that machine (or restart its Ycodium) to refresh the list, then call work_list_machines again.",
74
+ "machinesUnavailable": "Could not read this project's machines right now. Try again in a moment."
66
75
  },
67
76
  "board": {
68
77
  "openTeam": "Open this team on the board",
@@ -248,7 +257,8 @@
248
257
  "thisMachine": "This machine",
249
258
  "machineOffline": "{{name}} (offline)",
250
259
  "machineRemoved": "A machine that left this project",
251
- "noMachine": "No machine chosen"
260
+ "noMachine": "No machine chosen",
261
+ "machineJoining": "Adding {{name}} to this project…"
252
262
  },
253
263
  "handbookPanel": {
254
264
  "title": "Handbook",
@@ -1,4 +1,8 @@
1
1
  {
2
+ "presentation": {
3
+ "name": "团队",
4
+ "description": "给项目团队一个目标:负责人在看板上拆活,派给成员去做。"
5
+ },
2
6
  "handbook": {
3
7
  "requestConflict": "这个 requestId 已用于另一份手册请求,请换一个新的 requestId。",
4
8
  "requestVoided": "这个 requestId 在手册收到之前就作废了,请换一个新的 requestId。",
@@ -43,8 +47,8 @@
43
47
  "versionConflict": "团队刚好同时被改了。重新读一遍,用新的 requestId 再试。"
44
48
  },
45
49
  "coordinator": {
46
- "createTool": "以当前目标负责人的身份,给这个项目的团队添加一名 AI 成员。requestId 要用新的,只有重试同一个请求时才沿用。成员在这台机器上运行,用你给的 provider 实例 instanceId 和模型 model(要么都给,要么都不给);都不给就用项目的默认模型。新成员会加入当前目标,在你的会话名下得到自己的会话,通常很快就绪(没成功会告诉你原因,并每隔几分钟重试一次);用 team_open 开的团队里,要等你用 team_set_members 把这名成员拉进团队才开始;会话就绪后,可以用 work_update_item 把活派给它,assignees 写 [{ \"kind\": \"member\", \"memberId\": <本工具返回的 memberId> }]。先用 work_list_members 看团队里现在有谁。",
47
- "updateTool": "以当前目标负责人的身份修改一名成员:名字、头衔、职责、工作说明(空字符串表示清空),或 provider 实例 instanceId 和模型 model(要么都给,要么都不给);新模型只对之后新开的会话生效,已在运行的会话保持原来的模型。expectedVersion 填 work_read_member 读到的成员版本;版本变了会返回 stale-version,重新读一遍再改。不能改自己的 provider 和模型。requestId 只有重试同一个请求时才沿用。",
50
+ "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 看团队里有谁。",
51
+ "updateTool": "以当前目标负责人的身份改一个队友:名字、头衔、职责、工作要求(空字符串表示清空)、它跑在哪台机器上(environmentId:这台机器的号,或 work_list_machines 里的另一台机器),或 provider 的 instanceId 和 model(要么都给,要么都不给)。不给 environmentId 时成员留在原来的机器上。挪到另一台机器时,只有那台机器报了同一个已就绪的实例才沿用成员原来的 provider 实例;否则同时给出那台机器上的 instanceId 和 model。新机器或新模型只对之后开的会话生效,已经在跑的会话保持原来的设置。expectedVersion 填 work_read_member 读到的成员版本;版本变了会得到 stale-version,重新读一次成员。不能改自己的机器、provider 和模型。只有重试同一次请求时才沿用 requestId。",
48
52
  "removeTool": "以当前目标负责人的身份把一名成员移出团队。记录会保留,以后可以恢复。派给它、但还没到它手上的活会被收回并通知你;已经在它手上的活留在它那里,由你决定。不能移除自己。requestId 只有重试同一个请求时才沿用。",
49
53
  "restoreTool": "以当前目标负责人的身份把已移除的成员请回团队。requestId 只有重试同一个请求时才沿用。",
50
54
  "noProject": "这次调用不属于任何项目,没有可改的团队。",
@@ -62,7 +66,12 @@
62
66
  "notAgentMember": "这个工具只能改 agent 成员。",
63
67
  "memberNotFound": "这个项目里没有这名成员。先用 work_list_members 列出成员。",
64
68
  "cannotRemoveLead": "不能移除自己(当前目标的负责人)。",
65
- "cannotReplaceLead": "不能改自己的 provider 和模型。"
69
+ "cannotReplaceLead": "不能改自己的机器、provider 和模型。",
70
+ "machineNotInProject": "机器 {{environmentId}} 不在这个项目里。调 work_list_machines 看加进这个项目的机器,或者不给 environmentId,用这台机器。",
71
+ "machineNeedsModel": "放在机器 {{environmentId}} 上的成员要用那台机器上的 provider。按 work_list_machines 对那台机器报的内容给出 instanceId 和 model。",
72
+ "machineInstanceNotFound": "机器 {{environmentId}} 没有报 provider 实例 {{instanceId}}。调 work_list_machines(带 includeModels),给出那台机器报过的 instanceId 和 model。这份清单是那台机器上次连上时报的:如果之后才在那台机器上装好这个 provider,请人重新连接那台机器(或重启它上面的 Ycodium)刷新清单,再调 work_list_machines。",
73
+ "machineInstanceNotReady": "机器 {{environmentId}} 上的 provider 实例 {{instanceId}} 还不能接活。调 work_list_machines 挑一个已就绪的实例,或者请人到那台机器上把这个 provider 修好。就绪状态是那台机器上次连上时报的:如果之后已经修好,请人重新连接那台机器(或重启它上面的 Ycodium)刷新清单,再调 work_list_machines。",
74
+ "machinesUnavailable": "现在读不出这个项目的机器,稍后再试。"
66
75
  },
67
76
  "board": {
68
77
  "openTeam": "在看板上打开这个团队",
@@ -248,7 +257,8 @@
248
257
  "thisMachine": "这台机器",
249
258
  "machineOffline": "{{name}}(离线)",
250
259
  "machineRemoved": "已移出项目的机器",
251
- "noMachine": "还没选机器"
260
+ "noMachine": "还没选机器",
261
+ "machineJoining": "正在把 {{name}} 接入这个项目…"
252
262
  },
253
263
  "handbookPanel": {
254
264
  "title": "手册",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-team",
3
- "version": "0.2.3681",
3
+ "version": "0.2.3766",
4
4
  "description": "A project team roster with members, a lead, and goals.",
5
5
  "keywords": [
6
6
  "teams",
@@ -34,12 +34,15 @@
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.3681",
37
+ "@ycodium-ai/plugin-api": "0.2.3766",
38
38
  "ycodium-system-text": "0.0.0"
39
39
  },
40
40
  "ycodium": {
41
41
  "plugin": "./dist/index.js",
42
42
  "displayName": "Teams",
43
+ "displayNameKey": "presentation.name",
44
+ "description": "Give a project team a goal: the lead plans it on the board and hands work to the members.",
45
+ "descriptionKey": "presentation.description",
43
46
  "icon": "./assets/icon.svg",
44
47
  "permissions": [
45
48
  {
@@ -65,7 +68,6 @@
65
68
  "wiki.handbook.publish",
66
69
  "wiki.handbook.revert",
67
70
  "communication.message.send",
68
- "communication.delivery.bind",
69
71
  "member.create",
70
72
  "member.update",
71
73
  "member.remove",