@wowok/agent-mcp 2.3.16 → 2.3.18

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.
Files changed (106) hide show
  1. package/dist/customer/index.d.ts +9 -0
  2. package/dist/customer/index.js +9 -0
  3. package/dist/customer/industry-risks.d.ts +4 -0
  4. package/dist/customer/industry-risks.js +14 -0
  5. package/dist/customer/user-preferences.d.ts +3 -0
  6. package/dist/customer/user-preferences.js +9 -0
  7. package/dist/experience/realtime-feedback.js +17 -0
  8. package/dist/index.js +360 -273
  9. package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
  10. package/dist/knowledge/acquisition-flywheel.js +9 -0
  11. package/dist/knowledge/guard-ledger.d.ts +19 -0
  12. package/dist/knowledge/guard-ledger.js +219 -0
  13. package/dist/knowledge/guard-puzzle.d.ts +93 -0
  14. package/dist/knowledge/guard-puzzle.js +278 -0
  15. package/dist/knowledge/guard-risk.d.ts +60 -0
  16. package/dist/knowledge/guard-risk.js +474 -0
  17. package/dist/knowledge/guard-translation.d.ts +46 -0
  18. package/dist/knowledge/guard-translation.js +487 -0
  19. package/dist/knowledge/index.d.ts +13 -0
  20. package/dist/knowledge/index.js +13 -0
  21. package/dist/knowledge/industry-registry.d.ts +1 -2
  22. package/dist/knowledge/industry-registry.js +23 -3
  23. package/dist/knowledge/safety-rules.js +61 -0
  24. package/dist/knowledge/tool-constraints.js +12 -22
  25. package/dist/safety/confirm-gate.d.ts +4 -2
  26. package/dist/safety/confirm-gate.js +48 -4
  27. package/dist/schema/call/allocation.d.ts +24 -14
  28. package/dist/schema/call/arbitration.d.ts +142 -132
  29. package/dist/schema/call/base.d.ts +901 -43
  30. package/dist/schema/call/base.js +66 -2
  31. package/dist/schema/call/bridge-handler.js +15 -2
  32. package/dist/schema/call/bridge.d.ts +769 -1
  33. package/dist/schema/call/bridge.js +37 -0
  34. package/dist/schema/call/contact.d.ts +10 -0
  35. package/dist/schema/call/demand.d.ts +10 -0
  36. package/dist/schema/call/guard.d.ts +76 -46
  37. package/dist/schema/call/handler.js +46 -14
  38. package/dist/schema/call/machine.d.ts +158 -138
  39. package/dist/schema/call/order.d.ts +10 -0
  40. package/dist/schema/call/payment.d.ts +10 -0
  41. package/dist/schema/call/permission.d.ts +232 -222
  42. package/dist/schema/call/personal.d.ts +10 -0
  43. package/dist/schema/call/progress.d.ts +10 -0
  44. package/dist/schema/call/proof.d.ts +20 -0
  45. package/dist/schema/call/repository.d.ts +32 -22
  46. package/dist/schema/call/reward.d.ts +10 -0
  47. package/dist/schema/call/semantic.d.ts +9 -2
  48. package/dist/schema/call/semantic.js +409 -21
  49. package/dist/schema/call/service.d.ts +20 -10
  50. package/dist/schema/call/treasury.d.ts +10 -0
  51. package/dist/schema/config/index.d.ts +18 -0
  52. package/dist/schema/config/index.js +17 -0
  53. package/dist/schema/index.d.ts +6 -0
  54. package/dist/schema/index.js +5 -0
  55. package/dist/schema/local/index.d.ts +9 -9
  56. package/dist/schema/local/index.js +9 -0
  57. package/dist/schema/messenger/index.d.ts +350 -29
  58. package/dist/schema/messenger/index.js +17 -17
  59. package/dist/schema/operations.d.ts +1667 -545
  60. package/dist/schema/operations.js +91 -96
  61. package/dist/schema/project/index.d.ts +21 -0
  62. package/dist/schema/project/index.js +32 -0
  63. package/dist/schema/query/index.d.ts +1074 -168
  64. package/dist/schema/query/index.js +8 -8
  65. package/dist/schema/schema-query/index.d.ts +33 -0
  66. package/dist/schema/schema-query/index.js +36 -0
  67. package/dist/schema/schema-version.d.ts +25 -0
  68. package/dist/schema/schema-version.js +76 -0
  69. package/dist/schema/trust/index.d.ts +407 -0
  70. package/dist/schema/trust/index.js +113 -0
  71. package/dist/schemas/bridge_operation.output.json +224 -0
  72. package/dist/schemas/bridge_operation.schema.json +67 -8
  73. package/dist/schemas/config_operation.output.json +18 -0
  74. package/dist/schemas/config_operation.schema.json +34 -0
  75. package/dist/schemas/guard-node-schema.json +82 -0
  76. package/dist/schemas/guard2file.schema.json +8 -0
  77. package/dist/schemas/index.json +19 -1
  78. package/dist/schemas/machineNode2file.schema.json +8 -0
  79. package/dist/schemas/messenger_operation.output.json +224 -0
  80. package/dist/schemas/onchain_events.output.json +718 -0
  81. package/dist/schemas/onchain_operations.output.json +277 -2
  82. package/dist/schemas/onchain_operations.schema.json +19 -16
  83. package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
  84. package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
  85. package/dist/schemas/onchain_operations_contact.schema.json +8 -0
  86. package/dist/schemas/onchain_operations_demand.schema.json +8 -0
  87. package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
  88. package/dist/schemas/onchain_operations_guard.schema.json +11 -16
  89. package/dist/schemas/onchain_operations_machine.schema.json +8 -0
  90. package/dist/schemas/onchain_operations_order.schema.json +8 -0
  91. package/dist/schemas/onchain_operations_payment.schema.json +8 -0
  92. package/dist/schemas/onchain_operations_permission.schema.json +8 -0
  93. package/dist/schemas/onchain_operations_personal.schema.json +8 -0
  94. package/dist/schemas/onchain_operations_progress.schema.json +8 -0
  95. package/dist/schemas/onchain_operations_repository.schema.json +8 -0
  96. package/dist/schemas/onchain_operations_reward.schema.json +8 -0
  97. package/dist/schemas/onchain_operations_service.schema.json +8 -0
  98. package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
  99. package/dist/schemas/onchain_table_data.output.json +718 -0
  100. package/dist/schemas/project_operation.output.json +18 -0
  101. package/dist/schemas/project_operation.schema.json +42 -0
  102. package/dist/schemas/query_toolkit.schema.json +360 -368
  103. package/dist/schemas/schema_query.schema.json +6 -3
  104. package/dist/schemas/trust_score.output.json +327 -0
  105. package/dist/schemas/trust_score.schema.json +46 -0
  106. package/package.json +2 -2
@@ -693,6 +693,28 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
693
693
  onChain?: boolean | undefined;
694
694
  } | undefined;
695
695
  } | undefined;
696
+ usage_guard?: string | null | undefined;
697
+ voting_guard?: {
698
+ op: "set" | "add";
699
+ guards: {
700
+ guard: string;
701
+ vote_weight: {
702
+ GuardIdentifier: number;
703
+ } | {
704
+ FixedValue: number;
705
+ };
706
+ }[];
707
+ } | {
708
+ op: "remove";
709
+ guards: string[];
710
+ } | {
711
+ op: "clear";
712
+ } | undefined;
713
+ vote?: {
714
+ arb: string;
715
+ votes: number[];
716
+ voting_guard?: string | undefined;
717
+ } | undefined;
696
718
  location?: string | undefined;
697
719
  owner_receive?: {
698
720
  received: {
@@ -713,23 +735,6 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
713
735
  arb: string;
714
736
  feedback: string;
715
737
  } | undefined;
716
- voting_guard?: {
717
- op: "set" | "add";
718
- guards: {
719
- guard: string;
720
- vote_weight: {
721
- GuardIdentifier: number;
722
- } | {
723
- FixedValue: number;
724
- };
725
- }[];
726
- } | {
727
- op: "remove";
728
- guards: string[];
729
- } | {
730
- op: "clear";
731
- } | undefined;
732
- usage_guard?: string | null | undefined;
733
738
  confirm?: {
734
739
  arb: string;
735
740
  voting_deadline: number | null;
@@ -738,11 +743,6 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
738
743
  arb: string;
739
744
  voting_deadline: number | null;
740
745
  } | undefined;
741
- vote?: {
742
- arb: string;
743
- votes: number[];
744
- voting_guard?: string | undefined;
745
- } | undefined;
746
746
  arb_withdraw?: {
747
747
  arb: string;
748
748
  } | undefined;
@@ -803,6 +803,28 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
803
803
  onChain?: boolean | undefined;
804
804
  } | undefined;
805
805
  } | undefined;
806
+ usage_guard?: string | null | undefined;
807
+ voting_guard?: {
808
+ op: "set" | "add";
809
+ guards: {
810
+ guard: string;
811
+ vote_weight: {
812
+ GuardIdentifier: number;
813
+ } | {
814
+ FixedValue: number;
815
+ };
816
+ }[];
817
+ } | {
818
+ op: "remove";
819
+ guards: string[];
820
+ } | {
821
+ op: "clear";
822
+ } | undefined;
823
+ vote?: {
824
+ arb: string;
825
+ votes: number[];
826
+ voting_guard?: string | undefined;
827
+ } | undefined;
806
828
  location?: string | undefined;
807
829
  owner_receive?: {
808
830
  received: {
@@ -823,23 +845,6 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
823
845
  arb: string;
824
846
  feedback: string;
825
847
  } | undefined;
826
- voting_guard?: {
827
- op: "set" | "add";
828
- guards: {
829
- guard: string;
830
- vote_weight: {
831
- GuardIdentifier: number;
832
- } | {
833
- FixedValue: number;
834
- };
835
- }[];
836
- } | {
837
- op: "remove";
838
- guards: string[];
839
- } | {
840
- op: "clear";
841
- } | undefined;
842
- usage_guard?: string | null | undefined;
843
848
  confirm?: {
844
849
  arb: string;
845
850
  voting_deadline: number | null;
@@ -848,11 +853,6 @@ export declare const CallArbitration_DataSchema: z.ZodObject<{
848
853
  arb: string;
849
854
  voting_deadline: number | null;
850
855
  } | undefined;
851
- vote?: {
852
- arb: string;
853
- votes: number[];
854
- voting_guard?: string | undefined;
855
- } | undefined;
856
856
  arb_withdraw?: {
857
857
  arb: string;
858
858
  } | undefined;
@@ -1288,6 +1288,28 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1288
1288
  onChain?: boolean | undefined;
1289
1289
  } | undefined;
1290
1290
  } | undefined;
1291
+ usage_guard?: string | null | undefined;
1292
+ voting_guard?: {
1293
+ op: "set" | "add";
1294
+ guards: {
1295
+ guard: string;
1296
+ vote_weight: {
1297
+ GuardIdentifier: number;
1298
+ } | {
1299
+ FixedValue: number;
1300
+ };
1301
+ }[];
1302
+ } | {
1303
+ op: "remove";
1304
+ guards: string[];
1305
+ } | {
1306
+ op: "clear";
1307
+ } | undefined;
1308
+ vote?: {
1309
+ arb: string;
1310
+ votes: number[];
1311
+ voting_guard?: string | undefined;
1312
+ } | undefined;
1291
1313
  location?: string | undefined;
1292
1314
  owner_receive?: {
1293
1315
  received: {
@@ -1308,23 +1330,6 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1308
1330
  arb: string;
1309
1331
  feedback: string;
1310
1332
  } | undefined;
1311
- voting_guard?: {
1312
- op: "set" | "add";
1313
- guards: {
1314
- guard: string;
1315
- vote_weight: {
1316
- GuardIdentifier: number;
1317
- } | {
1318
- FixedValue: number;
1319
- };
1320
- }[];
1321
- } | {
1322
- op: "remove";
1323
- guards: string[];
1324
- } | {
1325
- op: "clear";
1326
- } | undefined;
1327
- usage_guard?: string | null | undefined;
1328
1333
  confirm?: {
1329
1334
  arb: string;
1330
1335
  voting_deadline: number | null;
@@ -1333,11 +1338,6 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1333
1338
  arb: string;
1334
1339
  voting_deadline: number | null;
1335
1340
  } | undefined;
1336
- vote?: {
1337
- arb: string;
1338
- votes: number[];
1339
- voting_guard?: string | undefined;
1340
- } | undefined;
1341
1341
  arb_withdraw?: {
1342
1342
  arb: string;
1343
1343
  } | undefined;
@@ -1398,6 +1398,28 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1398
1398
  onChain?: boolean | undefined;
1399
1399
  } | undefined;
1400
1400
  } | undefined;
1401
+ usage_guard?: string | null | undefined;
1402
+ voting_guard?: {
1403
+ op: "set" | "add";
1404
+ guards: {
1405
+ guard: string;
1406
+ vote_weight: {
1407
+ GuardIdentifier: number;
1408
+ } | {
1409
+ FixedValue: number;
1410
+ };
1411
+ }[];
1412
+ } | {
1413
+ op: "remove";
1414
+ guards: string[];
1415
+ } | {
1416
+ op: "clear";
1417
+ } | undefined;
1418
+ vote?: {
1419
+ arb: string;
1420
+ votes: number[];
1421
+ voting_guard?: string | undefined;
1422
+ } | undefined;
1401
1423
  location?: string | undefined;
1402
1424
  owner_receive?: {
1403
1425
  received: {
@@ -1418,23 +1440,6 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1418
1440
  arb: string;
1419
1441
  feedback: string;
1420
1442
  } | undefined;
1421
- voting_guard?: {
1422
- op: "set" | "add";
1423
- guards: {
1424
- guard: string;
1425
- vote_weight: {
1426
- GuardIdentifier: number;
1427
- } | {
1428
- FixedValue: number;
1429
- };
1430
- }[];
1431
- } | {
1432
- op: "remove";
1433
- guards: string[];
1434
- } | {
1435
- op: "clear";
1436
- } | undefined;
1437
- usage_guard?: string | null | undefined;
1438
1443
  confirm?: {
1439
1444
  arb: string;
1440
1445
  voting_deadline: number | null;
@@ -1443,11 +1448,6 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1443
1448
  arb: string;
1444
1449
  voting_deadline: number | null;
1445
1450
  } | undefined;
1446
- vote?: {
1447
- arb: string;
1448
- votes: number[];
1449
- voting_guard?: string | undefined;
1450
- } | undefined;
1451
1451
  arb_withdraw?: {
1452
1452
  arb: string;
1453
1453
  } | undefined;
@@ -1476,6 +1476,8 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1476
1476
  confirmed: z.ZodOptional<z.ZodBoolean>;
1477
1477
  user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1478
1478
  project: z.ZodOptional<z.ZodString>;
1479
+ client_schema_version: z.ZodOptional<z.ZodString>;
1480
+ schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
1479
1481
  }, "strict", z.ZodTypeAny, {
1480
1482
  account: string;
1481
1483
  no_cache?: boolean | undefined;
@@ -1485,6 +1487,8 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1485
1487
  confirmed?: boolean | undefined;
1486
1488
  user_intent_phrases?: string[] | undefined;
1487
1489
  project?: string | undefined;
1490
+ client_schema_version?: string | undefined;
1491
+ schema_strict_mode?: boolean | undefined;
1488
1492
  }, {
1489
1493
  no_cache?: boolean | undefined;
1490
1494
  network?: import("@wowok/wowok").ENTRYPOINT | undefined;
@@ -1494,6 +1498,8 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1494
1498
  confirmed?: boolean | undefined;
1495
1499
  user_intent_phrases?: string[] | undefined;
1496
1500
  project?: string | undefined;
1501
+ client_schema_version?: string | undefined;
1502
+ schema_strict_mode?: boolean | undefined;
1497
1503
  }>>;
1498
1504
  submission: z.ZodOptional<z.ZodObject<{
1499
1505
  type: z.ZodLiteral<"submission">;
@@ -1718,6 +1724,28 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1718
1724
  onChain?: boolean | undefined;
1719
1725
  } | undefined;
1720
1726
  } | undefined;
1727
+ usage_guard?: string | null | undefined;
1728
+ voting_guard?: {
1729
+ op: "set" | "add";
1730
+ guards: {
1731
+ guard: string;
1732
+ vote_weight: {
1733
+ GuardIdentifier: number;
1734
+ } | {
1735
+ FixedValue: number;
1736
+ };
1737
+ }[];
1738
+ } | {
1739
+ op: "remove";
1740
+ guards: string[];
1741
+ } | {
1742
+ op: "clear";
1743
+ } | undefined;
1744
+ vote?: {
1745
+ arb: string;
1746
+ votes: number[];
1747
+ voting_guard?: string | undefined;
1748
+ } | undefined;
1721
1749
  location?: string | undefined;
1722
1750
  owner_receive?: {
1723
1751
  received: {
@@ -1738,23 +1766,6 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1738
1766
  arb: string;
1739
1767
  feedback: string;
1740
1768
  } | undefined;
1741
- voting_guard?: {
1742
- op: "set" | "add";
1743
- guards: {
1744
- guard: string;
1745
- vote_weight: {
1746
- GuardIdentifier: number;
1747
- } | {
1748
- FixedValue: number;
1749
- };
1750
- }[];
1751
- } | {
1752
- op: "remove";
1753
- guards: string[];
1754
- } | {
1755
- op: "clear";
1756
- } | undefined;
1757
- usage_guard?: string | null | undefined;
1758
1769
  confirm?: {
1759
1770
  arb: string;
1760
1771
  voting_deadline: number | null;
@@ -1763,11 +1774,6 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1763
1774
  arb: string;
1764
1775
  voting_deadline: number | null;
1765
1776
  } | undefined;
1766
- vote?: {
1767
- arb: string;
1768
- votes: number[];
1769
- voting_guard?: string | undefined;
1770
- } | undefined;
1771
1777
  arb_withdraw?: {
1772
1778
  arb: string;
1773
1779
  } | undefined;
@@ -1823,6 +1829,8 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1823
1829
  confirmed?: boolean | undefined;
1824
1830
  user_intent_phrases?: string[] | undefined;
1825
1831
  project?: string | undefined;
1832
+ client_schema_version?: string | undefined;
1833
+ schema_strict_mode?: boolean | undefined;
1826
1834
  } | undefined;
1827
1835
  }, {
1828
1836
  data: {
@@ -1867,6 +1875,28 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1867
1875
  onChain?: boolean | undefined;
1868
1876
  } | undefined;
1869
1877
  } | undefined;
1878
+ usage_guard?: string | null | undefined;
1879
+ voting_guard?: {
1880
+ op: "set" | "add";
1881
+ guards: {
1882
+ guard: string;
1883
+ vote_weight: {
1884
+ GuardIdentifier: number;
1885
+ } | {
1886
+ FixedValue: number;
1887
+ };
1888
+ }[];
1889
+ } | {
1890
+ op: "remove";
1891
+ guards: string[];
1892
+ } | {
1893
+ op: "clear";
1894
+ } | undefined;
1895
+ vote?: {
1896
+ arb: string;
1897
+ votes: number[];
1898
+ voting_guard?: string | undefined;
1899
+ } | undefined;
1870
1900
  location?: string | undefined;
1871
1901
  owner_receive?: {
1872
1902
  received: {
@@ -1887,23 +1917,6 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1887
1917
  arb: string;
1888
1918
  feedback: string;
1889
1919
  } | undefined;
1890
- voting_guard?: {
1891
- op: "set" | "add";
1892
- guards: {
1893
- guard: string;
1894
- vote_weight: {
1895
- GuardIdentifier: number;
1896
- } | {
1897
- FixedValue: number;
1898
- };
1899
- }[];
1900
- } | {
1901
- op: "remove";
1902
- guards: string[];
1903
- } | {
1904
- op: "clear";
1905
- } | undefined;
1906
- usage_guard?: string | null | undefined;
1907
1920
  confirm?: {
1908
1921
  arb: string;
1909
1922
  voting_deadline: number | null;
@@ -1912,11 +1925,6 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1912
1925
  arb: string;
1913
1926
  voting_deadline: number | null;
1914
1927
  } | undefined;
1915
- vote?: {
1916
- arb: string;
1917
- votes: number[];
1918
- voting_guard?: string | undefined;
1919
- } | undefined;
1920
1928
  arb_withdraw?: {
1921
1929
  arb: string;
1922
1930
  } | undefined;
@@ -1972,6 +1980,8 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
1972
1980
  confirmed?: boolean | undefined;
1973
1981
  user_intent_phrases?: string[] | undefined;
1974
1982
  project?: string | undefined;
1983
+ client_schema_version?: string | undefined;
1984
+ schema_strict_mode?: boolean | undefined;
1975
1985
  } | undefined;
1976
1986
  }>;
1977
1987
  export type Dispute = z.infer<typeof DisputeSchema>;