borgmcp-server 0.1.4 → 0.1.7

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 (43) hide show
  1. package/README.md +32 -11
  2. package/THIRD_PARTY_NOTICES.md +1 -0
  3. package/dist/coordination-api.d.ts +2 -1
  4. package/dist/coordination-api.js +298 -89
  5. package/dist/coordination-api.js.map +1 -1
  6. package/dist/credentials.d.ts +4 -6
  7. package/dist/credentials.js +43 -19
  8. package/dist/credentials.js.map +1 -1
  9. package/dist/debug-log.d.ts +2 -3
  10. package/dist/debug-log.js +2 -3
  11. package/dist/debug-log.js.map +1 -1
  12. package/dist/enrollment.d.ts +3 -11
  13. package/dist/enrollment.js +21 -60
  14. package/dist/enrollment.js.map +1 -1
  15. package/dist/https-server.d.ts +2 -20
  16. package/dist/https-server.js +33 -51
  17. package/dist/https-server.js.map +1 -1
  18. package/dist/message-taxonomy.d.ts +38 -0
  19. package/dist/message-taxonomy.js +218 -0
  20. package/dist/message-taxonomy.js.map +1 -0
  21. package/dist/migrations.js +28 -0
  22. package/dist/migrations.js.map +1 -1
  23. package/dist/service.d.ts +4 -1
  24. package/dist/service.js +25 -10
  25. package/dist/service.js.map +1 -1
  26. package/dist/store.d.ts +66 -8
  27. package/dist/store.js +525 -100
  28. package/dist/store.js.map +1 -1
  29. package/npm-shrinkwrap.json +6 -7
  30. package/package.json +2 -2
  31. package/src/coordination-api.ts +312 -86
  32. package/src/credentials.ts +44 -26
  33. package/src/debug-log.ts +5 -5
  34. package/src/enrollment.ts +32 -78
  35. package/src/https-server.ts +44 -82
  36. package/src/message-taxonomy.ts +284 -0
  37. package/src/migrations.ts +28 -0
  38. package/src/service.ts +29 -9
  39. package/src/store.ts +593 -121
  40. package/dist/protocol-draft.d.ts +0 -2
  41. package/dist/protocol-draft.js +0 -31
  42. package/dist/protocol-draft.js.map +0 -1
  43. package/src/protocol-draft.ts +0 -32
package/README.md CHANGED
@@ -6,22 +6,43 @@ HTTPS.
6
6
 
7
7
  ## Release status
8
8
 
9
- The current public preview remains `borgmcp-server@0.1.1`, published on npm.
9
+ The current public preview is `borgmcp-server@0.1.5`, published on npm.
10
10
  Versions `0.1.2` and `0.1.3` were not published; their immutable tags are
11
- internal failed-release evidence and are not installation or dogfood targets.
12
- The current source is the unpublished `0.1.4` release candidate. It retains the
13
- reviewed owner-enrollment, idempotent multi-cube creation, and stable prior-seat
14
- reattachment baseline, and adds managed role creation and updates, fail-closed
15
- setup reinitialization, opt-in redacted debug logging, live-safe invitation
16
- minting, and atomic cube-scoped invitations with enforced observer posture.
17
- The candidate consumes the audited exact `borgmcp-shared@0.3.0` registry
18
- release.
11
+ preserved failed-release evidence and are not installation or dogfood targets.
12
+ Version `0.1.5` includes the reviewed owner-enrollment, idempotent multi-cube
13
+ creation, managed role administration, fail-closed setup reinitialization,
14
+ redacted debug logging, and cube-scoped invitation baseline. Relative to
15
+ `0.1.4`, it adds idempotent prior-seat reattachment, migrated cube-context and
16
+ taxonomy routing, durable SSE replay and heartbeat delivery, fleet liveness
17
+ signals, typed terminal drone eviction, and explicit manage-access denials for
18
+ visible non-managing principals. The published `0.1.5` package consumes the
19
+ audited exact `borgmcp-shared@0.4.0` registry release. Immutable `v0.1.6` failed
20
+ safely before artifact upload or npm publication and is not an install target.
21
+ Current source is the unpublished `borgmcp-server@0.1.7` recovery candidate and
22
+ consumes the verified exact `borgmcp-shared@0.4.2` registry release. Version `0.1.5` remains the only
23
+ current install target until the candidate passes exact-SHA review, immutable
24
+ tag publication, and bounded registry verification.
19
25
 
20
26
  Setup prepares local identity and storage and prints one-time recovery and
21
27
  owner-enrollment secrets; it creates no cube. Version `0.1.1` completed the
22
28
  documented exact-source, tagged-artifact, and protected-publication gates.
23
- Version `0.1.4` has no tag or publication authorization until its exact merged
24
- source and tagged artifact complete the gates in `docs/releasing.md`.
29
+ Version `0.1.5` completed a fresh exact-source, tagged-artifact, tokenless OIDC
30
+ publication, provenance, signature, and attestation gate chain.
31
+
32
+ ## Repository topology
33
+
34
+ Borg MCP's local/self-hosted product is split across three public repositories:
35
+
36
+ - [`borg-mcp-client`](https://github.com/Byte-Ventures/borg-mcp-client) provides
37
+ the local MCP and command-line client.
38
+ - [`borg-mcp-server`](https://github.com/Byte-Ventures/borg-mcp-server) is this
39
+ self-hosted coordination authority.
40
+ - [`borg-mcp-shared`](https://github.com/Byte-Ventures/borg-mcp-shared) defines
41
+ the portable protocol contract and conformance suite used by both sides.
42
+
43
+ The repositories release independently. Protocol changes land and pass portable
44
+ conformance in `borg-mcp-shared` first; client and server then update to an exact,
45
+ reviewed registry release. Neither consumer uses Git or SSH dependencies.
25
46
 
26
47
  ## Requirements
27
48
 
@@ -21,6 +21,7 @@ refer to each installed package for its complete license text.
21
21
  | `@peculiar/utils` | 2.0.3 | MIT |
22
22
  | `@peculiar/x509` | 1.14.3 | MIT |
23
23
  | `asn1js` | 3.0.10 | BSD-3-Clause |
24
+ | `borgmcp-shared` | 0.4.2 | Apache-2.0 |
24
25
  | `bytestreamjs` | 2.0.1 | BSD-3-Clause |
25
26
  | `pkijs` | 3.4.0 | BSD-3-Clause |
26
27
  | `pvtsutils` | 1.3.6 | MIT |
@@ -8,6 +8,7 @@ export interface CoordinationRequest {
8
8
  readonly principal: Principal;
9
9
  readonly body?: unknown;
10
10
  readonly cursor?: string;
11
+ readonly since?: string;
11
12
  readonly signal: AbortSignal;
12
13
  }
13
14
  export interface CoordinationResponse {
@@ -17,7 +18,7 @@ export interface CoordinationResponse {
17
18
  }
18
19
  export declare class CoordinationApi {
19
20
  #private;
20
- constructor(runtime: StoreRuntime, authority: CredentialAuthority, debugLogger?: DebugLogger);
21
+ constructor(runtime: StoreRuntime, authority: CredentialAuthority, debugLogger?: DebugLogger, streamHeartbeatMs?: number);
21
22
  armReplayTransition(): {
22
23
  readonly reached: Promise<void>;
23
24
  readonly release: () => void;