@pikku/cli 0.12.125 → 0.12.126
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 +166 -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 +6 -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-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 +13 -0
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
- package/dist/.pikku/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 +35 -18
- 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 +1 -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 +3 -1
- package/dist/.pikku/schemas/schemas/FabricSecretsListInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricSecretsRotateInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricSecretsSetInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricVariablesGetInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricVariablesSetInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PersonaSecretInput.schema.json +1 -0
- 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 +6 -1
- package/dist/src/deploy/bundler/bun-bundler.js +12 -5
- package/dist/src/fabric/fabric-commands.d.ts +15 -15
- package/dist/src/fabric/functions/deploy.function.js +12 -2
- package/dist/src/fabric/functions/secrets-list.function.d.ts +4 -4
- package/dist/src/fabric/functions/secrets-list.function.js +4 -4
- package/dist/src/fabric/functions/secrets-rotate.function.d.ts +4 -4
- package/dist/src/fabric/functions/secrets-rotate.function.js +8 -5
- package/dist/src/fabric/functions/secrets-set.function.d.ts +4 -4
- package/dist/src/fabric/functions/secrets-set.function.js +4 -4
- package/dist/src/fabric/functions/validate.function.js +49 -24
- package/dist/src/fabric/functions/variables-get.function.d.ts +4 -4
- package/dist/src/fabric/functions/variables-get.function.js +4 -4
- package/dist/src/fabric/functions/variables-set.function.d.ts +4 -4
- package/dist/src/fabric/functions/variables-set.function.js +4 -4
- package/dist/src/fabric/lib/blank-comments.d.ts +21 -0
- package/dist/src/fabric/lib/blank-comments.js +71 -0
- package/dist/src/fabric/lib/blank-scenario-meta.d.ts +1 -0
- package/dist/src/fabric/lib/blank-scenario-meta.js +110 -0
- package/dist/src/fabric/lib/deployment.d.ts +26 -0
- package/dist/src/fabric/lib/deployment.js +35 -0
- package/dist/src/fabric/lib/stage.d.ts +19 -3
- package/dist/src/fabric/lib/stage.js +29 -6
- package/dist/src/functions/commands/db-reset.js +6 -2
- package/dist/src/functions/commands/dev.js +5 -1
- package/dist/src/functions/commands/persona.d.ts +18 -0
- package/dist/src/functions/commands/persona.js +41 -2
- package/dist/src/functions/commands/scenario-browser.d.ts +13 -5
- package/dist/src/functions/db/check-enums.d.ts +38 -0
- package/dist/src/functions/db/check-enums.js +103 -0
- package/dist/src/functions/db/db-codegen.js +15 -0
- package/dist/src/functions/db/postgres/postgres-introspector.d.ts +14 -0
- package/dist/src/functions/db/postgres/postgres-introspector.js +48 -0
- package/dist/src/functions/db/sqlite/sqlite-introspector.d.ts +3 -4
- package/dist/src/functions/db/sqlite/sqlite-introspector.js +5 -17
- package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.d.ts +9 -6
- package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.js +51 -27
- package/dist/src/server/actor-sign-in.d.ts +24 -1
- package/dist/src/server/actor-sign-in.js +45 -2
- package/dist/src/utils/persona-credentials.d.ts +23 -2
- package/dist/src/utils/persona-credentials.js +55 -2
- package/dist/src/utils/pikku-cli-config.d.ts +4 -4
- package/dist/src/utils/pikku-cli-config.js +30 -10
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/surface.json +101 -51
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,169 @@
|
|
|
1
|
+
## 0.12.126
|
|
2
|
+
|
|
3
|
+
### Patch Changes
|
|
4
|
+
|
|
5
|
+
- ee9da9e: A Postgres `CHECK (col IN (…))` constraint now generates a string-literal union, the way a native enum and the SQLite equivalent already did. SQL comments inside the value list are ignored rather than corrupting the union parsed out of it.
|
|
6
|
+
- 7a15c9c: An actor credential is one persona's, not everyone's
|
|
7
|
+
|
|
8
|
+
`SCENARIO_ACTOR_SECRET` was a skeleton key. Anyone holding it could post any
|
|
9
|
+
`actor: true` address to `/auth/sign-in/actor` and get that persona's session —
|
|
10
|
+
including the `admin` persona, which provisioning grants real admin. The browser
|
|
11
|
+
switcher held it too, baked into the dev bundle as `VITE_SCENARIO_ACTOR_SECRET`,
|
|
12
|
+
so "the reviewer can sign in as each kind of user" and "the reviewer's bundle is
|
|
13
|
+
entitled to every persona" were the same fact.
|
|
14
|
+
|
|
15
|
+
It is now a root that credentials derive from, never one that is presented:
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
deriveActorSecret(root, email) // HKDF-expanded HMAC-SHA256 over the address
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
The endpoint re-derives the expected value for whichever address is signing in
|
|
22
|
+
and compares, so nothing is stored or looked up, a credential minted for one
|
|
23
|
+
persona is refused for every other, and rotating the root invalidates all of
|
|
24
|
+
them at once. The root itself is no longer a valid credential, and a root under
|
|
25
|
+
32 characters refuses the endpoint rather than deriving weak credentials from
|
|
26
|
+
it — the server log says why, the client is not told.
|
|
27
|
+
|
|
28
|
+
What that buys, in the places that used to need the whole key:
|
|
29
|
+
|
|
30
|
+
- **`pikku dev`** mints one credential per declared persona into
|
|
31
|
+
`VITE_DEV_ACTOR_SECRETS` and no longer writes `VITE_SCENARIO_ACTOR_SECRET` at
|
|
32
|
+
all. The root stays on the server.
|
|
33
|
+
- **`pikku persona secret <id>`** mints them for anything else, and a run given
|
|
34
|
+
`PIKKU_PERSONA_SECRETS=id=secret,…` can sign in as those personas and no
|
|
35
|
+
others — asking for one outside the list throws naming the persona instead of
|
|
36
|
+
falling back to the root.
|
|
37
|
+
|
|
38
|
+
`useDevActors()` and `<DevActorSwitcher />` take `secrets` (one per address)
|
|
39
|
+
where they took `secret`, and an actor with no credential is no longer offered
|
|
40
|
+
rather than rendering a row that 401s. `HttpPersonasConfig.secret` and the
|
|
41
|
+
Playwright provider's `secret` additionally accept a resolver, which is how a
|
|
42
|
+
partially-credentialled run is expressed.
|
|
43
|
+
|
|
44
|
+
- ee9da9e: `pikku fabric validate` now fails a project whose generated `coercion.gen.ts` declares coercions that no Kysely instance applies, and the generated file itself says what has to consume it. An unwired coercion map cannot fail locally and 500s on the first deployed request.
|
|
45
|
+
- ee9da9e: `pikku db reset` and `fabric validate` stop treating an absent dev seed as an empty database
|
|
46
|
+
|
|
47
|
+
The seed step reported a conclusion about the database rather than about
|
|
48
|
+
itself: with no `db/sqlite-dev-seed.sql`, reset finished with `database is
|
|
49
|
+
empty` even when a migration had just populated it, and `--no-seed` said the
|
|
50
|
+
same. Both lines now name the step — `no dev seed applied (…)` and `--no-seed,
|
|
51
|
+
skipping the dev seed`.
|
|
52
|
+
|
|
53
|
+
`fabric validate` raised `dev-seed-sql-missing` at **error** severity, so a
|
|
54
|
+
project that had correctly moved its rows into a migration — where anything a
|
|
55
|
+
deployed stage needs has to live, since Fabric never replays the dev seed — was
|
|
56
|
+
failed for no longer carrying a file it deliberately does not need. It is now
|
|
57
|
+
`info`, and the hint says what the file is for instead of advising an idempotent
|
|
58
|
+
form the framework tells you not to reach for.
|
|
59
|
+
|
|
60
|
+
- ee9da9e: The Bun deploy bundler now keeps names, matching the esbuild one, so a deployed error answers with its real name instead of the bundler's identifier for it — `PermissionDeniedError`, not `cn`. An error's `name` is its constructor's name, so a bundler you configure yourself has to preserve names too.
|
|
61
|
+
- ee9da9e: `fabric deploy apply` reports the commit the deployment holds, not the one requested
|
|
62
|
+
|
|
63
|
+
With a deployment already parked at `suspended` for the branch,
|
|
64
|
+
`deployByStageKind` attaches to that plan — pinned to whatever commit it was
|
|
65
|
+
cut at — rather than creating a new one. The CLI echoed back the sha it had
|
|
66
|
+
been asked for, so `apply` printed
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
status: suspended sha: 599439e6
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
for a deployment `deploy list` showed pinned to `5bfe84c`, five commits above
|
|
73
|
+
it. `--ref` did not help; the argument was echoed too. The only symptom was a
|
|
74
|
+
correct-looking line of output, and the failure mode is a rollback that
|
|
75
|
+
silently does not roll back.
|
|
76
|
+
|
|
77
|
+
The ref is now read back off the deployment, and a disagreement between what
|
|
78
|
+
was asked for and what is held aborts with both shas and the deployment id
|
|
79
|
+
named, rather than continuing under the wrong one.
|
|
80
|
+
|
|
81
|
+
- ee9da9e: The hardcoded-copy check stops flagging a feature's own name
|
|
82
|
+
|
|
83
|
+
Two rules disagreed. `runScenarioFileChecks` requires every `pikkuFeature` to
|
|
84
|
+
live in a `*.scenario.ts`, and moving one there is what put it in front of the
|
|
85
|
+
hardcoded-copy check — which then flagged the feature's own `name` because the
|
|
86
|
+
app catalogue happens to hold the same word:
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
name: 'Downloads', → ✗ "Downloads" → nav__downloads | downloads__title
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Complying with the first rule created violations of the second, and the advice
|
|
93
|
+
— read the string from the app catalogue — would tie the Console's language to
|
|
94
|
+
the product's. `name`, `description` and `template` declared directly on a
|
|
95
|
+
`pikkuFeature`, `pikkuScenario` or `pikkuScenarioStep` are Console meta and are
|
|
96
|
+
now skipped. A `name` nested deeper — `getByRole('button', { name: 'Speichern'
|
|
97
|
+
})` — is a selector built out of UI copy and is still caught.
|
|
98
|
+
|
|
99
|
+
- 967d1de: Rename the `locale` field in `pikku.config.json` to `metaLocale`. It sets the language of the meta the Console renders back to your team, not the language your app speaks to its users — a config that still says `locale` now fails with an error saying where the value moved.
|
|
100
|
+
- ee9da9e: `fabric` stage commands default to the only stage, and say what is missing when they cannot
|
|
101
|
+
|
|
102
|
+
`pikku fabric secrets list` with one stage deployed failed with `No stage for
|
|
103
|
+
branch "undefined". Existing: main` — an error interpolating the missing
|
|
104
|
+
argument's value directly above a line naming the single stage it could have
|
|
105
|
+
used.
|
|
106
|
+
|
|
107
|
+
With exactly one stage there is nothing to disambiguate, so `secrets
|
|
108
|
+
list/set/rotate` and `variables get/set` now use it. With several, the error
|
|
109
|
+
says `--branch is required` and lists them; with none, it says nothing is
|
|
110
|
+
deployed yet. Each command also names the stage it acted on rather than echoing
|
|
111
|
+
the argument, and `secrets rotate` resolves before it refuses, so the one
|
|
112
|
+
message standing between a typo and unreadable secrets names the stage that
|
|
113
|
+
would actually be rotated.
|
|
114
|
+
|
|
115
|
+
- ee9da9e: the surface gate measures the surface it actually ships
|
|
116
|
+
|
|
117
|
+
The doc-quality gate went in with ceilings of 112, 823 and 10 beside a surface
|
|
118
|
+
that measured 160, 1210 and 15, so it never passed on any build. Re-baselined to
|
|
119
|
+
the real measurements, and the key-documentation floor earned its way from 76%
|
|
120
|
+
to 79% by documenting what a caller has to put in `defineSecret`, the gateway
|
|
121
|
+
message shapes, and the scorer and judge configs.
|
|
122
|
+
|
|
123
|
+
- ee9da9e: `fabric validate` no longer reads comment prose as an import
|
|
124
|
+
|
|
125
|
+
The undeclared-dependency check matched `from "…"` in raw file text, so any
|
|
126
|
+
sentence putting a quoted phrase after the word _from_ became a phantom
|
|
127
|
+
dependency — at error severity, against the app, with nothing naming the file
|
|
128
|
+
it came from:
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
✗ @project/app imports undeclared package(s): is fine — the deploy bundle cannot resolve them
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
The source is now scanned with comments blanked (a new `blankComments` keeps
|
|
135
|
+
the text the same length so offsets still line up), and the fix hint names the
|
|
136
|
+
file and line each missing package was first imported at.
|
|
137
|
+
|
|
138
|
+
- 2e7adcd: Give a virtual user run a trigger so it survives a per-function deploy.
|
|
139
|
+
|
|
140
|
+
`scaffold.virtualUser` dispatched `executeVirtualUserRun` with an unawaited
|
|
141
|
+
`rpc.invoke`. That is a real dispatch in one process and nothing at all under a
|
|
142
|
+
deployment that puts each function in its own unit: the run function is
|
|
143
|
+
sessionless, unexposed and wired to nothing, so it is never emitted as a unit,
|
|
144
|
+
the RPC resolves to nothing, and the rejection is swallowed by the `catch` that
|
|
145
|
+
exists to stop an unhandled rejection taking the process down. The run parks at
|
|
146
|
+
`running` with zero steps and no error anywhere.
|
|
147
|
+
|
|
148
|
+
The scaffold now wires it to a `pikku-virtual-user-runs` queue worker, which is
|
|
149
|
+
what puts it in the deploy manifest, and `runVirtualUser` enqueues onto that
|
|
150
|
+
queue at `attempts: 1` — a redelivery would be a second different outing writing
|
|
151
|
+
into a record that already has an outcome. A project with no queue service keeps
|
|
152
|
+
the in-process dispatch, which is correct for the one process it runs in.
|
|
153
|
+
|
|
154
|
+
- Updated dependencies [ee9da9e]
|
|
155
|
+
- Updated dependencies [7a15c9c]
|
|
156
|
+
- Updated dependencies [ee9da9e]
|
|
157
|
+
- Updated dependencies [7d641f3]
|
|
158
|
+
- Updated dependencies [ee9da9e]
|
|
159
|
+
- Updated dependencies [ee9da9e]
|
|
160
|
+
- Updated dependencies [ee9da9e]
|
|
161
|
+
- @pikku/core@0.12.99
|
|
162
|
+
- @pikku/better-auth@0.12.33
|
|
163
|
+
- @pikku/playwright@0.12.80
|
|
164
|
+
- @pikku/skills@0.12.20
|
|
165
|
+
- @pikku/inspector@0.12.68
|
|
166
|
+
|
|
1
167
|
## 0.12.125
|
|
2
168
|
|
|
3
169
|
### 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.126
|
|
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.126
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* WebSocket channel backend for 'pikku' CLI commands
|
|
@@ -45,6 +45,7 @@ import { scenarioList } from '../../src/functions/commands/scenario.js';
|
|
|
45
45
|
import { personaRun } from '../../src/functions/commands/persona.js';
|
|
46
46
|
import { personaSync } from '../../src/functions/commands/persona-sync.js';
|
|
47
47
|
import { personaList } from '../../src/functions/commands/persona.js';
|
|
48
|
+
import { personaSecret } from '../../src/functions/commands/persona.js';
|
|
48
49
|
import { FabricValidate } from '../../src/fabric/functions/validate.function.js';
|
|
49
50
|
import { FabricSmoke } from '../../src/fabric/functions/smoke.function.js';
|
|
50
51
|
import { FabricLogin } from '../../src/fabric/functions/login.function.js';
|
|
@@ -384,6 +385,10 @@ wireChannel({
|
|
|
384
385
|
func: personaList,
|
|
385
386
|
middleware: [cliCloseOnComplete],
|
|
386
387
|
},
|
|
388
|
+
'persona.secret': {
|
|
389
|
+
func: personaSecret,
|
|
390
|
+
middleware: [cliCloseOnComplete],
|
|
391
|
+
},
|
|
387
392
|
'fabric.validate': {
|
|
388
393
|
func: FabricValidate,
|
|
389
394
|
middleware: [cliCloseOnComplete],
|
|
@@ -618,6 +618,19 @@
|
|
|
618
618
|
"positionals": [],
|
|
619
619
|
"options": {},
|
|
620
620
|
"description": "List the declared personas — who each one is, what they may do, and what they are trying to get done"
|
|
621
|
+
},
|
|
622
|
+
"secret": {
|
|
623
|
+
"pikkuFuncId": "personaSecret",
|
|
624
|
+
"positionals": [
|
|
625
|
+
{
|
|
626
|
+
"name": "personas",
|
|
627
|
+
"required": false,
|
|
628
|
+
"variadic": true
|
|
629
|
+
}
|
|
630
|
+
],
|
|
631
|
+
"options": {},
|
|
632
|
+
"description": "Mint the actor credential for a persona from SCENARIO_ACTOR_SECRET, bound to their address. Hand these to a run as PIKKU_PERSONA_SECRETS instead of the root, which is entitled to every persona. Names none, mints all.",
|
|
633
|
+
"parameters": "[personas...]"
|
|
621
634
|
}
|
|
622
635
|
}
|
|
623
636
|
},
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"outputs": [
|
|
109
109
|
"FabricDeployApplyOutput"
|
|
110
110
|
],
|
|
111
|
-
"implementationHash": "
|
|
111
|
+
"implementationHash": "dd32ba7cab63a70b",
|
|
112
112
|
"contractHash": "c6880cdb39fc7786",
|
|
113
113
|
"inputHash": "06fcf5de",
|
|
114
114
|
"outputHash": "8133c760"
|
|
@@ -374,9 +374,9 @@
|
|
|
374
374
|
"outputs": [
|
|
375
375
|
"FabricSecretsListOutput"
|
|
376
376
|
],
|
|
377
|
-
"implementationHash": "
|
|
378
|
-
"contractHash": "
|
|
379
|
-
"inputHash": "
|
|
377
|
+
"implementationHash": "1311d6836fd3db47",
|
|
378
|
+
"contractHash": "205107eccf8b830c",
|
|
379
|
+
"inputHash": "3e41f4a4",
|
|
380
380
|
"outputHash": "d0b3b79e"
|
|
381
381
|
},
|
|
382
382
|
"FabricSecretsRotate": {
|
|
@@ -393,9 +393,9 @@
|
|
|
393
393
|
"outputs": [
|
|
394
394
|
"FabricSecretsRotateOutput"
|
|
395
395
|
],
|
|
396
|
-
"implementationHash": "
|
|
397
|
-
"contractHash": "
|
|
398
|
-
"inputHash": "
|
|
396
|
+
"implementationHash": "5425deaca2ebc84c",
|
|
397
|
+
"contractHash": "01a6f09613e71279",
|
|
398
|
+
"inputHash": "efc373f0",
|
|
399
399
|
"outputHash": "d1cc036e"
|
|
400
400
|
},
|
|
401
401
|
"FabricSecretsSet": {
|
|
@@ -412,9 +412,9 @@
|
|
|
412
412
|
"outputs": [
|
|
413
413
|
"FabricSecretsSetOutput"
|
|
414
414
|
],
|
|
415
|
-
"implementationHash": "
|
|
416
|
-
"contractHash": "
|
|
417
|
-
"inputHash": "
|
|
415
|
+
"implementationHash": "66beefb118216809",
|
|
416
|
+
"contractHash": "bda92a6e0887eda1",
|
|
417
|
+
"inputHash": "dfc970ad",
|
|
418
418
|
"outputHash": "7aa60e18"
|
|
419
419
|
},
|
|
420
420
|
"FabricSmoke": {
|
|
@@ -507,9 +507,9 @@
|
|
|
507
507
|
"outputs": [
|
|
508
508
|
"FabricVariablesGetOutput"
|
|
509
509
|
],
|
|
510
|
-
"implementationHash": "
|
|
511
|
-
"contractHash": "
|
|
512
|
-
"inputHash": "
|
|
510
|
+
"implementationHash": "8cc37aff90f23086",
|
|
511
|
+
"contractHash": "ea1957459b7e9bfc",
|
|
512
|
+
"inputHash": "e51e1186",
|
|
513
513
|
"outputHash": "739df02c"
|
|
514
514
|
},
|
|
515
515
|
"FabricVariablesSet": {
|
|
@@ -526,9 +526,9 @@
|
|
|
526
526
|
"outputs": [
|
|
527
527
|
"FabricVariablesSetOutput"
|
|
528
528
|
],
|
|
529
|
-
"implementationHash": "
|
|
530
|
-
"contractHash": "
|
|
531
|
-
"inputHash": "
|
|
529
|
+
"implementationHash": "5e65bbd55d0fe6bd",
|
|
530
|
+
"contractHash": "afbde385fbbdc969",
|
|
531
|
+
"inputHash": "b8abf73c",
|
|
532
532
|
"outputHash": "60e4dfcc"
|
|
533
533
|
},
|
|
534
534
|
"all": {
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
],
|
|
710
710
|
"outputs": [],
|
|
711
711
|
"remote": true,
|
|
712
|
-
"implementationHash": "
|
|
712
|
+
"implementationHash": "14a0aa3c20bd08fb"
|
|
713
713
|
},
|
|
714
714
|
"deployApply": {
|
|
715
715
|
"pikkuFuncId": "deployApply",
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
],
|
|
774
774
|
"outputs": [],
|
|
775
775
|
"remote": true,
|
|
776
|
-
"implementationHash": "
|
|
776
|
+
"implementationHash": "fc14806df582e8c4"
|
|
777
777
|
},
|
|
778
778
|
"doc": {
|
|
779
779
|
"pikkuFuncId": "doc",
|
|
@@ -1564,6 +1564,23 @@
|
|
|
1564
1564
|
"inputHash": "79b1ac3d",
|
|
1565
1565
|
"outputHash": "14154fe3"
|
|
1566
1566
|
},
|
|
1567
|
+
"personaSecret": {
|
|
1568
|
+
"pikkuFuncId": "personaSecret",
|
|
1569
|
+
"functionType": "user",
|
|
1570
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1571
|
+
"sessionless": true,
|
|
1572
|
+
"name": "personaSecret",
|
|
1573
|
+
"inputSchemaName": "PersonaSecretInput",
|
|
1574
|
+
"outputSchemaName": null,
|
|
1575
|
+
"inputs": [
|
|
1576
|
+
"PersonaSecretInput"
|
|
1577
|
+
],
|
|
1578
|
+
"outputs": [],
|
|
1579
|
+
"implementationHash": "b8c7f55252d2980d",
|
|
1580
|
+
"contractHash": "de821bec94119379",
|
|
1581
|
+
"inputHash": "8d8a832a",
|
|
1582
|
+
"outputHash": "996a2861"
|
|
1583
|
+
},
|
|
1567
1584
|
"personaList": {
|
|
1568
1585
|
"pikkuFuncId": "personaList",
|
|
1569
1586
|
"functionType": "user",
|