@inf-monkeys-tech/monkeys 1.0.23 → 1.0.24

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.
@@ -7225,6 +7225,42 @@ var AgentSessionContextInheritanceSchema = z5.object({
7225
7225
  toolResults: z5.enum(["inherit", "exclude"]),
7226
7226
  codeChanges: z5.enum(["inherit", "exclude"])
7227
7227
  }).strict();
7228
+ var AgentSessionInheritedContextMessageSchema = z5.object({
7229
+ messageId: ContractIdentifierSchema,
7230
+ role: z5.enum(["user", "assistant"]),
7231
+ parts: z5.array(JsonValueSchema).min(1)
7232
+ }).strict();
7233
+ var AgentSessionUnavailableResourceSchema = z5.object({
7234
+ messageId: ContractIdentifierSchema,
7235
+ kind: z5.enum(["attachment", "tool-result", "code-change"]),
7236
+ reason: z5.enum(["excluded", "unavailable", "unsupported"])
7237
+ }).strict();
7238
+ var AgentSessionInheritedContextSchema = z5.object({
7239
+ sourceThreadId: ContractIdentifierSchema,
7240
+ sourceMessageId: ContractIdentifierSchema,
7241
+ sourceRunId: ContractIdentifierSchema,
7242
+ messages: z5.array(AgentSessionInheritedContextMessageSchema).max(24),
7243
+ summary: z5.string().trim().min(1).optional(),
7244
+ unavailableResources: z5.array(AgentSessionUnavailableResourceSchema).default([]),
7245
+ capturedAt: IsoDateTimeSchema
7246
+ }).strict();
7247
+ var AgentSessionContinuationRequestSchema = z5.object({
7248
+ contract: z5.literal("AgentSessionContinuationRequest"),
7249
+ idempotencyKey: ContractIdentifierSchema,
7250
+ sourceMessageId: ContractIdentifierSchema,
7251
+ sourceRunId: ContractIdentifierSchema,
7252
+ inheritance: AgentSessionContextInheritanceSchema
7253
+ }).strict();
7254
+ var AgentSessionContinuationResultSchema = z5.object({
7255
+ contract: z5.literal("AgentSessionContinuationResult"),
7256
+ idempotencyKey: ContractIdentifierSchema,
7257
+ threadId: ContractIdentifierSchema,
7258
+ lineage: AgentSessionLineageSchema,
7259
+ inheritance: AgentSessionContextInheritanceSchema,
7260
+ unavailableResources: z5.array(AgentSessionUnavailableResourceSchema).default([]),
7261
+ duplicate: z5.boolean(),
7262
+ createdAt: IsoDateTimeSchema
7263
+ }).strict();
7228
7264
  var AgentSessionActiveBranchSchema = z5.object({
7229
7265
  branchId: ContractIdentifierSchema,
7230
7266
  threadId: ContractIdentifierSchema,
@@ -11928,6 +11964,8 @@ var canonicalContractSchemas = {
11928
11964
  "agent-session-command": AgentSessionCommandSchema,
11929
11965
  "agent-session-targeted-command": AgentSessionTargetedCommandSchema,
11930
11966
  "agent-session-command-result": AgentSessionCommandResultSchema,
11967
+ "agent-session-continuation-request": AgentSessionContinuationRequestSchema,
11968
+ "agent-session-continuation-result": AgentSessionContinuationResultSchema,
11931
11969
  "agent-session-event": AgentSessionEventSchema,
11932
11970
  "agent-session-run-event": AgentSessionRunEventSchema,
11933
11971
  "agent-session-run": AgentSessionRunSchema,
@@ -12006,6 +12044,8 @@ export {
12006
12044
  AgentSessionCommandSchema,
12007
12045
  AgentSessionCommandTypeSchema,
12008
12046
  AgentSessionContextInheritanceSchema,
12047
+ AgentSessionContinuationRequestSchema,
12048
+ AgentSessionContinuationResultSchema,
12009
12049
  AgentSessionEventSchema,
12010
12050
  AgentSessionLineageSchema,
12011
12051
  AgentSessionRunEventSchema,