@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.
- 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 +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 +10 -1
- 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 +276 -188
- package/dist/.pikku/function/pikku-functions.gen.js +9 -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 +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/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +11 -7
- 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 +15 -11
- 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 +9 -9
- 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 +12 -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/pikku-command-summary.js +4 -1
- package/dist/src/functions/commands/versions-update.js +4 -2
- 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 +42 -0
- package/dist/src/functions/workflows/all.workflow.js +4 -4
- package/dist/src/scaffold/rpc-remote.gen.js +1 -1
- package/dist/src/scaffold/workflow-routes.gen.js +33 -1
- 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 +3 -3
- 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
|
@@ -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.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);
|
|
@@ -46,12 +46,13 @@
|
|
|
46
46
|
"pikkuChannels": "pikkuChannels",
|
|
47
47
|
"pikkuChannelTypes": "pikkuChannelTypes",
|
|
48
48
|
"pikkuChannelsMap": "pikkuChannelsMap",
|
|
49
|
-
"
|
|
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
|
-
"
|
|
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.
|
|
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
|
|
76
|
-
addSchema('
|
|
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.
|
|
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';
|
|
@@ -581,9 +581,9 @@
|
|
|
581
581
|
},
|
|
582
582
|
"Queue map": {
|
|
583
583
|
"nodeId": "Queue map",
|
|
584
|
-
"rpcName": "
|
|
584
|
+
"rpcName": "pikkuCommandQueueMap",
|
|
585
585
|
"next": "Queue service",
|
|
586
|
-
"stepHash": "
|
|
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": "
|
|
860
|
+
"rpcName": "pikkuCommandHTTP",
|
|
861
861
|
"next": "Scheduler",
|
|
862
|
-
"stepHash": "
|
|
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": "
|
|
878
|
+
"rpcName": "pikkuCommandQueue",
|
|
879
879
|
"next": "Channels",
|
|
880
|
-
"stepHash": "
|
|
880
|
+
"stepHash": "fba2e19d515a"
|
|
881
881
|
},
|
|
882
882
|
"Channels": {
|
|
883
883
|
"nodeId": "Channels",
|
|
884
|
-
"rpcName": "
|
|
884
|
+
"rpcName": "pikkuCommandChannels",
|
|
885
885
|
"next": "Gateway",
|
|
886
|
-
"stepHash": "
|
|
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": "
|
|
910
|
+
"graphHash": "96533f856895"
|
|
911
911
|
}
|
package/dist/src/cli.wiring.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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<{
|