@unstable-dev/unmeshed-mcp 0.1.0
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 +64 -0
- package/dist/auth.d.ts +6 -0
- package/dist/auth.js +11 -0
- package/dist/client.d.ts +46 -0
- package/dist/client.js +97 -0
- package/dist/config.d.ts +10 -0
- package/dist/config.js +31 -0
- package/dist/get-docs.d.ts +8 -0
- package/dist/get-docs.js +64 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +35 -0
- package/dist/server.d.ts +4 -0
- package/dist/server.js +203 -0
- package/knowledge/README.md +16 -0
- package/knowledge/SKILL.md +359 -0
- package/knowledge/assets/patterns.md +637 -0
- package/knowledge/execution/debugging-guide.md +18 -0
- package/knowledge/execution/process-run.schema.md +24 -0
- package/knowledge/execution/step-run.schema.md +21 -0
- package/knowledge/process-definition.schema.md +36 -0
- package/knowledge/references/integrations.md +914 -0
- package/knowledge/references/steps-knowledge.md +834 -0
- package/knowledge/step-definition.schema.md +140 -0
- package/knowledge/step-output-paths.md +45 -0
- package/knowledge/steps/DECISION_ENGINE.md +248 -0
- package/knowledge/steps/DEPENDSON.md +296 -0
- package/knowledge/steps/EXIT.md +220 -0
- package/knowledge/steps/FAIL.md +198 -0
- package/knowledge/steps/FLOW_GATEWAY.md +405 -0
- package/knowledge/steps/FOREACH.md +250 -0
- package/knowledge/steps/HTTP.md +183 -0
- package/knowledge/steps/JAVASCRIPT.md +192 -0
- package/knowledge/steps/JQ.md +189 -0
- package/knowledge/steps/LIST.md +279 -0
- package/knowledge/steps/NOOP.md +165 -0
- package/knowledge/steps/PARALLEL.md +366 -0
- package/knowledge/steps/PYTHON.md +206 -0
- package/knowledge/steps/SEND_RESPONSE.md +301 -0
- package/knowledge/steps/SQLITE.md +301 -0
- package/knowledge/steps/SUB_PROCESS.md +296 -0
- package/knowledge/steps/SWITCH.md +369 -0
- package/knowledge/steps/UPDATE_STEP.md +257 -0
- package/knowledge/steps/WAIT.md +218 -0
- package/knowledge/steps/WHILE.md +328 -0
- package/knowledge/steps/WORKER.md +233 -0
- package/knowledge/system-prompt.md +274 -0
- package/package.json +39 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Step Run Schema
|
|
2
|
+
|
|
3
|
+
Use step run records to diagnose process execution issues.
|
|
4
|
+
|
|
5
|
+
Step run records can include:
|
|
6
|
+
- Step ref
|
|
7
|
+
- Step name
|
|
8
|
+
- Step type
|
|
9
|
+
- Status
|
|
10
|
+
- Input used at runtime
|
|
11
|
+
- Output produced at runtime
|
|
12
|
+
- Error or failure details
|
|
13
|
+
- Start/end/update timestamps
|
|
14
|
+
|
|
15
|
+
Debugging rules:
|
|
16
|
+
- Find the first failed step by status.
|
|
17
|
+
- Compare the failed step's input and script/configuration with previous step outputs.
|
|
18
|
+
- For script failures, verify every `steps.<ref>.output...` path.
|
|
19
|
+
- For HTTP-related failures, inspect the HTTP step's `output.response` and `output.statusCode`.
|
|
20
|
+
- Explain the user-facing root cause and the exact workflow edit needed.
|
|
21
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Process Definition Schema
|
|
2
|
+
|
|
3
|
+
Use this contract when creating or updating an Unmeshed process definition.
|
|
4
|
+
|
|
5
|
+
Required top-level shape:
|
|
6
|
+
|
|
7
|
+
```json
|
|
8
|
+
{
|
|
9
|
+
"orgId": 1,
|
|
10
|
+
"namespace": "default",
|
|
11
|
+
"name": "kebab-case-name",
|
|
12
|
+
"version": 1,
|
|
13
|
+
"type": "API_ORCHESTRATION",
|
|
14
|
+
"description": "What this workflow does",
|
|
15
|
+
"configuration": null,
|
|
16
|
+
"steps": [],
|
|
17
|
+
"defaultInput": null,
|
|
18
|
+
"defaultOutput": null,
|
|
19
|
+
"outputMapping": null,
|
|
20
|
+
"signature": null,
|
|
21
|
+
"metadata": null,
|
|
22
|
+
"tags": null,
|
|
23
|
+
"dependencies": null,
|
|
24
|
+
"dependents": null
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Rules:
|
|
29
|
+
- `name` should be a stable kebab-case workflow identifier.
|
|
30
|
+
- `namespace` defaults to `default` when the user does not specify one.
|
|
31
|
+
- `type` should be `API_ORCHESTRATION` unless the user explicitly needs a different supported process type.
|
|
32
|
+
- `steps` must contain valid step definitions using the shared step schema.
|
|
33
|
+
- `ref` values must be unique across all steps, including nested children.
|
|
34
|
+
- Do not invent unsupported top-level fields.
|
|
35
|
+
- Prefer a valid executable definition over pseudo-JSON.
|
|
36
|
+
|