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.
- package/README.md +32 -11
- package/THIRD_PARTY_NOTICES.md +1 -0
- package/dist/coordination-api.d.ts +2 -1
- package/dist/coordination-api.js +298 -89
- package/dist/coordination-api.js.map +1 -1
- package/dist/credentials.d.ts +4 -6
- package/dist/credentials.js +43 -19
- package/dist/credentials.js.map +1 -1
- package/dist/debug-log.d.ts +2 -3
- package/dist/debug-log.js +2 -3
- package/dist/debug-log.js.map +1 -1
- package/dist/enrollment.d.ts +3 -11
- package/dist/enrollment.js +21 -60
- package/dist/enrollment.js.map +1 -1
- package/dist/https-server.d.ts +2 -20
- package/dist/https-server.js +33 -51
- package/dist/https-server.js.map +1 -1
- package/dist/message-taxonomy.d.ts +38 -0
- package/dist/message-taxonomy.js +218 -0
- package/dist/message-taxonomy.js.map +1 -0
- package/dist/migrations.js +28 -0
- package/dist/migrations.js.map +1 -1
- package/dist/service.d.ts +4 -1
- package/dist/service.js +25 -10
- package/dist/service.js.map +1 -1
- package/dist/store.d.ts +66 -8
- package/dist/store.js +525 -100
- package/dist/store.js.map +1 -1
- package/npm-shrinkwrap.json +6 -7
- package/package.json +2 -2
- package/src/coordination-api.ts +312 -86
- package/src/credentials.ts +44 -26
- package/src/debug-log.ts +5 -5
- package/src/enrollment.ts +32 -78
- package/src/https-server.ts +44 -82
- package/src/message-taxonomy.ts +284 -0
- package/src/migrations.ts +28 -0
- package/src/service.ts +29 -9
- package/src/store.ts +593 -121
- package/dist/protocol-draft.d.ts +0 -2
- package/dist/protocol-draft.js +0 -31
- package/dist/protocol-draft.js.map +0 -1
- 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
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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.
|
|
24
|
-
|
|
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
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -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;
|