opencode-swarm 7.35.0 → 7.37.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.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { ProposeMemoryInput } from '../memory/gateway';
2
+ import type { CuratorMemoryDecision, ProposeMemoryInput } from '../memory';
3
3
  export declare const AgentOutputMemorySchema: z.ZodObject<{
4
4
  memoryProposals: z.ZodOptional<z.ZodArray<z.ZodObject<{
5
5
  operation: z.ZodEnum<{
@@ -31,8 +31,16 @@ export declare const AgentOutputMemorySchema: z.ZodObject<{
31
31
  evidenceRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
32
  }, z.core.$strict>>>;
33
33
  }, z.core.$loose>;
34
+ export declare const CuratorOutputMemoryDecisionSchema: z.ZodObject<{
35
+ curatorMemoryDecisions: z.ZodOptional<z.ZodArray<z.ZodType<CuratorMemoryDecision, unknown, z.core.$ZodTypeInternals<CuratorMemoryDecision, unknown>>>>;
36
+ }, z.core.$loose>;
34
37
  export interface ExtractedAgentMemoryProposals {
35
38
  proposals: ProposeMemoryInput[];
36
39
  error?: string;
37
40
  }
41
+ export interface ExtractedCuratorMemoryDecisions {
42
+ decisions: CuratorMemoryDecision[];
43
+ error?: string;
44
+ }
38
45
  export declare function extractMemoryProposalsFromAgentOutput(outputText: string): ExtractedAgentMemoryProposals;
46
+ export declare function extractCuratorMemoryDecisionsFromAgentOutput(outputText: string): ExtractedCuratorMemoryDecisions;