@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.
- package/dist/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +4 -0
- package/dist/customer/industry-risks.js +14 -0
- package/dist/customer/user-preferences.d.ts +3 -0
- package/dist/customer/user-preferences.js +9 -0
- package/dist/experience/realtime-feedback.js +17 -0
- package/dist/index.js +360 -273
- package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
- package/dist/knowledge/acquisition-flywheel.js +9 -0
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +219 -0
- package/dist/knowledge/guard-puzzle.d.ts +93 -0
- package/dist/knowledge/guard-puzzle.js +278 -0
- package/dist/knowledge/guard-risk.d.ts +60 -0
- package/dist/knowledge/guard-risk.js +474 -0
- package/dist/knowledge/guard-translation.d.ts +46 -0
- package/dist/knowledge/guard-translation.js +487 -0
- package/dist/knowledge/index.d.ts +13 -0
- package/dist/knowledge/index.js +13 -0
- package/dist/knowledge/industry-registry.d.ts +1 -2
- package/dist/knowledge/industry-registry.js +23 -3
- package/dist/knowledge/safety-rules.js +61 -0
- package/dist/knowledge/tool-constraints.js +12 -22
- package/dist/safety/confirm-gate.d.ts +4 -2
- package/dist/safety/confirm-gate.js +48 -4
- package/dist/schema/call/allocation.d.ts +24 -14
- package/dist/schema/call/arbitration.d.ts +142 -132
- package/dist/schema/call/base.d.ts +901 -43
- package/dist/schema/call/base.js +66 -2
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +769 -1
- package/dist/schema/call/bridge.js +37 -0
- package/dist/schema/call/contact.d.ts +10 -0
- package/dist/schema/call/demand.d.ts +10 -0
- package/dist/schema/call/guard.d.ts +76 -46
- package/dist/schema/call/handler.js +46 -14
- package/dist/schema/call/machine.d.ts +158 -138
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/payment.d.ts +10 -0
- package/dist/schema/call/permission.d.ts +232 -222
- package/dist/schema/call/personal.d.ts +10 -0
- package/dist/schema/call/progress.d.ts +10 -0
- package/dist/schema/call/proof.d.ts +20 -0
- package/dist/schema/call/repository.d.ts +32 -22
- package/dist/schema/call/reward.d.ts +10 -0
- package/dist/schema/call/semantic.d.ts +9 -2
- package/dist/schema/call/semantic.js +409 -21
- package/dist/schema/call/service.d.ts +20 -10
- package/dist/schema/call/treasury.d.ts +10 -0
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +9 -9
- package/dist/schema/local/index.js +9 -0
- package/dist/schema/messenger/index.d.ts +350 -29
- package/dist/schema/messenger/index.js +17 -17
- package/dist/schema/operations.d.ts +1667 -545
- package/dist/schema/operations.js +91 -96
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +1074 -168
- package/dist/schema/query/index.js +8 -8
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schemas/bridge_operation.output.json +224 -0
- package/dist/schemas/bridge_operation.schema.json +67 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +8 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +224 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +277 -2
- package/dist/schemas/onchain_operations.schema.json +19 -16
- package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
- package/dist/schemas/onchain_operations_guard.schema.json +11 -16
- package/dist/schemas/onchain_operations_machine.schema.json +8 -0
- package/dist/schemas/onchain_operations_order.schema.json +8 -0
- package/dist/schemas/onchain_operations_payment.schema.json +8 -0
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +8 -0
- package/dist/schemas/onchain_operations_repository.schema.json +8 -0
- package/dist/schemas/onchain_operations_reward.schema.json +8 -0
- package/dist/schemas/onchain_operations_service.schema.json +8 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +718 -0
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/package.json +2 -2
|
@@ -1133,6 +1133,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1133
1133
|
}>, "many">;
|
|
1134
1134
|
}, "strip", z.ZodTypeAny, {
|
|
1135
1135
|
description: string;
|
|
1136
|
+
threshold: string | number;
|
|
1136
1137
|
allocators: {
|
|
1137
1138
|
guard: string;
|
|
1138
1139
|
sharing: {
|
|
@@ -1152,9 +1153,9 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1152
1153
|
max?: string | number | null | undefined;
|
|
1153
1154
|
fix?: string | number | undefined;
|
|
1154
1155
|
}[];
|
|
1155
|
-
threshold: string | number;
|
|
1156
1156
|
}, {
|
|
1157
1157
|
description: string;
|
|
1158
|
+
threshold: string | number;
|
|
1158
1159
|
allocators: {
|
|
1159
1160
|
guard: string;
|
|
1160
1161
|
sharing: {
|
|
@@ -1174,7 +1175,6 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1174
1175
|
max?: string | number | null | undefined;
|
|
1175
1176
|
fix?: string | number | undefined;
|
|
1176
1177
|
}[];
|
|
1177
|
-
threshold: string | number;
|
|
1178
1178
|
}>, z.ZodNull]>>;
|
|
1179
1179
|
buy_guard: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
1180
1180
|
compensation_fund_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -1293,6 +1293,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1293
1293
|
machine?: string | null | undefined;
|
|
1294
1294
|
order_allocators?: {
|
|
1295
1295
|
description: string;
|
|
1296
|
+
threshold: string | number;
|
|
1296
1297
|
allocators: {
|
|
1297
1298
|
guard: string;
|
|
1298
1299
|
sharing: {
|
|
@@ -1312,7 +1313,6 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1312
1313
|
max?: string | number | null | undefined;
|
|
1313
1314
|
fix?: string | number | undefined;
|
|
1314
1315
|
}[];
|
|
1315
|
-
threshold: string | number;
|
|
1316
1316
|
} | null | undefined;
|
|
1317
1317
|
sales?: {
|
|
1318
1318
|
op: "add";
|
|
@@ -1485,6 +1485,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1485
1485
|
machine?: string | null | undefined;
|
|
1486
1486
|
order_allocators?: {
|
|
1487
1487
|
description: string;
|
|
1488
|
+
threshold: string | number;
|
|
1488
1489
|
allocators: {
|
|
1489
1490
|
guard: string;
|
|
1490
1491
|
sharing: {
|
|
@@ -1504,7 +1505,6 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1504
1505
|
max?: string | number | null | undefined;
|
|
1505
1506
|
fix?: string | number | undefined;
|
|
1506
1507
|
}[];
|
|
1507
|
-
threshold: string | number;
|
|
1508
1508
|
} | null | undefined;
|
|
1509
1509
|
sales?: {
|
|
1510
1510
|
op: "add";
|
|
@@ -2312,6 +2312,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2312
2312
|
}>, "many">;
|
|
2313
2313
|
}, "strip", z.ZodTypeAny, {
|
|
2314
2314
|
description: string;
|
|
2315
|
+
threshold: string | number;
|
|
2315
2316
|
allocators: {
|
|
2316
2317
|
guard: string;
|
|
2317
2318
|
sharing: {
|
|
@@ -2331,9 +2332,9 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2331
2332
|
max?: string | number | null | undefined;
|
|
2332
2333
|
fix?: string | number | undefined;
|
|
2333
2334
|
}[];
|
|
2334
|
-
threshold: string | number;
|
|
2335
2335
|
}, {
|
|
2336
2336
|
description: string;
|
|
2337
|
+
threshold: string | number;
|
|
2337
2338
|
allocators: {
|
|
2338
2339
|
guard: string;
|
|
2339
2340
|
sharing: {
|
|
@@ -2353,7 +2354,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2353
2354
|
max?: string | number | null | undefined;
|
|
2354
2355
|
fix?: string | number | undefined;
|
|
2355
2356
|
}[];
|
|
2356
|
-
threshold: string | number;
|
|
2357
2357
|
}>, z.ZodNull]>>;
|
|
2358
2358
|
buy_guard: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
2359
2359
|
compensation_fund_add: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2472,6 +2472,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2472
2472
|
machine?: string | null | undefined;
|
|
2473
2473
|
order_allocators?: {
|
|
2474
2474
|
description: string;
|
|
2475
|
+
threshold: string | number;
|
|
2475
2476
|
allocators: {
|
|
2476
2477
|
guard: string;
|
|
2477
2478
|
sharing: {
|
|
@@ -2491,7 +2492,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2491
2492
|
max?: string | number | null | undefined;
|
|
2492
2493
|
fix?: string | number | undefined;
|
|
2493
2494
|
}[];
|
|
2494
|
-
threshold: string | number;
|
|
2495
2495
|
} | null | undefined;
|
|
2496
2496
|
sales?: {
|
|
2497
2497
|
op: "add";
|
|
@@ -2664,6 +2664,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2664
2664
|
machine?: string | null | undefined;
|
|
2665
2665
|
order_allocators?: {
|
|
2666
2666
|
description: string;
|
|
2667
|
+
threshold: string | number;
|
|
2667
2668
|
allocators: {
|
|
2668
2669
|
guard: string;
|
|
2669
2670
|
sharing: {
|
|
@@ -2683,7 +2684,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2683
2684
|
max?: string | number | null | undefined;
|
|
2684
2685
|
fix?: string | number | undefined;
|
|
2685
2686
|
}[];
|
|
2686
|
-
threshold: string | number;
|
|
2687
2687
|
} | null | undefined;
|
|
2688
2688
|
sales?: {
|
|
2689
2689
|
op: "add";
|
|
@@ -2845,6 +2845,8 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2845
2845
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
2846
2846
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2847
2847
|
project: z.ZodOptional<z.ZodString>;
|
|
2848
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
2849
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
2848
2850
|
}, "strict", z.ZodTypeAny, {
|
|
2849
2851
|
account: string;
|
|
2850
2852
|
no_cache?: boolean | undefined;
|
|
@@ -2854,6 +2856,8 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2854
2856
|
confirmed?: boolean | undefined;
|
|
2855
2857
|
user_intent_phrases?: string[] | undefined;
|
|
2856
2858
|
project?: string | undefined;
|
|
2859
|
+
client_schema_version?: string | undefined;
|
|
2860
|
+
schema_strict_mode?: boolean | undefined;
|
|
2857
2861
|
}, {
|
|
2858
2862
|
no_cache?: boolean | undefined;
|
|
2859
2863
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -2863,6 +2867,8 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2863
2867
|
confirmed?: boolean | undefined;
|
|
2864
2868
|
user_intent_phrases?: string[] | undefined;
|
|
2865
2869
|
project?: string | undefined;
|
|
2870
|
+
client_schema_version?: string | undefined;
|
|
2871
|
+
schema_strict_mode?: boolean | undefined;
|
|
2866
2872
|
}>>;
|
|
2867
2873
|
submission: z.ZodOptional<z.ZodObject<{
|
|
2868
2874
|
type: z.ZodLiteral<"submission">;
|
|
@@ -3066,6 +3072,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3066
3072
|
machine?: string | null | undefined;
|
|
3067
3073
|
order_allocators?: {
|
|
3068
3074
|
description: string;
|
|
3075
|
+
threshold: string | number;
|
|
3069
3076
|
allocators: {
|
|
3070
3077
|
guard: string;
|
|
3071
3078
|
sharing: {
|
|
@@ -3085,7 +3092,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3085
3092
|
max?: string | number | null | undefined;
|
|
3086
3093
|
fix?: string | number | undefined;
|
|
3087
3094
|
}[];
|
|
3088
|
-
threshold: string | number;
|
|
3089
3095
|
} | null | undefined;
|
|
3090
3096
|
sales?: {
|
|
3091
3097
|
op: "add";
|
|
@@ -3274,6 +3280,8 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3274
3280
|
confirmed?: boolean | undefined;
|
|
3275
3281
|
user_intent_phrases?: string[] | undefined;
|
|
3276
3282
|
project?: string | undefined;
|
|
3283
|
+
client_schema_version?: string | undefined;
|
|
3284
|
+
schema_strict_mode?: boolean | undefined;
|
|
3277
3285
|
} | undefined;
|
|
3278
3286
|
}, {
|
|
3279
3287
|
data: {
|
|
@@ -3297,6 +3305,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3297
3305
|
machine?: string | null | undefined;
|
|
3298
3306
|
order_allocators?: {
|
|
3299
3307
|
description: string;
|
|
3308
|
+
threshold: string | number;
|
|
3300
3309
|
allocators: {
|
|
3301
3310
|
guard: string;
|
|
3302
3311
|
sharing: {
|
|
@@ -3316,7 +3325,6 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3316
3325
|
max?: string | number | null | undefined;
|
|
3317
3326
|
fix?: string | number | undefined;
|
|
3318
3327
|
}[];
|
|
3319
|
-
threshold: string | number;
|
|
3320
3328
|
} | null | undefined;
|
|
3321
3329
|
sales?: {
|
|
3322
3330
|
op: "add";
|
|
@@ -3505,5 +3513,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3505
3513
|
confirmed?: boolean | undefined;
|
|
3506
3514
|
user_intent_phrases?: string[] | undefined;
|
|
3507
3515
|
project?: string | undefined;
|
|
3516
|
+
client_schema_version?: string | undefined;
|
|
3517
|
+
schema_strict_mode?: boolean | undefined;
|
|
3508
3518
|
} | undefined;
|
|
3509
3519
|
}>;
|
|
@@ -1776,6 +1776,8 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
1776
1776
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
1777
1777
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1778
1778
|
project: z.ZodOptional<z.ZodString>;
|
|
1779
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
1780
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1779
1781
|
}, "strict", z.ZodTypeAny, {
|
|
1780
1782
|
account: string;
|
|
1781
1783
|
no_cache?: boolean | undefined;
|
|
@@ -1785,6 +1787,8 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
1785
1787
|
confirmed?: boolean | undefined;
|
|
1786
1788
|
user_intent_phrases?: string[] | undefined;
|
|
1787
1789
|
project?: string | undefined;
|
|
1790
|
+
client_schema_version?: string | undefined;
|
|
1791
|
+
schema_strict_mode?: boolean | undefined;
|
|
1788
1792
|
}, {
|
|
1789
1793
|
no_cache?: boolean | undefined;
|
|
1790
1794
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -1794,6 +1798,8 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
1794
1798
|
confirmed?: boolean | undefined;
|
|
1795
1799
|
user_intent_phrases?: string[] | undefined;
|
|
1796
1800
|
project?: string | undefined;
|
|
1801
|
+
client_schema_version?: string | undefined;
|
|
1802
|
+
schema_strict_mode?: boolean | undefined;
|
|
1797
1803
|
}>>;
|
|
1798
1804
|
submission: z.ZodOptional<z.ZodObject<{
|
|
1799
1805
|
type: z.ZodLiteral<"submission">;
|
|
@@ -2135,6 +2141,8 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
2135
2141
|
confirmed?: boolean | undefined;
|
|
2136
2142
|
user_intent_phrases?: string[] | undefined;
|
|
2137
2143
|
project?: string | undefined;
|
|
2144
|
+
client_schema_version?: string | undefined;
|
|
2145
|
+
schema_strict_mode?: boolean | undefined;
|
|
2138
2146
|
} | undefined;
|
|
2139
2147
|
}, {
|
|
2140
2148
|
data: {
|
|
@@ -2296,5 +2304,7 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
2296
2304
|
confirmed?: boolean | undefined;
|
|
2297
2305
|
user_intent_phrases?: string[] | undefined;
|
|
2298
2306
|
project?: string | undefined;
|
|
2307
|
+
client_schema_version?: string | undefined;
|
|
2308
|
+
schema_strict_mode?: boolean | undefined;
|
|
2299
2309
|
} | undefined;
|
|
2300
2310
|
}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ConfigOperationInputSchema: z.ZodObject<{
|
|
3
|
+
action: z.ZodEnum<["list", "toggle", "enable", "disable", "reset", "info"]>;
|
|
4
|
+
service: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, "strict", z.ZodTypeAny, {
|
|
6
|
+
action: "reset" | "info" | "list" | "toggle" | "enable" | "disable";
|
|
7
|
+
service?: string | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
action: "reset" | "info" | "list" | "toggle" | "enable" | "disable";
|
|
10
|
+
service?: string | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const ConfigOperationOutputSchema: z.ZodObject<{
|
|
13
|
+
result: z.ZodAny;
|
|
14
|
+
}, "strict", z.ZodTypeAny, {
|
|
15
|
+
result?: any;
|
|
16
|
+
}, {
|
|
17
|
+
result?: any;
|
|
18
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const ConfigOperationInputSchema = z
|
|
3
|
+
.object({
|
|
4
|
+
action: z
|
|
5
|
+
.enum(["list", "toggle", "enable", "disable", "reset", "info"])
|
|
6
|
+
.describe("Config action to perform"),
|
|
7
|
+
service: z
|
|
8
|
+
.string()
|
|
9
|
+
.optional()
|
|
10
|
+
.describe("Service name (required for toggle/enable/disable/reset/info)"),
|
|
11
|
+
})
|
|
12
|
+
.strict();
|
|
13
|
+
export const ConfigOperationOutputSchema = z
|
|
14
|
+
.object({
|
|
15
|
+
result: z.any().describe("Config result — shape depends on action"),
|
|
16
|
+
})
|
|
17
|
+
.strict();
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -6,3 +6,9 @@ export * from './common/index.js';
|
|
|
6
6
|
export * from './operations.js';
|
|
7
7
|
export * from './utils/guard-parser.js';
|
|
8
8
|
export * from './utils/node-parser.js';
|
|
9
|
+
export * from './project/index.js';
|
|
10
|
+
export * from './config/index.js';
|
|
11
|
+
export * from './trust/index.js';
|
|
12
|
+
export * from './schema-query/index.js';
|
|
13
|
+
export { MCP_SCHEMA_VERSION, getSchemaVersions, checkClientSchemaCompatibility, attachSchemaWarning, } from './schema-version.js';
|
|
14
|
+
export type { SchemaVersions, SchemaCompatibilityMode, SchemaCheckOptions, SchemaCheckResult, } from './schema-version.js';
|
package/dist/schema/index.js
CHANGED
|
@@ -6,3 +6,8 @@ export * from './common/index.js';
|
|
|
6
6
|
export * from './operations.js';
|
|
7
7
|
export * from './utils/guard-parser.js';
|
|
8
8
|
export * from './utils/node-parser.js';
|
|
9
|
+
export * from './project/index.js';
|
|
10
|
+
export * from './config/index.js';
|
|
11
|
+
export * from './trust/index.js';
|
|
12
|
+
export * from './schema-query/index.js';
|
|
13
|
+
export { MCP_SCHEMA_VERSION, getSchemaVersions, checkClientSchemaCompatibility, attachSchemaWarning, } from './schema-version.js';
|
|
@@ -7559,7 +7559,7 @@ export declare const LocalMarkOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7559
7559
|
} | undefined;
|
|
7560
7560
|
tags?: string[] | undefined;
|
|
7561
7561
|
}>, "many">;
|
|
7562
|
-
}, "
|
|
7562
|
+
}, "strict", z.ZodTypeAny, {
|
|
7563
7563
|
data: {
|
|
7564
7564
|
address: string;
|
|
7565
7565
|
name?: {
|
|
@@ -7583,7 +7583,7 @@ export declare const LocalMarkOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7583
7583
|
remove: z.ZodOptional<z.ZodObject<{
|
|
7584
7584
|
op: z.ZodLiteral<"remove">;
|
|
7585
7585
|
names: z.ZodArray<z.ZodString, "many">;
|
|
7586
|
-
}, "
|
|
7586
|
+
}, "strict", z.ZodTypeAny, {
|
|
7587
7587
|
op: "remove";
|
|
7588
7588
|
names: string[];
|
|
7589
7589
|
}, {
|
|
@@ -7592,12 +7592,12 @@ export declare const LocalMarkOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7592
7592
|
}>>;
|
|
7593
7593
|
clear: z.ZodOptional<z.ZodObject<{
|
|
7594
7594
|
op: z.ZodLiteral<"clear">;
|
|
7595
|
-
}, "
|
|
7595
|
+
}, "strict", z.ZodTypeAny, {
|
|
7596
7596
|
op: "clear";
|
|
7597
7597
|
}, {
|
|
7598
7598
|
op: "clear";
|
|
7599
7599
|
}>>;
|
|
7600
|
-
}, "
|
|
7600
|
+
}, "strict", z.ZodTypeAny, {
|
|
7601
7601
|
add?: {
|
|
7602
7602
|
data: {
|
|
7603
7603
|
address: string;
|
|
@@ -7770,7 +7770,7 @@ export declare const LocalInfoOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7770
7770
|
updatedAt?: number | undefined;
|
|
7771
7771
|
contents?: string[] | undefined;
|
|
7772
7772
|
}>, "many">;
|
|
7773
|
-
}, "
|
|
7773
|
+
}, "strict", z.ZodTypeAny, {
|
|
7774
7774
|
data: {
|
|
7775
7775
|
name: string;
|
|
7776
7776
|
default: string;
|
|
@@ -7792,7 +7792,7 @@ export declare const LocalInfoOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7792
7792
|
remove: z.ZodOptional<z.ZodObject<{
|
|
7793
7793
|
op: z.ZodLiteral<"remove">;
|
|
7794
7794
|
data: z.ZodArray<z.ZodString, "many">;
|
|
7795
|
-
}, "
|
|
7795
|
+
}, "strict", z.ZodTypeAny, {
|
|
7796
7796
|
data: string[];
|
|
7797
7797
|
op: "remove";
|
|
7798
7798
|
}, {
|
|
@@ -7803,7 +7803,7 @@ export declare const LocalInfoOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7803
7803
|
op: z.ZodLiteral<"reset">;
|
|
7804
7804
|
name: z.ZodString;
|
|
7805
7805
|
contents: z.ZodArray<z.ZodString, "many">;
|
|
7806
|
-
}, "
|
|
7806
|
+
}, "strict", z.ZodTypeAny, {
|
|
7807
7807
|
name: string;
|
|
7808
7808
|
contents: string[];
|
|
7809
7809
|
op: "reset";
|
|
@@ -7814,12 +7814,12 @@ export declare const LocalInfoOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7814
7814
|
}>>;
|
|
7815
7815
|
clear: z.ZodOptional<z.ZodObject<{
|
|
7816
7816
|
op: z.ZodLiteral<"clear">;
|
|
7817
|
-
}, "
|
|
7817
|
+
}, "strict", z.ZodTypeAny, {
|
|
7818
7818
|
op: "clear";
|
|
7819
7819
|
}, {
|
|
7820
7820
|
op: "clear";
|
|
7821
7821
|
}>>;
|
|
7822
|
-
}, "
|
|
7822
|
+
}, "strict", z.ZodTypeAny, {
|
|
7823
7823
|
add?: {
|
|
7824
7824
|
data: {
|
|
7825
7825
|
name: string;
|
|
@@ -665,6 +665,7 @@ export const LocalMarkOperationSchema = z
|
|
|
665
665
|
.min(1)
|
|
666
666
|
.describe("Array of mark data to add (at least 1 item)"),
|
|
667
667
|
})
|
|
668
|
+
.strict()
|
|
668
669
|
.optional()
|
|
669
670
|
.describe("Add one or more marks"),
|
|
670
671
|
remove: z
|
|
@@ -675,15 +676,18 @@ export const LocalMarkOperationSchema = z
|
|
|
675
676
|
.min(1)
|
|
676
677
|
.describe("Array of mark names or addresses to remove"),
|
|
677
678
|
})
|
|
679
|
+
.strict()
|
|
678
680
|
.optional()
|
|
679
681
|
.describe("Remove marks by name or address"),
|
|
680
682
|
clear: z
|
|
681
683
|
.object({
|
|
682
684
|
op: z.literal("clear").describe("Operation type: clear all marks"),
|
|
683
685
|
})
|
|
686
|
+
.strict()
|
|
684
687
|
.optional()
|
|
685
688
|
.describe("Remove all marks"),
|
|
686
689
|
})
|
|
690
|
+
.strict()
|
|
687
691
|
.refine((data) => data.add !== undefined || data.remove !== undefined || data.clear !== undefined, {
|
|
688
692
|
message: "Exactly one operation field (add/remove/clear) must be specified. " +
|
|
689
693
|
"CORRECT format: {add: {op:'add', data:[...]}} or {remove: {op:'remove', names:[...]}} or {clear: {op:'clear'}}. " +
|
|
@@ -706,6 +710,7 @@ export const LocalInfoOperationSchema = z
|
|
|
706
710
|
.min(1)
|
|
707
711
|
.describe("Array of info data to add (at least 1 item)"),
|
|
708
712
|
})
|
|
713
|
+
.strict()
|
|
709
714
|
.optional()
|
|
710
715
|
.describe("Add one or more info entries"),
|
|
711
716
|
remove: z
|
|
@@ -716,6 +721,7 @@ export const LocalInfoOperationSchema = z
|
|
|
716
721
|
.min(1)
|
|
717
722
|
.describe("Array of info names to remove"),
|
|
718
723
|
})
|
|
724
|
+
.strict()
|
|
719
725
|
.optional()
|
|
720
726
|
.describe("Remove info entries by name"),
|
|
721
727
|
reset: z
|
|
@@ -726,15 +732,18 @@ export const LocalInfoOperationSchema = z
|
|
|
726
732
|
.array(z.string())
|
|
727
733
|
.describe("New content list to replace existing contents"),
|
|
728
734
|
})
|
|
735
|
+
.strict()
|
|
729
736
|
.optional()
|
|
730
737
|
.describe("Reset the contents of an existing info entry"),
|
|
731
738
|
clear: z
|
|
732
739
|
.object({
|
|
733
740
|
op: z.literal("clear").describe("Operation type: clear all info"),
|
|
734
741
|
})
|
|
742
|
+
.strict()
|
|
735
743
|
.optional()
|
|
736
744
|
.describe("Remove all info entries"),
|
|
737
745
|
})
|
|
746
|
+
.strict()
|
|
738
747
|
.refine((data) => data.add !== undefined || data.remove !== undefined || data.reset !== undefined || data.clear !== undefined, {
|
|
739
748
|
message: "Exactly one operation field (add/remove/reset/clear) must be specified. " +
|
|
740
749
|
"CORRECT format: {add: {op:'add', data:[...]}} or {remove: {op:'remove', data:[...]}} etc. " +
|