@pikku/cli 0.12.19 → 0.12.21
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/console-app/assets/{index-DAQHIRK3.js → index-DXLy-_D4.js} +181 -181
- package/console-app/index.html +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +6 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +32 -2
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +8 -2
- package/dist/.pikku/function/pikku-function-types.gen.js +4 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +223 -121
- package/dist/.pikku/function/pikku-functions.gen.js +13 -9
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +2 -1
- package/dist/.pikku/pikku-services.gen.js +1 -0
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +15 -9
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +13 -7
- package/dist/.pikku/schemas/schemas/DevInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuCommandHTTPOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuCommandQueueOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WorkflowRunStatus.schema.json +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/meta/allWorkflow.gen.json +623 -154
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/src/cli.wiring.js +32 -2
- package/dist/src/deploy/analyzer/manifest.d.ts +10 -0
- package/dist/src/deploy/build-pipeline.d.ts +2 -0
- package/dist/src/deploy/build-pipeline.js +44 -6
- package/dist/src/deploy/bundler/bundler.d.ts +2 -1
- package/dist/src/deploy/bundler/bundler.js +28 -5
- package/dist/src/deploy/bundler/dep-extractor.d.ts +5 -2
- package/dist/src/deploy/bundler/dep-extractor.js +103 -23
- package/dist/src/deploy/bundler/types.d.ts +5 -1
- package/dist/src/deploy/codegen/per-unit-codegen.d.ts +3 -1
- package/dist/src/deploy/codegen/per-unit-codegen.js +3 -1
- package/dist/src/deploy/plan/planner.js +25 -3
- package/dist/src/deploy/plan/provider.d.ts +2 -0
- package/dist/src/functions/commands/deploy-apply.js +6 -4
- package/dist/src/functions/commands/deploy-plan.js +7 -1
- package/dist/src/functions/commands/dev.d.ts +13 -0
- package/dist/src/functions/commands/dev.js +187 -0
- package/dist/src/functions/commands/pikku-command-summary.js +4 -1
- package/dist/src/functions/commands/versions-update.js +9 -3
- package/dist/src/functions/wirings/channels/pikku-command-channels.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channels.js +1 -1
- package/dist/src/functions/wirings/console/pikku-command-console-functions.js +5 -1
- package/dist/src/functions/wirings/functions/serialize-function-types.js +31 -1
- package/dist/src/functions/wirings/http/pikku-command-http-routes.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-http-routes.js +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue-map.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue-map.js +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue.js +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.js +5 -1
- package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.js +5 -1
- package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +16 -2
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +44 -2
- package/dist/src/functions/workflows/all.workflow.js +5 -10
- package/dist/src/scaffold/rpc-remote.gen.js +1 -1
- package/dist/src/scaffold/workflow-routes.gen.js +36 -4
- package/dist/src/services/cli-logger.service.d.ts +22 -2
- package/dist/src/services/cli-logger.service.js +97 -21
- package/dist/src/services.js +8 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -4
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +0 -10
- package/dist/.pikku/cli/pikku-cli-client.gen.js +0 -44
- /package/dist/.pikku/schemas/schemas/{PikkuChannelsOutput.schema.json → PikkuCommandChannelsOutput.schema.json} +0 -0
|
@@ -2,7 +2,39 @@
|
|
|
2
2
|
"name": "allWorkflow",
|
|
3
3
|
"pikkuFuncId": "allWorkflow",
|
|
4
4
|
"source": "complex",
|
|
5
|
+
"context": {
|
|
6
|
+
"allImports": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"default": []
|
|
9
|
+
},
|
|
10
|
+
"typesDeclarationFileExists": {
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": true
|
|
13
|
+
},
|
|
14
|
+
"remoteRPC": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"default": false
|
|
17
|
+
},
|
|
18
|
+
"workflowRoutes": {
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"default": false
|
|
21
|
+
}
|
|
22
|
+
},
|
|
5
23
|
"nodes": {
|
|
24
|
+
"step_0": {
|
|
25
|
+
"nodeId": "step_0",
|
|
26
|
+
"flow": "branch",
|
|
27
|
+
"branches": [
|
|
28
|
+
{
|
|
29
|
+
"condition": {
|
|
30
|
+
"type": "simple",
|
|
31
|
+
"expression": "!existsSync(config.outDir)"
|
|
32
|
+
},
|
|
33
|
+
"entry": "Bootstrap inspect"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"next": "step_1"
|
|
37
|
+
},
|
|
6
38
|
"Bootstrap inspect": {
|
|
7
39
|
"nodeId": "Bootstrap inspect",
|
|
8
40
|
"flow": "inline",
|
|
@@ -14,6 +46,22 @@
|
|
|
14
46
|
"next": "Bootstrap function types split",
|
|
15
47
|
"stepHash": "c293829b03c7"
|
|
16
48
|
},
|
|
49
|
+
"step_0_branch0_2": {
|
|
50
|
+
"nodeId": "step_0_branch0_2",
|
|
51
|
+
"flow": "parallel",
|
|
52
|
+
"children": [
|
|
53
|
+
"Bootstrap function types split",
|
|
54
|
+
"Bootstrap HTTP types",
|
|
55
|
+
"Bootstrap channel types",
|
|
56
|
+
"Bootstrap scheduler types",
|
|
57
|
+
"Bootstrap queue types",
|
|
58
|
+
"Bootstrap workflow",
|
|
59
|
+
"Bootstrap MCP types",
|
|
60
|
+
"Bootstrap AI agent types",
|
|
61
|
+
"Bootstrap CLI types"
|
|
62
|
+
],
|
|
63
|
+
"next": "Bootstrap re-inspect"
|
|
64
|
+
},
|
|
17
65
|
"Bootstrap function types split": {
|
|
18
66
|
"nodeId": "Bootstrap function types split",
|
|
19
67
|
"rpcName": "pikkuFunctionTypesSplit",
|
|
@@ -73,82 +121,84 @@
|
|
|
73
121
|
"flow": "inline",
|
|
74
122
|
"next": "Generate function types"
|
|
75
123
|
},
|
|
124
|
+
"step_1": {
|
|
125
|
+
"nodeId": "step_1",
|
|
126
|
+
"flow": "branch",
|
|
127
|
+
"branches": [
|
|
128
|
+
{
|
|
129
|
+
"condition": {
|
|
130
|
+
"type": "simple",
|
|
131
|
+
"expression": "!existsSync(config.typesDeclarationFile)"
|
|
132
|
+
},
|
|
133
|
+
"entry": "step_1_branch0_0"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"next": "step_2"
|
|
137
|
+
},
|
|
138
|
+
"step_1_branch0_0": {
|
|
139
|
+
"nodeId": "step_1_branch0_0",
|
|
140
|
+
"flow": "set",
|
|
141
|
+
"variable": "typesDeclarationFileExists",
|
|
142
|
+
"value": false,
|
|
143
|
+
"next": "step_2"
|
|
144
|
+
},
|
|
145
|
+
"step_2": {
|
|
146
|
+
"nodeId": "step_2",
|
|
147
|
+
"flow": "branch",
|
|
148
|
+
"branches": [],
|
|
149
|
+
"next": "Generate function types"
|
|
150
|
+
},
|
|
76
151
|
"Generate function types": {
|
|
77
152
|
"nodeId": "Generate function types",
|
|
78
153
|
"rpcName": "pikkuFunctionTypes",
|
|
79
154
|
"next": "Re-inspect after types",
|
|
80
155
|
"stepHash": "3baeae2050fd"
|
|
81
156
|
},
|
|
157
|
+
"step_4": {
|
|
158
|
+
"nodeId": "step_4",
|
|
159
|
+
"flow": "branch",
|
|
160
|
+
"branches": [
|
|
161
|
+
{
|
|
162
|
+
"condition": {
|
|
163
|
+
"type": "or",
|
|
164
|
+
"conditions": [
|
|
165
|
+
{
|
|
166
|
+
"type": "simple",
|
|
167
|
+
"expression": "!typesDeclarationFileExists"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "simple",
|
|
171
|
+
"expression": "missingScaffolds.length > 0"
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"entry": "Re-inspect after types"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"next": "step_5"
|
|
179
|
+
},
|
|
82
180
|
"Re-inspect after types": {
|
|
83
181
|
"nodeId": "Re-inspect after types",
|
|
84
182
|
"flow": "inline",
|
|
85
183
|
"next": "Function types split"
|
|
86
184
|
},
|
|
87
|
-
"
|
|
88
|
-
"nodeId": "
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
},
|
|
93
|
-
"Trigger types": {
|
|
94
|
-
"nodeId": "Trigger types",
|
|
95
|
-
"rpcName": "pikkuTriggerTypes",
|
|
96
|
-
"next": "AI agent types",
|
|
97
|
-
"stepHash": "01f3d641f2cf"
|
|
98
|
-
},
|
|
99
|
-
"AI agent types": {
|
|
100
|
-
"nodeId": "AI agent types",
|
|
101
|
-
"rpcName": "pikkuAIAgentTypes",
|
|
102
|
-
"next": "HTTP types",
|
|
103
|
-
"stepHash": "a0bf0ea14360"
|
|
104
|
-
},
|
|
105
|
-
"HTTP types": {
|
|
106
|
-
"nodeId": "HTTP types",
|
|
107
|
-
"rpcName": "pikkuHTTPTypes",
|
|
108
|
-
"next": "Channel types",
|
|
109
|
-
"stepHash": "f65b70567492"
|
|
185
|
+
"step_5": {
|
|
186
|
+
"nodeId": "step_5",
|
|
187
|
+
"flow": "branch",
|
|
188
|
+
"branches": [],
|
|
189
|
+
"next": "step_6"
|
|
110
190
|
},
|
|
111
|
-
"
|
|
112
|
-
"nodeId": "
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
191
|
+
"step_6": {
|
|
192
|
+
"nodeId": "step_6",
|
|
193
|
+
"flow": "branch",
|
|
194
|
+
"branches": [],
|
|
195
|
+
"next": "step_7"
|
|
116
196
|
},
|
|
117
|
-
"
|
|
118
|
-
"nodeId": "
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
},
|
|
123
|
-
"Queue types": {
|
|
124
|
-
"nodeId": "Queue types",
|
|
125
|
-
"rpcName": "pikkuQueueTypes",
|
|
126
|
-
"next": "MCP types",
|
|
127
|
-
"stepHash": "32340a713206"
|
|
128
|
-
},
|
|
129
|
-
"MCP types": {
|
|
130
|
-
"nodeId": "MCP types",
|
|
131
|
-
"rpcName": "pikkuMCPTypes",
|
|
132
|
-
"next": "CLI types",
|
|
133
|
-
"stepHash": "685cbd3c2f83"
|
|
134
|
-
},
|
|
135
|
-
"CLI types": {
|
|
136
|
-
"nodeId": "CLI types",
|
|
137
|
-
"rpcName": "pikkuCLITypes",
|
|
138
|
-
"next": "Middleware",
|
|
139
|
-
"stepHash": "faf88549ab64"
|
|
140
|
-
},
|
|
141
|
-
"Middleware": {
|
|
142
|
-
"nodeId": "Middleware",
|
|
143
|
-
"rpcName": "pikkuMiddleware",
|
|
144
|
-
"next": "Permissions",
|
|
145
|
-
"stepHash": "69ff86ef7ac6"
|
|
146
|
-
},
|
|
147
|
-
"Permissions": {
|
|
148
|
-
"nodeId": "Permissions",
|
|
149
|
-
"rpcName": "pikkuPermissions",
|
|
150
|
-
"next": "Services",
|
|
151
|
-
"stepHash": "517642320b1f"
|
|
197
|
+
"step_7": {
|
|
198
|
+
"nodeId": "step_7",
|
|
199
|
+
"flow": "branch",
|
|
200
|
+
"branches": [],
|
|
201
|
+
"next": "Services"
|
|
152
202
|
},
|
|
153
203
|
"Services": {
|
|
154
204
|
"nodeId": "Services",
|
|
@@ -162,17 +212,38 @@
|
|
|
162
212
|
"next": "RPC",
|
|
163
213
|
"stepHash": "8d10339db08d"
|
|
164
214
|
},
|
|
165
|
-
"
|
|
166
|
-
"nodeId": "
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
},
|
|
171
|
-
"
|
|
172
|
-
"nodeId": "
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
|
|
215
|
+
"step_10": {
|
|
216
|
+
"nodeId": "step_10",
|
|
217
|
+
"flow": "branch",
|
|
218
|
+
"branches": [],
|
|
219
|
+
"next": "step_11"
|
|
220
|
+
},
|
|
221
|
+
"step_11": {
|
|
222
|
+
"nodeId": "step_11",
|
|
223
|
+
"flow": "branch",
|
|
224
|
+
"branches": [
|
|
225
|
+
{
|
|
226
|
+
"condition": {
|
|
227
|
+
"type": "simple",
|
|
228
|
+
"expression": "agents"
|
|
229
|
+
},
|
|
230
|
+
"entry": "step_11_branch0_0"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"next": "step_12"
|
|
234
|
+
},
|
|
235
|
+
"step_11_branch0_0": {
|
|
236
|
+
"nodeId": "step_11_branch0_0",
|
|
237
|
+
"flow": "branch",
|
|
238
|
+
"branches": [
|
|
239
|
+
{
|
|
240
|
+
"condition": {
|
|
241
|
+
"type": "simple",
|
|
242
|
+
"expression": "config.scaffold?.agent"
|
|
243
|
+
},
|
|
244
|
+
"entry": "Public agent scaffold"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
176
247
|
},
|
|
177
248
|
"Public agent scaffold": {
|
|
178
249
|
"nodeId": "Public agent scaffold",
|
|
@@ -180,6 +251,22 @@
|
|
|
180
251
|
"next": "Public RPC",
|
|
181
252
|
"stepHash": "64d807033007"
|
|
182
253
|
},
|
|
254
|
+
"step_12": {
|
|
255
|
+
"nodeId": "step_12",
|
|
256
|
+
"flow": "parallel",
|
|
257
|
+
"children": [
|
|
258
|
+
"Public RPC",
|
|
259
|
+
"Console functions",
|
|
260
|
+
"Node types",
|
|
261
|
+
"Secret definition types",
|
|
262
|
+
"Secrets",
|
|
263
|
+
"Credentials",
|
|
264
|
+
"Variable definition types",
|
|
265
|
+
"Variables",
|
|
266
|
+
"Addon types"
|
|
267
|
+
],
|
|
268
|
+
"next": "step_13"
|
|
269
|
+
},
|
|
183
270
|
"Public RPC": {
|
|
184
271
|
"nodeId": "Public RPC",
|
|
185
272
|
"rpcName": "pikkuPublicRPC",
|
|
@@ -234,6 +321,35 @@
|
|
|
234
321
|
"next": "Re-inspect after agents",
|
|
235
322
|
"stepHash": "14f255190658"
|
|
236
323
|
},
|
|
324
|
+
"step_13": {
|
|
325
|
+
"nodeId": "step_13",
|
|
326
|
+
"flow": "branch",
|
|
327
|
+
"branches": [],
|
|
328
|
+
"next": "step_14"
|
|
329
|
+
},
|
|
330
|
+
"step_14": {
|
|
331
|
+
"nodeId": "step_14",
|
|
332
|
+
"flow": "branch",
|
|
333
|
+
"branches": [
|
|
334
|
+
{
|
|
335
|
+
"condition": {
|
|
336
|
+
"type": "or",
|
|
337
|
+
"conditions": [
|
|
338
|
+
{
|
|
339
|
+
"type": "simple",
|
|
340
|
+
"expression": "agents"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"type": "simple",
|
|
344
|
+
"expression": "!config.addon"
|
|
345
|
+
}
|
|
346
|
+
]
|
|
347
|
+
},
|
|
348
|
+
"entry": "Re-inspect after agents"
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"next": "Schemas"
|
|
352
|
+
},
|
|
237
353
|
"Re-inspect after agents": {
|
|
238
354
|
"nodeId": "Re-inspect after agents",
|
|
239
355
|
"flow": "inline",
|
|
@@ -245,35 +361,84 @@
|
|
|
245
361
|
"next": "RPC internal map",
|
|
246
362
|
"stepHash": "1d81976436e8"
|
|
247
363
|
},
|
|
248
|
-
"
|
|
249
|
-
"nodeId": "
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
},
|
|
254
|
-
"
|
|
255
|
-
"nodeId": "
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
"
|
|
364
|
+
"step_16": {
|
|
365
|
+
"nodeId": "step_16",
|
|
366
|
+
"flow": "branch",
|
|
367
|
+
"branches": [],
|
|
368
|
+
"next": "step_17"
|
|
369
|
+
},
|
|
370
|
+
"step_17": {
|
|
371
|
+
"nodeId": "step_17",
|
|
372
|
+
"flow": "branch",
|
|
373
|
+
"branches": [
|
|
374
|
+
{
|
|
375
|
+
"condition": {
|
|
376
|
+
"type": "simple",
|
|
377
|
+
"expression": "!config.addon"
|
|
378
|
+
},
|
|
379
|
+
"entry": "step_17_branch0_0"
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"next": "step_18"
|
|
383
|
+
},
|
|
384
|
+
"step_17_branch0_0": {
|
|
385
|
+
"nodeId": "step_17_branch0_0",
|
|
386
|
+
"flow": "set",
|
|
387
|
+
"variable": "remoteRPC",
|
|
388
|
+
"value": "await workflow.do('Remote RPC', 'pikkuRemoteRPC', null)",
|
|
389
|
+
"next": "step_17_branch0_1"
|
|
390
|
+
},
|
|
391
|
+
"step_17_branch0_1": {
|
|
392
|
+
"nodeId": "step_17_branch0_1",
|
|
393
|
+
"flow": "branch",
|
|
394
|
+
"branches": [
|
|
395
|
+
{
|
|
396
|
+
"condition": {
|
|
397
|
+
"type": "simple",
|
|
398
|
+
"expression": "workflows"
|
|
399
|
+
},
|
|
400
|
+
"entry": "step_17_branch0_1_branch0_0"
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
"step_17_branch0_1_branch0_0": {
|
|
405
|
+
"nodeId": "step_17_branch0_1_branch0_0",
|
|
406
|
+
"flow": "set",
|
|
407
|
+
"variable": "workflowRoutes",
|
|
408
|
+
"value": "await workflow.do(\n 'Workflow routes',\n 'pikkuWorkflowRoutes',\n null\n )",
|
|
409
|
+
"next": "step_18"
|
|
410
|
+
},
|
|
411
|
+
"step_18": {
|
|
412
|
+
"nodeId": "step_18",
|
|
413
|
+
"flow": "branch",
|
|
414
|
+
"branches": [
|
|
415
|
+
{
|
|
416
|
+
"condition": {
|
|
417
|
+
"type": "or",
|
|
418
|
+
"conditions": [
|
|
419
|
+
{
|
|
420
|
+
"type": "or",
|
|
421
|
+
"conditions": [
|
|
422
|
+
{
|
|
423
|
+
"type": "simple",
|
|
424
|
+
"expression": "workflows"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"type": "simple",
|
|
428
|
+
"expression": "remoteRPC"
|
|
429
|
+
}
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"type": "simple",
|
|
434
|
+
"expression": "workflowRoutes"
|
|
435
|
+
}
|
|
436
|
+
]
|
|
437
|
+
},
|
|
438
|
+
"entry": "Re-inspect after workflows"
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"next": "step_19"
|
|
277
442
|
},
|
|
278
443
|
"Re-inspect after workflows": {
|
|
279
444
|
"nodeId": "Re-inspect after workflows",
|
|
@@ -286,23 +451,43 @@
|
|
|
286
451
|
"next": "HTTP",
|
|
287
452
|
"stepHash": "6c1b632628da"
|
|
288
453
|
},
|
|
289
|
-
"
|
|
290
|
-
"nodeId": "
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
"
|
|
305
|
-
"
|
|
454
|
+
"step_19": {
|
|
455
|
+
"nodeId": "step_19",
|
|
456
|
+
"flow": "branch",
|
|
457
|
+
"branches": [
|
|
458
|
+
{
|
|
459
|
+
"condition": {
|
|
460
|
+
"type": "simple",
|
|
461
|
+
"expression": "!config.addon"
|
|
462
|
+
},
|
|
463
|
+
"entry": "step_19_branch0_0"
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"next": "Functions"
|
|
467
|
+
},
|
|
468
|
+
"step_19_branch0_0": {
|
|
469
|
+
"nodeId": "step_19_branch0_0",
|
|
470
|
+
"flow": "branch",
|
|
471
|
+
"branches": [
|
|
472
|
+
{
|
|
473
|
+
"condition": {
|
|
474
|
+
"type": "simple",
|
|
475
|
+
"expression": "http"
|
|
476
|
+
},
|
|
477
|
+
"entry": "step_19_branch0_0_branch0_0"
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"next": "step_19_branch0_1"
|
|
481
|
+
},
|
|
482
|
+
"step_19_branch0_0_branch0_0": {
|
|
483
|
+
"nodeId": "step_19_branch0_0_branch0_0",
|
|
484
|
+
"flow": "parallel",
|
|
485
|
+
"children": [
|
|
486
|
+
"HTTP map",
|
|
487
|
+
"Fetch",
|
|
488
|
+
"RPC client",
|
|
489
|
+
"React query"
|
|
490
|
+
]
|
|
306
491
|
},
|
|
307
492
|
"HTTP map": {
|
|
308
493
|
"nodeId": "HTTP map",
|
|
@@ -319,50 +504,86 @@
|
|
|
319
504
|
"RPC client": {
|
|
320
505
|
"nodeId": "RPC client",
|
|
321
506
|
"rpcName": "pikkuRPCClient",
|
|
322
|
-
"next": "
|
|
507
|
+
"next": "React query",
|
|
323
508
|
"stepHash": "7f48f64ea306"
|
|
324
509
|
},
|
|
510
|
+
"React query": {
|
|
511
|
+
"nodeId": "React query",
|
|
512
|
+
"rpcName": "pikkuReactQuery",
|
|
513
|
+
"next": "Functions",
|
|
514
|
+
"stepHash": "2dc549484eca"
|
|
515
|
+
},
|
|
516
|
+
"step_19_branch0_1": {
|
|
517
|
+
"nodeId": "step_19_branch0_1",
|
|
518
|
+
"flow": "branch",
|
|
519
|
+
"branches": [],
|
|
520
|
+
"next": "step_19_branch0_2"
|
|
521
|
+
},
|
|
522
|
+
"step_19_branch0_2": {
|
|
523
|
+
"nodeId": "step_19_branch0_2",
|
|
524
|
+
"flow": "branch",
|
|
525
|
+
"branches": [],
|
|
526
|
+
"next": "Functions"
|
|
527
|
+
},
|
|
325
528
|
"Functions": {
|
|
326
529
|
"nodeId": "Functions",
|
|
327
530
|
"rpcName": "pikkuFunctions",
|
|
328
531
|
"next": "Queue",
|
|
329
532
|
"stepHash": "90cd834fe20e"
|
|
330
533
|
},
|
|
331
|
-
"
|
|
332
|
-
"nodeId": "
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
},
|
|
337
|
-
"
|
|
338
|
-
"nodeId": "
|
|
339
|
-
"
|
|
340
|
-
"
|
|
341
|
-
"
|
|
342
|
-
},
|
|
343
|
-
"
|
|
344
|
-
"nodeId": "
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
"
|
|
359
|
-
"
|
|
534
|
+
"step_21": {
|
|
535
|
+
"nodeId": "step_21",
|
|
536
|
+
"flow": "branch",
|
|
537
|
+
"branches": [],
|
|
538
|
+
"next": "step_22"
|
|
539
|
+
},
|
|
540
|
+
"step_22": {
|
|
541
|
+
"nodeId": "step_22",
|
|
542
|
+
"flow": "branch",
|
|
543
|
+
"branches": [],
|
|
544
|
+
"next": "step_23"
|
|
545
|
+
},
|
|
546
|
+
"step_23": {
|
|
547
|
+
"nodeId": "step_23",
|
|
548
|
+
"flow": "branch",
|
|
549
|
+
"branches": [
|
|
550
|
+
{
|
|
551
|
+
"condition": {
|
|
552
|
+
"type": "simple",
|
|
553
|
+
"expression": "!config.addon"
|
|
554
|
+
},
|
|
555
|
+
"entry": "step_23_branch0_0"
|
|
556
|
+
}
|
|
557
|
+
],
|
|
558
|
+
"next": "Nodes meta"
|
|
559
|
+
},
|
|
560
|
+
"step_23_branch0_0": {
|
|
561
|
+
"nodeId": "step_23_branch0_0",
|
|
562
|
+
"flow": "branch",
|
|
563
|
+
"branches": [
|
|
564
|
+
{
|
|
565
|
+
"condition": {
|
|
566
|
+
"type": "simple",
|
|
567
|
+
"expression": "queues"
|
|
568
|
+
},
|
|
569
|
+
"entry": "step_23_branch0_0_branch0_0"
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"next": "step_23_branch0_1"
|
|
573
|
+
},
|
|
574
|
+
"step_23_branch0_0_branch0_0": {
|
|
575
|
+
"nodeId": "step_23_branch0_0_branch0_0",
|
|
576
|
+
"flow": "parallel",
|
|
577
|
+
"children": [
|
|
578
|
+
"Queue map",
|
|
579
|
+
"Queue service"
|
|
580
|
+
]
|
|
360
581
|
},
|
|
361
582
|
"Queue map": {
|
|
362
583
|
"nodeId": "Queue map",
|
|
363
|
-
"rpcName": "
|
|
584
|
+
"rpcName": "pikkuCommandQueueMap",
|
|
364
585
|
"next": "Queue service",
|
|
365
|
-
"stepHash": "
|
|
586
|
+
"stepHash": "6cf29f3a84d2"
|
|
366
587
|
},
|
|
367
588
|
"Queue service": {
|
|
368
589
|
"nodeId": "Queue service",
|
|
@@ -370,6 +591,28 @@
|
|
|
370
591
|
"next": "Channels map",
|
|
371
592
|
"stepHash": "b142dd291e94"
|
|
372
593
|
},
|
|
594
|
+
"step_23_branch0_1": {
|
|
595
|
+
"nodeId": "step_23_branch0_1",
|
|
596
|
+
"flow": "branch",
|
|
597
|
+
"branches": [
|
|
598
|
+
{
|
|
599
|
+
"condition": {
|
|
600
|
+
"type": "simple",
|
|
601
|
+
"expression": "channels"
|
|
602
|
+
},
|
|
603
|
+
"entry": "step_23_branch0_1_branch0_0"
|
|
604
|
+
}
|
|
605
|
+
],
|
|
606
|
+
"next": "step_23_branch0_2"
|
|
607
|
+
},
|
|
608
|
+
"step_23_branch0_1_branch0_0": {
|
|
609
|
+
"nodeId": "step_23_branch0_1_branch0_0",
|
|
610
|
+
"flow": "parallel",
|
|
611
|
+
"children": [
|
|
612
|
+
"Channels map",
|
|
613
|
+
"WebSocket typed"
|
|
614
|
+
]
|
|
615
|
+
},
|
|
373
616
|
"Channels map": {
|
|
374
617
|
"nodeId": "Channels map",
|
|
375
618
|
"rpcName": "pikkuChannelsMap",
|
|
@@ -382,12 +625,45 @@
|
|
|
382
625
|
"next": "MCP JSON",
|
|
383
626
|
"stepHash": "388552be75e1"
|
|
384
627
|
},
|
|
628
|
+
"step_23_branch0_2": {
|
|
629
|
+
"nodeId": "step_23_branch0_2",
|
|
630
|
+
"flow": "branch",
|
|
631
|
+
"branches": [],
|
|
632
|
+
"next": "step_23_branch0_3"
|
|
633
|
+
},
|
|
634
|
+
"step_23_branch0_3": {
|
|
635
|
+
"nodeId": "step_23_branch0_3",
|
|
636
|
+
"flow": "branch",
|
|
637
|
+
"branches": [
|
|
638
|
+
{
|
|
639
|
+
"condition": {
|
|
640
|
+
"type": "simple",
|
|
641
|
+
"expression": "mcp"
|
|
642
|
+
},
|
|
643
|
+
"entry": "MCP JSON"
|
|
644
|
+
}
|
|
645
|
+
],
|
|
646
|
+
"next": "step_23_branch0_4"
|
|
647
|
+
},
|
|
385
648
|
"MCP JSON": {
|
|
386
649
|
"nodeId": "MCP JSON",
|
|
387
650
|
"rpcName": "pikkuMCPJSON",
|
|
388
651
|
"next": "CLI entry",
|
|
389
652
|
"stepHash": "cd3ac7d24ff5"
|
|
390
653
|
},
|
|
654
|
+
"step_23_branch0_4": {
|
|
655
|
+
"nodeId": "step_23_branch0_4",
|
|
656
|
+
"flow": "branch",
|
|
657
|
+
"branches": [
|
|
658
|
+
{
|
|
659
|
+
"condition": {
|
|
660
|
+
"type": "simple",
|
|
661
|
+
"expression": "cli"
|
|
662
|
+
},
|
|
663
|
+
"entry": "CLI entry"
|
|
664
|
+
}
|
|
665
|
+
]
|
|
666
|
+
},
|
|
391
667
|
"CLI entry": {
|
|
392
668
|
"nodeId": "CLI entry",
|
|
393
669
|
"rpcName": "pikkuCLIEntry",
|
|
@@ -400,12 +676,49 @@
|
|
|
400
676
|
"next": "Next.js",
|
|
401
677
|
"stepHash": "5044787f9c0c"
|
|
402
678
|
},
|
|
679
|
+
"step_25": {
|
|
680
|
+
"nodeId": "step_25",
|
|
681
|
+
"flow": "branch",
|
|
682
|
+
"branches": [
|
|
683
|
+
{
|
|
684
|
+
"condition": {
|
|
685
|
+
"type": "or",
|
|
686
|
+
"conditions": [
|
|
687
|
+
{
|
|
688
|
+
"type": "simple",
|
|
689
|
+
"expression": "config.clientFiles?.nextBackendFile"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"type": "simple",
|
|
693
|
+
"expression": "config.clientFiles?.nextHTTPFile"
|
|
694
|
+
}
|
|
695
|
+
]
|
|
696
|
+
},
|
|
697
|
+
"entry": "Next.js"
|
|
698
|
+
}
|
|
699
|
+
],
|
|
700
|
+
"next": "step_26"
|
|
701
|
+
},
|
|
403
702
|
"Next.js": {
|
|
404
703
|
"nodeId": "Next.js",
|
|
405
704
|
"rpcName": "pikkuNext",
|
|
406
705
|
"next": "OpenAPI re-inspect",
|
|
407
706
|
"stepHash": "23340e44049b"
|
|
408
707
|
},
|
|
708
|
+
"step_26": {
|
|
709
|
+
"nodeId": "step_26",
|
|
710
|
+
"flow": "branch",
|
|
711
|
+
"branches": [
|
|
712
|
+
{
|
|
713
|
+
"condition": {
|
|
714
|
+
"type": "simple",
|
|
715
|
+
"expression": "config.openAPI"
|
|
716
|
+
},
|
|
717
|
+
"entry": "OpenAPI re-inspect"
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"next": "Versions update"
|
|
721
|
+
},
|
|
409
722
|
"OpenAPI re-inspect": {
|
|
410
723
|
"nodeId": "OpenAPI re-inspect",
|
|
411
724
|
"flow": "inline",
|
|
@@ -433,10 +746,166 @@
|
|
|
433
746
|
"nodeId": "Summary",
|
|
434
747
|
"rpcName": "pikkuSummary",
|
|
435
748
|
"stepHash": "a6c8f33339e2"
|
|
749
|
+
},
|
|
750
|
+
"Function types split": {
|
|
751
|
+
"nodeId": "Function types split",
|
|
752
|
+
"rpcName": "pikkuFunctionTypesSplit",
|
|
753
|
+
"next": "Trigger types",
|
|
754
|
+
"stepHash": "3ce567580a38"
|
|
755
|
+
},
|
|
756
|
+
"Trigger types": {
|
|
757
|
+
"nodeId": "Trigger types",
|
|
758
|
+
"rpcName": "pikkuTriggerTypes",
|
|
759
|
+
"next": "AI agent types",
|
|
760
|
+
"stepHash": "01f3d641f2cf"
|
|
761
|
+
},
|
|
762
|
+
"AI agent types": {
|
|
763
|
+
"nodeId": "AI agent types",
|
|
764
|
+
"rpcName": "pikkuAIAgentTypes",
|
|
765
|
+
"next": "HTTP types",
|
|
766
|
+
"stepHash": "a0bf0ea14360"
|
|
767
|
+
},
|
|
768
|
+
"HTTP types": {
|
|
769
|
+
"nodeId": "HTTP types",
|
|
770
|
+
"rpcName": "pikkuHTTPTypes",
|
|
771
|
+
"next": "Channel types",
|
|
772
|
+
"stepHash": "f65b70567492"
|
|
773
|
+
},
|
|
774
|
+
"Channel types": {
|
|
775
|
+
"nodeId": "Channel types",
|
|
776
|
+
"rpcName": "pikkuChannelTypes",
|
|
777
|
+
"next": "Scheduler types",
|
|
778
|
+
"stepHash": "61560f2f0c8d"
|
|
779
|
+
},
|
|
780
|
+
"Scheduler types": {
|
|
781
|
+
"nodeId": "Scheduler types",
|
|
782
|
+
"rpcName": "pikkuSchedulerTypes",
|
|
783
|
+
"next": "Queue types",
|
|
784
|
+
"stepHash": "8f484a113d9c"
|
|
785
|
+
},
|
|
786
|
+
"Queue types": {
|
|
787
|
+
"nodeId": "Queue types",
|
|
788
|
+
"rpcName": "pikkuQueueTypes",
|
|
789
|
+
"next": "MCP types",
|
|
790
|
+
"stepHash": "32340a713206"
|
|
791
|
+
},
|
|
792
|
+
"MCP types": {
|
|
793
|
+
"nodeId": "MCP types",
|
|
794
|
+
"rpcName": "pikkuMCPTypes",
|
|
795
|
+
"next": "CLI types",
|
|
796
|
+
"stepHash": "685cbd3c2f83"
|
|
797
|
+
},
|
|
798
|
+
"CLI types": {
|
|
799
|
+
"nodeId": "CLI types",
|
|
800
|
+
"rpcName": "pikkuCLITypes",
|
|
801
|
+
"next": "Middleware",
|
|
802
|
+
"stepHash": "faf88549ab64"
|
|
803
|
+
},
|
|
804
|
+
"Middleware": {
|
|
805
|
+
"nodeId": "Middleware",
|
|
806
|
+
"rpcName": "pikkuMiddleware",
|
|
807
|
+
"next": "Permissions",
|
|
808
|
+
"stepHash": "69ff86ef7ac6"
|
|
809
|
+
},
|
|
810
|
+
"Permissions": {
|
|
811
|
+
"nodeId": "Permissions",
|
|
812
|
+
"rpcName": "pikkuPermissions",
|
|
813
|
+
"next": "Services",
|
|
814
|
+
"stepHash": "517642320b1f"
|
|
815
|
+
},
|
|
816
|
+
"RPC": {
|
|
817
|
+
"nodeId": "RPC",
|
|
818
|
+
"rpcName": "pikkuRPC",
|
|
819
|
+
"next": "AI agent",
|
|
820
|
+
"stepHash": "9c7ab6d16eb5"
|
|
821
|
+
},
|
|
822
|
+
"AI agent": {
|
|
823
|
+
"nodeId": "AI agent",
|
|
824
|
+
"rpcName": "pikkuAIAgent",
|
|
825
|
+
"next": "Public agent scaffold",
|
|
826
|
+
"stepHash": "b40cd11dc611"
|
|
827
|
+
},
|
|
828
|
+
"RPC internal map": {
|
|
829
|
+
"nodeId": "RPC internal map",
|
|
830
|
+
"rpcName": "pikkuRPCInternalMap",
|
|
831
|
+
"next": "RPC exposed map",
|
|
832
|
+
"stepHash": "71c071d4e0af"
|
|
833
|
+
},
|
|
834
|
+
"RPC exposed map": {
|
|
835
|
+
"nodeId": "RPC exposed map",
|
|
836
|
+
"rpcName": "pikkuRPCExposedMap",
|
|
837
|
+
"next": "Workflow",
|
|
838
|
+
"stepHash": "20b6c409e9fb"
|
|
839
|
+
},
|
|
840
|
+
"Workflow": {
|
|
841
|
+
"nodeId": "Workflow",
|
|
842
|
+
"rpcName": "pikkuWorkflow",
|
|
843
|
+
"next": "Remote RPC",
|
|
844
|
+
"stepHash": "21f5ac3be507"
|
|
845
|
+
},
|
|
846
|
+
"Remote RPC": {
|
|
847
|
+
"nodeId": "Remote RPC",
|
|
848
|
+
"rpcName": "pikkuRemoteRPC",
|
|
849
|
+
"next": "Workflow routes",
|
|
850
|
+
"stepHash": "82751ee2ed4b"
|
|
851
|
+
},
|
|
852
|
+
"Workflow routes": {
|
|
853
|
+
"nodeId": "Workflow routes",
|
|
854
|
+
"rpcName": "pikkuWorkflowRoutes",
|
|
855
|
+
"next": "Re-inspect after workflows",
|
|
856
|
+
"stepHash": "41b3fa734593"
|
|
857
|
+
},
|
|
858
|
+
"HTTP": {
|
|
859
|
+
"nodeId": "HTTP",
|
|
860
|
+
"rpcName": "pikkuCommandHTTP",
|
|
861
|
+
"next": "Scheduler",
|
|
862
|
+
"stepHash": "ba1b4f85fc79"
|
|
863
|
+
},
|
|
864
|
+
"Scheduler": {
|
|
865
|
+
"nodeId": "Scheduler",
|
|
866
|
+
"rpcName": "pikkuScheduler",
|
|
867
|
+
"next": "Trigger",
|
|
868
|
+
"stepHash": "292dba63a8fa"
|
|
869
|
+
},
|
|
870
|
+
"Trigger": {
|
|
871
|
+
"nodeId": "Trigger",
|
|
872
|
+
"rpcName": "pikkuTrigger",
|
|
873
|
+
"next": "HTTP map",
|
|
874
|
+
"stepHash": "296e642d68de"
|
|
875
|
+
},
|
|
876
|
+
"Queue": {
|
|
877
|
+
"nodeId": "Queue",
|
|
878
|
+
"rpcName": "pikkuCommandQueue",
|
|
879
|
+
"next": "Channels",
|
|
880
|
+
"stepHash": "fba2e19d515a"
|
|
881
|
+
},
|
|
882
|
+
"Channels": {
|
|
883
|
+
"nodeId": "Channels",
|
|
884
|
+
"rpcName": "pikkuCommandChannels",
|
|
885
|
+
"next": "Gateway",
|
|
886
|
+
"stepHash": "aae49a4acd3c"
|
|
887
|
+
},
|
|
888
|
+
"Gateway": {
|
|
889
|
+
"nodeId": "Gateway",
|
|
890
|
+
"rpcName": "pikkuGateway",
|
|
891
|
+
"next": "MCP",
|
|
892
|
+
"stepHash": "4aba6d4affbd"
|
|
893
|
+
},
|
|
894
|
+
"MCP": {
|
|
895
|
+
"nodeId": "MCP",
|
|
896
|
+
"rpcName": "pikkuMCP",
|
|
897
|
+
"next": "CLI",
|
|
898
|
+
"stepHash": "fd4e9c89c777"
|
|
899
|
+
},
|
|
900
|
+
"CLI": {
|
|
901
|
+
"nodeId": "CLI",
|
|
902
|
+
"rpcName": "pikkuCLI",
|
|
903
|
+
"next": "Queue map",
|
|
904
|
+
"stepHash": "8b5a8e81446a"
|
|
436
905
|
}
|
|
437
906
|
},
|
|
438
907
|
"entryNodeIds": [
|
|
439
|
-
"
|
|
908
|
+
"step_0"
|
|
440
909
|
],
|
|
441
|
-
"graphHash": "
|
|
910
|
+
"graphHash": "96533f856895"
|
|
442
911
|
}
|