@pikku/cli 0.12.43 → 0.12.45

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 (114) hide show
  1. package/cli.schema.json +1 -1
  2. package/console-app/assets/index-CRLT8CXr.js +254 -0
  3. package/console-app/assets/{index-VleHndkw.css → index-DwyRdRuZ.css} +1 -1
  4. package/console-app/index.html +2 -2
  5. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  7. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  8. package/dist/.pikku/cli/pikku-cli-channel.js +11 -1
  9. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  10. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  11. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +5 -0
  12. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +5 -0
  13. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.json +474 -0
  14. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  15. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  16. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  17. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +55 -0
  18. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  19. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  20. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  21. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  22. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  23. package/dist/.pikku/function/pikku-function-types.gen.d.ts +14 -1
  24. package/dist/.pikku/function/pikku-function-types.gen.js +17 -1
  25. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  26. package/dist/.pikku/function/pikku-functions-meta.gen.json +174 -136
  27. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  28. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  29. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  30. package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
  31. package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
  32. package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
  33. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  34. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  35. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  36. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  37. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  38. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  39. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  40. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  41. package/dist/.pikku/pikku-types.gen.js +1 -1
  42. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  43. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  44. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  45. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +8 -8
  46. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  47. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  48. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  49. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +6 -4
  50. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  51. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  52. package/dist/.pikku/schemas/register.gen.js +13 -5
  53. package/dist/.pikku/schemas/schemas/FabricAddInput.schema.json +1 -0
  54. package/dist/.pikku/schemas/schemas/FabricAddOutput.schema.json +1 -0
  55. package/dist/.pikku/schemas/schemas/FabricPublishInput.schema.json +1 -0
  56. package/dist/.pikku/schemas/schemas/FabricPublishOutput.schema.json +1 -0
  57. package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
  58. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  59. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  60. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  61. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  62. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  63. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  64. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  65. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  66. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  67. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  68. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +15 -15
  69. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  70. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  71. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  72. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  73. package/dist/bin/pikku-bin.mjs +2 -2
  74. package/dist/src/cli.wiring.js +12 -0
  75. package/dist/src/fabric/fabric-commands.d.ts +61 -3
  76. package/dist/src/fabric/fabric-commands.js +27 -1
  77. package/dist/src/fabric/functions/add.function.d.ts +50 -0
  78. package/dist/src/fabric/functions/add.function.js +144 -0
  79. package/dist/src/fabric/functions/publish.function.d.ts +45 -0
  80. package/dist/src/fabric/functions/publish.function.js +85 -0
  81. package/dist/src/fabric/functions/validate-core.d.ts +1 -1
  82. package/dist/src/fabric/functions/validate.function.d.ts +4 -4
  83. package/dist/src/fabric/functions/validate.function.js +119 -0
  84. package/dist/src/functions/commands/pikku-command-summary.js +3 -2
  85. package/dist/src/functions/commands/versions-update.js +10 -4
  86. package/dist/src/functions/commands/workspace-validate.d.ts +3 -3
  87. package/dist/src/functions/db/better-auth-schema.js +15 -2
  88. package/dist/src/functions/db/sqlite/sqlite-kysely.js +11 -3
  89. package/dist/src/functions/validate/workspace-validate.d.ts +2 -2
  90. package/dist/src/functions/validate/workspace-validate.js +4 -0
  91. package/dist/src/functions/wirings/channels/pikku-channels.js +20 -11
  92. package/dist/src/functions/wirings/channels/pikku-command-channels-map.js +2 -2
  93. package/dist/src/functions/wirings/channels/pikku-command-channels.js +20 -6
  94. package/dist/src/functions/wirings/channels/serialize-typed-channel-map.d.ts +1 -1
  95. package/dist/src/functions/wirings/channels/serialize-typed-channel-map.js +59 -11
  96. package/dist/src/functions/wirings/cli/pikku-command-cli.js +20 -6
  97. package/dist/src/functions/wirings/emails/pikku-command-emails.js +48 -19
  98. package/dist/src/functions/wirings/functions/pikku-command-function-types-split.js +7 -1
  99. package/dist/src/functions/wirings/functions/serialize-addon-refs.d.ts +14 -0
  100. package/dist/src/functions/wirings/functions/serialize-addon-refs.js +129 -0
  101. package/dist/src/functions/wirings/http/pikku-command-http-routes.js +21 -6
  102. package/dist/src/functions/wirings/http/serialize-typed-http-map.js +12 -0
  103. package/dist/src/functions/workflows/all.workflow.js +7 -0
  104. package/dist/src/scaffold/rpc-remote.gen.js +1 -1
  105. package/dist/src/services/cli-logger-forwarder.service.d.ts +4 -1
  106. package/dist/src/services/cli-logger-forwarder.service.js +20 -2
  107. package/dist/src/services/cli-logger.service.d.ts +16 -2
  108. package/dist/src/services/cli-logger.service.js +33 -5
  109. package/dist/src/services.js +7 -0
  110. package/dist/src/utils/pikku-cli-config.js +18 -0
  111. package/dist/tsconfig.tsbuildinfo +1 -1
  112. package/package.json +3 -3
  113. package/skills/pikku-emails/SKILL.md +157 -0
  114. package/console-app/assets/index-AwGnKyWe.js +0 -254
@@ -21,8 +21,8 @@
21
21
  }
22
22
  } catch (e) {}
23
23
  </script>
24
- <script type="module" crossorigin src="/assets/index-AwGnKyWe.js"></script>
25
- <link rel="stylesheet" crossorigin href="/assets/index-VleHndkw.css">
24
+ <script type="module" crossorigin src="/assets/index-CRLT8CXr.js"></script>
25
+ <link rel="stylesheet" crossorigin href="/assets/index-DwyRdRuZ.css">
26
26
  </head>
27
27
  <body>
28
28
  <div id="root"></div>
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  import { CoreAIAgent, PikkuAIMiddlewareHooks } from '@pikku/core/ai-agent';
5
5
  import type { PikkuPermission, PikkuMiddleware, Services, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  /**
5
5
  * WebSocket channel backend for 'pikku' CLI commands
@@ -31,6 +31,8 @@ import { FabricSmoke } from '../../src/fabric/functions/smoke.function.js';
31
31
  import { FabricLogin } from '../../src/fabric/functions/login.function.js';
32
32
  import { FabricInit } from '../../src/fabric/functions/init.function.js';
33
33
  import { FabricLink } from '../../src/fabric/functions/link.function.js';
34
+ import { FabricPublish } from '../../src/fabric/functions/publish.function.js';
35
+ import { FabricAdd } from '../../src/fabric/functions/add.function.js';
34
36
  import { FabricDeployPlan } from '../../src/fabric/functions/deploy.function.js';
35
37
  import { FabricDeployApply } from '../../src/fabric/functions/deploy.function.js';
36
38
  import { FabricDeployList } from '../../src/fabric/functions/deploy-list.function.js';
@@ -245,6 +247,14 @@ wireChannel({
245
247
  func: FabricLink,
246
248
  middleware: [cliCloseOnComplete],
247
249
  },
250
+ 'fabric.addon.publish': {
251
+ func: FabricPublish,
252
+ middleware: [cliCloseOnComplete],
253
+ },
254
+ 'fabric.addon.add': {
255
+ func: FabricAdd,
256
+ middleware: [cliCloseOnComplete],
257
+ },
248
258
  'fabric.deploy.plan': {
249
259
  func: FabricDeployPlan,
250
260
  middleware: [cliCloseOnComplete],
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  import '../pikku-bootstrap.gen.js';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  import { executeCLIViaChannel } from '@pikku/core/cli/channel';
5
5
  import { CorePikkuWebsocket } from '@pikku/websocket';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.45
3
+ */
4
+ import contractsMeta from './pikku-cli-contracts-meta.gen.json';
5
+ export default contractsMeta;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.45
3
+ */
4
+ import contractsMeta from './pikku-cli-contracts-meta.gen.json' with { type: 'json' };
5
+ export default contractsMeta;
@@ -0,0 +1,474 @@
1
+ {
2
+ "fabricCommands": {
3
+ "validate": {
4
+ "pikkuFuncId": "FabricValidate",
5
+ "positionals": [],
6
+ "options": {},
7
+ "renderName": "renderValidate",
8
+ "description": "Check the project structure for fabric compatibility — prints all missing or misconfigured items with fix hints"
9
+ },
10
+ "smoke": {
11
+ "pikkuFuncId": "FabricSmoke",
12
+ "positionals": [],
13
+ "options": {
14
+ "keepTemp": {
15
+ "description": "Keep the temp worktree even on success",
16
+ "default": false
17
+ },
18
+ "timeoutSeconds": {
19
+ "description": "Per-step timeout for install/build/codegen commands"
20
+ },
21
+ "startupTimeoutSeconds": {
22
+ "description": "Timeout for waiting on pikku dev /health-check"
23
+ },
24
+ "port": {
25
+ "description": "Port to use for the temporary pikku dev startup check"
26
+ }
27
+ },
28
+ "renderName": "renderSmoke",
29
+ "description": "Run a clean-room Fabric smoke test: temp worktree, install, codegen, migrate, and verify pikku dev startup"
30
+ },
31
+ "login": {
32
+ "pikkuFuncId": "FabricLogin",
33
+ "positionals": [],
34
+ "options": {
35
+ "apiKey": {
36
+ "description": "Use a static API key instead of browser flow"
37
+ },
38
+ "token": {
39
+ "description": "Use an existing fabric token instead of browser flow"
40
+ },
41
+ "apiUrl": {
42
+ "description": "Override the fabric-api URL for this login"
43
+ },
44
+ "consoleUrl": {
45
+ "description": "Override the console URL the browser opens"
46
+ }
47
+ },
48
+ "description": "Authenticate against fabric-api"
49
+ },
50
+ "init": {
51
+ "pikkuFuncId": "FabricInit",
52
+ "positionals": [
53
+ {
54
+ "name": "repo",
55
+ "required": true
56
+ }
57
+ ],
58
+ "options": {
59
+ "name": {
60
+ "description": "Override the project display name (defaults to repo name)"
61
+ },
62
+ "branch": {
63
+ "description": "Default branch (defaults to main)"
64
+ },
65
+ "force": {
66
+ "description": "Replace existing fabric.config.json",
67
+ "default": false
68
+ },
69
+ "apiUrl": {
70
+ "description": "Override the fabric-api URL for this call"
71
+ }
72
+ },
73
+ "parameters": "<repo>",
74
+ "description": "Adopt an existing git repo as a fabric project"
75
+ },
76
+ "link": {
77
+ "pikkuFuncId": "FabricLink",
78
+ "positionals": [],
79
+ "options": {
80
+ "apiUrl": {
81
+ "description": "Override the fabric-api URL stored in fabric.config.json"
82
+ }
83
+ },
84
+ "description": "Register the current git repo as a fabric project and queue an initial deploy"
85
+ },
86
+ "addon": {
87
+ "pikkuFuncId": "",
88
+ "positionals": [],
89
+ "options": {},
90
+ "description": "Publish and install Fabric community-registry addons",
91
+ "subcommands": {
92
+ "publish": {
93
+ "pikkuFuncId": "FabricPublish",
94
+ "positionals": [
95
+ {
96
+ "name": "dir",
97
+ "required": false
98
+ }
99
+ ],
100
+ "options": {
101
+ "apiUrl": {
102
+ "description": "Override the fabric-api URL for this call"
103
+ }
104
+ },
105
+ "parameters": "[dir]",
106
+ "description": "Publish the addon in this directory to the community registry (pack + upload)"
107
+ },
108
+ "add": {
109
+ "pikkuFuncId": "FabricAdd",
110
+ "positionals": [
111
+ {
112
+ "name": "id",
113
+ "required": true
114
+ }
115
+ ],
116
+ "options": {
117
+ "dir": {
118
+ "description": "Addon dir (overrides pikku.config.json addons.addonDir, default addons/)"
119
+ },
120
+ "apiUrl": {
121
+ "description": "Override the fabric-api URL for this call"
122
+ }
123
+ },
124
+ "parameters": "<id>",
125
+ "description": "Install an addon from the community registry into addons/ (shadcn-style)"
126
+ }
127
+ }
128
+ },
129
+ "deploy": {
130
+ "pikkuFuncId": "",
131
+ "positionals": [],
132
+ "options": {},
133
+ "description": "Plan and apply deploys for a named branch or production",
134
+ "subcommands": {
135
+ "plan": {
136
+ "pikkuFuncId": "FabricDeployPlan",
137
+ "positionals": [],
138
+ "options": {
139
+ "branch": {
140
+ "description": "Target branch to deploy",
141
+ "short": "b"
142
+ },
143
+ "production": {
144
+ "description": "Plan production (always main)",
145
+ "default": false
146
+ }
147
+ },
148
+ "renderName": "renderDeployPlan",
149
+ "description": "Resolve the target ref and report what a deploy would do"
150
+ },
151
+ "apply": {
152
+ "pikkuFuncId": "FabricDeployApply",
153
+ "positionals": [],
154
+ "options": {
155
+ "branch": {
156
+ "description": "Target branch to deploy",
157
+ "short": "b"
158
+ },
159
+ "production": {
160
+ "description": "Deploy production (always main)",
161
+ "default": false
162
+ },
163
+ "message": {
164
+ "description": "Annotation stored on the deployment",
165
+ "short": "m"
166
+ },
167
+ "autoApply": {
168
+ "description": "Deploy without the confirmation prompt",
169
+ "default": false
170
+ }
171
+ },
172
+ "renderName": "renderDeployApply",
173
+ "description": "Build + deploy a named branch or production (main)"
174
+ },
175
+ "list": {
176
+ "pikkuFuncId": "FabricDeployList",
177
+ "positionals": [],
178
+ "options": {
179
+ "branch": {
180
+ "description": "Target branch",
181
+ "short": "b"
182
+ }
183
+ },
184
+ "renderName": "renderDeployList",
185
+ "description": "List recent deployments for a branch"
186
+ },
187
+ "units": {
188
+ "pikkuFuncId": "FabricDeployUnits",
189
+ "positionals": [],
190
+ "options": {
191
+ "branch": {
192
+ "description": "Target branch",
193
+ "short": "b"
194
+ }
195
+ },
196
+ "renderName": "renderDeployUnits",
197
+ "description": "List the deployed worker units (topology) for a branch"
198
+ }
199
+ }
200
+ },
201
+ "rollback": {
202
+ "pikkuFuncId": "FabricRollback",
203
+ "positionals": [
204
+ {
205
+ "name": "branch",
206
+ "required": true
207
+ },
208
+ {
209
+ "name": "target",
210
+ "required": false
211
+ }
212
+ ],
213
+ "options": {
214
+ "list": {
215
+ "description": "List rollback candidates",
216
+ "default": false
217
+ },
218
+ "dryRun": {
219
+ "description": "Show schema-compat result without switching",
220
+ "default": false
221
+ },
222
+ "yes": {
223
+ "description": "Skip confirmation prompts",
224
+ "short": "y",
225
+ "default": false
226
+ }
227
+ },
228
+ "parameters": "<branch> [target]",
229
+ "description": "Roll live back to a previous deployment artifact"
230
+ },
231
+ "secrets": {
232
+ "pikkuFuncId": "",
233
+ "positionals": [],
234
+ "options": {},
235
+ "description": "Manage stage-scoped secrets",
236
+ "subcommands": {
237
+ "set": {
238
+ "pikkuFuncId": "FabricSecretsSet",
239
+ "positionals": [
240
+ {
241
+ "name": "name",
242
+ "required": true
243
+ }
244
+ ],
245
+ "options": {
246
+ "branch": {
247
+ "description": "Target branch",
248
+ "short": "b"
249
+ },
250
+ "value": {
251
+ "description": "Secret value (prompted if omitted)"
252
+ },
253
+ "force": {
254
+ "description": "Overwrite without confirmation",
255
+ "default": false
256
+ }
257
+ },
258
+ "parameters": "<name>",
259
+ "description": "Set a stage-scoped secret"
260
+ },
261
+ "list": {
262
+ "pikkuFuncId": "FabricSecretsList",
263
+ "positionals": [],
264
+ "options": {
265
+ "branch": {
266
+ "description": "Target branch",
267
+ "short": "b"
268
+ },
269
+ "json": {
270
+ "description": "Machine-readable output",
271
+ "default": false
272
+ }
273
+ },
274
+ "description": "List stage secrets"
275
+ }
276
+ }
277
+ },
278
+ "logs": {
279
+ "pikkuFuncId": "FabricLogs",
280
+ "positionals": [],
281
+ "options": {
282
+ "branch": {
283
+ "description": "Target branch",
284
+ "short": "b"
285
+ },
286
+ "deployment": {
287
+ "description": "Specific deployment id"
288
+ },
289
+ "level": {
290
+ "description": "Minimum level (debug/info/warn/error)"
291
+ },
292
+ "since": {
293
+ "description": "Time window (e.g. 15m, 2h)"
294
+ },
295
+ "follow": {
296
+ "description": "Stream new logs (SSE)",
297
+ "short": "f",
298
+ "default": false
299
+ },
300
+ "json": {
301
+ "description": "Machine-readable output",
302
+ "default": false
303
+ }
304
+ },
305
+ "description": "Stream or fetch logs"
306
+ },
307
+ "metrics": {
308
+ "pikkuFuncId": "FabricMetrics",
309
+ "positionals": [],
310
+ "options": {
311
+ "branch": {
312
+ "description": "Target branch",
313
+ "short": "b"
314
+ },
315
+ "hours": {
316
+ "description": "Lookback window in hours (default 24)"
317
+ },
318
+ "function": {
319
+ "description": "Filter by wire id (e.g. function name)"
320
+ },
321
+ "json": {
322
+ "description": "Machine-readable output",
323
+ "default": false
324
+ }
325
+ },
326
+ "description": "Show request rate / error rate / latency for a stage"
327
+ },
328
+ "trace": {
329
+ "pikkuFuncId": "FabricTrace",
330
+ "positionals": [
331
+ {
332
+ "name": "traceId",
333
+ "required": true
334
+ }
335
+ ],
336
+ "options": {
337
+ "branch": {
338
+ "description": "Target branch",
339
+ "short": "b"
340
+ },
341
+ "json": {
342
+ "description": "Machine-readable output",
343
+ "default": false
344
+ }
345
+ },
346
+ "parameters": "<traceId>",
347
+ "description": "Print every event for a single trace across the stage"
348
+ },
349
+ "status": {
350
+ "pikkuFuncId": "FabricStatus",
351
+ "positionals": [],
352
+ "options": {},
353
+ "renderName": "renderStatus",
354
+ "description": "Show the linked project status (active + in-flight deploy)"
355
+ },
356
+ "errors": {
357
+ "pikkuFuncId": "FabricErrors",
358
+ "positionals": [],
359
+ "options": {
360
+ "branch": {
361
+ "description": "Target branch",
362
+ "short": "b"
363
+ },
364
+ "function": {
365
+ "description": "Filter by function name"
366
+ }
367
+ },
368
+ "renderName": "renderErrors",
369
+ "description": "Show recent error-level events for a branch (with traceIds)"
370
+ },
371
+ "db": {
372
+ "pikkuFuncId": "",
373
+ "positionals": [],
374
+ "options": {},
375
+ "description": "Inspect the stage database",
376
+ "subcommands": {
377
+ "schema": {
378
+ "pikkuFuncId": "FabricDbSchema",
379
+ "positionals": [],
380
+ "options": {
381
+ "branch": {
382
+ "description": "Target branch",
383
+ "short": "b"
384
+ }
385
+ },
386
+ "renderName": "renderDbSchema",
387
+ "description": "Show the live database schema (tables + columns)"
388
+ }
389
+ }
390
+ },
391
+ "domains": {
392
+ "pikkuFuncId": "",
393
+ "positionals": [],
394
+ "options": {},
395
+ "description": "Manage custom domains for the production stage",
396
+ "subcommands": {
397
+ "list": {
398
+ "pikkuFuncId": "FabricDomainsList",
399
+ "positionals": [],
400
+ "options": {
401
+ "apiUrl": {
402
+ "description": "Override the fabric-api URL for this call"
403
+ }
404
+ },
405
+ "description": "List custom domains for the linked project"
406
+ },
407
+ "add": {
408
+ "pikkuFuncId": "FabricDomainsAdd",
409
+ "positionals": [
410
+ {
411
+ "name": "hostname",
412
+ "required": true
413
+ }
414
+ ],
415
+ "options": {
416
+ "target": {
417
+ "description": "Route target: api (Backend API) or app (Frontend App)",
418
+ "default": "api"
419
+ },
420
+ "apiUrl": {
421
+ "description": "Override the fabric-api URL for this call"
422
+ }
423
+ },
424
+ "parameters": "<hostname>",
425
+ "description": "Add a custom domain to the production stage"
426
+ },
427
+ "remove": {
428
+ "pikkuFuncId": "FabricDomainsRemove",
429
+ "positionals": [
430
+ {
431
+ "name": "hostname",
432
+ "required": true
433
+ }
434
+ ],
435
+ "options": {
436
+ "apiUrl": {
437
+ "description": "Override the fabric-api URL for this call"
438
+ }
439
+ },
440
+ "parameters": "<hostname>",
441
+ "description": "Remove a custom domain from the production stage"
442
+ }
443
+ }
444
+ },
445
+ "llm": {
446
+ "pikkuFuncId": "",
447
+ "positionals": [],
448
+ "options": {},
449
+ "description": "Fabric AI gateway developer key commands",
450
+ "subcommands": {
451
+ "key": {
452
+ "pikkuFuncId": "FabricLLMKey",
453
+ "positionals": [],
454
+ "options": {
455
+ "shell": {
456
+ "description": "Print shell export lines",
457
+ "default": false
458
+ },
459
+ "env": {
460
+ "description": "Print .env-style key-value lines",
461
+ "default": false
462
+ },
463
+ "json": {
464
+ "description": "Print machine-readable JSON",
465
+ "default": false
466
+ }
467
+ },
468
+ "renderName": "renderLLMKey",
469
+ "description": "Mint or reuse a developer-scoped Fabric AI gateway key"
470
+ }
471
+ }
472
+ }
473
+ }
474
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-cli-wirings-meta.gen.json' with { type: 'json' };
@@ -336,6 +336,49 @@
336
336
  },
337
337
  "description": "Register the current git repo as a fabric project and queue an initial deploy"
338
338
  },
339
+ "addon": {
340
+ "pikkuFuncId": "",
341
+ "positionals": [],
342
+ "options": {},
343
+ "description": "Publish and install Fabric community-registry addons",
344
+ "subcommands": {
345
+ "publish": {
346
+ "pikkuFuncId": "FabricPublish",
347
+ "positionals": [
348
+ {
349
+ "name": "dir",
350
+ "required": false
351
+ }
352
+ ],
353
+ "options": {
354
+ "apiUrl": {
355
+ "description": "Override the fabric-api URL for this call"
356
+ }
357
+ },
358
+ "parameters": "[dir]",
359
+ "description": "Publish the addon in this directory to the community registry (pack + upload)"
360
+ },
361
+ "add": {
362
+ "pikkuFuncId": "FabricAdd",
363
+ "positionals": [
364
+ {
365
+ "name": "id",
366
+ "required": true
367
+ }
368
+ ],
369
+ "options": {
370
+ "dir": {
371
+ "description": "Addon dir (overrides pikku.config.json addons.addonDir, default addons/)"
372
+ },
373
+ "apiUrl": {
374
+ "description": "Override the fabric-api URL for this call"
375
+ }
376
+ },
377
+ "parameters": "<id>",
378
+ "description": "Install an addon from the community registry into addons/ (shadcn-style)"
379
+ }
380
+ }
381
+ },
339
382
  "deploy": {
340
383
  "pikkuFuncId": "",
341
384
  "positionals": [],
@@ -1410,6 +1453,18 @@
1410
1453
  "default": false,
1411
1454
  "short": "j"
1412
1455
  },
1456
+ "failOnError": {
1457
+ "description": "Fail the build on error-severity diagnostics (e.g. data-classification leaks). Default: only critical diagnostics fail.",
1458
+ "default": false
1459
+ },
1460
+ "failOnWarn": {
1461
+ "description": "Fail the build on warn-severity diagnostics (implies --fail-on-error).",
1462
+ "default": false
1463
+ },
1464
+ "failOnCritical": {
1465
+ "description": "Fail the build on critical diagnostics. Always on; accepted for symmetry with --fail-on-error/--fail-on-warn.",
1466
+ "default": true
1467
+ },
1413
1468
  "userSessionType": {
1414
1469
  "description": "Specify which UserSession type to use (when multiple exist)"
1415
1470
  },
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.43
2
+ * This file was generated by @pikku/cli@0.12.45
3
3
  */
4
4
  import '../../src/cli.wiring.js';
5
5
  import '../../src/services.js';