@pikku/cli 0.12.40 → 0.12.42
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 +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 +21 -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 +68 -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 +152 -82
- 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.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 +4 -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/schemas/register.gen.js +13 -5
- package/dist/.pikku/schemas/schemas/FabricLinkOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricSmokeInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricSmokeOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LogoutInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WhoamiInput.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/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 +45 -0
- package/dist/src/fabric/fabric-commands.d.ts +130 -63
- package/dist/src/fabric/fabric-commands.js +21 -0
- 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 +7 -3
- package/dist/src/fabric/functions/link.function.js +3 -1
- 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/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 +93 -0
- package/dist/src/fabric/functions/smoke.function.js +860 -0
- 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/binary.d.ts +3 -3
- package/dist/src/functions/commands/bootstrap.d.ts +1 -1
- 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-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/emails-init.d.ts +1 -1
- package/dist/src/functions/commands/enable.d.ts +5 -5
- package/dist/src/functions/commands/info.d.ts +4 -4
- package/dist/src/functions/commands/login.d.ts +37 -0
- package/dist/src/functions/commands/login.js +85 -0
- 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/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/local-db.js +20 -75
- 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 +1 -1
- 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/cli/serialize-channel-cli-client.js +38 -7
- 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-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/scaffold/rpc-remote.gen.d.ts +3 -3
- package/dist/src/scaffold/rpc-remote.gen.js +1 -1
- package/dist/src/utils/cli-session.d.ts +40 -0
- package/dist/src/utils/cli-session.js +73 -0
- package/dist/src/utils/device-auth.d.ts +28 -0
- package/dist/src/utils/device-auth.js +111 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/skills/pikku-machine-auth/SKILL.md +177 -0
|
@@ -9,7 +9,7 @@ export declare const fabricCommands: {
|
|
|
9
9
|
path: string;
|
|
10
10
|
fixHint: string;
|
|
11
11
|
}[];
|
|
12
|
-
}, "
|
|
12
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<Record<string, never>, {
|
|
13
13
|
ok: boolean;
|
|
14
14
|
root: string;
|
|
15
15
|
findings: {
|
|
@@ -19,7 +19,7 @@ export declare const fabricCommands: {
|
|
|
19
19
|
path: string;
|
|
20
20
|
fixHint: string;
|
|
21
21
|
}[];
|
|
22
|
-
}, "
|
|
22
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<Record<string, never>, {
|
|
23
23
|
ok: boolean;
|
|
24
24
|
root: string;
|
|
25
25
|
findings: {
|
|
@@ -29,7 +29,71 @@ export declare const fabricCommands: {
|
|
|
29
29
|
path: string;
|
|
30
30
|
fixHint: string;
|
|
31
31
|
}[];
|
|
32
|
-
}, "
|
|
32
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
33
|
+
smoke: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
34
|
+
keepTemp?: boolean | undefined;
|
|
35
|
+
timeoutSeconds?: number | undefined;
|
|
36
|
+
startupTimeoutSeconds?: number | undefined;
|
|
37
|
+
port?: number | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
ok: boolean;
|
|
40
|
+
root: string;
|
|
41
|
+
ref: string;
|
|
42
|
+
tempDir: string;
|
|
43
|
+
tempDirKept: boolean;
|
|
44
|
+
notes: string[];
|
|
45
|
+
steps: {
|
|
46
|
+
name: string;
|
|
47
|
+
status: "skipped" | "failed" | "passed";
|
|
48
|
+
durationMs: number;
|
|
49
|
+
detail?: string | undefined;
|
|
50
|
+
command?: string | undefined;
|
|
51
|
+
}[];
|
|
52
|
+
failure?: string | undefined;
|
|
53
|
+
logTail?: string | undefined;
|
|
54
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
55
|
+
keepTemp?: boolean | undefined;
|
|
56
|
+
timeoutSeconds?: number | undefined;
|
|
57
|
+
startupTimeoutSeconds?: number | undefined;
|
|
58
|
+
port?: number | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
ok: boolean;
|
|
61
|
+
root: string;
|
|
62
|
+
ref: string;
|
|
63
|
+
tempDir: string;
|
|
64
|
+
tempDirKept: boolean;
|
|
65
|
+
notes: string[];
|
|
66
|
+
steps: {
|
|
67
|
+
name: string;
|
|
68
|
+
status: "skipped" | "failed" | "passed";
|
|
69
|
+
durationMs: number;
|
|
70
|
+
detail?: string | undefined;
|
|
71
|
+
command?: string | undefined;
|
|
72
|
+
}[];
|
|
73
|
+
failure?: string | undefined;
|
|
74
|
+
logTail?: string | undefined;
|
|
75
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
76
|
+
keepTemp?: boolean | undefined;
|
|
77
|
+
timeoutSeconds?: number | undefined;
|
|
78
|
+
startupTimeoutSeconds?: number | undefined;
|
|
79
|
+
port?: number | undefined;
|
|
80
|
+
}, {
|
|
81
|
+
ok: boolean;
|
|
82
|
+
root: string;
|
|
83
|
+
ref: string;
|
|
84
|
+
tempDir: string;
|
|
85
|
+
tempDirKept: boolean;
|
|
86
|
+
notes: string[];
|
|
87
|
+
steps: {
|
|
88
|
+
name: string;
|
|
89
|
+
status: "skipped" | "failed" | "passed";
|
|
90
|
+
durationMs: number;
|
|
91
|
+
detail?: string | undefined;
|
|
92
|
+
command?: string | undefined;
|
|
93
|
+
}[];
|
|
94
|
+
failure?: string | undefined;
|
|
95
|
+
logTail?: string | undefined;
|
|
96
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
33
97
|
login: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
34
98
|
apiKey?: string | undefined;
|
|
35
99
|
token?: string | undefined;
|
|
@@ -38,7 +102,7 @@ export declare const fabricCommands: {
|
|
|
38
102
|
}, {
|
|
39
103
|
ok: boolean;
|
|
40
104
|
apiUrl: string;
|
|
41
|
-
}, "
|
|
105
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
42
106
|
apiKey?: string | undefined;
|
|
43
107
|
token?: string | undefined;
|
|
44
108
|
apiUrl?: string | undefined;
|
|
@@ -46,7 +110,7 @@ export declare const fabricCommands: {
|
|
|
46
110
|
}, {
|
|
47
111
|
ok: boolean;
|
|
48
112
|
apiUrl: string;
|
|
49
|
-
}, "
|
|
113
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
50
114
|
apiKey?: string | undefined;
|
|
51
115
|
token?: string | undefined;
|
|
52
116
|
apiUrl?: string | undefined;
|
|
@@ -54,7 +118,7 @@ export declare const fabricCommands: {
|
|
|
54
118
|
}, {
|
|
55
119
|
ok: boolean;
|
|
56
120
|
apiUrl: string;
|
|
57
|
-
}, "
|
|
121
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
58
122
|
init: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
59
123
|
repo: string;
|
|
60
124
|
name?: string | undefined;
|
|
@@ -65,7 +129,7 @@ export declare const fabricCommands: {
|
|
|
65
129
|
projectId: string;
|
|
66
130
|
projectSlug: string;
|
|
67
131
|
path: string;
|
|
68
|
-
}, "
|
|
132
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
69
133
|
repo: string;
|
|
70
134
|
name?: string | undefined;
|
|
71
135
|
branch?: string | undefined;
|
|
@@ -75,7 +139,7 @@ export declare const fabricCommands: {
|
|
|
75
139
|
projectId: string;
|
|
76
140
|
projectSlug: string;
|
|
77
141
|
path: string;
|
|
78
|
-
}, "
|
|
142
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
79
143
|
repo: string;
|
|
80
144
|
name?: string | undefined;
|
|
81
145
|
branch?: string | undefined;
|
|
@@ -85,26 +149,29 @@ export declare const fabricCommands: {
|
|
|
85
149
|
projectId: string;
|
|
86
150
|
projectSlug: string;
|
|
87
151
|
path: string;
|
|
88
|
-
}, "
|
|
152
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
89
153
|
link: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
90
154
|
apiUrl?: string | undefined;
|
|
91
155
|
}, {
|
|
156
|
+
projectId: string;
|
|
92
157
|
projectSlug: string;
|
|
93
158
|
deploymentId: string;
|
|
94
159
|
stageId: string;
|
|
95
|
-
}, "
|
|
160
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
96
161
|
apiUrl?: string | undefined;
|
|
97
162
|
}, {
|
|
163
|
+
projectId: string;
|
|
98
164
|
projectSlug: string;
|
|
99
165
|
deploymentId: string;
|
|
100
166
|
stageId: string;
|
|
101
|
-
}, "
|
|
167
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
102
168
|
apiUrl?: string | undefined;
|
|
103
169
|
}, {
|
|
170
|
+
projectId: string;
|
|
104
171
|
projectSlug: string;
|
|
105
172
|
deploymentId: string;
|
|
106
173
|
stageId: string;
|
|
107
|
-
}, "
|
|
174
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
108
175
|
deploy: {
|
|
109
176
|
description: string;
|
|
110
177
|
subcommands: {
|
|
@@ -119,7 +186,7 @@ export declare const fabricCommands: {
|
|
|
119
186
|
branch: string;
|
|
120
187
|
ref: string;
|
|
121
188
|
requestedRef?: string | undefined;
|
|
122
|
-
}, "
|
|
189
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
123
190
|
branch?: string | undefined;
|
|
124
191
|
production?: boolean | undefined;
|
|
125
192
|
ref?: string | undefined;
|
|
@@ -130,7 +197,7 @@ export declare const fabricCommands: {
|
|
|
130
197
|
branch: string;
|
|
131
198
|
ref: string;
|
|
132
199
|
requestedRef?: string | undefined;
|
|
133
|
-
}, "
|
|
200
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
134
201
|
branch?: string | undefined;
|
|
135
202
|
production?: boolean | undefined;
|
|
136
203
|
ref?: string | undefined;
|
|
@@ -141,7 +208,7 @@ export declare const fabricCommands: {
|
|
|
141
208
|
branch: string;
|
|
142
209
|
ref: string;
|
|
143
210
|
requestedRef?: string | undefined;
|
|
144
|
-
}, "
|
|
211
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
145
212
|
apply: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
146
213
|
branch?: string | undefined;
|
|
147
214
|
production?: boolean | undefined;
|
|
@@ -155,7 +222,7 @@ export declare const fabricCommands: {
|
|
|
155
222
|
deploymentId: string;
|
|
156
223
|
stageId: string;
|
|
157
224
|
runId: string;
|
|
158
|
-
}, "
|
|
225
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
159
226
|
branch?: string | undefined;
|
|
160
227
|
production?: boolean | undefined;
|
|
161
228
|
ref?: string | undefined;
|
|
@@ -168,7 +235,7 @@ export declare const fabricCommands: {
|
|
|
168
235
|
deploymentId: string;
|
|
169
236
|
stageId: string;
|
|
170
237
|
runId: string;
|
|
171
|
-
}, "
|
|
238
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
172
239
|
branch?: string | undefined;
|
|
173
240
|
production?: boolean | undefined;
|
|
174
241
|
ref?: string | undefined;
|
|
@@ -181,39 +248,39 @@ export declare const fabricCommands: {
|
|
|
181
248
|
deploymentId: string;
|
|
182
249
|
stageId: string;
|
|
183
250
|
runId: string;
|
|
184
|
-
}, "
|
|
251
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
185
252
|
list: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
186
253
|
branch: string;
|
|
187
254
|
}, {
|
|
188
255
|
branch: string;
|
|
189
256
|
deployments: any[];
|
|
190
|
-
}, "
|
|
257
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
191
258
|
branch: string;
|
|
192
259
|
}, {
|
|
193
260
|
branch: string;
|
|
194
261
|
deployments: any[];
|
|
195
|
-
}, "
|
|
262
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
196
263
|
branch: string;
|
|
197
264
|
}, {
|
|
198
265
|
branch: string;
|
|
199
266
|
deployments: any[];
|
|
200
|
-
}, "
|
|
267
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
201
268
|
units: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
202
269
|
branch: string;
|
|
203
270
|
}, {
|
|
204
271
|
branch: string;
|
|
205
272
|
workers: any[];
|
|
206
|
-
}, "
|
|
273
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
207
274
|
branch: string;
|
|
208
275
|
}, {
|
|
209
276
|
branch: string;
|
|
210
277
|
workers: any[];
|
|
211
|
-
}, "
|
|
278
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
212
279
|
branch: string;
|
|
213
280
|
}, {
|
|
214
281
|
branch: string;
|
|
215
282
|
workers: any[];
|
|
216
|
-
}, "
|
|
283
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
217
284
|
};
|
|
218
285
|
};
|
|
219
286
|
rollback: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
@@ -234,7 +301,7 @@ export declare const fabricCommands: {
|
|
|
234
301
|
}[];
|
|
235
302
|
deploymentId?: string | undefined;
|
|
236
303
|
rolledBackToDeploymentId?: string | undefined;
|
|
237
|
-
}, "
|
|
304
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
238
305
|
branch: string;
|
|
239
306
|
target?: string | undefined;
|
|
240
307
|
list?: boolean | undefined;
|
|
@@ -252,7 +319,7 @@ export declare const fabricCommands: {
|
|
|
252
319
|
}[];
|
|
253
320
|
deploymentId?: string | undefined;
|
|
254
321
|
rolledBackToDeploymentId?: string | undefined;
|
|
255
|
-
}, "
|
|
322
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
256
323
|
branch: string;
|
|
257
324
|
target?: string | undefined;
|
|
258
325
|
list?: boolean | undefined;
|
|
@@ -270,7 +337,7 @@ export declare const fabricCommands: {
|
|
|
270
337
|
}[];
|
|
271
338
|
deploymentId?: string | undefined;
|
|
272
339
|
rolledBackToDeploymentId?: string | undefined;
|
|
273
|
-
}, "
|
|
340
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
274
341
|
secrets: {
|
|
275
342
|
description: string;
|
|
276
343
|
subcommands: {
|
|
@@ -281,37 +348,37 @@ export declare const fabricCommands: {
|
|
|
281
348
|
force?: boolean | undefined;
|
|
282
349
|
}, {
|
|
283
350
|
ok: boolean;
|
|
284
|
-
}, "
|
|
351
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
285
352
|
name: string;
|
|
286
353
|
branch: string;
|
|
287
354
|
value?: string | undefined;
|
|
288
355
|
force?: boolean | undefined;
|
|
289
356
|
}, {
|
|
290
357
|
ok: boolean;
|
|
291
|
-
}, "
|
|
358
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
292
359
|
name: string;
|
|
293
360
|
branch: string;
|
|
294
361
|
value?: string | undefined;
|
|
295
362
|
force?: boolean | undefined;
|
|
296
363
|
}, {
|
|
297
364
|
ok: boolean;
|
|
298
|
-
}, "
|
|
365
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
299
366
|
list: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
300
367
|
branch: string;
|
|
301
368
|
json?: boolean | undefined;
|
|
302
369
|
}, {
|
|
303
370
|
names: string[];
|
|
304
|
-
}, "
|
|
371
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
305
372
|
branch: string;
|
|
306
373
|
json?: boolean | undefined;
|
|
307
374
|
}, {
|
|
308
375
|
names: string[];
|
|
309
|
-
}, "
|
|
376
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
310
377
|
branch: string;
|
|
311
378
|
json?: boolean | undefined;
|
|
312
379
|
}, {
|
|
313
380
|
names: string[];
|
|
314
|
-
}, "
|
|
381
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
315
382
|
};
|
|
316
383
|
};
|
|
317
384
|
logs: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
@@ -323,7 +390,7 @@ export declare const fabricCommands: {
|
|
|
323
390
|
json?: boolean | undefined;
|
|
324
391
|
}, {
|
|
325
392
|
count: number;
|
|
326
|
-
}, "
|
|
393
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
327
394
|
branch?: string | undefined;
|
|
328
395
|
deployment?: string | undefined;
|
|
329
396
|
level?: string | undefined;
|
|
@@ -332,7 +399,7 @@ export declare const fabricCommands: {
|
|
|
332
399
|
json?: boolean | undefined;
|
|
333
400
|
}, {
|
|
334
401
|
count: number;
|
|
335
|
-
}, "
|
|
402
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
336
403
|
branch?: string | undefined;
|
|
337
404
|
deployment?: string | undefined;
|
|
338
405
|
level?: string | undefined;
|
|
@@ -341,7 +408,7 @@ export declare const fabricCommands: {
|
|
|
341
408
|
json?: boolean | undefined;
|
|
342
409
|
}, {
|
|
343
410
|
count: number;
|
|
344
|
-
}, "
|
|
411
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
345
412
|
metrics: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
346
413
|
branch: string;
|
|
347
414
|
hours?: number | undefined;
|
|
@@ -349,69 +416,69 @@ export declare const fabricCommands: {
|
|
|
349
416
|
json?: boolean | undefined;
|
|
350
417
|
}, {
|
|
351
418
|
count: number;
|
|
352
|
-
}, "
|
|
419
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
353
420
|
branch: string;
|
|
354
421
|
hours?: number | undefined;
|
|
355
422
|
function?: string | undefined;
|
|
356
423
|
json?: boolean | undefined;
|
|
357
424
|
}, {
|
|
358
425
|
count: number;
|
|
359
|
-
}, "
|
|
426
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
360
427
|
branch: string;
|
|
361
428
|
hours?: number | undefined;
|
|
362
429
|
function?: string | undefined;
|
|
363
430
|
json?: boolean | undefined;
|
|
364
431
|
}, {
|
|
365
432
|
count: number;
|
|
366
|
-
}, "
|
|
433
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
367
434
|
trace: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
368
435
|
branch: string;
|
|
369
436
|
traceId: string;
|
|
370
437
|
json?: boolean | undefined;
|
|
371
438
|
}, {
|
|
372
439
|
count: number;
|
|
373
|
-
}, "
|
|
440
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
374
441
|
branch: string;
|
|
375
442
|
traceId: string;
|
|
376
443
|
json?: boolean | undefined;
|
|
377
444
|
}, {
|
|
378
445
|
count: number;
|
|
379
|
-
}, "
|
|
446
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
380
447
|
branch: string;
|
|
381
448
|
traceId: string;
|
|
382
449
|
json?: boolean | undefined;
|
|
383
450
|
}, {
|
|
384
451
|
count: number;
|
|
385
|
-
}, "
|
|
452
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
386
453
|
status: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<Record<string, never>, {
|
|
387
454
|
projectId: string;
|
|
388
455
|
status: any;
|
|
389
|
-
}, "
|
|
456
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<Record<string, never>, {
|
|
390
457
|
projectId: string;
|
|
391
458
|
status: any;
|
|
392
|
-
}, "
|
|
459
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<Record<string, never>, {
|
|
393
460
|
projectId: string;
|
|
394
461
|
status: any;
|
|
395
|
-
}, "
|
|
462
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
396
463
|
errors: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
397
464
|
branch: string;
|
|
398
465
|
function?: string | undefined;
|
|
399
466
|
}, {
|
|
400
467
|
branch: string;
|
|
401
468
|
errors: any[];
|
|
402
|
-
}, "
|
|
469
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
403
470
|
branch: string;
|
|
404
471
|
function?: string | undefined;
|
|
405
472
|
}, {
|
|
406
473
|
branch: string;
|
|
407
474
|
errors: any[];
|
|
408
|
-
}, "
|
|
475
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
409
476
|
branch: string;
|
|
410
477
|
function?: string | undefined;
|
|
411
478
|
}, {
|
|
412
479
|
branch: string;
|
|
413
480
|
errors: any[];
|
|
414
|
-
}, "
|
|
481
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
415
482
|
db: {
|
|
416
483
|
description: string;
|
|
417
484
|
subcommands: {
|
|
@@ -420,17 +487,17 @@ export declare const fabricCommands: {
|
|
|
420
487
|
}, {
|
|
421
488
|
branch: string;
|
|
422
489
|
schema: any;
|
|
423
|
-
}, "
|
|
490
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
424
491
|
branch: string;
|
|
425
492
|
}, {
|
|
426
493
|
branch: string;
|
|
427
494
|
schema: any;
|
|
428
|
-
}, "
|
|
495
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
429
496
|
branch: string;
|
|
430
497
|
}, {
|
|
431
498
|
branch: string;
|
|
432
499
|
schema: any;
|
|
433
|
-
}, "
|
|
500
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
434
501
|
};
|
|
435
502
|
};
|
|
436
503
|
domains: {
|
|
@@ -440,15 +507,15 @@ export declare const fabricCommands: {
|
|
|
440
507
|
apiUrl?: string | undefined;
|
|
441
508
|
}, {
|
|
442
509
|
count: number;
|
|
443
|
-
}, "
|
|
510
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
444
511
|
apiUrl?: string | undefined;
|
|
445
512
|
}, {
|
|
446
513
|
count: number;
|
|
447
|
-
}, "
|
|
514
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
448
515
|
apiUrl?: string | undefined;
|
|
449
516
|
}, {
|
|
450
517
|
count: number;
|
|
451
|
-
}, "
|
|
518
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
452
519
|
add: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
453
520
|
hostname: string;
|
|
454
521
|
target?: "api" | "app" | undefined;
|
|
@@ -456,37 +523,37 @@ export declare const fabricCommands: {
|
|
|
456
523
|
}, {
|
|
457
524
|
hostname: string;
|
|
458
525
|
cnameTarget: string;
|
|
459
|
-
}, "
|
|
526
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
460
527
|
hostname: string;
|
|
461
528
|
target?: "api" | "app" | undefined;
|
|
462
529
|
apiUrl?: string | undefined;
|
|
463
530
|
}, {
|
|
464
531
|
hostname: string;
|
|
465
532
|
cnameTarget: string;
|
|
466
|
-
}, "
|
|
533
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
467
534
|
hostname: string;
|
|
468
535
|
target?: "api" | "app" | undefined;
|
|
469
536
|
apiUrl?: string | undefined;
|
|
470
537
|
}, {
|
|
471
538
|
hostname: string;
|
|
472
539
|
cnameTarget: string;
|
|
473
|
-
}, "
|
|
540
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
474
541
|
remove: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
475
542
|
hostname: string;
|
|
476
543
|
apiUrl?: string | undefined;
|
|
477
544
|
}, {
|
|
478
545
|
removed: boolean;
|
|
479
|
-
}, "
|
|
546
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
480
547
|
hostname: string;
|
|
481
548
|
apiUrl?: string | undefined;
|
|
482
549
|
}, {
|
|
483
550
|
removed: boolean;
|
|
484
|
-
}, "
|
|
551
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
485
552
|
hostname: string;
|
|
486
553
|
apiUrl?: string | undefined;
|
|
487
554
|
}, {
|
|
488
555
|
removed: boolean;
|
|
489
|
-
}, "
|
|
556
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
490
557
|
};
|
|
491
558
|
};
|
|
492
559
|
llm: {
|
|
@@ -500,7 +567,7 @@ export declare const fabricCommands: {
|
|
|
500
567
|
proxyUrl: string;
|
|
501
568
|
apiKey: string;
|
|
502
569
|
format: "text" | "json" | "env" | "shell";
|
|
503
|
-
}, "
|
|
570
|
+
}, "session" | "rpc", import("../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
504
571
|
shell?: boolean | undefined;
|
|
505
572
|
env?: boolean | undefined;
|
|
506
573
|
json?: boolean | undefined;
|
|
@@ -508,7 +575,7 @@ export declare const fabricCommands: {
|
|
|
508
575
|
proxyUrl: string;
|
|
509
576
|
apiKey: string;
|
|
510
577
|
format: "text" | "json" | "env" | "shell";
|
|
511
|
-
}, "
|
|
578
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services> | import("../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
512
579
|
shell?: boolean | undefined;
|
|
513
580
|
env?: boolean | undefined;
|
|
514
581
|
json?: boolean | undefined;
|
|
@@ -516,7 +583,7 @@ export declare const fabricCommands: {
|
|
|
516
583
|
proxyUrl: string;
|
|
517
584
|
apiKey: string;
|
|
518
585
|
format: "text" | "json" | "env" | "shell";
|
|
519
|
-
}, "
|
|
586
|
+
}, "session" | "rpc", import("../../types/application-types.js").Services>, undefined, undefined>, import("../../.pikku/pikku-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
520
587
|
};
|
|
521
588
|
};
|
|
522
589
|
};
|
|
@@ -39,12 +39,33 @@ import { FabricDomainsAdd } from './functions/domains-add.function.js';
|
|
|
39
39
|
import { FabricDomainsRemove } from './functions/domains-remove.function.js';
|
|
40
40
|
import { FabricLLMKey, renderLLMKey } from './functions/llm-key.function.js';
|
|
41
41
|
import { FabricValidate, renderValidate, } from './functions/validate.function.js';
|
|
42
|
+
import { FabricSmoke, renderSmoke, } from './functions/smoke.function.js';
|
|
42
43
|
export const fabricCommands = defineCLICommands({
|
|
43
44
|
validate: pikkuCLICommand({
|
|
44
45
|
func: FabricValidate,
|
|
45
46
|
render: renderValidate,
|
|
46
47
|
description: 'Check the project structure for fabric compatibility — prints all missing or misconfigured items with fix hints',
|
|
47
48
|
}),
|
|
49
|
+
smoke: pikkuCLICommand({
|
|
50
|
+
func: FabricSmoke,
|
|
51
|
+
render: renderSmoke,
|
|
52
|
+
description: 'Run a clean-room Fabric smoke test: temp worktree, install, codegen, migrate, and verify pikku dev startup',
|
|
53
|
+
options: {
|
|
54
|
+
keepTemp: {
|
|
55
|
+
description: 'Keep the temp worktree even on success',
|
|
56
|
+
default: false,
|
|
57
|
+
},
|
|
58
|
+
timeoutSeconds: {
|
|
59
|
+
description: 'Per-step timeout for install/build/codegen commands',
|
|
60
|
+
},
|
|
61
|
+
startupTimeoutSeconds: {
|
|
62
|
+
description: 'Timeout for waiting on pikku dev /health-check',
|
|
63
|
+
},
|
|
64
|
+
port: {
|
|
65
|
+
description: 'Port to use for the temporary pikku dev startup check',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
}),
|
|
48
69
|
login: pikkuCLICommand({
|
|
49
70
|
func: FabricLogin,
|
|
50
71
|
description: 'Authenticate against fabric-api',
|
|
@@ -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
|
+
}, "session" | "rpc", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
branch: string;
|
|
16
16
|
}, {
|
|
17
17
|
branch: string;
|
|
18
18
|
schema: any;
|
|
19
|
-
}, "
|
|
19
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
25
25
|
type Schema = {
|
|
26
26
|
tables?: {
|
|
27
27
|
name: string;
|