@cyanmycelium/mcp-persistence 0.1.0 → 0.2.0
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/README.md +8 -2
- package/package.json +81 -81
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
Durable JSON documents, immutable revisions and streamed binary artifacts for the CyanMycelium MCP family. SQLite keeps revisions, references and idempotency; an internal file directory keeps artifact bytes. The broker decides access.
|
|
9
9
|
|
|
10
|
-
**Status:
|
|
10
|
+
**Status: early release 0.2.0.** Node.js 22.13 or later is required; its built-in `node:sqlite` API is experimental on Node 22. This is a local single-writer backend, with integration tests, not a distributed storage service.
|
|
11
11
|
|
|
12
12
|
```text
|
|
13
13
|
Explorer / Mission Control / MCP client
|
|
@@ -179,6 +179,12 @@ The initial [architecture proposal](docs/brief_persistence_slot.md) records the
|
|
|
179
179
|
|
|
180
180
|
The family emblem identifies the ecosystem; it is not a certification.
|
|
181
181
|
|
|
182
|
+
## Automated npm releases
|
|
183
|
+
|
|
184
|
+
[.github/workflows/release.yml](.github/workflows/release.yml) publishes stable releases when a `v*` tag is pushed. The tag must match package.json exactly, for example `v0.1.1` for version `0.1.1`. Type checking, tests, contract generation and package inspection must pass before publication. Version 0.1.0 was published manually; use a new version for the next release.
|
|
185
|
+
|
|
186
|
+
Configure the npm trusted publisher with GitHub owner `pandaGaume`, repository `mcp-persistence`, workflow filename `release.yml`, no environment, and permission to run `npm publish`. The workflow uses GitHub OIDC with `id-token: write`; no NPM_TOKEN secret is required. Commit and push the workflow before using it for a release.
|
|
187
|
+
|
|
182
188
|
## License
|
|
183
189
|
|
|
184
|
-
Apache-2.0. See [LICENSE](LICENSE).
|
|
190
|
+
Apache-2.0. See [LICENSE](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cyanmycelium/mcp-persistence",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Durable versioned documents and artifacts, published through an MCP broker slot.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "Apache-2.0",
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=22.13.0"
|
|
9
|
-
},
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/index.js"
|
|
14
|
-
},
|
|
15
|
-
"./conformance": {
|
|
16
|
-
"types": "./dist/conformance/persistence.conformance.d.ts",
|
|
17
|
-
"import": "./dist/conformance/persistence.conformance.js"
|
|
18
|
-
},
|
|
19
|
-
"./protocol": {
|
|
20
|
-
"types": "./dist/contract/persistence.protocol.d.ts",
|
|
21
|
-
"import": "./dist/contract/persistence.protocol.js"
|
|
22
|
-
},
|
|
23
|
-
"./contracts/persistence.v1.json": "./contracts/persistence.v1.json"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist",
|
|
27
|
-
"contracts",
|
|
28
|
-
"docs/mcp-contract.md",
|
|
29
|
-
"docs/assets/logo.png",
|
|
30
|
-
"docs/assets/mcp-broker-family.png"
|
|
31
|
-
],
|
|
32
|
-
"scripts": {
|
|
33
|
-
"typecheck": "tsc -p tsconfig.check.json",
|
|
34
|
-
"build": "tsc -p tsconfig.json",
|
|
35
|
-
"test": "npm run build && vitest run",
|
|
36
|
-
"start": "node dist/provider/main.js",
|
|
37
|
-
"dev": "node dist/provider/main.js --dev",
|
|
38
|
-
"contracts": "npm run build && node scripts/export-contract.mjs",
|
|
39
|
-
"prepublishOnly": "npm run typecheck && npm test && npm run contracts"
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {
|
|
42
|
-
"@cyanmycelium/mcp-broker-provider": "0.4.1",
|
|
43
|
-
"@cyanmycelium/mcp-core": "1.4.1",
|
|
44
|
-
"@cyanmycelium/mcp-uns": "0.1.0"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@cyanmycelium/mcp-broker": "1.6.1",
|
|
48
|
-
"@types/node": "^22.0.0",
|
|
49
|
-
"ajv": "^8.17.1",
|
|
50
|
-
"ajv-formats": "^3.0.1",
|
|
51
|
-
"typescript": "5.9.3",
|
|
52
|
-
"vitest": "4.1.11"
|
|
53
|
-
},
|
|
54
|
-
"author": "Guillaume Pelletier (CyanMycelium)",
|
|
55
|
-
"repository": {
|
|
56
|
-
"type": "git",
|
|
57
|
-
"url": "git+https://github.com/pandaGaume/mcp-persistence.git"
|
|
58
|
-
},
|
|
59
|
-
"homepage": "https://github.com/pandaGaume/mcp-persistence#readme",
|
|
60
|
-
"bugs": {
|
|
61
|
-
"url": "https://github.com/pandaGaume/mcp-persistence/issues"
|
|
62
|
-
},
|
|
63
|
-
"publishConfig": {
|
|
64
|
-
"access": "public"
|
|
65
|
-
},
|
|
66
|
-
"bin": {
|
|
67
|
-
"mcp-persistence": "
|
|
68
|
-
},
|
|
69
|
-
"peerDependencies": {
|
|
70
|
-
"vitest": "^4.1.11",
|
|
71
|
-
"@cyanmycelium/mcp-broker": ">=1.6.1 <2"
|
|
72
|
-
},
|
|
73
|
-
"peerDependenciesMeta": {
|
|
74
|
-
"vitest": {
|
|
75
|
-
"optional": true
|
|
76
|
-
},
|
|
77
|
-
"@cyanmycelium/mcp-broker": {
|
|
78
|
-
"optional": true
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@cyanmycelium/mcp-persistence",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Durable versioned documents and artifacts, published through an MCP broker slot.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=22.13.0"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./conformance": {
|
|
16
|
+
"types": "./dist/conformance/persistence.conformance.d.ts",
|
|
17
|
+
"import": "./dist/conformance/persistence.conformance.js"
|
|
18
|
+
},
|
|
19
|
+
"./protocol": {
|
|
20
|
+
"types": "./dist/contract/persistence.protocol.d.ts",
|
|
21
|
+
"import": "./dist/contract/persistence.protocol.js"
|
|
22
|
+
},
|
|
23
|
+
"./contracts/persistence.v1.json": "./contracts/persistence.v1.json"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"contracts",
|
|
28
|
+
"docs/mcp-contract.md",
|
|
29
|
+
"docs/assets/logo.png",
|
|
30
|
+
"docs/assets/mcp-broker-family.png"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"typecheck": "tsc -p tsconfig.check.json",
|
|
34
|
+
"build": "tsc -p tsconfig.json",
|
|
35
|
+
"test": "npm run build && vitest run",
|
|
36
|
+
"start": "node dist/provider/main.js",
|
|
37
|
+
"dev": "node dist/provider/main.js --dev",
|
|
38
|
+
"contracts": "npm run build && node scripts/export-contract.mjs",
|
|
39
|
+
"prepublishOnly": "npm run typecheck && npm test && npm run contracts"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@cyanmycelium/mcp-broker-provider": "0.4.1",
|
|
43
|
+
"@cyanmycelium/mcp-core": "1.4.1",
|
|
44
|
+
"@cyanmycelium/mcp-uns": "0.1.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@cyanmycelium/mcp-broker": "1.6.1",
|
|
48
|
+
"@types/node": "^22.0.0",
|
|
49
|
+
"ajv": "^8.17.1",
|
|
50
|
+
"ajv-formats": "^3.0.1",
|
|
51
|
+
"typescript": "5.9.3",
|
|
52
|
+
"vitest": "4.1.11"
|
|
53
|
+
},
|
|
54
|
+
"author": "Guillaume Pelletier (CyanMycelium)",
|
|
55
|
+
"repository": {
|
|
56
|
+
"type": "git",
|
|
57
|
+
"url": "git+https://github.com/pandaGaume/mcp-persistence.git"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/pandaGaume/mcp-persistence#readme",
|
|
60
|
+
"bugs": {
|
|
61
|
+
"url": "https://github.com/pandaGaume/mcp-persistence/issues"
|
|
62
|
+
},
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"access": "public"
|
|
65
|
+
},
|
|
66
|
+
"bin": {
|
|
67
|
+
"mcp-persistence": "dist/provider/main.js"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"vitest": "^4.1.11",
|
|
71
|
+
"@cyanmycelium/mcp-broker": ">=1.6.1 <2"
|
|
72
|
+
},
|
|
73
|
+
"peerDependenciesMeta": {
|
|
74
|
+
"vitest": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"@cyanmycelium/mcp-broker": {
|
|
78
|
+
"optional": true
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|