@creatornader/agent-bridge 0.6.2 → 0.6.4
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/CHANGELOG.md +24 -1
- package/README.md +3 -2
- package/ROADMAP.md +12 -0
- package/dist/bridge.d.ts +1 -1
- package/dist/bridge.js +2 -2
- package/dist/{chunk-JIRNR75D.js → chunk-2UBJ6DHC.js} +2 -2
- package/dist/{chunk-IXNQG4SB.js → chunk-DBQ5PNQW.js} +3 -3
- package/dist/{chunk-IF5OKPBK.js → chunk-H2UAY6AV.js} +2 -2
- package/dist/{chunk-ZUZ7TCIH.js → chunk-HIYXPNBE.js} +325 -227
- package/dist/chunk-HIYXPNBE.js.map +1 -0
- package/dist/{chunk-IVG4XWWS.js → chunk-NSQE6YRP.js} +285 -189
- package/dist/chunk-NSQE6YRP.js.map +1 -0
- package/dist/cli.js +51 -9
- package/dist/cli.js.map +1 -1
- package/dist/client-runtime.d.ts +1 -1
- package/dist/client-runtime.js +3 -3
- package/dist/dr.d.ts +18 -0
- package/dist/dr.js +2 -2
- package/dist/index.js +4 -4
- package/dist/server.js +4 -4
- package/dist/{sqlite-edge-store-BAFUeysk.d.ts → sqlite-edge-store-C-pVhdgx.d.ts} +5 -1
- package/dist/sqlite.d.ts +4 -2
- package/dist/sqlite.js +2 -2
- package/docs/architecture-v2.md +6 -0
- package/docs/troubleshooting.md +17 -0
- package/package.json +5 -2
- package/dist/chunk-IVG4XWWS.js.map +0 -1
- package/dist/chunk-ZUZ7TCIH.js.map +0 -1
- /package/dist/{chunk-JIRNR75D.js.map → chunk-2UBJ6DHC.js.map} +0 -0
- /package/dist/{chunk-IXNQG4SB.js.map → chunk-DBQ5PNQW.js.map} +0 -0
- /package/dist/{chunk-IF5OKPBK.js.map → chunk-H2UAY6AV.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to agent-bridge are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.6.4] - 2026-07-27
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Preserve the original SQLite failure when SQLite has already ended a failed
|
|
12
|
+
transaction. Local and edge stores no longer replace it with a second
|
|
13
|
+
"cannot rollback" error.
|
|
14
|
+
|
|
15
|
+
## [0.6.3] - 2026-07-26
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Serialize concurrent gateway edge and local-authority mutations through a
|
|
20
|
+
token-checked lease stored in SQLite. The coordinator recovers an expired
|
|
21
|
+
crashed-writer lease without releasing a newer owner, and keeps gateway calls
|
|
22
|
+
outside the local write boundary.
|
|
23
|
+
|
|
7
24
|
## [0.6.2] - 2026-07-21
|
|
8
25
|
|
|
9
26
|
### Fixed
|
|
@@ -444,7 +461,13 @@ First tagged release. Marks the point where agent-bridge has shipped its initial
|
|
|
444
461
|
- Narrative-leak detection in CI + on commit via `creatornader/textleaks@v0.2.0` (renamed from leakguard).
|
|
445
462
|
|
|
446
463
|
[0.1.0]: https://github.com/creatornader/agent-bridge/releases/tag/v0.1.0
|
|
447
|
-
[Unreleased]: https://github.com/creatornader/agent-bridge/compare/v0.
|
|
464
|
+
[Unreleased]: https://github.com/creatornader/agent-bridge/compare/v0.6.4...HEAD
|
|
465
|
+
[0.6.4]: https://github.com/creatornader/agent-bridge/compare/v0.6.3...v0.6.4
|
|
466
|
+
[0.6.3]: https://github.com/creatornader/agent-bridge/compare/v0.6.2...v0.6.3
|
|
467
|
+
[0.6.2]: https://github.com/creatornader/agent-bridge/compare/v0.6.1...v0.6.2
|
|
468
|
+
[0.6.1]: https://github.com/creatornader/agent-bridge/compare/v0.6.0...v0.6.1
|
|
469
|
+
[0.6.0]: https://github.com/creatornader/agent-bridge/compare/v0.5.2...v0.6.0
|
|
470
|
+
[0.5.2]: https://github.com/creatornader/agent-bridge/compare/v0.5.1...v0.5.2
|
|
448
471
|
[0.5.1]: https://github.com/creatornader/agent-bridge/compare/v0.5.0...v0.5.1
|
|
449
472
|
[0.5.0]: https://github.com/creatornader/agent-bridge/compare/v0.4.0...v0.5.0
|
|
450
473
|
[0.4.0]: https://github.com/creatornader/agent-bridge/compare/v0.3.1...v0.4.0
|
package/README.md
CHANGED
|
@@ -246,8 +246,9 @@ for its relationship to MCP, A2A, agmsg, brokers, and agent runtimes.
|
|
|
246
246
|
|
|
247
247
|
- Node.js 22.23.1 or newer.
|
|
248
248
|
- SQLite 3.51.3 or newer for local and edge storage. The supported Node version includes it.
|
|
249
|
-
- Concurrent local and edge initialization may wait up to 15 seconds for schema work
|
|
250
|
-
|
|
249
|
+
- Concurrent local and edge initialization may wait up to 15 seconds for schema work.
|
|
250
|
+
File-backed local and edge stores serialize mutations with a durable token-checked
|
|
251
|
+
lease, so independently launched MCP clients do not contend as SQLite writers.
|
|
251
252
|
- PostgreSQL 15, 16, 17, or 18 for gateway mode. New PostgreSQL majors fail the
|
|
252
253
|
migration prerequisite and live readiness checks until their catalog digest is
|
|
253
254
|
certified.
|
package/ROADMAP.md
CHANGED
|
@@ -158,6 +158,18 @@ The published npm version is the authority for whether this package line has shi
|
|
|
158
158
|
- Production proof guidance records the deployed 0.6.1 evidence and uses a
|
|
159
159
|
release-specific workspace for fresh proof principals.
|
|
160
160
|
|
|
161
|
+
### 0.6.3 package contents
|
|
162
|
+
|
|
163
|
+
- Local SQLite and gateway-edge SQLite mutations coordinate through a durable,
|
|
164
|
+
token-checked lease. Concurrent MCP processes serialize writes, recover an
|
|
165
|
+
expired crashed-writer lease safely, and keep gateway calls outside the local
|
|
166
|
+
write boundary.
|
|
167
|
+
|
|
168
|
+
### 0.6.4 package contents
|
|
169
|
+
|
|
170
|
+
- Preserve primary SQLite errors when the engine already ended a failed
|
|
171
|
+
transaction, rather than raising a secondary rollback error.
|
|
172
|
+
|
|
161
173
|
### Production validation and adoption
|
|
162
174
|
|
|
163
175
|
Completed through the published and deployed 0.6.1 package:
|
package/dist/bridge.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { B as BridgeService, P as PublicMessageQuery } from './bridge-service-Dj
|
|
|
6
6
|
import { P as PgQueryable } from './postgres-bridge-store-ChoOuFEY.js';
|
|
7
7
|
export { a as PgTransactionClient, b as PostgresBridgeStore } from './postgres-bridge-store-ChoOuFEY.js';
|
|
8
8
|
export { A as AuthenticatedCredential, C as CredentialResolver, G as GatewayOptions, P as PostgresCredentialResolver, b as bearerToken, c as createGateway, h as hashCredential, s as safeTokenHashEqual } from './gateway-DWZ3pX48.js';
|
|
9
|
-
export { E as EdgeConflictError, a as EdgeDrainLease, b as EdgeEnqueueResult, c as EdgeMigrationDrainingError, d as EdgeMigrationGate, e as EdgeMigrationGateState, f as EdgeMigrationLeaseError, g as EdgeMigrationRetiredError, h as EdgeOutboxRecord, i as EdgeReadOnlyInspection, j as EdgeScope, k as EdgeStats, P as PendingMessage, S as SQLiteEdgeStore, l as edgeMessageFingerprint, m as edgeScopeKey, n as inspectEdgeScopeReadOnly, s as stableIdempotency } from './sqlite-edge-store-
|
|
9
|
+
export { E as EdgeConflictError, a as EdgeDrainLease, b as EdgeEnqueueResult, c as EdgeMigrationDrainingError, d as EdgeMigrationGate, e as EdgeMigrationGateState, f as EdgeMigrationLeaseError, g as EdgeMigrationRetiredError, h as EdgeOutboxRecord, i as EdgeReadOnlyInspection, j as EdgeScope, k as EdgeStats, P as PendingMessage, S as SQLiteEdgeStore, l as edgeMessageFingerprint, m as edgeScopeKey, n as inspectEdgeScopeReadOnly, s as stableIdempotency } from './sqlite-edge-store-C-pVhdgx.js';
|
|
10
10
|
export { CachedMessagePage, SQLiteBridgeStore, SyncDiagnostics, SyncInsertResult, SyncReport, SyncingBridgeStore, SyncingBridgeStoreOptions, isRetryableSyncError } from './sqlite.js';
|
|
11
11
|
import 'node:http';
|
|
12
12
|
|
package/dist/bridge.js
CHANGED
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
inspectEdgeScopeReadOnly,
|
|
16
16
|
isRetryableSyncError,
|
|
17
17
|
stableIdempotency
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HIYXPNBE.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteBridgeStore
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NSQE6YRP.js";
|
|
22
22
|
import "./chunk-GTK4KOED.js";
|
|
23
23
|
import {
|
|
24
24
|
PostgresBridgeStore
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-UKFRCP6X.js";
|
|
9
9
|
import {
|
|
10
10
|
createStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DBQ5PNQW.js";
|
|
12
12
|
import {
|
|
13
13
|
BridgeService
|
|
14
14
|
} from "./chunk-4V2PFJEF.js";
|
|
@@ -633,4 +633,4 @@ export {
|
|
|
633
633
|
createAgentBridgeServer,
|
|
634
634
|
startServer
|
|
635
635
|
};
|
|
636
|
-
//# sourceMappingURL=chunk-
|
|
636
|
+
//# sourceMappingURL=chunk-2UBJ6DHC.js.map
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEdgeStore,
|
|
7
7
|
SyncingBridgeStore
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HIYXPNBE.js";
|
|
9
9
|
import {
|
|
10
10
|
SQLiteBridgeStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NSQE6YRP.js";
|
|
12
12
|
import {
|
|
13
13
|
securePrivatePath
|
|
14
14
|
} from "./chunk-GTK4KOED.js";
|
|
@@ -50,4 +50,4 @@ export {
|
|
|
50
50
|
createStore,
|
|
51
51
|
createClientRuntime
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=chunk-
|
|
53
|
+
//# sourceMappingURL=chunk-DBQ5PNQW.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
isSupportedLocalSqliteSchemaContract,
|
|
11
11
|
sqliteSchemaContractHash,
|
|
12
12
|
verifySqliteHealth
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NSQE6YRP.js";
|
|
14
14
|
import {
|
|
15
15
|
preparePrivateFileLocation,
|
|
16
16
|
preparePrivateSqliteLocation,
|
|
@@ -2686,4 +2686,4 @@ export {
|
|
|
2686
2686
|
restoreLocalSqlite,
|
|
2687
2687
|
SQLITE_EDGE_APPLICATION_ID
|
|
2688
2688
|
};
|
|
2689
|
-
//# sourceMappingURL=chunk-
|
|
2689
|
+
//# sourceMappingURL=chunk-H2UAY6AV.js.map
|