@pikku/cli 0.12.63 → 0.12.66
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/cli.schema.json +1 -1
- package/console-app/assets/{index-D9OhaZd5.js → index-94z1KYC_.js} +135 -135
- 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 +11 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -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 +35 -0
- 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 +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +35 -1
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- 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 +1 -1
- 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/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.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 +2 -0
- 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 +5 -1
- package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/UserFlowListInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserFlowRunInput.schema.json +1 -0
- 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/pikku-workflow-types.gen.d.ts +9 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +4 -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/bin/pikku-bin.mjs +2 -2
- package/dist/src/cli.wiring.js +25 -0
- package/dist/src/fabric/functions/validate.function.js +32 -0
- package/dist/src/functions/commands/user-flow.d.ts +14 -0
- package/dist/src/functions/commands/user-flow.js +143 -0
- package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +10 -1
- package/dist/src/functions/wirings/workflow/serialize-user-flow-actors.d.ts +8 -0
- package/dist/src/functions/wirings/workflow/serialize-user-flow-actors.js +36 -0
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +21 -0
- package/dist/src/utils/pikku-cli-config.js +3 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
package/console-app/index.html
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
} catch (e) {}
|
|
23
23
|
</script>
|
|
24
|
-
<script type="module" crossorigin src="/assets/index-
|
|
24
|
+
<script type="module" crossorigin src="/assets/index-94z1KYC_.js"></script>
|
|
25
25
|
<link rel="stylesheet" crossorigin href="/assets/index-DwyRdRuZ.css">
|
|
26
26
|
</head>
|
|
27
27
|
<body>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.66
|
|
3
3
|
*/
|
|
4
4
|
import { CoreAIAgent, PikkuAIMiddlewareHooks } from '@pikku/core/ai-agent';
|
|
5
5
|
import type { PikkuPermission, PikkuMiddleware, Services, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.66
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* WebSocket channel backend for 'pikku' CLI commands
|
|
@@ -28,6 +28,8 @@ import { dbSeed } from '../../src/functions/commands/db-seed.js';
|
|
|
28
28
|
import { dbReset } from '../../src/functions/commands/db-reset.js';
|
|
29
29
|
import { dbAudit } from '../../src/functions/commands/db-audit.js';
|
|
30
30
|
import { workspaceValidate } from '../../src/functions/commands/workspace-validate.js';
|
|
31
|
+
import { userFlowRun } from '../../src/functions/commands/user-flow.js';
|
|
32
|
+
import { userFlowList } from '../../src/functions/commands/user-flow.js';
|
|
31
33
|
import { FabricValidate } from '../../src/fabric/functions/validate.function.js';
|
|
32
34
|
import { FabricSmoke } from '../../src/fabric/functions/smoke.function.js';
|
|
33
35
|
import { FabricLogin } from '../../src/fabric/functions/login.function.js';
|
|
@@ -239,6 +241,14 @@ wireChannel({
|
|
|
239
241
|
func: workspaceValidate,
|
|
240
242
|
middleware: [cliCloseOnComplete],
|
|
241
243
|
},
|
|
244
|
+
'userflow.run': {
|
|
245
|
+
func: userFlowRun,
|
|
246
|
+
middleware: [cliCloseOnComplete],
|
|
247
|
+
},
|
|
248
|
+
'userflow.list': {
|
|
249
|
+
func: userFlowList,
|
|
250
|
+
middleware: [cliCloseOnComplete],
|
|
251
|
+
},
|
|
242
252
|
'fabric.validate': {
|
|
243
253
|
func: FabricValidate,
|
|
244
254
|
middleware: [cliCloseOnComplete],
|
|
@@ -280,6 +280,41 @@
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
|
+
"userflow": {
|
|
284
|
+
"pikkuFuncId": "",
|
|
285
|
+
"positionals": [],
|
|
286
|
+
"options": {},
|
|
287
|
+
"description": "Run and inspect user flows (pikkuUserFlow)",
|
|
288
|
+
"subcommands": {
|
|
289
|
+
"run": {
|
|
290
|
+
"pikkuFuncId": "userFlowRun",
|
|
291
|
+
"positionals": [
|
|
292
|
+
{
|
|
293
|
+
"name": "environment",
|
|
294
|
+
"required": true
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"options": {
|
|
298
|
+
"flows": {
|
|
299
|
+
"description": "Comma-separated flow names to run (default: all)",
|
|
300
|
+
"short": "f"
|
|
301
|
+
},
|
|
302
|
+
"tags": {
|
|
303
|
+
"description": "Comma-separated tags — run flows matching any",
|
|
304
|
+
"short": "t"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"description": "Run user flows against a configured environment (userFlows.environments in pikku.config.json). Actor secret comes from USER_FLOW_ACTOR_SECRET.",
|
|
308
|
+
"parameters": "<environment>"
|
|
309
|
+
},
|
|
310
|
+
"list": {
|
|
311
|
+
"pikkuFuncId": "userFlowList",
|
|
312
|
+
"positionals": [],
|
|
313
|
+
"options": {},
|
|
314
|
+
"description": "List user flows with names and descriptions"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
283
318
|
"fabric": {
|
|
284
319
|
"pikkuFuncId": "",
|
|
285
320
|
"positionals": [],
|
|
@@ -1437,6 +1437,40 @@
|
|
|
1437
1437
|
"inputHash": "e27fe9ce",
|
|
1438
1438
|
"outputHash": "4a703d6e"
|
|
1439
1439
|
},
|
|
1440
|
+
"userFlowList": {
|
|
1441
|
+
"pikkuFuncId": "userFlowList",
|
|
1442
|
+
"functionType": "user",
|
|
1443
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1444
|
+
"sessionless": true,
|
|
1445
|
+
"name": "userFlowList",
|
|
1446
|
+
"inputSchemaName": "UserFlowListInput",
|
|
1447
|
+
"outputSchemaName": null,
|
|
1448
|
+
"inputs": [
|
|
1449
|
+
"UserFlowListInput"
|
|
1450
|
+
],
|
|
1451
|
+
"outputs": [],
|
|
1452
|
+
"implementationHash": "3999b907ebad7ec1",
|
|
1453
|
+
"contractHash": "25896f3e7ae4f489",
|
|
1454
|
+
"inputHash": "837d5b06",
|
|
1455
|
+
"outputHash": "1b3daaa9"
|
|
1456
|
+
},
|
|
1457
|
+
"userFlowRun": {
|
|
1458
|
+
"pikkuFuncId": "userFlowRun",
|
|
1459
|
+
"functionType": "user",
|
|
1460
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1461
|
+
"sessionless": true,
|
|
1462
|
+
"name": "userFlowRun",
|
|
1463
|
+
"inputSchemaName": "UserFlowRunInput",
|
|
1464
|
+
"outputSchemaName": null,
|
|
1465
|
+
"inputs": [
|
|
1466
|
+
"UserFlowRunInput"
|
|
1467
|
+
],
|
|
1468
|
+
"outputs": [],
|
|
1469
|
+
"implementationHash": "5caff29ed5cf664d",
|
|
1470
|
+
"contractHash": "c79ecd709dd14ff1",
|
|
1471
|
+
"inputHash": "e236e045",
|
|
1472
|
+
"outputHash": "63b25371"
|
|
1473
|
+
},
|
|
1440
1474
|
"pikkuVersionsCheck": {
|
|
1441
1475
|
"pikkuFuncId": "pikkuVersionsCheck",
|
|
1442
1476
|
"functionType": "user",
|
|
@@ -2960,7 +2994,7 @@
|
|
|
2960
2994
|
"outputs": [
|
|
2961
2995
|
"PikkuWorkflowOutput"
|
|
2962
2996
|
],
|
|
2963
|
-
"implementationHash": "
|
|
2997
|
+
"implementationHash": "c95378f48480ed3d",
|
|
2964
2998
|
"middleware": [
|
|
2965
2999
|
{
|
|
2966
3000
|
"type": "wire",
|
|
@@ -83,6 +83,8 @@
|
|
|
83
83
|
"pikkuSkillsInstall": "pikkuSkillsInstall",
|
|
84
84
|
"pikkuTestsCoverage": "pikkuTestsCoverage",
|
|
85
85
|
"pikkuTestsInit": "pikkuTestsInit",
|
|
86
|
+
"userFlowList": "userFlowList",
|
|
87
|
+
"userFlowRun": "userFlowRun",
|
|
86
88
|
"pikkuVersionsCheck": "pikkuVersionsCheck",
|
|
87
89
|
"pikkuVersionsInit": "pikkuVersionsInit",
|
|
88
90
|
"pikkuVersionsUpdate": "pikkuVersionsUpdate",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.66
|
|
3
3
|
*/
|
|
4
4
|
import { addSchema } from '@pikku/core/schema';
|
|
5
5
|
import * as BinaryInput from './schemas/BinaryInput.schema.json' with { type: 'json' };
|
|
@@ -252,6 +252,10 @@ import * as RemoteRPCHandlerInput from './schemas/RemoteRPCHandlerInput.schema.j
|
|
|
252
252
|
addSchema('RemoteRPCHandlerInput', RemoteRPCHandlerInput);
|
|
253
253
|
import * as ServeInput from './schemas/ServeInput.schema.json' with { type: 'json' };
|
|
254
254
|
addSchema('ServeInput', ServeInput);
|
|
255
|
+
import * as UserFlowListInput from './schemas/UserFlowListInput.schema.json' with { type: 'json' };
|
|
256
|
+
addSchema('UserFlowListInput', UserFlowListInput);
|
|
257
|
+
import * as UserFlowRunInput from './schemas/UserFlowRunInput.schema.json' with { type: 'json' };
|
|
258
|
+
addSchema('UserFlowRunInput', UserFlowRunInput);
|
|
255
259
|
import * as WatchInput from './schemas/WatchInput.schema.json' with { type: 'json' };
|
|
256
260
|
addSchema('WatchInput', WatchInput);
|
|
257
261
|
import * as WhoamiInput from './schemas/WhoamiInput.schema.json' with { type: 'json' };
|