@atrib/attest 0.4.0 → 0.4.2

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/dist/index.d.ts CHANGED
@@ -169,7 +169,7 @@ export declare function createAtribAttestServer(options?: CreateAtribAttestServe
169
169
  * Wire up the legacy atrib-emit MCP server. Mounts `emit` plus `attest`
170
170
  * (alias-window rule W1: every existing server also serves the new verb).
171
171
  * Returns an AtribEmitServer handle whose `.mcp` is ready to attach to a
172
- * transport (StdioServerTransport for the standalone binary; in-process
172
+ * transport (serveStdio for the standalone binary; in-process
173
173
  * transport for tests).
174
174
  */
175
175
  export declare function createAtribEmitServer(options?: CreateAtribEmitServerOptions): Promise<AtribEmitServer>;
package/dist/index.js CHANGED
@@ -292,7 +292,7 @@ export async function createAtribAttestServer(options = {}) {
292
292
  * Wire up the legacy atrib-emit MCP server. Mounts `emit` plus `attest`
293
293
  * (alias-window rule W1: every existing server also serves the new verb).
294
294
  * Returns an AtribEmitServer handle whose `.mcp` is ready to attach to a
295
- * transport (StdioServerTransport for the standalone binary; in-process
295
+ * transport (serveStdio for the standalone binary; in-process
296
296
  * transport for tests).
297
297
  */
298
298
  export async function createAtribEmitServer(options = {}) {
package/dist/main.js CHANGED
@@ -4,12 +4,11 @@
4
4
  // launched as a subprocess by an MCP host (Claude Code, Claude Desktop,
5
5
  // etc.). All four names dispatch to one handleEmit funnel; records are
6
6
  // byte-identical regardless of which name signed them.
7
- import { StdioServerTransport } from '@modelcontextprotocol/server/stdio';
7
+ import { serveStdio } from '@modelcontextprotocol/server/stdio';
8
8
  import { createAtribAttestServer } from './index.js';
9
9
  async function main() {
10
10
  const { mcp } = await createAtribAttestServer();
11
- const transport = new StdioServerTransport();
12
- await mcp.connect(transport);
11
+ serveStdio(() => mcp);
13
12
  // Stays alive on the stdio transport until the host closes it.
14
13
  }
15
14
  main().catch((e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atrib/attest",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "MCP server for atrib's write verb. One attest tool signs observations, annotations, and revisions; the legacy emit, atrib-annotate, and atrib-revise tool names stay mounted as aliases over the same handler.",
5
5
  "keywords": [
6
6
  "atrib",
@@ -46,7 +46,7 @@
46
46
  "@noble/hashes": "^2.2.0",
47
47
  "canonicalize": "^3.0.0",
48
48
  "zod": "^3.25.76",
49
- "@atrib/mcp": "0.24.0"
49
+ "@atrib/mcp": "0.25.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^26.1.1",