claude-code-session-manager 0.124.0 → 0.124.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/dist/assets/{AgentLibrary-tsHX4uUD.js → AgentLibrary-qmAgadiS.js} +1 -1
- package/dist/assets/{Button-BC94OZc0.js → Button-CkuaU6cA.js} +1 -1
- package/dist/assets/{DataModel-DX3sReg5.js → DataModel-DEVHxW5I.js} +1 -1
- package/dist/assets/{History-DtscQica.js → History-C-qw4Gx4.js} +1 -1
- package/dist/assets/{Hooks-CQERyV2Q.js → Hooks-DzAnCyjJ.js} +1 -1
- package/dist/assets/{Library-DGZ1bv-H.js → Library-DExZ29wM.js} +1 -1
- package/dist/assets/{ListDetail-C6JB9n9x.js → ListDetail-DiQk-Hf9.js} +1 -1
- package/dist/assets/{McpServers-C5G8m3j2.js → McpServers-C0nqX36_.js} +1 -1
- package/dist/assets/{Memory-KgM5KHiQ.js → Memory-D4KAWPAC.js} +1 -1
- package/dist/assets/{Panel-BsOgpYZG.js → Panel-xv9ToSjl.js} +1 -1
- package/dist/assets/{Permissions-DruyM6MH.js → Permissions-0yEyqwZU.js} +1 -1
- package/dist/assets/{Plugins-BBWfU2sh.js → Plugins-CB28SGGJ.js} +2 -2
- package/dist/assets/{ProvenanceBadge-CyzjcuYD.js → ProvenanceBadge-9i4gXDvI.js} +1 -1
- package/dist/assets/{SaveBar-D5nZclkV.js → SaveBar-mSVRXpml.js} +1 -1
- package/dist/assets/{Scheduler-BuxUAv-X.js → Scheduler-BoUetIC0.js} +1 -1
- package/dist/assets/{ScopeSwitcher-BFTsmyXK.js → ScopeSwitcher-B8tdQIKs.js} +1 -1
- package/dist/assets/{Settings-CsU2wgPl.js → Settings-D3jfKwaK.js} +1 -1
- package/dist/assets/{SkillReferenceGraph-WTwaKQBk.js → SkillReferenceGraph-DJ4JJRt3.js} +1 -1
- package/dist/assets/{Skills-DooJ8MqG.js → Skills-P9HHxDCR.js} +1 -1
- package/dist/assets/{SystemPrompt-DjWMf9Rk.js → SystemPrompt-B_tnbBZ2.js} +1 -1
- package/dist/assets/{TagLibrary-DN8yO-eg.js → TagLibrary-CI8NHRKi.js} +1 -1
- package/dist/assets/{TiptapBody-DlbOZsU-.js → TiptapBody-9LktXPiD.js} +1 -1
- package/dist/assets/{Toggle-BgPR-zkl.js → Toggle-BwsUsAA7.js} +1 -1
- package/dist/assets/{ViewTabs-Bsqxjjs8.js → ViewTabs-CY5gMZ_N.js} +1 -1
- package/dist/assets/{historyTotals-Dw4jn69k.js → historyTotals-_dIaxmPX.js} +1 -1
- package/dist/assets/{index-DCbAgcJt.js → index-d4i3X1x3.js} +3 -3
- package/dist/assets/{settingsSchema-Duk46cGB.js → settingsSchema-Dg0Xa9RR.js} +1 -1
- package/dist/assets/{skillFrontmatter-B8F8a18M.js → skillFrontmatter-CpoFkSyj.js} +1 -1
- package/dist/assets/{useAgentsDirWatch-0oP0fhBV.js → useAgentsDirWatch-CFPprfWG.js} +1 -1
- package/dist/index.html +1 -1
- package/dist-web/assets/app.css +32 -0
- package/dist-web/assets/app.js +1479 -0
- package/dist-web/index.html +16 -0
- package/package.json +3 -3
- package/plugins/session-manager-dev/skills/builder/3-publish/SKILL.md +28 -10
- package/src/main/build-info.json +4 -4
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Claude Session Manager</title>
|
|
7
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
9
|
+
<link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400&family=Geist:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet">
|
|
10
|
+
<script type="module" crossorigin src="./assets/app.js"></script>
|
|
11
|
+
<link rel="stylesheet" crossorigin href="./assets/app.css">
|
|
12
|
+
</head>
|
|
13
|
+
<body class="bg-bg text-fg font-sans antialiased">
|
|
14
|
+
<div id="root"></div>
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-session-manager",
|
|
3
|
-
"version": "0.124.
|
|
3
|
+
"version": "0.124.1",
|
|
4
4
|
"description": "Local cockpit for the Claude Code CLI — multi-tab terminal, full config surface, scheduler, voice dictation, and live observability.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/main/index.cjs",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dev": "concurrently -k -n vite,electron -c magenta,cyan \"npm:dev:renderer\" \"npm:dev:electron\"",
|
|
38
38
|
"dev:renderer": "vite",
|
|
39
39
|
"dev:electron": "wait-on http://localhost:5173 && SM_DEV=1 electron .",
|
|
40
|
-
"build": "vite build",
|
|
40
|
+
"build": "vite build && vite build --config vite.web.config.ts",
|
|
41
41
|
"build:web": "vite build --config vite.web.config.ts",
|
|
42
42
|
"dist:stage": "npm run build && node scripts/package/stage.cjs",
|
|
43
43
|
"dist:mac": "npm run dist:stage && electron-builder --config electron-builder.yml --mac --publish never",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.main.json",
|
|
48
48
|
"start": "electron .",
|
|
49
49
|
"prepack": "node scripts/write-build-info.cjs",
|
|
50
|
-
"prepublishOnly": "node scripts/write-build-info.cjs &&
|
|
50
|
+
"prepublishOnly": "node scripts/write-build-info.cjs && npm run build",
|
|
51
51
|
"test:unit": "vitest run",
|
|
52
52
|
"test:unit:stability": "bash scripts/test-unit-stability.sh",
|
|
53
53
|
"bench": "node scripts/bench/main-bench.cjs",
|
|
@@ -40,24 +40,37 @@ to ask for reconfirmation once `builder:gate` has passed.
|
|
|
40
40
|
|
|
41
41
|
5. **Create the isolated worktree from that tag:**
|
|
42
42
|
```
|
|
43
|
-
|
|
43
|
+
mkdir -p "$HOME/.cache/sm-publish"
|
|
44
|
+
git worktree add "$HOME/.cache/sm-publish/v<version>" v<version>
|
|
44
45
|
```
|
|
46
|
+
**Never under `/tmp`** (or anywhere under `os.tmpdir()`): the test suite treats such paths as
|
|
47
|
+
test fixtures, so `src/main/__tests__/opsErrorLog.test.cjs` ("a real project root is
|
|
48
|
+
refused") fails inside a `/tmp` worktree.
|
|
45
49
|
|
|
46
|
-
6. **Move into the worktree and
|
|
50
|
+
6. **Move into the worktree, build clean, and run the in-tree gate:**
|
|
47
51
|
```
|
|
48
|
-
cd /
|
|
52
|
+
cd "$HOME/.cache/sm-publish/v<version>"
|
|
49
53
|
npm ci
|
|
50
54
|
npm run typecheck
|
|
55
|
+
npm run test:unit
|
|
51
56
|
```
|
|
52
57
|
`npm ci` gives a fully clean `node_modules` from the lockfile — no leftover local state
|
|
53
|
-
from the dirty main repo can leak into the published artifact.
|
|
58
|
+
from the dirty main repo can leak into the published artifact. Typecheck and unit tests
|
|
59
|
+
must both pass here; stop before `npm publish` on any failure.
|
|
60
|
+
|
|
61
|
+
After the build step (run the project's build, e.g. `npm run build` plus any web build that
|
|
62
|
+
produces `dist-web/`), check that every `files` entry exists:
|
|
63
|
+
```
|
|
64
|
+
test -f dist-web/index.html && test -f dist/index.html
|
|
65
|
+
```
|
|
66
|
+
If either is missing, stop before `npm publish` and report.
|
|
54
67
|
|
|
55
68
|
7. **Publish from inside the worktree:**
|
|
56
69
|
```
|
|
57
70
|
npm publish
|
|
58
71
|
```
|
|
59
72
|
This project's `prepublishOnly` script runs `vite build` — because step 6 already `cd`'d
|
|
60
|
-
into
|
|
73
|
+
into `$HOME/.cache/sm-publish/v<version>`, that build runs **inside the clean worktree**, never
|
|
61
74
|
touching (or being affected by) the live/dirty working directory back in the main repo.
|
|
62
75
|
This is the entire reason the worktree exists: it decouples "what's uncommitted in my
|
|
63
76
|
editor right now" from "what gets built and shipped."
|
|
@@ -81,16 +94,21 @@ to ask for reconfirmation once `builder:gate` has passed.
|
|
|
81
94
|
|
|
82
95
|
9. **Clean up the worktree:**
|
|
83
96
|
```
|
|
84
|
-
git worktree remove /
|
|
97
|
+
git worktree remove "$HOME/.cache/sm-publish/v<version>" --force
|
|
85
98
|
```
|
|
86
99
|
|
|
87
|
-
10. **Verify the publish actually landed on the registry
|
|
100
|
+
10. **Verify the publish actually landed on the registry.** `npm view` is cached and lags for
|
|
101
|
+
minutes after a real publish, so check a cache-busted packument and the tarball first:
|
|
88
102
|
```
|
|
103
|
+
curl -s "https://registry.npmjs.org/<packageName>?t=$(date +%s)" # dist-tags.latest + versions
|
|
104
|
+
curl -sI <tarball URL from versions["<version>"].dist.tarball> # expect HTTP 200
|
|
89
105
|
npm view <packageName> version
|
|
90
106
|
npm view <packageName> dist-tags
|
|
91
107
|
```
|
|
92
|
-
Confirm
|
|
93
|
-
project intentionally publishes to a different dist-tag).
|
|
108
|
+
Confirm `dist-tags.latest` is `<version>`, `<version>` is in `versions`, and the tarball
|
|
109
|
+
returns 200 (unless the project intentionally publishes to a different dist-tag). If the
|
|
110
|
+
packument is current, an unchanged `npm view` for a few minutes is normal lag, not a
|
|
111
|
+
failure — do not republish.
|
|
94
112
|
|
|
95
113
|
11. **Post-publish: verify the installer release.** Pushing `v<version>` (step 8) triggers
|
|
96
114
|
`.github/workflows/release.yml`. Confirm the tag push succeeded, then poll (bounded: at most
|
|
@@ -109,7 +127,7 @@ to ask for reconfirmation once `builder:gate` has passed.
|
|
|
109
127
|
Stop at that step. Do not proceed. Report which step failed and its output. If the worktree
|
|
110
128
|
was already created (step 5+), leave it in place if its state is relevant evidence for
|
|
111
129
|
diagnosing the failure; otherwise remove it (step 9) before reporting, so a retry doesn't
|
|
112
|
-
collide with a stale
|
|
130
|
+
collide with a stale `$HOME/.cache/sm-publish/v<version>` path.
|
|
113
131
|
|
|
114
132
|
## Output
|
|
115
133
|
|
package/src/main/build-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.124.
|
|
3
|
-
"gitSha": "
|
|
4
|
-
"gitShortSha": "
|
|
2
|
+
"version": "0.124.1",
|
|
3
|
+
"gitSha": "604bae39a0da6417ec4f1ba2f92c81f4661c2dfd",
|
|
4
|
+
"gitShortSha": "604bae39",
|
|
5
5
|
"gitBranch": "HEAD",
|
|
6
|
-
"builtAt": "2026-10-
|
|
6
|
+
"builtAt": "2026-10-26T07:38:06.859Z",
|
|
7
7
|
"dirty": false
|
|
8
8
|
}
|