@minicor/mcp-server 3.9.1 → 4.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.
Files changed (102) hide show
  1. package/README.md +145 -100
  2. package/dist/__tests__/dev-mode-draft.test.js +27 -19
  3. package/dist/__tests__/dev-mode-draft.test.js.map +1 -1
  4. package/dist/__tests__/discovery.test.d.ts +2 -0
  5. package/dist/__tests__/discovery.test.d.ts.map +1 -0
  6. package/dist/__tests__/{builder-discovery.test.js → discovery.test.js} +3 -3
  7. package/dist/__tests__/discovery.test.js.map +1 -0
  8. package/dist/__tests__/http-seal.test.d.ts +2 -0
  9. package/dist/__tests__/http-seal.test.d.ts.map +1 -0
  10. package/dist/__tests__/http-seal.test.js +40 -0
  11. package/dist/__tests__/http-seal.test.js.map +1 -0
  12. package/dist/__tests__/http-server.test.d.ts +7 -0
  13. package/dist/__tests__/http-server.test.d.ts.map +1 -0
  14. package/dist/__tests__/http-server.test.js +317 -0
  15. package/dist/__tests__/http-server.test.js.map +1 -0
  16. package/dist/__tests__/jobs-tools.test.d.ts +2 -0
  17. package/dist/__tests__/jobs-tools.test.d.ts.map +1 -0
  18. package/dist/__tests__/jobs-tools.test.js +337 -0
  19. package/dist/__tests__/jobs-tools.test.js.map +1 -0
  20. package/dist/__tests__/laminar-client.test.js +31 -31
  21. package/dist/__tests__/laminar-client.test.js.map +1 -1
  22. package/dist/__tests__/lib-dev-mode.test.js +2 -2
  23. package/dist/__tests__/lib-dev-mode.test.js.map +1 -1
  24. package/dist/__tests__/middleware-service-client.test.js +70 -0
  25. package/dist/__tests__/middleware-service-client.test.js.map +1 -1
  26. package/dist/__tests__/server-surface.test.d.ts +2 -0
  27. package/dist/__tests__/server-surface.test.d.ts.map +1 -0
  28. package/dist/__tests__/{server-profile.test.js → server-surface.test.js} +120 -100
  29. package/dist/__tests__/server-surface.test.js.map +1 -0
  30. package/dist/bootstrap.js +29 -0
  31. package/dist/bootstrap.js.map +1 -1
  32. package/dist/http-oauth.d.ts +60 -0
  33. package/dist/http-oauth.d.ts.map +1 -0
  34. package/dist/http-oauth.js +380 -0
  35. package/dist/http-oauth.js.map +1 -0
  36. package/dist/http-seal.d.ts +17 -0
  37. package/dist/http-seal.d.ts.map +1 -0
  38. package/dist/http-seal.js +63 -0
  39. package/dist/http-seal.js.map +1 -0
  40. package/dist/http-server.d.ts +29 -0
  41. package/dist/http-server.d.ts.map +1 -0
  42. package/dist/http-server.js +229 -0
  43. package/dist/http-server.js.map +1 -0
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/index.js +12 -15
  46. package/dist/index.js.map +1 -1
  47. package/dist/laminar-client.d.ts +11 -14
  48. package/dist/laminar-client.d.ts.map +1 -1
  49. package/dist/laminar-client.js +25 -25
  50. package/dist/laminar-client.js.map +1 -1
  51. package/dist/lib.d.ts +6 -4
  52. package/dist/lib.d.ts.map +1 -1
  53. package/dist/lib.js +10 -10
  54. package/dist/lib.js.map +1 -1
  55. package/dist/middleware-service-client.d.ts +37 -2
  56. package/dist/middleware-service-client.d.ts.map +1 -1
  57. package/dist/middleware-service-client.js +43 -2
  58. package/dist/middleware-service-client.js.map +1 -1
  59. package/dist/prompts/build-rpa.d.ts.map +1 -1
  60. package/dist/prompts/build-rpa.js +2 -0
  61. package/dist/prompts/build-rpa.js.map +1 -1
  62. package/dist/server-surface.d.ts +23 -0
  63. package/dist/server-surface.d.ts.map +1 -0
  64. package/dist/server-surface.js +113 -0
  65. package/dist/server-surface.js.map +1 -0
  66. package/dist/setup.d.ts +1 -1
  67. package/dist/setup.js +3 -9
  68. package/dist/setup.js.map +1 -1
  69. package/dist/sync.js +34 -6
  70. package/dist/sync.js.map +1 -1
  71. package/dist/tools/core.js +1 -1
  72. package/dist/tools/core.js.map +1 -1
  73. package/dist/tools/dev-mode-draft.d.ts.map +1 -1
  74. package/dist/tools/dev-mode-draft.js +63 -49
  75. package/dist/tools/dev-mode-draft.js.map +1 -1
  76. package/dist/tools/{builder-discovery.d.ts → discovery.d.ts} +3 -3
  77. package/dist/tools/discovery.d.ts.map +1 -0
  78. package/dist/tools/{builder-discovery.js → discovery.js} +3 -3
  79. package/dist/tools/discovery.js.map +1 -0
  80. package/dist/tools/jobs.d.ts.map +1 -1
  81. package/dist/tools/jobs.js +296 -3
  82. package/dist/tools/jobs.js.map +1 -1
  83. package/dist/tools/vm.js +1 -1
  84. package/dist/tools/vm.js.map +1 -1
  85. package/package.json +3 -2
  86. package/skills/general/job-build-loop.md +166 -0
  87. package/dist/__tests__/builder-discovery.test.d.ts +0 -2
  88. package/dist/__tests__/builder-discovery.test.d.ts.map +0 -1
  89. package/dist/__tests__/builder-discovery.test.js.map +0 -1
  90. package/dist/__tests__/server-profile.test.d.ts +0 -2
  91. package/dist/__tests__/server-profile.test.d.ts.map +0 -1
  92. package/dist/__tests__/server-profile.test.js.map +0 -1
  93. package/dist/builder-index.d.ts +0 -3
  94. package/dist/builder-index.d.ts.map +0 -1
  95. package/dist/builder-index.js +0 -5
  96. package/dist/builder-index.js.map +0 -1
  97. package/dist/server-profile.d.ts +0 -11
  98. package/dist/server-profile.d.ts.map +0 -1
  99. package/dist/server-profile.js +0 -104
  100. package/dist/server-profile.js.map +0 -1
  101. package/dist/tools/builder-discovery.d.ts.map +0 -1
  102. package/dist/tools/builder-discovery.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minicor/mcp-server",
3
- "version": "3.9.1",
3
+ "version": "4.1.0",
4
4
  "description": "Desktop and browser RPA automation, workflow management, and AI-powered debugging for the Minicor platform. Formerly Laminar.",
5
5
  "type": "module",
6
6
  "main": "dist/lib.js",
@@ -11,7 +11,7 @@
11
11
  "bin": {
12
12
  "mcp-server": "dist/index.js",
13
13
  "minicor-mcp": "dist/index.js",
14
- "minicor-builder-mcp": "dist/builder-index.js",
14
+ "minicor-mcp-http": "dist/http-server.js",
15
15
  "minicor-mcp-setup": "dist/setup.js",
16
16
  "minicor": "dist/cli.js",
17
17
  "laminar-mcp": "dist/index.js",
@@ -35,6 +35,7 @@
35
35
  "build": "tsc",
36
36
  "dev": "tsc --watch",
37
37
  "start": "node dist/index.js",
38
+ "start:http": "node dist/http-server.js",
38
39
  "setup": "node dist/setup.js",
39
40
  "test": "vitest run",
40
41
  "test:watch": "vitest",
@@ -0,0 +1,166 @@
1
+ ---
2
+ name: job-build-loop
3
+ description: The Minicor test-case-first build/debug loop for Jobs. Jobs are the macroscope (test cases, step graph, executions); Dev Mode is the microscope (one workflow's internal flow steps). Prescriptive tool sequences for teaching, building drafts, running the green-gate, drilling failures top-down, step-range replays with seeded ctx, cooperative stop, and publishing. Use EVERY TIME you build or debug a Job.
4
+ category: general
5
+ tags: [jobs, testing, build-loop, debugging, test-cases, mandatory]
6
+ priority: 100
7
+ ---
8
+
9
+ # The Job Build Loop
10
+
11
+ This is the Minicor best practice for building and debugging automations. It mirrors the
12
+ platform's Jobs UI (Overview = macroscope, Build = microscope) and is **test-case-first**:
13
+ the test cases ARE the definition of done. Never build a step graph before you can say what
14
+ "green" means.
15
+
16
+ ```
17
+ teach / add_test_case <- 1. green-gate first
18
+ -> update_job variant=draft <- 2. build the macroscope (step graph)
19
+ -> run_tests variant=draft <- 3. run the gate
20
+ green -> publish_job <- 6. ship
21
+ red -> inspect <- 4. drill top-down
22
+ -> fix at the right level <- 5. job slice OR workflow microscope
23
+ -> back to 3
24
+ ```
25
+
26
+ ## The two scopes
27
+
28
+ | Scope | What it is | Tools |
29
+ |---|---|---|
30
+ | **Macroscope: the Job** | A middleware route backed by a `definition` step graph. Each step calls a whole PUBLISHED Minicor workflow (by `workflowId`) or runs a code block. The job layer never touches a workflow's internals. | `resolve_job_state`, `register_job`, `update_job`, `run_job`, `run_tests`, `inspect_job_execution`, `stop_job_execution`, `list_job_executions`, `publish_job` |
31
+ | **Microscope: one workflow** | The internal flow steps of a single Minicor workflow that a job step calls. | `dev_mode_load`, `dev_mode_get_step_list`, `dev_mode_edit_step`, `dev_mode_run`, `dev_mode_stop_run`, `dev_mode_publish`; or `create_rpa_flow` + the `rpa-testing-workflow` skill for new RPA steps |
32
+
33
+ Rule of thumb: **stay in the macroscope until a failing job step points into a specific
34
+ workflow.** Then, and only then, open the microscope on that `workflowId`.
35
+
36
+ ## Step 0: Where am I?
37
+
38
+ Whenever you pick up a job (new session, resumed session, "why is this red?"), call:
39
+
40
+ ```
41
+ resolve_job_state(workspaceId, middlewareId, routeId)
42
+ ```
43
+
44
+ It returns the job's draft/published state, test cases, latest test run, recent executions,
45
+ any active build run, and `nextActions` — the concrete next tool calls for this loop.
46
+ Follow them.
47
+
48
+ ## Step 1: Green-gate first (test cases)
49
+
50
+ Before writing any definition:
51
+
52
+ - **Teach-by-example** (preferred for new behavior): `teach_job(input, prompt, expect?)` —
53
+ upserts an idempotent test case with an LLM-judge assertion and folds it into the job's
54
+ build run. Refusals can be taught too: `expect: { refusal: "why" }`.
55
+ - **Explicit assertions**: `add_test_case(name, input, assertions)` where each assertion is
56
+ `{ name, expr }` — a TS boolean over `{ input, output, ctx, steps }` — or
57
+ `{ name, kind: "judge", intent }` for natural-language grading.
58
+ - Tighten or disable cases later with `update_test_case` (e.g. `enabled: false` instead of
59
+ deleting history).
60
+
61
+ A job with zero test cases is not buildable — there is no definition of correct.
62
+
63
+ ## Step 2: Build the draft (macroscope)
64
+
65
+ - New job: `register_job(path, definition)`; existing: `update_job(variant="draft", definition)`.
66
+ - `variant="draft"` is the working copy — production traffic keeps serving the published
67
+ definition until `publish_job`.
68
+ - Workflow steps reference PUBLISHED workflows. If the workflow doesn't exist or needs
69
+ changes, that's microscope work (Step 5b) — publish it there first.
70
+ - Data flows between steps via `ctx`: `saveAs` stores a step's result; `{{ctx.x}}` templates
71
+ or `(ctx) => ({...})` code blocks feed inputs; the `output` code block shapes the response.
72
+
73
+ ## Step 3: Run the gate
74
+
75
+ ```
76
+ run_tests(variant="draft") # all enabled cases
77
+ run_tests(variant="draft", testCaseIds=[...]) # a subset while iterating
78
+ ```
79
+
80
+ - Returns totals + per-case results, each linking a `jobExecutionId` for drill-down.
81
+ - Green -> Step 6 (publish). Red -> Step 4.
82
+
83
+ ## Step 4: Drill failures top-down (macroscope)
84
+
85
+ 1. `get_test_report(testRunId)` — which cases failed, and their `jobExecutionId`s.
86
+ 2. `inspect_job_execution(executionId)` — the full tree: job -> steps -> (workflow steps)
87
+ the underlying workflow execution's internal flow-runs, with RPA failure analysis on
88
+ failed flow-runs. This stitches the job step to its `workflowId` for you.
89
+ 3. Decide the level of the bug:
90
+ - **Job-level**: wrong wiring, ctx templates, code blocks, output shaping, or the
91
+ assertion itself is wrong. -> Step 5a.
92
+ - **Workflow-level**: a flow step inside the called workflow failed (selector broke,
93
+ login expired, data format changed). -> Step 5b.
94
+
95
+ ## Step 5a: Fix job-level, replay the failing slice
96
+
97
+ After `update_job(variant="draft", ...)`, do NOT re-run the whole graph if the failure was
98
+ mid-graph. Replay just the slice:
99
+
100
+ ```
101
+ run_job(
102
+ variant="draft",
103
+ input=<same input>,
104
+ fromStepId="<failing step id>", # inclusive
105
+ toStepId="<failing step id>", # optional; omit to run to the end
106
+ seedExecutionId="<failed execution id>",
107
+ )
108
+ ```
109
+
110
+ - `seedExecutionId` hydrates `ctx` from the prior execution so mid-graph starts still
111
+ resolve `ctx.*` produced by steps they aren't re-running. Without it, a mid-graph start
112
+ will fail on missing ctx.
113
+ - The job's `output` block only runs when the range covers the last step.
114
+ - When the slice passes, re-run the full gate (Step 3) — slices prove the step, the suite
115
+ proves the job.
116
+
117
+ ## Step 5b: Fix workflow-level (microscope)
118
+
119
+ The failing step's `workflowId` (from `inspect_job_execution` or `resolve_job_state`):
120
+
121
+ 1. `dev_mode_load(workflowId)` — creates your user-scoped Dev Mode branch of the workflow
122
+ (or returns the branch you already have). All later dev_mode calls take `workflowId`.
123
+ 2. `dev_mode_get_step_list` / `dev_mode_get_step` — find the failing flow step.
124
+ 3. `dev_mode_edit_step` — fix the program.
125
+ 4. `dev_mode_run(workflowId, startStep..endStep, input, vmId)` — run through the failing
126
+ step with the input the job fed it (visible in the inspect output). Every dev_mode_run
127
+ needs `vmId` — the VM that executes RPA steps.
128
+ 5. `dev_mode_publish(workflowId, confirm=true)` — **jobs execute PUBLISHED workflows**, so
129
+ the fix is invisible to the job until published. A 409 conflict means production changed
130
+ after you branched: discard with `dev_mode_delete_draft`, re-branch, reapply.
131
+ 6. Back to Step 3: `run_tests(variant="draft")`.
132
+
133
+ For brand-new RPA steps use `create_rpa_flow` and follow the `rpa-testing-workflow` skill
134
+ (per-step `execute_workflow_async` with `start_from_step`/`end_at_step`, screenshots during
135
+ runs, fixes through the executor).
136
+
137
+ ## Step 6: Publish
138
+
139
+ - `publish_job` — snapshots a route_version, copies draft -> published; runtime traffic at
140
+ `/m/:slug/:path` serves it immediately. Only publish when `run_tests(variant="draft")` is
141
+ green.
142
+ - Rollback path is the version history — publishing is cheap and safe when the gate is green.
143
+
144
+ ## Execution control (no pause!)
145
+
146
+ - **There is no pause/resume.** `stop_job_execution` is a cooperative cancel: a queued run
147
+ cancels immediately; a running one stops at the next checkpoint (between steps, between
148
+ forEach items, or while waiting on a workflow). A workflow already running on a VM is NOT
149
+ killed — it finishes on its own; the job just stops waiting.
150
+ - For long runs you may want to stop or watch: `run_job(waitForResult=false)` returns the
151
+ `jobExecutionId` immediately; poll with `get_job_execution`, stop with `stop_job_execution`.
152
+ - `list_job_executions(status=..., trigger=...)` — summaries, newest first. `trigger="test"`
153
+ isolates suite runs; `trigger="api,mcp,cron"` isolates live traffic.
154
+ - Autonomous builds (the teach loop's builder): `get_build_status` to watch,
155
+ `answer_build_question` when it's `needs_input`, `cancel_build` to take over manually.
156
+ Don't edit the draft while a build is running — coordinate or cancel first.
157
+
158
+ ## Anti-patterns
159
+
160
+ - Building a definition before any test case exists (no green-gate).
161
+ - Re-running the entire job to debug one mid-graph step (use fromStepId + seedExecutionId).
162
+ - Using a range run WITHOUT `seedExecutionId` for a mid-graph start (ctx will be empty).
163
+ - Editing a workflow's Dev Mode branch and re-running job tests without `dev_mode_publish`
164
+ (the job still executes the old published workflow).
165
+ - Publishing a job while the draft suite is red.
166
+ - Fixing RPA failures via `vm_execute_script` instead of through the executor.
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=builder-discovery.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"builder-discovery.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/builder-discovery.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"builder-discovery.test.js","sourceRoot":"","sources":["../../src/__tests__/builder-discovery.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAG9D,OAAO,EACL,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAErD,EAAE,CAAC,IAAI,CAAC,yBAAyB,EAAE,GAAG,EAAE,CAAC,CAAC;IACxC,OAAO,EAAE,EAAE,CAAC,EAAE,EAAE;CACjB,CAAC,CAAC,CAAC;AAIJ,SAAS,YAAY;IACnB,OAAO;QACL,cAAc,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;QAC7C,aAAa,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;QAC5C,WAAW,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;QAClD,cAAc,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;QACrD,WAAW,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,iBAAi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eAAe,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACnD,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC;QACpD,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,oBAAoB,CAC5C,sBAAsB,EACtB,eAAe,EACf,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CACtC,CAAC;QACF,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC;YACnC,KAAK,EAAE,CAAC;YACR,GAAG,EAAE;gBACH;oBACE,EAAE,EAAE,EAAE;oBACN,IAAI,EAAE,YAAY;oBAClB,MAAM,EAAE,UAAU;oBAClB,YAAY,EAAE,QAAQ;oBACtB,UAAU,EAAE,qBAAqB;oBACjC,WAAW,EAAE,cAAc;iBAC5B;aACF;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=server-profile.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server-profile.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/server-profile.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"server-profile.test.js","sourceRoot":"","sources":["../../src/__tests__/server-profile.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EACL,oBAAoB,EACpB,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AE,MAAM;oBACd,GAAG,EAAE,kDAAkD;oBACvD,IAAI,EAAE;wBACJ,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE;wBAC5B,uBAAuB,EAAE,cAAc;wBACvC,IAAI,EAAE,EAAE;qBACT;iBACF;gBACD;oBACE,MAAM,EAAE,MAAM;oBACd,GAAG,EAAE,sDAAsD;oBAC3D,IAAI,EAAE,SAAS;iBAChB;aACF,CAAC,CAAC;QACL,CAAC;gBAAS,CAAC;YACT,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;YACrB,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;QACzB,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
3
- //# sourceMappingURL=builder-index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"builder-index.d.ts","sourceRoot":"","sources":["../src/builder-index.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
- process.env.MINICOR_MCP_PROFILE = "builder";
3
- await import("./index.js");
4
- export {};
5
- //# sourceMappingURL=builder-index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"builder-index.js","sourceRoot":"","sources":["../src/builder-index.ts"],"names":[],"mappings":";AAEA,OAAO,CAAC,GAAG,CAAC,mBAAmB,GAAG,SAAS,CAAC;AAE5C,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { ToolDeps } from "./types.js";
2
- export declare const SERVER_PROFILES: readonly ["full", "builder"];
3
- export type MinicorServerProfile = (typeof SERVER_PROFILES)[number];
4
- export declare const FULL_INSTRUCTIONS = "You are connected to the Minicor MCP server for RPA workflow automation.\n\nCRITICAL: If the current directory contains a minicor.json file, you are in a workspace clone.\nYou MUST call session_start(directory) as your FIRST action. It returns the workspace rules\n(AGENTS.md), prior session state for resuming, and all context you need. Follow the phase loop\nit describes.\n\nBefore ending your session, call session_end() to persist your progress. Other agents (on other\nmachines, scheduled, or human-triggered) depend on this to resume where you left off.\n\nIf you are NOT in a workspace clone, use the tools freely \u2014 list_workspaces, clone_workspace, etc.";
5
- export declare const BUILDER_INSTRUCTIONS = "You are connected to the focused Minicor Builder MCP server.\nUse it to create and discover workflows, develop workflow drafts, manage configuration stores,\npublish workflows, and build or run Jobs.\n\nCall list_workspaces before workspace-scoped operations so the server can resolve the workspace's\nregion. Find or create the workflow, call dev_mode_load, inspect and edit its draft steps, and use\nthe configuration-store tools when the draft needs configuration values. Every dev_mode_run call\nmust include vmId. Test the draft before publishing. Publishing requires confirm: true and reloads\nthe draft from the newly published workflow, so it may be run again afterward.\n\nRun progress is ephemeral. dev_mode_stop_run requests a cooperative stop after the current step;\nit cannot interrupt that step. To abandon work safely, request the stop from a concurrent client,\nwait until dev_mode_get_run_status returns active: false, then call dev_mode_delete_draft with\nconfirm: true. Deleting a draft does not change production and does not stop a run by itself.\n\nJobs execute published workflows rather than unpublished Dev Mode drafts. Publish the workflow\nbefore using it in an end-to-end Job run or test.";
6
- export declare function parseServerProfile(args?: readonly string[], env?: NodeJS.ProcessEnv): MinicorServerProfile;
7
- export declare function serverNameForProfile(profile: MinicorServerProfile): string;
8
- export declare function instructionsForProfile(profile: MinicorServerProfile): string;
9
- export declare function profileUsesSessions(profile: MinicorServerProfile): boolean;
10
- export declare function registerProfile(deps: ToolDeps, profile: MinicorServerProfile): void;
11
- //# sourceMappingURL=server-profile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server-profile.d.ts","sourceRoot":"","sources":["../src/server-profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AA0B3C,eAAO,MAAM,eAAe,8BAA+B,CAAC;AAC5D,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,eAAO,MAAM,iBAAiB,gqBAUqE,CAAC;AAEpG,eAAO,MAAM,oBAAoB,ssCAgBiB,CAAC;AAEnD,wBAAgB,kBAAkB,CAChC,IAAI,GAAE,SAAS,MAAM,EAA0B,EAC/C,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,oBAAoB,CAsBtB;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,oBAAoB,GAAG,MAAM,CAE1E;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,oBAAoB,GAAG,MAAM,CAE5E;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAE1E;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,oBAAoB,QA8B5E"}
@@ -1,104 +0,0 @@
1
- import { registerWorkflowDiscovery, registerVmDiscovery, } from "./tools/builder-discovery.js";
2
- import { register as registerCore } from "./tools/core.js";
3
- import { register as registerWorkflowOps } from "./tools/workflow-ops.js";
4
- import { register as registerConfigStores } from "./tools/config-stores.js";
5
- import { register as registerSyncTools } from "./tools/sync-tools.js";
6
- import { register as registerVm } from "./tools/vm.js";
7
- import { register as registerVmRpa } from "./tools/vm-rpa.js";
8
- import { register as registerDevModeDraft } from "./tools/dev-mode-draft.js";
9
- import { register as registerTfa } from "./tools/tfa.js";
10
- import { register as registerIssues } from "./tools/issues.js";
11
- import { register as registerAgents } from "./tools/agents.js";
12
- import { register as registerSkills } from "./tools/skills.js";
13
- import { register as registerJobs } from "./tools/jobs.js";
14
- import { register as registerSession } from "./tools/session.js";
15
- import { register as registerWorkflowGuide } from "./prompts/workflow-guide.js";
16
- import { register as registerDebugExecution } from "./prompts/debug-execution.js";
17
- import { register as registerBuildRpa } from "./prompts/build-rpa.js";
18
- import { register as registerNestjsToJob } from "./prompts/nestjs-to-job.js";
19
- import { register as registerTfaGuide } from "./prompts/tfa-guide.js";
20
- import { register as registerWorkspaceSession } from "./prompts/workspace-session.js";
21
- export const SERVER_PROFILES = ["full", "builder"];
22
- export const FULL_INSTRUCTIONS = `You are connected to the Minicor MCP server for RPA workflow automation.
23
-
24
- CRITICAL: If the current directory contains a minicor.json file, you are in a workspace clone.
25
- You MUST call session_start(directory) as your FIRST action. It returns the workspace rules
26
- (AGENTS.md), prior session state for resuming, and all context you need. Follow the phase loop
27
- it describes.
28
-
29
- Before ending your session, call session_end() to persist your progress. Other agents (on other
30
- machines, scheduled, or human-triggered) depend on this to resume where you left off.
31
-
32
- If you are NOT in a workspace clone, use the tools freely — list_workspaces, clone_workspace, etc.`;
33
- export const BUILDER_INSTRUCTIONS = `You are connected to the focused Minicor Builder MCP server.
34
- Use it to create and discover workflows, develop workflow drafts, manage configuration stores,
35
- publish workflows, and build or run Jobs.
36
-
37
- Call list_workspaces before workspace-scoped operations so the server can resolve the workspace's
38
- region. Find or create the workflow, call dev_mode_load, inspect and edit its draft steps, and use
39
- the configuration-store tools when the draft needs configuration values. Every dev_mode_run call
40
- must include vmId. Test the draft before publishing. Publishing requires confirm: true and reloads
41
- the draft from the newly published workflow, so it may be run again afterward.
42
-
43
- Run progress is ephemeral. dev_mode_stop_run requests a cooperative stop after the current step;
44
- it cannot interrupt that step. To abandon work safely, request the stop from a concurrent client,
45
- wait until dev_mode_get_run_status returns active: false, then call dev_mode_delete_draft with
46
- confirm: true. Deleting a draft does not change production and does not stop a run by itself.
47
-
48
- Jobs execute published workflows rather than unpublished Dev Mode drafts. Publish the workflow
49
- before using it in an end-to-end Job run or test.`;
50
- export function parseServerProfile(args = process.argv.slice(2), env = process.env) {
51
- const equalsArg = args.find((arg) => arg.startsWith("--profile="));
52
- const profileIndex = args.indexOf("--profile");
53
- if ((equalsArg !== undefined && equalsArg.slice("--profile=".length) === "") ||
54
- (profileIndex >= 0 && !args[profileIndex + 1])) {
55
- throw new Error("Missing value after --profile.");
56
- }
57
- const requested = equalsArg?.slice("--profile=".length) ||
58
- (profileIndex >= 0 ? args[profileIndex + 1] : undefined) ||
59
- env.MINICOR_MCP_PROFILE ||
60
- "full";
61
- if (!SERVER_PROFILES.includes(requested)) {
62
- throw new Error(`Unknown MCP profile "${requested}". Expected one of: ${SERVER_PROFILES.join(", ")}.`);
63
- }
64
- return requested;
65
- }
66
- export function serverNameForProfile(profile) {
67
- return profile === "builder" ? "minicor-builder" : "minicor";
68
- }
69
- export function instructionsForProfile(profile) {
70
- return profile === "builder" ? BUILDER_INSTRUCTIONS : FULL_INSTRUCTIONS;
71
- }
72
- export function profileUsesSessions(profile) {
73
- return profile === "full";
74
- }
75
- export function registerProfile(deps, profile) {
76
- if (profile === "builder") {
77
- registerWorkflowDiscovery(deps);
78
- registerVmDiscovery(deps);
79
- registerConfigStores(deps);
80
- registerDevModeDraft(deps);
81
- registerJobs(deps);
82
- return;
83
- }
84
- registerCore(deps);
85
- registerWorkflowOps(deps);
86
- registerConfigStores(deps);
87
- registerSyncTools(deps);
88
- registerVm(deps);
89
- registerVmRpa(deps);
90
- registerDevModeDraft(deps);
91
- registerTfa(deps);
92
- registerIssues(deps);
93
- registerAgents(deps);
94
- registerSkills(deps);
95
- registerJobs(deps);
96
- registerSession(deps);
97
- registerWorkflowGuide(deps);
98
- registerDebugExecution(deps);
99
- registerBuildRpa(deps);
100
- registerNestjsToJob(deps);
101
- registerTfaGuide(deps);
102
- registerWorkspaceSession(deps);
103
- }
104
- //# sourceMappingURL=server-profile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"server-profile.js","sourceRoot":"","sources":["../src/server-profile.ts"],"names":[],"mappings":"AACA,OAAO,EACL,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,QAAQ,IAAI,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,QAAQ,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAA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.d.ts","sourceRoot":"","sources":["../../src/tools/builder-discovery.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAiB5C,kFAAkF;AAClF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,QAAQ,QAoCpD;AAED,iFAAiF;AACjF,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,QAAQ,QAenD;AAED,gFAAgF;AAChF,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,QAAQ,QAajD;AAED,kFAAkF;AAClF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,QAAQ,QAqBpD;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,QAAQ,QAKvD;AAED,gFAAgF;AAChF,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,QAAQ,QA0DjD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"builder-discovery.js","sourceRoot":"","sources":["../../src/tools/builder-discovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAe,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,kBAAkB,EAClB,UAAU,EACV,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAErD,MAAM,WAAW,GAAG,CAAC;KAClB,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;KAClB,QAAQ,EAAE;KACV,QAAQ,CAAC,6DAA6D,CAAC,CAAC;AAE3E,SAAS,aAAa,CACpB,WAAoB,EACpB,QAAiB;IAEjB,IAAI,QAAQ;QAAE,OAAO,QAAkB,CAAC;IACxC,IAAI,WAAW,IAAI,IAAI;QAAE,OAAO,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAChE,OAA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