@jaypie/mcp 0.8.148 → 0.8.149

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.
@@ -10,7 +10,7 @@ import { gt } from 'semver';
10
10
  /**
11
11
  * Docs Suite - Documentation services (skill, version, release_notes)
12
12
  */
13
- const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.148#242a2958"
13
+ const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.149#b80d3df3"
14
14
  ;
15
15
  const __filename$1 = fileURLToPath(import.meta.url);
16
16
  const __dirname$1 = path.dirname(__filename$1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaypie/mcp",
3
- "version": "0.8.148",
3
+ "version": "0.8.149",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,10 @@
1
+ ---
2
+ version: 1.2.99
3
+ date: 2026-09-10
4
+ summary: Pick up @jaypie/kit 1.2.19
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - `@jaypie/kit` 1.2.19: `placeholders` renders `""`, `0`, `false`, and `null`
10
+ instead of leaving the handlebar (#526)
@@ -0,0 +1,17 @@
1
+ ---
2
+ version: 1.2.19
3
+ date: 2026-09-10
4
+ summary: placeholders renders empty-string, zero, and other falsy values instead of leaving the handlebar
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - `placeholders()` keeps a `{{ key }}` handlebar only when the resolved value is
10
+ `undefined`. A present `""`, `0`, `false`, or `null` renders through
11
+ `String()`. Previously any falsy value left the literal handlebar in the
12
+ output (#526).
13
+ - The internal path lookup stops only when the path breaks (a non-object or an
14
+ absent key), so falsy nested values such as `{{ user.count }}` with
15
+ `{ user: { count: 0 } }` resolve.
16
+ - Whitespace handling is unchanged: `{{ name }}` and `{{name}}` resolve the same
17
+ key, and a missing key keeps its original spacing.
@@ -0,0 +1,10 @@
1
+ ---
2
+ version: 0.8.149
3
+ date: 2026-09-10
4
+ summary: Document placeholders falsy-value rendering
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - `skill("placeholders")` documents that only `undefined` keeps the handlebar
10
+ and that falsy values render (#526)
@@ -0,0 +1,13 @@
1
+ ---
2
+ version: 1.2.70
3
+ date: 2026-09-10
4
+ summary: Remove the orphaned placeholders copy; the mock wraps @jaypie/kit 1.2.19
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Removed `src/placeholders.ts` and `src/types/placeholders.d.ts`. Neither was
10
+ imported nor built, and the copy carried the falsy-value bug fixed in
11
+ `@jaypie/kit` 1.2.19.
12
+ - The `placeholders` mock continues to wrap the real `@jaypie/kit`
13
+ implementation, so it picks up the fix.
@@ -30,7 +30,8 @@ function placeholders(
30
30
  - Dot notation: `{{user.name}}`
31
31
  - Bracket notation: `{{items[0].city}}`
32
32
  - Whitespace trimmed: `{{ name }}` resolves same as `{{name}}`
33
- - Unmatched keys remain: `{{missing}}` passes through unchanged
33
+ - Unmatched keys remain: `{{missing}}` passes through unchanged, spacing intact
34
+ - Only `undefined` counts as missing: `""`, `0`, `false`, and `null` render via `String()`
34
35
 
35
36
  ## Examples
36
37
 
@@ -56,6 +57,10 @@ placeholders(() => `Generated at {{time}}`, { time: "12:00" });
56
57
  // Missing keys pass through
57
58
  placeholders("{{known}} and {{unknown}}", { known: "yes" });
58
59
  // "yes and {{unknown}}"
60
+
61
+ // Falsy values render
62
+ placeholders("a={{ x }} b={{ n }}", { x: "", n: 0 });
63
+ // "a= b=0"
59
64
  ```
60
65
 
61
66
  ## LLM Integration