claude-code-session-manager 0.141.0 → 0.143.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/.claude-plugin/marketplace.json +1 -1
- package/README.md +76 -153
- package/bin/cli.cjs +11 -0
- package/dist/assets/AppSettings-BO4jDVGO.js +2 -0
- package/dist/assets/{History-DJMiuXyK.js → History-DTttbvPb.js} +1 -1
- package/dist/assets/HomeClaudeConfig-DADP5bfn.js +3 -0
- package/dist/assets/{Panel-Bf1Cf8UL.js → Panel-B_D4Bg7L.js} +1 -1
- package/dist/assets/{ProjectClaudeConfig-BWPpypf9.js → ProjectClaudeConfig-DPnDJKcr.js} +7 -7
- package/dist/assets/Scheduler-CNLjn90m.js +16 -0
- package/dist/assets/{SkillReferenceGraph-Ba4TkX2C.js → SkillReferenceGraph-D1b2aiol.js} +1 -1
- package/dist/assets/{Skills-C1v91GEO.js → Skills-cfV7sgk6.js} +5 -5
- package/dist/assets/{TiptapBody-BrcWVpiW.js → TiptapBody-DVXtEIVy.js} +1 -1
- package/dist/assets/Toggle-CYajnSdx.js +1 -0
- package/dist/assets/{VoiceButton-qivnDV6K.js → VoiceButton-DJ4gGRuE.js} +1 -1
- package/dist/assets/{historyTotals-CMCPTKqC.js → historyTotals-D3MoHY2U.js} +1 -1
- package/dist/assets/index-CdTppjKR.js +3133 -0
- package/dist/assets/{index-DKXdXfka.css → index-DVHIHoJf.css} +1 -1
- package/dist/index.html +2 -2
- package/dist-web/app.css +1 -1
- package/dist-web/app.js +496 -484
- package/package.json +6 -4
- package/plugins/AGENTS.md +4 -3
- package/plugins/session-manager-dev/.claude-plugin/plugin.json +1 -1
- package/plugins/session-manager-dev/hooks/hooks.json +15 -0
- package/plugins/session-manager-dev/hooks/residue-check.cjs +241 -0
- package/plugins/session-manager-dev/skills/builder/SKILL.md +5 -0
- package/plugins/session-manager-dev/skills/develop/SKILL.md +58 -18
- package/plugins/session-manager-dev/skills/develop/standards.md +3 -2
- package/scripts/README.md +2 -0
- package/scripts/hooks/guard-tool-risk.cjs +5 -1
- package/scripts/hooks/lib/guard-tool-risk-policy.cjs +158 -1
- package/scripts/scheduler-mcp-server.cjs +1032 -112
- package/src/main/adminRouteRegistry.cjs +69 -0
- package/src/main/agentLibrary.cjs +72 -4
- package/src/main/agentsIpc.cjs +3 -2
- package/src/main/build-info.json +4 -4
- package/src/main/chatRunner.cjs +336 -23
- package/src/main/config.cjs +35 -1
- package/src/main/docEdit.cjs +4 -2
- package/src/main/health.cjs +129 -2
- package/src/main/index.cjs +110 -52
- package/src/main/ipcSchemas.cjs +172 -8
- package/src/main/lib/AGENTS.md +1 -1
- package/src/main/lib/chatBootRecovery.cjs +2 -0
- package/src/main/lib/claude/agentModelResolve.cjs +51 -25
- package/src/main/lib/claude/agentSnapshot.cjs +186 -0
- package/src/main/lib/claude/environmentProfiles.cjs +242 -0
- package/src/main/lib/claude/jobSandboxPolicy.cjs +241 -33
- package/src/main/lib/claude/personaToolScope.cjs +82 -31
- package/src/main/lib/claude/runClaudeP.cjs +4 -2
- package/src/main/lib/claude/toolRiskMarks.cjs +41 -1
- package/src/main/lib/claude/usageCircuit.cjs +49 -21
- package/src/main/lib/claude/vaultRefs.cjs +277 -0
- package/src/main/lib/demo-video-kit/capture.cjs +282 -12
- package/src/main/lib/demo-video-kit/cast.md +52 -0
- package/src/main/lib/demo-video-kit/character.cjs +778 -30
- package/src/main/lib/demo-video-kit/checks.cjs +120 -1
- package/src/main/lib/demo-video-kit/export.cjs +218 -0
- package/src/main/lib/demo-video-kit/frames.cjs +104 -9
- package/src/main/lib/demo-video-kit/kind-marketing.md +121 -0
- package/src/main/lib/demo-video-kit/kind-tiktok.md +103 -0
- package/src/main/lib/demo-video-kit/kokoroSay.cjs +205 -0
- package/src/main/lib/demo-video-kit/project-home-html.md +43 -0
- package/src/main/lib/demo-video-kit/projectSounds.cjs +191 -0
- package/src/main/lib/demo-video-kit/resumableRun.cjs +298 -0
- package/src/main/lib/demo-video-kit/seedKit.cjs +3 -3
- package/src/main/lib/demo-video-kit/sound.cjs +166 -9
- package/src/main/lib/demo-video-kit/standalone.cjs +231 -0
- package/src/main/lib/demo-video-kit/voiceLane.cjs +233 -0
- package/src/main/lib/demo-video-kit/voiceLibrary.cjs +312 -0
- package/src/main/lib/epic/activeIndexMerge.cjs +5 -0
- package/src/main/lib/epic/artifactAdminRoutes.cjs +211 -0
- package/src/main/lib/epic/artifactIpc.cjs +153 -0
- package/src/main/lib/epic/artifactNotice.cjs +72 -0
- package/src/main/lib/epic/artifactRetention.cjs +356 -0
- package/src/main/lib/epic/artifactStore.cjs +435 -0
- package/src/main/lib/epic/delegationReadiness.cjs +83 -2
- package/src/main/lib/epic/epicAgentRefresh.cjs +97 -0
- package/src/main/lib/epic/epicEventLog.cjs +258 -0
- package/src/main/lib/epic/epicMint.cjs +43 -1
- package/src/main/lib/epic/epicOutsideRead.cjs +1 -0
- package/src/main/lib/epic/epicOutsideState.cjs +18 -4
- package/src/main/lib/epic/epicPurge.cjs +347 -0
- package/src/main/lib/epic/epicReopen.cjs +5 -2
- package/src/main/lib/epic/epicSettle.cjs +4 -13
- package/src/main/lib/epic/epicSpawnPlan.cjs +57 -4
- package/src/main/lib/epic/epicStateEmitter.cjs +248 -0
- package/src/main/lib/epic/epicStatusMirror.cjs +34 -1
- package/src/main/lib/epic/epicTransitions.cjs +139 -0
- package/src/main/lib/epic/epicValidationHook.cjs +94 -4
- package/src/main/lib/epic/guardSpawnSettings.cjs +3 -2
- package/src/main/lib/externalContract.cjs +48 -4
- package/src/main/lib/feedback-remote/autoStartedSession.cjs +1 -1
- package/src/main/lib/feedback-remote/crossProjectReply.cjs +478 -127
- package/src/main/lib/feedback-remote/customerFeedbackAdminRoutes.cjs +16 -3
- package/src/main/lib/feedback-remote/customerFeedbackClient.cjs +11 -6
- package/src/main/lib/feedback-remote/customerFeedbackInbox.cjs +26 -1
- package/src/main/lib/feedback-remote/customerFeedbackIpc.cjs +5 -2
- package/src/main/lib/feedback-remote/feedbackBoxDrain.cjs +409 -0
- package/src/main/lib/feedback-remote/feedbackBoxKeys.cjs +218 -0
- package/src/main/lib/feedback-remote/feedbackEnvelope.cjs +163 -0
- package/src/main/lib/feedback-remote/feedbackRelayClient.cjs +164 -0
- package/src/main/lib/feedback-remote/feedbackReport.cjs +234 -0
- package/src/main/lib/feedback-remote/feedbackSeal.cjs +217 -0
- package/src/main/lib/feedback-remote/localAdminHttp.cjs +108 -2
- package/src/main/lib/feedback-remote/macroAdminRoutes.cjs +32 -1
- package/src/main/lib/feedback-remote/needsYouIpc.cjs +17 -0
- package/src/main/lib/feedback-remote/needsYouStore.cjs +177 -6
- package/src/main/lib/feedback-remote/pendingReplies.cjs +207 -0
- package/src/main/lib/feedback-remote/projectHomeAdminRoutes.cjs +282 -14
- package/src/main/lib/feedback-remote/replyClaims.cjs +159 -0
- package/src/main/lib/feedback-remote/serviceClient.cjs +429 -0
- package/src/main/lib/feedback-remote/serviceMcpSession.cjs +252 -0
- package/src/main/lib/feedback-remote/serviceMcpTools.cjs +284 -0
- package/src/main/lib/feedback-remote/servicePairings.cjs +313 -0
- package/src/main/lib/feedback-remote/serviceStdioBridge.cjs +290 -0
- package/src/main/lib/feedback-remote/siteFeedbackAdminRoutes.cjs +295 -0
- package/src/main/lib/feedback-remote/siteFeedbackInbox.cjs +598 -0
- package/src/main/lib/feedback-remote/siteFeedbackIpc.cjs +86 -0
- package/src/main/lib/feedback-remote/siteFeedbackService.cjs +477 -0
- package/src/main/lib/git/gitWorktree.cjs +8 -0
- package/src/main/lib/git/runtimeStateUntrack.cjs +15 -1
- package/src/main/lib/git/worktreeDeps.cjs +182 -4
- package/src/main/lib/mcpToolCatalog.cjs +399 -29
- package/src/main/lib/opsOwnership.cjs +141 -28
- package/src/main/lib/opsRetentionSettings.cjs +27 -5
- package/src/main/lib/persona-macro/builtinMacros.cjs +7 -2
- package/src/main/lib/persona-macro/macroJobDispatch.cjs +52 -8
- package/src/main/lib/persona-macro/macroJobIpc.cjs +16 -6
- package/src/main/lib/persona-macro/macroLibrary.cjs +49 -7
- package/src/main/lib/persona-macro/personaFrontmatterSchema.cjs +83 -0
- package/src/main/lib/persona-macro/projectVideoToolCheck.cjs +3 -0
- package/src/main/lib/persona-macro/shippedPersonaSeeds.cjs +309 -0
- package/src/main/lib/phaseProjection.cjs +103 -0
- package/src/main/lib/prd/depSlugResolve.cjs +4 -13
- package/src/main/lib/prd/prdBodyPatch.cjs +12 -17
- package/src/main/lib/prd/prdCreate.cjs +387 -228
- package/src/main/lib/prd/prdCriteria.cjs +228 -0
- package/src/main/lib/prd/prdFrontmatter.cjs +43 -3
- package/src/main/lib/prd/prdGateFiles.cjs +125 -49
- package/src/main/lib/prd/prdSizing.cjs +3 -1
- package/src/main/lib/process/cleanEnv.cjs +52 -1
- package/src/main/lib/process/leftoverRenice.cjs +178 -0
- package/src/main/lib/process/memoryScope.cjs +31 -3
- package/src/main/lib/project-pages/pagesLibrary.cjs +72 -6
- package/src/main/lib/project-pages/videoPressLines.cjs +145 -0
- package/src/main/lib/project-pages/videoReviewIpc.cjs +3 -2
- package/src/main/lib/project-pages/videoScriptPress.cjs +260 -0
- package/src/main/lib/project-pages/videoScriptRunRoute.cjs +351 -0
- package/src/main/lib/project-pages/videoScriptSwitchIpc.cjs +49 -0
- package/src/main/lib/project-pages/videoScriptSwitchRoute.cjs +173 -0
- package/src/main/lib/project-pages/voiceAdminRoutes.cjs +175 -0
- package/src/main/lib/project-pages/voicePreview.cjs +196 -0
- package/src/main/lib/project-pages/voicesIpc.cjs +186 -0
- package/src/main/lib/promptSessionSchema.cjs +6 -0
- package/src/main/lib/scheduler/cancelledRow.cjs +57 -0
- package/src/main/lib/scheduler/cpuSample.cjs +133 -42
- package/src/main/lib/scheduler/criteriaChecks.cjs +313 -0
- package/src/main/lib/scheduler/definitionOfDone.cjs +44 -5
- package/src/main/lib/scheduler/heldSchedulerTurns.cjs +238 -0
- package/src/main/lib/scheduler/jobMemoryStats.cjs +324 -0
- package/src/main/lib/scheduler/loadGate.cjs +82 -4
- package/src/main/lib/scheduler/planRecordHarvest.cjs +152 -54
- package/src/main/lib/scheduler/prdOutcomeRecord.cjs +191 -0
- package/src/main/lib/scheduler/queueStore.cjs +16 -0
- package/src/main/lib/scheduler/rcaReport.cjs +79 -15
- package/src/main/lib/scheduler/runLogRetention.cjs +42 -1
- package/src/main/lib/scheduler/scheduleJobSchema.cjs +18 -0
- package/src/main/lib/scheduler/scheduleJobTransitions.cjs +47 -0
- package/src/main/lib/scheduler/schedulerConfig.cjs +47 -0
- package/src/main/lib/scheduler/schedulerPaths.cjs +9 -3
- package/src/main/lib/scheduler/schedulerRuntimeState.cjs +50 -1
- package/src/main/lib/scheduler/sessionSlots.cjs +5 -1
- package/src/main/lib/scheduler/slotsRoute.cjs +251 -0
- package/src/main/lib/scheduler/toolClearance.cjs +258 -0
- package/src/main/lib/scheduler/usageHoldRoute.cjs +97 -0
- package/src/main/lib/scheduler/validatorVerdictSchema.cjs +152 -11
- package/src/main/lib/tasks/memoryConsolidation.cjs +312 -0
- package/src/main/lib/tasks/mitigationReview.cjs +314 -0
- package/src/main/lib/tasks/taskAdminRoutes.cjs +390 -25
- package/src/main/lib/tasks/taskIpc.cjs +22 -18
- package/src/main/lib/tasks/taskLedger.cjs +147 -25
- package/src/main/lib/tasks/taskRun.cjs +186 -17
- package/src/main/lib/tasks/taskSwitch.cjs +85 -12
- package/src/main/lib/tasks/taskSwitchRoute.cjs +172 -0
- package/src/main/lib/telemetry/auditEvents.cjs +204 -6
- package/src/main/lib/telemetry/auditLog.cjs +6 -2
- package/src/main/lib/telemetry/eventsAdminRoutes.cjs +198 -6
- package/src/main/lib/telemetry/webhookDelivery.cjs +205 -0
- package/src/main/lib/telemetry/webhookRegistry.cjs +281 -0
- package/src/main/lib/toolUseClassify.cjs +181 -0
- package/src/main/lib/util/atomicFs.cjs +2 -2
- package/src/main/lib/util/smfileRange.cjs +77 -0
- package/src/main/projectPages.cjs +3 -1
- package/src/main/promptSessionEvents.cjs +21 -1
- package/src/main/pty.cjs +77 -0
- package/src/main/queueOps.cjs +33 -14
- package/src/main/runVerify.cjs +74 -9
- package/src/main/scheduler/AGENTS.md +1 -0
- package/src/main/scheduler/budget.cjs +6 -5
- package/src/main/scheduler/prdParser.cjs +46 -13
- package/src/main/scheduler/reviewLadder.cjs +9 -25
- package/src/main/scheduler/utilizationHold.cjs +191 -0
- package/src/main/scheduler.cjs +1932 -213
- package/src/main/templates/PRD_AUTHORING.md +11 -3
- package/src/main/webRemote.cjs +463 -6
- package/src/preload/api.d.ts +576 -39
- package/src/preload/apiSurface.json +223 -7
- package/src/preload/index.cjs +48 -1
- package/src/seed/agents/architect.md +6 -1
- package/src/seed/agents/blender-artist.md +2 -1
- package/src/seed/agents/competitive-analyst.md +3 -1
- package/src/seed/agents/competitive-researcher.md +2 -1
- package/src/seed/agents/demo-video-builder.md +98 -87
- package/src/seed/agents/dev-lead.md +3 -3
- package/src/seed/agents/project-home-builder.md +9 -31
- package/src/seed/agents/validator.md +23 -23
- package/dist/assets/AppSettings-DExeJhqQ.js +0 -2
- package/dist/assets/HomeClaudeConfig-CTp2tkZ4.js +0 -3
- package/dist/assets/Scheduler-cyr61UAC.js +0 -16
- package/dist/assets/ViewTabs-DXhOWFG0.js +0 -1
- package/dist/assets/index-B2TQz3nd.js +0 -3121
- package/src/main/lib/epic/epicStateWatcher.cjs +0 -157
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"name": "session-manager-dev",
|
|
15
15
|
"source": "./plugins/session-manager-dev",
|
|
16
16
|
"description": "Default end-to-end development skillset — pairs with the session-manager scheduler to form a develop → queue → validate → release loop.",
|
|
17
|
-
"version": "0.4.
|
|
17
|
+
"version": "0.4.5",
|
|
18
18
|
"category": "development",
|
|
19
19
|
"strict": false
|
|
20
20
|
}
|
package/README.md
CHANGED
|
@@ -1,35 +1,31 @@
|
|
|
1
1
|
# claude-code-session-manager
|
|
2
2
|
|
|
3
|
-
> A free desktop app for Claude Code. Each piece of work is a session with its own agent,
|
|
3
|
+
> A free desktop app for Claude Code. Each piece of work is a session with its own agent, mission and copy of the repo. Queued work runs on its own, within your plan's usage limits. It is checked before it counts as done. Agents drive the app through an MCP server with <!-- gen:mcp-tool-count -->53<!-- /gen:mcp-tool-count --> tools and a plugin with <!-- gen:skill-count -->4<!-- /gen:skill-count --> skills.
|
|
4
4
|
|
|
5
5
|
## Facts
|
|
6
6
|
|
|
7
7
|
| Key | Value |
|
|
8
8
|
| --- | --- |
|
|
9
|
-
| Kind | Desktop app built on Electron. It
|
|
9
|
+
| Kind | Desktop app built on Electron. It has no JS API. |
|
|
10
10
|
| Run | `npx claude-code-session-manager@latest` |
|
|
11
11
|
| Installers | Mac `.dmg` and `.zip` (`arm64`, `x64`). Windows `.exe` (`x64`, `arm64`). Linux `AppImage` (`x64`). Get them from [GitHub Releases](https://github.com/StanislavBG/claude-code-session-manager/releases/latest). |
|
|
12
12
|
| Needs | The Claude Code CLI, installed and signed in with your own account. `git`. Node <!-- gen:node-floor -->22.12.0<!-- /gen:node-floor --> or newer, for `npx` only. |
|
|
13
|
-
|
|
|
14
|
-
| MCP server | `session-manager-scheduler`. It uses stdio. The app adds it for you. It needs the app to be running. |
|
|
15
|
-
| Plugin | `session-manager-dev@session-manager` |
|
|
13
|
+
| MCP server | `session-manager-scheduler`. It uses stdio. The app adds it for you. It needs the app running. |
|
|
16
14
|
| Agent CLIs | Claude Code is the default. Codex, Gemini CLI, Antigravity CLI, Cursor Agent and OpenCode work in Chat and Terminal only. |
|
|
17
|
-
| Where state lives | App state: `~/.claude/session-manager/`. Per project: `<repo>/session-manager-operations/`. Session copies:
|
|
15
|
+
| Where state lives | App state: `~/.claude/session-manager/`. Per project: `<repo>/session-manager-operations/`. Session copies: `${XDG_STATE_HOME:-~/.local/state}/session-manager/`. |
|
|
18
16
|
| Telemetry | Anonymous and on by default. Turn it off with `SM_TELEMETRY=0`. |
|
|
19
|
-
| License | MIT |
|
|
20
17
|
|
|
21
18
|
## Not
|
|
22
19
|
|
|
23
|
-
- It is not a hosted or cloud service.
|
|
24
|
-
- It is not made
|
|
25
|
-
- It does not
|
|
26
|
-
- It has no paid, pro or trial tier.
|
|
27
|
-
- It is not a team
|
|
28
|
-
- It is not a library. You cannot `import` it.
|
|
20
|
+
- It is not a hosted or cloud service. Your sessions and files stay on your machine.
|
|
21
|
+
- It is not made or backed by Anthropic. One person builds it as open source.
|
|
22
|
+
- It does not replace a Claude plan.
|
|
23
|
+
- It has no paid, pro or trial tier.
|
|
24
|
+
- It is not a team product. It has no support deal or uptime promise.
|
|
29
25
|
|
|
30
26
|
## Features
|
|
31
27
|
|
|
32
|
-
A
|
|
28
|
+
A **session** (in code: an Epic) is one unit of work. A **Mission** is the kind of work. A **persona** is an agent's role file. A **worktree** is a copy of the repo on its own git branch. A **PRD** is a written work order that the scheduler runs.
|
|
33
29
|
|
|
34
30
|
### Sessions
|
|
35
31
|
|
|
@@ -43,14 +39,14 @@ A few words first. A **session** (in code: an Epic) is one unit of work. A **Mis
|
|
|
43
39
|
| Chat and Terminal | These are two views of one CLI session. | Switch views and keep the same chat. | Session view |
|
|
44
40
|
| Idle tabs | A tab starts no process until you send the first message. | Many open tabs cost almost nothing. | Sessions |
|
|
45
41
|
| Changes | Shows what the session changed. | You can review the work before you merge it. | Session, Changes tab |
|
|
46
|
-
| App preview | Runs one `npm` script per session on a free port. It opens
|
|
42
|
+
| App preview | Runs one `npm` script per session on a free port. It opens its first local URL. | You can see the app from that session's copy. | Session view |
|
|
47
43
|
|
|
48
44
|
### Scheduler
|
|
49
45
|
|
|
50
46
|
| Feature | What it does | Why it helps | Where |
|
|
51
47
|
| --- | --- | --- | --- |
|
|
52
48
|
| Headless jobs | Runs each PRD as a `claude -p` job with a pinned `--model`. | Work goes on while you do other things. | Scheduler |
|
|
53
|
-
| Run modes | `when-available` runs jobs while usage is under a set limit. `manual` runs a job
|
|
49
|
+
| Run modes | `when-available` runs jobs while usage is under a set limit. `manual` runs a job when you press Run. | Work fits inside your plan's limits. | Scheduler |
|
|
54
50
|
| Order | A PRD waits for the PRDs named in its `dependsOn`. | Steps run in the right order. | PRD fields |
|
|
55
51
|
| No clashes | Two PRDs that touch the same file never run at once. | Jobs do not break each other's edits. | Scheduler |
|
|
56
52
|
| One slot pool | One pool of slots for the whole machine, plus a free-memory check. | The machine does not run out of memory. | Scheduler |
|
|
@@ -66,84 +62,78 @@ A few words first. A **session** (in code: an Epic) is one unit of work. A **Mis
|
|
|
66
62
|
|
|
67
63
|
### Agents, Missions and macros
|
|
68
64
|
|
|
69
|
-
| Feature | What it does |
|
|
70
|
-
| --- | --- | --- |
|
|
71
|
-
| Agents library | Lists the personas on this machine. You can edit them. |
|
|
72
|
-
| Macros | A macro saves an agent, a Mission and a prompt. One press starts one new session. |
|
|
73
|
-
| Context packs | A pack adds a plugin and rules to one session. |
|
|
65
|
+
| Feature | What it does | Where |
|
|
66
|
+
| --- | --- | --- |
|
|
67
|
+
| Agents library | Lists the personas on this machine. You can edit them. | Agents |
|
|
68
|
+
| Macros | A macro saves an agent, a Mission and a prompt. One press starts one new session. | Sessions |
|
|
69
|
+
| Context packs | A pack adds a plugin and rules to one session. | New session form |
|
|
74
70
|
|
|
75
71
|
### Claude Code settings
|
|
76
72
|
|
|
77
|
-
| Feature | What it does |
|
|
78
|
-
| --- | --- | --- |
|
|
79
|
-
| CLAUDE.md | Edits your `~/.claude/CLAUDE.md`. |
|
|
80
|
-
| Claude config | Shows one project's `CLAUDE.md`, `.claude/settings.json`, `.mcp.json`, skills and memory folder. |
|
|
81
|
-
| Settings | Edits `settings.json` for each scope. It shows which scope wins. |
|
|
82
|
-
| Hooks | Edits hooks. You can test-fire one. |
|
|
83
|
-
| Extensions | Lists skills, MCP servers and plugins. |
|
|
73
|
+
| Feature | What it does | Where |
|
|
74
|
+
| --- | --- | --- |
|
|
75
|
+
| CLAUDE.md | Edits your `~/.claude/CLAUDE.md`. | CLAUDE.md |
|
|
76
|
+
| Claude config | Shows one project's `CLAUDE.md`, `.claude/settings.json`, `.mcp.json`, skills and memory folder. | Claude config |
|
|
77
|
+
| Settings | Edits `settings.json` for each scope. It shows which scope wins. | Settings |
|
|
78
|
+
| Hooks | Edits hooks. You can test-fire one. | Settings |
|
|
79
|
+
| Extensions | Lists skills, MCP servers and plugins. | Extensions |
|
|
84
80
|
|
|
85
81
|
### Project Home
|
|
86
82
|
|
|
87
|
-
| Feature | What it does |
|
|
88
|
-
| --- | --- | --- |
|
|
89
|
-
| Pages | Shows pages about the project. |
|
|
90
|
-
| Videos | Shows short demo videos. |
|
|
91
|
-
| Competitor matrix | Compares the project with others, feature by feature. |
|
|
92
|
-
| Video character | A saved look for the people in demo videos. |
|
|
93
|
-
| Written by agents | Agents write all of these through MCP tools. |
|
|
83
|
+
| Feature | What it does | Where |
|
|
84
|
+
| --- | --- | --- |
|
|
85
|
+
| Pages | Shows pages about the project. | Project Home |
|
|
86
|
+
| Videos | Shows short demo videos. | Project Home |
|
|
87
|
+
| Competitor matrix | Compares the project with others, feature by feature. | Project Home |
|
|
88
|
+
| Video character | A saved look for the people in demo videos. | Project Home |
|
|
89
|
+
| Written by agents | Agents write all of these through MCP tools. | MCP tools |
|
|
94
90
|
|
|
95
91
|
### Across projects
|
|
96
92
|
|
|
97
|
-
| Feature | What it does |
|
|
98
|
-
| --- | --- | --- |
|
|
99
|
-
| Cross-project feedback | An agent sends a finding to another repo on this machine. It lands there as a `proposed` session. |
|
|
100
|
-
| Feedback to the maker | You send feedback about the app. |
|
|
93
|
+
| Feature | What it does | Where |
|
|
94
|
+
| --- | --- | --- |
|
|
95
|
+
| Cross-project feedback | An agent sends a finding to another repo on this machine. It lands there as a `proposed` session. | `/send-feedback` |
|
|
96
|
+
| Feedback to the maker | You send feedback about the app. | Feedback panel |
|
|
101
97
|
|
|
102
98
|
### See what is going on
|
|
103
99
|
|
|
104
|
-
| Feature | What it does |
|
|
105
|
-
| --- | --- | --- |
|
|
106
|
-
| Dashboard | Shows every project and every active session on this machine. |
|
|
107
|
-
| Usage meters | Show how much of your plan's limits you used. |
|
|
108
|
-
| History | Shows spend, tokens and time across all projects. |
|
|
109
|
-
| File Explorer | Browse and edit files. |
|
|
100
|
+
| Feature | What it does | Where |
|
|
101
|
+
| --- | --- | --- |
|
|
102
|
+
| Dashboard | Shows every project and every active session on this machine. | Dashboard |
|
|
103
|
+
| Usage meters | Show how much of your plan's limits you used. | Dashboard |
|
|
104
|
+
| History | Shows spend, tokens and time across all projects. | History |
|
|
105
|
+
| File Explorer | Browse and edit files. | File Explorer |
|
|
110
106
|
|
|
111
107
|
### Input and remote
|
|
112
108
|
|
|
113
|
-
| Feature | What it does |
|
|
114
|
-
| --- | --- | --- |
|
|
115
|
-
| Voice input | Turns speech into text on your machine. Nothing leaves it. |
|
|
116
|
-
| Recording light | A light shows on top of every screen while the mic is on. |
|
|
117
|
-
|
|
|
118
|
-
| Simple mode | `--simple` opens one plain terminal. | Use it when you want just a terminal. | Launch flag |
|
|
119
|
-
| Command palette | `Cmd-K` or `Ctrl-K` opens a list of commands. | You can run any command from the keys. | Anywhere |
|
|
109
|
+
| Feature | What it does | Where |
|
|
110
|
+
| --- | --- | --- |
|
|
111
|
+
| Voice input | Turns speech into text on your machine. Nothing leaves it. | App Settings |
|
|
112
|
+
| Recording light | A light shows on top of every screen while the mic is on. | Top of window |
|
|
113
|
+
| Web remote | Drive the app from your phone, or let a paired service send work, through the bilko.run relay. | App Settings |
|
|
120
114
|
|
|
121
115
|
## Headless surface (for agents)
|
|
122
116
|
|
|
123
117
|
### MCP server
|
|
124
118
|
|
|
125
|
-
The MCP server
|
|
119
|
+
The MCP server lets an agent queue PRDs, read the queue, write Project Home pages and more.
|
|
126
120
|
|
|
127
|
-
The app adds it at user scope
|
|
121
|
+
The app adds it at user scope on first launch. To add it by hand, run:
|
|
128
122
|
|
|
129
123
|
```bash
|
|
130
124
|
claude mcp add session-manager-scheduler --scope user -- node <app>/scripts/scheduler-mcp-server.cjs
|
|
131
125
|
```
|
|
132
126
|
|
|
133
|
-
|
|
127
|
+
An installed build uses the app's own binary, with `-e ELECTRON_RUN_AS_NODE=1`.
|
|
134
128
|
|
|
135
|
-
|
|
129
|
+
Each call goes to the running app's local HTTP API. Its token is in `~/.claude/session-manager/admin-api.json`.
|
|
136
130
|
|
|
137
131
|
Two ways it can fail:
|
|
138
132
|
|
|
139
|
-
- A tool
|
|
140
|
-
- The tools are
|
|
133
|
+
- A tool says the app is not running. Start the app and try again.
|
|
134
|
+
- The tools are missing: the server is not added. Delete `~/.claude/session-manager/.scheduler-mcp-seeded` and restart the app.
|
|
141
135
|
|
|
142
|
-
Start with `session_manager_help
|
|
143
|
-
|
|
144
|
-
- No args: it lists every tool.
|
|
145
|
-
- `tool`: it explains one tool, with example args.
|
|
146
|
-
- `topic`: it shows one recipe.
|
|
136
|
+
Start with `session_manager_help`. No args lists every tool. `tool` explains one tool. `topic` shows one recipe.
|
|
147
137
|
|
|
148
138
|
Recipes:
|
|
149
139
|
|
|
@@ -153,79 +143,39 @@ Recipes:
|
|
|
153
143
|
- `hand-finding-to-another-project` — Hand a finding to another project
|
|
154
144
|
- `reply-to-the-project-that-asked` — Reply to the project that asked
|
|
155
145
|
- `add-project-video-tool` — Add a project video tool
|
|
146
|
+
- `script-press-demo-video` — Let a project's own script press Demo Video and read the outcome
|
|
156
147
|
<!-- /gen:mcp-recipes -->
|
|
157
148
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
<!-- gen:mcp-tools -->
|
|
161
|
-
| Tool | Group | Required args | What it does |
|
|
162
|
-
| --- | --- | --- | --- |
|
|
163
|
-
| `scheduler_reset_job` | scheduler | `slug` | Reset a stuck job so the scheduler runs it again. |
|
|
164
|
-
| `scheduler_pause` | scheduler | — | Pause new job starts for every project on this machine. |
|
|
165
|
-
| `scheduler_resume` | scheduler | — | Lift a scheduler pause so jobs start again. |
|
|
166
|
-
| `scheduler_list_jobs` | scheduler | — | List queued, running and finished jobs on this machine. |
|
|
167
|
-
| `scheduler_create_prd` | scheduler | `title`, `goal`, `acceptanceCriteria`, `implementationNotes`, `gate`, `files` | Queue one PRD (a written work order) in an Epic a human approved. |
|
|
168
|
-
| `scheduler_create_prds` | scheduler | `prds` | Queue a whole plan of PRDs in one all-or-nothing call. |
|
|
169
|
-
| `scheduler_list_prds` | scheduler | — | List PRDs and their job status, by project, Epic or status. |
|
|
170
|
-
| `scheduler_get_prd` | scheduler | `slug` | Read one PRD in full, with its frontmatter. |
|
|
171
|
-
| `scheduler_update_prd` | scheduler | `slug` | Edit a PRD that has not run yet or has stopped. |
|
|
172
|
-
| `scheduler_archive_prd` | scheduler | `slugs` | Archive PRDs that are done or no longer needed. |
|
|
173
|
-
| `scheduler_cancel_job` | scheduler | `slug` | Cancel a job that has not finished. |
|
|
174
|
-
| `scheduler_retag_prd` | scheduler | `items` | Change a PRD's group number or time estimate. |
|
|
175
|
-
| `chat_send_prompt` | chat | `tabId`, `prompt` | Send a prompt to a session tab that is already open. |
|
|
176
|
-
| `feedback_list_projects` | feedback | — | List the other projects on this machine that can take feedback. |
|
|
177
|
-
| `feedback_open_session` | feedback | `toCwd`, `fromCwd`, `title`, `motivation`, `acceptanceCriteria`, `body` | Hand a finding to another project as a proposed session there. |
|
|
178
|
-
| `feedback_reply` | feedback | `message`, `outcome` | Answer the project that sent this session its feedback. |
|
|
179
|
-
| `project_home_write` | project-home | `html` | Write the Overview page of Project Home (same as project_page_write). |
|
|
180
|
-
| `project_page_write` | project-home | `pageId`, `title`, one of `html` / `htmlPath` | Write one HTML knowledge page for Project Home. |
|
|
181
|
-
| `project_matrix_read` | project-home | — | Read the saved competitor feature matrix and its schema. |
|
|
182
|
-
| `project_matrix_write` | project-home | one of `matrix` / `matrixPath` | Save the competitor feature matrix as one JSON object. |
|
|
183
|
-
| `project_video_write` | project-home | `videoId`, `title`, `kind`, `lengthS`, `meta`, one of `html` / `htmlPath` | Save one self-contained HTML video for Project Home. |
|
|
184
|
-
| `project_demo_video_write` | project-home | one of `html` / `htmlPath` | Save a 30-second or 1-minute demo video (same as project_video_write). |
|
|
185
|
-
| `project_character_write` | project-home | `json`, one of `js` / `jsPath` | Save the reusable character used in this project's videos. |
|
|
186
|
-
| `project_video_review_write` | project-home | `videoId`, `text`, `imagePaths` | Save a script and images for a human to review a video. |
|
|
187
|
-
| `customer_feedback_list` | customer-feedback | — | List feedback that users sent to the owner's inbox. |
|
|
188
|
-
| `customer_feedback_set_status` | customer-feedback | `id`, `status` | Set the status of one feedback item, with an optional note. |
|
|
189
|
-
| `customer_feedback_submit` | customer-feedback | `goal`, `description`, `tag` | Send feedback about Session Manager to its maintainers. |
|
|
190
|
-
| `macro_list` | macros | — | List this project's saved one-click macros. |
|
|
191
|
-
| `macro_save` | macros | `label`, `agentName`, `tag`, `prompt` | Create or change a saved one-click macro (agent, mission, prompt). |
|
|
192
|
-
| `macro_delete` | macros | `id` | Delete one saved macro. |
|
|
193
|
-
| `epic_list` | epics | `cwd` | List the open sessions of one project and what state each is in. |
|
|
194
|
-
| `epic_get` | epics | `cwd`, one of `id` / `externalRef` | Read one session by its id or by the outside reference it was opened with. |
|
|
195
|
-
| `agent_list` | agents | — | List the agents you can launch and the model each one runs on. |
|
|
196
|
-
| `task_list` | tasks | `cwd` | List a project's Tasks with their status, model and cost. |
|
|
197
|
-
| `task_get` | tasks | `cwd`, `id` | Read one Task in full, with its prompt and output. |
|
|
198
|
-
| `session_manager_help` | help | — | Start here: list every tool, or explain one tool or recipe. |
|
|
199
|
-
<!-- /gen:mcp-tools -->
|
|
149
|
+
The full list of tools, with what each one needs, is in [MCP tools](https://github.com/StanislavBG/claude-code-session-manager/blob/main/session-manager-operations/architecture/mcp-tools.md).
|
|
200
150
|
|
|
201
151
|
Rules the server enforces:
|
|
202
152
|
|
|
203
|
-
- A new PRD must join a session
|
|
153
|
+
- A new PRD must join a session a person approved. The server never creates one.
|
|
204
154
|
- A new PRD must have a `gate` and a `files` list.
|
|
205
|
-
-
|
|
155
|
+
- Only a session a person is in, or a job run as `architect`, can queue PRDs.
|
|
206
156
|
- A job with `SM_SCHEDULER_JOB_MCP_TOOLS` set can call only the tools in that list.
|
|
207
157
|
- A pause set by an agent ends after 30 minutes. A pause set by a person stays until `scheduler_resume`.
|
|
208
158
|
|
|
209
159
|
### Headless jobs
|
|
210
160
|
|
|
211
|
-
Each PRD job runs as the PRD's persona
|
|
161
|
+
Each PRD job runs as the PRD's persona (`dev-lead` by default) in its own worktree, then commits. Its last line is a verdict such as `SCHEDULER_VERDICT: PASS`.
|
|
212
162
|
|
|
213
163
|
### Scripts
|
|
214
164
|
|
|
215
|
-
A script can start a macro with `POST /admin/macros/run
|
|
165
|
+
A script can start a macro with `POST /admin/macros/run`, if a person marked it "Can be started by a script".
|
|
216
166
|
|
|
217
167
|
## Skills
|
|
218
168
|
|
|
219
169
|
### Plugin session-manager-dev
|
|
220
170
|
|
|
221
|
-
|
|
171
|
+
The app installs and updates it offline from its bundled `session-manager` marketplace. To install it outside the app, run:
|
|
222
172
|
|
|
223
173
|
```bash
|
|
224
174
|
claude plugin marketplace add StanislavBG/claude-code-session-manager
|
|
225
175
|
claude plugin install session-manager-dev@session-manager
|
|
226
176
|
```
|
|
227
177
|
|
|
228
|
-
`/develop` and `/send-feedback` call the MCP server
|
|
178
|
+
`/develop` and `/send-feedback` call the MCP server, so the app must run.
|
|
229
179
|
|
|
230
180
|
<!-- list:skills -->
|
|
231
181
|
| Skill | Use it to |
|
|
@@ -238,8 +188,6 @@ claude plugin install session-manager-dev@session-manager
|
|
|
238
188
|
|
|
239
189
|
### Context packs
|
|
240
190
|
|
|
241
|
-
You pick packs for each session. A pack adds its skills and rules to that session only.
|
|
242
|
-
|
|
243
191
|
<!-- list:packs -->
|
|
244
192
|
| Pack | What it adds | Skills |
|
|
245
193
|
| --- | --- | --- |
|
|
@@ -249,8 +197,6 @@ You pick packs for each session. A pack adds its skills and rules to that sessio
|
|
|
249
197
|
|
|
250
198
|
### Agent personas
|
|
251
199
|
|
|
252
|
-
The app copies these into `~/.claude/agents/` on first launch.
|
|
253
|
-
|
|
254
200
|
<!-- list:personas -->
|
|
255
201
|
| Persona | Role |
|
|
256
202
|
| --- | --- |
|
|
@@ -270,8 +216,8 @@ The app copies these into `~/.claude/agents/` on first launch.
|
|
|
270
216
|
|
|
271
217
|
| Path | How | Needs | Platforms |
|
|
272
218
|
| --- | --- | --- | --- |
|
|
273
|
-
| Installer |
|
|
274
|
-
| npx |
|
|
219
|
+
| Installer | See Installers in [Facts](#facts). | Nothing else. The app helps you set up `git` and Claude Code. | macOS, Windows, Linux |
|
|
220
|
+
| npx | See Run in [Facts](#facts). | Node per [Facts](#facts), `git`, Claude Code | Linux, macOS |
|
|
275
221
|
| From source | `git clone`, `npm install`, `npm run dev` | Node, `git`, Claude Code | Linux, macOS |
|
|
276
222
|
|
|
277
223
|
### What the first launch changes
|
|
@@ -283,22 +229,16 @@ The app copies these into `~/.claude/agents/` on first launch.
|
|
|
283
229
|
| Personas | `~/.claude/agents/`. Old copies are backed up to `~/.claude/session-manager/persona-backups/`. Files you edited are left alone. | `SM_SEED_AGENT_PERSONAS_DISABLE=1` |
|
|
284
230
|
| Demo video kit | `~/.claude/session-manager/demo-video-kit/` | `SM_SEED_DEMO_VIDEO_KIT_DISABLE=1` |
|
|
285
231
|
| Guard hook shims | `~/.claude/session-manager/hooks/`. A project uses them once you accept its setup banner. | Do not accept the banner. |
|
|
286
|
-
| App state | `~/.claude/session-manager/` | None |
|
|
287
|
-
| Project folder | `<repo>/session-manager-operations/` | None |
|
|
288
|
-
| Session worktrees | `$XDG_STATE_HOME/session-manager/`, by default `~/.local/state/session-manager/` | None |
|
|
289
|
-
| Telemetry | Sent to bilko.run | `SM_TELEMETRY=0` |
|
|
290
232
|
|
|
291
|
-
|
|
233
|
+
It also makes the state folders in [Facts](#facts). They have no off switch.
|
|
292
234
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
An npx install starts through `npx claude-code-session-manager@latest`, so each login fetches the newest release; if that fails within two minutes, it retries with the cached copy. The script is `~/.claude/session-manager/start-at-login.sh`, run by a desktop entry in `~/.config/autostart/` (Linux) or a launch agent in `~/Library/LaunchAgents/` (macOS).
|
|
235
|
+
### Start at login
|
|
296
236
|
|
|
297
|
-
|
|
237
|
+
Off by default. Turn it on in App Settings, Startup. It is not offered in a dev run.
|
|
298
238
|
|
|
299
|
-
|
|
239
|
+
An npx install runs `npx claude-code-session-manager@latest` at each login, or the cached copy if that fails within two minutes. Its script, `~/.claude/session-manager/start-at-login.sh`, runs from `~/.config/autostart/claude-code-session-manager.desktop` (Linux) or `~/Library/LaunchAgents/run.bilko.session-manager.login.plist` (macOS). A packaged build uses a login item (macOS, Windows) or the autostart folder (Linux AppImage).
|
|
300
240
|
|
|
301
|
-
|
|
241
|
+
To remove it, turn the switch off, or delete the script and `claude-code-session-manager.desktop` (Linux) or `run.bilko.session-manager.login.plist` (macOS). On a packaged macOS or Windows build, use login items.
|
|
302
242
|
|
|
303
243
|
### Check it worked
|
|
304
244
|
|
|
@@ -307,13 +247,11 @@ claude mcp get session-manager-scheduler
|
|
|
307
247
|
claude plugin list
|
|
308
248
|
```
|
|
309
249
|
|
|
310
|
-
Then have an agent call `session_manager_help` with no args.
|
|
311
|
-
|
|
312
250
|
### If it fails
|
|
313
251
|
|
|
314
252
|
| Problem | Fix |
|
|
315
253
|
| --- | --- |
|
|
316
|
-
| Node is too old | Install the Node
|
|
254
|
+
| Node is too old | Install the Node in [Facts](#facts), or use the installer. |
|
|
317
255
|
| The Electron download failed | Try again. Or set `ELECTRON_MIRROR` to a mirror you can reach. |
|
|
318
256
|
| No `node-pty` build for your platform | macOS: run `xcode-select --install`. Linux: install `build-essential` and `python3`. |
|
|
319
257
|
| Anything else | Read the logs. Linux: `~/.config/claude-code-session-manager/logs`. macOS: `~/Library/Application Support/claude-code-session-manager/logs`. Windows: `%APPDATA%\claude-code-session-manager\logs`. |
|
|
@@ -329,27 +267,24 @@ Then have an agent call `session_manager_help` with no args.
|
|
|
329
267
|
|
|
330
268
|
### Env vars
|
|
331
269
|
|
|
270
|
+
`SM_TELEMETRY`: see [Facts](#facts). `SM_SEED_*`: see [What the first launch changes](#what-the-first-launch-changes).
|
|
271
|
+
|
|
332
272
|
| Var | What it does |
|
|
333
273
|
| --- | --- |
|
|
334
|
-
| `SM_TELEMETRY=0` | Turns off telemetry. |
|
|
335
|
-
| `SM_SEED_SCHEDULER_MCP_DISABLE=1` | Do not add the MCP server. |
|
|
336
|
-
| `SM_SEED_DEV_PLUGIN_DISABLE=1` | Do not install the plugin. |
|
|
337
|
-
| `SM_SEED_AGENT_PERSONAS_DISABLE=1` | Do not copy personas. |
|
|
338
|
-
| `SM_SEED_DEMO_VIDEO_KIT_DISABLE=1` | Do not copy the demo video kit. |
|
|
339
274
|
| `SM_WORKTREE_ROOT` | Moves where session and job worktrees are made. |
|
|
340
275
|
| `SM_SCHEDULER_HOME` | Moves app state away from `~/.claude/session-manager/`. Use it for tests. |
|
|
341
276
|
| `ELECTRON_MIRROR` | Where `npx` gets Electron from. |
|
|
342
277
|
|
|
343
278
|
### Network
|
|
344
279
|
|
|
345
|
-
Your prompts go only to the agent CLI you chose. The app
|
|
280
|
+
Your prompts go only to the agent CLI you chose. The app itself talks to:
|
|
346
281
|
|
|
347
282
|
| Host | Why |
|
|
348
283
|
| --- | --- |
|
|
349
284
|
| `api.anthropic.com` | Reads your usage, for the meters and the scheduler. |
|
|
350
285
|
| `registry.npmjs.org` | Checks for a new app version. |
|
|
351
286
|
| `json.schemastore.org`, `www.schemastore.org` | Checks JSON files as you edit them. |
|
|
352
|
-
| bilko.run | Telemetry and the
|
|
287
|
+
| bilko.run | Telemetry and the Web remote relay. |
|
|
353
288
|
|
|
354
289
|
### Keyboard
|
|
355
290
|
|
|
@@ -367,18 +302,7 @@ Your prompts go only to the agent CLI you chose. The app never sends them anywhe
|
|
|
367
302
|
|
|
368
303
|
## Development
|
|
369
304
|
|
|
370
|
-
|
|
371
|
-
git clone https://github.com/StanislavBG/claude-code-session-manager
|
|
372
|
-
cd claude-code-session-manager
|
|
373
|
-
npm install
|
|
374
|
-
npm run dev
|
|
375
|
-
npm run typecheck
|
|
376
|
-
npm run lint
|
|
377
|
-
npm run test:unit
|
|
378
|
-
npm run test:e2e
|
|
379
|
-
```
|
|
380
|
-
|
|
381
|
-
Read [CONTRIBUTING.md](https://github.com/StanislavBG/claude-code-session-manager/blob/main/CONTRIBUTING.md) before you open a PR. Report security bugs as told in [SECURITY.md](https://github.com/StanislavBG/claude-code-session-manager/blob/main/SECURITY.md), not in a public issue. See also [CODE_OF_CONDUCT.md](https://github.com/StanislavBG/claude-code-session-manager/blob/main/CODE_OF_CONDUCT.md). Read [PRD_AUTHORING.md](https://github.com/StanislavBG/claude-code-session-manager/blob/main/src/main/templates/PRD_AUTHORING.md) before you write a PRD.
|
|
305
|
+
Setup and the checks to run (`typecheck`, `lint`, `test:unit`) are in [CONTRIBUTING.md](https://github.com/StanislavBG/claude-code-session-manager/blob/main/CONTRIBUTING.md). Read it before you open a PR. The Electron tests run with `npm run test:e2e`. Report security bugs as told in [SECURITY.md](https://github.com/StanislavBG/claude-code-session-manager/blob/main/SECURITY.md), not in a public issue. Read [PRD_AUTHORING.md](https://github.com/StanislavBG/claude-code-session-manager/blob/main/src/main/templates/PRD_AUTHORING.md) before you write a PRD.
|
|
382
306
|
|
|
383
307
|
Run `npm run readme:build` after you change MCP tools, skills, packs, personas or `engines`. `npm run lint` fails if this page is out of date.
|
|
384
308
|
|
|
@@ -387,13 +311,12 @@ Run `npm run readme:build` after you change MCP tools, skills, packs, personas o
|
|
|
387
311
|
| Link | URL |
|
|
388
312
|
| --- | --- |
|
|
389
313
|
| Field Manual | https://bilko.run/manual |
|
|
390
|
-
| Product page | https://bilko.run/
|
|
314
|
+
| Product page | https://bilko.run/products/session-manager |
|
|
391
315
|
| Source | https://github.com/StanislavBG/claude-code-session-manager |
|
|
392
|
-
| Releases | https://github.com/StanislavBG/claude-code-session-manager/releases |
|
|
393
316
|
| Issues | https://github.com/StanislavBG/claude-code-session-manager/issues |
|
|
394
317
|
| Buy me a coffee | https://bilko.run/coffee |
|
|
395
318
|
| Talk to Bilko | https://bilko.run/book?utm_source=session-manager&utm_medium=readme |
|
|
396
319
|
|
|
397
320
|
## License
|
|
398
321
|
|
|
399
|
-
MIT. The app and the Field Manual are free.
|
|
322
|
+
MIT. The app and the Field Manual are free.
|
package/bin/cli.cjs
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
* npx launcher for claude-code-session-manager.
|
|
4
4
|
* Spawns the Electron binary on the package root so main: src/main/index.cjs boots.
|
|
5
5
|
*/
|
|
6
|
+
// `service ...` is the headless service CLI (pair / stdio MCP bridge): route it before any
|
|
7
|
+
// Electron code loads — it must run on a machine with no Electron binary.
|
|
8
|
+
if (process.argv[2] === 'service') {
|
|
9
|
+
const { runServiceCli } = require('../src/main/lib/feedback-remote/serviceStdioBridge.cjs');
|
|
10
|
+
runServiceCli(process.argv.slice(3)).then(
|
|
11
|
+
(code) => process.exit(code),
|
|
12
|
+
(err) => { console.error(`service: ${err && err.message ? err.message : String(err)}`); process.exit(1); },
|
|
13
|
+
);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
|
|
6
17
|
const { spawn } = require('node:child_process');
|
|
7
18
|
const path = require('node:path');
|
|
8
19
|
const { nodeFloor, isBelow } = require('./node-floor.cjs');
|