@theihtisham/agent-shadow-brain 7.22.0 → 7.22.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 (66) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/README.md +7 -3
  3. package/dist/brain/auto-update.js +1 -1
  4. package/dist/brain/brain-portability.js +1 -1
  5. package/dist/brain/client-integrations.js +1 -1
  6. package/dist/brain/context-efficiency.d.ts.map +1 -1
  7. package/dist/brain/mcp-presence.js +2 -2
  8. package/dist/brain/mcp-server.js +5 -5
  9. package/dist/brain/native-codex.js +1 -1
  10. package/dist/brain/orchestrator.js +1 -1
  11. package/dist/brain/project-hub-pdf-worker.js +57 -57
  12. package/dist/brain/project-hub-store.js +11 -11
  13. package/dist/cli.js +1 -1
  14. package/dist/dashboard/brain-hub-agent-dock.js +252 -252
  15. package/dist/dashboard/brain-hub-controls.js +61 -61
  16. package/dist/dashboard/brain-hub-exchanges.js +80 -80
  17. package/dist/dashboard/brain-hub-graph.js +336 -336
  18. package/dist/dashboard/brain-hub-html.js +78 -78
  19. package/dist/dashboard/brain-hub-live.js +149 -149
  20. package/dist/dashboard/brain-hub-managed-skills.js +18 -18
  21. package/dist/dashboard/brain-hub-native.js +42 -42
  22. package/dist/dashboard/live-workspace-html.js +1 -1
  23. package/dist/dashboard/project-feedback-html.js +211 -211
  24. package/dist/dashboard/project-kit-html.js +353 -353
  25. package/dist/dashboard/server.js +1 -1
  26. package/dist/dashboard/v6-dashboard-html.js +4261 -4261
  27. package/dist/dashboard/workspace-api.js +1 -1
  28. package/dist/dashboard/workspace-html.js +2534 -2534
  29. package/dist/dashboard/workspace-status.js +1 -1
  30. package/dist/project-cli.js +1 -1
  31. package/docs/BRAND_ASSETS.md +36 -36
  32. package/docs/COMPARISON.md +22 -22
  33. package/docs/COMPONENTS.md +66 -66
  34. package/docs/CONTEXT_LAB.md +79 -79
  35. package/docs/INTEGRATIONS.md +69 -69
  36. package/docs/LEARNING.md +45 -45
  37. package/docs/PROJECT_KIT.md +97 -97
  38. package/docs/SHARING.md +13 -13
  39. package/docs/SHOWCASE.md +87 -87
  40. package/docs/STATS.md +21 -21
  41. package/docs/TROUBLESHOOTING.md +42 -42
  42. package/docs/UPGRADE_PLAN_v7.0.0.md +203 -203
  43. package/docs/WORKFLOW_INTEGRATION.md +125 -125
  44. package/docs/evaluation/CONTEXT_EVALUATION_v7.1.4.json +1818 -1818
  45. package/docs/evaluation/CONTEXT_EVALUATION_v7.1.4.md +36 -36
  46. package/docs/launch/COMPONENT_MAP_v7.1.4.md +122 -122
  47. package/docs/launch/PROJECT_KIT_PLAN_v7.1.4.md +110 -110
  48. package/docs/launch/PROJECT_LEARNING_PLAN_v7.1.4.md +63 -63
  49. package/docs/launch/RELEASE_ACCEPTANCE_v7.22.0.md +48 -48
  50. package/docs/launch/RELEASE_CHECKLIST_v7.0.0.md +24 -24
  51. package/docs/launch/RELEASE_NOTES_v7.0.0.md +44 -44
  52. package/docs/launch/RELEASE_NOTES_v7.1.0.md +32 -32
  53. package/docs/launch/RELEASE_NOTES_v7.1.3.md +40 -40
  54. package/docs/launch/RELEASE_NOTES_v7.1.4.md +30 -30
  55. package/docs/launch/RELEASE_NOTES_v7.2.0.md +24 -24
  56. package/docs/launch/RELEASE_NOTES_v7.22.0.md +53 -53
  57. package/docs/launch/RELEASE_NOTES_v7.22.1.md +11 -0
  58. package/docs/launch/RESEARCH_AND_PLAN_v7.1.4.md +255 -255
  59. package/docs/launch/RESEARCH_AND_PLAN_v7.22.0.md +672 -672
  60. package/package.json +7 -3
  61. package/skills/shadow-debug/SKILL.md +16 -16
  62. package/skills/shadow-implement/SKILL.md +16 -16
  63. package/skills/shadow-release/SKILL.md +16 -16
  64. package/skills/shadow-research/SKILL.md +14 -14
  65. package/skills/shadow-review/SKILL.md +14 -14
  66. package/skills/shadow-workflow/SKILL.md +39 -39
package/docs/SHOWCASE.md CHANGED
@@ -1,87 +1,87 @@
1
- # Workspace showcase
2
-
3
- The images show the 7.1.4 workspace with synthetic projects, memory records, reviews, and links. The Project Kit images use a separate persistent synthetic project. The live views use scripted local MCP calls. Displayed phases come from explicit reports, and durations come from measured calls in that demo.
4
-
5
- ```bash
6
- shadow-brain demo workspace --port 0
7
- ```
8
-
9
- Open the printed **Workspace** or **Live view** address. Use `--no-activity` for a fixed initial journal snapshot.
10
-
11
- ## Project Kit
12
-
13
- In a project-local workspace, inspect observed stack markers and declared checks. Save a knowledge record and use it when drafting a skill for the selected client.
14
-
15
- ![Project Kit showing observed stack evidence and local knowledge controls](assets/7.1.4-project-kit.png)
16
-
17
- Review the generated `SKILL.md` and its destination before applying it. The preview includes the user-supplied requirement and available checks.
18
-
19
- ![Generated project skill preview with the target path and Markdown](assets/7.1.4-project-skill-preview.png)
20
-
21
- ### Reported memory outcomes
22
-
23
- Record an observed result with a task, rating, reason, and optional references. The saved card shows the reporter and gives the user a way to remove the report. The switch controls whether later adaptive retrieval can use the reports.
24
-
25
- ![Project Kit with a user-reported useful outcome and an influence toggle](assets/7.1.4-learning.png)
26
-
27
- The next matching task shows the report's signed contribution alongside the other ranking signals.
28
-
29
- ![Context Lab showing a positive Project task feedback contribution and user attribution](assets/7.1.4-outcome-ranking.png)
30
-
31
- ## Overview and attention queue
32
-
33
- Choose the project scope, review source coverage, and open a record from the attention queue. The queue flags conditions that merit inspection, including contested records and missing references.
34
-
35
- ![Overview and the project memory attention queue](assets/7.1.4-overview.png)
36
-
37
- ## Context Lab
38
-
39
- Assemble a brief, check its estimated tokens and rendered characters, then expand a candidate to see matched fields, ranking contributions, or a recorded link path.
40
-
41
- ![Context Lab with task settings, brief metrics, and retrieval stages](assets/7.1.4-context-lab.png)
42
-
43
- ### Compare profiles
44
-
45
- Compare the same task and scope with Adaptive and Legacy. The result lists which memories each profile adds and shows their estimated usage.
46
-
47
- ![Adaptive and legacy comparison for the same task](assets/7.1.4-comparison.png)
48
-
49
- ## Memory review and graph
50
-
51
- Inspect a saved record, its recorded references, and manual review controls. A review change is recorded in revision history.
52
-
53
- ![Memory inspector with saved content, references, and review controls](assets/7.1.4-memory-review.png)
54
-
55
- Select an edge or focus the recorded relationships around one memory. The workspace distinguishes these relations from project membership and recording-agent links.
56
-
57
- ![Focused graph showing recorded memory links and the inspector](assets/7.1.4-graph.png)
58
-
59
- ## Integrations and features
60
-
61
- Read the documented capabilities and generate a setup example for the client. A project skill-file check and a live client handshake provide different evidence.
62
-
63
- ![Integration cards and local diagnostics](assets/7.1.4-integrations.png)
64
-
65
- Choose when context, session briefings, and activity are available. The workspace keeps activity visibility and journal recording as separate controls.
66
-
67
- ![The five runtime feature controls](assets/7.1.4-features.png)
68
-
69
- ## Live operations and recorded replay
70
-
71
- Select a session or event to inspect the available history. The session network, timeline, and charts distinguish measured tool activity from explicit host reports.
72
-
73
- ![Live operations with the session network and measured timing](assets/7.1.4-live.png)
74
-
75
- Replay navigates the loaded journal slice. Move to an event with the slider or step controls and return to the live stream when finished.
76
-
77
- ![Journal replay controls over recorded events](assets/7.1.4-replay.png)
78
-
79
- ![Animated capture of scripted local MCP activity and replay](assets/live-v7.1.4.gif)
80
-
81
- ## Mobile layout
82
-
83
- Use the workspace on a narrow viewport to inspect the same saved records and context.
84
-
85
- ![Workspace at a mobile viewport](assets/7.1.4-mobile.png)
86
-
87
- [Project Kit guide](PROJECT_KIT.md) · [Context Lab guide](CONTEXT_LAB.md) · [Workspace guide](WORKSPACE.md) · [Client integrations](INTEGRATIONS.md)
1
+ # Workspace showcase
2
+
3
+ The images show the 7.1.4 workspace with synthetic projects, memory records, reviews, and links. The Project Kit images use a separate persistent synthetic project. The live views use scripted local MCP calls. Displayed phases come from explicit reports, and durations come from measured calls in that demo.
4
+
5
+ ```bash
6
+ shadow-brain demo workspace --port 0
7
+ ```
8
+
9
+ Open the printed **Workspace** or **Live view** address. Use `--no-activity` for a fixed initial journal snapshot.
10
+
11
+ ## Project Kit
12
+
13
+ In a project-local workspace, inspect observed stack markers and declared checks. Save a knowledge record and use it when drafting a skill for the selected client.
14
+
15
+ ![Project Kit showing observed stack evidence and local knowledge controls](assets/7.1.4-project-kit.png)
16
+
17
+ Review the generated `SKILL.md` and its destination before applying it. The preview includes the user-supplied requirement and available checks.
18
+
19
+ ![Generated project skill preview with the target path and Markdown](assets/7.1.4-project-skill-preview.png)
20
+
21
+ ### Reported memory outcomes
22
+
23
+ Record an observed result with a task, rating, reason, and optional references. The saved card shows the reporter and gives the user a way to remove the report. The switch controls whether later adaptive retrieval can use the reports.
24
+
25
+ ![Project Kit with a user-reported useful outcome and an influence toggle](assets/7.1.4-learning.png)
26
+
27
+ The next matching task shows the report's signed contribution alongside the other ranking signals.
28
+
29
+ ![Context Lab showing a positive Project task feedback contribution and user attribution](assets/7.1.4-outcome-ranking.png)
30
+
31
+ ## Overview and attention queue
32
+
33
+ Choose the project scope, review source coverage, and open a record from the attention queue. The queue flags conditions that merit inspection, including contested records and missing references.
34
+
35
+ ![Overview and the project memory attention queue](assets/7.1.4-overview.png)
36
+
37
+ ## Context Lab
38
+
39
+ Assemble a brief, check its estimated tokens and rendered characters, then expand a candidate to see matched fields, ranking contributions, or a recorded link path.
40
+
41
+ ![Context Lab with task settings, brief metrics, and retrieval stages](assets/7.1.4-context-lab.png)
42
+
43
+ ### Compare profiles
44
+
45
+ Compare the same task and scope with Adaptive and Legacy. The result lists which memories each profile adds and shows their estimated usage.
46
+
47
+ ![Adaptive and legacy comparison for the same task](assets/7.1.4-comparison.png)
48
+
49
+ ## Memory review and graph
50
+
51
+ Inspect a saved record, its recorded references, and manual review controls. A review change is recorded in revision history.
52
+
53
+ ![Memory inspector with saved content, references, and review controls](assets/7.1.4-memory-review.png)
54
+
55
+ Select an edge or focus the recorded relationships around one memory. The workspace distinguishes these relations from project membership and recording-agent links.
56
+
57
+ ![Focused graph showing recorded memory links and the inspector](assets/7.1.4-graph.png)
58
+
59
+ ## Integrations and features
60
+
61
+ Read the documented capabilities and generate a setup example for the client. A project skill-file check and a live client handshake provide different evidence.
62
+
63
+ ![Integration cards and local diagnostics](assets/7.1.4-integrations.png)
64
+
65
+ Choose when context, session briefings, and activity are available. The workspace keeps activity visibility and journal recording as separate controls.
66
+
67
+ ![The five runtime feature controls](assets/7.1.4-features.png)
68
+
69
+ ## Live operations and recorded replay
70
+
71
+ Select a session or event to inspect the available history. The session network, timeline, and charts distinguish measured tool activity from explicit host reports.
72
+
73
+ ![Live operations with the session network and measured timing](assets/7.1.4-live.png)
74
+
75
+ Replay navigates the loaded journal slice. Move to an event with the slider or step controls and return to the live stream when finished.
76
+
77
+ ![Journal replay controls over recorded events](assets/7.1.4-replay.png)
78
+
79
+ ![Animated capture of scripted local MCP activity and replay](assets/live-v7.1.4.gif)
80
+
81
+ ## Mobile layout
82
+
83
+ Use the workspace on a narrow viewport to inspect the same saved records and context.
84
+
85
+ ![Workspace at a mobile viewport](assets/7.1.4-mobile.png)
86
+
87
+ [Project Kit guide](PROJECT_KIT.md) · [Context Lab guide](CONTEXT_LAB.md) · [Workspace guide](WORKSPACE.md) · [Client integrations](INTEGRATIONS.md)
package/docs/STATS.md CHANGED
@@ -1,21 +1,21 @@
1
- # Package and repository statistics
2
-
3
- Last successful refresh: **2026-11-14T11:49:13.195Z**. Counts are snapshots from public npm and GitHub APIs.
4
-
5
- | Metric | Count | Coverage |
6
- | --- | ---: | --- |
7
- | npm total downloads | **6,229** | 2026-04-10 through 2026-11-13, inclusive |
8
- | npm latest day | 199 | 2026-11-13 through 2026-11-13 |
9
- | npm last 7 days | 923 | 2026-11-07 through 2026-11-13 |
10
- | npm last 30 days | 1,018 | 2026-10-15 through 2026-11-13 |
11
- | GitHub stars | 0 | At refresh |
12
- | GitHub forks | 0 | At refresh |
13
- | GitHub watchers | 0 | At refresh |
14
-
15
- The package was created on 2026-04-10. The total sums non-overlapping ranges of at most 365 days from creation through the latest complete day returned by npm. This handles the API's 18-month request limit without silently truncating lifetime counts. npm counts downloads, including automated installs; these are not unique people or active users.
16
-
17
- The dedicated **README metrics** workflow refreshes this page and the plain-text README total every two days. The npm README is a snapshot from the published release. A failed request preserves the last successful snapshot.
18
-
19
- [Raw snapshot and coverage](npm-metrics.json) · [npm download API documentation](https://github.com/npm/registry/blob/main/docs/download-counts.md) · [Package](https://www.npmjs.com/package/@theihtisham/agent-shadow-brain) · [Repository](https://github.com/theihtishaam/agents-brain)
20
-
21
- Historical snapshots in [stats-history.json](stats-history.json) come from the previous monitoring implementation and are not used to calculate this total.
1
+ # Package and repository statistics
2
+
3
+ Last successful refresh: **2026-11-14T11:49:13.195Z**. Counts are snapshots from public npm and GitHub APIs.
4
+
5
+ | Metric | Count | Coverage |
6
+ | --- | ---: | --- |
7
+ | npm total downloads | **6,229** | 2026-04-10 through 2026-11-13, inclusive |
8
+ | npm latest day | 199 | 2026-11-13 through 2026-11-13 |
9
+ | npm last 7 days | 923 | 2026-11-07 through 2026-11-13 |
10
+ | npm last 30 days | 1,018 | 2026-10-15 through 2026-11-13 |
11
+ | GitHub stars | 0 | At refresh |
12
+ | GitHub forks | 0 | At refresh |
13
+ | GitHub watchers | 0 | At refresh |
14
+
15
+ The package was created on 2026-04-10. The total sums non-overlapping ranges of at most 365 days from creation through the latest complete day returned by npm. This handles the API's 18-month request limit without silently truncating lifetime counts. npm counts downloads, including automated installs; these are not unique people or active users.
16
+
17
+ The dedicated **README metrics** workflow refreshes this page and the plain-text README total every two days. The npm README is a snapshot from the published release. A failed request preserves the last successful snapshot.
18
+
19
+ [Raw snapshot and coverage](npm-metrics.json) · [npm download API documentation](https://github.com/npm/registry/blob/main/docs/download-counts.md) · [Package](https://www.npmjs.com/package/@theihtisham/agent-shadow-brain) · [Repository](https://github.com/theihtishaam/agents-brain)
20
+
21
+ Historical snapshots in [stats-history.json](stats-history.json) come from the previous monitoring implementation and are not used to calculate this total.
@@ -1,42 +1,42 @@
1
- # Troubleshooting
2
-
3
- ## The Hub says Workspace unavailable
4
-
5
- Keep the launcher running and open the current URL. If an older tab points to a stopped server, start the same project on the same port and refresh. A port of `0` can change each time.
6
-
7
- ```bash
8
- cd your-project
9
- shadow-brain project workspace . --port 62595
10
- ```
11
-
12
- Open `http://127.0.0.1:62595/hub`. The status endpoint at `/api/workspace/status` reports the process instance, workspace mode, project scope, and storage health. A reachable server can report a storage error separately. Resolve the storage error before making changes and retain the existing project files. If the port is already in use, check the existing launcher or start on a free port and use the new address.
13
-
14
- ## The installed version differs from this guide
15
-
16
- This guide describes the 7.1.4 build. It requires Node.js 22.13+ in the 22.x line, 24.x, or 26+.
17
-
18
- ```bash
19
- node --version
20
- npm install -g @theihtisham/agent-shadow-brain@latest
21
- shadow-brain --version
22
- ```
23
-
24
- If the command still reports the previous version, locate it with `Get-Command shadow-brain -All` in PowerShell or `command -v shadow-brain` in your shell. Restart the launcher after changing versions. A browser refresh alone continues using the old process.
25
-
26
- ## The graph or journal is empty
27
-
28
- Check the selected project. Save a knowledge record or approve a PDF page to create a graph record. Connect a host using the recipe generated from the same project directory. In **Setup**, enable **Live dashboard activity** and **Record agent activity**. Ask the host to call `project_inspect` or `context_pack`, then look for the event. A reachable workspace and installed skill files are independent of host tool activity.
29
-
30
- ## A feature setting or claim changed elsewhere
31
-
32
- Refresh to read the current revision before retrying. For a task claim, check its owner and lease. After a network failure, retry the same input to reuse the operation key. The work room and journal use different stores and can be inspected independently.
33
-
34
- ## A PDF page has no text
35
-
36
- Image-only pages require OCR. The current Hub extracts a text layer and labels missing text. Upload a text-searchable PDF or save a verified excerpt as explicit project knowledge with its reference.
37
-
38
- ## A context pack is empty or shorter than expected
39
-
40
- Check that the selected project contains relevant active memories, the context feature is enabled, and the token budget allows an excerpt. Try specific project terms. Context estimates describe the rendered pack. Model usage stays unavailable when the host supplies no usage receipts.
41
-
42
- [Quickstart](QUICKSTART.md) · [Workspace guide](WORKSPACE.md) · [Integrations](INTEGRATIONS.md)
1
+ # Troubleshooting
2
+
3
+ ## The Hub says Workspace unavailable
4
+
5
+ Keep the launcher running and open the current URL. If an older tab points to a stopped server, start the same project on the same port and refresh. A port of `0` can change each time.
6
+
7
+ ```bash
8
+ cd your-project
9
+ shadow-brain project workspace . --port 62595
10
+ ```
11
+
12
+ Open `http://127.0.0.1:62595/hub`. The status endpoint at `/api/workspace/status` reports the process instance, workspace mode, project scope, and storage health. A reachable server can report a storage error separately. Resolve the storage error before making changes and retain the existing project files. If the port is already in use, check the existing launcher or start on a free port and use the new address.
13
+
14
+ ## The installed version differs from this guide
15
+
16
+ This guide describes the 7.1.4 build. It requires Node.js 22.13+ in the 22.x line, 24.x, or 26+.
17
+
18
+ ```bash
19
+ node --version
20
+ npm install -g @theihtisham/agent-shadow-brain@latest
21
+ shadow-brain --version
22
+ ```
23
+
24
+ If the command still reports the previous version, locate it with `Get-Command shadow-brain -All` in PowerShell or `command -v shadow-brain` in your shell. Restart the launcher after changing versions. A browser refresh alone continues using the old process.
25
+
26
+ ## The graph or journal is empty
27
+
28
+ Check the selected project. Save a knowledge record or approve a PDF page to create a graph record. Connect a host using the recipe generated from the same project directory. In **Setup**, enable **Live dashboard activity** and **Record agent activity**. Ask the host to call `project_inspect` or `context_pack`, then look for the event. A reachable workspace and installed skill files are independent of host tool activity.
29
+
30
+ ## A feature setting or claim changed elsewhere
31
+
32
+ Refresh to read the current revision before retrying. For a task claim, check its owner and lease. After a network failure, retry the same input to reuse the operation key. The work room and journal use different stores and can be inspected independently.
33
+
34
+ ## A PDF page has no text
35
+
36
+ Image-only pages require OCR. The current Hub extracts a text layer and labels missing text. Upload a text-searchable PDF or save a verified excerpt as explicit project knowledge with its reference.
37
+
38
+ ## A context pack is empty or shorter than expected
39
+
40
+ Check that the selected project contains relevant active memories, the context feature is enabled, and the token budget allows an excerpt. Try specific project terms. Context estimates describe the rendered pack. Model usage stays unavailable when the host supplies no usage receipts.
41
+
42
+ [Quickstart](QUICKSTART.md) · [Workspace guide](WORKSPACE.md) · [Integrations](INTEGRATIONS.md)