@cotal-ai/pi 0.24.0 → 0.26.0

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
@@ -35,14 +35,18 @@ required by Pi's SDK if they expect proactive delivery into an idle session.
35
35
 
36
36
  ## Delivery
37
37
 
38
- Inbound traffic is injected as a `cotal-inbox` custom message. Its opaque batch details must appear
38
+ Inbound traffic is injected as a `cotal-inbox` custom message. Visible inbox and send-tool text is
39
+ wrapped by Pi's own ANSI/grapheme-aware TUI wrapper, so emoji, CJK, and styled content obey the exact
40
+ same terminal-column invariant Pi enforces at render time. Its opaque batch details must appear
39
41
  in Pi's `message_start` and in the exact provider `context`. A successful `after_provider_response`
40
42
  confirms the batch early when the transport exposes an HTTP response; transports such as the Codex
41
43
  subscription may omit that hook, so an exact context is confirmed instead by its following clean
42
44
  terminal boundary. Acknowledgement waits for that boundary and drains only the confirmed IDs,
43
45
  even when pull-only quiet traffic is interleaved ahead of them.
44
46
 
45
- - Crash or quit before a terminal boundary: acknowledge nothing; durable traffic redelivers.
47
+ - Crash or quit before a terminal boundary: acknowledge nothing; durable traffic redelivers. A
48
+ manager-owned Pi process crash reopens the exact Pi session in place (same Cotal lifecycle); a
49
+ bounded crash loop retires the seat rather than respawning forever.
46
50
  - Non-aborted `stop`, `toolUse`, and non-overflow `length` (positive output) are terminal and may
47
51
  commit confirmed work. Error, abort, zero/missing-output `length`, and unknown stop reasons retain
48
52
  the association in observable `waiting`; Pi exposes no retry-finality event, so retained work waits
@@ -1 +1 @@
1
- {"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../src/connector.ts"],"names":[],"mappings":"AAIA,OAAO,EAKL,KAAK,SAAS,EAGf,MAAM,gBAAgB,CAAC;AA+CxB,eAAO,MAAM,WAAW,EAAE,SAiEzB,CAAC"}
1
+ {"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../src/connector.ts"],"names":[],"mappings":"AAKA,OAAO,EAML,KAAK,SAAS,EAGf,MAAM,gBAAgB,CAAC;AAcxB,eAAO,MAAM,WAAW,EAAE,SAmFzB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
2
+ export declare function persistSessionId(sessionId: string, status?: "running" | "quit"): void;
2
3
  /** Load Cotal into the operator's Pi. With no mesh identity this extension is completely inert. */
3
4
  export default function cotalMesh(pi: ExtensionAPI): Promise<void>;
4
5
  //# sourceMappingURL=extension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,iCAAiC,CAAC;AA2GtF,mGAAmG;AACnG,wBAA8B,SAAS,CAAC,EAAE,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA2CvE"}
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,iCAAiC,CAAC;AA0DtF,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,GAAE,SAAS,GAAG,MAAkB,GAAG,IAAI,CAKhG;AA+CD,mGAAmG;AACnG,wBAA8B,SAAS,CAAC,EAAE,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA0EvE"}