@pikku/cli 0.12.54 → 0.12.55
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-DYnbceYg.js → index-xN8LW0II.js} +155 -155
- 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 +3 -3
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.d.ts +6 -6
- package/dist/.pikku/cli/pikku-cli-channel.js +6 -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 +15 -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 +2 -2
- 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 +1406 -1389
- 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-meta.gen.json +4 -4
- 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 +68 -67
- 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 +187 -185
- package/dist/.pikku/schemas/schemas/PikkuAuthInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuCLIConfig.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 -3
- 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/bin/pikku-bin.mjs +2 -2
- package/dist/src/cli.wiring.js +15 -1
- package/dist/src/deploy/provider-adapter.d.ts +11 -0
- package/dist/src/deploy/server-entry.js +3 -1
- package/dist/src/fabric/fabric-commands.d.ts +72 -72
- package/dist/src/fabric/functions/add.function.d.ts +3 -3
- package/dist/src/fabric/functions/db-schema.function.d.ts +3 -3
- package/dist/src/fabric/functions/deploy-list.function.d.ts +3 -3
- package/dist/src/fabric/functions/deploy-units.function.d.ts +3 -3
- package/dist/src/fabric/functions/deploy.function.d.ts +6 -6
- package/dist/src/fabric/functions/domains-add.function.d.ts +3 -3
- package/dist/src/fabric/functions/domains-list.function.d.ts +3 -3
- package/dist/src/fabric/functions/domains-remove.function.d.ts +3 -3
- package/dist/src/fabric/functions/errors.function.d.ts +3 -3
- package/dist/src/fabric/functions/init.function.d.ts +3 -3
- package/dist/src/fabric/functions/link.function.d.ts +3 -3
- package/dist/src/fabric/functions/llm-key.function.d.ts +3 -3
- package/dist/src/fabric/functions/login.function.d.ts +3 -3
- package/dist/src/fabric/functions/logs.function.d.ts +3 -3
- package/dist/src/fabric/functions/metrics.function.d.ts +3 -3
- package/dist/src/fabric/functions/publish.function.d.ts +3 -3
- package/dist/src/fabric/functions/rollback.function.d.ts +3 -3
- package/dist/src/fabric/functions/secrets-list.function.d.ts +3 -3
- package/dist/src/fabric/functions/secrets-set.function.d.ts +3 -3
- package/dist/src/fabric/functions/smoke.function.d.ts +3 -3
- package/dist/src/fabric/functions/status.function.d.ts +3 -3
- package/dist/src/fabric/functions/trace.function.d.ts +3 -3
- package/dist/src/fabric/functions/validate.function.d.ts +3 -3
- package/dist/src/functions/commands/all.d.ts +1 -1
- package/dist/src/functions/commands/all.js +19 -2
- package/dist/src/functions/commands/binary.d.ts +3 -3
- package/dist/src/functions/commands/bootstrap.d.ts +1 -1
- package/dist/src/functions/commands/bootstrap.js +3 -0
- package/dist/src/functions/commands/console.d.ts +3 -3
- package/dist/src/functions/commands/db-audit.d.ts +1 -1
- package/dist/src/functions/commands/db-generate.d.ts +1 -1
- package/dist/src/functions/commands/db-migrate.d.ts +1 -1
- package/dist/src/functions/commands/db-reset.d.ts +1 -1
- package/dist/src/functions/commands/db-seed.d.ts +1 -1
- package/dist/src/functions/commands/deploy-apply.d.ts +3 -3
- package/dist/src/functions/commands/deploy-apply.js +29 -0
- package/dist/src/functions/commands/deploy-info.d.ts +1 -1
- package/dist/src/functions/commands/deploy-plan.d.ts +3 -3
- package/dist/src/functions/commands/dev.d.ts +3 -3
- package/dist/src/functions/commands/dev.js +8 -2
- package/dist/src/functions/commands/emails-init.d.ts +1 -1
- package/dist/src/functions/commands/enable.d.ts +6 -5
- package/dist/src/functions/commands/enable.js +4 -0
- package/dist/src/functions/commands/info.d.ts +4 -4
- package/dist/src/functions/commands/login.d.ts +7 -7
- package/dist/src/functions/commands/meta.d.ts +31 -31
- package/dist/src/functions/commands/new-addon.d.ts +3 -3
- package/dist/src/functions/commands/new-function.d.ts +3 -3
- package/dist/src/functions/commands/new-middleware.d.ts +3 -3
- package/dist/src/functions/commands/new-permission.d.ts +3 -3
- package/dist/src/functions/commands/new-wiring.d.ts +3 -3
- package/dist/src/functions/commands/pikku-command-bootstrap.d.ts +1 -1
- package/dist/src/functions/commands/pikku-command-summary.d.ts +1 -1
- package/dist/src/functions/commands/pikku-command-summary.js +6 -1
- package/dist/src/functions/commands/skills.d.ts +6 -6
- package/dist/src/functions/commands/tests-coverage.d.ts +3 -3
- package/dist/src/functions/commands/tests-init.d.ts +3 -3
- package/dist/src/functions/commands/versions-check.d.ts +1 -1
- package/dist/src/functions/commands/versions-init.d.ts +3 -3
- package/dist/src/functions/commands/versions-update.d.ts +1 -1
- package/dist/src/functions/commands/watch.d.ts +3 -3
- package/dist/src/functions/commands/workspace-validate.d.ts +3 -3
- package/dist/src/functions/db/sqlite/sqlite-runtime-bun.js +10 -0
- package/dist/src/functions/runtimes/fetch/index.d.ts +1 -1
- package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.d.ts +1 -1
- package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.d.ts +1 -1
- package/dist/src/functions/runtimes/websocket/pikku-command-websocket-typed.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-public-agent.d.ts +1 -1
- package/dist/src/functions/wirings/auth/pikku-command-auth.d.ts +7 -1
- package/dist/src/functions/wirings/auth/pikku-command-auth.js +14 -2
- package/dist/src/functions/wirings/auth/serialize-auth-types.d.ts +10 -0
- package/dist/src/functions/wirings/auth/serialize-auth-types.js +15 -0
- package/dist/src/functions/wirings/channels/pikku-channels.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channel-types.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channels-map.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channels.d.ts +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli-entry.d.ts +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli-types.d.ts +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli.d.ts +1 -1
- package/dist/src/functions/wirings/console/pikku-command-console-functions.d.ts +1 -1
- package/dist/src/functions/wirings/console/pikku-command-node-types.d.ts +1 -1
- package/dist/src/functions/wirings/console/pikku-command-nodes-meta.d.ts +1 -1
- package/dist/src/functions/wirings/credentials/pikku-command-credentials.d.ts +1 -1
- package/dist/src/functions/wirings/emails/pikku-command-emails.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-addon-types.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-function-types-split.d.ts +3 -3
- package/dist/src/functions/wirings/functions/pikku-command-function-types.d.ts +3 -3
- package/dist/src/functions/wirings/functions/pikku-command-function-types.js +10 -3
- package/dist/src/functions/wirings/functions/pikku-command-functions.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-services.d.ts +1 -1
- package/dist/src/functions/wirings/functions/schemas.d.ts +1 -1
- package/dist/src/functions/wirings/gateway/pikku-command-gateway.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-http-map.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-http-routes.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-http-types.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-openapi.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-http-routes.d.ts +1 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.d.ts +1 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp-types.d.ts +1 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp.d.ts +1 -1
- package/dist/src/functions/wirings/middleware/pikku-command-middleware.d.ts +1 -1
- package/dist/src/functions/wirings/package/pikku-command-package-types.d.ts +2 -2
- package/dist/src/functions/wirings/package/pikku-command-package.d.ts +1 -1
- package/dist/src/functions/wirings/permissions/pikku-command-permissions.d.ts +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-service.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue-types.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-queue-map.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-queue.d.ts +1 -1
- package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.d.ts +1 -1
- package/dist/src/functions/wirings/realtime/pikku-command-realtime.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-react-query.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-rpc-client.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.d.ts +2 -2
- package/dist/src/functions/wirings/rpc/pikku-command-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/scheduler/pikku-command-scheduler-types.d.ts +1 -1
- package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.d.ts +1 -1
- package/dist/src/functions/wirings/secrets/pikku-command-secrets.d.ts +1 -1
- package/dist/src/functions/wirings/triggers/pikku-command-trigger-types.d.ts +3 -3
- package/dist/src/functions/wirings/triggers/pikku-command-trigger.d.ts +1 -1
- package/dist/src/functions/wirings/variables/pikku-command-variables.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/pikku-command-workflow.d.ts +1 -1
- package/dist/src/functions/workflows/all.workflow.js +6 -1
- package/dist/src/scaffold/rpc-remote.gen.d.ts +3 -3
- package/dist/src/scaffold/rpc-remote.gen.js +1 -1
- package/dist/src/services/cli-logger.service.js +7 -1
- package/dist/src/services.js +8 -0
- package/dist/src/utils/detect-better-auth.d.ts +7 -0
- package/dist/src/utils/detect-better-auth.js +29 -0
- package/dist/src/utils/pikku-cli-config.js +1 -1
- package/dist/src/utils/serialize-schemas.js +5 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -11,17 +11,17 @@ export declare const FabricDbSchema: import("../../../.pikku/pikku-types.gen.js"
|
|
|
11
11
|
}, {
|
|
12
12
|
branch: string;
|
|
13
13
|
schema: any;
|
|
14
|
-
}, "
|
|
14
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
branch: string;
|
|
16
16
|
}, {
|
|
17
17
|
branch: string;
|
|
18
18
|
schema: any;
|
|
19
|
-
}, "
|
|
19
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
20
20
|
branch: string;
|
|
21
21
|
}, {
|
|
22
22
|
branch: string;
|
|
23
23
|
schema: any;
|
|
24
|
-
}, "
|
|
24
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
25
25
|
type Schema = {
|
|
26
26
|
tables?: {
|
|
27
27
|
name: string;
|
|
@@ -11,17 +11,17 @@ export declare const FabricDeployList: import("../../../.pikku/pikku-types.gen.j
|
|
|
11
11
|
}, {
|
|
12
12
|
branch: string;
|
|
13
13
|
deployments: any[];
|
|
14
|
-
}, "
|
|
14
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
branch: string;
|
|
16
16
|
}, {
|
|
17
17
|
branch: string;
|
|
18
18
|
deployments: any[];
|
|
19
|
-
}, "
|
|
19
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
20
20
|
branch: string;
|
|
21
21
|
}, {
|
|
22
22
|
branch: string;
|
|
23
23
|
deployments: any[];
|
|
24
|
-
}, "
|
|
24
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
25
25
|
type DeploymentRow = {
|
|
26
26
|
deploymentId: string;
|
|
27
27
|
status: string;
|
|
@@ -11,17 +11,17 @@ export declare const FabricDeployUnits: import("../../../.pikku/pikku-types.gen.
|
|
|
11
11
|
}, {
|
|
12
12
|
branch: string;
|
|
13
13
|
workers: any[];
|
|
14
|
-
}, "
|
|
14
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
branch: string;
|
|
16
16
|
}, {
|
|
17
17
|
branch: string;
|
|
18
18
|
workers: any[];
|
|
19
|
-
}, "
|
|
19
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
20
20
|
branch: string;
|
|
21
21
|
}, {
|
|
22
22
|
branch: string;
|
|
23
23
|
workers: any[];
|
|
24
|
-
}, "
|
|
24
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
25
25
|
type WorkerRow = {
|
|
26
26
|
name: string;
|
|
27
27
|
role: string;
|
|
@@ -38,7 +38,7 @@ export declare const FabricDeployPlan: import("../../../.pikku/pikku-types.gen.j
|
|
|
38
38
|
branch: string;
|
|
39
39
|
ref: string;
|
|
40
40
|
requestedRef?: string | undefined;
|
|
41
|
-
}, "
|
|
41
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
42
42
|
branch?: string | undefined;
|
|
43
43
|
production?: boolean | undefined;
|
|
44
44
|
ref?: string | undefined;
|
|
@@ -49,7 +49,7 @@ export declare const FabricDeployPlan: import("../../../.pikku/pikku-types.gen.j
|
|
|
49
49
|
branch: string;
|
|
50
50
|
ref: string;
|
|
51
51
|
requestedRef?: string | undefined;
|
|
52
|
-
}, "
|
|
52
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
53
53
|
branch?: string | undefined;
|
|
54
54
|
production?: boolean | undefined;
|
|
55
55
|
ref?: string | undefined;
|
|
@@ -60,7 +60,7 @@ export declare const FabricDeployPlan: import("../../../.pikku/pikku-types.gen.j
|
|
|
60
60
|
branch: string;
|
|
61
61
|
ref: string;
|
|
62
62
|
requestedRef?: string | undefined;
|
|
63
|
-
}, "
|
|
63
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
64
64
|
export declare const FabricDeployApply: import("../../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
65
65
|
branch?: string | undefined;
|
|
66
66
|
production?: boolean | undefined;
|
|
@@ -74,7 +74,7 @@ export declare const FabricDeployApply: import("../../../.pikku/pikku-types.gen.
|
|
|
74
74
|
deploymentId: string;
|
|
75
75
|
stageId: string;
|
|
76
76
|
runId: string;
|
|
77
|
-
}, "
|
|
77
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
78
78
|
branch?: string | undefined;
|
|
79
79
|
production?: boolean | undefined;
|
|
80
80
|
ref?: string | undefined;
|
|
@@ -87,7 +87,7 @@ export declare const FabricDeployApply: import("../../../.pikku/pikku-types.gen.
|
|
|
87
87
|
deploymentId: string;
|
|
88
88
|
stageId: string;
|
|
89
89
|
runId: string;
|
|
90
|
-
}, "
|
|
90
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
91
91
|
branch?: string | undefined;
|
|
92
92
|
production?: boolean | undefined;
|
|
93
93
|
ref?: string | undefined;
|
|
@@ -100,6 +100,6 @@ export declare const FabricDeployApply: import("../../../.pikku/pikku-types.gen.
|
|
|
100
100
|
deploymentId: string;
|
|
101
101
|
stageId: string;
|
|
102
102
|
runId: string;
|
|
103
|
-
}, "
|
|
103
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
104
104
|
export declare const renderDeployPlan: (_s: unknown, { projectId, branch, ref, requestedRef, }: z.infer<typeof FabricDeployPlanOutput>) => void;
|
|
105
105
|
export declare const renderDeployApply: (_s: unknown, { branch, ref, deploymentId }: z.infer<typeof FabricDeployApplyOutput>) => void;
|
|
@@ -18,18 +18,18 @@ export declare const FabricDomainsAdd: import("../../../.pikku/pikku-types.gen.j
|
|
|
18
18
|
}, {
|
|
19
19
|
hostname: string;
|
|
20
20
|
cnameTarget: string;
|
|
21
|
-
}, "
|
|
21
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
22
22
|
hostname: string;
|
|
23
23
|
target?: "api" | "app" | undefined;
|
|
24
24
|
apiUrl?: string | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
hostname: string;
|
|
27
27
|
cnameTarget: string;
|
|
28
|
-
}, "
|
|
28
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
29
29
|
hostname: string;
|
|
30
30
|
target?: "api" | "app" | undefined;
|
|
31
31
|
apiUrl?: string | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
hostname: string;
|
|
34
34
|
cnameTarget: string;
|
|
35
|
-
}, "
|
|
35
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -9,12 +9,12 @@ export declare const FabricDomainsList: import("../../../.pikku/pikku-types.gen.
|
|
|
9
9
|
apiUrl?: string | undefined;
|
|
10
10
|
}, {
|
|
11
11
|
count: number;
|
|
12
|
-
}, "
|
|
12
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
13
13
|
apiUrl?: string | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
count: number;
|
|
16
|
-
}, "
|
|
16
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
17
17
|
apiUrl?: string | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
count: number;
|
|
20
|
-
}, "
|
|
20
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -11,14 +11,14 @@ export declare const FabricDomainsRemove: import("../../../.pikku/pikku-types.ge
|
|
|
11
11
|
apiUrl?: string | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
removed: boolean;
|
|
14
|
-
}, "
|
|
14
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
hostname: string;
|
|
16
16
|
apiUrl?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
removed: boolean;
|
|
19
|
-
}, "
|
|
19
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
20
20
|
hostname: string;
|
|
21
21
|
apiUrl?: string | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
removed: boolean;
|
|
24
|
-
}, "
|
|
24
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -18,19 +18,19 @@ export declare const FabricErrors: import("../../../.pikku/pikku-types.gen.js").
|
|
|
18
18
|
}, {
|
|
19
19
|
branch: string;
|
|
20
20
|
errors: any[];
|
|
21
|
-
}, "
|
|
21
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
22
22
|
branch: string;
|
|
23
23
|
function?: string | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
branch: string;
|
|
26
26
|
errors: any[];
|
|
27
|
-
}, "
|
|
27
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
28
28
|
branch: string;
|
|
29
29
|
function?: string | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
branch: string;
|
|
32
32
|
errors: any[];
|
|
33
|
-
}, "
|
|
33
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
34
34
|
type ErrorRow = {
|
|
35
35
|
timestamp: string;
|
|
36
36
|
functionName: string;
|
|
@@ -28,7 +28,7 @@ export declare const FabricInit: import("../../../.pikku/pikku-types.gen.js").Pi
|
|
|
28
28
|
projectId: string;
|
|
29
29
|
projectSlug: string;
|
|
30
30
|
path: string;
|
|
31
|
-
}, "
|
|
31
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
32
32
|
repo: string;
|
|
33
33
|
name?: string | undefined;
|
|
34
34
|
branch?: string | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const FabricInit: import("../../../.pikku/pikku-types.gen.js").Pi
|
|
|
38
38
|
projectId: string;
|
|
39
39
|
projectSlug: string;
|
|
40
40
|
path: string;
|
|
41
|
-
}, "
|
|
41
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
42
42
|
repo: string;
|
|
43
43
|
name?: string | undefined;
|
|
44
44
|
branch?: string | undefined;
|
|
@@ -48,4 +48,4 @@ export declare const FabricInit: import("../../../.pikku/pikku-types.gen.js").Pi
|
|
|
48
48
|
projectId: string;
|
|
49
49
|
projectSlug: string;
|
|
50
50
|
path: string;
|
|
51
|
-
}, "
|
|
51
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -15,18 +15,18 @@ export declare const FabricLink: import("../../../.pikku/pikku-types.gen.js").Pi
|
|
|
15
15
|
projectSlug: string;
|
|
16
16
|
deploymentId: string;
|
|
17
17
|
stageId: string;
|
|
18
|
-
}, "
|
|
18
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
19
19
|
apiUrl?: string | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
projectId: string;
|
|
22
22
|
projectSlug: string;
|
|
23
23
|
deploymentId: string;
|
|
24
24
|
stageId: string;
|
|
25
|
-
}, "
|
|
25
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
26
26
|
apiUrl?: string | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
projectId: string;
|
|
29
29
|
projectSlug: string;
|
|
30
30
|
deploymentId: string;
|
|
31
31
|
stageId: string;
|
|
32
|
-
}, "
|
|
32
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -22,7 +22,7 @@ export declare const FabricLLMKey: import("../../../.pikku/pikku-types.gen.js").
|
|
|
22
22
|
proxyUrl: string;
|
|
23
23
|
apiKey: string;
|
|
24
24
|
format: "text" | "json" | "env" | "shell";
|
|
25
|
-
}, "
|
|
25
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
26
26
|
shell?: boolean | undefined;
|
|
27
27
|
env?: boolean | undefined;
|
|
28
28
|
json?: boolean | undefined;
|
|
@@ -30,7 +30,7 @@ export declare const FabricLLMKey: import("../../../.pikku/pikku-types.gen.js").
|
|
|
30
30
|
proxyUrl: string;
|
|
31
31
|
apiKey: string;
|
|
32
32
|
format: "text" | "json" | "env" | "shell";
|
|
33
|
-
}, "
|
|
33
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
34
34
|
shell?: boolean | undefined;
|
|
35
35
|
env?: boolean | undefined;
|
|
36
36
|
json?: boolean | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const FabricLLMKey: import("../../../.pikku/pikku-types.gen.js").
|
|
|
38
38
|
proxyUrl: string;
|
|
39
39
|
apiKey: string;
|
|
40
40
|
format: "text" | "json" | "env" | "shell";
|
|
41
|
-
}, "
|
|
41
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
42
42
|
export declare const renderLLMKey: (_services: unknown, data: {
|
|
43
43
|
proxyUrl: string;
|
|
44
44
|
apiKey: string;
|
|
@@ -23,7 +23,7 @@ export declare const FabricLogin: import("../../../.pikku/pikku-types.gen.js").P
|
|
|
23
23
|
}, {
|
|
24
24
|
ok: boolean;
|
|
25
25
|
apiUrl: string;
|
|
26
|
-
}, "
|
|
26
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
27
27
|
apiKey?: string | undefined;
|
|
28
28
|
token?: string | undefined;
|
|
29
29
|
apiUrl?: string | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const FabricLogin: import("../../../.pikku/pikku-types.gen.js").P
|
|
|
31
31
|
}, {
|
|
32
32
|
ok: boolean;
|
|
33
33
|
apiUrl: string;
|
|
34
|
-
}, "
|
|
34
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
35
35
|
apiKey?: string | undefined;
|
|
36
36
|
token?: string | undefined;
|
|
37
37
|
apiUrl?: string | undefined;
|
|
@@ -39,4 +39,4 @@ export declare const FabricLogin: import("../../../.pikku/pikku-types.gen.js").P
|
|
|
39
39
|
}, {
|
|
40
40
|
ok: boolean;
|
|
41
41
|
apiUrl: string;
|
|
42
|
-
}, "
|
|
42
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -19,7 +19,7 @@ export declare const FabricLogs: import("../../../.pikku/pikku-types.gen.js").Pi
|
|
|
19
19
|
json?: boolean | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
count: number;
|
|
22
|
-
}, "
|
|
22
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
23
23
|
branch?: string | undefined;
|
|
24
24
|
deployment?: string | undefined;
|
|
25
25
|
level?: string | undefined;
|
|
@@ -28,7 +28,7 @@ export declare const FabricLogs: import("../../../.pikku/pikku-types.gen.js").Pi
|
|
|
28
28
|
json?: boolean | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
count: number;
|
|
31
|
-
}, "
|
|
31
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
32
32
|
branch?: string | undefined;
|
|
33
33
|
deployment?: string | undefined;
|
|
34
34
|
level?: string | undefined;
|
|
@@ -37,4 +37,4 @@ export declare const FabricLogs: import("../../../.pikku/pikku-types.gen.js").Pi
|
|
|
37
37
|
json?: boolean | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
count: number;
|
|
40
|
-
}, "
|
|
40
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -15,18 +15,18 @@ export declare const FabricMetrics: import("../../../.pikku/pikku-types.gen.js")
|
|
|
15
15
|
json?: boolean | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
count: number;
|
|
18
|
-
}, "
|
|
18
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
19
19
|
branch: string;
|
|
20
20
|
hours?: number | undefined;
|
|
21
21
|
function?: string | undefined;
|
|
22
22
|
json?: boolean | undefined;
|
|
23
23
|
}, {
|
|
24
24
|
count: number;
|
|
25
|
-
}, "
|
|
25
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
26
26
|
branch: string;
|
|
27
27
|
hours?: number | undefined;
|
|
28
28
|
function?: string | undefined;
|
|
29
29
|
json?: boolean | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
count: number;
|
|
32
|
-
}, "
|
|
32
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -26,7 +26,7 @@ export declare const FabricPublish: import("../../../.pikku/pikku-types.gen.js")
|
|
|
26
26
|
name: string;
|
|
27
27
|
version: string;
|
|
28
28
|
publisher: string | null;
|
|
29
|
-
}, "
|
|
29
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
30
30
|
dir?: string | undefined;
|
|
31
31
|
apiUrl?: string | undefined;
|
|
32
32
|
}, {
|
|
@@ -34,7 +34,7 @@ export declare const FabricPublish: import("../../../.pikku/pikku-types.gen.js")
|
|
|
34
34
|
name: string;
|
|
35
35
|
version: string;
|
|
36
36
|
publisher: string | null;
|
|
37
|
-
}, "
|
|
37
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
38
38
|
dir?: string | undefined;
|
|
39
39
|
apiUrl?: string | undefined;
|
|
40
40
|
}, {
|
|
@@ -42,4 +42,4 @@ export declare const FabricPublish: import("../../../.pikku/pikku-types.gen.js")
|
|
|
42
42
|
name: string;
|
|
43
43
|
version: string;
|
|
44
44
|
publisher: string | null;
|
|
45
|
-
}, "
|
|
45
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -37,7 +37,7 @@ export declare const FabricRollback: import("../../../.pikku/pikku-types.gen.js"
|
|
|
37
37
|
}[];
|
|
38
38
|
deploymentId?: string | undefined;
|
|
39
39
|
rolledBackToDeploymentId?: string | undefined;
|
|
40
|
-
}, "
|
|
40
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
41
41
|
branch: string;
|
|
42
42
|
target?: string | undefined;
|
|
43
43
|
list?: boolean | undefined;
|
|
@@ -55,7 +55,7 @@ export declare const FabricRollback: import("../../../.pikku/pikku-types.gen.js"
|
|
|
55
55
|
}[];
|
|
56
56
|
deploymentId?: string | undefined;
|
|
57
57
|
rolledBackToDeploymentId?: string | undefined;
|
|
58
|
-
}, "
|
|
58
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
59
59
|
branch: string;
|
|
60
60
|
target?: string | undefined;
|
|
61
61
|
list?: boolean | undefined;
|
|
@@ -73,4 +73,4 @@ export declare const FabricRollback: import("../../../.pikku/pikku-types.gen.js"
|
|
|
73
73
|
}[];
|
|
74
74
|
deploymentId?: string | undefined;
|
|
75
75
|
rolledBackToDeploymentId?: string | undefined;
|
|
76
|
-
}, "
|
|
76
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -11,14 +11,14 @@ export declare const FabricSecretsList: import("../../../.pikku/pikku-types.gen.
|
|
|
11
11
|
json?: boolean | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
names: string[];
|
|
14
|
-
}, "
|
|
14
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
branch: string;
|
|
16
16
|
json?: boolean | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
names: string[];
|
|
19
|
-
}, "
|
|
19
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
20
20
|
branch: string;
|
|
21
21
|
json?: boolean | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
names: string[];
|
|
24
|
-
}, "
|
|
24
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -15,18 +15,18 @@ export declare const FabricSecretsSet: import("../../../.pikku/pikku-types.gen.j
|
|
|
15
15
|
force?: boolean | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
ok: boolean;
|
|
18
|
-
}, "
|
|
18
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
19
19
|
name: string;
|
|
20
20
|
branch: string;
|
|
21
21
|
value?: string | undefined;
|
|
22
22
|
force?: boolean | undefined;
|
|
23
23
|
}, {
|
|
24
24
|
ok: boolean;
|
|
25
|
-
}, "
|
|
25
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
26
26
|
name: string;
|
|
27
27
|
branch: string;
|
|
28
28
|
value?: string | undefined;
|
|
29
29
|
force?: boolean | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
ok: boolean;
|
|
32
|
-
}, "
|
|
32
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -47,7 +47,7 @@ export declare const FabricSmoke: import("../../../.pikku/pikku-types.gen.js").P
|
|
|
47
47
|
}[];
|
|
48
48
|
failure?: string | undefined;
|
|
49
49
|
logTail?: string | undefined;
|
|
50
|
-
}, "
|
|
50
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
51
51
|
keepTemp?: boolean | undefined;
|
|
52
52
|
timeoutSeconds?: number | undefined;
|
|
53
53
|
startupTimeoutSeconds?: number | undefined;
|
|
@@ -68,7 +68,7 @@ export declare const FabricSmoke: import("../../../.pikku/pikku-types.gen.js").P
|
|
|
68
68
|
}[];
|
|
69
69
|
failure?: string | undefined;
|
|
70
70
|
logTail?: string | undefined;
|
|
71
|
-
}, "
|
|
71
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
72
72
|
keepTemp?: boolean | undefined;
|
|
73
73
|
timeoutSeconds?: number | undefined;
|
|
74
74
|
startupTimeoutSeconds?: number | undefined;
|
|
@@ -89,5 +89,5 @@ export declare const FabricSmoke: import("../../../.pikku/pikku-types.gen.js").P
|
|
|
89
89
|
}[];
|
|
90
90
|
failure?: string | undefined;
|
|
91
91
|
logTail?: string | undefined;
|
|
92
|
-
}, "
|
|
92
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
93
93
|
export declare const renderSmoke: (_services: unknown, output: z.infer<typeof FabricSmokeOutput>) => void;
|
|
@@ -7,13 +7,13 @@ export declare const FabricStatusOutput: z.ZodObject<{
|
|
|
7
7
|
export declare const FabricStatus: import("../../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<Record<string, never>, {
|
|
8
8
|
projectId: string;
|
|
9
9
|
status: any;
|
|
10
|
-
}, "
|
|
10
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<Record<string, never>, {
|
|
11
11
|
projectId: string;
|
|
12
12
|
status: any;
|
|
13
|
-
}, "
|
|
13
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<Record<string, never>, {
|
|
14
14
|
projectId: string;
|
|
15
15
|
status: any;
|
|
16
|
-
}, "
|
|
16
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
17
17
|
type StageState = {
|
|
18
18
|
stageBranch: string;
|
|
19
19
|
gitSha?: string | null;
|
|
@@ -13,16 +13,16 @@ export declare const FabricTrace: import("../../../.pikku/pikku-types.gen.js").P
|
|
|
13
13
|
json?: boolean | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
count: number;
|
|
16
|
-
}, "
|
|
16
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
17
17
|
branch: string;
|
|
18
18
|
traceId: string;
|
|
19
19
|
json?: boolean | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
count: number;
|
|
22
|
-
}, "
|
|
22
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
23
23
|
branch: string;
|
|
24
24
|
traceId: string;
|
|
25
25
|
json?: boolean | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
count: number;
|
|
28
|
-
}, "
|
|
28
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -26,7 +26,7 @@ export declare const FabricValidate: import("../../../.pikku/pikku-types.gen.js"
|
|
|
26
26
|
path: string;
|
|
27
27
|
fixHint: string;
|
|
28
28
|
}[];
|
|
29
|
-
}, "
|
|
29
|
+
}, "rpc" | "session", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<Record<string, never>, {
|
|
30
30
|
ok: boolean;
|
|
31
31
|
root: string;
|
|
32
32
|
findings: {
|
|
@@ -36,7 +36,7 @@ export declare const FabricValidate: import("../../../.pikku/pikku-types.gen.js"
|
|
|
36
36
|
path: string;
|
|
37
37
|
fixHint: string;
|
|
38
38
|
}[];
|
|
39
|
-
}, "
|
|
39
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<Record<string, never>, {
|
|
40
40
|
ok: boolean;
|
|
41
41
|
root: string;
|
|
42
42
|
findings: {
|
|
@@ -46,5 +46,5 @@ export declare const FabricValidate: import("../../../.pikku/pikku-types.gen.js"
|
|
|
46
46
|
path: string;
|
|
47
47
|
fixHint: string;
|
|
48
48
|
}[];
|
|
49
|
-
}, "
|
|
49
|
+
}, "rpc" | "session", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
50
50
|
export declare const renderValidate: (_s: unknown, { ok, root, findings }: z.infer<typeof FabricValidateOutput>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const all: import("#pikku").PikkuFunctionConfig<void, void, "
|
|
1
|
+
export declare const all: import("#pikku").PikkuFunctionConfig<void, void, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<void, void, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<void, void, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
import { pikkuVoidFunc } from '#pikku';
|
|
2
2
|
export const all = pikkuVoidFunc({
|
|
3
3
|
remote: true,
|
|
4
|
-
func: async ({ workflowService }, _data, { rpc }) => {
|
|
5
|
-
|
|
4
|
+
func: async ({ workflowService, logger }, _data, { rpc }) => {
|
|
5
|
+
// Drive the run directly (the CLI is always inline — no queueService) so we
|
|
6
|
+
// can read back the per-step durations already recorded on each step's
|
|
7
|
+
// state. startWorkflow runs the job to completion before returning in inline
|
|
8
|
+
// mode and re-throws on failure, matching runToCompletion's behaviour.
|
|
9
|
+
const { runId } = await workflowService.startWorkflow('allWorkflow', {}, { type: 'internal' }, rpc, { inline: true });
|
|
10
|
+
// Per-step timing breakdown for debugging slow runs (e.g. which inspector
|
|
11
|
+
// re-runs dominate). Opt-in via PIKKU_TIMING so normal runs stay quiet.
|
|
12
|
+
if (typeof process !== 'undefined' && process.env?.PIKKU_TIMING) {
|
|
13
|
+
const status = await workflowService.getRunStatus(runId);
|
|
14
|
+
const rows = (status?.steps ?? [])
|
|
15
|
+
.filter((s) => typeof s.duration === 'number')
|
|
16
|
+
.sort((a, b) => (b.duration ?? 0) - (a.duration ?? 0));
|
|
17
|
+
const total = rows.reduce((sum, s) => sum + (s.duration ?? 0), 0);
|
|
18
|
+
logger.info(`[TIMING] pikku all — ${rows.length} steps, ${total}ms total (slowest first):`);
|
|
19
|
+
for (const s of rows) {
|
|
20
|
+
logger.info(`[TIMING] ${String(s.duration).padStart(7)}ms ${s.name}`);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
6
23
|
},
|
|
7
24
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const binary: import("#pikku").PikkuFunctionConfig<{
|
|
2
2
|
compileTarget?: string;
|
|
3
|
-
}, void, "
|
|
3
|
+
}, void, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
4
4
|
compileTarget?: string;
|
|
5
|
-
}, void, "
|
|
5
|
+
}, void, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<{
|
|
6
6
|
compileTarget?: string;
|
|
7
|
-
}, void, "
|
|
7
|
+
}, void, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const bootstrap: import("#pikku").PikkuFunctionConfig<void, void, "
|
|
1
|
+
export declare const bootstrap: import("#pikku").PikkuFunctionConfig<void, void, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<void, void, "rpc" | "session", import("#pikku").Services> | import("#pikku").PikkuFunction<void, void, "rpc" | "session", import("#pikku").Services>, undefined, undefined>;
|
|
@@ -4,6 +4,9 @@ export const bootstrap = pikkuVoidFunc({
|
|
|
4
4
|
func: async ({ logger, getInspectorState }, _data, { rpc }) => {
|
|
5
5
|
await getInspectorState(false, true, true);
|
|
6
6
|
await rpc.invoke('pikkuFunctionTypesSplit', { bootstrap: true });
|
|
7
|
+
// Stub auth.types.ts (if better-auth is used) so the pikkuBetterAuth
|
|
8
|
+
// re-export resolves before any user file is imported.
|
|
9
|
+
await rpc.invoke('pikkuAuth', { bootstrap: true });
|
|
7
10
|
await rpc.invoke('pikkuFunctionTypes', { bootstrap: true });
|
|
8
11
|
await rpc.invoke('pikkuHTTPTypes');
|
|
9
12
|
await rpc.invoke('pikkuChannelTypes');
|