@fro.bot/space-bus 0.11.0 → 0.13.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/README.md +7 -1
- package/dist/attach.js +32 -1
- package/dist/cli.js +496 -63
- package/dist/config.d.ts +53 -0
- package/dist/config.js +447 -14
- package/dist/contract.d.ts +15 -0
- package/dist/contract.js +34 -1
- package/dist/core.js +32 -1
- package/dist/format.d.ts +13 -0
- package/dist/format.js +4 -0
- package/dist/index.js +1224 -183
- package/dist/mcp.js +1262 -114
- package/dist/registry-entry.d.ts +21 -0
- package/dist/registry-entry.js +1242 -0
- package/dist/registry.d.ts +58 -0
- package/dist/roster-edit.d.ts +62 -0
- package/dist/server.js +454 -21
- package/dist/tools/bus_registry.d.ts +123 -0
- package/dist/tools/shared.d.ts +31 -1
- package/package.json +6 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @experimental
|
|
3
|
+
* Experimental — shapes may change in minor releases.
|
|
4
|
+
*
|
|
5
|
+
* `/registry` library subpath barrel: re-exports the registry
|
|
6
|
+
* (list/register/unregister/set-default/resolve-name) and roster-edit
|
|
7
|
+
* (createRoster/add/remove/update project, edit server block) modules for
|
|
8
|
+
* external consumers (e.g. a Mothership webview or CLI) that want the
|
|
9
|
+
* mutation substrate without pulling in the tool/plugin/MCP surfaces.
|
|
10
|
+
* Node-only — joins config.ts's/discovery.ts's/server.ts's lane; MUST NOT
|
|
11
|
+
* be imported by core.ts, contract.ts, format.ts, or attach.ts.
|
|
12
|
+
*
|
|
13
|
+
* Both source modules independently declare a same-shaped `Result` type
|
|
14
|
+
* (`{ ok: true } | { ok: false; error: string }`); re-exporting both under
|
|
15
|
+
* one barrel would be an ambiguous-export collision, so each is re-exported
|
|
16
|
+
* here under a module-qualified alias instead of colliding on `Result`.
|
|
17
|
+
*/
|
|
18
|
+
export type { Result as RegistryResult } from "./registry";
|
|
19
|
+
export { readRegistry, registerRoster, registryPath, resolveRosterByName, setDefaultRoster, unregisterRoster, } from "./registry";
|
|
20
|
+
export type { CreateRosterOpts, ProjectPatch, Result as RosterEditResult, RosterProjectInput, } from "./roster-edit";
|
|
21
|
+
export { addProject, createRoster, editServer, removeProject, updateProject, } from "./roster-edit";
|