@resolveio/server-lib 22.3.152 → 22.3.154

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.
@@ -59,6 +59,19 @@ export interface ResolveIOAICoderV6WorkflowMemory {
59
59
  businessProofArtifacts: string[];
60
60
  updatedAt: string;
61
61
  }
62
+ export interface ResolveIOAICoderJourneyContractValidationIssue {
63
+ code: string;
64
+ path: string;
65
+ message: string;
66
+ severity: 'error' | 'warning';
67
+ }
68
+ export interface ResolveIOAICoderJourneyContractValidationResult {
69
+ valid: boolean;
70
+ contract: Record<string, any> | null;
71
+ issues: ResolveIOAICoderJourneyContractValidationIssue[];
72
+ workflowQaRows: ResolveIOAICoderV6WorkflowQaRow[];
73
+ primaryWorkflowId: string;
74
+ }
62
75
  export interface ResolveIOAICoderV6SupervisorState {
63
76
  version: 'v6';
64
77
  runKind: ResolveIOAICoderV6RunKind;
@@ -185,6 +198,16 @@ export interface ResolveIOAICoderV6ContinuationDecision {
185
198
  recoveryEvidenceProbe: ResolveIOAIManagerRecoveryEvidenceProbe;
186
199
  recoveryAction: ResolveIOAIManagerRecoveryActionPacket;
187
200
  }
201
+ export declare function extractResolveIOAICoderJourneyContractFromMarkdown(content: string | null | undefined): Record<string, any> | null;
202
+ export declare function buildResolveIOAICoderWorkflowQaRowsFromJourneyContract(input: any): ResolveIOAICoderV6WorkflowQaRow[];
203
+ export declare function validateResolveIOAICoderJourneyContract(input: any, options?: {
204
+ pathLabel?: string;
205
+ requireMarkdownEnvelope?: boolean;
206
+ }): ResolveIOAICoderJourneyContractValidationResult;
207
+ export declare function collectResolveIOAICoderJourneyContractIssues(input: any, options?: {
208
+ pathLabel?: string;
209
+ requireMarkdownEnvelope?: boolean;
210
+ }): string[];
188
211
  export declare function fingerprintResolveIOAICoderV6Blocker(value: any): string;
189
212
  export declare function buildResolveIOAICoderV6Budget(existing?: Partial<ResolveIOAICoderV6Budget>): ResolveIOAICoderV6Budget;
190
213
  export declare function initializeResolveIOAICoderV6State(input: ResolveIOAICoderV6InitializeInput): ResolveIOAICoderV6StateBundle;