@ycodium-ai/plugin-team 0.2.5029 → 0.2.5177
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 +4 -22
- package/dist/index.js +761 -511
- package/locales/en.json +3 -1
- package/locales/zh-CN.json +3 -1
- package/package.json +5 -4
package/locales/en.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
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
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
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.",
|
|
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
|
+
"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; imported for a member moved in from another machine that has not run a trial on this home machine yet, which takes no work until its trial run is retried or its model changes; 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.",
|
|
31
31
|
"noProject": "This call is not tied to a project, so there is no team to open or change.",
|
|
32
32
|
"notLocal": "Only a thread on this machine can open a team.",
|
|
33
33
|
"invalidInput": "Check the arguments: requestId is 1-64 letters, digits, underscores or hyphens; name is 1-80 characters; goal is 1-4000 characters; leadName, if given, is 1-40 characters.",
|
|
@@ -255,6 +255,8 @@
|
|
|
255
255
|
"remoteVerified": "Verified on its machine",
|
|
256
256
|
"invoked": "Session already running, no trial needed",
|
|
257
257
|
"pending": "Trial run pending",
|
|
258
|
+
"imported": "Moved in from another machine",
|
|
259
|
+
"importedNote": "Moved in from an older copy on another machine and has not run a trial on this home machine yet. It takes no work until you retry the trial run or change its model.",
|
|
258
260
|
"running": "Trial run in progress",
|
|
259
261
|
"sent": "Trial run sent",
|
|
260
262
|
"failed": "Trial run failed",
|
package/locales/zh-CN.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
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
28
|
"setMembersTool": "改这个团队里有谁(只有团队的负责人能调:它的会话,或它在别的机器上的会话)。add:要拉进来的项目成员的 memberId;remove:要移出的 memberId。移出的成员名下还没到它手上的活会收回并交给你,已经在它手上的活留给它,由你决定。你不能移出自己,也不能动别的团队的成员和负责人。结果里 returnStatus 是 \"done\"(带 returnedToYou:退给你的件号)或 \"pending\":成员已经改好,件还在退,会自己做完,用同一个 requestId 再调一次可以读到现状。requestId 要用新的,只有重试同一次调用时才沿用。",
|
|
29
29
|
"setLeadTool": "把这个团队的负责人交给团队里的另一名成员(只有团队现在的负责人能调:它的会话,或它在别的机器上的会话;不用人确认)。memberId:已在团队里的成员的 memberId,人、别的机器上的 agent 成员都可以;不在团队里就先用 team_set_members 加进来。调用之后你是普通成员,不能自己收回:只有新负责人或人能再交出去。你名下还开着的件(含已经在做的)会改给新负责人,新负责人会收到「你现在是负责人」的说明,所以手上的事先收尾或交代清楚再调。只写一次:团队或它的负责人刚好同时被改了就什么都不写、拒绝这次调用(lead-changed),重新读一遍团队、再决定,用新的 requestId 调用。同一个 requestId 只用来再读同一次调用的结果。",
|
|
30
|
-
"rosterOverviewTool": "读出规划团队需要的全部信息:这个项目的每个成员,含种类、机器、模型、试跑进度(trial 取值:none 表示不适用,比如人;unverified 是别的机器上、这里还没有试跑记录的 agent;pending 是还没通过;ready 是已通过或已跳过;failed 是失败;invoked 是这条会话本身就是负责人,无需试跑),以及所在的团队(是不是那个团队的负责人)。提团队方案之前、新建成员之前先读它。",
|
|
30
|
+
"rosterOverviewTool": "读出规划团队需要的全部信息:这个项目的每个成员,含种类、机器、模型、试跑进度(trial 取值:none 表示不适用,比如人;unverified 是别的机器上、这里还没有试跑记录的 agent;pending 是还没通过;ready 是已通过或已跳过;failed 是失败;imported 是从另一台机器迁入、还没在这台家机器上试跑过的成员,重新试跑或改模型之前不接活;invoked 是这条会话本身就是负责人,无需试跑),以及所在的团队(是不是那个团队的负责人)。提团队方案之前、新建成员之前先读它。",
|
|
31
31
|
"noProject": "这次调用不属于任何项目,没有可开或可改的团队。",
|
|
32
32
|
"notLocal": "只有这台机器上的会话能开团队。",
|
|
33
33
|
"invalidInput": "请检查参数:requestId 是 1-64 位字母、数字、下划线或连字符;name 1-80 字;goal 1-4000 字;leadName 若给出为 1-40 字。",
|
|
@@ -255,6 +255,8 @@
|
|
|
255
255
|
"remoteVerified": "已在它的机器上验证",
|
|
256
256
|
"invoked": "会话已在运行,无需试跑",
|
|
257
257
|
"pending": "等待试跑",
|
|
258
|
+
"imported": "从另一台机器迁入",
|
|
259
|
+
"importedNote": "从另一台机器上的旧副本迁入,还没在这台家机器上试跑过。重新试跑或改模型之后才会接活。",
|
|
258
260
|
"running": "试跑中",
|
|
259
261
|
"sent": "试跑已发出",
|
|
260
262
|
"failed": "试跑出错",
|
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.5177",
|
|
4
4
|
"description": "A project team roster with members, a lead, and goals.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"teams",
|
|
@@ -34,8 +34,9 @@
|
|
|
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.
|
|
38
|
-
"ycodium-system-text": "0.0.0"
|
|
37
|
+
"@ycodium-ai/plugin-api": "0.2.5177",
|
|
38
|
+
"ycodium-system-text": "0.0.0",
|
|
39
|
+
"ycodium-react-test-harness": "0.0.0"
|
|
39
40
|
},
|
|
40
41
|
"ycodium": {
|
|
41
42
|
"plugin": "./dist/index.js",
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
"work.line.resume",
|
|
65
66
|
"work.item.create",
|
|
66
67
|
"work.item.update",
|
|
67
|
-
"
|
|
68
|
+
"communication.post.send",
|
|
68
69
|
"wiki.handbook.publish",
|
|
69
70
|
"wiki.handbook.revert",
|
|
70
71
|
"communication.message.send",
|