total-recall-brain 3.28.2 → 3.30.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 +24 -1
- package/docs/ARCHITECTURE.md +26 -18
- package/extension/background.js +259 -84
- package/extension/content-script.css +7 -13
- package/extension/content-script.js +252 -477
- package/extension/icons/icon-128.png +0 -0
- package/extension/icons/icon-16.png +0 -0
- package/extension/icons/icon-32.png +0 -0
- package/extension/icons/icon-48.png +0 -0
- package/extension/icons/mark.svg +6 -0
- package/extension/lib/brain-client.js +160 -73
- package/extension/lib/tokens.css +187 -0
- package/extension/lib/ui-helpers.js +229 -0
- package/extension/lib/ui-helpers.spec.mjs +94 -0
- package/extension/manifest.json +20 -5
- package/extension/options/options.css +64 -218
- package/extension/options/options.html +91 -43
- package/extension/options/options.js +208 -85
- package/extension/sidepanel/sidepanel.css +268 -970
- package/extension/sidepanel/sidepanel.html +200 -166
- package/extension/sidepanel/sidepanel.js +788 -942
- package/frontend/dist/assets/index-DGMNZi_1.js +5742 -0
- package/frontend/dist/index.html +1 -1
- package/frontend/src/api/plugins.ts +124 -92
- package/frontend/src/components/ResearchAgendaTab.spec.tsx +11 -0
- package/frontend/src/components/ResearchAgendaTab.tsx +19 -14
- package/frontend/src/pages/PluginsPage.spec.tsx +87 -16
- package/frontend/src/pages/PluginsPage.tsx +454 -1218
- package/package.json +2 -1
- package/plugins/code-quality/README.md +25 -0
- package/plugins/code-quality/cli.mjs +25 -0
- package/plugins/code-quality/plugin.json +17 -0
- package/plugins/git-sentinel/README.md +27 -0
- package/{scaffold/.agent/plugins → plugins}/git-sentinel/cli.mjs +8 -5
- package/plugins/git-sentinel/plugin.json +18 -0
- package/plugins/system-monitor/README.md +26 -0
- package/{scaffold/.agent/plugins → plugins}/system-monitor/cli.mjs +5 -4
- package/{scaffold/.agent/plugins → plugins}/system-monitor/generator.mjs +4 -5
- package/plugins/system-monitor/plugin.json +29 -0
- package/scaffold/.agent/skills/meta-harness/SKILL.md +4 -4
- package/scaffold/.agent/skills/plugins/SKILL.md +53 -0
- package/scaffold/.agent/skills/total-recall/scripts/brain-state.json +1 -0
- package/src/cli/agent.mjs +1 -1
- package/src/cli/app/index.mjs +493 -0
- package/src/cli/brain.mjs +33 -3
- package/src/cli/command.mjs +80 -41
- package/src/cli/harness.mjs +1 -1
- package/src/cli/init.mjs +3 -1
- package/src/cli/mesh.mjs +118 -12
- package/src/cli/plugin/create.mjs +144 -25
- package/src/cli/plugin/index.mjs +83 -53
- package/src/cli/plugin/install.mjs +10 -127
- package/src/cli/plugin/list.mjs +44 -44
- package/src/cli/plugin/remove.mjs +23 -30
- package/src/cli/plugin/scaffold-cmd.mjs +30 -0
- package/src/cli/plugin/search.mjs +108 -23
- package/src/cli/rebuild.mjs +37 -1
- package/src/cli/recall.mjs +17 -2
- package/src/cli/research.mjs +4 -6
- package/src/cli/share.mjs +2 -0
- package/src/core/app-deploy/apply.mjs +386 -0
- package/src/core/app-deploy/design-tokens.mjs +217 -0
- package/src/core/app-deploy/plan.mjs +249 -0
- package/src/core/app-deploy/resolve.mjs +295 -0
- package/src/core/app-deploy/source.mjs +337 -0
- package/src/core/app-deploy/standalone.mjs +248 -0
- package/src/core/app-deploy/upgrade.mjs +256 -0
- package/src/core/app-deploy/verify.mjs +213 -0
- package/src/core/bound-hosts.mjs +1 -1
- package/src/core/brain-registry.mjs +146 -0
- package/src/core/brain-state.json +1 -0
- package/src/core/daemon-loop.mjs +30 -26
- package/src/core/dream.mjs +5 -17
- package/src/core/fact-seeker.mjs +53 -368
- package/src/core/lan-discovery.mjs +3 -3
- package/src/core/mesh-access-sync.mjs +134 -0
- package/src/core/mesh-access.mjs +18 -3
- package/src/core/mesh-discover.mjs +173 -0
- package/src/core/mesh.mjs +131 -32
- package/src/core/optimizer.mjs +4 -41
- package/src/core/plugin-bundle.mjs +167 -0
- package/src/core/plugin-context.mjs +8 -13
- package/src/core/plugin-loader.mjs +272 -68
- package/src/core/plugin-peers.mjs +163 -0
- package/src/core/plugin-public.mjs +85 -0
- package/src/core/plugin-runner-child.mjs +24 -0
- package/src/core/plugin-runner.mjs +102 -0
- package/src/core/plugin-store.mjs +384 -0
- package/src/core/plugin-tasks.mjs +212 -0
- package/src/core/post-mortem.mjs +40 -9
- package/src/core/research-gate.mjs +182 -0
- package/src/core/research-queue.mjs +47 -7
- package/src/core/research-surface.mjs +211 -0
- package/src/core/research.mjs +25 -32
- package/src/core/scheduler.mjs +67 -153
- package/src/core/schema.mjs +129 -0
- package/src/core/search.mjs +12 -1
- package/src/core/secret-integration-research.mjs +12 -8
- package/src/core/secrets-store.mjs +32 -2
- package/src/core/session-watcher.mjs +6 -0
- package/src/core/surface.mjs +64 -3
- package/src/core/task-executors.mjs +8 -45
- package/src/core/vault-cache.mjs +70 -4
- package/src/server/api.mjs +21 -0
- package/src/server/rest.mjs +2 -0
- package/src/server/route-manifest.json +21 -5
- package/src/server/routes/collab.mjs +38 -11
- package/src/server/routes/extension.mjs +3 -2
- package/src/server/routes/memory.mjs +24 -2
- package/src/server/routes/mesh.mjs +7 -7
- package/src/server/routes/plugins-mesh.mjs +49 -0
- package/src/server/routes/plugins.mjs +91 -426
- package/src/server/routes/research.mjs +5 -2
- package/src/server/routes/share.mjs +2 -0
- package/src/server/tools.mjs +29 -2
- package/extension/icons/README.md +0 -27
- package/extension/lib/preconfigured.js +0 -5
- package/extension/popup/popup.css +0 -227
- package/extension/popup/popup.html +0 -50
- package/extension/popup/popup.js +0 -175
- package/frontend/dist/assets/index-U7o-qU99.js +0 -5742
- package/scaffold/.agent/plugins/.gitkeep +0 -0
- package/scaffold/.agent/plugins/code-quality/README.md +0 -16
- package/scaffold/.agent/plugins/code-quality/cli.mjs +0 -15
- package/scaffold/.agent/plugins/code-quality/plugin.json +0 -34
- package/scaffold/.agent/plugins/git-sentinel/README.md +0 -16
- package/scaffold/.agent/plugins/git-sentinel/plugin.json +0 -34
- package/scaffold/.agent/plugins/meta-harness/README.md +0 -16
- package/scaffold/.agent/plugins/meta-harness/cli.mjs +0 -34
- package/scaffold/.agent/plugins/meta-harness/plugin.json +0 -34
- package/scaffold/.agent/plugins/system-monitor/README.md +0 -16
- package/scaffold/.agent/plugins/system-monitor/plugin.json +0 -38
|
File without changes
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Code Quality & SSSS Conformance
|
|
2
|
-
|
|
3
|
-
> Local-first code quality gates, SSSS schema verification, and invariant enforcement
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx total-recall plugin install ./.agent/plugins/code-quality --link
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Features
|
|
12
|
-
|
|
13
|
-
- **Identifier**: `code-quality`
|
|
14
|
-
- **Version**: 1.0.0
|
|
15
|
-
- **SSSS Category**: `quality-gates`
|
|
16
|
-
- **CLI Command**: `npx total-recall code-quality`
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { execFileSync } from 'node:child_process';
|
|
3
|
-
import path from 'node:path';
|
|
4
|
-
|
|
5
|
-
export async function run(argv = []) {
|
|
6
|
-
const scriptPath = path.resolve(process.cwd(), '.agent/skills/code-quality/scripts/report.mjs');
|
|
7
|
-
try {
|
|
8
|
-
const out = execFileSync('node', [scriptPath], { encoding: 'utf8' });
|
|
9
|
-
console.log(out);
|
|
10
|
-
} catch (err) {
|
|
11
|
-
console.error('Failed to run code-quality report:', err.message);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default run;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://github.com/total-recall/total-recall/blob/main/metadata.plugin.schema.json",
|
|
3
|
-
"id": "code-quality",
|
|
4
|
-
"name": "Code Quality & SSSS Conformance",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Local-first code quality gates, SSSS schema verification, and invariant enforcement",
|
|
7
|
-
"author": "Total Recall Ecosystem",
|
|
8
|
-
"license": "MIT",
|
|
9
|
-
"ssss_schemas": {
|
|
10
|
-
"categories": [
|
|
11
|
-
{
|
|
12
|
-
"name": "quality-gates",
|
|
13
|
-
"description": "Custom quality-gates memory nodes for Code Quality & SSSS Conformance",
|
|
14
|
-
"node_type": "memory"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"cli": {
|
|
19
|
-
"command": "code-quality",
|
|
20
|
-
"handler": "./cli.mjs",
|
|
21
|
-
"subcommands": [
|
|
22
|
-
{
|
|
23
|
-
"name": "status",
|
|
24
|
-
"description": "Show Code Quality & SSSS Conformance status"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"tasks": [
|
|
29
|
-
{
|
|
30
|
-
"intent": "Periodic health verification for code-quality",
|
|
31
|
-
"schedule": "0 * * * *"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Git Sentinel & Repo Watchdog
|
|
2
|
-
|
|
3
|
-
> Continuous repository auditor checking dirty worktrees, unpushed commits, and stale branches
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx total-recall plugin install ./.agent/plugins/git-sentinel --link
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Features
|
|
12
|
-
|
|
13
|
-
- **Identifier**: `git-sentinel`
|
|
14
|
-
- **Version**: 1.0.0
|
|
15
|
-
- **SSSS Category**: `repo-audits`
|
|
16
|
-
- **CLI Command**: `npx total-recall git-sentinel`
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://github.com/total-recall/total-recall/blob/main/metadata.plugin.schema.json",
|
|
3
|
-
"id": "git-sentinel",
|
|
4
|
-
"name": "Git Sentinel & Repo Watchdog",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Continuous repository auditor checking dirty worktrees, unpushed commits, and stale branches",
|
|
7
|
-
"author": "Total Recall Ecosystem",
|
|
8
|
-
"license": "MIT",
|
|
9
|
-
"ssss_schemas": {
|
|
10
|
-
"categories": [
|
|
11
|
-
{
|
|
12
|
-
"name": "repo-audits",
|
|
13
|
-
"description": "Custom repo-audits memory nodes for Git Sentinel & Repo Watchdog",
|
|
14
|
-
"node_type": "memory"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"cli": {
|
|
19
|
-
"command": "git-sentinel",
|
|
20
|
-
"handler": "./cli.mjs",
|
|
21
|
-
"subcommands": [
|
|
22
|
-
{
|
|
23
|
-
"name": "status",
|
|
24
|
-
"description": "Show Git Sentinel & Repo Watchdog status"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"tasks": [
|
|
29
|
-
{
|
|
30
|
-
"intent": "Periodic health verification for git-sentinel",
|
|
31
|
-
"schedule": "0 * * * *"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Meta Harness & Agent Orchestrator
|
|
2
|
-
|
|
3
|
-
> Orchestrates and delegates tasks across connected AI harnesses (Antigravity, Claude Code, Codex, Ollama)
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx total-recall plugin install ./.agent/plugins/meta-harness --link
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Features
|
|
12
|
-
|
|
13
|
-
- **Identifier**: `meta-harness`
|
|
14
|
-
- **Version**: 1.0.0
|
|
15
|
-
- **SSSS Category**: `mesh-delegations`
|
|
16
|
-
- **CLI Command**: `npx total-recall meta-harness`
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { auditClusterCapabilities, HARNESS_SPECS } from '../../../src/core/meta-harness.mjs';
|
|
3
|
-
|
|
4
|
-
export async function run(argv = []) {
|
|
5
|
-
const args = Array.isArray(argv) ? argv.slice(2) : [];
|
|
6
|
-
const clean = args.filter(a => a !== 'meta-harness' && a !== 'harness');
|
|
7
|
-
const isJson = clean.includes('--json');
|
|
8
|
-
const sub = clean.find(a => !a.startsWith('--')) || 'status';
|
|
9
|
-
|
|
10
|
-
if (sub === 'status' || sub === 'audit' || sub === 'list') {
|
|
11
|
-
const report = auditClusterCapabilities();
|
|
12
|
-
if (isJson) {
|
|
13
|
-
console.log(JSON.stringify(report, null, 2));
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
console.log('\n🤖 Total Recall — Meta Harness Runtimes & Agent Ecosystem\n');
|
|
18
|
-
console.log(` Local Host Architecture: ${report.local.arch}`);
|
|
19
|
-
console.log(` Total Harnesses Known: ${report.local.harnesses.length}\n`);
|
|
20
|
-
|
|
21
|
-
for (const h of report.local.harnesses) {
|
|
22
|
-
const icon = h.available ? '✅ Available ' : '❌ Not Found ';
|
|
23
|
-
const pathStr = h.binaryPath ? `(${h.binaryPath})` : '';
|
|
24
|
-
console.log(` ${icon} \x1b[1;36m${h.id.padEnd(8)}\x1b[0m ${h.name} ${pathStr}`);
|
|
25
|
-
console.log(` Role: ${h.category} | ${h.description}`);
|
|
26
|
-
}
|
|
27
|
-
console.log('\n Run dispatch: npx total-recall harness dispatch <harness> "<prompt>"\n');
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
console.log('\nUsage: npx total-recall harness [status|audit]\n');
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export default run;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://github.com/total-recall/total-recall/blob/main/metadata.plugin.schema.json",
|
|
3
|
-
"id": "meta-harness",
|
|
4
|
-
"name": "Meta Harness & Agent Orchestrator",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Orchestrates and delegates tasks across connected AI harnesses (Antigravity, Claude Code, Codex, Ollama)",
|
|
7
|
-
"author": "Total Recall Ecosystem",
|
|
8
|
-
"license": "MIT",
|
|
9
|
-
"ssss_schemas": {
|
|
10
|
-
"categories": [
|
|
11
|
-
{
|
|
12
|
-
"name": "mesh-delegations",
|
|
13
|
-
"description": "Custom mesh-delegations memory nodes for Meta Harness & Agent Orchestrator",
|
|
14
|
-
"node_type": "memory"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"cli": {
|
|
19
|
-
"command": "meta-harness",
|
|
20
|
-
"handler": "./cli.mjs",
|
|
21
|
-
"subcommands": [
|
|
22
|
-
{
|
|
23
|
-
"name": "status",
|
|
24
|
-
"description": "Show Meta Harness & Agent Orchestrator status"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"tasks": [
|
|
29
|
-
{
|
|
30
|
-
"intent": "Periodic health verification for meta-harness",
|
|
31
|
-
"schedule": "0 * * * *"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# System Monitor & Telemetry
|
|
2
|
-
|
|
3
|
-
> Real-time host resource metrics, memory watchdog, and dynamic system telemetry context generator
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx total-recall plugin install ./.agent/plugins/system-monitor --link
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Features
|
|
12
|
-
|
|
13
|
-
- **Identifier**: `system-monitor`
|
|
14
|
-
- **Version**: 1.0.0
|
|
15
|
-
- **SSSS Category**: `system-metrics`
|
|
16
|
-
- **CLI Command**: `npx total-recall system-monitor`
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://github.com/total-recall/total-recall/blob/main/metadata.plugin.schema.json",
|
|
3
|
-
"id": "system-monitor",
|
|
4
|
-
"name": "System Monitor & Telemetry",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Real-time host resource metrics, memory watchdog, and dynamic system telemetry context generator",
|
|
7
|
-
"author": "Total Recall Ecosystem",
|
|
8
|
-
"license": "MIT",
|
|
9
|
-
"ssss_schemas": {
|
|
10
|
-
"categories": [
|
|
11
|
-
{
|
|
12
|
-
"name": "system-metrics",
|
|
13
|
-
"description": "Custom system-metrics memory nodes for System Monitor & Telemetry",
|
|
14
|
-
"node_type": "memory"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"cli": {
|
|
19
|
-
"command": "system-monitor",
|
|
20
|
-
"handler": "./cli.mjs",
|
|
21
|
-
"subcommands": [
|
|
22
|
-
{
|
|
23
|
-
"name": "status",
|
|
24
|
-
"description": "Show System Monitor & Telemetry status"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"compile": {
|
|
29
|
-
"generator": "./generator.mjs",
|
|
30
|
-
"auto": true
|
|
31
|
-
},
|
|
32
|
-
"tasks": [
|
|
33
|
-
{
|
|
34
|
-
"intent": "Periodic health verification for system-monitor",
|
|
35
|
-
"schedule": "0 * * * *"
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|