total-recall-brain 3.34.1 → 3.36.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.
Files changed (69) hide show
  1. package/bin/total-recall.mjs +17 -4
  2. package/docs/reference/cli-reference.md +5 -1
  3. package/frontend/dist/assets/{index-BPrkIYkZ.js → index-DZ4ypNEl.js} +135 -135
  4. package/frontend/dist/brand/plugins/phone.svg +20 -0
  5. package/frontend/dist/index.html +1 -1
  6. package/frontend/src/App.tsx +3 -30
  7. package/frontend/src/api/plugins.ts +18 -0
  8. package/frontend/src/components/plugins/previews/CodeQualityPreview.tsx +78 -86
  9. package/frontend/src/components/plugins/previews/ComposableCliPreview.tsx +74 -84
  10. package/frontend/src/components/plugins/previews/DecisionPreview.tsx +158 -106
  11. package/frontend/src/components/plugins/previews/DesignPreview.tsx +109 -75
  12. package/frontend/src/components/plugins/previews/DomainsPreview.tsx +69 -88
  13. package/frontend/src/components/plugins/previews/ImageGeneratorPreview.tsx +286 -0
  14. package/frontend/src/components/plugins/previews/PhonePreview.tsx +490 -76
  15. package/frontend/src/components/plugins/previews/SigningPreview.tsx +164 -50
  16. package/frontend/src/components/plugins/previews/TextPreview.tsx +85 -86
  17. package/frontend/src/components/plugins/previews/UserAutomationsPreview.tsx +30 -0
  18. package/frontend/src/components/plugins/previews/index.tsx +6 -1
  19. package/frontend/src/pages/PluginsPage.tsx +603 -136
  20. package/package.json +2 -5
  21. package/scaffold/.agent/skills/plugins/SKILL.md +200 -6
  22. package/scaffold/.agent/skills/total-recall/SKILL.md +1 -1
  23. package/src/cli/context.mjs +15 -0
  24. package/src/cli/plugin/create.mjs +156 -11
  25. package/src/cli/plugin/index.mjs +5 -0
  26. package/src/core/embeddings.mjs +2 -0
  27. package/src/core/plugin-loader.mjs +18 -3
  28. package/src/core/plugin-store.mjs +122 -11
  29. package/src/core/skill-optimizer.mjs +1 -1
  30. package/src/core/surface.mjs +29 -1
  31. package/src/core/vault.mjs +6 -2
  32. package/src/server/route-manifest.json +22 -2
  33. package/src/server/routes/plugins-mesh.mjs +9 -1
  34. package/src/server/routes/plugins.mjs +65 -1
  35. package/frontend/src/pages/AutomationsPage.spec.tsx +0 -61
  36. package/frontend/src/pages/AutomationsPage.tsx +0 -354
  37. package/plugins/creative-search/README.md +0 -33
  38. package/plugins/creative-search/cli.mjs +0 -415
  39. package/plugins/creative-search/config.mjs +0 -129
  40. package/plugins/creative-search/generator.mjs +0 -13
  41. package/plugins/creative-search/plugin.json +0 -61
  42. package/plugins/creative-search/ui/DESIGN.md +0 -50
  43. package/plugins/creative-search/ui/csearch-main.js +0 -314
  44. package/plugins/creative-search/ui/csearch-settings.js +0 -392
  45. package/plugins/creative-search/ui/index.js +0 -2
  46. package/plugins/creative-search/ui/tokens.css +0 -34
  47. package/plugins/dsh/README.md +0 -20
  48. package/plugins/dsh/cli.mjs +0 -232
  49. package/plugins/dsh/generator.mjs +0 -65
  50. package/plugins/dsh/plugin.json +0 -57
  51. package/plugins/dsh/ui/DESIGN.md +0 -48
  52. package/plugins/dsh/ui/dsh-main.js +0 -226
  53. package/plugins/dsh/ui/dsh-status.js +0 -265
  54. package/plugins/dsh/ui/index.js +0 -2
  55. package/plugins/dsh/ui/tokens.css +0 -32
  56. package/plugins/git-sentinel/README.md +0 -29
  57. package/plugins/git-sentinel/cli.mjs +0 -89
  58. package/plugins/git-sentinel/plugin.json +0 -18
  59. package/plugins/operator-alerts/README.md +0 -32
  60. package/plugins/operator-alerts/cli.mjs +0 -57
  61. package/plugins/operator-alerts/notify-core.mjs +0 -216
  62. package/plugins/operator-alerts/plugin.json +0 -20
  63. package/plugins/skill-manager/README.md +0 -30
  64. package/plugins/skill-manager/cli.mjs +0 -104
  65. package/plugins/skill-manager/plugin.json +0 -24
  66. package/plugins/system-monitor/README.md +0 -28
  67. package/plugins/system-monitor/cli.mjs +0 -80
  68. package/plugins/system-monitor/generator.mjs +0 -19
  69. package/plugins/system-monitor/plugin.json +0 -29
@@ -110,7 +110,20 @@ const COMMANDS = {
110
110
  scaffold: 'plugin/scaffold-cmd.mjs',
111
111
  'scaffold-plugin': 'plugin/scaffold-cmd.mjs',
112
112
  };
113
- function printHelp() {
113
+ async function printHelp() {
114
+ let pluginsSection = '';
115
+ try {
116
+ const { discoverPlugins } = await import('../src/core/plugin-loader.mjs');
117
+ const plugins = discoverPlugins(process.cwd()).filter((p) => p.valid);
118
+ if (plugins.length > 0) {
119
+ pluginsSection = '\n Installed Plugins:\n' + plugins.map((p) => {
120
+ const cmd = (p.manifest.cli?.command || p.id).padEnd(19, ' ');
121
+ const desc = p.manifest.description ? (p.manifest.description.length > 55 ? p.manifest.description.slice(0, 52) + '…' : p.manifest.description) : 'Plugin capability';
122
+ return ` ${cmd} ${desc}`;
123
+ }).join('\n') + '\n';
124
+ }
125
+ } catch {}
126
+
114
127
  console.log(`
115
128
  total-recall — Portable personal memory for any IDE
116
129
 
@@ -127,7 +140,7 @@ function printHelp() {
127
140
  task <cmd> Enqueue daemon work (open envelope)
128
141
  daemon <cmd> Background worker (start|stop|status)
129
142
  skill <cmd> Skills registry, deploy, multi-repo sync
130
- plugin <cmd> Plugin manager: list, install, remove, info
143
+ plugin <cmd> Plugin manager: list, install, search, remove, info
131
144
  secret <cmd> Secrets store + usage (not the vault)
132
145
  mesh <cmd> Control-server mesh: nodes, ACL policy, Tailscale SSH
133
146
  harness <cmd> Meta-harness orchestration & council across IDEs & local LLMs
@@ -135,7 +148,7 @@ function printHelp() {
135
148
  brain <cmd> Register / ensure any project brain
136
149
  status / doctor Health and diagnostics
137
150
  startup check|ensure Readiness checks / missing managed local runtime start
138
-
151
+ ${pluginsSection}
139
152
  Optional:
140
153
  update [--apply] Auto-download total-recall-brain for registered repos
141
154
  research, share, ingest, import, export, relay, setup, deploy,
@@ -163,7 +176,7 @@ async function main() {
163
176
  const command = args[0];
164
177
 
165
178
  if (!command || command === '--help' || command === '-h') {
166
- printHelp();
179
+ await printHelp();
167
180
  process.exit(0);
168
181
  }
169
182
 
@@ -101,7 +101,11 @@ CLI and API default to 4,000 estimated tokens. The CLI defaults to compact text;
101
101
  are opt-in (`--knowledge`; API `include_knowledge: true`). Diagnostic inventories
102
102
  require `--debug --format json` (API `debug: true`), within the same budget.
103
103
  Unknown applicability remains required. `ready: false` and exit 2 mean the full
104
- complete output exceeds the budget; never act from a truncated capsule. Status,
104
+ complete output exceeds the budget; never act from a truncated capsule. Default
105
+ CLI failures emit a compact diagnostic and explicit `required_budget`, without
106
+ rule bodies. Re-run with that budget or curate applicability before acting.
107
+ Successful capsules remain complete; explicit debug and API output preserve the
108
+ full diagnostic contract. Status,
105
109
  metadata, JSON escaping, headings and separators all count. Refresh on task/action/project/rule/skill changes.
106
110
  Validated memory tags `context:universal` and `context:action:<action>` curate
107
111
  activation separately from modality. Unknown actions activate rules conservatively.