@byok-sdk/cloud 0.25.0 → 0.26.0-rc.4

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.
@@ -17,6 +17,7 @@ export declare const RecurringExecutionInputSchema: z.ZodObject<{
17
17
  agentId: z.ZodString;
18
18
  profileRevision: z.ZodString;
19
19
  }, z.core.$strict>;
20
+ homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
20
21
  requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
22
  runtime: z.ZodNonOptional<z.ZodOptional<z.ZodEnum<{
22
23
  claude: "claude";
@@ -1,4 +1,4 @@
1
- import { type AgentRef, type BlobRef, type Envelope, type TerminalInferenceUsage, type TerminalPreparedObservation, type TaskFailPayload } from '@byok-sdk/protocol';
1
+ import { type AgentRef, type BlobRef, type Envelope, type TerminalInferenceUsage, type TerminalPreparedObservation, type TerminalAgentHomeProjection, type TerminalAgentHomeMemoryChange, type TaskFailPayload } from '@byok-sdk/protocol';
2
2
  import type { RequestReceipt } from './stores/ports';
3
3
  /** Canonical device evidence, independent of the Host cancellation projection. */
4
4
  export interface DeviceTerminal {
@@ -23,7 +23,26 @@ export interface TerminalResult {
23
23
  readonly state: 'complete' | 'failed' | 'cancelled';
24
24
  /** Exact Agent identity echoed by the winning terminal, when Agent-bound. */
25
25
  readonly agentRef?: AgentRef;
26
+ /**
27
+ * The task-free Agent-home projection applied when the Attempt started,
28
+ * verbatim from the winning terminal. Compare it with `agentRef` to see
29
+ * which persona revision the task ran with. Absent when not Agent-bound or
30
+ * when the home had no applied projection.
31
+ */
32
+ readonly agentHomeProjection?: TerminalAgentHomeProjection;
33
+ /**
34
+ * Memory-change evidence of a `memory-reader` Attempt, verbatim from the
35
+ * winning terminal: whether `MEMORY.md` or `notes/` changed while the reader
36
+ * ran, and which files. Absent for a writer Attempt, for a claimed failure
37
+ * before the Attempt became active, and for an older daemon.
38
+ */
39
+ readonly agentHomeMemoryChange?: TerminalAgentHomeMemoryChange;
26
40
  readonly summary?: string;
41
+ /**
42
+ * The runtime's closing reply, verbatim `task.complete.finalMessage`. Absent
43
+ * when the run ended with no closing text, or when an older daemon sent none.
44
+ */
45
+ readonly finalMessage?: string;
27
46
  readonly sessionRef?: string;
28
47
  readonly artifactRefs?: readonly BlobRef[];
29
48
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byok-sdk/cloud",
3
- "version": "0.25.0",
3
+ "version": "0.26.0-rc.4",
4
4
  "description": "BYOK SDK hosted device surface: stateless frozen-v1 HTTP handlers over tenant-first @byok-sdk/core ports",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -44,8 +44,8 @@
44
44
  "clean": "rm -rf dist"
45
45
  },
46
46
  "dependencies": {
47
- "@byok-sdk/core": "0.25.0",
48
- "@byok-sdk/protocol": "0.25.0",
47
+ "@byok-sdk/core": "0.26.0-rc.4",
48
+ "@byok-sdk/protocol": "0.26.0-rc.4",
49
49
  "hono": "^4.12.30",
50
50
  "zod": "^4.4.3"
51
51
  }