@wowok/agent-mcp 2.3.12 → 2.3.14
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/harness/checkpoint.d.ts +8 -0
- package/dist/harness/checkpoint.js +129 -0
- package/dist/harness/index.d.ts +33 -0
- package/dist/harness/index.js +75 -0
- package/dist/harness/plan.d.ts +18 -0
- package/dist/harness/plan.js +252 -0
- package/dist/harness/recover.d.ts +17 -0
- package/dist/harness/recover.js +139 -0
- package/dist/harness/types.d.ts +137 -0
- package/dist/harness/types.js +1 -0
- package/dist/harness/verify.d.ts +42 -0
- package/dist/harness/verify.js +237 -0
- package/dist/index.js +134 -52
- package/dist/loop-engineering/aggregate.d.ts +50 -0
- package/dist/loop-engineering/aggregate.js +132 -0
- package/dist/loop-engineering/diagnose.d.ts +21 -0
- package/dist/loop-engineering/diagnose.js +179 -0
- package/dist/loop-engineering/improve.d.ts +26 -0
- package/dist/loop-engineering/improve.js +178 -0
- package/dist/loop-engineering/index.d.ts +4 -0
- package/dist/loop-engineering/index.js +4 -0
- package/dist/loop-engineering/pipeline.d.ts +17 -0
- package/dist/loop-engineering/pipeline.js +56 -0
- package/dist/mode-market/index.d.ts +3 -0
- package/dist/mode-market/index.js +3 -0
- package/dist/mode-market/registry.d.ts +53 -0
- package/dist/mode-market/registry.js +124 -0
- package/dist/mode-market/review.d.ts +27 -0
- package/dist/mode-market/review.js +214 -0
- package/dist/mode-market/submission.d.ts +25 -0
- package/dist/mode-market/submission.js +85 -0
- package/dist/schema/call/allocation.d.ts +40 -40
- package/dist/schema/call/arbitration.d.ts +90 -90
- package/dist/schema/call/base.d.ts +1054 -0
- package/dist/schema/call/base.js +100 -22
- package/dist/schema/call/bridge-handler.js +36 -18
- package/dist/schema/call/bridge.d.ts +115 -115
- package/dist/schema/call/handler.d.ts +2 -1
- package/dist/schema/call/handler.js +94 -3
- package/dist/schema/call/index.d.ts +1 -0
- package/dist/schema/call/index.js +1 -0
- package/dist/schema/call/machine.d.ts +144 -144
- package/dist/schema/call/order.d.ts +12 -12
- package/dist/schema/call/progress.d.ts +6 -6
- package/dist/schema/call/proof.js +7 -6
- package/dist/schema/call/reward.d.ts +6 -6
- package/dist/schema/call/semantic.d.ts +23 -0
- package/dist/schema/call/semantic.js +764 -0
- package/dist/schema/call/service.d.ts +142 -142
- package/dist/schema/call/treasury.d.ts +204 -204
- package/dist/schema/local/index.d.ts +113 -2
- package/dist/schema/local/index.js +11 -1
- package/dist/schema/messenger/index.d.ts +435 -95
- package/dist/schema/messenger/index.js +20 -8
- package/dist/schema/operations.d.ts +988 -495
- package/dist/schema/operations.js +14 -3
- package/dist/schema/query/index.d.ts +346 -342
- package/dist/schema/query/index.js +4 -1
- package/dist/schemas/account_operation.output.json +3 -0
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/local_info_operation.output.json +3 -0
- package/dist/schemas/local_mark_operation.output.json +3 -0
- package/dist/schemas/messenger_operation.output.json +21 -0
- package/dist/schemas/messenger_operation.schema.json +43 -8
- package/dist/schemas/onchain_events.output.json +3 -0
- package/dist/schemas/onchain_operations.output.json +464 -21
- package/dist/schemas/onchain_operations.schema.json +21 -17
- package/dist/schemas/onchain_operations_allocation.schema.json +11 -9
- package/dist/schemas/onchain_operations_arbitration.schema.json +11 -9
- package/dist/schemas/onchain_operations_contact.schema.json +11 -9
- package/dist/schemas/onchain_operations_demand.schema.json +11 -9
- package/dist/schemas/onchain_operations_gen_passport.schema.json +21 -17
- package/dist/schemas/onchain_operations_guard.schema.json +11 -9
- package/dist/schemas/onchain_operations_machine.schema.json +11 -9
- package/dist/schemas/onchain_operations_order.schema.json +11 -9
- package/dist/schemas/onchain_operations_payment.schema.json +11 -9
- package/dist/schemas/onchain_operations_permission.schema.json +11 -9
- package/dist/schemas/onchain_operations_personal.schema.json +11 -9
- package/dist/schemas/onchain_operations_progress.schema.json +11 -9
- package/dist/schemas/onchain_operations_repository.schema.json +11 -9
- package/dist/schemas/onchain_operations_reward.schema.json +11 -9
- package/dist/schemas/onchain_operations_service.schema.json +11 -9
- package/dist/schemas/onchain_operations_treasury.schema.json +11 -9
- package/dist/schemas/onchain_table_data.output.json +3 -0
- package/dist/schemas/query_toolkit.schema.json +5 -1
- package/dist/telemetry/index.d.ts +19 -0
- package/dist/telemetry/index.js +112 -0
- package/dist/telemetry/redact.d.ts +2 -0
- package/dist/telemetry/redact.js +23 -0
- package/dist/telemetry/storage.d.ts +8 -0
- package/dist/telemetry/storage.js +80 -0
- package/package.json +6 -3
|
@@ -461,15 +461,341 @@ export declare const ResponseDataSchema: z.ZodObject<{
|
|
|
461
461
|
} & {
|
|
462
462
|
change: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"mutated">, z.ZodString]>;
|
|
463
463
|
}, z.ZodTypeAny, "passthrough">>;
|
|
464
|
+
export declare const ObjectRoleSchema: z.ZodObject<{
|
|
465
|
+
id: z.ZodString;
|
|
466
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
467
|
+
role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
|
|
468
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
469
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
470
|
+
relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
|
|
471
|
+
}, "strip", z.ZodTypeAny, {
|
|
472
|
+
parent?: string | null | undefined;
|
|
473
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
474
|
+
}, {
|
|
475
|
+
parent?: string | null | undefined;
|
|
476
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
477
|
+
}>>;
|
|
478
|
+
immutable: z.ZodOptional<z.ZodBoolean>;
|
|
479
|
+
}, "strict", z.ZodTypeAny, {
|
|
480
|
+
id: string;
|
|
481
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
482
|
+
name?: string | null | undefined;
|
|
483
|
+
relation?: {
|
|
484
|
+
parent?: string | null | undefined;
|
|
485
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
486
|
+
} | undefined;
|
|
487
|
+
immutable?: boolean | undefined;
|
|
488
|
+
}, {
|
|
489
|
+
id: string;
|
|
490
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
491
|
+
name?: string | null | undefined;
|
|
492
|
+
relation?: {
|
|
493
|
+
parent?: string | null | undefined;
|
|
494
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
495
|
+
} | undefined;
|
|
496
|
+
immutable?: boolean | undefined;
|
|
497
|
+
}>;
|
|
498
|
+
export declare const FundRoleSchema: z.ZodObject<{
|
|
499
|
+
amount: z.ZodString;
|
|
500
|
+
coinType: z.ZodString;
|
|
501
|
+
role: z.ZodEnum<["payment", "refund", "change", "compensation", "reward", "gas", "deposit", "release", "other"]>;
|
|
502
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
503
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
504
|
+
}, "strict", z.ZodTypeAny, {
|
|
505
|
+
coinType: string;
|
|
506
|
+
amount: string;
|
|
507
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
508
|
+
from?: string | null | undefined;
|
|
509
|
+
to?: string | null | undefined;
|
|
510
|
+
}, {
|
|
511
|
+
coinType: string;
|
|
512
|
+
amount: string;
|
|
513
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
514
|
+
from?: string | null | undefined;
|
|
515
|
+
to?: string | null | undefined;
|
|
516
|
+
}>;
|
|
517
|
+
export declare const NextActionSchema: z.ZodObject<{
|
|
518
|
+
action: z.ZodString;
|
|
519
|
+
reason: z.ZodString;
|
|
520
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
521
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
522
|
+
priority: z.ZodEnum<["required", "recommended", "optional"]>;
|
|
523
|
+
}, "strict", z.ZodTypeAny, {
|
|
524
|
+
action: string;
|
|
525
|
+
reason: string;
|
|
526
|
+
priority: "required" | "recommended" | "optional";
|
|
527
|
+
tool?: string | undefined;
|
|
528
|
+
prerequisite?: string | undefined;
|
|
529
|
+
}, {
|
|
530
|
+
action: string;
|
|
531
|
+
reason: string;
|
|
532
|
+
priority: "required" | "recommended" | "optional";
|
|
533
|
+
tool?: string | undefined;
|
|
534
|
+
prerequisite?: string | undefined;
|
|
535
|
+
}>;
|
|
536
|
+
export declare const EventSemanticSchema: z.ZodObject<{
|
|
537
|
+
event_type: z.ZodString;
|
|
538
|
+
business_meaning: z.ZodString;
|
|
539
|
+
category: z.ZodEnum<["lifecycle", "state_change", "fund_flow", "permission", "guard", "other"]>;
|
|
540
|
+
related_object: z.ZodOptional<z.ZodString>;
|
|
541
|
+
side_effect: z.ZodOptional<z.ZodString>;
|
|
542
|
+
}, "strict", z.ZodTypeAny, {
|
|
543
|
+
event_type: string;
|
|
544
|
+
business_meaning: string;
|
|
545
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
546
|
+
related_object?: string | undefined;
|
|
547
|
+
side_effect?: string | undefined;
|
|
548
|
+
}, {
|
|
549
|
+
event_type: string;
|
|
550
|
+
business_meaning: string;
|
|
551
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
552
|
+
related_object?: string | undefined;
|
|
553
|
+
side_effect?: string | undefined;
|
|
554
|
+
}>;
|
|
555
|
+
export declare const SemanticSummarySchema: z.ZodObject<{
|
|
556
|
+
intent: z.ZodString;
|
|
557
|
+
status: z.ZodEnum<["success", "partial", "failed", "pending_input"]>;
|
|
558
|
+
summary: z.ZodString;
|
|
559
|
+
created: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
560
|
+
id: z.ZodString;
|
|
561
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
562
|
+
role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
|
|
563
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
564
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
565
|
+
relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
|
|
566
|
+
}, "strip", z.ZodTypeAny, {
|
|
567
|
+
parent?: string | null | undefined;
|
|
568
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
569
|
+
}, {
|
|
570
|
+
parent?: string | null | undefined;
|
|
571
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
572
|
+
}>>;
|
|
573
|
+
immutable: z.ZodOptional<z.ZodBoolean>;
|
|
574
|
+
}, "strict", z.ZodTypeAny, {
|
|
575
|
+
id: string;
|
|
576
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
577
|
+
name?: string | null | undefined;
|
|
578
|
+
relation?: {
|
|
579
|
+
parent?: string | null | undefined;
|
|
580
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
581
|
+
} | undefined;
|
|
582
|
+
immutable?: boolean | undefined;
|
|
583
|
+
}, {
|
|
584
|
+
id: string;
|
|
585
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
586
|
+
name?: string | null | undefined;
|
|
587
|
+
relation?: {
|
|
588
|
+
parent?: string | null | undefined;
|
|
589
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
590
|
+
} | undefined;
|
|
591
|
+
immutable?: boolean | undefined;
|
|
592
|
+
}>, "many">>;
|
|
593
|
+
modified: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
594
|
+
id: z.ZodString;
|
|
595
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
596
|
+
role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
|
|
597
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
598
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
599
|
+
relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
parent?: string | null | undefined;
|
|
602
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
603
|
+
}, {
|
|
604
|
+
parent?: string | null | undefined;
|
|
605
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
606
|
+
}>>;
|
|
607
|
+
immutable: z.ZodOptional<z.ZodBoolean>;
|
|
608
|
+
}, "strict", z.ZodTypeAny, {
|
|
609
|
+
id: string;
|
|
610
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
611
|
+
name?: string | null | undefined;
|
|
612
|
+
relation?: {
|
|
613
|
+
parent?: string | null | undefined;
|
|
614
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
615
|
+
} | undefined;
|
|
616
|
+
immutable?: boolean | undefined;
|
|
617
|
+
}, {
|
|
618
|
+
id: string;
|
|
619
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
620
|
+
name?: string | null | undefined;
|
|
621
|
+
relation?: {
|
|
622
|
+
parent?: string | null | undefined;
|
|
623
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
624
|
+
} | undefined;
|
|
625
|
+
immutable?: boolean | undefined;
|
|
626
|
+
}>, "many">>;
|
|
627
|
+
released: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
628
|
+
amount: z.ZodString;
|
|
629
|
+
coinType: z.ZodString;
|
|
630
|
+
role: z.ZodEnum<["payment", "refund", "change", "compensation", "reward", "gas", "deposit", "release", "other"]>;
|
|
631
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
632
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
633
|
+
}, "strict", z.ZodTypeAny, {
|
|
634
|
+
coinType: string;
|
|
635
|
+
amount: string;
|
|
636
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
637
|
+
from?: string | null | undefined;
|
|
638
|
+
to?: string | null | undefined;
|
|
639
|
+
}, {
|
|
640
|
+
coinType: string;
|
|
641
|
+
amount: string;
|
|
642
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
643
|
+
from?: string | null | undefined;
|
|
644
|
+
to?: string | null | undefined;
|
|
645
|
+
}>, "many">>;
|
|
646
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
647
|
+
event_type: z.ZodString;
|
|
648
|
+
business_meaning: z.ZodString;
|
|
649
|
+
category: z.ZodEnum<["lifecycle", "state_change", "fund_flow", "permission", "guard", "other"]>;
|
|
650
|
+
related_object: z.ZodOptional<z.ZodString>;
|
|
651
|
+
side_effect: z.ZodOptional<z.ZodString>;
|
|
652
|
+
}, "strict", z.ZodTypeAny, {
|
|
653
|
+
event_type: string;
|
|
654
|
+
business_meaning: string;
|
|
655
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
656
|
+
related_object?: string | undefined;
|
|
657
|
+
side_effect?: string | undefined;
|
|
658
|
+
}, {
|
|
659
|
+
event_type: string;
|
|
660
|
+
business_meaning: string;
|
|
661
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
662
|
+
related_object?: string | undefined;
|
|
663
|
+
side_effect?: string | undefined;
|
|
664
|
+
}>, "many">>;
|
|
665
|
+
next_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
666
|
+
action: z.ZodString;
|
|
667
|
+
reason: z.ZodString;
|
|
668
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
669
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
670
|
+
priority: z.ZodEnum<["required", "recommended", "optional"]>;
|
|
671
|
+
}, "strict", z.ZodTypeAny, {
|
|
672
|
+
action: string;
|
|
673
|
+
reason: string;
|
|
674
|
+
priority: "required" | "recommended" | "optional";
|
|
675
|
+
tool?: string | undefined;
|
|
676
|
+
prerequisite?: string | undefined;
|
|
677
|
+
}, {
|
|
678
|
+
action: string;
|
|
679
|
+
reason: string;
|
|
680
|
+
priority: "required" | "recommended" | "optional";
|
|
681
|
+
tool?: string | undefined;
|
|
682
|
+
prerequisite?: string | undefined;
|
|
683
|
+
}>, "many">>;
|
|
684
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
685
|
+
}, "strict", z.ZodTypeAny, {
|
|
686
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
687
|
+
intent: string;
|
|
688
|
+
summary: string;
|
|
689
|
+
created?: {
|
|
690
|
+
id: string;
|
|
691
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
692
|
+
name?: string | null | undefined;
|
|
693
|
+
relation?: {
|
|
694
|
+
parent?: string | null | undefined;
|
|
695
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
696
|
+
} | undefined;
|
|
697
|
+
immutable?: boolean | undefined;
|
|
698
|
+
}[] | undefined;
|
|
699
|
+
events?: {
|
|
700
|
+
event_type: string;
|
|
701
|
+
business_meaning: string;
|
|
702
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
703
|
+
related_object?: string | undefined;
|
|
704
|
+
side_effect?: string | undefined;
|
|
705
|
+
}[] | undefined;
|
|
706
|
+
modified?: {
|
|
707
|
+
id: string;
|
|
708
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
709
|
+
name?: string | null | undefined;
|
|
710
|
+
relation?: {
|
|
711
|
+
parent?: string | null | undefined;
|
|
712
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
713
|
+
} | undefined;
|
|
714
|
+
immutable?: boolean | undefined;
|
|
715
|
+
}[] | undefined;
|
|
716
|
+
released?: {
|
|
717
|
+
coinType: string;
|
|
718
|
+
amount: string;
|
|
719
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
720
|
+
from?: string | null | undefined;
|
|
721
|
+
to?: string | null | undefined;
|
|
722
|
+
}[] | undefined;
|
|
723
|
+
next_actions?: {
|
|
724
|
+
action: string;
|
|
725
|
+
reason: string;
|
|
726
|
+
priority: "required" | "recommended" | "optional";
|
|
727
|
+
tool?: string | undefined;
|
|
728
|
+
prerequisite?: string | undefined;
|
|
729
|
+
}[] | undefined;
|
|
730
|
+
warnings?: string[] | undefined;
|
|
731
|
+
}, {
|
|
732
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
733
|
+
intent: string;
|
|
734
|
+
summary: string;
|
|
735
|
+
created?: {
|
|
736
|
+
id: string;
|
|
737
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
738
|
+
name?: string | null | undefined;
|
|
739
|
+
relation?: {
|
|
740
|
+
parent?: string | null | undefined;
|
|
741
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
742
|
+
} | undefined;
|
|
743
|
+
immutable?: boolean | undefined;
|
|
744
|
+
}[] | undefined;
|
|
745
|
+
events?: {
|
|
746
|
+
event_type: string;
|
|
747
|
+
business_meaning: string;
|
|
748
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
749
|
+
related_object?: string | undefined;
|
|
750
|
+
side_effect?: string | undefined;
|
|
751
|
+
}[] | undefined;
|
|
752
|
+
modified?: {
|
|
753
|
+
id: string;
|
|
754
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
755
|
+
name?: string | null | undefined;
|
|
756
|
+
relation?: {
|
|
757
|
+
parent?: string | null | undefined;
|
|
758
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
759
|
+
} | undefined;
|
|
760
|
+
immutable?: boolean | undefined;
|
|
761
|
+
}[] | undefined;
|
|
762
|
+
released?: {
|
|
763
|
+
coinType: string;
|
|
764
|
+
amount: string;
|
|
765
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
766
|
+
from?: string | null | undefined;
|
|
767
|
+
to?: string | null | undefined;
|
|
768
|
+
}[] | undefined;
|
|
769
|
+
next_actions?: {
|
|
770
|
+
action: string;
|
|
771
|
+
reason: string;
|
|
772
|
+
priority: "required" | "recommended" | "optional";
|
|
773
|
+
tool?: string | undefined;
|
|
774
|
+
prerequisite?: string | undefined;
|
|
775
|
+
}[] | undefined;
|
|
776
|
+
warnings?: string[] | undefined;
|
|
777
|
+
}>;
|
|
464
778
|
export declare const CallResponseErrorSchema: z.ZodObject<{
|
|
465
779
|
type: z.ZodLiteral<"error">;
|
|
466
780
|
error: z.ZodString;
|
|
781
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
782
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
783
|
+
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
784
|
+
related_object: z.ZodOptional<z.ZodString>;
|
|
467
785
|
}, "strip", z.ZodTypeAny, {
|
|
468
786
|
type: "error";
|
|
469
787
|
error: string;
|
|
788
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
789
|
+
related_object?: string | undefined;
|
|
790
|
+
retryable?: boolean | undefined;
|
|
791
|
+
recovery_hint?: string | undefined;
|
|
470
792
|
}, {
|
|
471
793
|
type: "error";
|
|
472
794
|
error: string;
|
|
795
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
796
|
+
related_object?: string | undefined;
|
|
797
|
+
retryable?: boolean | undefined;
|
|
798
|
+
recovery_hint?: string | undefined;
|
|
473
799
|
}>;
|
|
474
800
|
export declare const GuardSubmissionToFillSchema: z.ZodObject<{
|
|
475
801
|
guard: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -3117,12 +3443,24 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3117
3443
|
}>, z.ZodObject<{
|
|
3118
3444
|
type: z.ZodLiteral<"error">;
|
|
3119
3445
|
error: z.ZodString;
|
|
3446
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
3447
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3448
|
+
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
3449
|
+
related_object: z.ZodOptional<z.ZodString>;
|
|
3120
3450
|
}, "strip", z.ZodTypeAny, {
|
|
3121
3451
|
type: "error";
|
|
3122
3452
|
error: string;
|
|
3453
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
3454
|
+
related_object?: string | undefined;
|
|
3455
|
+
retryable?: boolean | undefined;
|
|
3456
|
+
recovery_hint?: string | undefined;
|
|
3123
3457
|
}, {
|
|
3124
3458
|
type: "error";
|
|
3125
3459
|
error: string;
|
|
3460
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
3461
|
+
related_object?: string | undefined;
|
|
3462
|
+
retryable?: boolean | undefined;
|
|
3463
|
+
recovery_hint?: string | undefined;
|
|
3126
3464
|
}>, z.ZodObject<{
|
|
3127
3465
|
type: z.ZodLiteral<"data">;
|
|
3128
3466
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -3519,6 +3857,213 @@ export declare const ObjectsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3519
3857
|
}, {
|
|
3520
3858
|
op: "clear";
|
|
3521
3859
|
}>]>;
|
|
3860
|
+
export declare const VerifyMismatchSchema: z.ZodObject<{
|
|
3861
|
+
dimension: z.ZodEnum<["created", "modified", "released", "state", "event"]>;
|
|
3862
|
+
expected: z.ZodString;
|
|
3863
|
+
actual: z.ZodString;
|
|
3864
|
+
severity: z.ZodEnum<["pass", "warn", "fail"]>;
|
|
3865
|
+
detail: z.ZodString;
|
|
3866
|
+
}, "strip", z.ZodTypeAny, {
|
|
3867
|
+
expected: string;
|
|
3868
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3869
|
+
actual: string;
|
|
3870
|
+
severity: "pass" | "warn" | "fail";
|
|
3871
|
+
detail: string;
|
|
3872
|
+
}, {
|
|
3873
|
+
expected: string;
|
|
3874
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3875
|
+
actual: string;
|
|
3876
|
+
severity: "pass" | "warn" | "fail";
|
|
3877
|
+
detail: string;
|
|
3878
|
+
}>;
|
|
3879
|
+
export declare const VerifyReportSchema: z.ZodObject<{
|
|
3880
|
+
status: z.ZodEnum<["pass", "warn", "fail"]>;
|
|
3881
|
+
mismatches: z.ZodArray<z.ZodObject<{
|
|
3882
|
+
dimension: z.ZodEnum<["created", "modified", "released", "state", "event"]>;
|
|
3883
|
+
expected: z.ZodString;
|
|
3884
|
+
actual: z.ZodString;
|
|
3885
|
+
severity: z.ZodEnum<["pass", "warn", "fail"]>;
|
|
3886
|
+
detail: z.ZodString;
|
|
3887
|
+
}, "strip", z.ZodTypeAny, {
|
|
3888
|
+
expected: string;
|
|
3889
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3890
|
+
actual: string;
|
|
3891
|
+
severity: "pass" | "warn" | "fail";
|
|
3892
|
+
detail: string;
|
|
3893
|
+
}, {
|
|
3894
|
+
expected: string;
|
|
3895
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3896
|
+
actual: string;
|
|
3897
|
+
severity: "pass" | "warn" | "fail";
|
|
3898
|
+
detail: string;
|
|
3899
|
+
}>, "many">;
|
|
3900
|
+
summary: z.ZodString;
|
|
3901
|
+
timestamp: z.ZodString;
|
|
3902
|
+
}, "strip", z.ZodTypeAny, {
|
|
3903
|
+
status: "pass" | "warn" | "fail";
|
|
3904
|
+
summary: string;
|
|
3905
|
+
mismatches: {
|
|
3906
|
+
expected: string;
|
|
3907
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3908
|
+
actual: string;
|
|
3909
|
+
severity: "pass" | "warn" | "fail";
|
|
3910
|
+
detail: string;
|
|
3911
|
+
}[];
|
|
3912
|
+
timestamp: string;
|
|
3913
|
+
}, {
|
|
3914
|
+
status: "pass" | "warn" | "fail";
|
|
3915
|
+
summary: string;
|
|
3916
|
+
mismatches: {
|
|
3917
|
+
expected: string;
|
|
3918
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3919
|
+
actual: string;
|
|
3920
|
+
severity: "pass" | "warn" | "fail";
|
|
3921
|
+
detail: string;
|
|
3922
|
+
}[];
|
|
3923
|
+
timestamp: string;
|
|
3924
|
+
}>;
|
|
3925
|
+
export declare const RecoveryActionSchema: z.ZodObject<{
|
|
3926
|
+
strategy: z.ZodEnum<["retry", "claim_faucet", "fill_submission", "recreate", "switch_account", "query_and_retry", "adjust_params", "escalate_human", "stop"]>;
|
|
3927
|
+
should_retry: z.ZodBoolean;
|
|
3928
|
+
adjusted_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3929
|
+
user_prompt: z.ZodOptional<z.ZodString>;
|
|
3930
|
+
max_attempts: z.ZodNumber;
|
|
3931
|
+
current_attempt: z.ZodNumber;
|
|
3932
|
+
detail: z.ZodString;
|
|
3933
|
+
}, "strip", z.ZodTypeAny, {
|
|
3934
|
+
detail: string;
|
|
3935
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
3936
|
+
should_retry: boolean;
|
|
3937
|
+
max_attempts: number;
|
|
3938
|
+
current_attempt: number;
|
|
3939
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
3940
|
+
user_prompt?: string | undefined;
|
|
3941
|
+
}, {
|
|
3942
|
+
detail: string;
|
|
3943
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
3944
|
+
should_retry: boolean;
|
|
3945
|
+
max_attempts: number;
|
|
3946
|
+
current_attempt: number;
|
|
3947
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
3948
|
+
user_prompt?: string | undefined;
|
|
3949
|
+
}>;
|
|
3950
|
+
export declare const HarnessReportSchema: z.ZodObject<{
|
|
3951
|
+
verify: z.ZodObject<{
|
|
3952
|
+
status: z.ZodEnum<["pass", "warn", "fail"]>;
|
|
3953
|
+
mismatches: z.ZodArray<z.ZodObject<{
|
|
3954
|
+
dimension: z.ZodEnum<["created", "modified", "released", "state", "event"]>;
|
|
3955
|
+
expected: z.ZodString;
|
|
3956
|
+
actual: z.ZodString;
|
|
3957
|
+
severity: z.ZodEnum<["pass", "warn", "fail"]>;
|
|
3958
|
+
detail: z.ZodString;
|
|
3959
|
+
}, "strip", z.ZodTypeAny, {
|
|
3960
|
+
expected: string;
|
|
3961
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3962
|
+
actual: string;
|
|
3963
|
+
severity: "pass" | "warn" | "fail";
|
|
3964
|
+
detail: string;
|
|
3965
|
+
}, {
|
|
3966
|
+
expected: string;
|
|
3967
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3968
|
+
actual: string;
|
|
3969
|
+
severity: "pass" | "warn" | "fail";
|
|
3970
|
+
detail: string;
|
|
3971
|
+
}>, "many">;
|
|
3972
|
+
summary: z.ZodString;
|
|
3973
|
+
timestamp: z.ZodString;
|
|
3974
|
+
}, "strip", z.ZodTypeAny, {
|
|
3975
|
+
status: "pass" | "warn" | "fail";
|
|
3976
|
+
summary: string;
|
|
3977
|
+
mismatches: {
|
|
3978
|
+
expected: string;
|
|
3979
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3980
|
+
actual: string;
|
|
3981
|
+
severity: "pass" | "warn" | "fail";
|
|
3982
|
+
detail: string;
|
|
3983
|
+
}[];
|
|
3984
|
+
timestamp: string;
|
|
3985
|
+
}, {
|
|
3986
|
+
status: "pass" | "warn" | "fail";
|
|
3987
|
+
summary: string;
|
|
3988
|
+
mismatches: {
|
|
3989
|
+
expected: string;
|
|
3990
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
3991
|
+
actual: string;
|
|
3992
|
+
severity: "pass" | "warn" | "fail";
|
|
3993
|
+
detail: string;
|
|
3994
|
+
}[];
|
|
3995
|
+
timestamp: string;
|
|
3996
|
+
}>;
|
|
3997
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
3998
|
+
strategy: z.ZodEnum<["retry", "claim_faucet", "fill_submission", "recreate", "switch_account", "query_and_retry", "adjust_params", "escalate_human", "stop"]>;
|
|
3999
|
+
should_retry: z.ZodBoolean;
|
|
4000
|
+
adjusted_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4001
|
+
user_prompt: z.ZodOptional<z.ZodString>;
|
|
4002
|
+
max_attempts: z.ZodNumber;
|
|
4003
|
+
current_attempt: z.ZodNumber;
|
|
4004
|
+
detail: z.ZodString;
|
|
4005
|
+
}, "strip", z.ZodTypeAny, {
|
|
4006
|
+
detail: string;
|
|
4007
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
4008
|
+
should_retry: boolean;
|
|
4009
|
+
max_attempts: number;
|
|
4010
|
+
current_attempt: number;
|
|
4011
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
4012
|
+
user_prompt?: string | undefined;
|
|
4013
|
+
}, {
|
|
4014
|
+
detail: string;
|
|
4015
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
4016
|
+
should_retry: boolean;
|
|
4017
|
+
max_attempts: number;
|
|
4018
|
+
current_attempt: number;
|
|
4019
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
4020
|
+
user_prompt?: string | undefined;
|
|
4021
|
+
}>>;
|
|
4022
|
+
}, "strip", z.ZodTypeAny, {
|
|
4023
|
+
verify: {
|
|
4024
|
+
status: "pass" | "warn" | "fail";
|
|
4025
|
+
summary: string;
|
|
4026
|
+
mismatches: {
|
|
4027
|
+
expected: string;
|
|
4028
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4029
|
+
actual: string;
|
|
4030
|
+
severity: "pass" | "warn" | "fail";
|
|
4031
|
+
detail: string;
|
|
4032
|
+
}[];
|
|
4033
|
+
timestamp: string;
|
|
4034
|
+
};
|
|
4035
|
+
recovery?: {
|
|
4036
|
+
detail: string;
|
|
4037
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
4038
|
+
should_retry: boolean;
|
|
4039
|
+
max_attempts: number;
|
|
4040
|
+
current_attempt: number;
|
|
4041
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
4042
|
+
user_prompt?: string | undefined;
|
|
4043
|
+
} | undefined;
|
|
4044
|
+
}, {
|
|
4045
|
+
verify: {
|
|
4046
|
+
status: "pass" | "warn" | "fail";
|
|
4047
|
+
summary: string;
|
|
4048
|
+
mismatches: {
|
|
4049
|
+
expected: string;
|
|
4050
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4051
|
+
actual: string;
|
|
4052
|
+
severity: "pass" | "warn" | "fail";
|
|
4053
|
+
detail: string;
|
|
4054
|
+
}[];
|
|
4055
|
+
timestamp: string;
|
|
4056
|
+
};
|
|
4057
|
+
recovery?: {
|
|
4058
|
+
detail: string;
|
|
4059
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
4060
|
+
should_retry: boolean;
|
|
4061
|
+
max_attempts: number;
|
|
4062
|
+
current_attempt: number;
|
|
4063
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
4064
|
+
user_prompt?: string | undefined;
|
|
4065
|
+
} | undefined;
|
|
4066
|
+
}>;
|
|
3522
4067
|
export declare const CallOutputSchema: z.ZodObject<{
|
|
3523
4068
|
result: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3524
4069
|
type: z.ZodLiteral<"submission">;
|
|
@@ -5745,12 +6290,24 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
5745
6290
|
}>, z.ZodObject<{
|
|
5746
6291
|
type: z.ZodLiteral<"error">;
|
|
5747
6292
|
error: z.ZodString;
|
|
6293
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
6294
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6295
|
+
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
6296
|
+
related_object: z.ZodOptional<z.ZodString>;
|
|
5748
6297
|
}, "strip", z.ZodTypeAny, {
|
|
5749
6298
|
type: "error";
|
|
5750
6299
|
error: string;
|
|
6300
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
6301
|
+
related_object?: string | undefined;
|
|
6302
|
+
retryable?: boolean | undefined;
|
|
6303
|
+
recovery_hint?: string | undefined;
|
|
5751
6304
|
}, {
|
|
5752
6305
|
type: "error";
|
|
5753
6306
|
error: string;
|
|
6307
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
6308
|
+
related_object?: string | undefined;
|
|
6309
|
+
retryable?: boolean | undefined;
|
|
6310
|
+
recovery_hint?: string | undefined;
|
|
5754
6311
|
}>, z.ZodObject<{
|
|
5755
6312
|
type: z.ZodLiteral<"data">;
|
|
5756
6313
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -6123,10 +6680,354 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6123
6680
|
type: "null";
|
|
6124
6681
|
}>]>;
|
|
6125
6682
|
message: z.ZodOptional<z.ZodString>;
|
|
6683
|
+
semantic: z.ZodOptional<z.ZodObject<{
|
|
6684
|
+
intent: z.ZodString;
|
|
6685
|
+
status: z.ZodEnum<["success", "partial", "failed", "pending_input"]>;
|
|
6686
|
+
summary: z.ZodString;
|
|
6687
|
+
created: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6688
|
+
id: z.ZodString;
|
|
6689
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
6690
|
+
role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
|
|
6691
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
6692
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
6693
|
+
relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
|
|
6694
|
+
}, "strip", z.ZodTypeAny, {
|
|
6695
|
+
parent?: string | null | undefined;
|
|
6696
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6697
|
+
}, {
|
|
6698
|
+
parent?: string | null | undefined;
|
|
6699
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6700
|
+
}>>;
|
|
6701
|
+
immutable: z.ZodOptional<z.ZodBoolean>;
|
|
6702
|
+
}, "strict", z.ZodTypeAny, {
|
|
6703
|
+
id: string;
|
|
6704
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
6705
|
+
name?: string | null | undefined;
|
|
6706
|
+
relation?: {
|
|
6707
|
+
parent?: string | null | undefined;
|
|
6708
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6709
|
+
} | undefined;
|
|
6710
|
+
immutable?: boolean | undefined;
|
|
6711
|
+
}, {
|
|
6712
|
+
id: string;
|
|
6713
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
6714
|
+
name?: string | null | undefined;
|
|
6715
|
+
relation?: {
|
|
6716
|
+
parent?: string | null | undefined;
|
|
6717
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6718
|
+
} | undefined;
|
|
6719
|
+
immutable?: boolean | undefined;
|
|
6720
|
+
}>, "many">>;
|
|
6721
|
+
modified: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6722
|
+
id: z.ZodString;
|
|
6723
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
6724
|
+
role: z.ZodEnum<["Permission", "Guard", "Machine", "Progress", "Service", "Order", "Allocation", "Arbitration", "ArbCase", "Messenger", "Contact", "Demand", "Reward", "Personal", "Repository", "Treasury", "Discount", "Other"]>;
|
|
6725
|
+
relation: z.ZodOptional<z.ZodObject<{
|
|
6726
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
6727
|
+
relation_type: z.ZodOptional<z.ZodEnum<["machine_of", "guard_of", "allocator_of", "permission_of", "progress_of", "allocation_of", "arb_of", "other"]>>;
|
|
6728
|
+
}, "strip", z.ZodTypeAny, {
|
|
6729
|
+
parent?: string | null | undefined;
|
|
6730
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6731
|
+
}, {
|
|
6732
|
+
parent?: string | null | undefined;
|
|
6733
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6734
|
+
}>>;
|
|
6735
|
+
immutable: z.ZodOptional<z.ZodBoolean>;
|
|
6736
|
+
}, "strict", z.ZodTypeAny, {
|
|
6737
|
+
id: string;
|
|
6738
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
6739
|
+
name?: string | null | undefined;
|
|
6740
|
+
relation?: {
|
|
6741
|
+
parent?: string | null | undefined;
|
|
6742
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6743
|
+
} | undefined;
|
|
6744
|
+
immutable?: boolean | undefined;
|
|
6745
|
+
}, {
|
|
6746
|
+
id: string;
|
|
6747
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
6748
|
+
name?: string | null | undefined;
|
|
6749
|
+
relation?: {
|
|
6750
|
+
parent?: string | null | undefined;
|
|
6751
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6752
|
+
} | undefined;
|
|
6753
|
+
immutable?: boolean | undefined;
|
|
6754
|
+
}>, "many">>;
|
|
6755
|
+
released: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6756
|
+
amount: z.ZodString;
|
|
6757
|
+
coinType: z.ZodString;
|
|
6758
|
+
role: z.ZodEnum<["payment", "refund", "change", "compensation", "reward", "gas", "deposit", "release", "other"]>;
|
|
6759
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6760
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6761
|
+
}, "strict", z.ZodTypeAny, {
|
|
6762
|
+
coinType: string;
|
|
6763
|
+
amount: string;
|
|
6764
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
6765
|
+
from?: string | null | undefined;
|
|
6766
|
+
to?: string | null | undefined;
|
|
6767
|
+
}, {
|
|
6768
|
+
coinType: string;
|
|
6769
|
+
amount: string;
|
|
6770
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
6771
|
+
from?: string | null | undefined;
|
|
6772
|
+
to?: string | null | undefined;
|
|
6773
|
+
}>, "many">>;
|
|
6774
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6775
|
+
event_type: z.ZodString;
|
|
6776
|
+
business_meaning: z.ZodString;
|
|
6777
|
+
category: z.ZodEnum<["lifecycle", "state_change", "fund_flow", "permission", "guard", "other"]>;
|
|
6778
|
+
related_object: z.ZodOptional<z.ZodString>;
|
|
6779
|
+
side_effect: z.ZodOptional<z.ZodString>;
|
|
6780
|
+
}, "strict", z.ZodTypeAny, {
|
|
6781
|
+
event_type: string;
|
|
6782
|
+
business_meaning: string;
|
|
6783
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
6784
|
+
related_object?: string | undefined;
|
|
6785
|
+
side_effect?: string | undefined;
|
|
6786
|
+
}, {
|
|
6787
|
+
event_type: string;
|
|
6788
|
+
business_meaning: string;
|
|
6789
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
6790
|
+
related_object?: string | undefined;
|
|
6791
|
+
side_effect?: string | undefined;
|
|
6792
|
+
}>, "many">>;
|
|
6793
|
+
next_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6794
|
+
action: z.ZodString;
|
|
6795
|
+
reason: z.ZodString;
|
|
6796
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
6797
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
6798
|
+
priority: z.ZodEnum<["required", "recommended", "optional"]>;
|
|
6799
|
+
}, "strict", z.ZodTypeAny, {
|
|
6800
|
+
action: string;
|
|
6801
|
+
reason: string;
|
|
6802
|
+
priority: "required" | "recommended" | "optional";
|
|
6803
|
+
tool?: string | undefined;
|
|
6804
|
+
prerequisite?: string | undefined;
|
|
6805
|
+
}, {
|
|
6806
|
+
action: string;
|
|
6807
|
+
reason: string;
|
|
6808
|
+
priority: "required" | "recommended" | "optional";
|
|
6809
|
+
tool?: string | undefined;
|
|
6810
|
+
prerequisite?: string | undefined;
|
|
6811
|
+
}>, "many">>;
|
|
6812
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6813
|
+
}, "strict", z.ZodTypeAny, {
|
|
6814
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
6815
|
+
intent: string;
|
|
6816
|
+
summary: string;
|
|
6817
|
+
created?: {
|
|
6818
|
+
id: string;
|
|
6819
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
6820
|
+
name?: string | null | undefined;
|
|
6821
|
+
relation?: {
|
|
6822
|
+
parent?: string | null | undefined;
|
|
6823
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6824
|
+
} | undefined;
|
|
6825
|
+
immutable?: boolean | undefined;
|
|
6826
|
+
}[] | undefined;
|
|
6827
|
+
events?: {
|
|
6828
|
+
event_type: string;
|
|
6829
|
+
business_meaning: string;
|
|
6830
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
6831
|
+
related_object?: string | undefined;
|
|
6832
|
+
side_effect?: string | undefined;
|
|
6833
|
+
}[] | undefined;
|
|
6834
|
+
modified?: {
|
|
6835
|
+
id: string;
|
|
6836
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
6837
|
+
name?: string | null | undefined;
|
|
6838
|
+
relation?: {
|
|
6839
|
+
parent?: string | null | undefined;
|
|
6840
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6841
|
+
} | undefined;
|
|
6842
|
+
immutable?: boolean | undefined;
|
|
6843
|
+
}[] | undefined;
|
|
6844
|
+
released?: {
|
|
6845
|
+
coinType: string;
|
|
6846
|
+
amount: string;
|
|
6847
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
6848
|
+
from?: string | null | undefined;
|
|
6849
|
+
to?: string | null | undefined;
|
|
6850
|
+
}[] | undefined;
|
|
6851
|
+
next_actions?: {
|
|
6852
|
+
action: string;
|
|
6853
|
+
reason: string;
|
|
6854
|
+
priority: "required" | "recommended" | "optional";
|
|
6855
|
+
tool?: string | undefined;
|
|
6856
|
+
prerequisite?: string | undefined;
|
|
6857
|
+
}[] | undefined;
|
|
6858
|
+
warnings?: string[] | undefined;
|
|
6859
|
+
}, {
|
|
6860
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
6861
|
+
intent: string;
|
|
6862
|
+
summary: string;
|
|
6863
|
+
created?: {
|
|
6864
|
+
id: string;
|
|
6865
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
6866
|
+
name?: string | null | undefined;
|
|
6867
|
+
relation?: {
|
|
6868
|
+
parent?: string | null | undefined;
|
|
6869
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6870
|
+
} | undefined;
|
|
6871
|
+
immutable?: boolean | undefined;
|
|
6872
|
+
}[] | undefined;
|
|
6873
|
+
events?: {
|
|
6874
|
+
event_type: string;
|
|
6875
|
+
business_meaning: string;
|
|
6876
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
6877
|
+
related_object?: string | undefined;
|
|
6878
|
+
side_effect?: string | undefined;
|
|
6879
|
+
}[] | undefined;
|
|
6880
|
+
modified?: {
|
|
6881
|
+
id: string;
|
|
6882
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
6883
|
+
name?: string | null | undefined;
|
|
6884
|
+
relation?: {
|
|
6885
|
+
parent?: string | null | undefined;
|
|
6886
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
6887
|
+
} | undefined;
|
|
6888
|
+
immutable?: boolean | undefined;
|
|
6889
|
+
}[] | undefined;
|
|
6890
|
+
released?: {
|
|
6891
|
+
coinType: string;
|
|
6892
|
+
amount: string;
|
|
6893
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
6894
|
+
from?: string | null | undefined;
|
|
6895
|
+
to?: string | null | undefined;
|
|
6896
|
+
}[] | undefined;
|
|
6897
|
+
next_actions?: {
|
|
6898
|
+
action: string;
|
|
6899
|
+
reason: string;
|
|
6900
|
+
priority: "required" | "recommended" | "optional";
|
|
6901
|
+
tool?: string | undefined;
|
|
6902
|
+
prerequisite?: string | undefined;
|
|
6903
|
+
}[] | undefined;
|
|
6904
|
+
warnings?: string[] | undefined;
|
|
6905
|
+
}>>;
|
|
6906
|
+
harness_report: z.ZodOptional<z.ZodObject<{
|
|
6907
|
+
verify: z.ZodObject<{
|
|
6908
|
+
status: z.ZodEnum<["pass", "warn", "fail"]>;
|
|
6909
|
+
mismatches: z.ZodArray<z.ZodObject<{
|
|
6910
|
+
dimension: z.ZodEnum<["created", "modified", "released", "state", "event"]>;
|
|
6911
|
+
expected: z.ZodString;
|
|
6912
|
+
actual: z.ZodString;
|
|
6913
|
+
severity: z.ZodEnum<["pass", "warn", "fail"]>;
|
|
6914
|
+
detail: z.ZodString;
|
|
6915
|
+
}, "strip", z.ZodTypeAny, {
|
|
6916
|
+
expected: string;
|
|
6917
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6918
|
+
actual: string;
|
|
6919
|
+
severity: "pass" | "warn" | "fail";
|
|
6920
|
+
detail: string;
|
|
6921
|
+
}, {
|
|
6922
|
+
expected: string;
|
|
6923
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6924
|
+
actual: string;
|
|
6925
|
+
severity: "pass" | "warn" | "fail";
|
|
6926
|
+
detail: string;
|
|
6927
|
+
}>, "many">;
|
|
6928
|
+
summary: z.ZodString;
|
|
6929
|
+
timestamp: z.ZodString;
|
|
6930
|
+
}, "strip", z.ZodTypeAny, {
|
|
6931
|
+
status: "pass" | "warn" | "fail";
|
|
6932
|
+
summary: string;
|
|
6933
|
+
mismatches: {
|
|
6934
|
+
expected: string;
|
|
6935
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6936
|
+
actual: string;
|
|
6937
|
+
severity: "pass" | "warn" | "fail";
|
|
6938
|
+
detail: string;
|
|
6939
|
+
}[];
|
|
6940
|
+
timestamp: string;
|
|
6941
|
+
}, {
|
|
6942
|
+
status: "pass" | "warn" | "fail";
|
|
6943
|
+
summary: string;
|
|
6944
|
+
mismatches: {
|
|
6945
|
+
expected: string;
|
|
6946
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6947
|
+
actual: string;
|
|
6948
|
+
severity: "pass" | "warn" | "fail";
|
|
6949
|
+
detail: string;
|
|
6950
|
+
}[];
|
|
6951
|
+
timestamp: string;
|
|
6952
|
+
}>;
|
|
6953
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
6954
|
+
strategy: z.ZodEnum<["retry", "claim_faucet", "fill_submission", "recreate", "switch_account", "query_and_retry", "adjust_params", "escalate_human", "stop"]>;
|
|
6955
|
+
should_retry: z.ZodBoolean;
|
|
6956
|
+
adjusted_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6957
|
+
user_prompt: z.ZodOptional<z.ZodString>;
|
|
6958
|
+
max_attempts: z.ZodNumber;
|
|
6959
|
+
current_attempt: z.ZodNumber;
|
|
6960
|
+
detail: z.ZodString;
|
|
6961
|
+
}, "strip", z.ZodTypeAny, {
|
|
6962
|
+
detail: string;
|
|
6963
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
6964
|
+
should_retry: boolean;
|
|
6965
|
+
max_attempts: number;
|
|
6966
|
+
current_attempt: number;
|
|
6967
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
6968
|
+
user_prompt?: string | undefined;
|
|
6969
|
+
}, {
|
|
6970
|
+
detail: string;
|
|
6971
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
6972
|
+
should_retry: boolean;
|
|
6973
|
+
max_attempts: number;
|
|
6974
|
+
current_attempt: number;
|
|
6975
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
6976
|
+
user_prompt?: string | undefined;
|
|
6977
|
+
}>>;
|
|
6978
|
+
}, "strip", z.ZodTypeAny, {
|
|
6979
|
+
verify: {
|
|
6980
|
+
status: "pass" | "warn" | "fail";
|
|
6981
|
+
summary: string;
|
|
6982
|
+
mismatches: {
|
|
6983
|
+
expected: string;
|
|
6984
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
6985
|
+
actual: string;
|
|
6986
|
+
severity: "pass" | "warn" | "fail";
|
|
6987
|
+
detail: string;
|
|
6988
|
+
}[];
|
|
6989
|
+
timestamp: string;
|
|
6990
|
+
};
|
|
6991
|
+
recovery?: {
|
|
6992
|
+
detail: string;
|
|
6993
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
6994
|
+
should_retry: boolean;
|
|
6995
|
+
max_attempts: number;
|
|
6996
|
+
current_attempt: number;
|
|
6997
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
6998
|
+
user_prompt?: string | undefined;
|
|
6999
|
+
} | undefined;
|
|
7000
|
+
}, {
|
|
7001
|
+
verify: {
|
|
7002
|
+
status: "pass" | "warn" | "fail";
|
|
7003
|
+
summary: string;
|
|
7004
|
+
mismatches: {
|
|
7005
|
+
expected: string;
|
|
7006
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7007
|
+
actual: string;
|
|
7008
|
+
severity: "pass" | "warn" | "fail";
|
|
7009
|
+
detail: string;
|
|
7010
|
+
}[];
|
|
7011
|
+
timestamp: string;
|
|
7012
|
+
};
|
|
7013
|
+
recovery?: {
|
|
7014
|
+
detail: string;
|
|
7015
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
7016
|
+
should_retry: boolean;
|
|
7017
|
+
max_attempts: number;
|
|
7018
|
+
current_attempt: number;
|
|
7019
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
7020
|
+
user_prompt?: string | undefined;
|
|
7021
|
+
} | undefined;
|
|
7022
|
+
}>>;
|
|
6126
7023
|
}, "strict", z.ZodTypeAny, {
|
|
6127
7024
|
result: {
|
|
6128
7025
|
type: "error";
|
|
6129
7026
|
error: string;
|
|
7027
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
7028
|
+
related_object?: string | undefined;
|
|
7029
|
+
retryable?: boolean | undefined;
|
|
7030
|
+
recovery_hint?: string | undefined;
|
|
6130
7031
|
} | {
|
|
6131
7032
|
type: "submission";
|
|
6132
7033
|
guard: {
|
|
@@ -6521,10 +7422,84 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6521
7422
|
type: "null";
|
|
6522
7423
|
};
|
|
6523
7424
|
message?: string | undefined;
|
|
7425
|
+
semantic?: {
|
|
7426
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
7427
|
+
intent: string;
|
|
7428
|
+
summary: string;
|
|
7429
|
+
created?: {
|
|
7430
|
+
id: string;
|
|
7431
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
7432
|
+
name?: string | null | undefined;
|
|
7433
|
+
relation?: {
|
|
7434
|
+
parent?: string | null | undefined;
|
|
7435
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
7436
|
+
} | undefined;
|
|
7437
|
+
immutable?: boolean | undefined;
|
|
7438
|
+
}[] | undefined;
|
|
7439
|
+
events?: {
|
|
7440
|
+
event_type: string;
|
|
7441
|
+
business_meaning: string;
|
|
7442
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
7443
|
+
related_object?: string | undefined;
|
|
7444
|
+
side_effect?: string | undefined;
|
|
7445
|
+
}[] | undefined;
|
|
7446
|
+
modified?: {
|
|
7447
|
+
id: string;
|
|
7448
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
7449
|
+
name?: string | null | undefined;
|
|
7450
|
+
relation?: {
|
|
7451
|
+
parent?: string | null | undefined;
|
|
7452
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
7453
|
+
} | undefined;
|
|
7454
|
+
immutable?: boolean | undefined;
|
|
7455
|
+
}[] | undefined;
|
|
7456
|
+
released?: {
|
|
7457
|
+
coinType: string;
|
|
7458
|
+
amount: string;
|
|
7459
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
7460
|
+
from?: string | null | undefined;
|
|
7461
|
+
to?: string | null | undefined;
|
|
7462
|
+
}[] | undefined;
|
|
7463
|
+
next_actions?: {
|
|
7464
|
+
action: string;
|
|
7465
|
+
reason: string;
|
|
7466
|
+
priority: "required" | "recommended" | "optional";
|
|
7467
|
+
tool?: string | undefined;
|
|
7468
|
+
prerequisite?: string | undefined;
|
|
7469
|
+
}[] | undefined;
|
|
7470
|
+
warnings?: string[] | undefined;
|
|
7471
|
+
} | undefined;
|
|
7472
|
+
harness_report?: {
|
|
7473
|
+
verify: {
|
|
7474
|
+
status: "pass" | "warn" | "fail";
|
|
7475
|
+
summary: string;
|
|
7476
|
+
mismatches: {
|
|
7477
|
+
expected: string;
|
|
7478
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7479
|
+
actual: string;
|
|
7480
|
+
severity: "pass" | "warn" | "fail";
|
|
7481
|
+
detail: string;
|
|
7482
|
+
}[];
|
|
7483
|
+
timestamp: string;
|
|
7484
|
+
};
|
|
7485
|
+
recovery?: {
|
|
7486
|
+
detail: string;
|
|
7487
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
7488
|
+
should_retry: boolean;
|
|
7489
|
+
max_attempts: number;
|
|
7490
|
+
current_attempt: number;
|
|
7491
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
7492
|
+
user_prompt?: string | undefined;
|
|
7493
|
+
} | undefined;
|
|
7494
|
+
} | undefined;
|
|
6524
7495
|
}, {
|
|
6525
7496
|
result: {
|
|
6526
7497
|
type: "error";
|
|
6527
7498
|
error: string;
|
|
7499
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
7500
|
+
related_object?: string | undefined;
|
|
7501
|
+
retryable?: boolean | undefined;
|
|
7502
|
+
recovery_hint?: string | undefined;
|
|
6528
7503
|
} | {
|
|
6529
7504
|
type: "submission";
|
|
6530
7505
|
guard: {
|
|
@@ -6919,6 +7894,76 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6919
7894
|
type: "null";
|
|
6920
7895
|
};
|
|
6921
7896
|
message?: string | undefined;
|
|
7897
|
+
semantic?: {
|
|
7898
|
+
status: "success" | "partial" | "failed" | "pending_input";
|
|
7899
|
+
intent: string;
|
|
7900
|
+
summary: string;
|
|
7901
|
+
created?: {
|
|
7902
|
+
id: string;
|
|
7903
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
7904
|
+
name?: string | null | undefined;
|
|
7905
|
+
relation?: {
|
|
7906
|
+
parent?: string | null | undefined;
|
|
7907
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
7908
|
+
} | undefined;
|
|
7909
|
+
immutable?: boolean | undefined;
|
|
7910
|
+
}[] | undefined;
|
|
7911
|
+
events?: {
|
|
7912
|
+
event_type: string;
|
|
7913
|
+
business_meaning: string;
|
|
7914
|
+
category: "permission" | "other" | "lifecycle" | "state_change" | "fund_flow" | "guard";
|
|
7915
|
+
related_object?: string | undefined;
|
|
7916
|
+
side_effect?: string | undefined;
|
|
7917
|
+
}[] | undefined;
|
|
7918
|
+
modified?: {
|
|
7919
|
+
id: string;
|
|
7920
|
+
role: "Permission" | "Guard" | "Machine" | "Progress" | "Service" | "Order" | "Allocation" | "Arbitration" | "ArbCase" | "Messenger" | "Contact" | "Demand" | "Reward" | "Personal" | "Repository" | "Treasury" | "Discount" | "Other";
|
|
7921
|
+
name?: string | null | undefined;
|
|
7922
|
+
relation?: {
|
|
7923
|
+
parent?: string | null | undefined;
|
|
7924
|
+
relation_type?: "machine_of" | "guard_of" | "allocator_of" | "permission_of" | "progress_of" | "allocation_of" | "arb_of" | "other" | undefined;
|
|
7925
|
+
} | undefined;
|
|
7926
|
+
immutable?: boolean | undefined;
|
|
7927
|
+
}[] | undefined;
|
|
7928
|
+
released?: {
|
|
7929
|
+
coinType: string;
|
|
7930
|
+
amount: string;
|
|
7931
|
+
role: "payment" | "change" | "other" | "refund" | "compensation" | "reward" | "gas" | "deposit" | "release";
|
|
7932
|
+
from?: string | null | undefined;
|
|
7933
|
+
to?: string | null | undefined;
|
|
7934
|
+
}[] | undefined;
|
|
7935
|
+
next_actions?: {
|
|
7936
|
+
action: string;
|
|
7937
|
+
reason: string;
|
|
7938
|
+
priority: "required" | "recommended" | "optional";
|
|
7939
|
+
tool?: string | undefined;
|
|
7940
|
+
prerequisite?: string | undefined;
|
|
7941
|
+
}[] | undefined;
|
|
7942
|
+
warnings?: string[] | undefined;
|
|
7943
|
+
} | undefined;
|
|
7944
|
+
harness_report?: {
|
|
7945
|
+
verify: {
|
|
7946
|
+
status: "pass" | "warn" | "fail";
|
|
7947
|
+
summary: string;
|
|
7948
|
+
mismatches: {
|
|
7949
|
+
expected: string;
|
|
7950
|
+
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7951
|
+
actual: string;
|
|
7952
|
+
severity: "pass" | "warn" | "fail";
|
|
7953
|
+
detail: string;
|
|
7954
|
+
}[];
|
|
7955
|
+
timestamp: string;
|
|
7956
|
+
};
|
|
7957
|
+
recovery?: {
|
|
7958
|
+
detail: string;
|
|
7959
|
+
strategy: "retry" | "claim_faucet" | "fill_submission" | "recreate" | "switch_account" | "query_and_retry" | "adjust_params" | "escalate_human" | "stop";
|
|
7960
|
+
should_retry: boolean;
|
|
7961
|
+
max_attempts: number;
|
|
7962
|
+
current_attempt: number;
|
|
7963
|
+
adjusted_params?: Record<string, unknown> | undefined;
|
|
7964
|
+
user_prompt?: string | undefined;
|
|
7965
|
+
} | undefined;
|
|
7966
|
+
} | undefined;
|
|
6922
7967
|
}>;
|
|
6923
7968
|
export type NormalObject = z.infer<typeof NormalObjectSchema>;
|
|
6924
7969
|
export type NamedObject = z.infer<typeof NamedObjectSchema>;
|
|
@@ -6939,3 +7984,12 @@ export type TypedDescriptionObject = z.infer<typeof TypedDescriptionObjectSchema
|
|
|
6939
7984
|
export type WithPermissionObject = z.infer<typeof WithPermissionObjectSchema>;
|
|
6940
7985
|
export type CallResult = z.infer<typeof CallResultSchema>;
|
|
6941
7986
|
export type CallOutput = z.infer<typeof CallOutputSchema>;
|
|
7987
|
+
export type ObjectRole = z.infer<typeof ObjectRoleSchema>;
|
|
7988
|
+
export type FundRole = z.infer<typeof FundRoleSchema>;
|
|
7989
|
+
export type NextAction = z.infer<typeof NextActionSchema>;
|
|
7990
|
+
export type EventSemantic = z.infer<typeof EventSemanticSchema>;
|
|
7991
|
+
export type SemanticSummary = z.infer<typeof SemanticSummarySchema>;
|
|
7992
|
+
export type VerifyMismatch = z.infer<typeof VerifyMismatchSchema>;
|
|
7993
|
+
export type VerifyReport = z.infer<typeof VerifyReportSchema>;
|
|
7994
|
+
export type RecoveryAction = z.infer<typeof RecoveryActionSchema>;
|
|
7995
|
+
export type HarnessReport = z.infer<typeof HarnessReportSchema>;
|