@nexart/mcp-server 0.1.0 → 0.3.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.
Files changed (54) hide show
  1. package/CHANGELOG.md +114 -8
  2. package/CONTRIBUTING.md +7 -5
  3. package/README.md +69 -36
  4. package/SECURITY.md +11 -9
  5. package/THIRD_PARTY_NOTICES.md +4 -4
  6. package/dist/contracts.js +3 -2
  7. package/dist/json-schema.d.ts +9 -0
  8. package/dist/json-schema.js +20 -0
  9. package/dist/lookup/contracts.js +2 -1
  10. package/dist/network/contracts.d.ts +2 -2
  11. package/dist/owner/create.d.ts +2 -2
  12. package/dist/owner/custody.d.ts +7 -0
  13. package/dist/owner/custody.js +35 -16
  14. package/dist/protocol-safety.d.ts +3 -0
  15. package/dist/protocol-safety.js +16 -0
  16. package/dist/receipts/contracts.d.ts +2 -2
  17. package/dist/receipts/contracts.js +2 -1
  18. package/dist/receipts/verify.js +1 -1
  19. package/dist/record/contracts.d.ts +46 -4
  20. package/dist/record/contracts.js +5 -0
  21. package/dist/record/record.d.ts +3 -0
  22. package/dist/record/record.js +6 -2
  23. package/dist/record-tools.d.ts +4 -0
  24. package/dist/record-tools.js +21 -6
  25. package/dist/server.d.ts +11 -1
  26. package/dist/server.js +5 -5
  27. package/dist/stdio.js +3 -19
  28. package/dist/trust/policy.js +8 -2
  29. package/dist/write/attest.d.ts +3 -0
  30. package/dist/write/attest.js +2 -1
  31. package/dist/write/contracts.d.ts +6 -6
  32. package/dist/write/contracts.js +2 -1
  33. package/docs/consumer-guide.md +214 -0
  34. package/package.json +20 -6
  35. package/server.json +9 -3
  36. package/docs/age-version-compatibility.md +0 -46
  37. package/docs/architecture.md +0 -72
  38. package/docs/compatibility.md +0 -163
  39. package/docs/contracts.md +0 -127
  40. package/docs/licensing-review.md +0 -109
  41. package/docs/milestone-1-validation.md +0 -110
  42. package/docs/milestone-2.md +0 -291
  43. package/docs/milestone-3.2.md +0 -291
  44. package/docs/milestone-3.md +0 -274
  45. package/docs/milestone-4a.md +0 -221
  46. package/docs/milestone-4b1.md +0 -220
  47. package/docs/milestone-4b2.md +0 -260
  48. package/docs/public-default.md +0 -263
  49. package/docs/recording-schema-compatibility.md +0 -46
  50. package/docs/release.md +0 -311
  51. package/docs/security-fixes.md +0 -47
  52. package/docs/security.md +0 -195
  53. package/docs/standalone-acceptance.md +0 -81
  54. package/docs/validation.md +0 -85
@@ -1,85 +0,0 @@
1
- # Current release validation
2
-
3
- ```bash
4
- pnpm install --frozen-lockfile --ignore-scripts
5
- pnpm run validate:release
6
- ```
7
-
8
- `tests/release-validation.mjs` is the current repeatable entry point, also used
9
- by `check:clean-install`. `pnpm test` runs all `*.test.mjs` in both `tests/`
10
- and `tests/validation/`, not only the top-level directory.
11
-
12
- Each run creates an exclusive `generated-artifacts/npm-release/run-*` directory.
13
- Old milestone and age-version evidence is neither overwritten nor deleted.
14
- The old milestone runners are historical; do not use them as current release
15
- commands or point them at existing frozen evidence directories.
16
-
17
- ## Checks
18
-
19
- 1. Copy explicit standalone inputs into a protected temporary checkout outside
20
- the repository workspace; inherit PATH/HOME only, plus CI=true.
21
- 2. Frozen pnpm install with scripts disabled, build and typecheck.
22
- 3. Complete test discovery in both directories, with structured result ledger:
23
- at least the accepted 578 tests, no failures or skips.
24
- 4. Benchmark and `npm pack --ignore-scripts`; inspect archive allowlist and
25
- packed manifest, including both executable names and Registry identity.
26
- Changelog/current release version, security/contribution documents and
27
- README recording examples are covered by release regression checks.
28
- 5. Compare all production sources to retained 578-test hashes when that local
29
- historical evidence is available. No runtime changes are authorised here.
30
- 6. Fresh npm production-only installation from the archive into an independent
31
- consumer. No workspace link, copied runtime dependencies or development
32
- repository is required by the installed package.
33
- 7. External test harness: synthetic fixtures and test-only mocks stay outside
34
- the archive. Its runtime imports resolve to the consumer's installed `dist`.
35
- The harness uses development client dependencies; the package itself does not.
36
- 8. Fourteen installed MCP sessions covering both `2025-11-25` and `2026-07-28`,
37
- original verification, network mocks, optional write/recording paths, schema
38
- compatibility, v-prefixed age handling, redaction and clean shutdown.
39
- 9. Existing approval/create/recover commands, synthetic encrypted recovery and
40
- customer library checks, plus actual offline `npm exec` implicit executable
41
- selection on both MCP revisions through the new `mcp-server` alias.
42
- 10. Remove temporary checkouts/consumers, retaining evidence and archive.
43
-
44
- Application network traffic is synthetic/loopback only. Dependency installation
45
- uses registries and may use existing caches; this is not an empty-cache,
46
- bit-identical-build or independent-machine claim. No real provider call,
47
- production signing key, production Node POST or npm/Registry publication occurs.
48
-
49
- ## Evidence
50
-
51
- Read the run's `release-summary.json` for its actual outcome, command statuses,
52
- test counts, archive SHA-256/SHA-512 integrity, archive paths, source comparison
53
- and installed-protocol/discovery results. Command logs and the `.tgz` are stored
54
- beside it. Failure evidence is retained in its own exclusive directory.
55
-
56
- The npm package includes the owner-authorised Apache LICENSE and scoped NOTICE,
57
- CHANGELOG.md, SECURITY.md and CONTRIBUTING.md alongside the README, compiled
58
- runtime/types, Registry metadata and docs.
59
- It deliberately excludes source, tests/fixtures, source maps,
60
- lock/workspace configuration, credentials, private recovery files and validation
61
- outputs. Repository-only test vectors still have unresolved redistribution
62
- permissions; excluding them from npm does not authorise publishing the repository.
63
-
64
- The earlier 578-test archive is a frozen private baseline. A changed manifest
65
- or documentation creates a different candidate even when runtime sources match.
66
- The owner authorised public configuration without `private:true`; rerun validation to
67
- produce the actual publication archive; do not publish a pre-approval archive.
68
-
69
- ## Host acceptance
70
-
71
- The owner reported successful Claude Desktop/macOS live acceptance with Node 24,
72
- age 1.3.2, confidential creation/recovery, delegated certification and public
73
- verification. The earlier read-only audit independently confirmed anonymous
74
- public lookup and valid receipt mathematics, with production signer trust still
75
- unapproved. These facts are separate from synthetic automated validation; no
76
- additional live submission is part of this runner.
77
-
78
- Original-code Apache licensing is authorised. No third-party permission blocker
79
- was identified in the unbundled MCP archive. SDK notice corrections belong
80
- upstream; excluded fixture/history permissions concern public GitHub only.
81
- The designated private contact is security@nexart.io. Owner mailbox delivery/
82
- monitoring tests and npm scope authority checks remain pre-publication actions,
83
- not claims made by validation. The agent does not authenticate or publish.
84
- Registry namespace authority is a separate later registration step. Public
85
- GitHub visibility and Registry registration are not prerequisites for npm.