@tangle-network/agent-interface 3.1.1 → 3.1.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.
|
@@ -34,6 +34,12 @@ export interface AgentTurnInput {
|
|
|
34
34
|
contextTransfer?: ContextTransferRequest;
|
|
35
35
|
/** Verified same-session continuation; never carries duplicate history. */
|
|
36
36
|
nativeContinuation?: NativeContextContinuationRequest;
|
|
37
|
+
/** Resume an exact native Claude or Codex conversation inside a restored workspace. */
|
|
38
|
+
nativeResume?: {
|
|
39
|
+
harness: "claude-code" | "codex";
|
|
40
|
+
nativeSessionId: string;
|
|
41
|
+
sourceCheckpointId: string;
|
|
42
|
+
};
|
|
37
43
|
context?: Record<string, unknown>;
|
|
38
44
|
/** Interaction kinds the provider may originate for this turn. */
|
|
39
45
|
interactions?: RequestedInteractions;
|
|
@@ -468,6 +474,14 @@ export declare const AgentTurnInputSchema: z.ZodObject<{
|
|
|
468
474
|
observedAt: z.ZodISODateTime;
|
|
469
475
|
}, z.core.$strict>;
|
|
470
476
|
}, z.core.$strict>>;
|
|
477
|
+
nativeResume: z.ZodOptional<z.ZodObject<{
|
|
478
|
+
harness: z.ZodEnum<{
|
|
479
|
+
"claude-code": "claude-code";
|
|
480
|
+
codex: "codex";
|
|
481
|
+
}>;
|
|
482
|
+
nativeSessionId: z.ZodString;
|
|
483
|
+
sourceCheckpointId: z.ZodString;
|
|
484
|
+
}, z.core.$strict>>;
|
|
471
485
|
context: z.ZodOptional<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>>;
|
|
472
486
|
interactions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
473
487
|
signal: z.ZodOptional<z.ZodCustom<AbortSignal, AbortSignal>>;
|
|
@@ -29,6 +29,11 @@ export const AgentTurnInputSchema = z.strictObject({
|
|
|
29
29
|
controlRef: AgentRunControlRefSchema.optional(),
|
|
30
30
|
contextTransfer: ContextTransferRequestSchema.optional(),
|
|
31
31
|
nativeContinuation: NativeContextContinuationRequestSchema.optional(),
|
|
32
|
+
nativeResume: z.strictObject({
|
|
33
|
+
harness: z.enum(["claude-code", "codex"]),
|
|
34
|
+
nativeSessionId: boundedIdentifierSchema,
|
|
35
|
+
sourceCheckpointId: boundedIdentifierSchema,
|
|
36
|
+
}).optional(),
|
|
32
37
|
context: boundedJsonRecordSchema.optional(),
|
|
33
38
|
interactions: RequestedInteractionsSchema.optional(),
|
|
34
39
|
signal: z.custom().optional(),
|