@pikku/cli 0.12.20 → 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.
Files changed (99) hide show
  1. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  2. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  3. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  4. package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
  5. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  6. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  7. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  8. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +10 -1
  9. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  10. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  11. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  12. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  13. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  14. package/dist/.pikku/function/pikku-function-types.gen.d.ts +8 -2
  15. package/dist/.pikku/function/pikku-function-types.gen.js +4 -1
  16. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  17. package/dist/.pikku/function/pikku-functions-meta.gen.json +276 -188
  18. package/dist/.pikku/function/pikku-functions.gen.js +9 -9
  19. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  20. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  21. package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
  22. package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
  23. package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
  24. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  25. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  26. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  27. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  28. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  29. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  30. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  31. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  32. package/dist/.pikku/pikku-types.gen.js +1 -1
  33. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  34. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  35. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  36. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +11 -7
  37. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  38. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  39. package/dist/.pikku/schemas/register.gen.js +15 -11
  40. package/dist/.pikku/schemas/schemas/PikkuCommandHTTPOutput.schema.json +1 -0
  41. package/dist/.pikku/schemas/schemas/PikkuCommandQueueOutput.schema.json +1 -0
  42. package/dist/.pikku/schemas/schemas/WorkflowRunStatus.schema.json +1 -1
  43. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  44. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  45. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  46. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  47. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  48. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  49. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  50. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  51. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  52. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  53. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +9 -9
  54. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  55. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  56. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  57. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  58. package/dist/src/cli.wiring.js +12 -2
  59. package/dist/src/deploy/analyzer/manifest.d.ts +10 -0
  60. package/dist/src/deploy/build-pipeline.d.ts +2 -0
  61. package/dist/src/deploy/build-pipeline.js +44 -6
  62. package/dist/src/deploy/bundler/bundler.d.ts +2 -1
  63. package/dist/src/deploy/bundler/bundler.js +28 -5
  64. package/dist/src/deploy/bundler/dep-extractor.d.ts +5 -2
  65. package/dist/src/deploy/bundler/dep-extractor.js +103 -23
  66. package/dist/src/deploy/bundler/types.d.ts +5 -1
  67. package/dist/src/deploy/codegen/per-unit-codegen.d.ts +3 -1
  68. package/dist/src/deploy/codegen/per-unit-codegen.js +3 -1
  69. package/dist/src/deploy/plan/planner.js +25 -3
  70. package/dist/src/deploy/plan/provider.d.ts +2 -0
  71. package/dist/src/functions/commands/deploy-apply.js +6 -4
  72. package/dist/src/functions/commands/deploy-plan.js +7 -1
  73. package/dist/src/functions/commands/pikku-command-summary.js +4 -1
  74. package/dist/src/functions/commands/versions-update.js +4 -2
  75. package/dist/src/functions/wirings/channels/pikku-command-channels.d.ts +1 -1
  76. package/dist/src/functions/wirings/channels/pikku-command-channels.js +1 -1
  77. package/dist/src/functions/wirings/console/pikku-command-console-functions.js +5 -1
  78. package/dist/src/functions/wirings/functions/serialize-function-types.js +31 -1
  79. package/dist/src/functions/wirings/http/pikku-command-http-routes.d.ts +1 -1
  80. package/dist/src/functions/wirings/http/pikku-command-http-routes.js +1 -1
  81. package/dist/src/functions/wirings/queue/pikku-command-queue-map.d.ts +1 -1
  82. package/dist/src/functions/wirings/queue/pikku-command-queue-map.js +1 -1
  83. package/dist/src/functions/wirings/queue/pikku-command-queue.d.ts +1 -1
  84. package/dist/src/functions/wirings/queue/pikku-command-queue.js +1 -1
  85. package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.js +5 -1
  86. package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.js +5 -1
  87. package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +16 -2
  88. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +42 -0
  89. package/dist/src/functions/workflows/all.workflow.js +4 -4
  90. package/dist/src/scaffold/rpc-remote.gen.js +1 -1
  91. package/dist/src/scaffold/workflow-routes.gen.js +33 -1
  92. package/dist/src/services/cli-logger.service.d.ts +22 -2
  93. package/dist/src/services/cli-logger.service.js +97 -21
  94. package/dist/src/services.js +8 -1
  95. package/dist/tsconfig.tsbuildinfo +1 -1
  96. package/package.json +3 -3
  97. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +0 -10
  98. package/dist/.pikku/cli/pikku-cli-client.gen.js +0 -44
  99. /package/dist/.pikku/schemas/schemas/{PikkuChannelsOutput.schema.json → PikkuCommandChannelsOutput.schema.json} +0 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /* Import and register functions used by RPCs */
5
5
  import { addFunction } from '@pikku/core/function';
@@ -11,12 +11,15 @@ import { pikkuAddonTypes } from '../../src/functions/wirings/functions/pikku-com
11
11
  import { pikkuAIAgent } from '../../src/functions/wirings/ai-agent/pikku-command-ai-agent.js';
12
12
  import { pikkuAIAgentTypes } from '../../src/functions/wirings/ai-agent/pikku-command-ai-agent-types.js';
13
13
  import { pikkuBootstrap } from '../../src/functions/commands/pikku-command-bootstrap.js';
14
- import { pikkuChannels } from '../../src/functions/wirings/channels/pikku-command-channels.js';
15
14
  import { pikkuChannelsMap } from '../../src/functions/wirings/channels/pikku-command-channels-map.js';
16
15
  import { pikkuChannelTypes } from '../../src/functions/wirings/channels/pikku-command-channel-types.js';
17
16
  import { pikkuCLI } from '../../src/functions/wirings/cli/pikku-command-cli.js';
18
17
  import { pikkuCLIEntry } from '../../src/functions/wirings/cli/pikku-command-cli-entry.js';
19
18
  import { pikkuCLITypes } from '../../src/functions/wirings/cli/pikku-command-cli-types.js';
19
+ import { pikkuCommandChannels } from '../../src/functions/wirings/channels/pikku-command-channels.js';
20
+ import { pikkuCommandHTTP } from '../../src/functions/wirings/http/pikku-command-http-routes.js';
21
+ import { pikkuCommandQueue } from '../../src/functions/wirings/queue/pikku-command-queue.js';
22
+ import { pikkuCommandQueueMap } from '../../src/functions/wirings/queue/pikku-command-queue-map.js';
20
23
  import { pikkuConsoleFunctions } from '../../src/functions/wirings/console/pikku-command-console-functions.js';
21
24
  import { pikkuCredentials } from '../../src/functions/wirings/credentials/pikku-command-credentials.js';
22
25
  import { pikkuFetch } from '../../src/functions/runtimes/fetch/index.js';
@@ -24,7 +27,6 @@ import { pikkuFunctions } from '../../src/functions/wirings/functions/pikku-comm
24
27
  import { pikkuFunctionTypes } from '../../src/functions/wirings/functions/pikku-command-function-types.js';
25
28
  import { pikkuFunctionTypesSplit } from '../../src/functions/wirings/functions/pikku-command-function-types-split.js';
26
29
  import { pikkuGateway } from '../../src/functions/wirings/gateway/pikku-command-gateway.js';
27
- import { pikkuHTTP } from '../../src/functions/wirings/http/pikku-http-routes.js';
28
30
  import { pikkuHTTPMap } from '../../src/functions/wirings/http/pikku-command-http-map.js';
29
31
  import { pikkuHTTPTypes } from '../../src/functions/wirings/http/pikku-command-http-types.js';
30
32
  import { pikkuMCP } from '../../src/functions/wirings/mcp/pikku-command-mcp.js';
@@ -39,8 +41,6 @@ import { pikkuPackage } from '../../src/functions/wirings/package/pikku-command-
39
41
  import { pikkuPermissions } from '../../src/functions/wirings/permissions/pikku-command-permissions.js';
40
42
  import { pikkuPublicAgent } from '../../src/functions/wirings/ai-agent/pikku-command-public-agent.js';
41
43
  import { pikkuPublicRPC } from '../../src/functions/wirings/rpc/pikku-command-public-rpc.js';
42
- import { pikkuQueue } from '../../src/functions/wirings/queue/pikku-queue.js';
43
- import { pikkuQueueMap } from '../../src/functions/wirings/queue/pikku-queue-map.js';
44
44
  import { pikkuQueueService } from '../../src/functions/wirings/queue/pikku-command-queue-service.js';
45
45
  import { pikkuQueueTypes } from '../../src/functions/wirings/queue/pikku-command-queue-types.js';
46
46
  import { pikkuReactQuery } from '../../src/functions/wirings/rpc/pikku-command-react-query.js';
@@ -74,12 +74,15 @@ addFunction('pikkuAddonTypes', pikkuAddonTypes);
74
74
  addFunction('pikkuAIAgent', pikkuAIAgent);
75
75
  addFunction('pikkuAIAgentTypes', pikkuAIAgentTypes);
76
76
  addFunction('pikkuBootstrap', pikkuBootstrap);
77
- addFunction('pikkuChannels', pikkuChannels);
78
77
  addFunction('pikkuChannelsMap', pikkuChannelsMap);
79
78
  addFunction('pikkuChannelTypes', pikkuChannelTypes);
80
79
  addFunction('pikkuCLI', pikkuCLI);
81
80
  addFunction('pikkuCLIEntry', pikkuCLIEntry);
82
81
  addFunction('pikkuCLITypes', pikkuCLITypes);
82
+ addFunction('pikkuCommandChannels', pikkuCommandChannels);
83
+ addFunction('pikkuCommandHTTP', pikkuCommandHTTP);
84
+ addFunction('pikkuCommandQueue', pikkuCommandQueue);
85
+ addFunction('pikkuCommandQueueMap', pikkuCommandQueueMap);
83
86
  addFunction('pikkuConsoleFunctions', pikkuConsoleFunctions);
84
87
  addFunction('pikkuCredentials', pikkuCredentials);
85
88
  addFunction('pikkuFetch', pikkuFetch);
@@ -87,7 +90,6 @@ addFunction('pikkuFunctions', pikkuFunctions);
87
90
  addFunction('pikkuFunctionTypes', pikkuFunctionTypes);
88
91
  addFunction('pikkuFunctionTypesSplit', pikkuFunctionTypesSplit);
89
92
  addFunction('pikkuGateway', pikkuGateway);
90
- addFunction('pikkuHTTP', pikkuHTTP);
91
93
  addFunction('pikkuHTTPMap', pikkuHTTPMap);
92
94
  addFunction('pikkuHTTPTypes', pikkuHTTPTypes);
93
95
  addFunction('pikkuMCP', pikkuMCP);
@@ -102,8 +104,6 @@ addFunction('pikkuPackage', pikkuPackage);
102
104
  addFunction('pikkuPermissions', pikkuPermissions);
103
105
  addFunction('pikkuPublicAgent', pikkuPublicAgent);
104
106
  addFunction('pikkuPublicRPC', pikkuPublicRPC);
105
- addFunction('pikkuQueue', pikkuQueue);
106
- addFunction('pikkuQueueMap', pikkuQueueMap);
107
107
  addFunction('pikkuQueueService', pikkuQueueService);
108
108
  addFunction('pikkuQueueTypes', pikkuQueueTypes);
109
109
  addFunction('pikkuReactQuery', pikkuReactQuery);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-http-wirings-meta.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import '../../src/scaffold/rpc-remote.gen.js';
5
5
  import '../../src/scaffold/workflow-routes.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /* The files with an wireHTTP function call */
5
5
  import '../../src/scaffold/rpc-remote.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './http/pikku-http-wirings-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './http/pikku-http-wirings-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export declare class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js';
5
5
  import type { Services } from '../types/application-types.d.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
@@ -46,12 +46,13 @@
46
46
  "pikkuChannels": "pikkuChannels",
47
47
  "pikkuChannelTypes": "pikkuChannelTypes",
48
48
  "pikkuChannelsMap": "pikkuChannelsMap",
49
- "pikkuCLIEntry": "pikkuCLIEntry",
50
- "pikkuCLITypes": "pikkuCLITypes",
51
- "pikkuCLI": "pikkuCLI",
49
+ "pikkuCommandChannels": "pikkuCommandChannels",
52
50
  "pikkuConsoleFunctions": "pikkuConsoleFunctions",
53
51
  "pikkuNodeTypes": "pikkuNodeTypes",
54
52
  "pikkuNodesMeta": "pikkuNodesMeta",
53
+ "pikkuCLIEntry": "pikkuCLIEntry",
54
+ "pikkuCLITypes": "pikkuCLITypes",
55
+ "pikkuCLI": "pikkuCLI",
55
56
  "pikkuCredentials": "pikkuCredentials",
56
57
  "pikkuAddonTypes": "pikkuAddonTypes",
57
58
  "pikkuFunctionTypesSplit": "pikkuFunctionTypesSplit",
@@ -59,19 +60,22 @@
59
60
  "pikkuFunctions": "pikkuFunctions",
60
61
  "pikkuServices": "pikkuServices",
61
62
  "pikkuGateway": "pikkuGateway",
63
+ "pikkuHTTPMap": "pikkuHTTPMap",
64
+ "pikkuCommandHTTP": "pikkuCommandHTTP",
65
+ "pikkuHTTPTypes": "pikkuHTTPTypes",
66
+ "pikkuHTTP": "pikkuHTTP",
62
67
  "pikkuMCPJSON": "pikkuMCPJSON",
63
68
  "pikkuMCPTypes": "pikkuMCPTypes",
64
69
  "pikkuMCP": "pikkuMCP",
65
- "pikkuHTTPMap": "pikkuHTTPMap",
66
- "pikkuHTTP": "pikkuHTTP",
67
- "pikkuHTTPTypes": "pikkuHTTPTypes",
68
70
  "pikkuMiddleware": "pikkuMiddleware",
69
71
  "pikkuSecretDefinitionTypes": "pikkuSecretDefinitionTypes",
70
72
  "pikkuVariableDefinitionTypes": "pikkuVariableDefinitionTypes",
71
73
  "pikkuPackage": "pikkuPackage",
72
74
  "pikkuPermissions": "pikkuPermissions",
73
- "pikkuQueueMap": "pikkuQueueMap",
75
+ "pikkuCommandQueueMap": "pikkuCommandQueueMap",
74
76
  "pikkuQueueTypes": "pikkuQueueTypes",
77
+ "pikkuCommandQueue": "pikkuCommandQueue",
78
+ "pikkuQueueMap": "pikkuQueueMap",
75
79
  "pikkuQueue": "pikkuQueue",
76
80
  "pikkuPublicRPC": "pikkuPublicRPC",
77
81
  "pikkuRemoteRPC": "pikkuRemoteRPC",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as PikkuSchemasOutput from './schemas/PikkuSchemasOutput.schema.json' with { type: 'json' };
@@ -48,32 +48,34 @@ import * as GraphStarterInput from './schemas/GraphStarterInput.schema.json' wit
48
48
  addSchema('GraphStarterInput', GraphStarterInput);
49
49
  import * as GraphStarterOutput from './schemas/GraphStarterOutput.schema.json' with { type: 'json' };
50
50
  addSchema('GraphStarterOutput', GraphStarterOutput);
51
- import * as PikkuChannelsOutput from './schemas/PikkuChannelsOutput.schema.json' with { type: 'json' };
52
- addSchema('PikkuChannelsOutput', PikkuChannelsOutput);
53
51
  import * as PikkuAIAgentOutput from './schemas/PikkuAIAgentOutput.schema.json' with { type: 'json' };
54
52
  addSchema('PikkuAIAgentOutput', PikkuAIAgentOutput);
55
53
  import * as PikkuPublicAgentOutput from './schemas/PikkuPublicAgentOutput.schema.json' with { type: 'json' };
56
54
  addSchema('PikkuPublicAgentOutput', PikkuPublicAgentOutput);
57
- import * as PikkuCLIOutput from './schemas/PikkuCLIOutput.schema.json' with { type: 'json' };
58
- addSchema('PikkuCLIOutput', PikkuCLIOutput);
59
55
  import * as PikkuConsoleFunctionsOutput from './schemas/PikkuConsoleFunctionsOutput.schema.json' with { type: 'json' };
60
56
  addSchema('PikkuConsoleFunctionsOutput', PikkuConsoleFunctionsOutput);
61
57
  import * as PikkuNodesMetaOutput from './schemas/PikkuNodesMetaOutput.schema.json' with { type: 'json' };
62
58
  addSchema('PikkuNodesMetaOutput', PikkuNodesMetaOutput);
59
+ import * as PikkuCLIOutput from './schemas/PikkuCLIOutput.schema.json' with { type: 'json' };
60
+ addSchema('PikkuCLIOutput', PikkuCLIOutput);
61
+ import * as PikkuCommandChannelsOutput from './schemas/PikkuCommandChannelsOutput.schema.json' with { type: 'json' };
62
+ addSchema('PikkuCommandChannelsOutput', PikkuCommandChannelsOutput);
63
63
  import * as PikkuFunctionsOutput from './schemas/PikkuFunctionsOutput.schema.json' with { type: 'json' };
64
64
  addSchema('PikkuFunctionsOutput', PikkuFunctionsOutput);
65
65
  import * as PikkuGatewayOutput from './schemas/PikkuGatewayOutput.schema.json' with { type: 'json' };
66
66
  addSchema('PikkuGatewayOutput', PikkuGatewayOutput);
67
+ import * as PikkuCommandHTTPOutput from './schemas/PikkuCommandHTTPOutput.schema.json' with { type: 'json' };
68
+ addSchema('PikkuCommandHTTPOutput', PikkuCommandHTTPOutput);
67
69
  import * as PikkuHTTPOutput from './schemas/PikkuHTTPOutput.schema.json' with { type: 'json' };
68
70
  addSchema('PikkuHTTPOutput', PikkuHTTPOutput);
69
- import * as PikkuMiddlewareOutput from './schemas/PikkuMiddlewareOutput.schema.json' with { type: 'json' };
70
- addSchema('PikkuMiddlewareOutput', PikkuMiddlewareOutput);
71
71
  import * as PikkuMCPOutput from './schemas/PikkuMCPOutput.schema.json' with { type: 'json' };
72
72
  addSchema('PikkuMCPOutput', PikkuMCPOutput);
73
+ import * as PikkuMiddlewareOutput from './schemas/PikkuMiddlewareOutput.schema.json' with { type: 'json' };
74
+ addSchema('PikkuMiddlewareOutput', PikkuMiddlewareOutput);
73
75
  import * as PikkuPackageOutput from './schemas/PikkuPackageOutput.schema.json' with { type: 'json' };
74
76
  addSchema('PikkuPackageOutput', PikkuPackageOutput);
75
- import * as PikkuQueueOutput from './schemas/PikkuQueueOutput.schema.json' with { type: 'json' };
76
- addSchema('PikkuQueueOutput', PikkuQueueOutput);
77
+ import * as PikkuPermissionsOutput from './schemas/PikkuPermissionsOutput.schema.json' with { type: 'json' };
78
+ addSchema('PikkuPermissionsOutput', PikkuPermissionsOutput);
77
79
  import * as PikkuPublicRPCOutput from './schemas/PikkuPublicRPCOutput.schema.json' with { type: 'json' };
78
80
  addSchema('PikkuPublicRPCOutput', PikkuPublicRPCOutput);
79
81
  import * as PikkuRemoteRPCOutput from './schemas/PikkuRemoteRPCOutput.schema.json' with { type: 'json' };
@@ -84,11 +86,13 @@ import * as PikkuSchedulerOutput from './schemas/PikkuSchedulerOutput.schema.jso
84
86
  addSchema('PikkuSchedulerOutput', PikkuSchedulerOutput);
85
87
  import * as PikkuTriggerOutput from './schemas/PikkuTriggerOutput.schema.json' with { type: 'json' };
86
88
  addSchema('PikkuTriggerOutput', PikkuTriggerOutput);
87
- import * as PikkuPermissionsOutput from './schemas/PikkuPermissionsOutput.schema.json' with { type: 'json' };
88
- addSchema('PikkuPermissionsOutput', PikkuPermissionsOutput);
89
89
  import * as PikkuWorkflowRoutesOutput from './schemas/PikkuWorkflowRoutesOutput.schema.json' with { type: 'json' };
90
90
  addSchema('PikkuWorkflowRoutesOutput', PikkuWorkflowRoutesOutput);
91
91
  import * as PikkuWorkflowOutput from './schemas/PikkuWorkflowOutput.schema.json' with { type: 'json' };
92
92
  addSchema('PikkuWorkflowOutput', PikkuWorkflowOutput);
93
+ import * as PikkuCommandQueueOutput from './schemas/PikkuCommandQueueOutput.schema.json' with { type: 'json' };
94
+ addSchema('PikkuCommandQueueOutput', PikkuCommandQueueOutput);
95
+ import * as PikkuQueueOutput from './schemas/PikkuQueueOutput.schema.json' with { type: 'json' };
96
+ addSchema('PikkuQueueOutput', PikkuQueueOutput);
93
97
  import * as PikkuCLIConfig from './schemas/PikkuCLIConfig.schema.json' with { type: 'json' };
94
98
  addSchema('PikkuCLIConfig', PikkuCLIConfig);
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "boolean", "enum": [false, true], "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "boolean", "enum": [false, true], "definitions": {} }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "id": { "type": "string" }, "status": { "$ref": "#/definitions/WorkflowStatus" }, "startedAt": { "type": "string", "format": "date-time" }, "completedAt": { "type": "string", "format": "date-time" }, "steps": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "status": { "$ref": "#/definitions/StepStatus" }, "duration": { "type": "number" } }, "required": ["name", "status"], "additionalProperties": false } }, "output": {}, "error": { "type": "object", "properties": { "message": { "type": "string" } }, "required": ["message"], "additionalProperties": false } }, "required": ["id", "status", "startedAt", "steps"], "additionalProperties": false, "definitions": { "WorkflowStatus": { "type": "string", "enum": ["running", "suspended", "completed", "failed", "cancelled"], "description": "Workflow run status" }, "StepStatus": { "type": "string", "enum": ["pending", "running", "scheduled", "succeeded", "failed", "suspended"], "description": "Workflow step status" } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "id": { "type": "string" }, "status": { "$ref": "#/definitions/WorkflowStatus" }, "startedAt": { "type": "string", "format": "date-time" }, "completedAt": { "type": "string", "format": "date-time" }, "deterministic": { "type": "boolean" }, "plannedSteps": { "type": "array", "items": { "$ref": "#/definitions/WorkflowPlannedStep" } }, "steps": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "status": { "$ref": "#/definitions/StepStatus" }, "duration": { "type": "number" } }, "required": ["name", "status"], "additionalProperties": false } }, "output": {}, "error": { "type": "object", "properties": { "message": { "type": "string" } }, "required": ["message"], "additionalProperties": false } }, "required": ["id", "status", "startedAt", "steps"], "additionalProperties": false, "definitions": { "WorkflowStatus": { "type": "string", "enum": ["running", "suspended", "completed", "failed", "cancelled"], "description": "Workflow run status" }, "WorkflowPlannedStep": { "type": "object", "properties": { "stepName": { "type": "string", "description": "Human-readable step label for UI timeline" } }, "required": ["stepName"], "additionalProperties": false }, "StepStatus": { "type": "string", "enum": ["pending", "running", "scheduled", "succeeded", "failed", "suspended"], "description": "Workflow step status" } } }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  export { wireSecret } from '@pikku/core/secret';
5
5
  export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  export { wireSecret } from '@pikku/core/secret';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  import type { SecretService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  const CREDENTIALS_META = {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  export { wireVariable } from '@pikku/core/variable';
5
5
  export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  export { wireVariable } from '@pikku/core/variable';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import type { VariablesService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  const VARIABLES_META = {};
@@ -581,9 +581,9 @@
581
581
  },
582
582
  "Queue map": {
583
583
  "nodeId": "Queue map",
584
- "rpcName": "pikkuQueueMap",
584
+ "rpcName": "pikkuCommandQueueMap",
585
585
  "next": "Queue service",
586
- "stepHash": "ea903f8f068c"
586
+ "stepHash": "6cf29f3a84d2"
587
587
  },
588
588
  "Queue service": {
589
589
  "nodeId": "Queue service",
@@ -857,9 +857,9 @@
857
857
  },
858
858
  "HTTP": {
859
859
  "nodeId": "HTTP",
860
- "rpcName": "pikkuHTTP",
860
+ "rpcName": "pikkuCommandHTTP",
861
861
  "next": "Scheduler",
862
- "stepHash": "3a613fe4489a"
862
+ "stepHash": "ba1b4f85fc79"
863
863
  },
864
864
  "Scheduler": {
865
865
  "nodeId": "Scheduler",
@@ -875,15 +875,15 @@
875
875
  },
876
876
  "Queue": {
877
877
  "nodeId": "Queue",
878
- "rpcName": "pikkuQueue",
878
+ "rpcName": "pikkuCommandQueue",
879
879
  "next": "Channels",
880
- "stepHash": "6d9159ddfa71"
880
+ "stepHash": "fba2e19d515a"
881
881
  },
882
882
  "Channels": {
883
883
  "nodeId": "Channels",
884
- "rpcName": "pikkuChannels",
884
+ "rpcName": "pikkuCommandChannels",
885
885
  "next": "Gateway",
886
- "stepHash": "65df9df381cf"
886
+ "stepHash": "aae49a4acd3c"
887
887
  },
888
888
  "Gateway": {
889
889
  "nodeId": "Gateway",
@@ -907,5 +907,5 @@
907
907
  "entryNodeIds": [
908
908
  "step_0"
909
909
  ],
910
- "graphHash": "13fb492ccbee"
910
+ "graphHash": "96533f856895"
911
911
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { template } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { template } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import allWorkflowMeta from './meta/allWorkflow.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.20
2
+ * This file was generated by @pikku/cli@0.12.21
3
3
  */
4
4
  import { addWorkflow } from '@pikku/core/workflow';
5
5
  import './pikku-workflow-wirings-meta.gen.js';
@@ -25,11 +25,11 @@ import { enableRpc, enableConsole, enableAgent, enableWorkflow, } from './functi
25
25
  import { deployPlan } from './functions/commands/deploy-plan.js';
26
26
  import { deployApply } from './functions/commands/deploy-apply.js';
27
27
  import { deployInfo } from './functions/commands/deploy-info.js';
28
- // import { clientCLIRenderer } from './services.js'
28
+ import { defaultCLIRenderer } from './services.js';
29
29
  wireCLI({
30
30
  program: 'pikku',
31
31
  description: 'Pikku CLI - Code generation tool for type-safe backend development',
32
- // render: clientCLIRenderer,
32
+ render: defaultCLIRenderer,
33
33
  options: {
34
34
  config: {
35
35
  description: 'Path to pikku.config.json file',
@@ -40,6 +40,16 @@ wireCLI({
40
40
  default: 'info',
41
41
  short: 'l',
42
42
  },
43
+ output: {
44
+ description: 'Output format (json emits NDJSON)',
45
+ choices: ['text', 'json'],
46
+ default: 'text',
47
+ },
48
+ json: {
49
+ description: 'Alias for --output json',
50
+ default: false,
51
+ short: 'j',
52
+ },
43
53
  userSessionType: {
44
54
  description: 'Specify which UserSession type to use (when multiple exist)',
45
55
  },
@@ -44,6 +44,16 @@ export interface DeploymentUnit {
44
44
  /** What runtime handlers this unit needs to export */
45
45
  handlers: DeploymentHandler[];
46
46
  tags: string[];
47
+ /** SHA-256 of final bundled artifact (set by build pipeline) */
48
+ bundleHash?: string;
49
+ /** Final bundle size in bytes (set by build pipeline) */
50
+ bundleSizeBytes?: number;
51
+ /** SHA-256 of sorted exact dependency map (set by build pipeline) */
52
+ exactDependenciesHash?: string;
53
+ /** Top-level exact runtime dependency versions for this unit (set by build pipeline) */
54
+ exactDependencies?: Record<string, string>;
55
+ /** Top-level exact optional runtime dependency versions for this unit (set by build pipeline) */
56
+ exactOptionalDependencies?: Record<string, string>;
47
57
  }
48
58
  export interface QueueDefinition {
49
59
  name: string;
@@ -16,6 +16,8 @@ export interface BuildLogger {
16
16
  export interface BuildPipelineResult {
17
17
  manifest: DeploymentManifest;
18
18
  providerDir: string;
19
+ deploymentManifestPath: string;
20
+ infraPath: string | null;
19
21
  projectId: string;
20
22
  bundled: BundleResult[];
21
23
  bundleErrors: Array<{