@theokit/sdk 4.16.7 → 4.17.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.
@@ -0,0 +1,15 @@
1
+ /**
2
+ * M51 (agent-builder) — inject a SYNTHETIC user+assistant pair into a session's persisted transcript
3
+ * WITHOUT running an LLM turn. This is the Codex review-exit mechanism (`exit_success.xml` appended to
4
+ * the parent thread history so follow-ups like "fix finding 2" work): the pair chains onto the DAG
5
+ * leaf (M50 pattern) and the in-memory cache is invalidated so the NEXT send re-hydrates with it.
6
+ */
7
+ import type { SessionStore } from "../../types/session-store.js";
8
+ import type { CompactLocation } from "./compact-session.js";
9
+ export declare function injectSessionTurn(opts: {
10
+ store: SessionStore;
11
+ loc: CompactLocation;
12
+ sessionId: string;
13
+ userText: string;
14
+ assistantText: string;
15
+ }): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theokit/sdk",
3
- "version": "4.16.7",
3
+ "version": "4.17.0",
4
4
  "description": "TypeScript SDK for the Theo agent harness — same surface, local or cloud.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/usetheodev/theokit-sdk#readme",