@decibelsystems/tools 2.0.2 → 2.1.1

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 (96) hide show
  1. package/README.md +115 -233
  2. package/dist/config/queueableActions.d.ts +11 -0
  3. package/dist/config/queueableActions.d.ts.map +1 -0
  4. package/dist/config/queueableActions.js +22 -0
  5. package/dist/config/queueableActions.js.map +1 -0
  6. package/dist/daemon.d.ts +29 -0
  7. package/dist/daemon.d.ts.map +1 -1
  8. package/dist/daemon.js +64 -0
  9. package/dist/daemon.js.map +1 -1
  10. package/dist/daemonConfig.d.ts +7 -0
  11. package/dist/daemonConfig.d.ts.map +1 -1
  12. package/dist/daemonConfig.js +9 -0
  13. package/dist/daemonConfig.js.map +1 -1
  14. package/dist/facades/definitions.d.ts.map +1 -1
  15. package/dist/facades/definitions.js +130 -33
  16. package/dist/facades/definitions.js.map +1 -1
  17. package/dist/httpQueueDetection.d.ts +16 -0
  18. package/dist/httpQueueDetection.d.ts.map +1 -0
  19. package/dist/httpQueueDetection.js +36 -0
  20. package/dist/httpQueueDetection.js.map +1 -0
  21. package/dist/httpServer.d.ts +4 -0
  22. package/dist/httpServer.d.ts.map +1 -1
  23. package/dist/httpServer.js +224 -97
  24. package/dist/httpServer.js.map +1 -1
  25. package/dist/kernel.d.ts +2 -0
  26. package/dist/kernel.d.ts.map +1 -1
  27. package/dist/kernel.js +1 -0
  28. package/dist/kernel.js.map +1 -1
  29. package/dist/server.js +30 -1
  30. package/dist/server.js.map +1 -1
  31. package/dist/tools/agentic/agentQueue.d.ts +50 -0
  32. package/dist/tools/agentic/agentQueue.d.ts.map +1 -0
  33. package/dist/tools/agentic/agentQueue.js +226 -0
  34. package/dist/tools/agentic/agentQueue.js.map +1 -0
  35. package/dist/tools/agentic/index.d.ts +2 -0
  36. package/dist/tools/agentic/index.d.ts.map +1 -1
  37. package/dist/tools/agentic/index.js +84 -0
  38. package/dist/tools/agentic/index.js.map +1 -1
  39. package/dist/tools/coordinator/coordinator.d.ts +14 -0
  40. package/dist/tools/coordinator/coordinator.d.ts.map +1 -1
  41. package/dist/tools/coordinator/coordinator.js +101 -0
  42. package/dist/tools/coordinator/coordinator.js.map +1 -1
  43. package/dist/tools/coordinator/index.d.ts +2 -0
  44. package/dist/tools/coordinator/index.d.ts.map +1 -1
  45. package/dist/tools/coordinator/index.js +2 -0
  46. package/dist/tools/coordinator/index.js.map +1 -1
  47. package/dist/tools/decibel/index.d.ts +3 -0
  48. package/dist/tools/decibel/index.d.ts.map +1 -0
  49. package/dist/tools/decibel/index.js +150 -0
  50. package/dist/tools/decibel/index.js.map +1 -0
  51. package/dist/tools/decibel.d.ts +13 -0
  52. package/dist/tools/decibel.d.ts.map +1 -0
  53. package/dist/tools/decibel.js +156 -0
  54. package/dist/tools/decibel.js.map +1 -0
  55. package/dist/tools/deck.d.ts +4 -4
  56. package/dist/tools/deck.d.ts.map +1 -1
  57. package/dist/tools/deck.js +1546 -78
  58. package/dist/tools/deck.js.map +1 -1
  59. package/dist/tools/designer/index.d.ts +6 -0
  60. package/dist/tools/designer/index.d.ts.map +1 -1
  61. package/dist/tools/designer/index.js +344 -1
  62. package/dist/tools/designer/index.js.map +1 -1
  63. package/dist/tools/designer.d.ts +143 -0
  64. package/dist/tools/designer.d.ts.map +1 -1
  65. package/dist/tools/designer.js +457 -0
  66. package/dist/tools/designer.js.map +1 -1
  67. package/dist/tools/guardian/index.d.ts +1 -0
  68. package/dist/tools/guardian/index.d.ts.map +1 -1
  69. package/dist/tools/guardian/index.js +40 -1
  70. package/dist/tools/guardian/index.js.map +1 -1
  71. package/dist/tools/guardian.d.ts +30 -0
  72. package/dist/tools/guardian.d.ts.map +1 -1
  73. package/dist/tools/guardian.js +96 -0
  74. package/dist/tools/guardian.js.map +1 -1
  75. package/dist/tools/index.d.ts.map +1 -1
  76. package/dist/tools/index.js +7 -1
  77. package/dist/tools/index.js.map +1 -1
  78. package/dist/tools/mother.d.ts +11 -0
  79. package/dist/tools/mother.d.ts.map +1 -0
  80. package/dist/tools/mother.js +503 -0
  81. package/dist/tools/mother.js.map +1 -0
  82. package/dist/tools/swarm.d.ts +11 -0
  83. package/dist/tools/swarm.d.ts.map +1 -0
  84. package/dist/tools/swarm.js +701 -0
  85. package/dist/tools/swarm.js.map +1 -0
  86. package/dist/tools/terminal.d.ts +17 -0
  87. package/dist/tools/terminal.d.ts.map +1 -0
  88. package/dist/tools/terminal.js +968 -0
  89. package/dist/tools/terminal.js.map +1 -0
  90. package/dist/transports/http.d.ts.map +1 -1
  91. package/dist/transports/http.js +2 -0
  92. package/dist/transports/http.js.map +1 -1
  93. package/dist/transports/types.d.ts +4 -0
  94. package/dist/transports/types.d.ts.map +1 -1
  95. package/package.json +1 -1
  96. package/templates/docs.html +1084 -0
@@ -1 +1 @@
1
- {"version":3,"file":"daemonConfig.d.ts","sourceRoot":"","sources":["../src/daemonConfig.ts"],"names":[],"mappings":"AAiBA,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,eAAe,EAAE,MAAM,CAAC;QACxB,aAAa,EAAE,MAAM,CAAC;QACtB,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,OAAO,CAAC,EAAE;QACR,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAsBD;;;GAGG;AACH,wBAAgB,UAAU,IAAI,YAAY,CA4BzC;AAED;;GAEG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAA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MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GACA,YAAY,CAad;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,YAAY,GACpB;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,eAAe,EAAE,OAAO,CAAA;CAAE,CAiCvE"}
@@ -16,6 +16,7 @@ const DEFAULT_CONFIG = {
16
16
  log_max_size_mb: 10,
17
17
  log_max_files: 3,
18
18
  rate_limit_rpm: 100,
19
+ gc_interval_secs: 300,
19
20
  },
20
21
  };
21
22
  // ============================================================================
@@ -46,10 +47,12 @@ export function loadConfig() {
46
47
  log_max_size_mb: parsed.daemon?.log_max_size_mb ?? DEFAULT_CONFIG.daemon.log_max_size_mb,
47
48
  log_max_files: parsed.daemon?.log_max_files ?? DEFAULT_CONFIG.daemon.log_max_files,
48
49
  rate_limit_rpm: parsed.daemon?.rate_limit_rpm ?? DEFAULT_CONFIG.daemon.rate_limit_rpm,
50
+ gc_interval_secs: parsed.daemon?.gc_interval_secs ?? DEFAULT_CONFIG.daemon.gc_interval_secs,
49
51
  },
50
52
  license: parsed.license ? {
51
53
  key: parsed.license.key,
52
54
  } : undefined,
55
+ agents: parsed.agents,
53
56
  };
54
57
  }
55
58
  catch (err) {
@@ -108,6 +111,12 @@ export function reloadConfig(current) {
108
111
  if (reloaded.daemon.auth_token !== current.daemon.auth_token) {
109
112
  changes.push('auth_token: changed');
110
113
  }
114
+ if (reloaded.daemon.gc_interval_secs !== current.daemon.gc_interval_secs) {
115
+ changes.push(`gc_interval_secs: ${current.daemon.gc_interval_secs} → ${reloaded.daemon.gc_interval_secs}`);
116
+ }
117
+ if (JSON.stringify(reloaded.agents) !== JSON.stringify(current.agents)) {
118
+ changes.push('agents: config changed');
119
+ }
111
120
  return { config: reloaded, changes, requiresRestart };
112
121
  }
113
122
  //# sourceMapping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,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/facades/definitions.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAM7C,eAAO,MAAM,WAAW,EAAE,UAAU,EAqYnC,CAAC;AAMF,eAAO,MAAM,UAAU,EAAE,UAAU,EAoElC,CAAC;AAMF,eAAO,MAAM,UAAU,EAAE,UAAU,EAmGlC,CAAC;AAMF,eAAO,MAAM,oBAAoB,EAAE,UAAU,EAAmD,CAAC"}
@@ -13,7 +13,7 @@
13
13
  export const coreFacades = [
14
14
  {
15
15
  name: 'sentinel',
16
- description: 'Work tracking: epics, issues, test specs, code scanning. Actions: create_issue, read_issue, update_issue, close_issue, list_issues, log_epic, list_epics, read_epic, resolve_epic, list_epic_issues, create_test_spec, list_test_specs, compile_tests, audit_policies, scan, scan_data, scan_codebase, scan_config, scan_coverage, auto_link, link_commit, list_linked_commits',
16
+ description: 'Work tracking: epics, issues, test specs, code scanning. Use this instead of creating markdown files for task tracking. Always read_issue before update_issue. Pass project_id when filing cross-repo issues. For large features use log_epic first, then create_issue for sub-tasks. Actions: create_issue, read_issue, update_issue, close_issue, list_issues, log_epic, list_epics, read_epic, resolve_epic, list_epic_issues, create_test_spec, list_test_specs, compile_tests, audit_policies, scan, scan_data, scan_codebase, scan_config, scan_coverage, auto_link, link_commit, list_linked_commits',
17
17
  compactDescription: 'Track epics, issues, test specs, and scan code',
18
18
  microEligible: true,
19
19
  tier: 'core',
@@ -44,7 +44,7 @@ export const coreFacades = [
44
44
  },
45
45
  {
46
46
  name: 'architect',
47
- description: 'Architecture decisions & policies. Actions: create_adr, read_adr, list_adrs, create_policy, read_policy, list_policies, compile_oversight, record_arch_decision',
47
+ description: 'Architecture decisions & policies. Use when recording WHY a technical decision was made, not WHAT was built (that is sentinel). create_adr for significant choices with trade-offs; record_arch_decision for quick inline rationale. Actions: create_adr, read_adr, list_adrs, create_policy, read_policy, list_policies, compile_oversight, record_arch_decision',
48
48
  compactDescription: 'Record ADRs, policies, and architecture decisions',
49
49
  microEligible: false,
50
50
  tier: 'core',
@@ -61,7 +61,7 @@ export const coreFacades = [
61
61
  },
62
62
  {
63
63
  name: 'dojo',
64
- description: 'Feature incubation: wishes, proposals, experiments, benchmarks. Actions: add_wish, list_wishes, create_proposal, scaffold_experiment, run_experiment, read_artifact, read_results, can_graduate, list, projects, bench',
64
+ description: 'Feature incubation: wishes, proposals, experiments, benchmarks. Use for ideas not yet ready to build. Flow: add_wish (just an idea) → create_proposal (ready to spec) → scaffold_experiment (ready to test) → can_graduate (ready to promote). Never create proposal/experiment files manually. Actions: add_wish, list_wishes, create_proposal, scaffold_experiment, run_experiment, read_artifact, read_results, can_graduate, list, projects, bench',
65
65
  compactDescription: 'Incubate ideas with wishes, proposals, experiments',
66
66
  microEligible: false,
67
67
  tier: 'core',
@@ -81,8 +81,8 @@ export const coreFacades = [
81
81
  },
82
82
  {
83
83
  name: 'designer',
84
- description: 'Design decisions, principles, critiques, tokens, and lateral thinking. Actions: create_decision, list_principles, create_principle, log_crit, review_figma, sync_tokens, check_parity, lateral_session, lateral_apply, lateral_close, list_crits',
85
- compactDescription: 'Design decisions, principles, crits, and tokens',
84
+ description: 'Design decisions, principles, critiques, tokens, evals, and lateral thinking. Use for UI/UX/visual choices (not architecture — that is architect). create_decision for design rationale; create_principle for reusable rules; log_crit for gut reactions; eval for structured evaluations with scoring; evals to list/filter; eval_history for temporal trends; tokens for registry lookup; drift for token-vs-source drift; figma_parity for Figma-to-code comparison. Actions: create_decision, list_principles, create_principle, log_crit, review_figma, sync_tokens, check_parity, tokens, drift, figma_parity, eval, evals, eval_history, lateral_session, lateral_apply, lateral_close, list_crits',
85
+ compactDescription: 'Design decisions, principles, crits, evals, tokens, drift, and Figma parity',
86
86
  microEligible: false,
87
87
  tier: 'core',
88
88
  actions: {
@@ -93,6 +93,12 @@ export const coreFacades = [
93
93
  review_figma: 'designer_review_figma',
94
94
  sync_tokens: 'designer_sync_tokens',
95
95
  check_parity: 'designer_check_parity',
96
+ tokens: 'designer_tokens_lookup',
97
+ drift: 'designer_drift',
98
+ figma_parity: 'designer_figma_parity',
99
+ eval: 'designer_log_eval',
100
+ evals: 'designer_list_evals',
101
+ eval_history: 'designer_eval_history',
96
102
  lateral_session: 'designer_lateral_session',
97
103
  lateral_apply: 'designer_lateral_apply',
98
104
  lateral_close: 'designer_lateral_close',
@@ -106,7 +112,7 @@ export const coreFacades = [
106
112
  },
107
113
  {
108
114
  name: 'git',
109
- description: 'Git history, changes, and issue linking. Actions: log_recent, changed_files, find_removal, blame_context, tags, status, find_linked_issues',
115
+ description: 'Git history, changes, and issue linking. Use for investigating code history, not for making commits. find_removal to locate when code was deleted; blame_context for who changed a line and why; auto_link after commits to connect them to sentinel issues. Actions: log_recent, changed_files, find_removal, blame_context, tags, status, find_linked_issues',
110
116
  compactDescription: 'Git history, diffs, and forensics',
111
117
  microEligible: true,
112
118
  tier: 'core',
@@ -122,7 +128,7 @@ export const coreFacades = [
122
128
  },
123
129
  {
124
130
  name: 'workflow',
125
- description: 'High-level composite operations. Actions: status, preflight, ship, investigate',
131
+ description: 'High-level composite operations that run multiple tools in sequence. status for a quick project health check; preflight before committing (runs lints, tests, scan); ship for release readiness; investigate to debug a reported issue with structured hypothesis tracking. Actions: status, preflight, ship, investigate',
126
132
  compactDescription: 'Status, preflight, ship, investigate',
127
133
  microEligible: true,
128
134
  tier: 'core',
@@ -135,7 +141,7 @@ export const coreFacades = [
135
141
  },
136
142
  {
137
143
  name: 'oracle',
138
- description: 'Strategic planning, health scores, and recommendations. Actions: next_actions, portfolio_summary, hygiene_report, roadmap',
144
+ description: 'Strategic planning, health scores, and recommendations. Use when asked "what should I work on?" or "how healthy is the project?". next_actions for prioritized task suggestions; portfolio_summary for cross-project overview; hygiene_report for tech debt assessment. Actions: next_actions, portfolio_summary, hygiene_report, roadmap',
139
145
  compactDescription: 'AI-powered priorities and project health',
140
146
  microEligible: false,
141
147
  tier: 'core',
@@ -148,7 +154,7 @@ export const coreFacades = [
148
154
  },
149
155
  {
150
156
  name: 'roadmap',
151
- description: 'Objectives, milestones, and epic tracking. Actions: init, list, read, list_objectives, read_objective, link_epic, get_epic_context, get_health',
157
+ description: 'Objectives, milestones, and epic tracking. Use for high-level planning (quarters/releases), not individual tasks (that is sentinel). init to bootstrap a roadmap; link_epic to connect sentinel epics to objectives; get_health for milestone progress. Actions: init, list, read, list_objectives, read_objective, link_epic, get_epic_context, get_health',
152
158
  compactDescription: 'Manage roadmap objectives and milestones',
153
159
  microEligible: false,
154
160
  tier: 'core',
@@ -165,7 +171,7 @@ export const coreFacades = [
165
171
  },
166
172
  {
167
173
  name: 'vector',
168
- description: 'Agent run tracking, drift detection, and prompt scoring. Actions: create_run, read_run, list_runs, log_event, complete_run, checkpoint, context_pack, assumptions, score_prompt, trace',
174
+ description: 'Agent run tracking, drift detection, and prompt scoring. Use at the start and end of multi-step agent tasks. create_run when beginning work, log_event for key steps, complete_run when done. checkpoint to save progress mid-run; assumptions to record what you are assuming so drift can be detected. Actions: create_run, read_run, list_runs, log_event, complete_run, checkpoint, context_pack, assumptions, score_prompt, trace',
169
175
  compactDescription: 'Track agent runs, events, and drift',
170
176
  microEligible: false,
171
177
  tier: 'core',
@@ -184,7 +190,7 @@ export const coreFacades = [
184
190
  },
185
191
  {
186
192
  name: 'context',
187
- description: 'Persistent memory: pinned facts, events, artifacts. Actions: list, pin, unpin, refresh, event_append, event_search, artifact_list, artifact_read',
193
+ description: 'Persistent memory: pinned facts, events, artifacts. pin to save key facts that should persist across sessions (e.g. "uses Postgres 16", "deploy target is Vercel"). event_append for timestamped logs. refresh at session start to load pinned context. Actions: list, pin, unpin, refresh, event_append, event_search, artifact_list, artifact_read',
188
194
  compactDescription: 'Pin facts, log events, manage artifacts',
189
195
  microEligible: true,
190
196
  tier: 'core',
@@ -201,7 +207,7 @@ export const coreFacades = [
201
207
  },
202
208
  {
203
209
  name: 'auditor',
204
- description: 'Code quality, health metrics, and refactor scoring. Actions: init, triage, refactor_score, naming_audit, log_health, health_dashboard, health_history',
210
+ description: 'Code quality, health metrics, and refactor scoring. Use after refactors or before releases. triage to identify the worst code smells; refactor_score to measure improvement from a change; log_health to record a snapshot; health_dashboard for trends over time. Actions: init, triage, refactor_score, naming_audit, log_health, health_dashboard, health_history',
205
211
  compactDescription: 'Code quality audits and health metrics',
206
212
  microEligible: false,
207
213
  tier: 'core',
@@ -217,7 +223,7 @@ export const coreFacades = [
217
223
  },
218
224
  {
219
225
  name: 'forecast',
220
- description: 'Task estimation, decomposition, and capacity planning. Actions: parse, decompose, plan, record, calibration',
226
+ description: 'Task estimation, decomposition, and capacity planning. parse a task description into estimated effort; decompose to break large tasks into sub-tasks with estimates; record actual time after completion to improve future calibration. Actions: parse, decompose, plan, record, calibration',
221
227
  compactDescription: 'Estimate tasks and plan capacity',
222
228
  microEligible: false,
223
229
  tier: 'core',
@@ -231,7 +237,7 @@ export const coreFacades = [
231
237
  },
232
238
  {
233
239
  name: 'velocity',
234
- description: 'Productivity metrics, trends, and contributor stats. Actions: snapshot, list, trends, contributor, install_hook, uninstall_hook',
240
+ description: 'Productivity metrics, trends, and contributor stats. snapshot to capture current commit velocity; trends for week-over-week changes; contributor for per-author stats. install_hook to auto-track commits via git hook. Actions: snapshot, list, trends, contributor, install_hook, uninstall_hook',
235
241
  compactDescription: 'Track productivity and commit velocity',
236
242
  microEligible: false,
237
243
  tier: 'core',
@@ -246,7 +252,7 @@ export const coreFacades = [
246
252
  },
247
253
  {
248
254
  name: 'coordinator',
249
- description: 'Multi-agent coordination: locking, heartbeat, logging, messaging. Actions: register, lock, unlock, status, heartbeat, log, send, inbox, ack',
255
+ description: 'Multi-agent coordination: locking, heartbeat, logging, messaging. Use when multiple agents work on the same project. register at agent start; lock before modifying shared resources (unlock when done); send/inbox for inter-agent messages; heartbeat to signal liveness. Actions: register, lock, unlock, status, heartbeat, log, send, inbox, ack',
250
256
  compactDescription: 'Agent coordination, locking, and messaging',
251
257
  microEligible: true,
252
258
  tier: 'core',
@@ -262,9 +268,29 @@ export const coreFacades = [
262
268
  ack: 'coord_ack',
263
269
  },
264
270
  },
271
+ {
272
+ name: 'swarm',
273
+ description: 'Shared agent context layer for multi-agent coordination. Sessions group agents around a mission; signals are typed events (bug_found, fix_applied, blocker, decision, finding, request, api_changed, breaking_change, schema_changed, new_capability, gate, intent) published by topic; claim/release/resolve manage signal lifecycle; ack for lightweight acknowledgment. Actions: start_session, join_session, session_status, pause_session, close_session, emit_signal, read_signals, ack_signal, claim_signal, release_signal, resolve_signal',
274
+ compactDescription: 'Multi-agent sessions, signals, and coordination',
275
+ microEligible: false,
276
+ tier: 'core',
277
+ actions: {
278
+ start_session: 'swarm_start_session',
279
+ join_session: 'swarm_join_session',
280
+ session_status: 'swarm_session_status',
281
+ pause_session: 'swarm_pause_session',
282
+ close_session: 'swarm_close_session',
283
+ emit_signal: 'swarm_emit_signal',
284
+ read_signals: 'swarm_read_signals',
285
+ ack_signal: 'swarm_ack_signal',
286
+ claim_signal: 'swarm_claim_signal',
287
+ release_signal: 'swarm_release_signal',
288
+ resolve_signal: 'swarm_resolve_signal',
289
+ },
290
+ },
265
291
  {
266
292
  name: 'friction',
267
- description: 'Track recurring pain points and workarounds. Actions: log, list, bump, resolve',
293
+ description: 'Track recurring pain points and workarounds. log when you notice something annoying or broken that keeps coming up; bump to increase severity of an existing friction; resolve when the root cause is fixed. Check list before logging to avoid duplicates. Actions: log, list, bump, resolve',
268
294
  compactDescription: 'Log and track recurring pain points',
269
295
  microEligible: false,
270
296
  tier: 'core',
@@ -277,7 +303,7 @@ export const coreFacades = [
277
303
  },
278
304
  {
279
305
  name: 'registry',
280
- description: 'Project discovery and management. Actions: add, remove, list, alias, resolve, init, snapshot, status',
306
+ description: 'Project discovery and management. init to bootstrap .decibel/ in a new project; add to register an existing project; resolve to look up a project by ID or alias. If tools fail with "project not found", use list to see registered projects, then init or add to fix. Actions: add, remove, list, alias, resolve, init, snapshot, status',
281
307
  compactDescription: 'Manage project registry and discovery',
282
308
  microEligible: false,
283
309
  tier: 'core',
@@ -294,7 +320,7 @@ export const coreFacades = [
294
320
  },
295
321
  {
296
322
  name: 'feedback',
297
- description: 'Submit and view tool feedback. Actions: submit, list',
323
+ description: 'Submit and view tool feedback. submit when a tool behaves unexpectedly or could be improved. Include the tool name and what went wrong. Actions: submit, list',
298
324
  compactDescription: 'Tool feedback',
299
325
  microEligible: false,
300
326
  tier: 'core',
@@ -305,7 +331,7 @@ export const coreFacades = [
305
331
  },
306
332
  {
307
333
  name: 'learnings',
308
- description: 'Technical knowledge and lessons learned. Actions: append, list',
334
+ description: 'Technical knowledge and lessons learned. append after discovering something non-obvious (gotchas, patterns, constraints) that future sessions should know. list at session start to recall prior learnings. Actions: append, list',
309
335
  compactDescription: 'Record and recall learnings',
310
336
  microEligible: false,
311
337
  tier: 'core',
@@ -316,7 +342,7 @@ export const coreFacades = [
316
342
  },
317
343
  {
318
344
  name: 'provenance',
319
- description: 'Audit trail for tool operations. Actions: list',
345
+ description: 'Audit trail for tool operations. list to see what tools were called, when, and by whom. Use for debugging unexpected state or verifying what happened in a previous session. Actions: list',
320
346
  compactDescription: 'View audit trail',
321
347
  microEligible: false,
322
348
  tier: 'core',
@@ -326,7 +352,7 @@ export const coreFacades = [
326
352
  },
327
353
  {
328
354
  name: 'bench',
329
- description: 'Benchmark suites and comparison. Actions: run, compare',
355
+ description: 'Benchmark suites and comparison. run to execute a benchmark suite; compare to diff two runs and identify regressions or improvements. Actions: run, compare',
330
356
  compactDescription: 'Run and compare benchmarks',
331
357
  microEligible: false,
332
358
  tier: 'core',
@@ -337,7 +363,7 @@ export const coreFacades = [
337
363
  },
338
364
  {
339
365
  name: 'guardian',
340
- description: 'Security scanning: dependency audits, secret detection, HTTP surface checks, config review. Actions: scan_deps, scan_secrets, scan_http, scan_config, report',
366
+ description: 'Security scanning: dependency audits, secret detection, HTTP surface checks, response header analysis, config review. Use report for a full security grade; use individual scans to drill into specific areas. scan_headers takes a URL and checks for missing CSP/HSTS/etc. Run after deploying or changing infrastructure. Actions: scan_deps, scan_secrets, scan_http, scan_headers, scan_config, report',
341
367
  compactDescription: 'Security scanning and vulnerability detection',
342
368
  microEligible: false,
343
369
  tier: 'core',
@@ -345,6 +371,7 @@ export const coreFacades = [
345
371
  scan_deps: 'guardian_scan_deps',
346
372
  scan_secrets: 'guardian_scan_secrets',
347
373
  scan_http: 'guardian_scan_http',
374
+ scan_headers: 'guardian_scan_headers',
348
375
  scan_config: 'guardian_scan_config',
349
376
  report: 'guardian_report',
350
377
  },
@@ -356,7 +383,7 @@ export const coreFacades = [
356
383
  export const proFacades = [
357
384
  {
358
385
  name: 'voice',
359
- description: 'Voice inbox and command processing. Actions: inbox_add, inbox_list, inbox_process, inbox_sync, command',
386
+ description: 'Voice inbox and command processing. inbox_sync at session start to pull queued voice messages from Supabase. inbox_process to act on a specific message. command to execute a spoken instruction directly. Actions: inbox_add, inbox_list, inbox_process, inbox_sync, command',
360
387
  compactDescription: 'Voice inbox and commands',
361
388
  microEligible: false,
362
389
  tier: 'pro',
@@ -370,7 +397,7 @@ export const proFacades = [
370
397
  },
371
398
  {
372
399
  name: 'studio',
373
- description: 'Creative asset generation: images, video, 3D. Actions: generate_image, get_image_status, create_artifact, update_artifact, list_artifacts, create_project, read_project, list_projects, list_tasks, list_jobs, claim_job, update_job, register_device, heartbeat, sync_events',
400
+ description: 'Creative asset generation: images, video, 3D. generate_image returns a job ID — poll get_image_status until complete. Artifacts are the persistent asset records; projects group related artifacts. Device endpoints are for GPU render workers. Actions: generate_image, get_image_status, create_artifact, update_artifact, list_artifacts, create_project, read_project, list_projects, list_tasks, list_jobs, claim_job, update_job, register_device, heartbeat, sync_events',
374
401
  compactDescription: 'Generate images, video, and 3D assets',
375
402
  microEligible: false,
376
403
  tier: 'pro',
@@ -394,7 +421,7 @@ export const proFacades = [
394
421
  },
395
422
  {
396
423
  name: 'corpus',
397
- description: 'Pattern and playbook search across codebase. Actions: search, status',
424
+ description: 'Pattern and playbook search across codebase. search to find code patterns, implementation examples, or playbooks by natural language query. status to check index freshness. Use before implementing something to find existing patterns to follow. Actions: search, status',
398
425
  compactDescription: 'Search patterns and playbooks',
399
426
  microEligible: false,
400
427
  tier: 'pro',
@@ -405,8 +432,8 @@ export const proFacades = [
405
432
  },
406
433
  {
407
434
  name: 'agentic',
408
- description: 'Agentic operations: render, lint, compile, evaluation. Actions: render, lint, compile_pack, golden_eval',
409
- compactDescription: 'Render, lint, compile, evaluate',
435
+ description: 'Agentic operations: render, lint, compile, evaluation, queue sync. render to produce human-readable output from structured data; lint for code quality checks; compile_pack to bundle context for another agent; golden_eval to test agent output against known-good examples; queue_sync to replay remote agent writes locally; queue_status to check queued write results. Actions: render, lint, compile_pack, golden_eval, queue_sync, queue_status',
436
+ compactDescription: 'Render, lint, compile, evaluate, queue sync',
410
437
  microEligible: false,
411
438
  tier: 'pro',
412
439
  actions: {
@@ -414,6 +441,8 @@ export const proFacades = [
414
441
  lint: 'agentic_lint',
415
442
  compile_pack: 'agentic_compile_pack',
416
443
  golden_eval: 'agentic_golden_eval',
444
+ queue_sync: 'agentic_queue_sync',
445
+ queue_status: 'agentic_queue_status',
417
446
  },
418
447
  },
419
448
  ];
@@ -423,7 +452,7 @@ export const proFacades = [
423
452
  export const appFacades = [
424
453
  {
425
454
  name: 'senken',
426
- description: 'Trade analysis: strategy summaries, giveback reports, grading. Actions: trade_summary, giveback_report, trade_review, list_overrides, apply_override',
455
+ description: 'Trade analysis: strategy summaries, giveback reports, grading. Reads from Postgres (requires SENKEN_DATABASE_URL). trade_summary for aggregate stats by strategy; trade_review for individual trade grades (A-F by MFE capture); giveback_report for unrealized profit analysis. apply_override is a WRITE — it modifies live strategy parameters. Actions: trade_summary, giveback_report, trade_review, list_overrides, apply_override',
427
456
  compactDescription: 'Trading strategy analysis (Postgres)',
428
457
  microEligible: false,
429
458
  tier: 'apps',
@@ -437,14 +466,82 @@ export const appFacades = [
437
466
  },
438
467
  {
439
468
  name: 'deck',
440
- description: 'Trading card buylist search and price comparison. Actions: list, search, stores',
441
- compactDescription: 'Card buylist search',
469
+ description: 'MTG card database and Arena gameplay tracking. Card tools: search by name; list for top movers; stores for data summary; history for price trends; format_deals for budget cards; type_search for tribal/archetype; price_bracket for multi-filter queries; set_analysis for set EV; volatility for price stability; reprints for cross-printing arbitrage. Gameplay tools: match_history for recent Arena matches; win_rate for format-level stats; card_performance for best/worst cards by win rate; deck_record for per-deck W/L; player_summary for combined dashboard; draft_stats for draft history and trophy tracking. Actions: search, list, stores, history, format_deals, type_search, price_bracket, set_analysis, volatility, reprints, match_history, win_rate, card_performance, deck_record, player_summary, draft_stats',
470
+ compactDescription: 'MTG card prices, deals, gameplay stats, and Arena tracking',
471
+ microEligible: false,
472
+ tier: 'apps',
473
+ actions: {
474
+ search: 'deck_search',
475
+ list: 'deck_list',
476
+ stores: 'deck_summary',
477
+ history: 'deck_history',
478
+ format_deals: 'deck_format_deals',
479
+ type_search: 'deck_type_search',
480
+ price_bracket: 'deck_price_bracket',
481
+ set_analysis: 'deck_set_analysis',
482
+ volatility: 'deck_volatility',
483
+ reprints: 'deck_reprints',
484
+ match_history: 'deck_match_history',
485
+ win_rate: 'deck_win_rate',
486
+ card_performance: 'deck_card_performance',
487
+ deck_record: 'deck_record',
488
+ player_summary: 'deck_player_summary',
489
+ draft_stats: 'deck_draft_stats',
490
+ intel_write: 'deck_intel_write',
491
+ intel_reports: 'deck_intel_reports',
492
+ intel_publish: 'deck_intel_publish',
493
+ },
494
+ },
495
+ {
496
+ name: 'mother',
497
+ description: 'Mother daemon: advice snapshots, policy patches, and incidents. Reads from Postgres (requires MOTHER_DATABASE_URL). write_advice_snapshot validates verdict + multiplier bounds before inserting. propose_policy_patch auto-computes revert_at from TTL. publish_incident for structured postmortems. get_advice_snapshot reads latest non-expired for symbol×strategy. list_incidents queries by symbol/strategy/type/date range. Actions: write_advice_snapshot, propose_policy_patch, publish_incident, get_advice_snapshot, list_incidents',
498
+ compactDescription: 'Mother daemon advice and incidents (Postgres)',
442
499
  microEligible: false,
443
500
  tier: 'apps',
444
501
  actions: {
445
- list: 'deck_buylist_list',
446
- search: 'deck_buylist_search',
447
- stores: 'deck_buylist_stores',
502
+ write_advice_snapshot: 'mother_write_advice_snapshot',
503
+ propose_policy_patch: 'mother_propose_policy_patch',
504
+ publish_incident: 'mother_publish_incident',
505
+ get_advice_snapshot: 'mother_get_advice_snapshot',
506
+ list_incidents: 'mother_list_incidents',
507
+ },
508
+ },
509
+ {
510
+ name: 'terminal',
511
+ description: 'DX Terminal Pro vault management: market data, portfolio, competitor intelligence, strategy writing. Read actions use REST (no auth); write actions use cast (requires wallet). get_strategies works on ANY vault (public on-chain) — use to scout competitors. Always get_strategies before add_strategy to check slot count (max 8). disable_strategy expired ones before adding new. Writes are on-chain transactions on Base L2. Actions: get_tokens, get_portfolio, get_strategies, get_leaderboard, get_swaps, get_inference_logs, get_holders, get_candles, get_pnl_history, get_vault_settings, get_deposits_withdrawals, add_strategy, disable_strategy, update_settings, deposit_eth, withdraw_eth',
512
+ compactDescription: 'DX Terminal Pro vault + strategies',
513
+ microEligible: false,
514
+ tier: 'apps',
515
+ actions: {
516
+ get_tokens: 'terminal_get_tokens',
517
+ get_portfolio: 'terminal_get_portfolio',
518
+ get_strategies: 'terminal_get_strategies',
519
+ get_leaderboard: 'terminal_get_leaderboard',
520
+ get_swaps: 'terminal_get_swaps',
521
+ get_inference_logs: 'terminal_get_inference_logs',
522
+ get_holders: 'terminal_get_holders',
523
+ get_candles: 'terminal_get_candles',
524
+ get_pnl_history: 'terminal_get_pnl_history',
525
+ get_vault_settings: 'terminal_get_vault_settings',
526
+ get_deposits_withdrawals: 'terminal_get_deposits_withdrawals',
527
+ add_strategy: 'terminal_add_strategy',
528
+ disable_strategy: 'terminal_disable_strategy',
529
+ update_settings: 'terminal_update_settings',
530
+ deposit_eth: 'terminal_deposit_eth',
531
+ withdraw_eth: 'terminal_withdraw_eth',
532
+ },
533
+ },
534
+ {
535
+ name: 'decibel',
536
+ description: 'Decibel Systems — public discovery and capabilities. Learn what Decibel builds, see live case studies, explore service offerings, or start a design sprint. about returns company overview and philosophy. capabilities lists MCP servers, AI design sprints, and agent infrastructure offerings. case_studies shows live production projects with links. start_sprint submits your product info to begin a discovery engagement. Actions: about, capabilities, case_studies, start_sprint',
537
+ compactDescription: 'Decibel Systems discovery and services',
538
+ microEligible: true,
539
+ tier: 'core',
540
+ actions: {
541
+ about: 'decibel_about',
542
+ capabilities: 'decibel_capabilities',
543
+ case_studies: 'decibel_case_studies',
544
+ start_sprint: 'decibel_start_sprint',
448
545
  },
449
546
  },
450
547
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/facades/definitions.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,2EAA2E;AAC3E,+EAA+E;AAC/E,0EAA0E;AAC1E,+EAA+E;AAC/E,EAAE;AACF,4EAA4E;AAC5E,oEAAoE;AACpE,+EAA+E;AAI/E,+EAA+E;AAC/E,kCAAkC;AAClC,+EAA+E;AAE/E,MAAM,CAAC,MAAM,WAAW,GAAiB;IACvC;QACE,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,gXAAgX;QAC7X,kBAAkB,EAAE,gDAAgD;QACpE,aAAa,EAAE,IAAI;QACnB,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE;YACP,YAAY,EAAE,uBAAuB;YACrC,UAAU,EAAE,qBAAqB;YACjC,YAAY,EAAE,sBAAsB;YACpC,WAAW,EAAE,sBAAsB;YACnC,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE,mBAAmB;YAC7B,UAAU,EAAE,qBAAqB;YACjC,SAAS,EAAE,oBAAoB;YAC/B,YAAY,EAAE,uBAAuB;YACrC,gBAAgB,EAAE,2BAA2B;YAC7C,gBAAgB,EAAE,yBAAyB;YAC3C,eAAe,EAAE,wBAAwB;YACzC,aAAa,EAAE,uBAAuB;YACtC,cAAc,EAAE,wBAAw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,oBAAoB,GAAiB,CAAC,GAAG,WAAW,EAAE,GAAG,UAAU,EAAE,GAAG,UAAU,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Parse a tool call into facade + action.
3
+ * Handles both styles:
4
+ * - Facade call: tool="sentinel", args.action="create_issue"
5
+ * - Direct call: tool="sentinel_create_issue"
6
+ */
7
+ export declare function parseToolCall(tool: string, args: Record<string, unknown>): {
8
+ facade: string;
9
+ action: string;
10
+ } | null;
11
+ /**
12
+ * Should this tool call be queued instead of executed?
13
+ * True when: remote agent + queueable action.
14
+ */
15
+ export declare function shouldQueueForAgent(tool: string, args: Record<string, unknown>, agentId: string | undefined): boolean;
16
+ //# sourceMappingURL=httpQueueDetection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"httpQueueDetection.d.ts","sourceRoot":"","sources":["../src/httpQueueDetection.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAgB3C;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,OAAO,CAKT"}
@@ -0,0 +1,36 @@
1
+ import { isQueueable, QUEUEABLE_ACTIONS } from './config/queueableActions.js';
2
+ /**
3
+ * Parse a tool call into facade + action.
4
+ * Handles both styles:
5
+ * - Facade call: tool="sentinel", args.action="create_issue"
6
+ * - Direct call: tool="sentinel_create_issue"
7
+ */
8
+ export function parseToolCall(tool, args) {
9
+ // Style 1: facade call with action in args
10
+ if (args.action && typeof args.action === 'string') {
11
+ return { facade: tool, action: args.action };
12
+ }
13
+ // Style 2: underscore-separated tool name
14
+ for (const facade of Object.keys(QUEUEABLE_ACTIONS)) {
15
+ const prefix = `${facade}_`;
16
+ if (tool.startsWith(prefix)) {
17
+ const action = tool.slice(prefix.length);
18
+ if (action)
19
+ return { facade, action };
20
+ }
21
+ }
22
+ return null;
23
+ }
24
+ /**
25
+ * Should this tool call be queued instead of executed?
26
+ * True when: remote agent + queueable action.
27
+ */
28
+ export function shouldQueueForAgent(tool, args, agentId) {
29
+ if (!agentId)
30
+ return false;
31
+ const parsed = parseToolCall(tool, args);
32
+ if (!parsed)
33
+ return false;
34
+ return isQueueable(parsed.facade, parsed.action);
35
+ }
36
+ //# sourceMappingURL=httpQueueDetection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"httpQueueDetection.js","sourceRoot":"","sources":["../src/httpQueueDetection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAE9E;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAC3B,IAAY,EACZ,IAA6B;IAE7B,2CAA2C;IAC3C,IAAI,IAAI,CAAC,MAAM,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;QACnD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;IAC/C,CAAC;IAED,0CAA0C;IAC1C,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACpD,MAAM,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC;QAC5B,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YACzC,IAAI,MAAM;gBAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QACxC,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,mBAAmB,CACjC,IAAY,EACZ,IAA6B,EAC7B,OAA2B;IAE3B,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAC3B,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACzC,IAAI,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC;IAC1B,OAAO,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;AACnD,CAAC"}
@@ -26,6 +26,8 @@
26
26
  */
27
27
  import { Server } from '@modelcontextprotocol/sdk/server/index.js';
28
28
  import type { ToolKernel } from './kernel.js';
29
+ import type { AgentRegistry } from './daemon.js';
30
+ import type { DaemonConfig } from './daemonConfig.js';
29
31
  export interface HttpServerOptions {
30
32
  port: number;
31
33
  authToken?: string;
@@ -36,6 +38,8 @@ export interface HttpServerOptions {
36
38
  rateLimitRpm?: number;
37
39
  isDaemon?: boolean;
38
40
  configLicenseKey?: string;
41
+ agentRegistry?: AgentRegistry;
42
+ daemonConfig?: DaemonConfig;
39
43
  }
40
44
  /**
41
45
  * Handle returned by startHttpServer for lifecycle management.
@@ -1 +1 @@
1
- {"version":3,"file":"httpServer.d.ts","sourceRoot":"","sources":["../src/httpServer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAIH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAOnE,OAAO,KAAK,EAAE,UAAU,EAAmB,MAAM,aAAa,CAAC;AA2b/D,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,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