total-recall-brain 3.43.3 → 3.44.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/docs/reference/cli-reference.md +3 -1
- package/package.json +3 -3
- package/scaffold/.agent/skills/plugin/SKILL.md +7 -2
- package/scaffold/.agent/skills/plugin/evals/README.md +5 -0
- package/scaffold/.agent/skills/plugin/evals/cases/01-fabricated-seed.mjs +1 -0
- package/scaffold/.agent/skills/plugin/evals/cases/02-reassuring-default.mjs +1 -0
- package/scaffold/.agent/skills/plugin/evals/cases/03-declared-template.mjs +1 -0
- package/scaffold/.agent/skills/plugin/evals/cases/04-card-collects-credential.mjs +1 -0
- package/scaffold/.agent/skills/plugin/evals/cases/05-host-leak-in-scaffold.mjs +1 -0
- package/scaffold/.agent/skills/plugin/evals/cases/06-correct-plugin.mjs +1 -0
- package/scaffold/.agent/skills/plugin/evals/cases/07-missing-reuse.mjs +11 -0
- package/scaffold/.agent/skills/plugin/evals/cases/08-unresolved-owner-command.mjs +12 -0
- package/scaffold/.agent/skills/plugin/evals/cases/09-missing-brick.mjs +12 -0
- package/scaffold/.agent/skills/plugin/prompts/01-function.md +4 -3
- package/scaffold/.agent/skills/plugin/prompts/08-verify.md +1 -0
- package/scaffold/.agent/skills/plugin/references/surfaces.md +12 -2
- package/scaffold/.agent/skills/plugin/scripts/record.mjs +59 -2
- package/scaffold/.agent/skills/total-recall/plugins/auth/README.md +8 -0
- package/scaffold/.agent/skills/total-recall/plugins/auth/package-lock.json +14 -13
- package/scaffold/.agent/skills/total-recall/plugins/auth/package.json +3 -3
- package/scaffold/.agent/skills/total-recall/plugins/auth/plugin.json +1 -1
- package/scaffold/.agent/skills/total-recall/plugins/auth/src/cli-gh-login.mjs +102 -0
- package/scaffold/.agent/skills/total-recall/plugins/auth/src/cli-secret.mjs +18 -1
- package/scaffold/.agent/skills/total-recall/plugins/auth/src/login-projections.mjs +157 -13
- package/scaffold/.agent/skills/total-recall/plugins/auth/src/secrets-sync.mjs +161 -17
- package/scaffold/.agent/skills/total-recall/plugins/code-quality/package-lock.json +14 -13
- package/scaffold/.agent/skills/total-recall/plugins/code-quality/package.json +3 -3
- package/scaffold/.agent/skills/total-recall/plugins/code-quality/plugin.json +1 -1
- package/scaffold/.agent/skills/total-recall/plugins/composable-cli/package-lock.json +14 -13
- package/scaffold/.agent/skills/total-recall/plugins/composable-cli/package.json +3 -3
- package/scaffold/.agent/skills/total-recall/plugins/composable-cli/plugin.json +1 -1
- package/scaffold/.agent/skills/total-recall/plugins/embeddings/package-lock.json +14 -13
- package/scaffold/.agent/skills/total-recall/plugins/embeddings/package.json +3 -3
- package/scaffold/.agent/skills/total-recall/plugins/embeddings/plugin.json +1 -1
- package/scaffold/.agent/skills/total-recall/plugins/git-sentinel/package-lock.json +14 -13
- package/scaffold/.agent/skills/total-recall/plugins/git-sentinel/package.json +3 -3
- package/scaffold/.agent/skills/total-recall/plugins/git-sentinel/plugin.json +1 -1
- package/scaffold/.agent/skills/total-recall/plugins/mesh/package-lock.json +14 -13
- package/scaffold/.agent/skills/total-recall/plugins/mesh/package.json +3 -3
- package/scaffold/.agent/skills/total-recall/plugins/mesh/plugin.json +1 -1
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/README.md +38 -5
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/cli.mjs +38 -7
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/package-lock.json +14 -13
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/package.json +3 -3
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/plugin.json +85 -3
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/skills/meta-harness/SKILL.md +2 -1
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/adoption.mjs +104 -0
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/cascade.mjs +12 -1
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/coordinator.mjs +15 -3
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/dispatch-request.mjs +38 -0
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/dispatch.mjs +42 -11
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/executor.mjs +40 -13
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/included-usage.mjs +249 -0
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/learner.mjs +3 -0
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/pool.mjs +16 -8
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/process-manager.mjs +1 -0
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/reasoning.mjs +5 -0
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/remote-operation.mjs +1 -1
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/router.mjs +27 -11
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/runtime.mjs +28 -6
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/usage-queue.mjs +110 -0
- package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/worker.mjs +322 -40
- package/scaffold/.agent/skills/total-recall/plugins/openwiki/package-lock.json +14 -13
- package/scaffold/.agent/skills/total-recall/plugins/openwiki/package.json +3 -3
- package/scaffold/.agent/skills/total-recall/plugins/openwiki/plugin.json +1 -1
- package/scaffold/.agent/skills/total-recall/plugins/security/package-lock.json +14 -13
- package/scaffold/.agent/skills/total-recall/plugins/security/package.json +3 -3
- package/scaffold/.agent/skills/total-recall/plugins/security/plugin.json +1 -1
- package/scaffold/.agent/skills/total-recall/plugins/ssss/assets/scaffold.json +5 -5
- package/scaffold/.agent/skills/total-recall/plugins/ssss/package-lock.json +6 -6
- package/scaffold/.agent/skills/total-recall/plugins/ssss/package.json +2 -2
- package/scaffold/.agent/skills/total-recall/plugins/ssss/plugin.json +1 -1
- package/src/cli/connect.mjs +2 -29
- package/src/cli/context.mjs +1 -0
- package/src/cli/ingest-okf.mjs +4 -4
- package/src/cli/release.mjs +4 -1
- package/src/cli/update.mjs +4 -1
- package/src/core/automatic-brain-updates.mjs +11 -6
- package/src/core/brain-updates.mjs +11 -1
- package/src/core/context-compactor.mjs +7 -2
- package/src/core/context-compiler.mjs +6 -1
- package/src/core/context-policy.mjs +7 -3
- package/src/core/daemon-control.mjs +22 -0
- package/src/core/global-brain-updates.mjs +1 -1
- package/src/core/mesh-brain-updates.mjs +2 -1
- package/src/core/server-restart.mjs +128 -7
- package/src/core/ssss-kernel-bridge.mjs +1 -2
- package/src/core/surface.mjs +3 -3
- package/src/core/task-context.mjs +9 -8
- package/src/core/validated-write.mjs +4 -0
- package/src/core/vault-files.mjs +8 -2
- package/src/core/vault.mjs +1 -1
- package/src/server/index.mjs +3 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tr-plugin-embeddings",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "tr-plugin-embeddings",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.3",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@gregiteen/ssss-cli": "0.14.
|
|
12
|
+
"@gregiteen/ssss-cli": "0.14.5"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"total-recall-brain": "3.
|
|
15
|
+
"total-recall-brain": "3.43.3"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"node_modules/@alcalzone/ansi-tokenize": {
|
|
@@ -715,9 +715,9 @@
|
|
|
715
715
|
"license": "MIT"
|
|
716
716
|
},
|
|
717
717
|
"node_modules/@gregiteen/ssss-cli": {
|
|
718
|
-
"version": "0.14.
|
|
719
|
-
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.
|
|
720
|
-
"integrity": "sha512-
|
|
718
|
+
"version": "0.14.5",
|
|
719
|
+
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.5.tgz",
|
|
720
|
+
"integrity": "sha512-qVEYOocnwn97uJ0eDzmuwN06CYsYWr2t3+iKylpisBHX4wlLWk7P8EmFFdBlx7NyKVIZDDeYT164Gd7/T8UGgw==",
|
|
721
721
|
"license": "ISC",
|
|
722
722
|
"bin": {
|
|
723
723
|
"ssss": "scripts/ssss.mjs"
|
|
@@ -1590,9 +1590,9 @@
|
|
|
1590
1590
|
},
|
|
1591
1591
|
"node_modules/@ssss/cli": {
|
|
1592
1592
|
"name": "@gregiteen/ssss-cli",
|
|
1593
|
-
"version": "0.14.
|
|
1594
|
-
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.
|
|
1595
|
-
"integrity": "sha512-
|
|
1593
|
+
"version": "0.14.5",
|
|
1594
|
+
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.5.tgz",
|
|
1595
|
+
"integrity": "sha512-qVEYOocnwn97uJ0eDzmuwN06CYsYWr2t3+iKylpisBHX4wlLWk7P8EmFFdBlx7NyKVIZDDeYT164Gd7/T8UGgw==",
|
|
1596
1596
|
"dev": true,
|
|
1597
1597
|
"license": "ISC",
|
|
1598
1598
|
"bin": {
|
|
@@ -5539,9 +5539,9 @@
|
|
|
5539
5539
|
}
|
|
5540
5540
|
},
|
|
5541
5541
|
"node_modules/total-recall-brain": {
|
|
5542
|
-
"version": "3.
|
|
5543
|
-
"resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.
|
|
5544
|
-
"integrity": "sha512-
|
|
5542
|
+
"version": "3.43.3",
|
|
5543
|
+
"resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.43.3.tgz",
|
|
5544
|
+
"integrity": "sha512-yjfPN/BQxEEa+iodyFXQov/6fRt1pZg/7RcmgsbpALwBt6Ki3JJjT3tzArBC7NxHQmXgGYyKnCYId6xe/W2rPg==",
|
|
5545
5545
|
"dev": true,
|
|
5546
5546
|
"license": "MIT",
|
|
5547
5547
|
"workspaces": [
|
|
@@ -5572,6 +5572,7 @@
|
|
|
5572
5572
|
"antigravity": "bin/antigravity.mjs",
|
|
5573
5573
|
"total-recall": "bin/total-recall.mjs",
|
|
5574
5574
|
"total-recall-memory": "bin/total-recall-memory.mjs",
|
|
5575
|
+
"total-recall-server-release": "bin/total-recall-server-release.mjs",
|
|
5575
5576
|
"vibebrain": "bin/total-recall.mjs"
|
|
5576
5577
|
},
|
|
5577
5578
|
"optionalDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tr-plugin-embeddings",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Local embedding model management: provider/model status, benchmark, index build and coverage",
|
|
6
6
|
"scripts": {
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"ui/"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@gregiteen/ssss-cli": "0.14.
|
|
19
|
+
"@gregiteen/ssss-cli": "0.14.5"
|
|
20
20
|
},
|
|
21
21
|
"overrides": {
|
|
22
|
-
"@ssss/cli": "npm:@gregiteen/ssss-cli@0.14.
|
|
22
|
+
"@ssss/cli": "npm:@gregiteen/ssss-cli@0.14.5"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://github.com/gregiteen/total-recall/blob/main/metadata.plugin.schema.json",
|
|
3
3
|
"id": "embeddings",
|
|
4
4
|
"name": "Embeddings",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.3",
|
|
6
6
|
"description": "Local embedding model management: provider/model status, benchmark, index build and coverage",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"branding": {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tr-plugin-git-sentinel",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "tr-plugin-git-sentinel",
|
|
9
|
-
"version": "1.1.
|
|
9
|
+
"version": "1.1.5",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@gregiteen/ssss-cli": "0.14.
|
|
12
|
+
"@gregiteen/ssss-cli": "0.14.5"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"total-recall-brain": "3.
|
|
15
|
+
"total-recall-brain": "3.43.3",
|
|
16
16
|
"vitest": "^4.1.10"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
@@ -716,9 +716,9 @@
|
|
|
716
716
|
"license": "MIT"
|
|
717
717
|
},
|
|
718
718
|
"node_modules/@gregiteen/ssss-cli": {
|
|
719
|
-
"version": "0.14.
|
|
720
|
-
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.
|
|
721
|
-
"integrity": "sha512-
|
|
719
|
+
"version": "0.14.5",
|
|
720
|
+
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.5.tgz",
|
|
721
|
+
"integrity": "sha512-qVEYOocnwn97uJ0eDzmuwN06CYsYWr2t3+iKylpisBHX4wlLWk7P8EmFFdBlx7NyKVIZDDeYT164Gd7/T8UGgw==",
|
|
722
722
|
"license": "ISC",
|
|
723
723
|
"bin": {
|
|
724
724
|
"ssss": "scripts/ssss.mjs"
|
|
@@ -1888,9 +1888,9 @@
|
|
|
1888
1888
|
},
|
|
1889
1889
|
"node_modules/@ssss/cli": {
|
|
1890
1890
|
"name": "@gregiteen/ssss-cli",
|
|
1891
|
-
"version": "0.14.
|
|
1892
|
-
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.
|
|
1893
|
-
"integrity": "sha512-
|
|
1891
|
+
"version": "0.14.5",
|
|
1892
|
+
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.5.tgz",
|
|
1893
|
+
"integrity": "sha512-qVEYOocnwn97uJ0eDzmuwN06CYsYWr2t3+iKylpisBHX4wlLWk7P8EmFFdBlx7NyKVIZDDeYT164Gd7/T8UGgw==",
|
|
1894
1894
|
"dev": true,
|
|
1895
1895
|
"license": "ISC",
|
|
1896
1896
|
"bin": {
|
|
@@ -6533,9 +6533,9 @@
|
|
|
6533
6533
|
}
|
|
6534
6534
|
},
|
|
6535
6535
|
"node_modules/total-recall-brain": {
|
|
6536
|
-
"version": "3.
|
|
6537
|
-
"resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.
|
|
6538
|
-
"integrity": "sha512-
|
|
6536
|
+
"version": "3.43.3",
|
|
6537
|
+
"resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.43.3.tgz",
|
|
6538
|
+
"integrity": "sha512-yjfPN/BQxEEa+iodyFXQov/6fRt1pZg/7RcmgsbpALwBt6Ki3JJjT3tzArBC7NxHQmXgGYyKnCYId6xe/W2rPg==",
|
|
6539
6539
|
"dev": true,
|
|
6540
6540
|
"license": "MIT",
|
|
6541
6541
|
"workspaces": [
|
|
@@ -6566,6 +6566,7 @@
|
|
|
6566
6566
|
"antigravity": "bin/antigravity.mjs",
|
|
6567
6567
|
"total-recall": "bin/total-recall.mjs",
|
|
6568
6568
|
"total-recall-memory": "bin/total-recall-memory.mjs",
|
|
6569
|
+
"total-recall-server-release": "bin/total-recall-server-release.mjs",
|
|
6569
6570
|
"vibebrain": "bin/total-recall.mjs"
|
|
6570
6571
|
},
|
|
6571
6572
|
"optionalDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tr-plugin-git-sentinel",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Reports the state of the current git repository: branch, dirty files, unpushed commits and stashes.",
|
|
6
6
|
"scripts": {
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@gregiteen/ssss-cli": "0.14.
|
|
22
|
+
"@gregiteen/ssss-cli": "0.14.5"
|
|
23
23
|
},
|
|
24
24
|
"overrides": {
|
|
25
|
-
"@ssss/cli": "npm:@gregiteen/ssss-cli@0.14.
|
|
25
|
+
"@ssss/cli": "npm:@gregiteen/ssss-cli@0.14.5"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://github.com/gregiteen/total-recall/blob/main/metadata.plugin.schema.json",
|
|
3
3
|
"id": "git-sentinel",
|
|
4
4
|
"name": "Git Sentinel",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.5",
|
|
6
6
|
"description": "Worktree hygiene, branch inspection, unpushed commits, and stash tracker.",
|
|
7
7
|
"author": "Total Recall",
|
|
8
8
|
"license": "MIT",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tr-plugin-mesh",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "tr-plugin-mesh",
|
|
9
|
-
"version": "0.2.
|
|
9
|
+
"version": "0.2.9",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@gregiteen/ssss-cli": "0.14.
|
|
12
|
+
"@gregiteen/ssss-cli": "0.14.5",
|
|
13
13
|
"express": "^5.2.1"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"jsdom": "^29.1.1",
|
|
17
17
|
"supertest": "^7.3.1",
|
|
18
|
-
"total-recall-brain": "3.
|
|
18
|
+
"total-recall-brain": "3.43.3",
|
|
19
19
|
"vitest": "^4.1.12"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
@@ -941,9 +941,9 @@
|
|
|
941
941
|
}
|
|
942
942
|
},
|
|
943
943
|
"node_modules/@gregiteen/ssss-cli": {
|
|
944
|
-
"version": "0.14.
|
|
945
|
-
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.
|
|
946
|
-
"integrity": "sha512-
|
|
944
|
+
"version": "0.14.5",
|
|
945
|
+
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.5.tgz",
|
|
946
|
+
"integrity": "sha512-qVEYOocnwn97uJ0eDzmuwN06CYsYWr2t3+iKylpisBHX4wlLWk7P8EmFFdBlx7NyKVIZDDeYT164Gd7/T8UGgw==",
|
|
947
947
|
"license": "ISC",
|
|
948
948
|
"bin": {
|
|
949
949
|
"ssss": "scripts/ssss.mjs"
|
|
@@ -2136,9 +2136,9 @@
|
|
|
2136
2136
|
},
|
|
2137
2137
|
"node_modules/@ssss/cli": {
|
|
2138
2138
|
"name": "@gregiteen/ssss-cli",
|
|
2139
|
-
"version": "0.14.
|
|
2140
|
-
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.
|
|
2141
|
-
"integrity": "sha512-
|
|
2139
|
+
"version": "0.14.5",
|
|
2140
|
+
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.5.tgz",
|
|
2141
|
+
"integrity": "sha512-qVEYOocnwn97uJ0eDzmuwN06CYsYWr2t3+iKylpisBHX4wlLWk7P8EmFFdBlx7NyKVIZDDeYT164Gd7/T8UGgw==",
|
|
2142
2142
|
"dev": true,
|
|
2143
2143
|
"license": "ISC",
|
|
2144
2144
|
"bin": {
|
|
@@ -7177,9 +7177,9 @@
|
|
|
7177
7177
|
}
|
|
7178
7178
|
},
|
|
7179
7179
|
"node_modules/total-recall-brain": {
|
|
7180
|
-
"version": "3.
|
|
7181
|
-
"resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.
|
|
7182
|
-
"integrity": "sha512-
|
|
7180
|
+
"version": "3.43.3",
|
|
7181
|
+
"resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.43.3.tgz",
|
|
7182
|
+
"integrity": "sha512-yjfPN/BQxEEa+iodyFXQov/6fRt1pZg/7RcmgsbpALwBt6Ki3JJjT3tzArBC7NxHQmXgGYyKnCYId6xe/W2rPg==",
|
|
7183
7183
|
"dev": true,
|
|
7184
7184
|
"license": "MIT",
|
|
7185
7185
|
"workspaces": [
|
|
@@ -7210,6 +7210,7 @@
|
|
|
7210
7210
|
"antigravity": "bin/antigravity.mjs",
|
|
7211
7211
|
"total-recall": "bin/total-recall.mjs",
|
|
7212
7212
|
"total-recall-memory": "bin/total-recall-memory.mjs",
|
|
7213
|
+
"total-recall-server-release": "bin/total-recall-server-release.mjs",
|
|
7213
7214
|
"vibebrain": "bin/total-recall.mjs"
|
|
7214
7215
|
},
|
|
7215
7216
|
"optionalDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tr-plugin-mesh",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Headscale and Tailscale SSH control-server mesh administration and node discovery",
|
|
6
6
|
"scripts": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"express": "^5.2.1",
|
|
13
|
-
"@gregiteen/ssss-cli": "0.14.
|
|
13
|
+
"@gregiteen/ssss-cli": "0.14.5"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
16
|
"cli.mjs",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"!src/**/*.test.mjs"
|
|
25
25
|
],
|
|
26
26
|
"overrides": {
|
|
27
|
-
"@ssss/cli": "npm:@gregiteen/ssss-cli@0.14.
|
|
27
|
+
"@ssss/cli": "npm:@gregiteen/ssss-cli@0.14.5"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://github.com/gregiteen/total-recall/blob/main/metadata.plugin.schema.json",
|
|
3
3
|
"id": "mesh",
|
|
4
4
|
"name": "Headscale",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.9",
|
|
6
6
|
"description": "Control-server mesh administration, Tailscale SSH, and peer node discovery.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"requires": [
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# Meta Harness
|
|
2
2
|
|
|
3
|
-
Built-in and validated custom adapters share one plugin. `
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Built-in and validated custom adapters share one plugin. Use `dispatch` or
|
|
4
|
+
`route --execute` for agent work. `runtime <agent> ...` accepts supported maintenance
|
|
5
|
+
commands such as `codex login status`, `hermes gateway status`, and `dsh models`.
|
|
6
|
+
Manage gateway services through their owning plugins. `cli-agents` is an alias
|
|
7
|
+
for `meta-harness`.
|
|
6
8
|
|
|
7
9
|
`total-recall cli-agents setup` connects all nine native instruction surfaces.
|
|
8
10
|
The declared setup operation also runs during daemon-owned plugin refresh.
|
|
@@ -29,6 +31,21 @@ total-recall cli-agents inspect --node <recorded-node> --json
|
|
|
29
31
|
total-recall cli-agents run-command --stdin --json < request.json
|
|
30
32
|
```
|
|
31
33
|
|
|
34
|
+
Check adoption without launching a model:
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
total-recall meta-harness adoption --json
|
|
38
|
+
total-recall meta-harness adoption --node <recorded-node> --json
|
|
39
|
+
total-recall meta-harness adoption --all --json
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The report separates native login and hook configuration from recent hook
|
|
43
|
+
decisions and completed managed runs. Its run evidence is historical; use the
|
|
44
|
+
timestamps and last attempt to see whether an agent has since stopped working.
|
|
45
|
+
Native hook activity alone does not prove that an agent was launched through
|
|
46
|
+
Meta Harness. A fleet report lists offline nodes, missing CLI access, and
|
|
47
|
+
installed versions that cannot provide adoption evidence.
|
|
48
|
+
|
|
32
49
|
`request.json` selects one installed plugin operation, its literal arguments, a node and an agent:
|
|
33
50
|
|
|
34
51
|
```json
|
|
@@ -44,13 +61,29 @@ total-recall cli-agents run-command --stdin --json < request.json
|
|
|
44
61
|
}
|
|
45
62
|
```
|
|
46
63
|
|
|
47
|
-
For remote nodes, supply `execution.cwd` as an explicit absolute workspace. `agent: "direct"` runs the actual installed Total Recall CLI without a model. Remote access comes from recorded mesh entities and verified SSH configuration; unavailable nodes or binaries produce errors. Secrets are never accepted in an agent prompt. Existing account metadata is inspected without printing credentials or substituting provider API keys.
|
|
64
|
+
For remote nodes, supply `execution.cwd` as an explicit absolute workspace. `agent: "direct"` runs the actual installed Total Recall CLI without a model. A remote agent task enters the destination's installed Meta Harness and records its receipt there. Remote access comes from recorded mesh entities and verified SSH configuration; unavailable nodes or binaries produce errors. Secrets are never accepted in an agent prompt. Existing account metadata is inspected without printing credentials or substituting provider API keys.
|
|
48
65
|
|
|
49
66
|
The four permissions are strict boolean **command-effect admission controls**. They allow or deny the selected plugin command before dispatch. They are not a network policy or an OS sandbox for every action a model might propose. Supported adapter write modes are scoped through the vendor CLI; vendor approval and sandbox defaults stay enabled. The host's authenticated authorization still applies.
|
|
50
67
|
|
|
51
68
|
The foreground `dispatch --stdin` request accepts `timeoutMs` from 1 to 540000, defaulting to 300000. Use the managed process or background execution commands for longer jobs. A Claude write request can include explicit `allowedTools` rules such as `["Bash(git status *)"]`. Native permission denials surface as failed dispatch receipts. Agent turn completion and command verification are separate fields.
|
|
52
69
|
|
|
53
|
-
A
|
|
70
|
+
A native login probe reads account metadata. A headless request can still fail if the provider rejects that login. Signed-out and expired Claude subscription sessions produce a failed receipt with `failureKind: "auth"`. Renew the subscription sign-in on the dispatch node and retry a scoped dispatch to verify execution. See [Claude Code authentication](https://code.claude.com/docs/en/iam#renew-an-expiring-login).
|
|
71
|
+
|
|
72
|
+
### Included usage
|
|
73
|
+
|
|
74
|
+
Run `total-recall meta-harness included-enforce` to limit this node's managed dispatches to included usage. Use `included-status --probe --json` to see the Claude billing bindings and read current Codex allowance without an agent turn. Codex uses the built-in ChatGPT route and requires the signed-in plan to report no paid credit.
|
|
75
|
+
|
|
76
|
+
To approve OpenRouter on this node, run `total-recall meta-harness openrouter-bind <harness> <auth-key-name> --model <openrouter-model-id> --json`. Then select that harness by name when dispatching. Automatic routing continues to choose from the included subscription pool.
|
|
77
|
+
|
|
78
|
+
Run `total-recall harness dispatch codex "Run pwd and report the output" --json` to see the final reply and `toolResults`. Codex, Claude, DSH, Pi, Hermes and OpenClaw report native tool outcomes, available exit codes and bounded output. OpenClaw reports `toolEvidenceError` if its gateway cannot return the run's tool results. Adoption receipts retain the outcomes without the output text.
|
|
79
|
+
|
|
80
|
+
For Claude Max, sign in on the execution host with `claude auth login --claudeai`. Check that Usage credits are off in the account's Usage settings. Pass `{"organization":"<orgId from claude auth status>","usageCreditsEnabled":false}` to `included-bind-claude-plan --stdin`. Meta Harness prefers the bound plan and checks the native login on every turn. Keep Usage credits off on that account. Claude manages that switch and enforces the plan limits. [Claude's subscription and SDK billing](https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan)
|
|
81
|
+
|
|
82
|
+
Before using `included-bind-claude --stdin`, verify the Max credit grant, key hint and organization in Claude Console. Supply `keyName` (the Total Recall Auth entry), `organization`, the masked `keyHint`, `expiresAt`, `creditSource: "claude-max"`, `paidBalanceCents: 0` and false values for `autoReload`, `paymentMethod` and `invoiced`. The binding expires with the observed grant. Reverify after a key or billing change.
|
|
83
|
+
|
|
84
|
+
`usage-queue --json` lists deferred jobs. Use `usage-retry <id>` after the reported reset to run a replayable job through the same policy, or `usage-cancel <id>` to cancel it. Review a job marked `needsReview` in the original workspace before resubmitting it. A queued result has `queued: true` and a `queueId` and has not succeeded.
|
|
85
|
+
|
|
86
|
+
A completed model turn is distinct from a completed plugin operation. `commandExecutionVerified` requires a successful native shell result. Direct CLI execution returns the CLI process's exit receipt. Muse preserves its actual headless JSONL log and documented process exit status. Verify accounts, provider delivery and mutations through the real runtime.
|
|
54
87
|
|
|
55
88
|
## Primary contracts checked 2026-10-14
|
|
56
89
|
|
|
@@ -6,7 +6,8 @@ import { configDir } from './src/paths.mjs';
|
|
|
6
6
|
import { inspectAgents, getActiveAdapters, getCustomAdaptersDirs, loadCustomAdapters, validateCustomAdapter, adapterPath } from './src/worker.mjs';
|
|
7
7
|
import { inspectNode, listTargets, executeCommand, executeOnNode } from './src/executor.mjs';
|
|
8
8
|
import { DOC_SOURCES, documentationStatus, refreshDocumentation, ensureDocumentation, maintainDocumentation, readDocumentation, searchDocumentation } from './src/documentation.mjs';
|
|
9
|
-
import { manageRuntime } from './src/runtime.mjs';
|
|
9
|
+
import { manageRuntime, validateRuntimeOperation } from './src/runtime.mjs';
|
|
10
|
+
import { validateDispatchRequest } from './src/dispatch-request.mjs';
|
|
10
11
|
import { setupIntegrations } from './src/setup.mjs';
|
|
11
12
|
import { inspectUpstreamFleet, getAgentChangelog } from './src/tracker.mjs';
|
|
12
13
|
import { inspectQuotas, getBenchmarks, routeTask } from './src/router.mjs';
|
|
@@ -76,7 +77,7 @@ async function runOperation(argv) {
|
|
|
76
77
|
// Help anywhere in the arguments prints usage; it must never run an operation.
|
|
77
78
|
if (operation === 'help' || args.some(arg => arg === '--help' || arg === '-h')) {
|
|
78
79
|
const manifest=JSON.parse(fs.readFileSync(new URL('./plugin.json',import.meta.url),'utf8'));
|
|
79
|
-
console.log('Usage: total-recall meta-harness <operation> [options] (alias: cli-agents)\nEvery agent receives Total Recall bootstrap before dispatch. Runtime syntax: runtime <agent> <
|
|
80
|
+
console.log('Usage: total-recall meta-harness <operation> [options] (alias: cli-agents)\nEvery agent receives Total Recall bootstrap before dispatch. Runtime syntax: runtime <agent> <maintenance-command...> [--node ID].\n');
|
|
80
81
|
for(const command of manifest.cli.subcommands)console.log(` ${command.name} ${(command.args || []).map(arg=>arg.flag?`${arg.flag} <${arg.name}>`:`<${arg.name}>`).join(' ')} — ${command.description}`);
|
|
81
82
|
return;
|
|
82
83
|
}
|
|
@@ -85,7 +86,38 @@ async function runOperation(argv) {
|
|
|
85
86
|
if (operation === 'status') result = {...await inspectNode(value('--node') || 'local'),documentation:documentationStatus()};
|
|
86
87
|
else if (operation === 'catalog') result = { adapters: getActiveAdapters(), permissions: ['read', 'write', 'send', 'destructive'] };
|
|
87
88
|
else if (operation === 'nodes') result = await listTargets();
|
|
89
|
+
else if (operation === 'adoption') {
|
|
90
|
+
const node = value('--node');
|
|
91
|
+
if (node && has('--all')) throw new Error('Choose either --node or --all');
|
|
92
|
+
const { inspectLocalAdoption, inspectFleetAdoption } = await import('./src/adoption.mjs');
|
|
93
|
+
result = has('--all') || (node && node !== 'local') ? await inspectFleetAdoption({ node }) : await inspectLocalAdoption();
|
|
94
|
+
if (!result.ok) process.exitCode = 1;
|
|
95
|
+
}
|
|
88
96
|
else if (operation === 'quota') result = await inspectQuotas({ node: value('--node') || 'local' });
|
|
97
|
+
else if (operation === 'openrouter-bind') {
|
|
98
|
+
const { bindOpenRouter } = await import('./src/included-usage.mjs');
|
|
99
|
+
result = await bindOpenRouter(positional[0], positional[1], value('--model'));
|
|
100
|
+
}
|
|
101
|
+
else if (['included-status', 'included-enforce', 'included-bind-claude', 'included-bind-claude-plan'].includes(operation)) {
|
|
102
|
+
const usage = await import('./src/included-usage.mjs');
|
|
103
|
+
if (operation === 'included-status') result = await usage.includedUsageStatus({ probe: has('--probe') });
|
|
104
|
+
else if (operation === 'included-enforce') result = await usage.enforceIncludedUsage();
|
|
105
|
+
else {
|
|
106
|
+
if (!has('--stdin')) throw new Error('Pass verified Claude billing evidence as JSON on stdin.');
|
|
107
|
+
const input = fs.readFileSync(0, 'utf8');
|
|
108
|
+
if (Buffer.byteLength(input) > 4096) throw new Error('Claude billing evidence is too large.');
|
|
109
|
+
const evidence = JSON.parse(input);
|
|
110
|
+
result = await (operation === 'included-bind-claude-plan' ? usage.bindClaudeMaxPlan : usage.bindClaudeIncludedKey)(evidence);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
else if (['usage-queue', 'usage-retry', 'usage-cancel'].includes(operation)) {
|
|
114
|
+
const queue = await import('./src/usage-queue.mjs');
|
|
115
|
+
if (operation === 'usage-queue') result = { ok: true, jobs: await queue.listIncludedJobs() };
|
|
116
|
+
else if (!positional[0]) throw new Error('Choose a queued job ID.');
|
|
117
|
+
else if (operation === 'usage-cancel') result = { ok: true, job: await queue.cancelIncludedJob(positional[0]) };
|
|
118
|
+
else result = await queue.retryIncludedJob(positional[0]);
|
|
119
|
+
if (!result.ok) process.exitCode = 1;
|
|
120
|
+
}
|
|
89
121
|
else if (operation === 'benchmarks') result = await getBenchmarks();
|
|
90
122
|
else if (operation === 'route') {
|
|
91
123
|
const task = positional.join(' ');
|
|
@@ -237,7 +269,8 @@ async function runOperation(argv) {
|
|
|
237
269
|
const runtimeArgs=args.slice(1).filter(arg=>arg!=='--json'), agent=runtimeArgs.shift();
|
|
238
270
|
const index=runtimeArgs.indexOf('--node'); let node='local';
|
|
239
271
|
if(index>=0){node=runtimeArgs[index+1];if(!node || node.startsWith('-'))throw new Error('--node requires an identifier');runtimeArgs.splice(index,2);}
|
|
240
|
-
|
|
272
|
+
const command = validateRuntimeOperation(agent, runtimeArgs);
|
|
273
|
+
result = node==='local' ? await manageRuntime(agent,command) : await executeOnNode(node,{operation:'direct',useHome:true,argv:['total-recall','meta-harness','runtime',agent,...command,'--json']});
|
|
241
274
|
if(!result.ok)process.exitCode=1;
|
|
242
275
|
}
|
|
243
276
|
else if (operation === 'process') {
|
|
@@ -266,10 +299,8 @@ async function runOperation(argv) {
|
|
|
266
299
|
else if(operation==='dispatch') {
|
|
267
300
|
if(!args.includes('--stdin'))throw new Error('Task requests must arrive through stdin: pass --stdin with JSON {agent, cwd, prompt}');
|
|
268
301
|
const input=fs.readFileSync(0,'utf8');if(Buffer.byteLength(input)>65536)throw new Error('Task request too large');
|
|
269
|
-
const request=JSON.parse(input);
|
|
270
|
-
|
|
271
|
-
if (!Number.isInteger(timeoutMs) || timeoutMs < 1 || timeoutMs > 540000) throw new Error('Foreground dispatch timeout must be 1..540000 ms');
|
|
272
|
-
result=await dispatchWithReceipt({...request,timeoutMs,allowUnknownAuth:request.allowUnknownAuth===true},{node:request.node || 'local',role:'Dispatch'});
|
|
302
|
+
const request=validateDispatchRequest(JSON.parse(input));
|
|
303
|
+
result=await dispatchWithReceipt(request,{node:request.node || 'local',role:'Dispatch'});
|
|
273
304
|
if(!result.ok)process.exitCode=1;
|
|
274
305
|
}
|
|
275
306
|
else if (operation === 'inspect') {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tr-plugin-meta-harness",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "tr-plugin-meta-harness",
|
|
9
|
-
"version": "0.3.
|
|
9
|
+
"version": "0.3.9",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@gregiteen/ssss-cli": "0.14.
|
|
11
|
+
"@gregiteen/ssss-cli": "0.14.5"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"total-recall-brain": "3.
|
|
14
|
+
"total-recall-brain": "3.43.3"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"node_modules/@alcalzone/ansi-tokenize": {
|
|
@@ -714,9 +714,9 @@
|
|
|
714
714
|
"license": "MIT"
|
|
715
715
|
},
|
|
716
716
|
"node_modules/@gregiteen/ssss-cli": {
|
|
717
|
-
"version": "0.14.
|
|
718
|
-
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.
|
|
719
|
-
"integrity": "sha512-
|
|
717
|
+
"version": "0.14.5",
|
|
718
|
+
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.5.tgz",
|
|
719
|
+
"integrity": "sha512-qVEYOocnwn97uJ0eDzmuwN06CYsYWr2t3+iKylpisBHX4wlLWk7P8EmFFdBlx7NyKVIZDDeYT164Gd7/T8UGgw==",
|
|
720
720
|
"license": "ISC",
|
|
721
721
|
"bin": {
|
|
722
722
|
"ssss": "scripts/ssss.mjs"
|
|
@@ -1589,9 +1589,9 @@
|
|
|
1589
1589
|
},
|
|
1590
1590
|
"node_modules/@ssss/cli": {
|
|
1591
1591
|
"name": "@gregiteen/ssss-cli",
|
|
1592
|
-
"version": "0.14.
|
|
1593
|
-
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.
|
|
1594
|
-
"integrity": "sha512-
|
|
1592
|
+
"version": "0.14.5",
|
|
1593
|
+
"resolved": "https://registry.npmjs.org/@gregiteen/ssss-cli/-/ssss-cli-0.14.5.tgz",
|
|
1594
|
+
"integrity": "sha512-qVEYOocnwn97uJ0eDzmuwN06CYsYWr2t3+iKylpisBHX4wlLWk7P8EmFFdBlx7NyKVIZDDeYT164Gd7/T8UGgw==",
|
|
1595
1595
|
"dev": true,
|
|
1596
1596
|
"license": "ISC",
|
|
1597
1597
|
"bin": {
|
|
@@ -5546,9 +5546,9 @@
|
|
|
5546
5546
|
}
|
|
5547
5547
|
},
|
|
5548
5548
|
"node_modules/total-recall-brain": {
|
|
5549
|
-
"version": "3.
|
|
5550
|
-
"resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.
|
|
5551
|
-
"integrity": "sha512-
|
|
5549
|
+
"version": "3.43.3",
|
|
5550
|
+
"resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.43.3.tgz",
|
|
5551
|
+
"integrity": "sha512-yjfPN/BQxEEa+iodyFXQov/6fRt1pZg/7RcmgsbpALwBt6Ki3JJjT3tzArBC7NxHQmXgGYyKnCYId6xe/W2rPg==",
|
|
5552
5552
|
"dev": true,
|
|
5553
5553
|
"license": "MIT",
|
|
5554
5554
|
"workspaces": [
|
|
@@ -5579,6 +5579,7 @@
|
|
|
5579
5579
|
"antigravity": "bin/antigravity.mjs",
|
|
5580
5580
|
"total-recall": "bin/total-recall.mjs",
|
|
5581
5581
|
"total-recall-memory": "bin/total-recall-memory.mjs",
|
|
5582
|
+
"total-recall-server-release": "bin/total-recall-server-release.mjs",
|
|
5582
5583
|
"vibebrain": "bin/total-recall.mjs"
|
|
5583
5584
|
},
|
|
5584
5585
|
"optionalDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tr-plugin-meta-harness",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"description": "Total Recall Meta Harness plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@gregiteen/ssss-cli": "0.14.
|
|
25
|
+
"@gregiteen/ssss-cli": "0.14.5"
|
|
26
26
|
},
|
|
27
27
|
"overrides": {
|
|
28
|
-
"@ssss/cli": "npm:@gregiteen/ssss-cli@0.14.
|
|
28
|
+
"@ssss/cli": "npm:@gregiteen/ssss-cli@0.14.5"
|
|
29
29
|
}
|
|
30
30
|
}
|