novyx 2.10.0 → 2.12.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.
package/dist/index.d.mts CHANGED
@@ -30,6 +30,8 @@ interface NovyxConfig {
30
30
  apiUrl?: string;
31
31
  timeout?: number;
32
32
  agentId?: string;
33
+ controlUrl?: string;
34
+ controlApiKey?: string;
33
35
  }
34
36
  interface Edge {
35
37
  edge_id: string;
@@ -217,6 +219,150 @@ interface CortexInsightsResult {
217
219
  insights: CortexInsight[];
218
220
  total: number;
219
221
  }
222
+ interface EvalScoreBreakdown {
223
+ recall_consistency: number;
224
+ drift_score: number;
225
+ conflict_score: number;
226
+ staleness_score: number;
227
+ }
228
+ interface EvalRunResult {
229
+ eval_id: string;
230
+ health_score: number;
231
+ passed?: boolean;
232
+ breakdown: EvalScoreBreakdown;
233
+ total_memories: number;
234
+ created_at: string;
235
+ }
236
+ interface EvalHistoryResult {
237
+ entries: EvalRunResult[];
238
+ total_count: number;
239
+ has_more: boolean;
240
+ }
241
+ interface EvalBaseline {
242
+ baseline_id: string;
243
+ query: string;
244
+ expected_observation: string;
245
+ created_at: string;
246
+ }
247
+ interface EvalBaselineListResult {
248
+ baselines: EvalBaseline[];
249
+ total_count: number;
250
+ }
251
+ interface MemoryDraft {
252
+ draft_id: string;
253
+ observation: string;
254
+ context?: string;
255
+ tags: string[];
256
+ importance: number;
257
+ status: string;
258
+ created_at: string;
259
+ parent_id?: string;
260
+ branch_name?: string;
261
+ }
262
+ interface DraftDiffResult {
263
+ draft_id: string;
264
+ changes: Record<string, any>;
265
+ }
266
+ interface ContextSpace {
267
+ space_id: string;
268
+ name: string;
269
+ description?: string;
270
+ owner_tenant_id: string;
271
+ allowed_agent_ids: string[];
272
+ allowed_tenant_ids: string[];
273
+ tags: string[];
274
+ created_at: string;
275
+ }
276
+ interface Approval {
277
+ approval_id: string;
278
+ action: string;
279
+ connector?: string;
280
+ agent_id?: string;
281
+ status: string;
282
+ submitted_at?: string;
283
+ risk_score?: number;
284
+ }
285
+ interface ApprovalListResult {
286
+ approvals: Approval[];
287
+ total: number;
288
+ }
289
+ interface PolicyInfo {
290
+ name: string;
291
+ enabled: boolean;
292
+ description: string;
293
+ }
294
+ interface PoliciesResult {
295
+ policies: PolicyInfo[];
296
+ mode: string;
297
+ connectors: string[];
298
+ approval_modes: string[];
299
+ }
300
+ interface StreamStatusResult {
301
+ connections: number;
302
+ event_bus: Record<string, any>;
303
+ }
304
+ interface Agent {
305
+ agent_id: string;
306
+ name: string;
307
+ model: string;
308
+ provider: string;
309
+ description?: string;
310
+ instructions?: string;
311
+ memory_scope?: string;
312
+ capabilities: string[];
313
+ policy_profile?: Record<string, any>;
314
+ config?: Record<string, any>;
315
+ status: string;
316
+ created_at: string;
317
+ updated_at?: string;
318
+ }
319
+ interface Mission {
320
+ mission_id: string;
321
+ agent_id: string;
322
+ goal: string;
323
+ constraints?: string[];
324
+ success_criteria?: string[];
325
+ allowed_capabilities?: string[];
326
+ escalation_rules?: Record<string, any>[];
327
+ stop_conditions?: string[];
328
+ config?: Record<string, any>;
329
+ status: string;
330
+ created_at: string;
331
+ updated_at?: string;
332
+ }
333
+ interface Capability {
334
+ capability_id: string;
335
+ name: string;
336
+ description?: string;
337
+ tools?: Record<string, any>[];
338
+ risk_levels?: Record<string, any>;
339
+ approval_requirements?: Record<string, any>;
340
+ memory_behavior?: Record<string, any>;
341
+ eval_rules?: Record<string, any>;
342
+ config?: Record<string, any>;
343
+ status: string;
344
+ created_at: string;
345
+ updated_at?: string;
346
+ }
347
+ interface Checkpoint {
348
+ checkpoint_id: string;
349
+ mission_id: string;
350
+ label?: string;
351
+ metadata?: Record<string, any>;
352
+ mission_status?: string;
353
+ created_at: string;
354
+ }
355
+ interface Intervention {
356
+ intervention_id: string;
357
+ intervention_type: string;
358
+ mission_id?: string;
359
+ action_id?: string;
360
+ agent_id?: string;
361
+ rationale?: string;
362
+ metadata?: Record<string, any>;
363
+ actor?: string;
364
+ created_at: string;
365
+ }
220
366
 
221
367
  declare class NovyxSession {
222
368
  private client;
@@ -266,6 +412,8 @@ declare class Novyx {
266
412
  private apiUrl;
267
413
  private timeout;
268
414
  private agentId?;
415
+ private controlUrl?;
416
+ private controlApiKey?;
269
417
  constructor(config: NovyxConfig);
270
418
  private _validateKey;
271
419
  private _request;
@@ -407,6 +555,178 @@ declare class Novyx {
407
555
  limit?: number;
408
556
  offset?: number;
409
557
  }): Promise<CortexInsightsResult>;
558
+ draftMemory(observation: string, opts?: {
559
+ tags?: string[];
560
+ context?: string;
561
+ importance?: number;
562
+ confidence?: number;
563
+ agent_id?: string;
564
+ space_id?: string;
565
+ branch_name?: string;
566
+ }): Promise<MemoryDraft>;
567
+ memoryDrafts(opts?: {
568
+ status?: string;
569
+ branch_name?: string;
570
+ limit?: number;
571
+ offset?: number;
572
+ }): Promise<{
573
+ drafts: MemoryDraft[];
574
+ total: number;
575
+ }>;
576
+ memoryDraft(draftId: string): Promise<MemoryDraft>;
577
+ draftDiff(draftId: string): Promise<DraftDiffResult>;
578
+ mergeDraft(draftId: string): Promise<Record<string, any>>;
579
+ rejectDraft(draftId: string, reason?: string): Promise<Record<string, any>>;
580
+ memoryBranches(): Promise<{
581
+ branches: string[];
582
+ }>;
583
+ mergeBranch(branchName: string): Promise<Record<string, any>>;
584
+ rejectBranch(branchName: string, reason?: string): Promise<Record<string, any>>;
585
+ createSpace(name: string, opts?: {
586
+ description?: string;
587
+ allowed_agent_ids?: string[];
588
+ allowed_tenant_ids?: string[];
589
+ tags?: string[];
590
+ }): Promise<ContextSpace>;
591
+ listSpaces(opts?: {
592
+ limit?: number;
593
+ offset?: number;
594
+ }): Promise<{
595
+ spaces: ContextSpace[];
596
+ total: number;
597
+ }>;
598
+ getSpace(spaceId: string): Promise<ContextSpace>;
599
+ updateSpace(spaceId: string, updates: Record<string, any>): Promise<ContextSpace>;
600
+ deleteSpace(spaceId: string): Promise<Record<string, any>>;
601
+ spaceMemories(spaceId: string, opts?: {
602
+ limit?: number;
603
+ offset?: number;
604
+ }): Promise<Memory[]>;
605
+ evalRun(opts?: {
606
+ min_score?: number;
607
+ }): Promise<EvalRunResult>;
608
+ evalGate(minScore: number): Promise<EvalRunResult>;
609
+ evalHistory(opts?: {
610
+ limit?: number;
611
+ offset?: number;
612
+ }): Promise<EvalHistoryResult>;
613
+ evalDrift(days?: number): Promise<Record<string, any>>;
614
+ evalBaselineCreate(query: string, expectedObservation: string): Promise<EvalBaseline>;
615
+ evalBaselines(): Promise<EvalBaselineListResult>;
616
+ evalBaselineDelete(baselineId: string): Promise<Record<string, any>>;
617
+ listApprovals(opts?: {
618
+ limit?: number;
619
+ status_filter?: string;
620
+ }): Promise<ApprovalListResult>;
621
+ approveAction(approvalId: string, opts?: {
622
+ decision?: string;
623
+ reason?: string;
624
+ approver_id?: string;
625
+ }): Promise<Record<string, any>>;
626
+ listPolicies(): Promise<PoliciesResult>;
627
+ explainAction(actionId: string): Promise<Record<string, any>>;
628
+ streamStatus(): Promise<StreamStatusResult>;
629
+ memoryHealth(): Promise<Record<string, any>>;
630
+ private _controlRequest;
631
+ /** Submit an action to Novyx Control for governed execution. */
632
+ actionSubmit(connector: string, operation: string, payload: Record<string, any>): Promise<any>;
633
+ /** Get the status of a Control action. */
634
+ actionStatus(actionId: string): Promise<any>;
635
+ /** List recent Control actions. */
636
+ actionList(opts?: {
637
+ status?: string;
638
+ }): Promise<any>;
639
+ /** Check the current Control policy profile. */
640
+ policyCheck(): Promise<any>;
641
+ createAgent(params: {
642
+ name: string;
643
+ agent_id?: string;
644
+ description?: string;
645
+ model?: string;
646
+ provider?: string;
647
+ instructions?: string;
648
+ capabilities?: string[];
649
+ memory_scope?: string;
650
+ policy_profile?: Record<string, any>;
651
+ config?: Record<string, any>;
652
+ }): Promise<Agent>;
653
+ getAgent(agentId: string): Promise<Agent>;
654
+ listAgents(opts?: {
655
+ status?: string;
656
+ limit?: number;
657
+ offset?: number;
658
+ }): Promise<Record<string, any>>;
659
+ updateAgent(agentId: string, updates: Record<string, any>): Promise<Agent>;
660
+ deleteAgent(agentId: string): Promise<Record<string, any>>;
661
+ createMission(params: {
662
+ agent_id: string;
663
+ goal: string;
664
+ constraints?: string[];
665
+ success_criteria?: string[];
666
+ allowed_capabilities?: string[];
667
+ escalation_rules?: Record<string, any>[];
668
+ stop_conditions?: string[];
669
+ config?: Record<string, any>;
670
+ }): Promise<Mission>;
671
+ getMission(missionId: string): Promise<Mission>;
672
+ listMissions(opts?: {
673
+ agent_id?: string;
674
+ status?: string;
675
+ limit?: number;
676
+ offset?: number;
677
+ }): Promise<Record<string, any>>;
678
+ updateMission(missionId: string, updates: Record<string, any>): Promise<Mission>;
679
+ deleteMission(missionId: string): Promise<Record<string, any>>;
680
+ pauseMission(missionId: string): Promise<Mission>;
681
+ resumeMission(missionId: string): Promise<Mission>;
682
+ cancelMission(missionId: string): Promise<Mission>;
683
+ createCapability(params: {
684
+ name: string;
685
+ capability_id?: string;
686
+ description?: string;
687
+ tools?: Record<string, any>[];
688
+ risk_levels?: Record<string, any>;
689
+ approval_requirements?: Record<string, any>;
690
+ memory_behavior?: Record<string, any>;
691
+ eval_rules?: Record<string, any>;
692
+ config?: Record<string, any>;
693
+ }): Promise<Capability>;
694
+ getCapability(capabilityId: string): Promise<Capability>;
695
+ listCapabilities(opts?: {
696
+ status?: string;
697
+ limit?: number;
698
+ offset?: number;
699
+ }): Promise<Record<string, any>>;
700
+ updateCapability(capabilityId: string, updates: Record<string, any>): Promise<Capability>;
701
+ deleteCapability(capabilityId: string): Promise<Record<string, any>>;
702
+ createCheckpoint(missionId: string, opts?: {
703
+ label?: string;
704
+ metadata?: Record<string, any>;
705
+ }): Promise<Checkpoint>;
706
+ getCheckpoint(checkpointId: string): Promise<Checkpoint>;
707
+ listCheckpoints(missionId: string, opts?: {
708
+ limit?: number;
709
+ offset?: number;
710
+ }): Promise<Record<string, any>>;
711
+ rollbackToCheckpoint(missionId: string, checkpointId: string, opts?: {
712
+ reason?: string;
713
+ }): Promise<Record<string, any>>;
714
+ createIntervention(params: {
715
+ intervention_type: string;
716
+ mission_id?: string;
717
+ action_id?: string;
718
+ agent_id?: string;
719
+ rationale?: string;
720
+ metadata?: Record<string, any>;
721
+ }): Promise<Intervention>;
722
+ getIntervention(interventionId: string): Promise<Intervention>;
723
+ listInterventions(opts?: {
724
+ mission_id?: string;
725
+ agent_id?: string;
726
+ intervention_type?: string;
727
+ limit?: number;
728
+ offset?: number;
729
+ }): Promise<Record<string, any>>;
410
730
  }
411
731
 
412
732
  declare class NovyxError extends Error {
package/dist/index.d.ts CHANGED
@@ -30,6 +30,8 @@ interface NovyxConfig {
30
30
  apiUrl?: string;
31
31
  timeout?: number;
32
32
  agentId?: string;
33
+ controlUrl?: string;
34
+ controlApiKey?: string;
33
35
  }
34
36
  interface Edge {
35
37
  edge_id: string;
@@ -217,6 +219,150 @@ interface CortexInsightsResult {
217
219
  insights: CortexInsight[];
218
220
  total: number;
219
221
  }
222
+ interface EvalScoreBreakdown {
223
+ recall_consistency: number;
224
+ drift_score: number;
225
+ conflict_score: number;
226
+ staleness_score: number;
227
+ }
228
+ interface EvalRunResult {
229
+ eval_id: string;
230
+ health_score: number;
231
+ passed?: boolean;
232
+ breakdown: EvalScoreBreakdown;
233
+ total_memories: number;
234
+ created_at: string;
235
+ }
236
+ interface EvalHistoryResult {
237
+ entries: EvalRunResult[];
238
+ total_count: number;
239
+ has_more: boolean;
240
+ }
241
+ interface EvalBaseline {
242
+ baseline_id: string;
243
+ query: string;
244
+ expected_observation: string;
245
+ created_at: string;
246
+ }
247
+ interface EvalBaselineListResult {
248
+ baselines: EvalBaseline[];
249
+ total_count: number;
250
+ }
251
+ interface MemoryDraft {
252
+ draft_id: string;
253
+ observation: string;
254
+ context?: string;
255
+ tags: string[];
256
+ importance: number;
257
+ status: string;
258
+ created_at: string;
259
+ parent_id?: string;
260
+ branch_name?: string;
261
+ }
262
+ interface DraftDiffResult {
263
+ draft_id: string;
264
+ changes: Record<string, any>;
265
+ }
266
+ interface ContextSpace {
267
+ space_id: string;
268
+ name: string;
269
+ description?: string;
270
+ owner_tenant_id: string;
271
+ allowed_agent_ids: string[];
272
+ allowed_tenant_ids: string[];
273
+ tags: string[];
274
+ created_at: string;
275
+ }
276
+ interface Approval {
277
+ approval_id: string;
278
+ action: string;
279
+ connector?: string;
280
+ agent_id?: string;
281
+ status: string;
282
+ submitted_at?: string;
283
+ risk_score?: number;
284
+ }
285
+ interface ApprovalListResult {
286
+ approvals: Approval[];
287
+ total: number;
288
+ }
289
+ interface PolicyInfo {
290
+ name: string;
291
+ enabled: boolean;
292
+ description: string;
293
+ }
294
+ interface PoliciesResult {
295
+ policies: PolicyInfo[];
296
+ mode: string;
297
+ connectors: string[];
298
+ approval_modes: string[];
299
+ }
300
+ interface StreamStatusResult {
301
+ connections: number;
302
+ event_bus: Record<string, any>;
303
+ }
304
+ interface Agent {
305
+ agent_id: string;
306
+ name: string;
307
+ model: string;
308
+ provider: string;
309
+ description?: string;
310
+ instructions?: string;
311
+ memory_scope?: string;
312
+ capabilities: string[];
313
+ policy_profile?: Record<string, any>;
314
+ config?: Record<string, any>;
315
+ status: string;
316
+ created_at: string;
317
+ updated_at?: string;
318
+ }
319
+ interface Mission {
320
+ mission_id: string;
321
+ agent_id: string;
322
+ goal: string;
323
+ constraints?: string[];
324
+ success_criteria?: string[];
325
+ allowed_capabilities?: string[];
326
+ escalation_rules?: Record<string, any>[];
327
+ stop_conditions?: string[];
328
+ config?: Record<string, any>;
329
+ status: string;
330
+ created_at: string;
331
+ updated_at?: string;
332
+ }
333
+ interface Capability {
334
+ capability_id: string;
335
+ name: string;
336
+ description?: string;
337
+ tools?: Record<string, any>[];
338
+ risk_levels?: Record<string, any>;
339
+ approval_requirements?: Record<string, any>;
340
+ memory_behavior?: Record<string, any>;
341
+ eval_rules?: Record<string, any>;
342
+ config?: Record<string, any>;
343
+ status: string;
344
+ created_at: string;
345
+ updated_at?: string;
346
+ }
347
+ interface Checkpoint {
348
+ checkpoint_id: string;
349
+ mission_id: string;
350
+ label?: string;
351
+ metadata?: Record<string, any>;
352
+ mission_status?: string;
353
+ created_at: string;
354
+ }
355
+ interface Intervention {
356
+ intervention_id: string;
357
+ intervention_type: string;
358
+ mission_id?: string;
359
+ action_id?: string;
360
+ agent_id?: string;
361
+ rationale?: string;
362
+ metadata?: Record<string, any>;
363
+ actor?: string;
364
+ created_at: string;
365
+ }
220
366
 
221
367
  declare class NovyxSession {
222
368
  private client;
@@ -266,6 +412,8 @@ declare class Novyx {
266
412
  private apiUrl;
267
413
  private timeout;
268
414
  private agentId?;
415
+ private controlUrl?;
416
+ private controlApiKey?;
269
417
  constructor(config: NovyxConfig);
270
418
  private _validateKey;
271
419
  private _request;
@@ -407,6 +555,178 @@ declare class Novyx {
407
555
  limit?: number;
408
556
  offset?: number;
409
557
  }): Promise<CortexInsightsResult>;
558
+ draftMemory(observation: string, opts?: {
559
+ tags?: string[];
560
+ context?: string;
561
+ importance?: number;
562
+ confidence?: number;
563
+ agent_id?: string;
564
+ space_id?: string;
565
+ branch_name?: string;
566
+ }): Promise<MemoryDraft>;
567
+ memoryDrafts(opts?: {
568
+ status?: string;
569
+ branch_name?: string;
570
+ limit?: number;
571
+ offset?: number;
572
+ }): Promise<{
573
+ drafts: MemoryDraft[];
574
+ total: number;
575
+ }>;
576
+ memoryDraft(draftId: string): Promise<MemoryDraft>;
577
+ draftDiff(draftId: string): Promise<DraftDiffResult>;
578
+ mergeDraft(draftId: string): Promise<Record<string, any>>;
579
+ rejectDraft(draftId: string, reason?: string): Promise<Record<string, any>>;
580
+ memoryBranches(): Promise<{
581
+ branches: string[];
582
+ }>;
583
+ mergeBranch(branchName: string): Promise<Record<string, any>>;
584
+ rejectBranch(branchName: string, reason?: string): Promise<Record<string, any>>;
585
+ createSpace(name: string, opts?: {
586
+ description?: string;
587
+ allowed_agent_ids?: string[];
588
+ allowed_tenant_ids?: string[];
589
+ tags?: string[];
590
+ }): Promise<ContextSpace>;
591
+ listSpaces(opts?: {
592
+ limit?: number;
593
+ offset?: number;
594
+ }): Promise<{
595
+ spaces: ContextSpace[];
596
+ total: number;
597
+ }>;
598
+ getSpace(spaceId: string): Promise<ContextSpace>;
599
+ updateSpace(spaceId: string, updates: Record<string, any>): Promise<ContextSpace>;
600
+ deleteSpace(spaceId: string): Promise<Record<string, any>>;
601
+ spaceMemories(spaceId: string, opts?: {
602
+ limit?: number;
603
+ offset?: number;
604
+ }): Promise<Memory[]>;
605
+ evalRun(opts?: {
606
+ min_score?: number;
607
+ }): Promise<EvalRunResult>;
608
+ evalGate(minScore: number): Promise<EvalRunResult>;
609
+ evalHistory(opts?: {
610
+ limit?: number;
611
+ offset?: number;
612
+ }): Promise<EvalHistoryResult>;
613
+ evalDrift(days?: number): Promise<Record<string, any>>;
614
+ evalBaselineCreate(query: string, expectedObservation: string): Promise<EvalBaseline>;
615
+ evalBaselines(): Promise<EvalBaselineListResult>;
616
+ evalBaselineDelete(baselineId: string): Promise<Record<string, any>>;
617
+ listApprovals(opts?: {
618
+ limit?: number;
619
+ status_filter?: string;
620
+ }): Promise<ApprovalListResult>;
621
+ approveAction(approvalId: string, opts?: {
622
+ decision?: string;
623
+ reason?: string;
624
+ approver_id?: string;
625
+ }): Promise<Record<string, any>>;
626
+ listPolicies(): Promise<PoliciesResult>;
627
+ explainAction(actionId: string): Promise<Record<string, any>>;
628
+ streamStatus(): Promise<StreamStatusResult>;
629
+ memoryHealth(): Promise<Record<string, any>>;
630
+ private _controlRequest;
631
+ /** Submit an action to Novyx Control for governed execution. */
632
+ actionSubmit(connector: string, operation: string, payload: Record<string, any>): Promise<any>;
633
+ /** Get the status of a Control action. */
634
+ actionStatus(actionId: string): Promise<any>;
635
+ /** List recent Control actions. */
636
+ actionList(opts?: {
637
+ status?: string;
638
+ }): Promise<any>;
639
+ /** Check the current Control policy profile. */
640
+ policyCheck(): Promise<any>;
641
+ createAgent(params: {
642
+ name: string;
643
+ agent_id?: string;
644
+ description?: string;
645
+ model?: string;
646
+ provider?: string;
647
+ instructions?: string;
648
+ capabilities?: string[];
649
+ memory_scope?: string;
650
+ policy_profile?: Record<string, any>;
651
+ config?: Record<string, any>;
652
+ }): Promise<Agent>;
653
+ getAgent(agentId: string): Promise<Agent>;
654
+ listAgents(opts?: {
655
+ status?: string;
656
+ limit?: number;
657
+ offset?: number;
658
+ }): Promise<Record<string, any>>;
659
+ updateAgent(agentId: string, updates: Record<string, any>): Promise<Agent>;
660
+ deleteAgent(agentId: string): Promise<Record<string, any>>;
661
+ createMission(params: {
662
+ agent_id: string;
663
+ goal: string;
664
+ constraints?: string[];
665
+ success_criteria?: string[];
666
+ allowed_capabilities?: string[];
667
+ escalation_rules?: Record<string, any>[];
668
+ stop_conditions?: string[];
669
+ config?: Record<string, any>;
670
+ }): Promise<Mission>;
671
+ getMission(missionId: string): Promise<Mission>;
672
+ listMissions(opts?: {
673
+ agent_id?: string;
674
+ status?: string;
675
+ limit?: number;
676
+ offset?: number;
677
+ }): Promise<Record<string, any>>;
678
+ updateMission(missionId: string, updates: Record<string, any>): Promise<Mission>;
679
+ deleteMission(missionId: string): Promise<Record<string, any>>;
680
+ pauseMission(missionId: string): Promise<Mission>;
681
+ resumeMission(missionId: string): Promise<Mission>;
682
+ cancelMission(missionId: string): Promise<Mission>;
683
+ createCapability(params: {
684
+ name: string;
685
+ capability_id?: string;
686
+ description?: string;
687
+ tools?: Record<string, any>[];
688
+ risk_levels?: Record<string, any>;
689
+ approval_requirements?: Record<string, any>;
690
+ memory_behavior?: Record<string, any>;
691
+ eval_rules?: Record<string, any>;
692
+ config?: Record<string, any>;
693
+ }): Promise<Capability>;
694
+ getCapability(capabilityId: string): Promise<Capability>;
695
+ listCapabilities(opts?: {
696
+ status?: string;
697
+ limit?: number;
698
+ offset?: number;
699
+ }): Promise<Record<string, any>>;
700
+ updateCapability(capabilityId: string, updates: Record<string, any>): Promise<Capability>;
701
+ deleteCapability(capabilityId: string): Promise<Record<string, any>>;
702
+ createCheckpoint(missionId: string, opts?: {
703
+ label?: string;
704
+ metadata?: Record<string, any>;
705
+ }): Promise<Checkpoint>;
706
+ getCheckpoint(checkpointId: string): Promise<Checkpoint>;
707
+ listCheckpoints(missionId: string, opts?: {
708
+ limit?: number;
709
+ offset?: number;
710
+ }): Promise<Record<string, any>>;
711
+ rollbackToCheckpoint(missionId: string, checkpointId: string, opts?: {
712
+ reason?: string;
713
+ }): Promise<Record<string, any>>;
714
+ createIntervention(params: {
715
+ intervention_type: string;
716
+ mission_id?: string;
717
+ action_id?: string;
718
+ agent_id?: string;
719
+ rationale?: string;
720
+ metadata?: Record<string, any>;
721
+ }): Promise<Intervention>;
722
+ getIntervention(interventionId: string): Promise<Intervention>;
723
+ listInterventions(opts?: {
724
+ mission_id?: string;
725
+ agent_id?: string;
726
+ intervention_type?: string;
727
+ limit?: number;
728
+ offset?: number;
729
+ }): Promise<Record<string, any>>;
410
730
  }
411
731
 
412
732
  declare class NovyxError extends Error {