@getbourdon/participants 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/dist/base.d.ts +7 -0
- package/dist/index.cjs +3292 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +649 -0
- package/dist/index.d.ts +13 -5
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -0
- package/dist/readers/cascade.d.ts +49 -0
- package/dist/readers/cascade.js +428 -0
- package/dist/readers/copilot-cli.d.ts +45 -0
- package/dist/readers/copilot-cli.js +416 -0
- package/dist/readers/copilot.d.ts +59 -0
- package/dist/readers/copilot.js +413 -0
- package/dist/readers/cursor.d.ts +50 -0
- package/dist/readers/cursor.js +670 -0
- package/dist/readers/openclaw.d.ts +78 -0
- package/dist/readers/openclaw.js +386 -0
- package/dist/registry.d.ts +4 -2
- package/dist/registry.js +14 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
* @getbourdon/participants — the external-agent → L5 reader layer (BUSL-1.1).
|
|
3
3
|
*
|
|
4
4
|
* Each participant normalizes a foreign agent's native memory store into a
|
|
5
|
-
* visibility-filtered, redacted L5 manifest.
|
|
6
|
-
* - SQLite (read-only, better-sqlite3 mode=ro): {@link HermesParticipant}
|
|
7
|
-
*
|
|
5
|
+
* visibility-filtered, redacted L5 manifest. Reader categories:
|
|
6
|
+
* - SQLite (read-only, better-sqlite3 mode=ro): {@link HermesParticipant},
|
|
7
|
+
* {@link CursorParticipant}, {@link CopilotCliParticipant}
|
|
8
|
+
* - file / convention: {@link ClaudeCodeParticipant},
|
|
9
|
+
* {@link CopilotParticipant}, {@link CascadeParticipant}
|
|
8
10
|
* - network (TTL cache + lazy AuthProvider): {@link GitHubCopilotParticipant}
|
|
11
|
+
* - network + quarantined-class (handshake gate): {@link OpenClawParticipant}
|
|
9
12
|
*
|
|
10
13
|
* Four invariants enforced in code, not by trust: visibility-filter-before-
|
|
11
14
|
* emission, deterministic exportL5, healthCheck never throws, redact every
|
|
@@ -13,8 +16,8 @@
|
|
|
13
16
|
*
|
|
14
17
|
* Python (`pip install bourdon`) is the oracle; this mirror asserts against the
|
|
15
18
|
* @getbourdon/conformance `native_stores` fixtures (output shape only).
|
|
16
|
-
*
|
|
17
|
-
*
|
|
19
|
+
* Still deferred: codex (the ~2.6k-line turn-compiler reader) lands in a
|
|
20
|
+
* follow-on slice.
|
|
18
21
|
*/
|
|
19
22
|
export { CONTRACT_VERSION, SPEC_VERSION, ParticipantError, ParticipantDiscoveryError, ParticipantExportError, ParticipantVersionMismatchError, isParticipant, type AgentStore, type BourdonParticipant, type HealthStatus, } from "./base.js";
|
|
20
23
|
export { sqliteAvailable, openReadonly, tryOpenReadonly, tableExists, tableColumns, epochToIsoDate, epochToIsoDatetime, projectKeyFromCwd, friendlyLabel, type OpenReadonlyOptions, type SqliteDatabase, } from "./sqlite-base.js";
|
|
@@ -22,5 +25,10 @@ export { NETWORK_CONTRACT_VERSION, DEFAULT_CACHE_TTL_SECONDS, NetworkUnavailable
|
|
|
22
25
|
export { HermesParticipant } from "./readers/hermes.js";
|
|
23
26
|
export { ClaudeCodeParticipant } from "./readers/claude-code.js";
|
|
24
27
|
export { GitHubCopilotParticipant, ghTokenProvider } from "./readers/github-copilot.js";
|
|
28
|
+
export { CursorParticipant } from "./readers/cursor.js";
|
|
29
|
+
export { CopilotParticipant } from "./readers/copilot.js";
|
|
30
|
+
export { CopilotCliParticipant } from "./readers/copilot-cli.js";
|
|
31
|
+
export { CascadeParticipant } from "./readers/cascade.js";
|
|
32
|
+
export { OpenClawParticipant, OpenClawApiClient, verifyInstance, MIN_PATCHED_VERSION, } from "./readers/openclaw.js";
|
|
25
33
|
export { FIRST_PARTY, discoverParticipants, resolvePluginParticipants, type ParticipantCtor, } from "./registry.js";
|
|
26
34
|
export { Visibility, applyVisibility, filterForFederation, toDict, validateManifest, type EntityModel, type L5ManifestModel, type SessionModel, type VisibilityPolicyModel, } from "@getbourdon/l5";
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
* @getbourdon/participants — the external-agent → L5 reader layer (BUSL-1.1).
|
|
3
3
|
*
|
|
4
4
|
* Each participant normalizes a foreign agent's native memory store into a
|
|
5
|
-
* visibility-filtered, redacted L5 manifest.
|
|
6
|
-
* - SQLite (read-only, better-sqlite3 mode=ro): {@link HermesParticipant}
|
|
7
|
-
*
|
|
5
|
+
* visibility-filtered, redacted L5 manifest. Reader categories:
|
|
6
|
+
* - SQLite (read-only, better-sqlite3 mode=ro): {@link HermesParticipant},
|
|
7
|
+
* {@link CursorParticipant}, {@link CopilotCliParticipant}
|
|
8
|
+
* - file / convention: {@link ClaudeCodeParticipant},
|
|
9
|
+
* {@link CopilotParticipant}, {@link CascadeParticipant}
|
|
8
10
|
* - network (TTL cache + lazy AuthProvider): {@link GitHubCopilotParticipant}
|
|
11
|
+
* - network + quarantined-class (handshake gate): {@link OpenClawParticipant}
|
|
9
12
|
*
|
|
10
13
|
* Four invariants enforced in code, not by trust: visibility-filter-before-
|
|
11
14
|
* emission, deterministic exportL5, healthCheck never throws, redact every
|
|
@@ -13,8 +16,8 @@
|
|
|
13
16
|
*
|
|
14
17
|
* Python (`pip install bourdon`) is the oracle; this mirror asserts against the
|
|
15
18
|
* @getbourdon/conformance `native_stores` fixtures (output shape only).
|
|
16
|
-
*
|
|
17
|
-
*
|
|
19
|
+
* Still deferred: codex (the ~2.6k-line turn-compiler reader) lands in a
|
|
20
|
+
* follow-on slice.
|
|
18
21
|
*/
|
|
19
22
|
// Contract surface: Protocol interface, errors, AgentStore + HealthStatus.
|
|
20
23
|
export { CONTRACT_VERSION, SPEC_VERSION, ParticipantError, ParticipantDiscoveryError, ParticipantExportError, ParticipantVersionMismatchError, isParticipant, } from "./base.js";
|
|
@@ -26,6 +29,11 @@ export { NETWORK_CONTRACT_VERSION, DEFAULT_CACHE_TTL_SECONDS, NetworkUnavailable
|
|
|
26
29
|
export { HermesParticipant } from "./readers/hermes.js";
|
|
27
30
|
export { ClaudeCodeParticipant } from "./readers/claude-code.js";
|
|
28
31
|
export { GitHubCopilotParticipant, ghTokenProvider } from "./readers/github-copilot.js";
|
|
32
|
+
export { CursorParticipant } from "./readers/cursor.js";
|
|
33
|
+
export { CopilotParticipant } from "./readers/copilot.js";
|
|
34
|
+
export { CopilotCliParticipant } from "./readers/copilot-cli.js";
|
|
35
|
+
export { CascadeParticipant } from "./readers/cascade.js";
|
|
36
|
+
export { OpenClawParticipant, OpenClawApiClient, verifyInstance, MIN_PATCHED_VERSION, } from "./readers/openclaw.js";
|
|
29
37
|
// Discovery (static registry).
|
|
30
38
|
export { FIRST_PARTY, discoverParticipants, resolvePluginParticipants, } from "./registry.js";
|
|
31
39
|
// Re-exported from @getbourdon/l5 for convenience (the L5 model + serialization
|