@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.
- package/CHANGELOG.md +7 -1
- package/README.md +7 -3
- package/dist/brain/auto-update.js +1 -1
- package/dist/brain/brain-portability.js +1 -1
- package/dist/brain/client-integrations.js +1 -1
- package/dist/brain/context-efficiency.d.ts.map +1 -1
- package/dist/brain/mcp-presence.js +2 -2
- package/dist/brain/mcp-server.js +5 -5
- package/dist/brain/native-codex.js +1 -1
- package/dist/brain/orchestrator.js +1 -1
- package/dist/brain/project-hub-pdf-worker.js +57 -57
- package/dist/brain/project-hub-store.js +11 -11
- package/dist/cli.js +1 -1
- package/dist/dashboard/brain-hub-agent-dock.js +252 -252
- package/dist/dashboard/brain-hub-controls.js +61 -61
- package/dist/dashboard/brain-hub-exchanges.js +80 -80
- package/dist/dashboard/brain-hub-graph.js +336 -336
- package/dist/dashboard/brain-hub-html.js +78 -78
- package/dist/dashboard/brain-hub-live.js +149 -149
- package/dist/dashboard/brain-hub-managed-skills.js +18 -18
- package/dist/dashboard/brain-hub-native.js +42 -42
- package/dist/dashboard/live-workspace-html.js +1 -1
- package/dist/dashboard/project-feedback-html.js +211 -211
- package/dist/dashboard/project-kit-html.js +353 -353
- package/dist/dashboard/server.js +1 -1
- package/dist/dashboard/v6-dashboard-html.js +4261 -4261
- package/dist/dashboard/workspace-api.js +1 -1
- package/dist/dashboard/workspace-html.js +2534 -2534
- package/dist/dashboard/workspace-status.js +1 -1
- package/dist/project-cli.js +1 -1
- package/docs/BRAND_ASSETS.md +36 -36
- package/docs/COMPARISON.md +22 -22
- package/docs/COMPONENTS.md +66 -66
- package/docs/CONTEXT_LAB.md +79 -79
- package/docs/INTEGRATIONS.md +69 -69
- package/docs/LEARNING.md +45 -45
- package/docs/PROJECT_KIT.md +97 -97
- package/docs/SHARING.md +13 -13
- package/docs/SHOWCASE.md +87 -87
- package/docs/STATS.md +21 -21
- package/docs/TROUBLESHOOTING.md +42 -42
- package/docs/UPGRADE_PLAN_v7.0.0.md +203 -203
- package/docs/WORKFLOW_INTEGRATION.md +125 -125
- package/docs/evaluation/CONTEXT_EVALUATION_v7.1.4.json +1818 -1818
- package/docs/evaluation/CONTEXT_EVALUATION_v7.1.4.md +36 -36
- package/docs/launch/COMPONENT_MAP_v7.1.4.md +122 -122
- package/docs/launch/PROJECT_KIT_PLAN_v7.1.4.md +110 -110
- package/docs/launch/PROJECT_LEARNING_PLAN_v7.1.4.md +63 -63
- package/docs/launch/RELEASE_ACCEPTANCE_v7.22.0.md +48 -48
- package/docs/launch/RELEASE_CHECKLIST_v7.0.0.md +24 -24
- package/docs/launch/RELEASE_NOTES_v7.0.0.md +44 -44
- package/docs/launch/RELEASE_NOTES_v7.1.0.md +32 -32
- package/docs/launch/RELEASE_NOTES_v7.1.3.md +40 -40
- package/docs/launch/RELEASE_NOTES_v7.1.4.md +30 -30
- package/docs/launch/RELEASE_NOTES_v7.2.0.md +24 -24
- package/docs/launch/RELEASE_NOTES_v7.22.0.md +53 -53
- package/docs/launch/RELEASE_NOTES_v7.22.1.md +11 -0
- package/docs/launch/RESEARCH_AND_PLAN_v7.1.4.md +255 -255
- package/docs/launch/RESEARCH_AND_PLAN_v7.22.0.md +672 -672
- package/package.json +7 -3
- package/skills/shadow-debug/SKILL.md +16 -16
- package/skills/shadow-implement/SKILL.md +16 -16
- package/skills/shadow-release/SKILL.md +16 -16
- package/skills/shadow-research/SKILL.md +14 -14
- package/skills/shadow-review/SKILL.md +14 -14
- 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
|
-

|
|
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
|
-

|
|
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
|
-

|
|
26
|
-
|
|
27
|
-
The next matching task shows the report's signed contribution alongside the other ranking signals.
|
|
28
|
-
|
|
29
|
-

|
|
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
|
-

|
|
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
|
-

|
|
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
|
-

|
|
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
|
-

|
|
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
|
-

|
|
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
|
-

|
|
64
|
-
|
|
65
|
-
Choose when context, session briefings, and activity are available. The workspace keeps activity visibility and journal recording as separate controls.
|
|
66
|
-
|
|
67
|
-

|
|
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
|
-

|
|
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
|
-

|
|
78
|
-
|
|
79
|
-

|
|
80
|
-
|
|
81
|
-
## Mobile layout
|
|
82
|
-
|
|
83
|
-
Use the workspace on a narrow viewport to inspect the same saved records and context.
|
|
84
|
-
|
|
85
|
-

|
|
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
|
+

|
|
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
|
+

|
|
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
|
+

|
|
26
|
+
|
|
27
|
+
The next matching task shows the report's signed contribution alongside the other ranking signals.
|
|
28
|
+
|
|
29
|
+

|
|
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
|
+

|
|
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
|
+

|
|
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
|
+

|
|
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
|
+

|
|
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
|
+

|
|
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
|
+

|
|
64
|
+
|
|
65
|
+
Choose when context, session briefings, and activity are available. The workspace keeps activity visibility and journal recording as separate controls.
|
|
66
|
+
|
|
67
|
+

|
|
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
|
+

|
|
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
|
+

|
|
78
|
+
|
|
79
|
+

|
|
80
|
+
|
|
81
|
+
## Mobile layout
|
|
82
|
+
|
|
83
|
+
Use the workspace on a narrow viewport to inspect the same saved records and context.
|
|
84
|
+
|
|
85
|
+

|
|
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.
|
package/docs/TROUBLESHOOTING.md
CHANGED
|
@@ -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)
|