@wowok/agent-mcp 2.5.0 → 2.5.1
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/schema/project/index.d.ts +20 -0
- package/dist/schema/project/index.js +15 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +0 -16
- package/dist/schemas/onchain_operations_guard.schema.json +0 -515
- package/dist/schemas/onchain_operations_payment.schema.json +0 -515
- package/dist/schemas/onchain_operations_permission.schema.json +0 -515
- package/dist/schemas/onchain_operations_personal.schema.json +0 -515
- package/dist/schemas/project_operation.output.json +39 -0
- package/dist/schemas/project_operation.schema.json +1 -1
- package/dist/tools/handlers/project.js +4 -0
- package/dist/tools/index.js +41 -17
- package/package.json +1 -1
|
@@ -589,6 +589,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
589
589
|
}>>;
|
|
590
590
|
overall_completeness: z.ZodEnum<["complete", "partial", "empty"]>;
|
|
591
591
|
next_step: z.ZodString;
|
|
592
|
+
next_action: z.ZodEnum<["aggregate_risks", "none"]>;
|
|
592
593
|
warnings: z.ZodArray<z.ZodString, "many">;
|
|
593
594
|
}, "strict", z.ZodTypeAny, {
|
|
594
595
|
action: "analyze_intent";
|
|
@@ -616,6 +617,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
616
617
|
};
|
|
617
618
|
overall_completeness: "partial" | "complete" | "empty";
|
|
618
619
|
next_step: string;
|
|
620
|
+
next_action: "none" | "aggregate_risks";
|
|
619
621
|
}, {
|
|
620
622
|
action: "analyze_intent";
|
|
621
623
|
warnings: string[];
|
|
@@ -642,6 +644,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
642
644
|
};
|
|
643
645
|
overall_completeness: "partial" | "complete" | "empty";
|
|
644
646
|
next_step: string;
|
|
647
|
+
next_action: "none" | "aggregate_risks";
|
|
645
648
|
}>, z.ZodObject<{
|
|
646
649
|
action: z.ZodLiteral<"aggregate_risks">;
|
|
647
650
|
namespace: z.ZodObject<{
|
|
@@ -739,12 +742,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
739
742
|
calibrated_at: z.ZodNumber;
|
|
740
743
|
warnings: z.ZodArray<z.ZodString, "many">;
|
|
741
744
|
can_proceed: z.ZodBoolean;
|
|
745
|
+
next_action: z.ZodEnum<["generate_deployment_doc", "fix_risks", "none"]>;
|
|
742
746
|
user_action_required: z.ZodString;
|
|
743
747
|
}, "strict", z.ZodTypeAny, {
|
|
744
748
|
status: "RISK_PASSED" | "RISK_BLOCKED" | "RISK_PENDING_CONFIRM" | "RISK_CANCELLED";
|
|
745
749
|
action: "aggregate_risks";
|
|
746
750
|
warnings: string[];
|
|
747
751
|
user_action_required: string;
|
|
752
|
+
next_action: "none" | "generate_deployment_doc" | "fix_risks";
|
|
748
753
|
namespace: {
|
|
749
754
|
version: string;
|
|
750
755
|
prefix: string;
|
|
@@ -783,6 +788,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
783
788
|
action: "aggregate_risks";
|
|
784
789
|
warnings: string[];
|
|
785
790
|
user_action_required: string;
|
|
791
|
+
next_action: "none" | "generate_deployment_doc" | "fix_risks";
|
|
786
792
|
namespace: {
|
|
787
793
|
version: string;
|
|
788
794
|
prefix: string;
|
|
@@ -877,6 +883,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
877
883
|
}[];
|
|
878
884
|
}>>;
|
|
879
885
|
can_proceed: z.ZodBoolean;
|
|
886
|
+
next_action: z.ZodEnum<["trace_substeps", "fix_doc_errors", "none"]>;
|
|
880
887
|
user_action_required: z.ZodString;
|
|
881
888
|
}, "strict", z.ZodTypeAny, {
|
|
882
889
|
markdown: string;
|
|
@@ -889,6 +896,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
889
896
|
};
|
|
890
897
|
action: "generate_deployment_doc";
|
|
891
898
|
user_action_required: string;
|
|
899
|
+
next_action: "none" | "trace_substeps" | "fix_doc_errors";
|
|
892
900
|
can_proceed: boolean;
|
|
893
901
|
validation?: {
|
|
894
902
|
valid: boolean;
|
|
@@ -911,6 +919,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
911
919
|
};
|
|
912
920
|
action: "generate_deployment_doc";
|
|
913
921
|
user_action_required: string;
|
|
922
|
+
next_action: "none" | "trace_substeps" | "fix_doc_errors";
|
|
914
923
|
can_proceed: boolean;
|
|
915
924
|
validation?: {
|
|
916
925
|
valid: boolean;
|
|
@@ -1022,12 +1031,14 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
1022
1031
|
check_id: "D-10";
|
|
1023
1032
|
}>;
|
|
1024
1033
|
can_proceed: z.ZodBoolean;
|
|
1034
|
+
next_action: z.ZodEnum<["deploy", "fix_substeps", "none"]>;
|
|
1025
1035
|
user_action_required: z.ZodString;
|
|
1026
1036
|
}, "strict", z.ZodTypeAny, {
|
|
1027
1037
|
network: "testnet" | "mainnet";
|
|
1028
1038
|
action: "trace_substeps";
|
|
1029
1039
|
user_action_required: string;
|
|
1030
1040
|
topological_order: string[];
|
|
1041
|
+
next_action: "none" | "deploy" | "fix_substeps";
|
|
1031
1042
|
namespace: {
|
|
1032
1043
|
version: string;
|
|
1033
1044
|
prefix: string;
|
|
@@ -1071,6 +1082,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
1071
1082
|
action: "trace_substeps";
|
|
1072
1083
|
user_action_required: string;
|
|
1073
1084
|
topological_order: string[];
|
|
1085
|
+
next_action: "none" | "deploy" | "fix_substeps";
|
|
1074
1086
|
namespace: {
|
|
1075
1087
|
version: string;
|
|
1076
1088
|
prefix: string;
|
|
@@ -1137,11 +1149,13 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
1137
1149
|
};
|
|
1138
1150
|
overall_completeness: "partial" | "complete" | "empty";
|
|
1139
1151
|
next_step: string;
|
|
1152
|
+
next_action: "none" | "aggregate_risks";
|
|
1140
1153
|
} | {
|
|
1141
1154
|
status: "RISK_PASSED" | "RISK_BLOCKED" | "RISK_PENDING_CONFIRM" | "RISK_CANCELLED";
|
|
1142
1155
|
action: "aggregate_risks";
|
|
1143
1156
|
warnings: string[];
|
|
1144
1157
|
user_action_required: string;
|
|
1158
|
+
next_action: "none" | "generate_deployment_doc" | "fix_risks";
|
|
1145
1159
|
namespace: {
|
|
1146
1160
|
version: string;
|
|
1147
1161
|
prefix: string;
|
|
@@ -1186,6 +1200,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
1186
1200
|
};
|
|
1187
1201
|
action: "generate_deployment_doc";
|
|
1188
1202
|
user_action_required: string;
|
|
1203
|
+
next_action: "none" | "trace_substeps" | "fix_doc_errors";
|
|
1189
1204
|
can_proceed: boolean;
|
|
1190
1205
|
validation?: {
|
|
1191
1206
|
valid: boolean;
|
|
@@ -1202,6 +1217,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
1202
1217
|
action: "trace_substeps";
|
|
1203
1218
|
user_action_required: string;
|
|
1204
1219
|
topological_order: string[];
|
|
1220
|
+
next_action: "none" | "deploy" | "fix_substeps";
|
|
1205
1221
|
namespace: {
|
|
1206
1222
|
version: string;
|
|
1207
1223
|
prefix: string;
|
|
@@ -1284,11 +1300,13 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
1284
1300
|
};
|
|
1285
1301
|
overall_completeness: "partial" | "complete" | "empty";
|
|
1286
1302
|
next_step: string;
|
|
1303
|
+
next_action: "none" | "aggregate_risks";
|
|
1287
1304
|
} | {
|
|
1288
1305
|
status: "RISK_PASSED" | "RISK_BLOCKED" | "RISK_PENDING_CONFIRM" | "RISK_CANCELLED";
|
|
1289
1306
|
action: "aggregate_risks";
|
|
1290
1307
|
warnings: string[];
|
|
1291
1308
|
user_action_required: string;
|
|
1309
|
+
next_action: "none" | "generate_deployment_doc" | "fix_risks";
|
|
1292
1310
|
namespace: {
|
|
1293
1311
|
version: string;
|
|
1294
1312
|
prefix: string;
|
|
@@ -1333,6 +1351,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
1333
1351
|
};
|
|
1334
1352
|
action: "generate_deployment_doc";
|
|
1335
1353
|
user_action_required: string;
|
|
1354
|
+
next_action: "none" | "trace_substeps" | "fix_doc_errors";
|
|
1336
1355
|
can_proceed: boolean;
|
|
1337
1356
|
validation?: {
|
|
1338
1357
|
valid: boolean;
|
|
@@ -1349,6 +1368,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
1349
1368
|
action: "trace_substeps";
|
|
1350
1369
|
user_action_required: string;
|
|
1351
1370
|
topological_order: string[];
|
|
1371
|
+
next_action: "none" | "deploy" | "fix_substeps";
|
|
1352
1372
|
namespace: {
|
|
1353
1373
|
version: string;
|
|
1354
1374
|
prefix: string;
|
|
@@ -79,7 +79,9 @@ export const ProjectOperationInputSchema = z
|
|
|
79
79
|
"generate_deployment_doc",
|
|
80
80
|
"trace_substeps",
|
|
81
81
|
])
|
|
82
|
-
.describe("
|
|
82
|
+
.describe("Action to perform. Two categories:\n" +
|
|
83
|
+
"1. Graph Query (10): list_projects, list_objects, shareable, dependencies, referenced_by, pre_publish_check, cross_project_refs, graph_stats, save_graph, load_graph.\n" +
|
|
84
|
+
"2. Project-Based Deployment 5-Stage (4): Call IN ORDER — analyze_intent (Stage 2) → aggregate_risks (Stage 3) → generate_deployment_doc (Stage 4) → trace_substeps (Stage 5). Each action's output includes `next_action` telling you which action to call next. Stage 1 (Project Naming) uses the `project` + `version` params."),
|
|
83
85
|
project: z
|
|
84
86
|
.string()
|
|
85
87
|
.optional()
|
|
@@ -277,6 +279,9 @@ const AnalyzeIntentResultSchema = z
|
|
|
277
279
|
puzzles: z.record(z.string(), PuzzleEntrySchema),
|
|
278
280
|
overall_completeness: z.enum(["complete", "partial", "empty"]),
|
|
279
281
|
next_step: z.string(),
|
|
282
|
+
next_action: z
|
|
283
|
+
.enum(["aggregate_risks", "none"])
|
|
284
|
+
.describe("Next project_operation action to call. 'aggregate_risks' when puzzles are complete enough; 'none' if user must fill missing fields first."),
|
|
280
285
|
warnings: z.array(z.string()),
|
|
281
286
|
})
|
|
282
287
|
.strict();
|
|
@@ -330,6 +335,9 @@ const AggregateRisksResultSchema = z
|
|
|
330
335
|
can_proceed: z
|
|
331
336
|
.boolean()
|
|
332
337
|
.describe("Whether the user can proceed to the next stage. False only when CRITICAL risks exist."),
|
|
338
|
+
next_action: z
|
|
339
|
+
.enum(["generate_deployment_doc", "fix_risks", "none"])
|
|
340
|
+
.describe("Next project_operation action. 'generate_deployment_doc' when can_proceed=true; 'fix_risks' when CRITICAL risks exist; 'none' for other cases."),
|
|
333
341
|
user_action_required: z
|
|
334
342
|
.string()
|
|
335
343
|
.describe("Human-readable next-step guidance."),
|
|
@@ -362,6 +370,9 @@ const GenerateDeploymentDocResultSchema = z
|
|
|
362
370
|
can_proceed: z
|
|
363
371
|
.boolean()
|
|
364
372
|
.describe("Whether the user can proceed to stage 5. False when D-errors exist."),
|
|
373
|
+
next_action: z
|
|
374
|
+
.enum(["trace_substeps", "fix_doc_errors", "none"])
|
|
375
|
+
.describe("Next project_operation action. 'trace_substeps' when can_proceed=true; 'fix_doc_errors' when D-errors exist; 'none' for other cases."),
|
|
365
376
|
user_action_required: z.string(),
|
|
366
377
|
})
|
|
367
378
|
.strict();
|
|
@@ -412,6 +423,9 @@ const TraceSubstepsResultSchema = z
|
|
|
412
423
|
can_proceed: z
|
|
413
424
|
.boolean()
|
|
414
425
|
.describe("Whether deployment can complete. False when D-10 fails or substeps FAILED."),
|
|
426
|
+
next_action: z
|
|
427
|
+
.enum(["deploy", "fix_substeps", "none"])
|
|
428
|
+
.describe("Next action. 'deploy' when can_proceed=true (execute substeps via onchain_operations); 'fix_substeps' when issues exist; 'none' when done."),
|
|
415
429
|
user_action_required: z.string(),
|
|
416
430
|
})
|
|
417
431
|
.strict();
|
package/dist/schemas/index.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "WoWok MCP Schema Index",
|
|
4
4
|
"description": "Index of all available JSON schemas for WoWok MCP tools",
|
|
5
|
-
"generatedAt": "2026-07-
|
|
5
|
+
"generatedAt": "2026-07-21T13:52:06.712Z",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
8
8
|
"name": "onchain_operations",
|
|
@@ -253,10 +253,6 @@
|
|
|
253
253
|
"env": {
|
|
254
254
|
"$ref": "#/definitions/env",
|
|
255
255
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
256
|
-
},
|
|
257
|
-
"submission": {
|
|
258
|
-
"$ref": "#/definitions/submission",
|
|
259
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
260
256
|
}
|
|
261
257
|
},
|
|
262
258
|
"required": [
|
|
@@ -340,10 +336,6 @@
|
|
|
340
336
|
"env": {
|
|
341
337
|
"$ref": "#/definitions/env",
|
|
342
338
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
343
|
-
},
|
|
344
|
-
"submission": {
|
|
345
|
-
"$ref": "#/definitions/submission",
|
|
346
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
347
339
|
}
|
|
348
340
|
},
|
|
349
341
|
"required": [
|
|
@@ -366,10 +358,6 @@
|
|
|
366
358
|
"env": {
|
|
367
359
|
"$ref": "#/definitions/env",
|
|
368
360
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
369
|
-
},
|
|
370
|
-
"submission": {
|
|
371
|
-
"$ref": "#/definitions/submission",
|
|
372
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
373
361
|
}
|
|
374
362
|
},
|
|
375
363
|
"required": [
|
|
@@ -392,10 +380,6 @@
|
|
|
392
380
|
"env": {
|
|
393
381
|
"$ref": "#/definitions/env",
|
|
394
382
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
395
|
-
},
|
|
396
|
-
"submission": {
|
|
397
|
-
"$ref": "#/definitions/submission",
|
|
398
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
399
383
|
}
|
|
400
384
|
},
|
|
401
385
|
"required": [
|