@pikku/cli 0.12.17 → 0.12.20
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-DvrDbftC.css → index-BpY2pSuA.css} +10 -1
- package/console-app/assets/index-DXLy-_D4.js +717 -0
- package/console-app/index.html +2 -2
- 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-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 +29 -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 +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 +274 -123
- package/dist/.pikku/function/pikku-functions.gen.js +5 -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-meta.gen.json +62 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +2 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.js +2 -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 +2 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +2 -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 +7 -6
- package/dist/.pikku/pikku-services.gen.js +5 -4
- 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 +12 -4
- 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 +27 -7
- package/dist/.pikku/schemas/schemas/DevInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GraphStarterInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GraphStarterOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/WorkflowRunStatus.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WorkflowRunnerInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WorkflowStarterInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WorkflowStarterOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WorkflowStatusCheckerInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WorkflowStatusStreamFullInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WorkflowStatusStreamInput.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/meta/allWorkflow.gen.json +911 -0
- 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 +5 -2
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +2 -4
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -2
- package/dist/src/cli.wiring.js +25 -0
- package/dist/src/deploy/analyzer/analyzer.d.ts +1 -0
- package/dist/src/deploy/analyzer/analyzer.js +18 -15
- package/dist/src/deploy/codegen/per-unit-codegen.js +3 -3
- package/dist/src/functions/commands/all.js +2 -186
- package/dist/src/functions/commands/bootstrap.js +10 -10
- package/dist/src/functions/commands/console.js +1 -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/versions-update.js +7 -3
- package/dist/src/functions/commands/watch.js +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-react-query.d.ts +1 -0
- package/dist/src/functions/wirings/rpc/pikku-command-react-query.js +33 -0
- package/dist/src/functions/wirings/rpc/serialize-react-query-hooks.d.ts +1 -0
- package/dist/src/functions/wirings/rpc/serialize-react-query-hooks.js +108 -0
- package/dist/src/functions/wirings/rpc/serialize-rpc-wrapper.js +3 -3
- package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +6 -4
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +128 -29
- package/dist/src/functions/workflows/all.workflow.d.ts +1 -0
- package/dist/src/functions/workflows/all.workflow.js +207 -0
- package/dist/src/scaffold/rpc-remote.gen.js +1 -1
- package/dist/src/scaffold/workflow-routes.gen.d.ts +84 -0
- package/dist/src/scaffold/workflow-routes.gen.js +197 -0
- package/dist/src/services.js +2 -0
- package/dist/src/utils/pikku-cli-config.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -4
- package/console-app/assets/index-CzMWJFqj.js +0 -700
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts +0 -1
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +0 -6
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.json +0 -3
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +0 -4
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js +0 -4
- package/dist/.pikku/channel/pikku-channels-meta.gen.d.ts +0 -1
- package/dist/.pikku/channel/pikku-channels-meta.gen.js +0 -6
- package/dist/.pikku/channel/pikku-channels-meta.gen.json +0 -1
- package/dist/.pikku/channel/pikku-channels.gen.d.ts +0 -4
- package/dist/.pikku/channel/pikku-channels.gen.js +0 -5
- package/dist/.pikku/mcp/pikku-mcp-wirings-meta.gen.d.ts +0 -1
- package/dist/.pikku/mcp/pikku-mcp-wirings-meta.gen.js +0 -8
- package/dist/.pikku/mcp/pikku-mcp-wirings-meta.gen.json +0 -5
- package/dist/.pikku/mcp/pikku-mcp-wirings.gen.d.ts +0 -4
- package/dist/.pikku/mcp/pikku-mcp-wirings.gen.js +0 -5
- package/dist/.pikku/pikku-websocket.gen.d.ts +0 -45
- package/dist/.pikku/pikku-websocket.gen.js +0 -63
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.d.ts +0 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +0 -6
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +0 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +0 -4
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +0 -5
- package/dist/.pikku/rpc/pikku-remote-rpc-workers.gen.d.ts +0 -17
- package/dist/.pikku/rpc/pikku-remote-rpc-workers.gen.js +0 -25
- package/dist/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.d.ts +0 -1
- package/dist/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.js +0 -6
- package/dist/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.json +0 -1
- package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.d.ts +0 -4
- package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.js +0 -5
package/console-app/index.html
CHANGED
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
}
|
|
25
25
|
} catch (e) {}
|
|
26
26
|
</script>
|
|
27
|
-
<script type="module" crossorigin src="/assets/index-
|
|
28
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
27
|
+
<script type="module" crossorigin src="/assets/index-DXLy-_D4.js"></script>
|
|
28
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BpY2pSuA.css">
|
|
29
29
|
</head>
|
|
30
30
|
<body>
|
|
31
31
|
<div id="root"></div>
|
|
@@ -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.20
|
|
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.20
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* WebSocket channel backend for 'pikku' CLI commands
|
|
@@ -12,11 +12,13 @@ import { pikkuState } from '@pikku/core/internal';
|
|
|
12
12
|
import { all } from '../../src/functions/commands/all.js';
|
|
13
13
|
import { bootstrap } from '../../src/functions/commands/bootstrap.js';
|
|
14
14
|
import { watch } from '../../src/functions/commands/watch.js';
|
|
15
|
+
import { dev } from '../../src/functions/commands/dev.js';
|
|
15
16
|
import { consoleCommand } from '../../src/functions/commands/console.js';
|
|
16
17
|
import { pikkuSchemas } from '../../src/functions/wirings/functions/schemas.js';
|
|
17
18
|
import { pikkuFetch } from '../../src/functions/runtimes/fetch/index.js';
|
|
18
19
|
import { pikkuWebSocketTyped } from '../../src/functions/runtimes/websocket/pikku-command-websocket-typed.js';
|
|
19
20
|
import { pikkuRPCClient } from '../../src/functions/wirings/rpc/pikku-command-rpc-client.js';
|
|
21
|
+
import { pikkuReactQuery } from '../../src/functions/wirings/rpc/pikku-command-react-query.js';
|
|
20
22
|
import { pikkuQueueService } from '../../src/functions/wirings/queue/pikku-command-queue-service.js';
|
|
21
23
|
import { pikkuOpenAPI } from '../../src/functions/wirings/http/pikku-command-openapi.js';
|
|
22
24
|
import { pikkuNext } from '../../src/functions/runtimes/nextjs/pikku-command-nextjs.js';
|
|
@@ -107,6 +109,10 @@ wireChannel({
|
|
|
107
109
|
func: watch,
|
|
108
110
|
middleware: [cliCloseOnComplete],
|
|
109
111
|
},
|
|
112
|
+
'dev': {
|
|
113
|
+
func: dev,
|
|
114
|
+
middleware: [cliCloseOnComplete],
|
|
115
|
+
},
|
|
110
116
|
'console': {
|
|
111
117
|
func: consoleCommand,
|
|
112
118
|
middleware: [cliCloseOnComplete],
|
|
@@ -127,6 +133,10 @@ wireChannel({
|
|
|
127
133
|
func: pikkuRPCClient,
|
|
128
134
|
middleware: [cliCloseOnComplete],
|
|
129
135
|
},
|
|
136
|
+
'react-query': {
|
|
137
|
+
func: pikkuReactQuery,
|
|
138
|
+
middleware: [cliCloseOnComplete],
|
|
139
|
+
},
|
|
130
140
|
'queue-service': {
|
|
131
141
|
func: pikkuQueueService,
|
|
132
142
|
middleware: [cliCloseOnComplete],
|
|
@@ -49,6 +49,26 @@
|
|
|
49
49
|
},
|
|
50
50
|
"description": "Watch for file changes and regenerate automatically"
|
|
51
51
|
},
|
|
52
|
+
"dev": {
|
|
53
|
+
"pikkuFuncId": "dev",
|
|
54
|
+
"positionals": [],
|
|
55
|
+
"options": {
|
|
56
|
+
"port": {
|
|
57
|
+
"description": "Port for the dev server",
|
|
58
|
+
"default": "3000",
|
|
59
|
+
"short": "p"
|
|
60
|
+
},
|
|
61
|
+
"watch": {
|
|
62
|
+
"description": "Watch for file changes and regenerate",
|
|
63
|
+
"default": true
|
|
64
|
+
},
|
|
65
|
+
"hmr": {
|
|
66
|
+
"description": "Enable hot module reload",
|
|
67
|
+
"default": true
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"description": "Start a local development server with all services wired"
|
|
71
|
+
},
|
|
52
72
|
"console": {
|
|
53
73
|
"pikkuFuncId": "consoleCommand",
|
|
54
74
|
"positionals": [],
|
|
@@ -94,6 +114,12 @@
|
|
|
94
114
|
"options": {},
|
|
95
115
|
"description": "Generate RPC client wrappers"
|
|
96
116
|
},
|
|
117
|
+
"react-query": {
|
|
118
|
+
"pikkuFuncId": "pikkuReactQuery",
|
|
119
|
+
"positionals": [],
|
|
120
|
+
"options": {},
|
|
121
|
+
"description": "Generate React Query hooks from RPC map"
|
|
122
|
+
},
|
|
97
123
|
"queue-service": {
|
|
98
124
|
"pikkuFuncId": "pikkuQueueService",
|
|
99
125
|
"positionals": [],
|
|
@@ -509,6 +535,7 @@
|
|
|
509
535
|
"services": {
|
|
510
536
|
"optimized": true,
|
|
511
537
|
"services": [
|
|
538
|
+
"workflowService",
|
|
512
539
|
"logger",
|
|
513
540
|
"getInspectorState",
|
|
514
541
|
"schema",
|
|
@@ -516,7 +543,6 @@
|
|
|
516
543
|
"config",
|
|
517
544
|
"variables",
|
|
518
545
|
"secrets",
|
|
519
|
-
"workflowService",
|
|
520
546
|
"queueService",
|
|
521
547
|
"schedulerService",
|
|
522
548
|
"deploymentService",
|
|
@@ -527,7 +553,8 @@
|
|
|
527
553
|
"agentRunService",
|
|
528
554
|
"workflowRunService",
|
|
529
555
|
"credentialService",
|
|
530
|
-
"metaService"
|
|
556
|
+
"metaService",
|
|
557
|
+
"sessionStore"
|
|
531
558
|
]
|
|
532
559
|
},
|
|
533
560
|
"filePath": "/home/runner/work/pikku/pikku/packages/cli/src/services.ts"
|