@pikku/skills 0.12.29 → 0.12.30

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,38 @@
1
1
  # @pikku/skills
2
2
 
3
+ ## 0.12.30
4
+
5
+ ### Patch Changes
6
+
7
+ - 9c5aa96: dev/serve: always inject the local content service
8
+
9
+ `pikku dev` and `pikku serve` only built `LocalContent` when `pikku.config.json`
10
+ declared a `content` block, so a project without one type-checks, renders and
11
+ starts clean and then throws the first time anything uploads a file. Every field
12
+ already had a default, so the block was gating a service that needed no
13
+ configuration. It is now always constructed; the `content` block still overrides
14
+ the storage path, URL prefixes and size limit.
15
+
16
+ Also documents it in the `pikku-services` skill: these singletons arrive as
17
+ `existingServices` and are never named in `services.ts`, so their absence there
18
+ is not evidence they are off — which is what makes the `if (!content) throw`
19
+ guard the skill already forbids look justified.
20
+
21
+ - 5e2a579: pikku-wiring: document how an MCP tool is actually reached
22
+
23
+ `references/mcp.md` ended with a standalone `PikkuMCPServer` bootstrap — a
24
+ `start.ts` that builds services, loads `mcp.gen.json` and calls `connectStdio()`.
25
+ Nothing in a `pikku dev` / `pikku serve` / deployed app does that: the runtime
26
+ mounts the MCP server itself at `/mcp` (`mcpPath` to move it) whenever
27
+ `mcp.gen.json` has at least one entry. An agent following the old section wrote a
28
+ server process nobody runs, and then could not tell the person who asked for the
29
+ tool where to point their assistant.
30
+
31
+ Replaces it with the reachable URL, the two things that read as breakage — the
32
+ mount is skipped while there is nothing to serve, and correct MCP wiring has no
33
+ `wires/mcp` directory and no `mcp` config block — and the instruction to hand over
34
+ the URL. Swaps the stdio-logger red flag for a `/mcp` 404 one.
35
+
3
36
  ## 0.12.29
4
37
 
5
38
  ### Patch Changes