sessionpipe 0.13.0 → 0.13.2

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
@@ -34,6 +34,18 @@ machines by their id, so the pairing holds and its two cards become one.
34
34
  | 2 | + your prompts and the assistant's text, redacted |
35
35
  | 3 | + tool input and output |
36
36
 
37
+ A tool call is two events (`tool.started`, `tool.ended`), and a workflow that runs a few
38
+ hundred subagents fires thousands a minute. So a receiver is sent a subagent's finished
39
+ tool calls (`tool.ended`) at most one per session per minute, plus the one that answers a
40
+ subagent's permission prompt, the main thread's tool events as they happen, and at most
41
+ one request a second from this machine with everything that piled up in it. `--tools` on
42
+ `sink add` picks the first: `all` sends every tool event (the default), `main` is what a
43
+ receiver that meters requests asks for in its well-known file and is used where it does,
44
+ `beat` thins the main thread's tool events the same way. The local outbox keeps every event whichever you
45
+ pick; turns, prompts, attention and subagents are never thinned. `replay --tools all`
46
+ sends every tool event once, for a receiver rebuilt from the outbox, and `replay` says
47
+ how many it thinned.
48
+
37
49
  No telemetry. Secrets never leave (`secrets@1` runs above tier 0, always). Your
38
50
  server or none. Pre-release: the reference receiver is still being built; see the
39
51
  [roadmap](https://github.com/spacesheep-dev/sessionpipe/blob/main/ROADMAP.md).
@@ -305,7 +317,7 @@ names and meanings as `doctor --json`:
305
317
  |---|---|
306
318
  | `version`, `machine`, `state`, `config` | Strings; state and config are absolute paths. |
307
319
  | `harnesses` | Object keyed by harness name; each value is an array of `{file, state, note?}` hook checks. `file` uses `~` for home, as doctor does. Includes detected **or configured** harnesses. |
308
- | `sinks` | Array of `{name, url, tier, max_tier, pii, control, paused, pending_sessions}`. `tier` is the configured tier; the effective tier is `min(tier, max_tier ?? 3)`. `max_tier` and `paused` are `null` when unset. No token or secret is included. |
320
+ | `sinks` | Array of `{name, url, tier, max_tier, pii, tools, control, paused, pending_sessions}`. `tier` is the configured tier; the effective tier is `min(tier, max_tier ?? 3)`. `max_tier` and `paused` are `null` when unset. `tools` is which tool events the sink is sent (`all`, `main`, `beat`), its default resolved. No token or secret is included. |
309
321
  | `timing` | `{n, p50, p95}` from the last 100 local hook timings, in milliseconds; `null` when unavailable. |
310
322
  | `update` | Doctor's update summary: `{auto, off, last_check, latest, last_error, pending, updated, failed}`. `auto` is boolean; absent details are `null`. |
311
323
  | `jobs` | Number of entries waiting in the local jobs directory; zero when absent. |
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAyEA,MAAM,WAAW,EAAE;IACjB,0BAA0B;IAC1B,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1B,kDAAkD;IAClD,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzB,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9B;AAED,8FAA8F;AAC9F,wBAAsB,IAAI,CACxB,IAAI,EAAE,MAAM,EAAE,EACd,EAAE,GAAE,EAA2F,GAC9F,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,sFAAsF;AACtF,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAM5E"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAsFA,MAAM,WAAW,EAAE;IACjB,0BAA0B;IAC1B,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1B,kDAAkD;IAClD,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzB,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9B;AAED,8FAA8F;AAC9F,wBAAsB,IAAI,CACxB,IAAI,EAAE,MAAM,EAAE,EACd,EAAE,GAAE,EAA2F,GAC9F,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,sFAAsF;AACtF,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAM5E"}