@pikku/skills 0.12.20 → 0.12.22
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 +60 -0
- package/dist/skills.gen.js +1 -1
- package/package.json +1 -1
- package/skills/pikku-addon/SKILL.md +8 -7
- package/skills/pikku-better-auth/SKILL.md +67 -40
- package/skills/pikku-build-app/SKILL.md +2 -2
- package/skills/pikku-build-quick/SKILL.md +2 -2
- package/skills/pikku-concepts/SKILL.md +3 -1
- package/skills/pikku-fabric/SKILL.md +10 -10
- package/skills/pikku-feature/SKILL.md +104 -2
- package/skills/pikku-http/SKILL.md +1 -1
- package/skills/pikku-middleware/SKILL.md +3 -3
- package/skills/pikku-permissions/SKILL.md +4 -4
- package/skills/pikku-scenario/SKILL.md +4 -4
- package/skills/pikku-security/SKILL.md +3 -3
- package/skills/pikku-services/SKILL.md +3 -3
- package/skills/pikku-workflow/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
# @pikku/skills
|
|
2
2
|
|
|
3
|
+
## 0.12.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5ace170: Fix the `#pikku` import specifiers the skills teach.
|
|
8
|
+
|
|
9
|
+
Twenty-five examples across ten skills named a leaf that does not export the
|
|
10
|
+
symbol — `pikkuAuth`/`pikkuPermission`/`addGlobalPermission` from `#pikku/function`
|
|
11
|
+
(they are in `#pikku/auth`), `addHTTPMiddleware` from `#pikku/http` (`#pikku/middleware`),
|
|
12
|
+
`pikkuServices`/`pikkuWireServices` from `#pikku/function` (`#pikku/setup`),
|
|
13
|
+
`pikkuWorkflowFunc` from `#pikku/function` (`#pikku/workflow`), `pikkuScenario` and
|
|
14
|
+
friends from `#pikku/scenario` and from `#pikku/workflow/pikku-workflow-types.gen.js`
|
|
15
|
+
(`#pikku/scenarios`), and `defineSystemRole` from a bare `#pikku` (`#pikku/scopes`).
|
|
16
|
+
|
|
17
|
+
`pikku-addon` also claimed an addon authors against `#pikku/addon/function` and
|
|
18
|
+
`#pikku/addon/setup`. It does not: `pikku new addon` writes an `imports` map that
|
|
19
|
+
points `#pikku/*` at the addon's own `.pikku/addon/` tree, so an addon uses the
|
|
20
|
+
same subpaths an application does. The `addon` segment is the package's business,
|
|
21
|
+
never part of a specifier.
|
|
22
|
+
|
|
23
|
+
An agent following these wrote a file that took schema generation red —
|
|
24
|
+
`Package import specifier "#pikku" is not defined in package .../packages/functions/package.json`
|
|
25
|
+
— which is a failure the example, not the agent, was responsible for.
|
|
26
|
+
|
|
27
|
+
## 0.12.21
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- 77ae071: `pikku fabric report` sends a finding — something about pikku that cost an agent time — to fabric. It needs a login but no linked project: a finding is about the framework rather than about anyone's project, and the reports worth having most come from checkouts that have nothing to name.
|
|
32
|
+
|
|
33
|
+
The finding can be given as JSON on stdin (`--stdin`) instead of as flags. Half the fields are prose, and prose carries apostrophes, quotes, backticks and newlines — every one a shell metacharacter before it is a character in a sentence — so an error message pasted into `--error` used to break the command at its first newline. The same schema validates either path.
|
|
34
|
+
|
|
35
|
+
Nothing is written to the repo, so nothing goes stale on an abandoned branch, and the terminal prints exactly what left the machine. Reporting never fails a build.
|
|
36
|
+
|
|
37
|
+
A finding that cannot be sent is held in `~/.fabric/findings` rather than dropped: logged out, unlinked, or fabric unreachable are the states a finding is most likely to be describing, and a scaffold that never got far enough to log in is exactly the thing worth hearing about. The queue drains on the next report that succeeds, keeps the project each finding was filed against, and is bounded at 100. `pikku fabric findings list`, `flush` and `clear` inspect and control it.
|
|
38
|
+
|
|
39
|
+
The resolved `@pikku/*` versions are read off the installed tree rather than out of `package.json`, since a range says nothing about what actually ran. A skewed tree and a package resolving through a workspace or link are both flagged, because either is a reason to read the finding differently.
|
|
40
|
+
|
|
41
|
+
The `pikku-feature` skill now tells an agent when to file one: work around it first, investigate only when there is no workaround, report at the depth already reached, and never patch pikku itself from inside a project that is using it.
|
|
42
|
+
|
|
43
|
+
- 32d1280: Prefix the better-auth plugin factories with `pikku`: `pikkuActor`, `pikkuBan`,
|
|
44
|
+
`pikkuFabric`, `pikkuDelegatedAuth` and `pikkuCredentialOAuth`.
|
|
45
|
+
|
|
46
|
+
A `betterAuth({ plugins: [...] })` array mixes this package's plugins with
|
|
47
|
+
better-auth's own, and until now nothing at the call site told them apart —
|
|
48
|
+
`plugins: [actor(...), ban(), fabric(...), organization()]` reads as four
|
|
49
|
+
plugins from one place when only the last is better-auth's. The prefix says
|
|
50
|
+
which package a plugin came from where it is actually wired.
|
|
51
|
+
|
|
52
|
+
The old names are still exported as deprecated aliases bound to the same
|
|
53
|
+
functions, so no import has to change. Nothing about the plugins themselves
|
|
54
|
+
moved: the `id` each registers under — `pikku-ban`, `actor`, `fabric`,
|
|
55
|
+
`delegated-auth`, `credential-oauth` — is unchanged, so no deployed database or
|
|
56
|
+
session is affected.
|
|
57
|
+
|
|
58
|
+
The pieces that read a plugin's _export_ name rather than its id accept both:
|
|
59
|
+
`PLUGIN_REGISTRY` is keyed under the prefixed and the bare name, and the
|
|
60
|
+
`pikku validate` ban/actor checks and the `scaffold.userAdmin` ban check count
|
|
61
|
+
either spelling as wired. Their messages now point at the new names.
|
|
62
|
+
|
|
3
63
|
## 0.12.20
|
|
4
64
|
|
|
5
65
|
### Patch Changes
|