@agentproto/runtime-profile-standard 0.1.0 → 0.1.1

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.
@@ -7,6 +7,14 @@ participants:
7
7
  executor: agent-cli
8
8
  displayName: Reviewer
9
9
  role: ../../.claude/agents/reviewer.md
10
+ config:
11
+ model: sonnet
12
+ - id: skeptic
13
+ executor: agent-cli
14
+ displayName: Skeptic
15
+ role: ../../.claude/agents/skeptic.md
16
+ config:
17
+ model: opus
10
18
  substrate:
11
19
  kind: file
12
20
  path: ./conversation.md
@@ -19,10 +27,10 @@ state:
19
27
 
20
28
  # Local swarm — file substrate
21
29
 
22
- One participant (Reviewer) coordinated through an append-only markdown
23
- journal at `.runtime/conversation.md`. No network, no remote services —
24
- useful as a starting template you copy and extend with your own
25
- participants.
30
+ Two participants (Reviewer and Skeptic) coordinated through an
31
+ append-only markdown journal at `.runtime/conversation.md`. No network,
32
+ no remote services — useful as a starting template you copy and extend
33
+ with your own participants.
26
34
 
27
35
  ## How to run
28
36
 
@@ -50,9 +58,9 @@ participants.
50
58
  ```
51
59
 
52
60
  4. The swarm process polls every 2s. Within one cycle it will detect the
53
- @Reviewer mention, spawn `claude --print --output-format=json` with
54
- Reviewer's role + the recent transcript, and append the reply as a
55
- new turn in the journal.
61
+ @Reviewer mention, spawn `claude --print --output-format=json
62
+ --permission-mode bypassPermissions` with Reviewer's role + the
63
+ recent transcript, and append the reply as a new turn in the journal.
56
64
 
57
65
  ## Adding participants
58
66
 
@@ -65,6 +73,30 @@ The reference `agent-cli` executor spawns `claude` by default; the
65
73
  Drop in additional `.claude/agents/*.md` files and reference them
66
74
  under `role:` to add specialists.
67
75
 
76
+ Use `config:` to override the executor for a single participant without
77
+ changing the global default. For example:
78
+
79
+ ```yaml
80
+ participants:
81
+ - id: strategist
82
+ executor: agent-cli
83
+ displayName: Strategist
84
+ role: ../../.claude/agents/strategist.md
85
+ config:
86
+ model: opus
87
+ - id: skeptic
88
+ executor: agent-cli
89
+ displayName: Skeptic
90
+ role: ../../.claude/agents/skeptic.md
91
+ config:
92
+ model: sonnet
93
+ ```
94
+
95
+ `config.model` is only honoured when `command` is `claude` (the
96
+ default); it appends `--model <model>` to the spawned argv. Use
97
+ `config.command` and `config.args` to point a participant at a different
98
+ CLI binary entirely.
99
+
68
100
  ## Other substrates
69
101
 
70
102
  `substrate.kind` resolves through the agentproto CLI's adapter
@@ -82,3 +114,12 @@ Paths in this manifest resolve relative to the manifest file itself.
82
114
  - `state.dir: ./state` resolves to `.runtime/state/`.
83
115
 
84
116
  If you put the manifest somewhere else, adjust the relative paths.
117
+
118
+ ## Permission mode
119
+
120
+ The default `agent-cli` args for `claude` include
121
+ `--permission-mode bypassPermissions`. Swarm participants run unattended
122
+ over piped stdin/stdout, so an interactive permission prompt would hang
123
+ forever rather than be answerable. Keep this in mind if you override
124
+ `config.args`: you either need an equivalent non-interactive permission
125
+ mode or must ensure the participant's role never triggers a tool request.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentproto/runtime-profile-standard",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "@agentproto/runtime-profile-standard — reference file-mode MultiAgentRuntime profile. Drops a Claude Code reviewer sub-agent, session-start + user-prompt-submit hooks, an `/ap-swarm` slash command, and an example local swarm manifest into a repo so `agentproto run-swarm` works out of the box. Installed via `agentproto install runtime-profile/standard`.",
5
5
  "keywords": [
6
6
  "agentproto",
@@ -47,8 +47,8 @@
47
47
  "tsup": "^8.5.1",
48
48
  "typescript": "^5.9.3",
49
49
  "vitest": "^3.2.4",
50
- "@agentproto/tooling": "0.1.0-alpha.0",
51
- "@agentproto/agent-runtime": "0.1.0-alpha.0"
50
+ "@agentproto/agent-runtime": "0.1.0",
51
+ "@agentproto/tooling": "0.1.0-alpha.0"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=20.9.0"