@adhdev/mesh-shared 1.0.60-rc.7 → 1.0.60-rc.70

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.
Files changed (51) hide show
  1. package/dist/brain-routing.d.ts +2 -2
  2. package/dist/index.d.ts +12 -0
  3. package/dist/index.js +3264 -35
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +2931 -35
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/keyed-doc-delta.d.ts +83 -0
  8. package/dist/keyed-status-delta.d.ts +76 -0
  9. package/dist/magi.d.ts +1 -1
  10. package/dist/mesh-tool-names.d.ts +27 -2
  11. package/dist/mesh-vocabulary.d.ts +70 -0
  12. package/dist/mission-brief.d.ts +62 -0
  13. package/dist/outbound-message.d.ts +202 -0
  14. package/dist/path-ownership.d.ts +101 -0
  15. package/dist/protocol/daemon-server.d.ts +381 -0
  16. package/dist/protocol/dashboard-daemon-p2p.d.ts +216 -0
  17. package/dist/protocol/dashboard-server.d.ts +240 -0
  18. package/dist/protocol/envelope.d.ts +55 -0
  19. package/dist/protocol/index.d.ts +15 -0
  20. package/dist/session-launch.d.ts +113 -0
  21. package/dist/session-status.d.ts +61 -0
  22. package/dist/slot-proposal.d.ts +1 -1
  23. package/dist/turn-evidence.d.ts +438 -0
  24. package/dist/turn-ipc.d.ts +1040 -0
  25. package/dist/types.d.ts +11 -0
  26. package/dist/worker-protocol.d.ts +69 -0
  27. package/dist/ws-protocol.d.ts +71 -41
  28. package/package.json +1 -1
  29. package/src/brain-routing.ts +3 -3
  30. package/src/index.ts +12 -0
  31. package/src/keyed-doc-delta.ts +348 -0
  32. package/src/keyed-status-delta.ts +239 -0
  33. package/src/magi.ts +1 -1
  34. package/src/mesh-tool-names.ts +65 -19
  35. package/src/mesh-vocabulary.ts +98 -0
  36. package/src/mission-brief.ts +153 -0
  37. package/src/outbound-message.ts +320 -0
  38. package/src/path-ownership.ts +271 -0
  39. package/src/protocol/daemon-server.ts +545 -0
  40. package/src/protocol/dashboard-daemon-p2p.ts +280 -0
  41. package/src/protocol/dashboard-server.ts +340 -0
  42. package/src/protocol/envelope.ts +75 -0
  43. package/src/protocol/index.ts +16 -0
  44. package/src/session-launch.ts +247 -0
  45. package/src/session-status.ts +140 -0
  46. package/src/slot-proposal.ts +1 -1
  47. package/src/turn-evidence.ts +602 -0
  48. package/src/turn-ipc.ts +2331 -0
  49. package/src/types.ts +8 -0
  50. package/src/worker-protocol.ts +164 -0
  51. package/src/ws-protocol.ts +102 -93
@@ -58,7 +58,7 @@ export declare function isMeshTaskDifficulty(value: unknown): value is MeshTaskD
58
58
  * a value that should never have been stamped provider-blind.
59
59
  *
60
60
  * 2. IT FOUGHT THE SLOTS. Operators express model choice per node via
61
- * capability slots (`mesh_node_slots_set`), which know the provider. A
61
+ * capability slots (`mesh_node_slots` action "set"), which know the provider. A
62
62
  * mesh-wide preset that also picks a model duplicated that decision from a
63
63
  * position with strictly less information, and needed the modelSource
64
64
  * ('explicit' vs 'preset') precedence machinery plus a fail-closed
@@ -133,7 +133,7 @@ export declare function deriveSlotsFromLegacy(input: {
133
133
  * The reverse direction of deriveSlotsFromLegacy: derive the legacy
134
134
  * `providerPriority` order from capability slots — each slot's provider, in
135
135
  * first-appearance order, de-duplicated. Slot order = preference is the settled
136
- * slots semantics (ORCHESTRATION_NODE_SLOTS.md), so this is what readers of the
136
+ * slots semantics (node capability slots design, 2026-07-09), so this is what readers of the
137
137
  * legacy `policy.providerPriority` field must fall back to when a node declares
138
138
  * slots but no explicit providerPriority (otherwise such a node reads as
139
139
  * unlaunchable even though its slots fully determine the preference order).
package/dist/index.d.ts CHANGED
@@ -28,3 +28,15 @@ export * from './rpc-chunking';
28
28
  export * from './semver-compare';
29
29
  export * from './ws-protocol';
30
30
  export * from './interactive-prompt-constants';
31
+ export * from './session-status';
32
+ export * from './mesh-vocabulary';
33
+ export * from './outbound-message';
34
+ export * from './worker-protocol';
35
+ export * from './protocol';
36
+ export * from './turn-evidence';
37
+ export * from './session-launch';
38
+ export * from './turn-ipc';
39
+ export * from './path-ownership';
40
+ export * from './mission-brief';
41
+ export * from './keyed-status-delta';
42
+ export * from './keyed-doc-delta';