@workser/cli 0.6.29 → 0.6.30
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/dist/index.js
CHANGED
|
@@ -5507,7 +5507,7 @@ Two caveats worth saying out loud rather than letting the owner find later:
|
|
|
5507
5507
|
topic: "roles",
|
|
5508
5508
|
title: "Delegate to roles",
|
|
5509
5509
|
summary: "Hand a focused subtask to another configured local agent.",
|
|
5510
|
-
commands: ["agent"],
|
|
5510
|
+
commands: ["agent", "team"],
|
|
5511
5511
|
source: "skills/workser/reference/roles.md",
|
|
5512
5512
|
body: `# Delegate to roles
|
|
5513
5513
|
|
|
@@ -5522,6 +5522,9 @@ workser agent spawn <agent> "<task>" [--role <label>] [--instructions <text>] [-
|
|
|
5522
5522
|
workser agent main # show the configured main agent
|
|
5523
5523
|
\`\`\`
|
|
5524
5524
|
|
|
5525
|
+
\`workser team\` is the same command. The Team screen and your own briefing both
|
|
5526
|
+
call these people a team, so both words work here.
|
|
5527
|
+
|
|
5525
5528
|
## How to use it
|
|
5526
5529
|
|
|
5527
5530
|
Run \`workser agent list --json\` first \u2014 it tells you which roles exist, which are
|
|
@@ -8111,7 +8114,7 @@ Pick another model, or leave ${flag} off to use the agent's own default.`,
|
|
|
8111
8114
|
// src/commands/agent.ts
|
|
8112
8115
|
var SPAWNABLE_AGENTS = ["claude_code", "codex", "kimi", "opencode", "grok"];
|
|
8113
8116
|
function registerAgent(program3) {
|
|
8114
|
-
const agent = program3.command("agent").description("Delegate focused subtasks to your configured agent roles (each runs isolated)");
|
|
8117
|
+
const agent = program3.command("agent").alias("team").description("Delegate focused subtasks to your configured agent roles (each runs isolated)");
|
|
8115
8118
|
agent.command("list").description("List the main agent (+ backup) and the configured subagents").action(
|
|
8116
8119
|
action(async ({ ctx }) => {
|
|
8117
8120
|
const cfg = await api(ctx, "/v1/agents");
|
|
@@ -13066,7 +13069,7 @@ function colour(d) {
|
|
|
13066
13069
|
|
|
13067
13070
|
// src/index.ts
|
|
13068
13071
|
var pkg = {
|
|
13069
|
-
version: true ? "0.6.
|
|
13072
|
+
version: true ? "0.6.30" : "0.0.0-dev"
|
|
13070
13073
|
};
|
|
13071
13074
|
var program2 = new Command();
|
|
13072
13075
|
program2.name("workser").description(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workser/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.30",
|
|
4
4
|
"description": "Workser CLI — give your local AI agent native DevOps & infrastructure on Workser. The agent runs `workser …` to provision, deploy, and manage real apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
topic: roles
|
|
3
3
|
title: Delegate to roles
|
|
4
4
|
summary: Hand a focused subtask to another configured local agent.
|
|
5
|
-
commands: [agent]
|
|
5
|
+
commands: [agent, team]
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Delegate to roles
|
|
@@ -18,6 +18,9 @@ workser agent spawn <agent> "<task>" [--role <label>] [--instructions <text>] [-
|
|
|
18
18
|
workser agent main # show the configured main agent
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
`workser team` is the same command. The Team screen and your own briefing both
|
|
22
|
+
call these people a team, so both words work here.
|
|
23
|
+
|
|
21
24
|
## How to use it
|
|
22
25
|
|
|
23
26
|
Run `workser agent list --json` first — it tells you which roles exist, which are
|