@pikku/skills 0.12.16 → 0.12.18
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 +51 -0
- package/dist/skills.gen.js +1 -1
- package/package.json +1 -1
- package/skills/pikku-build-app/SKILL.md +62 -1
- package/skills/pikku-build-platform/SKILL.md +7 -0
- package/skills/pikku-build-quick/SKILL.md +9 -0
- package/skills/pikku-concepts/SKILL.md +91 -1
- package/skills/pikku-fabric/SKILL.md +8 -2
- package/skills/pikku-feature/SKILL.md +7 -0
- package/skills/pikku-i18n/SKILL.md +77 -2
- package/skills/pikku-middleware/SKILL.md +76 -1
- package/skills/pikku-permissions/SKILL.md +4 -0
- package/skills/pikku-scenario/SKILL.md +51 -0
- package/skills/pikku-schedule/SKILL.md +23 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# @pikku/skills
|
|
2
2
|
|
|
3
|
+
## 0.12.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7d8082a: Add `pikku fabric variables set` and `pikku fabric variables get`
|
|
8
|
+
|
|
9
|
+
`secrets` was the only stage-scoped store the CLI exposed, so a value declared
|
|
10
|
+
with `defineVariable` could be set locally through `.env` and not at all on a
|
|
11
|
+
deployed stage — `variables.get('NAME')` compiled, ran, and answered `undefined`
|
|
12
|
+
forever, with nothing saying why. The fabric API already had
|
|
13
|
+
`setStageConsoleVariable` and `getStageConsoleVariable`; only the CLI surface was
|
|
14
|
+
missing.
|
|
15
|
+
|
|
16
|
+
`set` stores the value the way `LocalVariablesService` reads one: `JSON.parse`,
|
|
17
|
+
falling back to the raw string. `--value true` is therefore the boolean on a
|
|
18
|
+
stage exactly as it is from `.env`, and `--value '"true"'` is the string. `get`
|
|
19
|
+
prints the stored value as JSON so the two are distinguishable, which is usually
|
|
20
|
+
why you are looking.
|
|
21
|
+
|
|
22
|
+
Variables are not sealed and are readable back — that is the difference from
|
|
23
|
+
`secrets`, and anything that would hurt to print belongs in `secrets set`.
|
|
24
|
+
|
|
25
|
+
## 0.12.17
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- a3deea4: Document machine authentication as middleware that sets a session. A caller with an identity (a sandbox, a deployed container, a machine host) is resolved once in `addHTTPMiddleware('*')`, which calls `setSession`; the function is then a plain `pikkuFunc` gated with `scopes` and reads `session`, rather than verifying the bearer token in its own body or in a `permissions` check that returns `true`.
|
|
30
|
+
|
|
31
|
+
The middleware skill also spells out why this cannot be `addTagMiddleware`: tag middleware runs inside `runPikkuFunc`, which the RPC dispatch calls without a `sessionService`, so a session set there never reaches a function invoked over `POST /rpc/:rpcName`.
|
|
32
|
+
|
|
33
|
+
- 30e390b: Skills now name the three languages a project has, and refuse to let them
|
|
34
|
+
collapse into one.
|
|
35
|
+
|
|
36
|
+
An agent building a doctor's portal for a German practice read "the entire UI is
|
|
37
|
+
German" as an instruction about the codebase. It shipped
|
|
38
|
+
`project.inlang/settings.json` with `baseLocale: "de"` and no `en.json` — which
|
|
39
|
+
broke `--add-locale` permanently — alongside RPC functions `getUebersicht` and
|
|
40
|
+
`getPatientendetail`, components `Zeitstrahl` and `AufmerksamkeitStreifen`, and
|
|
41
|
+
database tables `vorgang` and `ereignis`. Nothing in the skills had ever told it
|
|
42
|
+
these were three separate decisions, so it made one.
|
|
43
|
+
|
|
44
|
+
`pikku-concepts` now carries the canonical statement — identifiers are always
|
|
45
|
+
English and no setting changes that; meta (`description`, `title`, `template`)
|
|
46
|
+
follows `locale` in `pikku.config.json`; the product's UI language lives in the
|
|
47
|
+
message catalogue with `defaultLocale`, never in `baseLocale`. `pikku-build-app`
|
|
48
|
+
§1a asks the question and writes the answer into the config; `pikku-scenario`
|
|
49
|
+
splits step identifiers from step prose and admits where the English-only
|
|
50
|
+
reporter frame still shows through; `pikku-i18n` states why `baseLocale` stays
|
|
51
|
+
`en` and what to set instead. `pikku-build-quick`, `pikku-build-platform`,
|
|
52
|
+
`pikku-feature` and `pikku-fabric` carry the short form.
|
|
53
|
+
|
|
3
54
|
## 0.12.16
|
|
4
55
|
|
|
5
56
|
### Patch Changes
|