@pikku/cli 0.12.127 → 0.12.128
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/CHANGELOG.md +92 -0
- package/dist/.pikku/addon/index.d.ts +1 -1
- package/dist/.pikku/addon/index.js +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/agent/index.d.ts +1 -1
- package/dist/.pikku/agent/index.js +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/auth/index.d.ts +1 -1
- package/dist/.pikku/auth/index.js +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.js +1 -1
- package/dist/.pikku/channel/index.d.ts +1 -1
- package/dist/.pikku/channel/index.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/index.d.ts +1 -1
- package/dist/.pikku/cli/index.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +11 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.json +21 -0
- 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 +37 -1
- 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/error/index.d.ts +1 -1
- package/dist/.pikku/error/index.js +1 -1
- package/dist/.pikku/error/pikku-error-types.gen.d.ts +1 -1
- package/dist/.pikku/error/pikku-error-types.gen.js +1 -1
- package/dist/.pikku/function/index.d.ts +1 -1
- package/dist/.pikku/function/index.js +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
- 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 +42 -6
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/gateway/index.d.ts +1 -1
- package/dist/.pikku/gateway/index.js +1 -1
- package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +1 -1
- package/dist/.pikku/gateway/pikku-gateway-types.gen.js +1 -1
- package/dist/.pikku/http/index.d.ts +1 -1
- package/dist/.pikku/http/index.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/mcp/index.d.ts +1 -1
- package/dist/.pikku/mcp/index.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/middleware/index.d.ts +1 -1
- package/dist/.pikku/middleware/index.js +1 -1
- package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +1 -1
- package/dist/.pikku/middleware/pikku-middleware-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.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-services.gen.d.ts +1 -1
- package/dist/.pikku/queue/index.d.ts +1 -1
- package/dist/.pikku/queue/index.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 +2 -0
- package/dist/.pikku/scenarios/index.d.ts +1 -1
- package/dist/.pikku/scenarios/index.js +1 -1
- package/dist/.pikku/scenarios/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
- package/dist/.pikku/scheduler/index.d.ts +1 -1
- package/dist/.pikku/scheduler/index.js +1 -1
- 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 +7 -1
- package/dist/.pikku/schemas/schemas/FabricSecretsDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricSecretsDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuDistInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuNewAddonInput.schema.json +1 -1
- package/dist/.pikku/scopes/index.d.ts +1 -1
- package/dist/.pikku/scopes/index.js +1 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/secrets/index.d.ts +1 -1
- package/dist/.pikku/secrets/index.js +1 -1
- 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/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/setup/index.d.ts +1 -1
- package/dist/.pikku/setup/index.js +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
- package/dist/.pikku/trigger/index.d.ts +1 -1
- package/dist/.pikku/trigger/index.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/index.d.ts +1 -1
- package/dist/.pikku/variables/index.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/index.d.ts +1 -1
- package/dist/.pikku/workflow/index.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 +16 -1
- package/dist/src/fabric/fabric-commands.d.ts +25 -0
- package/dist/src/fabric/fabric-commands.js +13 -0
- package/dist/src/fabric/functions/secrets-delete.function.d.ts +36 -0
- package/dist/src/fabric/functions/secrets-delete.function.js +51 -0
- package/dist/src/functions/commands/dev.js +2 -1
- package/dist/src/functions/commands/dist.d.ts +28 -0
- package/dist/src/functions/commands/dist.js +58 -0
- package/dist/src/functions/commands/new-addon.d.ts +30 -0
- package/dist/src/functions/commands/new-addon.js +81 -3
- package/dist/src/functions/commands/persona-sync.d.ts +5 -4
- package/dist/src/functions/commands/persona-sync.js +6 -5
- package/dist/src/functions/commands/persona.js +6 -2
- package/dist/src/functions/validate/auth-plugin-checks.js +3 -2
- package/dist/src/functions/validate/persona-checks.js +2 -1
- package/dist/src/utils/persona-credentials.d.ts +0 -2
- package/dist/src/utils/persona-credentials.js +1 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/snippets.json +1 -1
- package/surface.json +1292 -4907
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,95 @@
|
|
|
1
|
+
## 0.12.128
|
|
2
|
+
|
|
3
|
+
### Patch Changes
|
|
4
|
+
|
|
5
|
+
- c0940a1: `pikku new addon` now installs and builds the addon it generates.
|
|
6
|
+
|
|
7
|
+
The generated package exports `./dist/...`, which is what an installed consumer
|
|
8
|
+
resolves and what the app's own `pikku-bootstrap.gen.ts` imports. Until `build`
|
|
9
|
+
had run, that path did not exist: the app failed at boot with PKU340 and an
|
|
10
|
+
ERR_MODULE_NOT_FOUND on a dist file nobody had written, and every
|
|
11
|
+
`ref('<addon>:…')` resolved to nothing. Nothing about the generated files showed
|
|
12
|
+
the problem, so a generated addon looked complete and was dead at runtime.
|
|
13
|
+
|
|
14
|
+
Pass `--no-build` to keep the previous write-only behaviour.
|
|
15
|
+
|
|
16
|
+
- e92e30b: Print a CLI failure as its message, not as a JS stack trace.
|
|
17
|
+
|
|
18
|
+
Every error that reached the top of `executeCLI` was logged with `console.error('Error:', error)`, which node renders as the full stack — and prefixed it a second time, so a refusal read `Error: Error: Persona 'guest' missing guest…` above ten frames of pikku internals. A `PikkuFetchError` was worse: node inspects an error's own properties, so the whole `Response` came out with it, headers and body stream included, to say `502`.
|
|
19
|
+
|
|
20
|
+
An expected failure — a `PikkuError`, or anything carrying `expected: true` — now prints its message alone, and a fetch failure prints `502 Bad Gateway from <url>` without touching the response. Anything else keeps its stack, because a `TypeError` with its frames removed is undiagnosable. `--verbose`/`-v`, or `PIKKU_DEBUG=1` where the flag cannot be typed, adds the stack back to an expected failure.
|
|
21
|
+
|
|
22
|
+
The refusals behind the examples — a persona whose roles have drifted, a sign-in the stage rejected — are raised as `PikkuError` so they are classed as deliberate.
|
|
23
|
+
|
|
24
|
+
- 3079f44: Give `pikku dev` a credential store.
|
|
25
|
+
|
|
26
|
+
Wiring a `credentialService` is the deployment's job — the values are per-user
|
|
27
|
+
secrets, and where they are encrypted and who holds the key is a decision only
|
|
28
|
+
the host can make. But that left `pikku dev` with none at all: `credentialService`
|
|
29
|
+
was `undefined`, so an addon imported with `--auth per-user` or `--auth delegated`
|
|
30
|
+
could not be exercised locally. The delegated sign-in a project is told to wire
|
|
31
|
+
threw on its first call, and projects were reaching for their own credential
|
|
32
|
+
tables to get past it.
|
|
33
|
+
|
|
34
|
+
`pikku dev` now builds a `LocalCredentialService` alongside the rest of its
|
|
35
|
+
in-memory services — the queue, the trigger service, the workflow service — and
|
|
36
|
+
hands it to `createSingletonServices` as an existing service. A project that
|
|
37
|
+
wants a real store overrides it there the same way it overrides any of the
|
|
38
|
+
others: `existingServices.credentialService ?? new OwnCredentialService()`.
|
|
39
|
+
|
|
40
|
+
- 5bb006f: Add `pikku fabric secrets delete <name>`.
|
|
41
|
+
|
|
42
|
+
Removing one secret from a stage had no lever. The only thing close was
|
|
43
|
+
`secrets rotate`, which retires the stage's sealing key and so takes every
|
|
44
|
+
secret on the stage down with it — an enormous blast radius for wanting one
|
|
45
|
+
name gone.
|
|
46
|
+
|
|
47
|
+
`secrets delete` calls the `deleteStageSecret` RPC, which removes the single
|
|
48
|
+
named secret and leaves the sealing key and the stage's other secrets alone.
|
|
49
|
+
It confirms first unless `--force` is passed: fabric holds only the public half
|
|
50
|
+
of the stage keypair, so it cannot read a sealed value back and cannot restore
|
|
51
|
+
one — the plaintext has to be supplied again. Deployed units keep serving the
|
|
52
|
+
old value until the stage is republished, so the run that does so is reported
|
|
53
|
+
when the delete triggers one.
|
|
54
|
+
|
|
55
|
+
- e15f5a9: Add `pikku dist`, and use it as the generated addon's build step.
|
|
56
|
+
|
|
57
|
+
`tsc` compiles the `.ts` under the pikku out dir, but it never carries the
|
|
58
|
+
`*.gen.json` meta written beside them, and it never re-emits a hand-authored
|
|
59
|
+
`.d.ts`. Both are needed at runtime — `MetaService` opens the meta off disk by
|
|
60
|
+
path — so a package that ships only tsc's output answers every meta lookup with
|
|
61
|
+
nothing.
|
|
62
|
+
|
|
63
|
+
Every generated addon papered over this with `tsc && cp -r .pikku types dist/`,
|
|
64
|
+
which copied two whole directories: it dragged 52 raw `.ts` sources into the
|
|
65
|
+
published output alongside the compiled ones, and needed a POSIX shell. Since
|
|
66
|
+
the script comes from the CLI, every project carried the same line.
|
|
67
|
+
|
|
68
|
+
`pikku dist` copies exactly what tsc could not emit, to where tsc would have put
|
|
69
|
+
it, reading the layout from `pikku.config.json` and the destination from the
|
|
70
|
+
tsconfig's `outDir` (or `--dist-dir`). The generated build script is now
|
|
71
|
+
`tsc && pikku dist`.
|
|
72
|
+
|
|
73
|
+
- 4d0a548: Provision the declared personas from the fabric plugin instead of the server lifecycle.
|
|
74
|
+
|
|
75
|
+
`provisionPersonas` was documented as a call an app makes from `pikkuServerLifecycle`'s `afterStart`. That hook is invoked by `pikku serve` and `pikku dev` and by nothing else — no deploy runtime calls it — so on any stage deployed to Workers or a serverless target the provisioning never ran, and every persona signed in holding no roles.
|
|
76
|
+
|
|
77
|
+
`pikkuFabric` now takes `personas`. The operator endpoint resolves the address the caller wants to act as; a miss provisions the declaration and looks again. On a stage that already holds the persona that is one query, and the pass only runs when there is genuinely something absent to create.
|
|
78
|
+
|
|
79
|
+
Sign-in no longer creates accounts of its own. `OperatorSignInOptions.createMissing` and `PIKKU_PERSONA_CREATE_MISSING` are gone, and an address no declaration claims stays a 404 however many times it is asked for. `provisionPersonas` is no longer exported — the plugin is the only caller.
|
|
80
|
+
|
|
81
|
+
`pikku persona sync <environment>` is unchanged: it still reports who an environment will provision and why anyone was skipped, and still writes nothing.
|
|
82
|
+
|
|
83
|
+
- Updated dependencies [e92e30b]
|
|
84
|
+
- Updated dependencies [14059e0]
|
|
85
|
+
- Updated dependencies [781797c]
|
|
86
|
+
- Updated dependencies [ccab6ed]
|
|
87
|
+
- Updated dependencies [4d0a548]
|
|
88
|
+
- Updated dependencies [5ace170]
|
|
89
|
+
- @pikku/core@0.12.101
|
|
90
|
+
- @pikku/better-auth@0.12.35
|
|
91
|
+
- @pikku/skills@0.12.22
|
|
92
|
+
|
|
1
93
|
## 0.12.127
|
|
2
94
|
|
|
3
95
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.128
|
|
3
3
|
*/
|
|
4
4
|
import { CoreAgent } from '@pikku/core/agent';
|
|
5
5
|
import { pikkuAgentScorer as corePikkuAgentScorer, pikkuAgentJudge as corePikkuAgentJudge } from '@pikku/core/agent-scorer';
|
package/dist/.pikku/cli/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.128
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* WebSocket channel backend for 'pikku' CLI commands
|
|
@@ -13,6 +13,7 @@ import { pikkuState, getSingletonServices, getCreateWireServices, } from '@pikku
|
|
|
13
13
|
import { doc } from '../../src/functions/commands/doc.js';
|
|
14
14
|
import { all } from '../../src/functions/commands/all.js';
|
|
15
15
|
import { bootstrap } from '../../src/functions/commands/bootstrap.js';
|
|
16
|
+
import { pikkuDist } from '../../src/functions/commands/dist.js';
|
|
16
17
|
import { pikkuAudit } from '../../src/functions/commands/audit.js';
|
|
17
18
|
import { pikkuUpdate } from '../../src/functions/commands/update.js';
|
|
18
19
|
import { pikkuSemver } from '../../src/functions/commands/semver.js';
|
|
@@ -60,6 +61,7 @@ import { FabricDeployUnits } from '../../src/fabric/functions/deploy-units.funct
|
|
|
60
61
|
import { FabricRollback } from '../../src/fabric/functions/rollback.function.js';
|
|
61
62
|
import { FabricSecretsSet } from '../../src/fabric/functions/secrets-set.function.js';
|
|
62
63
|
import { FabricSecretsList } from '../../src/fabric/functions/secrets-list.function.js';
|
|
64
|
+
import { FabricSecretsDelete } from '../../src/fabric/functions/secrets-delete.function.js';
|
|
63
65
|
import { FabricSecretsRotate } from '../../src/fabric/functions/secrets-rotate.function.js';
|
|
64
66
|
import { FabricVariablesSet } from '../../src/fabric/functions/variables-set.function.js';
|
|
65
67
|
import { FabricVariablesGet } from '../../src/fabric/functions/variables-get.function.js';
|
|
@@ -261,6 +263,10 @@ wireChannel({
|
|
|
261
263
|
func: bootstrap,
|
|
262
264
|
middleware: [cliCloseOnComplete],
|
|
263
265
|
},
|
|
266
|
+
'dist': {
|
|
267
|
+
func: pikkuDist,
|
|
268
|
+
middleware: [cliCloseOnComplete],
|
|
269
|
+
},
|
|
264
270
|
'audit': {
|
|
265
271
|
func: pikkuAudit,
|
|
266
272
|
middleware: [cliCloseOnComplete],
|
|
@@ -449,6 +455,10 @@ wireChannel({
|
|
|
449
455
|
func: FabricSecretsList,
|
|
450
456
|
middleware: [cliCloseOnComplete],
|
|
451
457
|
},
|
|
458
|
+
'fabric.secrets.delete': {
|
|
459
|
+
func: FabricSecretsDelete,
|
|
460
|
+
middleware: [cliCloseOnComplete],
|
|
461
|
+
},
|
|
452
462
|
'fabric.secrets.rotate': {
|
|
453
463
|
func: FabricSecretsRotate,
|
|
454
464
|
middleware: [cliCloseOnComplete],
|
|
@@ -297,6 +297,27 @@
|
|
|
297
297
|
},
|
|
298
298
|
"description": "List stage secrets"
|
|
299
299
|
},
|
|
300
|
+
"delete": {
|
|
301
|
+
"pikkuFuncId": "FabricSecretsDelete",
|
|
302
|
+
"positionals": [
|
|
303
|
+
{
|
|
304
|
+
"name": "name",
|
|
305
|
+
"required": true
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"options": {
|
|
309
|
+
"branch": {
|
|
310
|
+
"description": "Target branch",
|
|
311
|
+
"short": "b"
|
|
312
|
+
},
|
|
313
|
+
"force": {
|
|
314
|
+
"description": "Delete without confirmation",
|
|
315
|
+
"default": false
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"parameters": "<name>",
|
|
319
|
+
"description": "Delete a single stage-scoped secret"
|
|
320
|
+
},
|
|
300
321
|
"rotate": {
|
|
301
322
|
"pikkuFuncId": "FabricSecretsRotate",
|
|
302
323
|
"positionals": [],
|
|
@@ -111,6 +111,17 @@
|
|
|
111
111
|
"options": {},
|
|
112
112
|
"description": "Generate only type files (setup phase only)"
|
|
113
113
|
},
|
|
114
|
+
"dist": {
|
|
115
|
+
"pikkuFuncId": "pikkuDist",
|
|
116
|
+
"positionals": [],
|
|
117
|
+
"options": {
|
|
118
|
+
"distDir": {
|
|
119
|
+
"description": "Where to copy to. Defaults to the tsconfig's compilerOptions.outDir",
|
|
120
|
+
"type": "string"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"description": "Copy the generated files tsc cannot emit — the .gen.json meta, and hand-authored .d.ts — into the build output. Run it after tsc, as a package's build script"
|
|
124
|
+
},
|
|
114
125
|
"audit": {
|
|
115
126
|
"pikkuFuncId": "pikkuAudit",
|
|
116
127
|
"positionals": [],
|
|
@@ -610,7 +621,7 @@
|
|
|
610
621
|
}
|
|
611
622
|
],
|
|
612
623
|
"options": {},
|
|
613
|
-
"description": "Report which personas an environment will provision, with which roles, and why any of them were skipped. The provisioning itself happens in the deployment —
|
|
624
|
+
"description": "Report which personas an environment will provision, with which roles, and why any of them were skipped. The provisioning itself happens in the deployment — pass the generated personas to pikkuFabric from '@pikku/better-auth' — because the CLI has no connection to a deployed environment's database.",
|
|
614
625
|
"parameters": "<environment>"
|
|
615
626
|
},
|
|
616
627
|
"list": {
|
|
@@ -937,6 +948,27 @@
|
|
|
937
948
|
},
|
|
938
949
|
"description": "List stage secrets"
|
|
939
950
|
},
|
|
951
|
+
"delete": {
|
|
952
|
+
"pikkuFuncId": "FabricSecretsDelete",
|
|
953
|
+
"positionals": [
|
|
954
|
+
{
|
|
955
|
+
"name": "name",
|
|
956
|
+
"required": true
|
|
957
|
+
}
|
|
958
|
+
],
|
|
959
|
+
"options": {
|
|
960
|
+
"branch": {
|
|
961
|
+
"description": "Target branch",
|
|
962
|
+
"short": "b"
|
|
963
|
+
},
|
|
964
|
+
"force": {
|
|
965
|
+
"description": "Delete without confirmation",
|
|
966
|
+
"default": false
|
|
967
|
+
}
|
|
968
|
+
},
|
|
969
|
+
"parameters": "<name>",
|
|
970
|
+
"description": "Delete a single stage-scoped secret"
|
|
971
|
+
},
|
|
940
972
|
"rotate": {
|
|
941
973
|
"pikkuFuncId": "FabricSecretsRotate",
|
|
942
974
|
"positionals": [],
|
|
@@ -1553,6 +1585,10 @@
|
|
|
1553
1585
|
"camelCase": {
|
|
1554
1586
|
"description": "Convert snake_case property names to camelCase in generated Zod schemas",
|
|
1555
1587
|
"default": false
|
|
1588
|
+
},
|
|
1589
|
+
"build": {
|
|
1590
|
+
"description": "Install and build the generated addon (an unbuilt addon exports a dist/ that does not exist yet, so every ref() into it is dead at runtime)",
|
|
1591
|
+
"default": true
|
|
1556
1592
|
}
|
|
1557
1593
|
},
|
|
1558
1594
|
"description": "Scaffold a new addon package",
|
|
@@ -436,6 +436,25 @@
|
|
|
436
436
|
"inputHash": "e16083f8",
|
|
437
437
|
"outputHash": "13176df7"
|
|
438
438
|
},
|
|
439
|
+
"FabricSecretsDelete": {
|
|
440
|
+
"pikkuFuncId": "FabricSecretsDelete",
|
|
441
|
+
"functionType": "user",
|
|
442
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
443
|
+
"sessionless": true,
|
|
444
|
+
"name": "FabricSecretsDelete",
|
|
445
|
+
"inputSchemaName": "FabricSecretsDeleteInput",
|
|
446
|
+
"outputSchemaName": "FabricSecretsDeleteOutput",
|
|
447
|
+
"inputs": [
|
|
448
|
+
"FabricSecretsDeleteInput"
|
|
449
|
+
],
|
|
450
|
+
"outputs": [
|
|
451
|
+
"FabricSecretsDeleteOutput"
|
|
452
|
+
],
|
|
453
|
+
"implementationHash": "136e84e85535fe89",
|
|
454
|
+
"contractHash": "c28d8aab9606bdc1",
|
|
455
|
+
"inputHash": "91cc434e",
|
|
456
|
+
"outputHash": "1d647d64"
|
|
457
|
+
},
|
|
439
458
|
"FabricSecretsList": {
|
|
440
459
|
"pikkuFuncId": "FabricSecretsList",
|
|
441
460
|
"functionType": "user",
|
|
@@ -849,7 +868,24 @@
|
|
|
849
868
|
],
|
|
850
869
|
"outputs": [],
|
|
851
870
|
"remote": true,
|
|
852
|
-
"implementationHash": "
|
|
871
|
+
"implementationHash": "eaa8f7488cf1e6f3"
|
|
872
|
+
},
|
|
873
|
+
"pikkuDist": {
|
|
874
|
+
"pikkuFuncId": "pikkuDist",
|
|
875
|
+
"functionType": "user",
|
|
876
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
877
|
+
"sessionless": true,
|
|
878
|
+
"name": "pikkuDist",
|
|
879
|
+
"inputSchemaName": "PikkuDistInput",
|
|
880
|
+
"outputSchemaName": null,
|
|
881
|
+
"inputs": [
|
|
882
|
+
"PikkuDistInput"
|
|
883
|
+
],
|
|
884
|
+
"outputs": [],
|
|
885
|
+
"implementationHash": "0995a980f6c5a507",
|
|
886
|
+
"contractHash": "68fcba1e51292e7e",
|
|
887
|
+
"inputHash": "c3a195e9",
|
|
888
|
+
"outputHash": "138ddf86"
|
|
853
889
|
},
|
|
854
890
|
"doc": {
|
|
855
891
|
"pikkuFuncId": "doc",
|
|
@@ -1533,9 +1569,9 @@
|
|
|
1533
1569
|
"PikkuNewAddonInput"
|
|
1534
1570
|
],
|
|
1535
1571
|
"outputs": [],
|
|
1536
|
-
"implementationHash": "
|
|
1537
|
-
"contractHash": "
|
|
1538
|
-
"inputHash": "
|
|
1572
|
+
"implementationHash": "abe36c43145bd503",
|
|
1573
|
+
"contractHash": "2a427c5b4b1998aa",
|
|
1574
|
+
"inputHash": "165939f1",
|
|
1539
1575
|
"outputHash": "77e837d4"
|
|
1540
1576
|
},
|
|
1541
1577
|
"pikkuNewFunction": {
|
|
@@ -1618,7 +1654,7 @@
|
|
|
1618
1654
|
"PersonaSyncInput"
|
|
1619
1655
|
],
|
|
1620
1656
|
"outputs": [],
|
|
1621
|
-
"implementationHash": "
|
|
1657
|
+
"implementationHash": "eefb091040e79765",
|
|
1622
1658
|
"contractHash": "b931d0114920fbd3",
|
|
1623
1659
|
"inputHash": "91a4d133",
|
|
1624
1660
|
"outputHash": "f89a0ed1"
|
|
@@ -1635,7 +1671,7 @@
|
|
|
1635
1671
|
"PersonaRunInput"
|
|
1636
1672
|
],
|
|
1637
1673
|
"outputs": [],
|
|
1638
|
-
"implementationHash": "
|
|
1674
|
+
"implementationHash": "96ec528be34aa058",
|
|
1639
1675
|
"contractHash": "b8d9a71fb0cde9b7",
|
|
1640
1676
|
"inputHash": "79b1ac3d",
|
|
1641
1677
|
"outputHash": "14154fe3"
|