@pikku/skills 0.12.16 → 0.12.17

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 CHANGED
@@ -1,5 +1,34 @@
1
1
  # @pikku/skills
2
2
 
3
+ ## 0.12.17
4
+
5
+ ### Patch Changes
6
+
7
+ - 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`.
8
+
9
+ 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`.
10
+
11
+ - 30e390b: Skills now name the three languages a project has, and refuse to let them
12
+ collapse into one.
13
+
14
+ An agent building a doctor's portal for a German practice read "the entire UI is
15
+ German" as an instruction about the codebase. It shipped
16
+ `project.inlang/settings.json` with `baseLocale: "de"` and no `en.json` — which
17
+ broke `--add-locale` permanently — alongside RPC functions `getUebersicht` and
18
+ `getPatientendetail`, components `Zeitstrahl` and `AufmerksamkeitStreifen`, and
19
+ database tables `vorgang` and `ereignis`. Nothing in the skills had ever told it
20
+ these were three separate decisions, so it made one.
21
+
22
+ `pikku-concepts` now carries the canonical statement — identifiers are always
23
+ English and no setting changes that; meta (`description`, `title`, `template`)
24
+ follows `locale` in `pikku.config.json`; the product's UI language lives in the
25
+ message catalogue with `defaultLocale`, never in `baseLocale`. `pikku-build-app`
26
+ §1a asks the question and writes the answer into the config; `pikku-scenario`
27
+ splits step identifiers from step prose and admits where the English-only
28
+ reporter frame still shows through; `pikku-i18n` states why `baseLocale` stays
29
+ `en` and what to set instead. `pikku-build-quick`, `pikku-build-platform`,
30
+ `pikku-feature` and `pikku-fabric` carry the short form.
31
+
3
32
  ## 0.12.16
4
33
 
5
34
  ### Patch Changes