The SDK comes from the forge, and every serve names its policy (macula-io/macula-mcp#4) #6

Manually merged
terra merged 1 commit from pluto/4-ts-from-forge into main 2026-11-25 03:18:15 +00:00
Member

The follow-up the package planned: now that @macula-io/ts 0.33.1 is published on the forge, this
package links against the forge-built SDK instead of the npmjs one.

What changed

  • @macula-io/ts: ^0.32.1 -> ^0.33.1, resolved from https://git.macula.io/api/packages/macula-pub/npm/.
    The lock records the forge tarball and its integrity, so npm ci fetches the SDK from macula-pub
    anonymously (measured), and an install of the published mcp still fetches nothing at all: the copy
    rides inside this package's tarball.
  • Every serve names its policy. 0.33.1 is the SDK's C ABI 2, which refuses a serve that names
    none (macula-io/macula-ts#30). The three serve sites name Ucan.open(): ~<node_id>/ring and
    whatever mesh_serve registers had exactly that reach before, and the SDK now makes the statement
    mandatory rather than implied. This package's serve() wrapper takes a required policy and
    defaults none, so a serve site added later has to choose.
  • Version 0.51.5 in the four places the release guard reads: package.json, the lock root,
    server.json (its version and its package entry), and .claude-plugin/plugin.json.
  • The CHANGELOG gains 0.51.5, and the 0.51.4 section it never had (that release shipped before
    its entry was written, so the entry is recorded as such).

No MCP tool gains, loses or changes a parameter.

Measured on this tip

  • tsc --noEmit clean; eslint clean on the touched files.
  • 102 tests green across serve.test.ts, connect_to_mesh.test.ts and src/ring_agents/.
  • The published @macula-io/ts 0.33.1 was installed here anonymously from macula-pub, and its
    bundled prebuild loads and generates a 32-byte nodeId with nothing built locally.

The full suite, the advisories scan and the release rehearsal run in release.yml on this branch.

The follow-up the package planned: now that `@macula-io/ts` 0.33.1 is published on the forge, this package links against the forge-built SDK instead of the npmjs one. ## What changed - `@macula-io/ts`: `^0.32.1` -> `^0.33.1`, resolved from `https://git.macula.io/api/packages/macula-pub/npm/`. The lock records the forge tarball and its integrity, so `npm ci` fetches the SDK from macula-pub anonymously (measured), and an install of the published mcp still fetches nothing at all: the copy rides inside this package's tarball. - **Every serve names its policy.** 0.33.1 is the SDK's C ABI 2, which refuses a serve that names none (macula-io/macula-ts#30). The three serve sites name `Ucan.open()`: `~<node_id>/ring` and whatever `mesh_serve` registers had exactly that reach before, and the SDK now makes the statement mandatory rather than implied. This package's `serve()` wrapper takes a required `policy` and defaults none, so a serve site added later has to choose. - Version `0.51.5` in the four places the release guard reads: package.json, the lock root, server.json (its version and its package entry), and `.claude-plugin/plugin.json`. - The CHANGELOG gains `0.51.5`, and the `0.51.4` section it never had (that release shipped before its entry was written, so the entry is recorded as such). No MCP tool gains, loses or changes a parameter. ## Measured on this tip - `tsc --noEmit` clean; `eslint` clean on the touched files. - 102 tests green across `serve.test.ts`, `connect_to_mesh.test.ts` and `src/ring_agents/`. - The published `@macula-io/ts` 0.33.1 was installed here anonymously from macula-pub, and its bundled prebuild loads and generates a 32-byte nodeId with nothing built locally. The full suite, the advisories scan and the release rehearsal run in `release.yml` on this branch.
deps: the SDK comes from the forge, and every serve names its policy (macula-io/macula-mcp#4)
Some checks failed
c4-model.yml / deps: the SDK comes from the forge, and every serve names its policy (macula-io/macula-mcp#4) (pull_request) Failing after 0s
ci.yml / deps: the SDK comes from the forge, and every serve names its policy (macula-io/macula-mcp#4) (pull_request) Failing after 0s
Release to npm / node in . (push) Successful in 13s
Release to npm / suite (push) Successful in 25s
Release to npm / The tag names the versions this package publishes (push) Successful in 2s
Release to npm / guard (push) Successful in 6s
Release to npm / The release guard (push) Successful in 0s
Release to npm / node in . (container) (push) Has been skipped
Release to npm / Dependency advisories (push) Successful in 0s
Release to npm / pack, prove the tarball, and publish (push) Successful in 23s
4f7f55a464
@macula-io/ts moves from ^0.32.1 to ^0.33.1, resolved from macula-pub, so the
copy inside this package's tarball is the forge-built SDK: Linux x64 only, one
prebuild. The lock records the forge tarball and its integrity, and an install
still fetches nothing, because the copy rides inside this tarball.

0.33.1 is the SDK's C ABI 2, which refuses a serve that names no policy, so all
three serve sites say Ucan.open() in so many words: ~<node_id>/ring and whatever
mesh_serve registers had exactly that reach already, and the SDK requires the
statement now rather than implying it. This package's own wrapper takes a
requred policy and defaults none, so a serve site added later has to choose.

Version 0.51.5 in package.json, the lock root, server.json and the plugin
manifest, the four places the release guard reads. The CHANGELOG gains 0.51.5,
and the 0.51.4 section it never had.

Measured here on this tip: typecheck clean, 102 tests green across serve,
connect_to_mesh and ring_agents, eslint clean on the touched files. The whole
suite runs in the rehearsal.
terra manually merged commit a051e2d836 into main 2026-11-25 03:18:15 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
macula-io/macula-mcp!6
No description provided.