@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.
Files changed (195) hide show
  1. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  2. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +3 -3
  3. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  4. package/dist/.pikku/cli/pikku-cli-channel.d.ts +6 -6
  5. package/dist/.pikku/cli/pikku-cli-channel.js +21 -1
  6. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  7. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  8. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  9. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +68 -0
  10. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  11. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  12. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  13. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  14. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  15. package/dist/.pikku/function/pikku-function-types.gen.d.ts +2 -2
  16. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  17. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  18. package/dist/.pikku/function/pikku-functions-meta.gen.json +152 -82
  19. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  20. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  21. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  22. package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
  23. package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
  24. package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
  25. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  26. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  27. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  28. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  29. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  30. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  31. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  32. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  33. package/dist/.pikku/pikku-types.gen.js +1 -1
  34. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  35. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  36. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  37. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  38. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  39. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  40. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +4 -0
  41. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  42. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  43. package/dist/.pikku/schemas/register.gen.js +13 -5
  44. package/dist/.pikku/schemas/schemas/FabricLinkOutput.schema.json +1 -1
  45. package/dist/.pikku/schemas/schemas/FabricSmokeInput.schema.json +1 -0
  46. package/dist/.pikku/schemas/schemas/FabricSmokeOutput.schema.json +1 -0
  47. package/dist/.pikku/schemas/schemas/LogoutInput.schema.json +1 -0
  48. package/dist/.pikku/schemas/schemas/WhoamiInput.schema.json +1 -0
  49. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  50. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  51. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  52. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  53. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  54. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  55. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  56. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  57. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  58. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  59. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  60. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  61. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  62. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  63. package/dist/bin/pikku-bin.mjs +2 -2
  64. package/dist/src/cli.wiring.js +45 -0
  65. package/dist/src/fabric/fabric-commands.d.ts +130 -63
  66. package/dist/src/fabric/fabric-commands.js +21 -0
  67. package/dist/src/fabric/functions/db-schema.function.d.ts +3 -3
  68. package/dist/src/fabric/functions/deploy-list.function.d.ts +3 -3
  69. package/dist/src/fabric/functions/deploy-units.function.d.ts +3 -3
  70. package/dist/src/fabric/functions/deploy.function.d.ts +6 -6
  71. package/dist/src/fabric/functions/domains-add.function.d.ts +3 -3
  72. package/dist/src/fabric/functions/domains-list.function.d.ts +3 -3
  73. package/dist/src/fabric/functions/domains-remove.function.d.ts +3 -3
  74. package/dist/src/fabric/functions/errors.function.d.ts +3 -3
  75. package/dist/src/fabric/functions/init.function.d.ts +3 -3
  76. package/dist/src/fabric/functions/link.function.d.ts +7 -3
  77. package/dist/src/fabric/functions/link.function.js +3 -1
  78. package/dist/src/fabric/functions/llm-key.function.d.ts +3 -3
  79. package/dist/src/fabric/functions/login.function.d.ts +3 -3
  80. package/dist/src/fabric/functions/logs.function.d.ts +3 -3
  81. package/dist/src/fabric/functions/metrics.function.d.ts +3 -3
  82. package/dist/src/fabric/functions/rollback.function.d.ts +3 -3
  83. package/dist/src/fabric/functions/secrets-list.function.d.ts +3 -3
  84. package/dist/src/fabric/functions/secrets-set.function.d.ts +3 -3
  85. package/dist/src/fabric/functions/smoke.function.d.ts +93 -0
  86. package/dist/src/fabric/functions/smoke.function.js +860 -0
  87. package/dist/src/fabric/functions/status.function.d.ts +3 -3
  88. package/dist/src/fabric/functions/trace.function.d.ts +3 -3
  89. package/dist/src/fabric/functions/validate.function.d.ts +3 -3
  90. package/dist/src/functions/commands/all.d.ts +1 -1
  91. package/dist/src/functions/commands/binary.d.ts +3 -3
  92. package/dist/src/functions/commands/bootstrap.d.ts +1 -1
  93. package/dist/src/functions/commands/console.d.ts +3 -3
  94. package/dist/src/functions/commands/db-audit.d.ts +1 -1
  95. package/dist/src/functions/commands/db-generate.d.ts +1 -1
  96. package/dist/src/functions/commands/db-migrate.d.ts +1 -1
  97. package/dist/src/functions/commands/db-reset.d.ts +1 -1
  98. package/dist/src/functions/commands/db-seed.d.ts +1 -1
  99. package/dist/src/functions/commands/deploy-apply.d.ts +3 -3
  100. package/dist/src/functions/commands/deploy-info.d.ts +1 -1
  101. package/dist/src/functions/commands/deploy-plan.d.ts +3 -3
  102. package/dist/src/functions/commands/dev.d.ts +3 -3
  103. package/dist/src/functions/commands/emails-init.d.ts +1 -1
  104. package/dist/src/functions/commands/enable.d.ts +5 -5
  105. package/dist/src/functions/commands/info.d.ts +4 -4
  106. package/dist/src/functions/commands/login.d.ts +37 -0
  107. package/dist/src/functions/commands/login.js +85 -0
  108. package/dist/src/functions/commands/meta.d.ts +31 -31
  109. package/dist/src/functions/commands/new-addon.d.ts +3 -3
  110. package/dist/src/functions/commands/new-function.d.ts +3 -3
  111. package/dist/src/functions/commands/new-middleware.d.ts +3 -3
  112. package/dist/src/functions/commands/new-permission.d.ts +3 -3
  113. package/dist/src/functions/commands/new-wiring.d.ts +3 -3
  114. package/dist/src/functions/commands/pikku-command-bootstrap.d.ts +1 -1
  115. package/dist/src/functions/commands/pikku-command-summary.d.ts +1 -1
  116. package/dist/src/functions/commands/skills.d.ts +6 -6
  117. package/dist/src/functions/commands/tests-coverage.d.ts +3 -3
  118. package/dist/src/functions/commands/tests-init.d.ts +3 -3
  119. package/dist/src/functions/commands/versions-check.d.ts +1 -1
  120. package/dist/src/functions/commands/versions-init.d.ts +3 -3
  121. package/dist/src/functions/commands/versions-update.d.ts +1 -1
  122. package/dist/src/functions/commands/watch.d.ts +3 -3
  123. package/dist/src/functions/commands/workspace-validate.d.ts +3 -3
  124. package/dist/src/functions/db/local-db.js +20 -75
  125. package/dist/src/functions/runtimes/fetch/index.d.ts +1 -1
  126. package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.d.ts +1 -1
  127. package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.d.ts +1 -1
  128. package/dist/src/functions/runtimes/websocket/pikku-command-websocket-typed.d.ts +1 -1
  129. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.d.ts +1 -1
  130. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent.d.ts +1 -1
  131. package/dist/src/functions/wirings/ai-agent/pikku-command-public-agent.d.ts +1 -1
  132. package/dist/src/functions/wirings/auth/pikku-command-auth.d.ts +1 -1
  133. package/dist/src/functions/wirings/channels/pikku-channels.d.ts +1 -1
  134. package/dist/src/functions/wirings/channels/pikku-command-channel-types.d.ts +1 -1
  135. package/dist/src/functions/wirings/channels/pikku-command-channels-map.d.ts +1 -1
  136. package/dist/src/functions/wirings/channels/pikku-command-channels.d.ts +1 -1
  137. package/dist/src/functions/wirings/cli/pikku-command-cli-entry.d.ts +1 -1
  138. package/dist/src/functions/wirings/cli/pikku-command-cli-types.d.ts +1 -1
  139. package/dist/src/functions/wirings/cli/pikku-command-cli.d.ts +1 -1
  140. package/dist/src/functions/wirings/cli/serialize-channel-cli-client.js +38 -7
  141. package/dist/src/functions/wirings/console/pikku-command-console-functions.d.ts +1 -1
  142. package/dist/src/functions/wirings/console/pikku-command-node-types.d.ts +1 -1
  143. package/dist/src/functions/wirings/console/pikku-command-nodes-meta.d.ts +1 -1
  144. package/dist/src/functions/wirings/credentials/pikku-command-credentials.d.ts +1 -1
  145. package/dist/src/functions/wirings/emails/pikku-command-emails.d.ts +1 -1
  146. package/dist/src/functions/wirings/functions/pikku-command-addon-types.d.ts +1 -1
  147. package/dist/src/functions/wirings/functions/pikku-command-function-types-split.d.ts +3 -3
  148. package/dist/src/functions/wirings/functions/pikku-command-function-types.d.ts +3 -3
  149. package/dist/src/functions/wirings/functions/pikku-command-functions.d.ts +1 -1
  150. package/dist/src/functions/wirings/functions/pikku-command-services.d.ts +1 -1
  151. package/dist/src/functions/wirings/functions/schemas.d.ts +1 -1
  152. package/dist/src/functions/wirings/gateway/pikku-command-gateway.d.ts +1 -1
  153. package/dist/src/functions/wirings/http/pikku-command-http-map.d.ts +1 -1
  154. package/dist/src/functions/wirings/http/pikku-command-http-routes.d.ts +1 -1
  155. package/dist/src/functions/wirings/http/pikku-command-http-types.d.ts +1 -1
  156. package/dist/src/functions/wirings/http/pikku-command-openapi.d.ts +1 -1
  157. package/dist/src/functions/wirings/http/pikku-http-routes.d.ts +1 -1
  158. package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.d.ts +1 -1
  159. package/dist/src/functions/wirings/mcp/pikku-command-mcp-types.d.ts +1 -1
  160. package/dist/src/functions/wirings/mcp/pikku-command-mcp.d.ts +1 -1
  161. package/dist/src/functions/wirings/middleware/pikku-command-middleware.d.ts +1 -1
  162. package/dist/src/functions/wirings/package/pikku-command-package-types.d.ts +2 -2
  163. package/dist/src/functions/wirings/package/pikku-command-package.d.ts +1 -1
  164. package/dist/src/functions/wirings/permissions/pikku-command-permissions.d.ts +1 -1
  165. package/dist/src/functions/wirings/queue/pikku-command-queue-map.d.ts +1 -1
  166. package/dist/src/functions/wirings/queue/pikku-command-queue-service.d.ts +1 -1
  167. package/dist/src/functions/wirings/queue/pikku-command-queue-types.d.ts +1 -1
  168. package/dist/src/functions/wirings/queue/pikku-command-queue.d.ts +1 -1
  169. package/dist/src/functions/wirings/queue/pikku-queue-map.d.ts +1 -1
  170. package/dist/src/functions/wirings/queue/pikku-queue.d.ts +1 -1
  171. package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.d.ts +1 -1
  172. package/dist/src/functions/wirings/realtime/pikku-command-realtime.d.ts +1 -1
  173. package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.d.ts +1 -1
  174. package/dist/src/functions/wirings/rpc/pikku-command-react-query.d.ts +1 -1
  175. package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.d.ts +1 -1
  176. package/dist/src/functions/wirings/rpc/pikku-command-rpc-client.d.ts +1 -1
  177. package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.d.ts +2 -2
  178. package/dist/src/functions/wirings/rpc/pikku-command-rpc.d.ts +1 -1
  179. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler-types.d.ts +1 -1
  180. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.d.ts +1 -1
  181. package/dist/src/functions/wirings/secrets/pikku-command-secrets.d.ts +1 -1
  182. package/dist/src/functions/wirings/triggers/pikku-command-trigger-types.d.ts +3 -3
  183. package/dist/src/functions/wirings/triggers/pikku-command-trigger.d.ts +1 -1
  184. package/dist/src/functions/wirings/variables/pikku-command-variables.d.ts +1 -1
  185. package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.d.ts +1 -1
  186. package/dist/src/functions/wirings/workflow/pikku-command-workflow.d.ts +1 -1
  187. package/dist/src/scaffold/rpc-remote.gen.d.ts +3 -3
  188. package/dist/src/scaffold/rpc-remote.gen.js +1 -1
  189. package/dist/src/utils/cli-session.d.ts +40 -0
  190. package/dist/src/utils/cli-session.js +73 -0
  191. package/dist/src/utils/device-auth.d.ts +28 -0
  192. package/dist/src/utils/device-auth.js +111 -0
  193. package/dist/tsconfig.tsbuildinfo +1 -1
  194. package/package.json +3 -3
  195. package/skills/pikku-machine-auth/SKILL.md +177 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-http-wirings-meta.gen.json' with { type: 'json' };
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import '../../src/scaffold/rpc-remote.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /* The files with an wireHTTP function call */
5
5
  import '../../src/scaffold/rpc-remote.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './http/pikku-http-wirings-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './http/pikku-http-wirings-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export declare class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js';
5
5
  import type { Services } from '../types/application-types.d.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-queue-workers-wirings-meta.gen.json' with { type: 'json' };
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import '../../src/scaffold/rpc-remote.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /* The files with an addQueueWorkers function call */
5
5
  import '../../src/scaffold/rpc-remote.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
@@ -9,6 +9,9 @@
9
9
  "pikkuOpenAPI": "pikkuOpenAPI",
10
10
  "pikkuNext": "pikkuNext",
11
11
  "pikkuEmails": "pikkuEmails",
12
+ "login": "login",
13
+ "logout": "logout",
14
+ "whoami": "whoami",
12
15
  "pikkuEmailsInit": "pikkuEmailsInit",
13
16
  "pikkuInfoFunctions": "pikkuInfoFunctions",
14
17
  "pikkuInfoTags": "pikkuInfoTags",
@@ -39,6 +42,7 @@
39
42
  "FabricDomainsRemove": "FabricDomainsRemove",
40
43
  "FabricLLMKey": "FabricLLMKey",
41
44
  "FabricValidate": "FabricValidate",
45
+ "FabricSmoke": "FabricSmoke",
42
46
  "all": "all",
43
47
  "bootstrap": "bootstrap",
44
48
  "watch": "watch",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,11 +1,15 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as PikkuSchemasOutput from './schemas/PikkuSchemasOutput.schema.json' with { type: 'json' };
6
6
  addSchema('PikkuSchemasOutput', PikkuSchemasOutput);
7
7
  import * as PikkuEmailsOutput from './schemas/PikkuEmailsOutput.schema.json' with { type: 'json' };
8
8
  addSchema('PikkuEmailsOutput', PikkuEmailsOutput);
9
+ import * as LogoutInput from './schemas/LogoutInput.schema.json' with { type: 'json' };
10
+ addSchema('LogoutInput', LogoutInput);
11
+ import * as WhoamiInput from './schemas/WhoamiInput.schema.json' with { type: 'json' };
12
+ addSchema('WhoamiInput', WhoamiInput);
9
13
  import * as BootstrapInput from './schemas/BootstrapInput.schema.json' with { type: 'json' };
10
14
  addSchema('BootstrapInput', BootstrapInput);
11
15
  import * as PikkuWorkflowOutput from './schemas/PikkuWorkflowOutput.schema.json' with { type: 'json' };
@@ -94,6 +98,10 @@ import * as FabricValidateInput from './schemas/FabricValidateInput.schema.json'
94
98
  addSchema('FabricValidateInput', FabricValidateInput);
95
99
  import * as FabricValidateOutput from './schemas/FabricValidateOutput.schema.json' with { type: 'json' };
96
100
  addSchema('FabricValidateOutput', FabricValidateOutput);
101
+ import * as FabricSmokeInput from './schemas/FabricSmokeInput.schema.json' with { type: 'json' };
102
+ addSchema('FabricSmokeInput', FabricSmokeInput);
103
+ import * as FabricSmokeOutput from './schemas/FabricSmokeOutput.schema.json' with { type: 'json' };
104
+ addSchema('FabricSmokeOutput', FabricSmokeOutput);
97
105
  import * as WatchInput from './schemas/WatchInput.schema.json' with { type: 'json' };
98
106
  addSchema('WatchInput', WatchInput);
99
107
  import * as ConsoleCommandInput from './schemas/ConsoleCommandInput.schema.json' with { type: 'json' };
@@ -194,14 +202,14 @@ import * as PikkuConsoleFunctionsOutput from './schemas/PikkuConsoleFunctionsOut
194
202
  addSchema('PikkuConsoleFunctionsOutput', PikkuConsoleFunctionsOutput);
195
203
  import * as PikkuNodesMetaOutput from './schemas/PikkuNodesMetaOutput.schema.json' with { type: 'json' };
196
204
  addSchema('PikkuNodesMetaOutput', PikkuNodesMetaOutput);
205
+ import * as PikkuGatewayOutput from './schemas/PikkuGatewayOutput.schema.json' with { type: 'json' };
206
+ addSchema('PikkuGatewayOutput', PikkuGatewayOutput);
197
207
  import * as PikkuFunctionTypesSplitInput from './schemas/PikkuFunctionTypesSplitInput.schema.json' with { type: 'json' };
198
208
  addSchema('PikkuFunctionTypesSplitInput', PikkuFunctionTypesSplitInput);
199
209
  import * as PikkuFunctionTypesInput from './schemas/PikkuFunctionTypesInput.schema.json' with { type: 'json' };
200
210
  addSchema('PikkuFunctionTypesInput', PikkuFunctionTypesInput);
201
211
  import * as PikkuFunctionsOutput from './schemas/PikkuFunctionsOutput.schema.json' with { type: 'json' };
202
212
  addSchema('PikkuFunctionsOutput', PikkuFunctionsOutput);
203
- import * as PikkuGatewayOutput from './schemas/PikkuGatewayOutput.schema.json' with { type: 'json' };
204
- addSchema('PikkuGatewayOutput', PikkuGatewayOutput);
205
213
  import * as PikkuCommandHTTPOutput from './schemas/PikkuCommandHTTPOutput.schema.json' with { type: 'json' };
206
214
  addSchema('PikkuCommandHTTPOutput', PikkuCommandHTTPOutput);
207
215
  import * as PikkuHTTPOutput from './schemas/PikkuHTTPOutput.schema.json' with { type: 'json' };
@@ -218,8 +226,6 @@ import * as PikkuCommandQueueOutput from './schemas/PikkuCommandQueueOutput.sche
218
226
  addSchema('PikkuCommandQueueOutput', PikkuCommandQueueOutput);
219
227
  import * as PikkuQueueOutput from './schemas/PikkuQueueOutput.schema.json' with { type: 'json' };
220
228
  addSchema('PikkuQueueOutput', PikkuQueueOutput);
221
- import * as PikkuEventsScaffoldOutput from './schemas/PikkuEventsScaffoldOutput.schema.json' with { type: 'json' };
222
- addSchema('PikkuEventsScaffoldOutput', PikkuEventsScaffoldOutput);
223
229
  import * as PikkuPublicRPCOutput from './schemas/PikkuPublicRPCOutput.schema.json' with { type: 'json' };
224
230
  addSchema('PikkuPublicRPCOutput', PikkuPublicRPCOutput);
225
231
  import * as PikkuRemoteRPCOutput from './schemas/PikkuRemoteRPCOutput.schema.json' with { type: 'json' };
@@ -228,6 +234,8 @@ import * as PikkuRPCOutput from './schemas/PikkuRPCOutput.schema.json' with { ty
228
234
  addSchema('PikkuRPCOutput', PikkuRPCOutput);
229
235
  import * as PikkuSchedulerOutput from './schemas/PikkuSchedulerOutput.schema.json' with { type: 'json' };
230
236
  addSchema('PikkuSchedulerOutput', PikkuSchedulerOutput);
237
+ import * as PikkuEventsScaffoldOutput from './schemas/PikkuEventsScaffoldOutput.schema.json' with { type: 'json' };
238
+ addSchema('PikkuEventsScaffoldOutput', PikkuEventsScaffoldOutput);
231
239
  import * as PikkuTriggerTypesInput from './schemas/PikkuTriggerTypesInput.schema.json' with { type: 'json' };
232
240
  addSchema('PikkuTriggerTypesInput', PikkuTriggerTypesInput);
233
241
  import * as PikkuTriggerOutput from './schemas/PikkuTriggerOutput.schema.json' with { type: 'json' };
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "projectSlug": { "type": "string" }, "deploymentId": { "type": "string" }, "stageId": { "type": "string" } }, "required": ["projectSlug", "deploymentId", "stageId"], "additionalProperties": false }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "projectId": { "type": "string" }, "projectSlug": { "type": "string" }, "deploymentId": { "type": "string" }, "stageId": { "type": "string" } }, "required": ["projectId", "projectSlug", "deploymentId", "stageId"], "additionalProperties": false }
@@ -0,0 +1 @@
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "keepTemp": { "type": "boolean" }, "timeoutSeconds": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "startupTimeoutSeconds": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "port": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 } }, "additionalProperties": false }
@@ -0,0 +1 @@
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "ok": { "type": "boolean" }, "root": { "type": "string" }, "ref": { "type": "string" }, "tempDir": { "type": "string" }, "tempDirKept": { "type": "boolean" }, "notes": { "type": "array", "items": { "type": "string" } }, "steps": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "status": { "type": "string", "enum": ["passed", "failed", "skipped"] }, "durationMs": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }, "detail": { "type": "string" }, "command": { "type": "string" } }, "required": ["name", "status", "durationMs"], "additionalProperties": false } }, "failure": { "type": "string" }, "logTail": { "type": "string" } }, "required": ["ok", "root", "ref", "tempDir", "tempDirKept", "notes", "steps"], "additionalProperties": false }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "url": { "type": "string" } }, "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "url": { "type": "string" } }, "additionalProperties": false, "definitions": {} }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  export { wireSecret } from '@pikku/core/secret';
5
5
  export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  export { wireSecret } from '@pikku/core/secret';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  import type { SecretService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  const CREDENTIALS_META = {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  export { wireVariable } from '@pikku/core/variable';
5
5
  export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  export { wireVariable } from '@pikku/core/variable';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import type { VariablesService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  const VARIABLES_META = {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { template } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { template } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import allWorkflowMeta from './meta/allWorkflow.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.40
2
+ * This file was generated by @pikku/cli@0.12.42
3
3
  */
4
4
  import { addWorkflow } from '@pikku/core/workflow';
5
5
  import './pikku-workflow-wirings-meta.gen.js';
@@ -11,8 +11,8 @@ async function checkForUpdate() {
11
11
  })
12
12
  if (!res.ok) return
13
13
  const { version: latest } = await res.json()
14
- if (latest !== '0.12.40') {
15
- process.stderr.write(`\n Update available 0.12.40 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
14
+ if (latest !== '0.12.42') {
15
+ process.stderr.write(`\n Update available 0.12.42 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
16
16
  }
17
17
  } catch {}
18
18
  }
@@ -14,6 +14,7 @@ import { all } from './functions/commands/all.js';
14
14
  import { bootstrap } from './functions/commands/bootstrap.js';
15
15
  import { watch } from './functions/commands/watch.js';
16
16
  import { consoleCommand } from './functions/commands/console.js';
17
+ import { login, logout, whoami } from './functions/commands/login.js';
17
18
  import { dev } from './functions/commands/dev.js';
18
19
  import { dbMigrate } from './functions/commands/db-migrate.js';
19
20
  import { dbGenerate } from './functions/commands/db-generate.js';
@@ -195,6 +196,50 @@ wireCLI({
195
196
  },
196
197
  },
197
198
  }),
199
+ login: pikkuCLICommand({
200
+ func: login,
201
+ description: 'Authenticate the CLI against a pikku server (device-authorization flow)',
202
+ options: {
203
+ url: {
204
+ description: 'Server base URL (default: http://localhost:3000)',
205
+ short: 'u',
206
+ },
207
+ clientId: {
208
+ description: 'Client identifier sent to the device flow',
209
+ default: 'pikku-cli',
210
+ },
211
+ scope: {
212
+ description: 'Optional space-separated scopes to request',
213
+ },
214
+ authPath: {
215
+ description: "better-auth base path (default: '/auth')",
216
+ },
217
+ open: {
218
+ description: 'Open the verification URL in a browser',
219
+ default: true,
220
+ },
221
+ },
222
+ }),
223
+ logout: pikkuCLICommand({
224
+ func: logout,
225
+ description: 'Remove a stored CLI session',
226
+ options: {
227
+ url: {
228
+ description: 'Server base URL to log out of (default: current)',
229
+ short: 'u',
230
+ },
231
+ },
232
+ }),
233
+ whoami: pikkuCLICommand({
234
+ func: whoami,
235
+ description: 'Show the current CLI session',
236
+ options: {
237
+ url: {
238
+ description: 'Server base URL to inspect (default: current)',
239
+ short: 'u',
240
+ },
241
+ },
242
+ }),
198
243
  schemas: pikkuCLICommand({
199
244
  func: pikkuSchemas,
200
245
  description: 'Generate JSON schemas for function input/output types',