@atrib/revise 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/dist/main.js +2 -3
  2. package/package.json +2 -2
package/dist/main.js CHANGED
@@ -2,12 +2,11 @@
2
2
  // atrib-revise standalone binary (forwarding shim). Serves the legacy
3
3
  // atrib-revise server, which mounts `atrib-revise` plus `attest` per the
4
4
  // alias-window rule W1.
5
- import { StdioServerTransport } from '@modelcontextprotocol/server/stdio';
5
+ import { serveStdio } from '@modelcontextprotocol/server/stdio';
6
6
  import { createAtribReviseServer } from '@atrib/attest';
7
7
  async function main() {
8
8
  const { mcp } = await createAtribReviseServer();
9
- const transport = new StdioServerTransport();
10
- await mcp.connect(transport);
9
+ serveStdio(() => mcp);
11
10
  }
12
11
  main().catch((e) => {
13
12
  console.error('atrib-revise: fatal', e instanceof Error ? e.stack ?? e.message : String(e));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atrib/revise",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Legacy home of atrib's revise write primitive. Superseded by @atrib/attest (the write verb, ref.kind=\"revises\"); this package re-exports the same surface and forwards the atrib-revise binary.",
5
5
  "author": "atrib <hello@atrib.dev>",
6
6
  "keywords": [
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@modelcontextprotocol/server": "^2.0.0",
27
- "@atrib/attest": "0.4.0"
27
+ "@atrib/attest": "0.4.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^26.1.1",