total-recall-brain 3.47.0 → 3.47.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 (65) hide show
  1. package/bin/total-recall.mjs +5 -0
  2. package/package.json +1 -1
  3. package/scaffold/.agent/skills/total-recall/plugins/auth/package-lock.json +4 -4
  4. package/scaffold/.agent/skills/total-recall/plugins/auth/package.json +3 -2
  5. package/scaffold/.agent/skills/total-recall/plugins/auth/plugin.json +30 -5
  6. package/scaffold/.agent/skills/total-recall/plugins/auth/skills/auth/SKILL.md +35 -0
  7. package/scaffold/.agent/skills/total-recall/plugins/auth/ui/home.js +494 -79
  8. package/scaffold/.agent/skills/total-recall/plugins/automations/package-lock.json +4 -4
  9. package/scaffold/.agent/skills/total-recall/plugins/automations/package.json +3 -2
  10. package/scaffold/.agent/skills/total-recall/plugins/automations/plugin.json +33 -8
  11. package/scaffold/.agent/skills/total-recall/plugins/automations/skills/automations/SKILL.md +29 -0
  12. package/scaffold/.agent/skills/total-recall/plugins/automations/ui/chunks/dream-consolidation.md +17 -0
  13. package/scaffold/.agent/skills/total-recall/plugins/code-quality/package-lock.json +4 -4
  14. package/scaffold/.agent/skills/total-recall/plugins/code-quality/package.json +3 -2
  15. package/scaffold/.agent/skills/total-recall/plugins/code-quality/plugin.json +31 -4
  16. package/scaffold/.agent/skills/total-recall/plugins/code-quality/skills/code-quality/SKILL.md +27 -0
  17. package/scaffold/.agent/skills/total-recall/plugins/composable-cli/package-lock.json +4 -4
  18. package/scaffold/.agent/skills/total-recall/plugins/composable-cli/package.json +1 -1
  19. package/scaffold/.agent/skills/total-recall/plugins/composable-cli/plugin.json +17 -3
  20. package/scaffold/.agent/skills/total-recall/plugins/embeddings/package-lock.json +4 -4
  21. package/scaffold/.agent/skills/total-recall/plugins/embeddings/package.json +3 -2
  22. package/scaffold/.agent/skills/total-recall/plugins/embeddings/plugin.json +24 -4
  23. package/scaffold/.agent/skills/total-recall/plugins/embeddings/skills/embeddings/SKILL.md +25 -0
  24. package/scaffold/.agent/skills/total-recall/plugins/git/package-lock.json +4 -4
  25. package/scaffold/.agent/skills/total-recall/plugins/git/package.json +3 -2
  26. package/scaffold/.agent/skills/total-recall/plugins/git/plugin.json +293 -58
  27. package/scaffold/.agent/skills/total-recall/plugins/git/skills/git/SKILL.md +36 -0
  28. package/scaffold/.agent/skills/total-recall/plugins/mesh/package-lock.json +4 -4
  29. package/scaffold/.agent/skills/total-recall/plugins/mesh/package.json +3 -2
  30. package/scaffold/.agent/skills/total-recall/plugins/mesh/plugin.json +47 -14
  31. package/scaffold/.agent/skills/total-recall/plugins/mesh/skills/mesh/SKILL.md +36 -0
  32. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/cli.mjs +6 -3
  33. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/package.json +1 -1
  34. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/plugin.json +5 -2
  35. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/cascade.mjs +4 -2
  36. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/coordinator.mjs +28 -9
  37. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/dispatch.mjs +7 -1
  38. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/model-selection.mjs +59 -0
  39. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/remote-operation.mjs +3 -3
  40. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/router.mjs +9 -3
  41. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/src/worker.mjs +50 -6
  42. package/scaffold/.agent/skills/total-recall/plugins/meta-harness/ui/chunks/session-controls.md +16 -0
  43. package/scaffold/.agent/skills/total-recall/plugins/openwiki/cli.mjs +56 -7
  44. package/scaffold/.agent/skills/total-recall/plugins/openwiki/package-lock.json +6 -6
  45. package/scaffold/.agent/skills/total-recall/plugins/openwiki/package.json +3 -2
  46. package/scaffold/.agent/skills/total-recall/plugins/openwiki/plugin.json +199 -36
  47. package/scaffold/.agent/skills/total-recall/plugins/openwiki/skills/openwiki/SKILL.md +32 -0
  48. package/scaffold/.agent/skills/total-recall/plugins/openwiki/src/config.mjs +34 -8
  49. package/scaffold/.agent/skills/total-recall/plugins/openwiki/src/generate.mjs +6 -0
  50. package/scaffold/.agent/skills/total-recall/plugins/openwiki/src/refresh.mjs +15 -7
  51. package/scaffold/.agent/skills/total-recall/plugins/openwiki/src/upstream-watcher.mjs +4 -3
  52. package/scaffold/.agent/skills/total-recall/plugins/security/package-lock.json +4 -4
  53. package/scaffold/.agent/skills/total-recall/plugins/security/package.json +1 -1
  54. package/scaffold/.agent/skills/total-recall/plugins/security/plugin.json +22 -5
  55. package/scaffold/.agent/skills/total-recall/plugins/ssss/package.json +3 -2
  56. package/scaffold/.agent/skills/total-recall/plugins/ssss/plugin.json +169 -37
  57. package/scaffold/.agent/skills/total-recall/plugins/ssss/skills/ssss/SKILL.md +30 -0
  58. package/src/cli/plugin/create.mjs +2 -1
  59. package/src/cli/plugin/monetization.mjs +66 -32
  60. package/src/cli/plugin/search.mjs +25 -3
  61. package/src/cli/preflight.mjs +40 -6
  62. package/src/core/gate-mode.mjs +13 -24
  63. package/src/core/plugin-distribution.mjs +35 -1
  64. package/src/core/preflight-gate.mjs +28 -8
  65. package/src/core/preflight-receipt.mjs +11 -0
@@ -166,6 +166,11 @@ async function main() {
166
166
  const { runPluginCommand } = await import('../src/core/plugin-runner.mjs');
167
167
  const pluginArgs = args.slice(1);
168
168
  const result = await runPluginCommand(p, { args: pluginArgs, stdin: 'inherit', projectRoot, activateOnUse: true });
169
+ // A router's choice binds the gate: other harnesses may not write until it is replaced.
170
+ if (p.manifest.gate?.router) {
171
+ const { noteRouteSelection } = await import('../src/cli/preflight.mjs');
172
+ noteRouteSelection({ manifest: p.manifest, args: pluginArgs, stdout: result.stdout ?? result.output });
173
+ }
169
174
  if (result.stdout !== undefined) {
170
175
  if(result.stdout)process.stdout.write(result.stdout);
171
176
  if(result.stderr)process.stderr.write(result.stderr);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "total-recall-brain",
3
- "version": "3.47.0",
3
+ "version": "3.47.1",
4
4
  "description": "The Vibe Coding Brain & Autonomous Software Factory: memory, rules, secrets, and 33 visual plugins automatically managed across all your devices.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "supertest": "^7.3.1",
22
- "total-recall-brain": "3.45.0",
22
+ "total-recall-brain": "3.47.0",
23
23
  "vitest": "^4.1.12"
24
24
  }
25
25
  },
@@ -6704,9 +6704,9 @@
6704
6704
  }
6705
6705
  },
6706
6706
  "node_modules/total-recall-brain": {
6707
- "version": "3.45.0",
6708
- "resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.45.0.tgz",
6709
- "integrity": "sha512-HDYfROazZbsLHQsFPnlBcSpe1HL1QEi7JG8x/eNRUI06RxVQsZWl8LwBo2lTWjWRDrKmCy7BUmSXQDuWF3lrEw==",
6707
+ "version": "3.47.0",
6708
+ "resolved": "https://registry.npmjs.org/total-recall-brain/-/total-recall-brain-3.47.0.tgz",
6709
+ "integrity": "sha512-S4UIdbbTyxw7C4+rix+7oHMm/6gYkcxwNBcP6kRDySX40p5IgqVTKgHk1n8rmaKiyYFoIX/HZHlHSjNrHgn0Gw==",
6710
6710
  "dev": true,
6711
6711
  "license": "MIT",
6712
6712
  "workspaces": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tr-plugin-auth",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "White-label Total Recall auth plugin: Passkey biometric FIDO2 and Google OAuth2 authentication.",
5
5
  "type": "module",
6
6
  "main": "cli.mjs",
@@ -34,7 +34,8 @@
34
34
  "scripts/",
35
35
  "!src/**/*.spec.mjs",
36
36
  "ui/",
37
- "!src/**/*.test.mjs"
37
+ "!src/**/*.test.mjs",
38
+ "skills/"
38
39
  ],
39
40
  "publishConfig": {
40
41
  "access": "public"
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://github.com/gregiteen/total-recall/blob/main/metadata.plugin.schema.json",
3
3
  "id": "auth",
4
4
  "name": "Auth & Secrets",
5
- "version": "1.3.0",
5
+ "version": "1.3.1",
6
6
  "description": "Encrypted credentials, repository bindings, dashboard sign-in and access across brains and machines.",
7
7
  "author": "Total Recall contributors",
8
8
  "license": "MIT",
@@ -49,9 +49,17 @@
49
49
  }
50
50
  ],
51
51
  "gate": {
52
- "tasks": ["Read, store or rotate a credential", "Issue or revoke API keys", "Passkeys, passwords and sign-in sessions", "Audit where secrets are used"],
52
+ "tasks": [
53
+ "Read, store or rotate a credential",
54
+ "Issue or revoke API keys",
55
+ "Passkeys, passwords and sign-in sessions",
56
+ "Audit where secrets are used"
57
+ ],
53
58
  "owned_commands": [
54
- { "pattern": "security\\s+find-generic-password\\b", "use": "total-recall auth secret get <KEY>" }
59
+ {
60
+ "pattern": "security\\s+find-generic-password\\b",
61
+ "use": "total-recall auth secret get <KEY>"
62
+ }
55
63
  ]
56
64
  },
57
65
  "cli": {
@@ -129,10 +137,20 @@
129
137
  "tag": "tr-auth-home",
130
138
  "module": "ui/home.js",
131
139
  "description": "Credential inventory, brains, machines and sign-in checks",
132
- "events": ["auth-inventory", "auth-credential-mutate"]
140
+ "events": [
141
+ "auth-inventory",
142
+ "auth-credential-mutate"
143
+ ]
133
144
  }
134
145
  ]
135
146
  },
147
+ "reuse": {
148
+ "commands": [
149
+ "total-recall ssss status",
150
+ "total-recall decision status"
151
+ ],
152
+ "owned": "Encrypted credential store, OAuth/passkey sign-in, session tokens, scoped keys, and auth secrets across Total Recall plugins."
153
+ },
136
154
  "configuration": {
137
155
  "fields": [
138
156
  {
@@ -237,5 +255,12 @@
237
255
  "distribution": {
238
256
  "tier": "official",
239
257
  "license": "open"
240
- }
258
+ },
259
+ "skills": [
260
+ {
261
+ "id": "auth",
262
+ "path": "./skills/auth/SKILL.md",
263
+ "description": "Encrypted credentials, repository bindings, dashboard sign-in and access across brains and machines."
264
+ }
265
+ ]
241
266
  }
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: auth
3
+ description: "Encrypted credentials, repository bindings, dashboard sign-in and access across brains and machines."
4
+ version: 1.3.0
5
+ repo_scoped: false
6
+ ---
7
+
8
+ # Auth & Secrets
9
+
10
+ Encrypted credentials, repository bindings, dashboard sign-in and access across brains and machines.
11
+
12
+ ## When to Use
13
+
14
+ Use the `auth` Total Recall plugin (`total-recall auth`) instead of ad-hoc scripts or raw commands whenever working on auth & secrets tasks.
15
+
16
+ ## Commands
17
+
18
+ ```bash
19
+ total-recall auth --help
20
+ total-recall auth status # Display auth system status and active providers
21
+ total-recall auth audit # Audit permissions, session secrets, and credential integrity
22
+ total-recall auth rotate # Generate and securely rotate SESSION_SECRET in store
23
+ total-recall auth passkey # Manage FIDO2 WebAuthn passkeys
24
+ total-recall auth google # Google OAuth status, connect, accounts, refresh and verified disconnect
25
+ total-recall auth probe # Run HTTP 200 health verification probe
26
+ total-recall auth session # Inspect active session tokens
27
+ total-recall auth agent # Sign in an agent CLI that authenticates on its own terminal
28
+ total-recall auth secret # Manage and inspect auth secrets in the Total Recall store
29
+ total-recall auth password # Set dashboard password through encrypted auth store: set --stdin [--force-reset]
30
+ total-recall auth key # Issue, list, revoke and audit scoped tokens; inspect and update role policy
31
+ ```
32
+
33
+ ## Owned Raw Commands
34
+
35
+ This plugin owns: `security\s+find-generic-password\b`.