@bpmnkit/cli 0.0.25 → 0.0.27
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 -0
- package/package.json +8 -8
- package/skills/design.md +85 -0
package/README.md
CHANGED
|
@@ -109,6 +109,7 @@ casen instances list --state active
|
|
|
109
109
|
| [`@bpmnkit/connector-gen`](https://www.npmjs.com/package/@bpmnkit/connector-gen) | Generate connector templates from OpenAPI specs |
|
|
110
110
|
| [`@bpmnkit/proxy`](https://www.npmjs.com/package/@bpmnkit/proxy) | Local AI bridge and Camunda API proxy server |
|
|
111
111
|
| [`@bpmnkit/patterns`](https://www.npmjs.com/package/@bpmnkit/patterns) | Domain process patterns for BPMNKit AIKit |
|
|
112
|
+
| [`@bpmnkit/reebe-wasm`](https://www.npmjs.com/package/@bpmnkit/reebe-wasm) | WebAssembly BPMN engine for browser simulation |
|
|
112
113
|
| [`@bpmnkit/worker-client`](https://www.npmjs.com/package/@bpmnkit/worker-client) | Thin Zeebe REST client for standalone workers |
|
|
113
114
|
| [`@bpmnkit/cli-sdk`](https://www.npmjs.com/package/@bpmnkit/cli-sdk) | Plugin authoring SDK for the casen CLI |
|
|
114
115
|
| [`@bpmnkit/create-casen-plugin`](https://www.npmjs.com/package/@bpmnkit/create-casen-plugin) | Scaffold a new casen CLI plugin in seconds |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmnkit/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"description": "Command-line interface for Camunda 8 — deploy, manage, and monitor processes from the terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"node": ">=20"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@bpmnkit/
|
|
20
|
-
"@bpmnkit/
|
|
21
|
-
"@bpmnkit/
|
|
22
|
-
"@bpmnkit/
|
|
23
|
-
"@bpmnkit/
|
|
24
|
-
"@bpmnkit/profiles": "0.0.
|
|
25
|
-
"@bpmnkit/proxy": "0.0.
|
|
19
|
+
"@bpmnkit/api": "0.0.18",
|
|
20
|
+
"@bpmnkit/ascii": "0.0.22",
|
|
21
|
+
"@bpmnkit/connector-gen": "0.0.13",
|
|
22
|
+
"@bpmnkit/core": "0.0.22",
|
|
23
|
+
"@bpmnkit/engine": "0.1.22",
|
|
24
|
+
"@bpmnkit/profiles": "0.0.16",
|
|
25
|
+
"@bpmnkit/proxy": "0.0.25"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
package/skills/design.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Design a BPMN process — flow, forms, and decision tables. No workers, no deployment.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
You are designing a BPMN process using BPMNKit AIKit tools. Work through these steps in order.
|
|
6
|
+
|
|
7
|
+
## Request
|
|
8
|
+
|
|
9
|
+
$ARGUMENTS
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Step 1 — Check for a domain pattern
|
|
14
|
+
|
|
15
|
+
Call `mcp__bpmnkit-aikit__pattern_list` to see available domain patterns.
|
|
16
|
+
If any pattern keywords match the request, call `mcp__bpmnkit-aikit__pattern_get` to load the full pattern as context.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Step 2 — Create the BPMN
|
|
21
|
+
|
|
22
|
+
Spawn a subagent with this task:
|
|
23
|
+
|
|
24
|
+
> Using `mcp__bpmnkit-aikit__bpmn_create`, generate a BPMN process for: **$ARGUMENTS**
|
|
25
|
+
>
|
|
26
|
+
> If a pattern was loaded in Step 1, pass its readme and worker specs as context in the description parameter.
|
|
27
|
+
>
|
|
28
|
+
> Return the file path of the generated BPMN.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Step 3 — Generate forms
|
|
33
|
+
|
|
34
|
+
Spawn a subagent with this task:
|
|
35
|
+
|
|
36
|
+
> Call `mcp__bpmnkit-aikit__form_create` with the BPMN path from Step 2.
|
|
37
|
+
>
|
|
38
|
+
> Return: list of `{ taskId, formId, path }` for each form created, or an empty list if no user tasks with formId were found.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Step 4 — Generate DMN tables
|
|
43
|
+
|
|
44
|
+
Spawn a subagent with this task:
|
|
45
|
+
|
|
46
|
+
> Call `mcp__bpmnkit-aikit__dmn_create` with the BPMN path from Step 2.
|
|
47
|
+
>
|
|
48
|
+
> Return: list of `{ taskId, decisionId, path }` for each DMN file created, or an empty list if no business rule tasks with decisionId were found.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Step 5 — Validate
|
|
53
|
+
|
|
54
|
+
Spawn a subagent with this task:
|
|
55
|
+
|
|
56
|
+
> Call `mcp__bpmnkit-aikit__bpmn_validate` on the BPMN file from Step 2.
|
|
57
|
+
>
|
|
58
|
+
> Return: `{ errors: [...], warnings: [...] }`
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Step 6 — Present design summary
|
|
63
|
+
|
|
64
|
+
Collect all results and present:
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
BPMN: <path>
|
|
68
|
+
Pattern: <id or "none">
|
|
69
|
+
|
|
70
|
+
Forms (<count>):
|
|
71
|
+
<formId> → <path>
|
|
72
|
+
(or "none" if empty)
|
|
73
|
+
|
|
74
|
+
DMN tables (<count>):
|
|
75
|
+
<decisionId> → <path>
|
|
76
|
+
(or "none" if empty)
|
|
77
|
+
|
|
78
|
+
Validation:
|
|
79
|
+
Errors: <count> — <list if any>
|
|
80
|
+
Warnings: <count> — <list if any>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Then say: **"Use `/implement` to add workers, or `/deploy` when ready."**
|
|
84
|
+
|
|
85
|
+
Do NOT offer to deploy.
|