@pikku/cli 0.12.44 → 0.12.46

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 (91) hide show
  1. package/cli.schema.json +1 -1
  2. package/console-app/assets/index-ByiKUJ11.js +254 -0
  3. package/console-app/index.html +1 -1
  4. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  5. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  6. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  7. package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
  8. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  9. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  10. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +5 -0
  11. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +5 -0
  12. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.json +474 -0
  13. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  14. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  15. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  16. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  17. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  18. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  19. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  20. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  21. package/dist/.pikku/function/pikku-function-types.gen.d.ts +14 -1
  22. package/dist/.pikku/function/pikku-function-types.gen.js +17 -1
  23. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  24. package/dist/.pikku/function/pikku-functions-meta.gen.json +51 -51
  25. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  26. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  27. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  28. package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
  29. package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
  30. package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
  31. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  32. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  33. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  34. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  35. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  36. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  37. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  38. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  39. package/dist/.pikku/pikku-types.gen.js +1 -1
  40. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  41. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  42. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  43. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +8 -8
  44. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  45. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  46. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  47. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +1 -1
  48. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  49. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  50. package/dist/.pikku/schemas/register.gen.js +1 -1
  51. package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
  52. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  53. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  54. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  55. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  56. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  57. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  58. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  59. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  60. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  61. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  62. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +15 -15
  63. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  64. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  65. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  66. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  67. package/dist/bin/pikku-bin.mjs +2 -2
  68. package/dist/src/deploy/build-pipeline.js +2 -0
  69. package/dist/src/deploy/bundler/bundler.d.ts +1 -0
  70. package/dist/src/deploy/bundler/bundler.js +36 -5
  71. package/dist/src/deploy/provider-adapter.d.ts +7 -0
  72. package/dist/src/fabric/functions/validate.function.js +185 -0
  73. package/dist/src/functions/wirings/auth/pikku-command-auth.js +10 -1
  74. package/dist/src/functions/wirings/channels/pikku-channels.js +20 -11
  75. package/dist/src/functions/wirings/channels/pikku-command-channels-map.js +2 -2
  76. package/dist/src/functions/wirings/channels/pikku-command-channels.js +20 -6
  77. package/dist/src/functions/wirings/channels/serialize-typed-channel-map.d.ts +1 -1
  78. package/dist/src/functions/wirings/channels/serialize-typed-channel-map.js +59 -11
  79. package/dist/src/functions/wirings/cli/pikku-command-cli.js +20 -6
  80. package/dist/src/functions/wirings/functions/pikku-command-function-types-split.js +7 -1
  81. package/dist/src/functions/wirings/functions/serialize-addon-refs.d.ts +14 -0
  82. package/dist/src/functions/wirings/functions/serialize-addon-refs.js +129 -0
  83. package/dist/src/functions/wirings/http/pikku-command-http-routes.js +21 -6
  84. package/dist/src/functions/wirings/http/serialize-typed-http-map.js +12 -0
  85. package/dist/src/functions/workflows/all.workflow.js +7 -0
  86. package/dist/src/scaffold/rpc-remote.gen.js +1 -1
  87. package/dist/src/utils/pikku-cli-config.js +18 -0
  88. package/dist/tsconfig.tsbuildinfo +1 -1
  89. package/package.json +3 -3
  90. package/skills/pikku-better-auth/SKILL.md +19 -3
  91. package/console-app/assets/index-CRLT8CXr.js +0 -254
@@ -21,7 +21,7 @@
21
21
  }
22
22
  } catch (e) {}
23
23
  </script>
24
- <script type="module" crossorigin src="/assets/index-CRLT8CXr.js"></script>
24
+ <script type="module" crossorigin src="/assets/index-ByiKUJ11.js"></script>
25
25
  <link rel="stylesheet" crossorigin href="/assets/index-DwyRdRuZ.css">
26
26
  </head>
27
27
  <body>
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
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.44
2
+ * This file was generated by @pikku/cli@0.12.46
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.44
2
+ * This file was generated by @pikku/cli@0.12.46
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.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  /**
5
5
  * WebSocket channel backend for 'pikku' CLI commands
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
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.44
2
+ * This file was generated by @pikku/cli@0.12.46
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.46
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.46
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.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-cli-wirings-meta.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  import '../../src/cli.wiring.js';
5
5
  import '../../src/services.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  /* The files with an wireCLI function call */
5
5
  import '../../src/cli.wiring.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  import '../pikku-bootstrap.gen.js';
5
5
  export declare function PikkuCLI(args: string[]): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  import { executeCLI, CLIError } from '@pikku/core/cli';
5
5
  import { createConfig as createConfig } from '../../src/services.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.js';
5
5
  export type NodeCategory = never;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  /**
5
5
  * Core function, middleware, and permission types for all wirings
@@ -474,3 +474,16 @@ export declare const addTagPermission: <In = unknown>(tag: string, permissions:
474
474
  export declare const addGlobalPermission: <In = unknown>(permissions: CorePermissionGroup<PikkuPermission<In>> | PikkuPermission<In>[]) => void;
475
475
  export { wireAddon } from '@pikku/core/rpc';
476
476
  export type { WireAddonConfig } from '@pikku/core/rpc';
477
+ /**
478
+ * Addon contract references. Generated from each wired addon's published
479
+ * contract metadata — no addon source is imported. Functions are proxied via
480
+ * ref() (RPC) exactly like ref('namespace:fn').
481
+ */
482
+ declare const __addonHttp: {};
483
+ declare const __addonChannel: {};
484
+ declare const __addonCli: {};
485
+ export declare const refHTTP: <Name extends keyof typeof __addonHttp>(name: Name, options?: {
486
+ basePath?: string;
487
+ }) => (typeof __addonHttp)[Name];
488
+ export declare const refChannel: <Name extends keyof typeof __addonChannel>(name: Name) => (typeof __addonChannel)[Name];
489
+ export declare const refCLI: <Name extends keyof typeof __addonCli>(name: Name) => (typeof __addonCli)[Name];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  /**
5
5
  * Core function, middleware, and permission types for all wirings
@@ -315,3 +315,19 @@ export const addGlobalPermission = (permissions) => {
315
315
  addGlobalPermissionCore(permissions, null);
316
316
  };
317
317
  export { wireAddon } from '@pikku/core/rpc';
318
+ /**
319
+ * Addon contract references. Generated from each wired addon's published
320
+ * contract metadata — no addon source is imported. Functions are proxied via
321
+ * ref() (RPC) exactly like ref('namespace:fn').
322
+ */
323
+ const __addonHttp = {};
324
+ const __addonChannel = {};
325
+ const __addonCli = {};
326
+ export const refHTTP = (name, options) => {
327
+ const contract = __addonHttp[name];
328
+ return (options?.basePath !== undefined
329
+ ? { ...contract, basePath: options.basePath }
330
+ : contract);
331
+ };
332
+ export const refChannel = (name) => __addonChannel[name];
333
+ export const refCLI = (name) => __addonCli[name];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.44
2
+ * This file was generated by @pikku/cli@0.12.46
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-functions-meta.gen.json' with { type: 'json' };