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.
- package/bin/total-recall.mjs +17 -4
- package/docs/reference/cli-reference.md +5 -1
- package/frontend/dist/assets/{index-BPrkIYkZ.js → index-DZ4ypNEl.js} +135 -135
- package/frontend/dist/brand/plugins/phone.svg +20 -0
- package/frontend/dist/index.html +1 -1
- package/frontend/src/App.tsx +3 -30
- package/frontend/src/api/plugins.ts +18 -0
- package/frontend/src/components/plugins/previews/CodeQualityPreview.tsx +78 -86
- package/frontend/src/components/plugins/previews/ComposableCliPreview.tsx +74 -84
- package/frontend/src/components/plugins/previews/DecisionPreview.tsx +158 -106
- package/frontend/src/components/plugins/previews/DesignPreview.tsx +109 -75
- package/frontend/src/components/plugins/previews/DomainsPreview.tsx +69 -88
- package/frontend/src/components/plugins/previews/ImageGeneratorPreview.tsx +286 -0
- package/frontend/src/components/plugins/previews/PhonePreview.tsx +490 -76
- package/frontend/src/components/plugins/previews/SigningPreview.tsx +164 -50
- package/frontend/src/components/plugins/previews/TextPreview.tsx +85 -86
- package/frontend/src/components/plugins/previews/UserAutomationsPreview.tsx +30 -0
- package/frontend/src/components/plugins/previews/index.tsx +6 -1
- package/frontend/src/pages/PluginsPage.tsx +603 -136
- package/package.json +2 -5
- package/scaffold/.agent/skills/plugins/SKILL.md +200 -6
- package/scaffold/.agent/skills/total-recall/SKILL.md +1 -1
- package/src/cli/context.mjs +15 -0
- package/src/cli/plugin/create.mjs +156 -11
- package/src/cli/plugin/index.mjs +5 -0
- package/src/core/embeddings.mjs +2 -0
- package/src/core/plugin-loader.mjs +18 -3
- package/src/core/plugin-store.mjs +122 -11
- package/src/core/skill-optimizer.mjs +1 -1
- package/src/core/surface.mjs +29 -1
- package/src/core/vault.mjs +6 -2
- package/src/server/route-manifest.json +22 -2
- package/src/server/routes/plugins-mesh.mjs +9 -1
- package/src/server/routes/plugins.mjs +65 -1
- package/frontend/src/pages/AutomationsPage.spec.tsx +0 -61
- package/frontend/src/pages/AutomationsPage.tsx +0 -354
- package/plugins/creative-search/README.md +0 -33
- package/plugins/creative-search/cli.mjs +0 -415
- package/plugins/creative-search/config.mjs +0 -129
- package/plugins/creative-search/generator.mjs +0 -13
- package/plugins/creative-search/plugin.json +0 -61
- package/plugins/creative-search/ui/DESIGN.md +0 -50
- package/plugins/creative-search/ui/csearch-main.js +0 -314
- package/plugins/creative-search/ui/csearch-settings.js +0 -392
- package/plugins/creative-search/ui/index.js +0 -2
- package/plugins/creative-search/ui/tokens.css +0 -34
- package/plugins/dsh/README.md +0 -20
- package/plugins/dsh/cli.mjs +0 -232
- package/plugins/dsh/generator.mjs +0 -65
- package/plugins/dsh/plugin.json +0 -57
- package/plugins/dsh/ui/DESIGN.md +0 -48
- package/plugins/dsh/ui/dsh-main.js +0 -226
- package/plugins/dsh/ui/dsh-status.js +0 -265
- package/plugins/dsh/ui/index.js +0 -2
- package/plugins/dsh/ui/tokens.css +0 -32
- package/plugins/git-sentinel/README.md +0 -29
- package/plugins/git-sentinel/cli.mjs +0 -89
- package/plugins/git-sentinel/plugin.json +0 -18
- package/plugins/operator-alerts/README.md +0 -32
- package/plugins/operator-alerts/cli.mjs +0 -57
- package/plugins/operator-alerts/notify-core.mjs +0 -216
- package/plugins/operator-alerts/plugin.json +0 -20
- package/plugins/skill-manager/README.md +0 -30
- package/plugins/skill-manager/cli.mjs +0 -104
- package/plugins/skill-manager/plugin.json +0 -24
- package/plugins/system-monitor/README.md +0 -28
- package/plugins/system-monitor/cli.mjs +0 -80
- package/plugins/system-monitor/generator.mjs +0 -19
- package/plugins/system-monitor/plugin.json +0 -29
package/bin/total-recall.mjs
CHANGED
|
@@ -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.
|
|
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.
|