@openscout/scout 0.2.65 → 0.2.69
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 +32 -3
- package/bin/openscout-runtime.mjs +11 -0
- package/dist/client/assets/addon-fit-DtSNdpy5.js +1 -0
- package/dist/client/assets/addon-webgl-YYNKPQUg.js +82 -0
- package/dist/client/assets/index-5-XOQrKH.js +186 -0
- package/dist/client/assets/index-BnA2HAbt.css +1 -0
- package/dist/client/assets/xterm-fBtFsYpq.js +34 -0
- package/dist/client/index.html +3 -3
- package/dist/main.mjs +18897 -7052
- package/dist/openscout-terminal-relay.mjs +678 -0
- package/dist/pair-supervisor.mjs +27100 -21822
- package/dist/runtime/base-daemon.mjs +103 -12
- package/dist/runtime/broker-daemon.mjs +8238 -1089
- package/dist/runtime/broker-process-manager.mjs +79 -10
- package/dist/runtime/mesh-discover.mjs +79 -10
- package/dist/scout-control-plane-web.mjs +19364 -1812
- package/dist/scout-web-server.mjs +19364 -1812
- package/package.json +16 -2
- package/dist/client/assets/addon-fit-DX4qG4td.js +0 -1
- package/dist/client/assets/addon-webgl-DCtw1yLn.js +0 -64
- package/dist/client/assets/index-BOdG2WWL.css +0 -1
- package/dist/client/assets/index-TVkH_WDG.js +0 -1
- package/dist/client/assets/index-mL1LA8IG.js +0 -159
- package/dist/client/assets/xterm-B-qIQCd3.js +0 -16
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ It also discovers local and project-backed agents from your configured workspace
|
|
|
33
33
|
|
|
34
34
|
`scout init` writes `~/.openscout/config.json` with the broker, web, and pairing ports that every Scout component reads. Run it once after install, or with `--force` to overwrite.
|
|
35
35
|
|
|
36
|
-
When the input is not a known subcommand and includes exactly one `@agent` mention, Scout treats it as an implicit `ask
|
|
36
|
+
When the input is not a known subcommand and includes exactly one `@agent` mention, Scout treats it as an implicit `ask`: it records durable work with the broker, waits for the target to acknowledge or complete immediately, and leaves later completion visible through the conversation or flight follow-up. For example:
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
scout @dewey can you review our docs?
|
|
@@ -56,10 +56,22 @@ When sender, target, or recent activity is unclear, the shortest orientation loo
|
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
58
|
scout whoami
|
|
59
|
+
scout inbox --latest 10 --json
|
|
59
60
|
scout who
|
|
61
|
+
scout channel triage --latest 10 --json
|
|
60
62
|
scout latest
|
|
63
|
+
scout latest --channel triage --messages --limit 3
|
|
61
64
|
```
|
|
62
65
|
|
|
66
|
+
Use `channel <name> --latest <count> --json` for the cheapest agent-facing
|
|
67
|
+
channel catch-up. It reads broker messages for that channel and exits. Use
|
|
68
|
+
`latest --channel <name>` when you want the compact activity projection instead.
|
|
69
|
+
Use `inbox --latest <count> --json` for direct messages addressed to the
|
|
70
|
+
current inferred agent identity.
|
|
71
|
+
|
|
72
|
+
CLI agents should use these commands rather than curling broker HTTP endpoints
|
|
73
|
+
or reading relay files directly.
|
|
74
|
+
|
|
63
75
|
### Sender identity
|
|
64
76
|
|
|
65
77
|
`scout send`, `scout ask`, and `scout broadcast` all use the
|
|
@@ -149,6 +161,23 @@ scout ask --as premotion.master.mini --to hudson "Build the editable CodeViewer
|
|
|
149
161
|
Use `channel.shared` only when the work is genuinely for a group, not for a
|
|
150
162
|
single owner.
|
|
151
163
|
|
|
164
|
+
### Label-scoped catch-up
|
|
165
|
+
|
|
166
|
+
Use labels to tie related asks together without creating a new workflow object:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
scout ask --to hudson --label release:0.2.66 "Review the package bump."
|
|
170
|
+
scout ask --to lattices --label release:0.2.66 "Check the install path."
|
|
171
|
+
scout label feed release:0.2.66 --since 10m
|
|
172
|
+
scout label watch release:0.2.66 --interval 2
|
|
173
|
+
scout label brief release:0.2.66
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Labels are plain metadata. They can mean a goal, release, milestone, incident,
|
|
177
|
+
or any local convention. `scout label watch` streams a normalized firehose of
|
|
178
|
+
matching Scout-owned activity; `scout label brief` gives a compact digest. Scout
|
|
179
|
+
does not assign a lifecycle to the label.
|
|
180
|
+
|
|
152
181
|
### Addressing specific agents
|
|
153
182
|
|
|
154
183
|
Agent identity has six dimensions: `definitionId`, workspace qualifier, `profile`, `harness`, `model`, `node`. Canonical form:
|
|
@@ -254,7 +283,7 @@ scout server open
|
|
|
254
283
|
scout server start
|
|
255
284
|
scout server start --port 3200
|
|
256
285
|
scout server open --path /agents/arc-codex-2.master.mini
|
|
257
|
-
scout server start --public-origin
|
|
286
|
+
scout server start --public-origin http://scout.local
|
|
258
287
|
scout server edge --local-name m1
|
|
259
288
|
scout server start --vite-url http://127.0.0.1:43173 # SPA dev server
|
|
260
289
|
scout server start --static --static-root /custom/client
|
|
@@ -262,7 +291,7 @@ scout server start --static --static-root /custom/client
|
|
|
262
291
|
|
|
263
292
|
`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.
|
|
264
293
|
|
|
265
|
-
The application server binds to `0.0.0.0` by default, treats `scout.local` as the local portal name, and derives the node URL as `<machine>.scout.local` unless the user configures a short alias such as `m1`. `scout server edge` publishes `scout.local` plus the node host with Bonjour/mDNS and runs Caddy against the active web port. The managed edge
|
|
294
|
+
The application server binds to `0.0.0.0` by default, treats `scout.local` as the local portal name, and derives the node URL as `<machine>.scout.local` unless the user configures a short alias such as `m1`. `scout server edge` publishes `scout.local` plus the node host with Bonjour/mDNS and runs Caddy against the active web port. The managed edge defaults to HTTP on port `80` for zero-cert local browsing. HTTPS remains an explicit opt-in via `--edge-scheme https` or `--edge-scheme both` plus `scout server trust`.
|
|
266
295
|
|
|
267
296
|
`scout setup` verifies Caddy for this path. The setup command installs it with Homebrew on macOS when `caddy` is not already available, but Scout still runs Caddy directly with the generated `~/.scout/local-edge/Caddyfile` instead of registering a separate Homebrew service. The base LaunchAgent is labelled `dev.openscout` in source/dev installs and supervises the broker, local edge, web startup, and menu bar app; `scout doctor` prints the exact `launchctl bootout ...` command for the current mode.
|
|
268
297
|
|
|
@@ -9,10 +9,17 @@ const binDir = dirname(fileURLToPath(import.meta.url));
|
|
|
9
9
|
const runtimeDistDir = resolve(binDir, "../dist/runtime");
|
|
10
10
|
|
|
11
11
|
const entrypoints = {
|
|
12
|
+
base: resolve(runtimeDistDir, "base-daemon.mjs"),
|
|
12
13
|
broker: resolve(runtimeDistDir, "broker-daemon.mjs"),
|
|
13
14
|
service: resolve(runtimeDistDir, "broker-process-manager.mjs"),
|
|
14
15
|
discover: resolve(runtimeDistDir, "mesh-discover.mjs"),
|
|
15
16
|
};
|
|
17
|
+
const processNames = {
|
|
18
|
+
base: "scout-base",
|
|
19
|
+
broker: "scout-broker",
|
|
20
|
+
service: "scout-service",
|
|
21
|
+
discover: "scout-discover",
|
|
22
|
+
};
|
|
16
23
|
|
|
17
24
|
const [, , command = "service", ...args] = process.argv;
|
|
18
25
|
const entrypoint = entrypoints[command];
|
|
@@ -29,7 +36,11 @@ if (!existsSync(entrypoint)) {
|
|
|
29
36
|
process.exit(1);
|
|
30
37
|
}
|
|
31
38
|
|
|
39
|
+
const processName = processNames[command] ?? "scout-runtime";
|
|
40
|
+
process.title = processName;
|
|
41
|
+
|
|
32
42
|
const child = spawn(process.execPath, [entrypoint, ...args], {
|
|
43
|
+
argv0: processName,
|
|
33
44
|
stdio: "inherit",
|
|
34
45
|
});
|
|
35
46
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as f}from"./index-5-XOQrKH.js";function g(o,s){for(var r=0;r<s.length;r++){const t=s[r];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in o)){const i=Object.getOwnPropertyDescriptor(t,e);i&&Object.defineProperty(o,e,i.get?i:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}},d;function _(){return d||(d=1,(function(o,s){(function(r,t){o.exports=t()})(globalThis,(()=>(()=>{var r={};return(()=>{var t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.FitAddon=void 0,t.FitAddon=class{activate(e){this._terminal=e}dispose(){}fit(){const e=this.proposeDimensions();if(!e||!this._terminal||isNaN(e.cols)||isNaN(e.rows))return;const i=this._terminal._core;this._terminal.rows===e.rows&&this._terminal.cols===e.cols||(i._renderService.clear(),this._terminal.resize(e.cols,e.rows))}proposeDimensions(){if(!this._terminal||!this._terminal.element||!this._terminal.element.parentElement)return;const e=this._terminal._core._renderService.dimensions;if(e.css.cell.width===0||e.css.cell.height===0)return;const i=this._terminal.options.scrollback===0?0:this._terminal.options.overviewRuler?.width||14,l=window.getComputedStyle(this._terminal.element.parentElement),c=parseInt(l.getPropertyValue("height")),m=Math.max(0,parseInt(l.getPropertyValue("width"))),n=window.getComputedStyle(this._terminal.element),u=c-(parseInt(n.getPropertyValue("padding-top"))+parseInt(n.getPropertyValue("padding-bottom"))),h=m-(parseInt(n.getPropertyValue("padding-right"))+parseInt(n.getPropertyValue("padding-left")))-i;return{cols:Math.max(2,Math.floor(h/e.css.cell.width)),rows:Math.max(1,Math.floor(u/e.css.cell.height))}}}})(),r})()))})(a)),a.exports}var p=_();const y=f(p),v=g({__proto__:null,default:y},[p]);export{v as a};
|