@openscout/scout 0.2.62 → 0.2.64

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/README.md CHANGED
@@ -20,7 +20,7 @@ scout whoami
20
20
  scout who
21
21
  scout latest
22
22
  scout runtimes
23
- scout @dewey can you review our docs?
23
+ scout ask --to dewey "can you review our docs?"
24
24
  ```
25
25
 
26
26
  `scout setup` is the canonical onboarding entry point. It creates or updates:
@@ -52,7 +52,7 @@ The routing rules do not change by harness, UI, or host:
52
52
  - owned work / requested reply -> `scout ask`
53
53
  - follow-up stays in the same DM or explicit channel
54
54
 
55
- The shortest healthy operator loop is:
55
+ When sender, target, or recent activity is unclear, the shortest orientation loop is:
56
56
 
57
57
  ```bash
58
58
  scout whoami
@@ -86,13 +86,17 @@ Default sender resolution is:
86
86
  That keeps ordinary collaboration simple:
87
87
 
88
88
  ```bash
89
- scout whoami
90
- scout send "@vox heads up: I’m on the runtime side"
89
+ scout send --to vox "heads up: I’m on the runtime side"
91
90
  scout ask --to vox "can you confirm the broker fix?"
92
91
  ```
93
92
 
94
93
  Known on-demand or offline agents are supposed to wake on first delivery. `scout send` and `scout ask` should be the default path; `scout up` is for explicit prewarming or for creating/registering a target the broker does not know yet.
95
94
 
95
+ Prefer `scout send --to <agent> "message"` for tells. Legacy
96
+ `scout send "@agent message"` remains for compatibility, but it makes the
97
+ message body participate in route discovery. With `--to`, quoted handles inside
98
+ the text stay text.
99
+
96
100
  ### File-backed input
97
101
 
98
102
  Use a file when the primary prompt or message is too large or too structured to
@@ -147,25 +151,49 @@ single owner.
147
151
 
148
152
  ### Addressing specific agents
149
153
 
150
- Agent identity has five dimensions: `definitionId`, workspace qualifier, `profile`, `harness`, `node`. Canonical form:
154
+ Agent identity has six dimensions: `definitionId`, workspace qualifier, `profile`, `harness`, `model`, `node`. Canonical form:
151
155
 
152
156
  ```
153
- @<definitionId>[.<workspaceQualifier>][.profile:<profile>][.harness:<harness>][.node:<node>]
157
+ @<definitionId>[.<workspaceQualifier>][.profile:<profile>][.harness:<harness>][.model:<model>][.node:<node>]
154
158
  ```
155
159
 
156
160
  Short `@name` only resolves when exactly one matching agent is available from the current context. If multiple agents share a name (e.g. one Codex-backed, one Claude-backed), pin the dimension you care about with a typed qualifier:
157
161
 
158
162
  ```bash
159
- scout @vox.harness:codex message from hudson: please retry the build
163
+ scout send --to vox.harness:codex "message from hudson: please retry the build"
160
164
  scout ask --to vox.harness:claude "what did the reviewer flag?"
161
- scout @arc.profile:reviewer take another pass
162
- scout @vox.harness:codex.node:mini run locally on mini
165
+ scout ask --to arc.profile:reviewer "take another pass"
166
+ scout ask --to vox.harness:codex.node:mini "run locally on mini"
167
+ scout ask --to lattices#codex?5.5 "take task A"
168
+ scout ask --to lattices#claude?sonnet "take task B"
163
169
  ```
164
170
 
165
- Aliases: `runtime:` = `harness:`, `persona:` = `profile:`, `branch:` / `worktree:` = workspace qualifier. Dimensions combine in any order.
171
+ Aliases: `runtime:` = `harness:`, `persona:` = `profile:`, `branch:` / `worktree:` = workspace qualifier. Shorthand `#codex` maps to `harness:codex`; `?sonnet` or `?5.5` maps to `model:<model>`. Dimensions combine in any order.
166
172
 
167
173
  If direct send/ask still comes back unresolved, treat that as a routing problem, not a mere "target is offline" problem. The right follow-up is to disambiguate the target, inspect broker context with `scout who` / `scout latest`, or create/register the missing identity. Do not default to pushing the bring-up step back onto the operator for a known target.
168
174
 
175
+ By default, a label handoff such as `@openscout.harness:claude` should mean
176
+ "use the OpenScout identity on the Claude harness in a fresh session/context."
177
+ Reusing an existing session is an explicit continuity choice, not the default.
178
+ The broker should keep the stable agent name as the address and record the
179
+ concrete session binding in the delivery receipt/history.
180
+
181
+ Session refs are separate route targets for continuing a concrete bound
182
+ session. Use the bare `ref:<suffix>` form in receipts/history, and pass the
183
+ suffix with `--ref`; do not encode refs into `@agent#harness?model` identity
184
+ syntax.
185
+
186
+ ```bash
187
+ scout ask --ref 7f3a9c21 "continue from that handoff"
188
+ scout send --ref 7f3a9c21 "status for that same session"
189
+ ```
190
+
191
+ Receipts should name both layers, for example:
192
+
193
+ ```text
194
+ sent to @openscout#claude via DM (ref:7f3a9c21)
195
+ ```
196
+
169
197
  ## Current Commands
170
198
 
171
199
  ```bash
@@ -221,10 +249,13 @@ scout server open
221
249
  scout server start
222
250
  scout server start --port 3200
223
251
  scout server open --path /agents/arc-codex-2.master.mini
252
+ scout server start --public-origin https://scout.my-mac.local
224
253
  scout server start --vite-url http://127.0.0.1:43173 # SPA dev server
225
254
  scout server start --static --static-root /custom/client
226
255
  ```
227
256
 
228
257
  `scout server open` reuses an already-running matching Scout server on that port, or starts one in the background and opens the browser for you. Use `scout server` or `scout server help` for full flags.
229
258
 
259
+ The application server derives the LAN hostname `scout.<machine>.local` by default. For a Caddy or other edge proxy, set `--public-origin https://scout.<machine>.local` (or `OPENSCOUT_WEB_PUBLIC_ORIGIN`) so browser origins match the app server's trusted host model.
260
+
230
261
  For the same web UI without the full `scout` CLI package, use **`@openscout/web`** (`openscout-web`): it ships its own `dist/client`, bundled Bun server, and pairing supervisor.