@pikku/cli 0.12.8 → 0.12.10
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-DOk9fqHB.js → index-DgyIKxt6.js} +109 -109
- package/console-app/index.html +1 -2
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js +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/channel/pikku-channels-meta.gen.js +1 -1
- package/dist/.pikku/channel/pikku-channels.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channels.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.d.ts +19 -0
- package/dist/.pikku/cli/pikku-cli-channel.js +16 -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 +5 -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 +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 +157 -136
- package/dist/.pikku/function/pikku-functions.gen.js +3 -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/mcp/pikku-mcp-wirings-meta.gen.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-wirings.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-wirings.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.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/pikku-websocket.gen.d.ts +1 -1
- package/dist/.pikku/pikku-websocket.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-remote-rpc-workers.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 +1 -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/scheduler/pikku-schedulers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +7 -7
- package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuNewAddonInput.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/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.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/src/cli.wiring.js +3 -0
- package/dist/src/functions/commands/all.js +1 -0
- package/dist/src/functions/commands/new-addon.d.ts +3 -0
- package/dist/src/functions/commands/new-addon.js +158 -22
- package/dist/src/functions/wirings/cli/serialize-channel-cli.js +16 -0
- package/dist/src/functions/wirings/credentials/pikku-command-credentials.d.ts +1 -0
- package/dist/src/functions/wirings/credentials/pikku-command-credentials.js +34 -0
- package/dist/src/functions/wirings/credentials/serialize-credentials-types.d.ts +9 -0
- package/dist/src/functions/wirings/credentials/serialize-credentials-types.js +61 -0
- package/dist/src/functions/wirings/functions/pikku-command-addon-types.js +4 -2
- package/dist/src/functions/wirings/functions/serialize-addon-types.d.ts +1 -1
- package/dist/src/functions/wirings/functions/serialize-addon-types.js +3 -2
- package/dist/src/utils/pikku-cli-config.js +8 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/console-app/index.html
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
name="description"
|
|
8
8
|
content="Build, manage, and deploy backends with ease. Pikku Console combines visual tools and AI assistance to streamline backend development and deployment."
|
|
9
9
|
/>
|
|
10
|
-
<link rel="icon" href="/pikku-console-logo.png" />
|
|
11
10
|
<title>Pikku Console</title>
|
|
12
11
|
<style>
|
|
13
12
|
html {
|
|
@@ -25,7 +24,7 @@
|
|
|
25
24
|
}
|
|
26
25
|
} catch (e) {}
|
|
27
26
|
</script>
|
|
28
|
-
<script type="module" crossorigin src="/assets/index-
|
|
27
|
+
<script type="module" crossorigin src="/assets/index-DgyIKxt6.js"></script>
|
|
29
28
|
<link rel="stylesheet" crossorigin href="/assets/index-DvrDbftC.css">
|
|
30
29
|
</head>
|
|
31
30
|
<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.10
|
|
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';
|
|
@@ -11,3 +11,22 @@ export declare const cliHelp: import("../function/pikku-function-types.gen.js").
|
|
|
11
11
|
}, {
|
|
12
12
|
help: string;
|
|
13
13
|
}, "session" | "rpc", import("../function/pikku-function-types.gen.js").Services>, undefined, undefined>;
|
|
14
|
+
export declare const cliRaw: import("../function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
15
|
+
args: string[];
|
|
16
|
+
}, {
|
|
17
|
+
help?: string;
|
|
18
|
+
result?: unknown;
|
|
19
|
+
error?: string;
|
|
20
|
+
}, "session" | "rpc", import("../function/pikku-function-types.gen.js").PikkuFunctionSessionless<{
|
|
21
|
+
args: string[];
|
|
22
|
+
}, {
|
|
23
|
+
help?: string;
|
|
24
|
+
result?: unknown;
|
|
25
|
+
error?: string;
|
|
26
|
+
}, "session" | "rpc", import("../function/pikku-function-types.gen.js").Services> | import("../function/pikku-function-types.gen.js").PikkuFunction<{
|
|
27
|
+
args: string[];
|
|
28
|
+
}, {
|
|
29
|
+
help?: string;
|
|
30
|
+
result?: unknown;
|
|
31
|
+
error?: string;
|
|
32
|
+
}, "session" | "rpc", import("../function/pikku-function-types.gen.js").Services>, undefined, undefined>;
|
|
@@ -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.10
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* WebSocket channel backend for 'pikku' CLI commands
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { wireChannel } from '../channel/pikku-channel-types.gen.js';
|
|
8
8
|
import { pikkuMiddleware, pikkuSessionlessFunc } from '../function/pikku-function-types.gen.js';
|
|
9
9
|
import { generateCommandHelp } from '@pikku/core/cli';
|
|
10
|
+
import { handleRawCLI } from '@pikku/core/cli/channel';
|
|
10
11
|
import { pikkuState } from '@pikku/core/internal';
|
|
11
12
|
import { all } from '../../src/functions/commands/all.js';
|
|
12
13
|
import { bootstrap } from '../../src/functions/commands/bootstrap.js';
|
|
@@ -67,6 +68,16 @@ export const cliHelp = pikkuSessionlessFunc({
|
|
|
67
68
|
return { help: helpText };
|
|
68
69
|
},
|
|
69
70
|
});
|
|
71
|
+
export const cliRaw = pikkuSessionlessFunc({
|
|
72
|
+
auth: false,
|
|
73
|
+
func: async (services, data) => {
|
|
74
|
+
return handleRawCLI({
|
|
75
|
+
programName: 'pikku',
|
|
76
|
+
args: data.args,
|
|
77
|
+
singletonServices: services,
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
});
|
|
70
81
|
wireChannel({
|
|
71
82
|
name: 'pikku-cli',
|
|
72
83
|
route: '/cli/pikku',
|
|
@@ -77,6 +88,10 @@ wireChannel({
|
|
|
77
88
|
func: cliHelp,
|
|
78
89
|
middleware: [cliCloseOnComplete],
|
|
79
90
|
},
|
|
91
|
+
'__raw': {
|
|
92
|
+
func: cliRaw,
|
|
93
|
+
middleware: [cliCloseOnComplete],
|
|
94
|
+
},
|
|
80
95
|
'all': {
|
|
81
96
|
func: all,
|
|
82
97
|
middleware: [cliCloseOnComplete],
|
|
@@ -277,6 +277,9 @@
|
|
|
277
277
|
"description": "Include OAuth2 credential wiring and OAuth2Client-based API service",
|
|
278
278
|
"default": false
|
|
279
279
|
},
|
|
280
|
+
"credential": {
|
|
281
|
+
"description": "Include per-user credential wiring (apikey, bearer, or oauth2)"
|
|
282
|
+
},
|
|
280
283
|
"test": {
|
|
281
284
|
"description": "Include test harness (default: true)",
|
|
282
285
|
"default": true
|
|
@@ -460,7 +463,8 @@
|
|
|
460
463
|
"aiAgentRunner",
|
|
461
464
|
"aiRunState",
|
|
462
465
|
"agentRunService",
|
|
463
|
-
"workflowRunService"
|
|
466
|
+
"workflowRunService",
|
|
467
|
+
"credentialService"
|
|
464
468
|
]
|
|
465
469
|
},
|
|
466
470
|
"filePath": "/home/runner/work/pikku/pikku/packages/cli/src/services.ts"
|