@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
|
@@ -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
|
+
}, "session" | "rpc", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
branch: string;
|
|
16
16
|
}, {
|
|
17
17
|
branch: string;
|
|
18
18
|
deployments: 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
|
deployments: any[];
|
|
24
|
-
}, "
|
|
24
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
branch: string;
|
|
16
16
|
}, {
|
|
17
17
|
branch: string;
|
|
18
18
|
workers: 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
|
workers: any[];
|
|
24
|
-
}, "
|
|
24
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
13
13
|
apiUrl?: string | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
count: number;
|
|
16
|
-
}, "
|
|
16
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
hostname: string;
|
|
16
16
|
apiUrl?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
removed: boolean;
|
|
19
|
-
}, "
|
|
19
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -3,6 +3,7 @@ export declare const FabricLinkInput: z.ZodObject<{
|
|
|
3
3
|
apiUrl: z.ZodOptional<z.ZodString>;
|
|
4
4
|
}, z.core.$strip>;
|
|
5
5
|
export declare const FabricLinkOutput: z.ZodObject<{
|
|
6
|
+
projectId: z.ZodString;
|
|
6
7
|
projectSlug: z.ZodString;
|
|
7
8
|
deploymentId: z.ZodString;
|
|
8
9
|
stageId: z.ZodString;
|
|
@@ -10,19 +11,22 @@ export declare const FabricLinkOutput: z.ZodObject<{
|
|
|
10
11
|
export declare const FabricLink: import("../../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
11
12
|
apiUrl?: string | undefined;
|
|
12
13
|
}, {
|
|
14
|
+
projectId: string;
|
|
13
15
|
projectSlug: string;
|
|
14
16
|
deploymentId: string;
|
|
15
17
|
stageId: string;
|
|
16
|
-
}, "
|
|
18
|
+
}, "session" | "rpc", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
17
19
|
apiUrl?: string | undefined;
|
|
18
20
|
}, {
|
|
21
|
+
projectId: string;
|
|
19
22
|
projectSlug: string;
|
|
20
23
|
deploymentId: string;
|
|
21
24
|
stageId: string;
|
|
22
|
-
}, "
|
|
25
|
+
}, "session" | "rpc", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
23
26
|
apiUrl?: string | undefined;
|
|
24
27
|
}, {
|
|
28
|
+
projectId: string;
|
|
25
29
|
projectSlug: string;
|
|
26
30
|
deploymentId: string;
|
|
27
31
|
stageId: string;
|
|
28
|
-
}, "
|
|
32
|
+
}, "session" | "rpc", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -7,6 +7,7 @@ export const FabricLinkInput = z.object({
|
|
|
7
7
|
apiUrl: z.string().optional(),
|
|
8
8
|
});
|
|
9
9
|
export const FabricLinkOutput = z.object({
|
|
10
|
+
projectId: z.string(),
|
|
10
11
|
projectSlug: z.string(),
|
|
11
12
|
deploymentId: z.string(),
|
|
12
13
|
stageId: z.string(),
|
|
@@ -61,7 +62,7 @@ export const FabricLink = pikkuSessionlessFunc({
|
|
|
61
62
|
projectId: project.projectId,
|
|
62
63
|
...(apiUrlOverride ? { apiUrl: apiUrlOverride } : {}),
|
|
63
64
|
});
|
|
64
|
-
console.log(`[fabric] linked ${project.projectSlug}`);
|
|
65
|
+
console.log(`[fabric] linked ${project.projectSlug} projectId=${project.projectId}`);
|
|
65
66
|
const deploy = await rpc.invoke('deployByStageKind', {
|
|
66
67
|
projectId: project.projectId,
|
|
67
68
|
branch: safety.branch,
|
|
@@ -69,6 +70,7 @@ export const FabricLink = pikkuSessionlessFunc({
|
|
|
69
70
|
});
|
|
70
71
|
console.log(`[fabric] queued deploy: branch=${safety.branch} deploymentId=${deploy.deploymentId}`);
|
|
71
72
|
return {
|
|
73
|
+
projectId: project.projectId,
|
|
72
74
|
projectSlug: project.projectSlug,
|
|
73
75
|
deploymentId: deploy.deploymentId,
|
|
74
76
|
stageId: deploy.stageId,
|
|
@@ -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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
15
15
|
branch: string;
|
|
16
16
|
json?: boolean | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
names: string[];
|
|
19
|
-
}, "
|
|
19
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", 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
|
+
}, "session" | "rpc", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FabricSmokeInput: z.ZodObject<{
|
|
3
|
+
keepTemp: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
startupTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export declare const FabricSmokeOutput: z.ZodObject<{
|
|
9
|
+
ok: z.ZodBoolean;
|
|
10
|
+
root: z.ZodString;
|
|
11
|
+
ref: z.ZodString;
|
|
12
|
+
tempDir: z.ZodString;
|
|
13
|
+
tempDirKept: z.ZodBoolean;
|
|
14
|
+
notes: z.ZodArray<z.ZodString>;
|
|
15
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
status: z.ZodEnum<{
|
|
18
|
+
skipped: "skipped";
|
|
19
|
+
failed: "failed";
|
|
20
|
+
passed: "passed";
|
|
21
|
+
}>;
|
|
22
|
+
durationMs: z.ZodNumber;
|
|
23
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
24
|
+
command: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
27
|
+
logTail: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
export declare const FabricSmoke: import("../../../.pikku/pikku-types.gen.js").PikkuFunctionConfig<{
|
|
30
|
+
keepTemp?: boolean | undefined;
|
|
31
|
+
timeoutSeconds?: number | undefined;
|
|
32
|
+
startupTimeoutSeconds?: number | undefined;
|
|
33
|
+
port?: number | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
ok: boolean;
|
|
36
|
+
root: string;
|
|
37
|
+
ref: string;
|
|
38
|
+
tempDir: string;
|
|
39
|
+
tempDirKept: boolean;
|
|
40
|
+
notes: string[];
|
|
41
|
+
steps: {
|
|
42
|
+
name: string;
|
|
43
|
+
status: "skipped" | "failed" | "passed";
|
|
44
|
+
durationMs: number;
|
|
45
|
+
detail?: string | undefined;
|
|
46
|
+
command?: string | undefined;
|
|
47
|
+
}[];
|
|
48
|
+
failure?: string | undefined;
|
|
49
|
+
logTail?: string | undefined;
|
|
50
|
+
}, "session" | "rpc", import("../../../.pikku/pikku-types.gen.js").PikkuFunctionSessionless<{
|
|
51
|
+
keepTemp?: boolean | undefined;
|
|
52
|
+
timeoutSeconds?: number | undefined;
|
|
53
|
+
startupTimeoutSeconds?: number | undefined;
|
|
54
|
+
port?: number | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
ok: boolean;
|
|
57
|
+
root: string;
|
|
58
|
+
ref: string;
|
|
59
|
+
tempDir: string;
|
|
60
|
+
tempDirKept: boolean;
|
|
61
|
+
notes: string[];
|
|
62
|
+
steps: {
|
|
63
|
+
name: string;
|
|
64
|
+
status: "skipped" | "failed" | "passed";
|
|
65
|
+
durationMs: number;
|
|
66
|
+
detail?: string | undefined;
|
|
67
|
+
command?: string | undefined;
|
|
68
|
+
}[];
|
|
69
|
+
failure?: string | undefined;
|
|
70
|
+
logTail?: string | undefined;
|
|
71
|
+
}, "session" | "rpc", import("../../../types/application-types.js").Services> | import("../../../.pikku/pikku-types.gen.js").PikkuFunction<{
|
|
72
|
+
keepTemp?: boolean | undefined;
|
|
73
|
+
timeoutSeconds?: number | undefined;
|
|
74
|
+
startupTimeoutSeconds?: number | undefined;
|
|
75
|
+
port?: number | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
ok: boolean;
|
|
78
|
+
root: string;
|
|
79
|
+
ref: string;
|
|
80
|
+
tempDir: string;
|
|
81
|
+
tempDirKept: boolean;
|
|
82
|
+
notes: string[];
|
|
83
|
+
steps: {
|
|
84
|
+
name: string;
|
|
85
|
+
status: "skipped" | "failed" | "passed";
|
|
86
|
+
durationMs: number;
|
|
87
|
+
detail?: string | undefined;
|
|
88
|
+
command?: string | undefined;
|
|
89
|
+
}[];
|
|
90
|
+
failure?: string | undefined;
|
|
91
|
+
logTail?: string | undefined;
|
|
92
|
+
}, "session" | "rpc", import("../../../types/application-types.js").Services>, undefined, undefined>;
|
|
93
|
+
export declare const renderSmoke: (_services: unknown, output: z.infer<typeof FabricSmokeOutput>) => void;
|