@kadoa/mcp 0.2.0 → 0.2.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/README.md +1 -1
- package/dist/index.js +3 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -136,7 +136,7 @@ to retrieve the extracted records and display them as a table.
|
|
|
136
136
|
> You: List my workflows.
|
|
137
137
|
|
|
138
138
|
Claude calls list_workflows and shows all workflows with their
|
|
139
|
-
current status (
|
|
139
|
+
current status (complete, running, failed, paused, scheduled, etc.).
|
|
140
140
|
|
|
141
141
|
> You: Update wf_abc123 — add an "availability" field to the schema
|
|
142
142
|
and rename "cost" to "price".
|
package/dist/index.js
CHANGED
|
@@ -49008,7 +49008,7 @@ function registerTools(server, client) {
|
|
|
49008
49008
|
description: "List all workflows with their current status",
|
|
49009
49009
|
inputSchema: {
|
|
49010
49010
|
limit: exports_external.number().optional().describe("Maximum number of workflows to return"),
|
|
49011
|
-
state: exports_external.enum(["ACTIVE", "PAUSED", "PREVIEW"]).optional().describe("Filter by state (ACTIVE, PAUSED, PREVIEW)")
|
|
49011
|
+
state: exports_external.enum(["ACTIVE", "FAILED", "PAUSED", "PREVIEW"]).optional().describe("Filter by state (ACTIVE, FAILED, PAUSED, PREVIEW)")
|
|
49012
49012
|
},
|
|
49013
49013
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true }
|
|
49014
49014
|
}, withErrorHandling("list_workflows", async (args) => {
|
|
@@ -49020,8 +49020,7 @@ function registerTools(server, client) {
|
|
|
49020
49020
|
workflows: workflows.map((w) => ({
|
|
49021
49021
|
id: w.id,
|
|
49022
49022
|
name: w.name,
|
|
49023
|
-
|
|
49024
|
-
displayState: w.displayState,
|
|
49023
|
+
status: w.displayState ?? w.state,
|
|
49025
49024
|
urls: w.urls,
|
|
49026
49025
|
totalRecords: w.totalRecords,
|
|
49027
49026
|
startedAt: w.startedAt,
|
|
@@ -49042,15 +49041,13 @@ function registerTools(server, client) {
|
|
|
49042
49041
|
return jsonResult({
|
|
49043
49042
|
id: workflow.id,
|
|
49044
49043
|
name: workflow.name,
|
|
49045
|
-
|
|
49046
|
-
displayState: workflow.displayState,
|
|
49044
|
+
status: workflow.displayState ?? workflow.state,
|
|
49047
49045
|
urls: workflow.urls,
|
|
49048
49046
|
schema: workflow.schema,
|
|
49049
49047
|
navigationMode: workflow.navigationMode,
|
|
49050
49048
|
totalRecords: workflow.totalRecords,
|
|
49051
49049
|
startedAt: workflow.startedAt,
|
|
49052
49050
|
finishedAt: workflow.finishedAt,
|
|
49053
|
-
runState: workflow.runState,
|
|
49054
49051
|
errors: workflow.errors,
|
|
49055
49052
|
createdAt: workflow.createdAt
|
|
49056
49053
|
});
|