@adhdev/daemon-core 0.9.82-rc.364 → 0.9.82-rc.366
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/commands/high-family/index.d.ts +3 -0
- package/dist/commands/high-family/mesh-coordinator-launch.d.ts +2 -0
- package/dist/commands/high-family/mesh-events.d.ts +2 -0
- package/dist/commands/high-family/mesh-status.d.ts +2 -0
- package/dist/commands/high-family/types.d.ts +60 -0
- package/dist/commands/med-family/cli-agent.d.ts +2 -0
- package/dist/commands/med-family/fast-forward.d.ts +2 -0
- package/dist/commands/med-family/ide.d.ts +10 -0
- package/dist/commands/med-family/index.d.ts +3 -0
- package/dist/commands/med-family/mesh-crud.d.ts +2 -0
- package/dist/commands/med-family/mesh-host-pairing.d.ts +2 -0
- package/dist/commands/med-family/mesh-queue.d.ts +2 -0
- package/dist/commands/med-family/types.d.ts +116 -0
- package/dist/commands/router.d.ts +291 -0
- package/dist/index.js +3824 -3565
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3811 -3553
- package/dist/index.mjs.map +1 -1
- package/dist/mesh/mesh-events-coordinator.d.ts +8 -0
- package/dist/system/hash.d.ts +8 -0
- package/package.json +2 -2
- package/src/commands/cli-manager.ts +30 -3
- package/src/commands/high-family/index.ts +28 -0
- package/src/commands/high-family/mesh-coordinator-launch.ts +592 -0
- package/src/commands/high-family/mesh-events.ts +47 -0
- package/src/commands/high-family/mesh-status.ts +639 -0
- package/src/commands/high-family/types.ts +76 -0
- package/src/commands/med-family/cli-agent.ts +218 -0
- package/src/commands/med-family/fast-forward.ts +198 -0
- package/src/commands/med-family/ide.ts +163 -0
- package/src/commands/med-family/index.ts +35 -0
- package/src/commands/med-family/mesh-crud.ts +788 -0
- package/src/commands/med-family/mesh-host-pairing.ts +234 -0
- package/src/commands/med-family/mesh-queue.ts +131 -0
- package/src/commands/med-family/types.ts +120 -0
- package/src/commands/mesh-coordinator.ts +2 -2
- package/src/commands/router.ts +328 -2847
- package/src/config/mesh-config.ts +3 -2
- package/src/mesh/mesh-active-work.ts +59 -81
- package/src/mesh/mesh-events-coordinator.ts +35 -1
- package/src/system/hash.ts +23 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RF-ROUTER MED family — command registry.
|
|
3
|
+
*
|
|
4
|
+
* Aggregates the medium-coupling command handlers extracted from
|
|
5
|
+
* DaemonCommandRouter.executeDaemonCommand into a single cmd → handler map. The
|
|
6
|
+
* router consults this registry after the LOW-family registry and before its
|
|
7
|
+
* switch (registry hit → return the handler result; miss → fall through to the
|
|
8
|
+
* remaining switch / CommandHandler delegation), so the facade and dispatch
|
|
9
|
+
* semantics are unchanged.
|
|
10
|
+
*
|
|
11
|
+
* MED handlers differ from LOW handlers in that they need router-private
|
|
12
|
+
* collaborators (mesh resolution, owner gating, inline-cache mutation, worktree /
|
|
13
|
+
* session cleanup, refine job starters, IDE launch). The router binds those onto
|
|
14
|
+
* MedFamilyContext at dispatch — see types.ts.
|
|
15
|
+
*/
|
|
16
|
+
import { cliAgentHandlers } from './cli-agent.js';
|
|
17
|
+
import { ideHandlers } from './ide.js';
|
|
18
|
+
import { meshCrudHandlers } from './mesh-crud.js';
|
|
19
|
+
import { meshHostPairingHandlers } from './mesh-host-pairing.js';
|
|
20
|
+
import { meshQueueHandlers } from './mesh-queue.js';
|
|
21
|
+
import { fastForwardHandlers } from './fast-forward.js';
|
|
22
|
+
import type { MedFamilyRegistry } from './types.js';
|
|
23
|
+
|
|
24
|
+
export type { MedFamilyContext, MedFamilyHandler, MedFamilyRegistry } from './types.js';
|
|
25
|
+
|
|
26
|
+
export const medFamilyRegistry: MedFamilyRegistry = new Map(
|
|
27
|
+
Object.entries({
|
|
28
|
+
...cliAgentHandlers,
|
|
29
|
+
...ideHandlers,
|
|
30
|
+
...meshCrudHandlers,
|
|
31
|
+
...meshHostPairingHandlers,
|
|
32
|
+
...meshQueueHandlers,
|
|
33
|
+
...fastForwardHandlers,
|
|
34
|
+
}),
|
|
35
|
+
);
|