claude-code-session-manager 0.138.0 → 0.140.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.
Files changed (194) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/README.md +352 -79
  3. package/dist/assets/AppSettings-CMFEM68R.js +2 -0
  4. package/dist/assets/History--JwsFnbn.js +2 -0
  5. package/dist/assets/HomeClaudeConfig-ijEXs--3.js +3 -0
  6. package/dist/assets/{Panel-CeDiyuNn.js → Panel-CALyU0pe.js} +1 -1
  7. package/dist/assets/ProjectClaudeConfig-sdlA-fUb.js +26 -0
  8. package/dist/assets/Scheduler-YT3j8SUa.js +16 -0
  9. package/dist/assets/{SkillReferenceGraph-CFMK8NJh.js → SkillReferenceGraph-CxAuwhNN.js} +1 -1
  10. package/dist/assets/Skills-DtRzghn5.js +67 -0
  11. package/dist/assets/{TiptapBody-D1kTj-tn.js → TiptapBody-DApeu7x8.js} +60 -54
  12. package/dist/assets/ViewTabs-B7qLXRAH.js +1 -0
  13. package/dist/assets/{VoiceButton-CZeyPM31.js → VoiceButton-DtStfv1H.js} +1 -1
  14. package/dist/assets/{historyTotals-B00l64Jw.js → historyTotals-ydfnwepc.js} +1 -1
  15. package/dist/assets/index-CtxruO1L.js +3121 -0
  16. package/dist/assets/{index-62tyjEQB.css → index-DKXdXfka.css} +1 -1
  17. package/dist/index.html +2 -2
  18. package/dist-web/app.css +1 -1
  19. package/dist-web/app.js +467 -451
  20. package/package.json +17 -6
  21. package/plugins/AGENTS.md +60 -0
  22. package/plugins/CLAUDE.md +1 -60
  23. package/plugins/session-manager-dev/.claude-plugin/plugin.json +1 -1
  24. package/plugins/session-manager-dev/skills/builder/SKILL.md +12 -4
  25. package/plugins/session-manager-dev/skills/builder/scripts/publish-preflight.cjs +255 -0
  26. package/plugins/session-manager-dev/skills/develop/SKILL.md +36 -22
  27. package/plugins/session-manager-dev/skills/maintaining-md-network/SKILL.md +5 -4
  28. package/plugins/session-manager-dev/skills/maintaining-md-network/audit.md +4 -2
  29. package/plugins/session-manager-dev/skills/maintaining-md-network/drift-check.md +16 -12
  30. package/plugins/session-manager-dev/skills/maintaining-md-network/migrate-to-agents-md.md +15 -0
  31. package/plugins/session-manager-dev/skills/maintaining-md-network/placement.md +50 -2
  32. package/plugins/session-manager-dev/skills/maintaining-md-network/plan.md +10 -10
  33. package/plugins/session-manager-dev/skills/maintaining-md-network/scripts/drift-check.cjs +117 -112
  34. package/plugins/session-manager-dev/skills/maintaining-md-network/scripts/mdDuplicates.cjs +182 -0
  35. package/plugins/session-manager-dev/skills/maintaining-md-network/scripts/mdLinks.cjs +340 -0
  36. package/scripts/README.md +2 -0
  37. package/scripts/hooks/guard-tool-risk.cjs +91 -0
  38. package/scripts/hooks/lib/guard-tool-risk-policy.cjs +217 -0
  39. package/scripts/ops-sweep.cjs +53 -23
  40. package/scripts/scheduler-mcp-server.cjs +360 -35
  41. package/src/main/build-info.json +4 -4
  42. package/src/main/chatRunner.cjs +2 -2
  43. package/src/main/config.cjs +112 -8
  44. package/src/main/docEdit.cjs +6 -1
  45. package/src/main/exchanges.cjs +70 -5
  46. package/src/main/files.cjs +7 -27
  47. package/src/main/health.cjs +48 -15
  48. package/src/main/historyAggregator.cjs +172 -63
  49. package/src/main/historyDashboard.cjs +87 -17
  50. package/src/main/index.cjs +78 -4
  51. package/src/main/ipcSchemas.cjs +233 -20
  52. package/src/main/lib/AGENTS.md +54 -0
  53. package/src/main/lib/CLAUDE.md +1 -54
  54. package/src/main/lib/agent-cli/adapters/codex.cjs +5 -2
  55. package/src/main/lib/agent-cli/agentCliIpc.cjs +18 -2
  56. package/src/main/lib/agent-cli/agentCliSessionStore.cjs +1 -0
  57. package/src/main/lib/agent-cli/agentCliTurn.cjs +20 -2
  58. package/src/main/lib/agent-cli/geminiContextDefaults.cjs +94 -0
  59. package/src/main/lib/claude/effectiveModelInfo.cjs +92 -22
  60. package/src/main/lib/claude/jobSandboxPolicy.cjs +202 -0
  61. package/src/main/lib/claude/modelPricing.cjs +148 -0
  62. package/src/main/lib/claude/personaToolScope.cjs +12 -6
  63. package/src/main/lib/claude/rateLimitDetect.cjs +13 -2
  64. package/src/main/lib/claude/runClaudeP.cjs +6 -1
  65. package/src/main/lib/claude/toolRiskIpc.cjs +177 -0
  66. package/src/main/lib/claude/toolRiskMarks.cjs +373 -0
  67. package/src/main/lib/demo-video-kit/seedKit.cjs +27 -6
  68. package/src/main/lib/ephemeralCwd.cjs +37 -2
  69. package/src/main/lib/epic/delegationReadiness.cjs +42 -9
  70. package/src/main/lib/epic/epicAdminRoutes.cjs +121 -0
  71. package/src/main/lib/epic/epicJobReceipt.cjs +87 -0
  72. package/src/main/lib/epic/epicOutsideRead.cjs +423 -0
  73. package/src/main/lib/epic/epicOutsideState.cjs +233 -0
  74. package/src/main/lib/epic/epicSettle.cjs +1 -1
  75. package/src/main/lib/epic/epicStateWatcher.cjs +157 -0
  76. package/src/main/lib/epic/epicSweepValidator.cjs +7 -2
  77. package/src/main/lib/epic/epicValidationHook.cjs +24 -4
  78. package/src/main/lib/epic/externalRef.cjs +37 -0
  79. package/src/main/lib/epic/externalRefIndex.cjs +136 -0
  80. package/src/main/lib/epic/guardSpawnSettings.cjs +57 -1
  81. package/src/main/lib/epic/restorableSessions.cjs +151 -17
  82. package/src/main/lib/epic/transcriptUsage.cjs +197 -0
  83. package/src/main/lib/externalContract.cjs +137 -0
  84. package/src/main/lib/feedback-remote/crossProjectFeedback.cjs +176 -5
  85. package/src/main/lib/feedback-remote/crossProjectReply.cjs +186 -9
  86. package/src/main/lib/feedback-remote/customerFeedbackAdminRoutes.cjs +16 -6
  87. package/src/main/lib/feedback-remote/customerFeedbackClient.cjs +50 -8
  88. package/src/main/lib/feedback-remote/customerFeedbackInbox.cjs +218 -4
  89. package/src/main/lib/feedback-remote/customerFeedbackIpc.cjs +19 -3
  90. package/src/main/lib/feedback-remote/feedbackImages.cjs +171 -0
  91. package/src/main/lib/feedback-remote/localAdminHttp.cjs +11 -10
  92. package/src/main/lib/feedback-remote/macroAdminRoutes.cjs +167 -21
  93. package/src/main/lib/feedback-remote/needsYouAdminRoutes.cjs +133 -0
  94. package/src/main/lib/feedback-remote/needsYouIpc.cjs +50 -0
  95. package/src/main/lib/feedback-remote/needsYouStore.cjs +285 -0
  96. package/src/main/lib/feedback-remote/projectHomeAdminRoutes.cjs +98 -1
  97. package/src/main/lib/feedback-remote/remoteIpcDispatch.cjs +5 -0
  98. package/src/main/lib/git/branchSweep.cjs +209 -4
  99. package/src/main/lib/git/gitWorktree.cjs +41 -5
  100. package/src/main/lib/guardShims.cjs +1 -1
  101. package/src/main/lib/historyRollup.cjs +58 -5
  102. package/src/main/lib/insideHome.cjs +27 -1
  103. package/src/main/lib/mcpToolCatalog.cjs +232 -25
  104. package/src/main/lib/mdDocCensus.cjs +59 -78
  105. package/src/main/lib/mdDocRefs.cjs +71 -93
  106. package/src/main/lib/mdNetworkScan.cjs +245 -250
  107. package/src/main/lib/mdReviewRecord.cjs +22 -9
  108. package/src/main/lib/memoryMdNetwork.cjs +5 -12
  109. package/src/main/lib/opsOwnership.cjs +18 -2
  110. package/src/main/lib/opsRetentionSettings.cjs +28 -4
  111. package/src/main/lib/persona-macro/agentAdminRoutes.cjs +121 -0
  112. package/src/main/lib/persona-macro/macroJobDispatch.cjs +90 -20
  113. package/src/main/lib/persona-macro/macroJobIpc.cjs +144 -46
  114. package/src/main/lib/persona-macro/macroJobStatus.cjs +87 -9
  115. package/src/main/lib/persona-macro/macroLibrary.cjs +95 -5
  116. package/src/main/lib/persona-macro/personaImportHealth.cjs +78 -17
  117. package/src/main/lib/persona-macro/projectVideoToolCheck.cjs +96 -0
  118. package/src/main/lib/persona-macro/shippedPersonaSeeds.cjs +11 -0
  119. package/src/main/lib/prd/depSlugResolve.cjs +104 -4
  120. package/src/main/lib/prd/prdAdminRoutes.cjs +35 -2
  121. package/src/main/lib/prd/prdCreate.cjs +351 -23
  122. package/src/main/lib/prd/prdDisposition.cjs +11 -2
  123. package/src/main/lib/prd/prdFrontmatter.cjs +96 -3
  124. package/src/main/lib/process/loginItem.cjs +171 -0
  125. package/src/main/lib/process/loginItemPlan.cjs +193 -0
  126. package/src/main/lib/project-pages/playerBridge.cjs +4 -0
  127. package/src/main/lib/project-pages/videoReview.cjs +268 -0
  128. package/src/main/lib/project-pages/videoReviewIpc.cjs +229 -0
  129. package/src/main/lib/promptSessionSchema.cjs +4 -0
  130. package/src/main/lib/remoteTranscriptTail.cjs +32 -1
  131. package/src/main/lib/scheduler/cpuSample.cjs +131 -4
  132. package/src/main/lib/scheduler/fixPlanSlug.cjs +4 -3
  133. package/src/main/lib/scheduler/loadGate.cjs +24 -6
  134. package/src/main/lib/scheduler/planRecordHarvest.cjs +108 -0
  135. package/src/main/lib/scheduler/planRecordRetention.cjs +144 -0
  136. package/src/main/lib/scheduler/queueStore.cjs +7 -0
  137. package/src/main/lib/scheduler/rcaReport.cjs +21 -1
  138. package/src/main/lib/scheduler/reaperHelpers.cjs +35 -5
  139. package/src/main/lib/scheduler/runLogRetention.cjs +104 -3
  140. package/src/main/lib/scheduler/scheduleJobSchema.cjs +3 -0
  141. package/src/main/lib/scheduler/schedulerBatch.cjs +25 -48
  142. package/src/main/lib/scheduler/schedulerPaths.cjs +12 -0
  143. package/src/main/lib/scheduler/sessionSlots.cjs +176 -21
  144. package/src/main/lib/scheduler/validationQuality.cjs +282 -0
  145. package/src/main/lib/scheduler/validatorVerdictSchema.cjs +254 -0
  146. package/src/main/lib/tasks/taskAdminRoutes.cjs +641 -0
  147. package/src/main/lib/tasks/taskIpc.cjs +80 -0
  148. package/src/main/lib/tasks/taskLedger.cjs +502 -0
  149. package/src/main/lib/tasks/taskRun.cjs +313 -0
  150. package/src/main/lib/tasks/taskSwitch.cjs +120 -0
  151. package/src/main/lib/telemetry/auditEvents.cjs +176 -0
  152. package/src/main/lib/telemetry/eventsAdminRoutes.cjs +45 -0
  153. package/src/main/loginItemIpc.cjs +35 -0
  154. package/src/main/loopEfficiencyHandlers.cjs +11 -2
  155. package/src/main/projectPages.cjs +6 -15
  156. package/src/main/promptSessionEvents.cjs +9 -1
  157. package/src/main/queueOps.cjs +260 -3
  158. package/src/main/runVerify.cjs +53 -25
  159. package/src/main/scheduler/AGENTS.md +26 -0
  160. package/src/main/scheduler/CLAUDE.md +1 -26
  161. package/src/main/scheduler/budget.cjs +239 -9
  162. package/src/main/scheduler/cancelDependents.cjs +154 -0
  163. package/src/main/scheduler/prdParser.cjs +4 -1
  164. package/src/main/scheduler/starvation.cjs +20 -18
  165. package/src/main/scheduler.cjs +774 -64
  166. package/src/main/supervisor.cjs +5 -1
  167. package/src/main/templates/PRD_AUTHORING.md +7 -1
  168. package/src/main/transcripts.cjs +62 -7
  169. package/src/main/validationQualityHandlers.cjs +199 -0
  170. package/src/main/webRemote.cjs +132 -20
  171. package/src/preload/api.d.ts +434 -28
  172. package/src/preload/apiSurface.cjs +7 -0
  173. package/src/preload/apiSurface.json +485 -81
  174. package/src/preload/index.cjs +38 -5
  175. package/src/seed/agents/validator.md +19 -8
  176. package/dist/assets/AgentLibrary-C1d_D7uQ.js +0 -2
  177. package/dist/assets/AppSettings-CgDhqrsU.js +0 -2
  178. package/dist/assets/Button-Bk23rEnZ.js +0 -1
  179. package/dist/assets/DocumentEditorPane-BqY5Nq6W.js +0 -1
  180. package/dist/assets/Extensions-CXem-uwI.js +0 -2
  181. package/dist/assets/History-BwO3coo4.js +0 -2
  182. package/dist/assets/Library-BDV69fSe.js +0 -32
  183. package/dist/assets/ListDetail-CD-Fm6mh.js +0 -1
  184. package/dist/assets/ProjectClaudeConfig-NjdKdwe8.js +0 -25
  185. package/dist/assets/ProvenanceBadge-Bu8NmI_R.js +0 -1
  186. package/dist/assets/Scheduler-CkhTvG7C.js +0 -16
  187. package/dist/assets/Settings-COT34hBF.js +0 -2
  188. package/dist/assets/Skills-BgexoUkQ.js +0 -29
  189. package/dist/assets/SourceChip-BXjcdeb1.js +0 -1
  190. package/dist/assets/SystemPrompt-CeeH3EeW.js +0 -1
  191. package/dist/assets/Toggle-CENi19iK.js +0 -1
  192. package/dist/assets/ViewTabs-DDBb0x96.js +0 -1
  193. package/dist/assets/claude-settings-schema-COigsajx.js +0 -3
  194. package/dist/assets/index-CgCxpunJ.js +0 -3116
@@ -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.3",
17
+ "version": "0.4.4",
18
18
  "category": "development",
19
19
  "strict": false
20
20
  }
package/README.md CHANGED
@@ -1,126 +1,399 @@
1
1
  # claude-code-session-manager
2
2
 
3
- Local cockpit for the Claude Code CLI (the default; sessions can also run Codex, Gemini CLI, Antigravity CLI, Cursor Agent or OpenCode) — multi-tab terminal, configuration surface, scheduler, voice dictation, and live observability, all in one Electron desktop app.
3
+ > A free desktop app for Claude Code. Each piece of work is a session with its own agent, its own mission and its own 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 -->36<!-- /gen:mcp-tool-count --> tools and a plugin with <!-- gen:skill-count -->4<!-- /gen:skill-count --> skills. It runs on your machine. MIT license.
4
+
5
+ ## Facts
6
+
7
+ | Key | Value |
8
+ | --- | --- |
9
+ | Kind | Desktop app built on Electron. It is not a library. It has no JS API. |
10
+ | Run | `npx claude-code-session-manager@latest` |
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
+ | 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
+ | npx platforms | Linux and macOS. On Windows, use the installer. |
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` |
16
+ | 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: `~/.local/state/session-manager/`, or `$XDG_STATE_HOME/session-manager/` when `XDG_STATE_HOME` is set. |
18
+ | Telemetry | Anonymous and on by default. Turn it off with `SM_TELEMETRY=0`. |
19
+ | License | MIT |
20
+
21
+ ## Not
22
+
23
+ - It is not a hosted or cloud service. It is a desktop app. Your sessions and files stay on your machine.
24
+ - It is not made, backed or supported by Anthropic. One person builds it as an open-source project.
25
+ - It does not give you Claude access or replace a Claude plan. You need Claude Code, signed in with your own account.
26
+ - It has no paid, pro or trial tier. The app and the Field Manual are both free.
27
+ - It is not a team or business product. It has no support deal and no uptime promise.
28
+ - It is not a library. You cannot `import` it.
29
+
30
+ ## Features
31
+
32
+ A few words first. 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 separate copy of the repo on its own git branch. A **PRD** is a written work order that the scheduler runs.
33
+
34
+ ### Sessions
35
+
36
+ | Feature | What it does | Why it helps | Where |
37
+ | --- | --- | --- | --- |
38
+ | Sessions | Each session has an agent, a Mission and an agent CLI. | You pick who does the work, and what kind. | Sessions |
39
+ | Missions | There are seven: Feature, Bug, Discussion, Build, Project Home Builder, 3D Art, Portfolio Optimization. | Each Mission gives the agent a fitting start. | New session form |
40
+ | Life cycle | A session is `proposed`, then `active`, then `completed`. | You can see what is waiting, running and done. | Sessions |
41
+ | Human start | Only a person can create a session. Agents cannot. | No agent can make work for itself. | New session button |
42
+ | Own copy | An active session runs in its own worktree, on branch `sm-epic/<id>`. | Many sessions can work on one repo at once. | On disk |
43
+ | Chat and Terminal | These are two views of one CLI session. | Switch views and keep the same chat. | Session view |
44
+ | Idle tabs | A tab starts no process until you send the first message. | Many open tabs cost almost nothing. | Sessions |
45
+ | 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 the first local URL in your browser. | You can see the app from that session's copy. | Session view |
47
+
48
+ ### Scheduler
49
+
50
+ | Feature | What it does | Why it helps | Where |
51
+ | --- | --- | --- | --- |
52
+ | 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 only when you press Run. | Work fits inside your plan's limits. | Scheduler |
54
+ | Order | A PRD waits for the PRDs named in its `dependsOn`. | Steps run in the right order. | PRD fields |
55
+ | No clashes | Two PRDs that touch the same file never run at once. | Jobs do not break each other's edits. | Scheduler |
56
+ | 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 |
57
+ | Retry first | A job that stops in `needs_review` tries to fix itself first. | Fewer stuck jobs need a person. | Scheduler |
58
+
59
+ ### Checking the work
60
+
61
+ | Feature | What it does | Why it helps | Where |
62
+ | --- | --- | --- | --- |
63
+ | Gate | Each PRD lists commands that must pass. The job runs them last. | A job only passes when its checks pass. | PRD `# Gate` |
64
+ | Validator | A last job checks each PRD of a plan. It writes `VERIFIED` or `REFUTED` to a record file. | A second agent checks the first one's claims. | Scheduler |
65
+ | Guard hooks | Four hooks: `guard-destructive-git`, `guard-inline-implementation`, `guard-prd-writes`, `guard-self-schedule`. | They block risky git commands and stray work. | Project `.claude/settings.json` |
66
+
67
+ ### Agents, Missions and macros
68
+
69
+ | Feature | What it does | Why it helps | Where |
70
+ | --- | --- | --- | --- |
71
+ | Agents library | Lists the personas on this machine. You can edit them. | You see each agent's role in one place. | Agents |
72
+ | Macros | A macro saves an agent, a Mission and a prompt. One press starts one new session. | You can repeat common work fast. | Sessions |
73
+ | Context packs | A pack adds a plugin and rules to one session. | A session gets extra skills only when it needs them. | New session form |
74
+
75
+ ### Claude Code settings
76
+
77
+ | Feature | What it does | Why it helps | Where |
78
+ | --- | --- | --- | --- |
79
+ | CLAUDE.md | Edits your `~/.claude/CLAUDE.md`. | You set rules for every session. | CLAUDE.md |
80
+ | Claude config | Shows one project's `CLAUDE.md`, `.claude/settings.json`, `.mcp.json`, skills and memory folder. | You see what Claude loads for that repo. | Claude config |
81
+ | Settings | Edits `settings.json` for each scope. It shows which scope wins. | You know which value is live. | Settings |
82
+ | Hooks | Edits hooks. You can test-fire one. | You can check a hook before you rely on it. | Settings |
83
+ | Extensions | Lists skills, MCP servers and plugins. | You see what is installed. | Extensions |
84
+
85
+ ### Project Home
86
+
87
+ | Feature | What it does | Why it helps | Where |
88
+ | --- | --- | --- | --- |
89
+ | Pages | Shows pages about the project. | New people learn the project fast. | Project Home |
90
+ | Videos | Shows short demo videos. | You can show what the project does. | Project Home |
91
+ | Competitor matrix | Compares the project with others, feature by feature. | You see where you lead and where you lag. | Project Home |
92
+ | Video character | A saved look for the people in demo videos. | Videos look the same over time. | Project Home |
93
+ | Written by agents | Agents write all of these through MCP tools. | You do not have to write them by hand. | MCP tools |
94
+
95
+ ### Across projects
96
+
97
+ | Feature | What it does | Why it helps | Where |
98
+ | --- | --- | --- | --- |
99
+ | Cross-project feedback | An agent sends a finding to another repo on this machine. It lands there as a `proposed` session. | A bug gets fixed in the repo that owns it. | `/send-feedback` |
100
+ | Feedback to the maker | You send feedback about the app. | The maker hears what is wrong. | Feedback panel |
101
+
102
+ ### See what is going on
103
+
104
+ | Feature | What it does | Why it helps | Where |
105
+ | --- | --- | --- | --- |
106
+ | Dashboard | Shows every project and every active session on this machine. | You see all work in one place. | Dashboard |
107
+ | Usage meters | Show how much of your plan's limits you used. | You know when work will slow down. | Dashboard |
108
+ | History | Shows spend, tokens and time across all projects. | You see where your usage goes. | History |
109
+ | File Explorer | Browse and edit files. | You can fix a file without a second app. | File Explorer |
110
+
111
+ ### Input and remote
112
+
113
+ | Feature | What it does | Why it helps | Where |
114
+ | --- | --- | --- | --- |
115
+ | Voice input | Turns speech into text on your machine. Nothing leaves it. | You can talk instead of type. | App Settings |
116
+ | Recording light | A light shows on top of every screen while the mic is on. | You always know when the mic is on. | Top of window |
117
+ | Phone remote | Drive the app from your phone through the bilko.run relay. | You can check work when you are away. | App Settings |
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 |
4
120
 
5
- ## The 30-second pitch
121
+ ## Headless surface (for agents)
6
122
 
7
- You already use the `claude` CLI. This wraps it in a cockpit so you can run multiple sessions at once, edit every config file Claude Code reads, queue overnight work as PRDs, talk to it with your microphone, and watch transcripts in real time — without ever leaving the window. Claude Code is the default. A session can also run Codex, Gemini CLI, Antigravity CLI, Cursor Agent or OpenCode instead, in Chat and Terminal; macros, phone launches and scheduled PRDs stay on Claude Code.
123
+ ### MCP server
124
+
125
+ The MCP server is `session-manager-scheduler`. It lets an agent queue PRDs, read the queue, write Project Home pages and more.
8
126
 
9
- New tabs open as a lightweight **chat box** and stay dormant — no PTY, no `claude` process — until you actually send a message, so a window full of tabs costs almost nothing. Prefer a single bare terminal? Launch with `--simple`.
127
+ The app adds it at user scope in `~/.claude.json` on first launch. To add it by hand, run:
10
128
 
11
- Single-author hobby project. Linux and macOS only. Free, MIT, anonymous opt-out telemetry (see [Privacy](#privacy)).
12
-
13
- ## Features tour
129
+ ```bash
130
+ claude mcp add session-manager-scheduler --scope user -- node <app>/scripts/scheduler-mcp-server.cjs
131
+ ```
14
132
 
15
- - **Dormant tabs + chat box** — every new tab opens as a chat box and stays dormant (no PTY, no `claude` process) until you send the first message. The headless chat-run engine drives it through `claude -p` with `stream-json`, session resume, and a stop signal, so a tab is a real conversation without holding a live terminal open. Hydrate into a full terminal whenever you need one.
16
- - **Simple mode** — `npx claude-code-session-manager@latest --simple` boots a chrome-free, single-terminal cockpit: no nav, no tabs, no config surface, just one `claude` session in the launch directory.
17
- - **Cmd-K command palette** — commands organised into bands (session, voice, scheduler, config, nav). Fuzzy filter, emit-only dispatch so commands stay decoupled from views.
18
- - **Sidebar groups** — the left nav is organised into three groups: Workspace (where you do the work), Configure (how Claude behaves), and Tools (one-off utilities).
19
- - **Scheduler / PRD queue** — PRDs live under `<cwd>/session-manager-operations/scheduler/epics/<epic-id>/prds/` and the scheduler picks them up as headless `claude -p` jobs. Author them through the `scheduler_create_prd` MCP tool. Multi-select bulk archive and reset. Queue-health linter catches unbounded poll loops and post-AC overrun patterns before they burn tokens.
20
- - **Memory tab** — workspace-scoped memory entries that the `memory_20250818` tool can read and write, surfaced as a real UI rather than a JSON blob.
21
- - **Hooks** — all 29 documented events with inline tooltips explaining what each event fires on. Definitions editor plus a test-fire runner so you can verify a hook without rebuilding state.
22
- - **Plugins** — manifest inspector for installed plugins plus a Discover panel that lists first-party plugins with one-click install (pty-wrapped `claude plugin install`).
23
- - **MCP servers** — five transports (stdio, http, streamable-http, ws, sse) with a reserved-name linter so you don't waste a launch on a server Claude refuses to load.
24
- - **Voice** — local Moonshine ASR (English) plus Silero VAD running in a Web Worker. Push-to-talk hotkey, continuous listening, auto-submit, and barge-in that ducks TTS playback. Nothing leaves the machine.
25
- - **Toast notifications + 4-scope drift surfacing** — non-fatal errors land in a corner toast instead of being swallowed. Settings show drift across the default / user / project / local scopes so you always know which value actually wins.
26
- ## Install
133
+ In an installed build, the command is the app's own binary, with `-e ELECTRON_RUN_AS_NODE=1`.
134
+
135
+ The server needs the app to be running. Each call goes to the app's local HTTP API. The token for it is in `~/.claude/session-manager/admin-api.json`.
136
+
137
+ Two ways it can fail:
138
+
139
+ - A tool returns an error that says the app is not running. Start the app, then try again.
140
+ - The tools are not in your tool list. The server is not added. Delete `~/.claude/session-manager/.scheduler-mcp-seeded` and restart the app.
141
+
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.
147
+
148
+ Recipes:
149
+
150
+ <!-- gen:mcp-recipes -->
151
+ - `queue-work-via-develop` — Queue work into an already-approved Epic (/develop)
152
+ - `unstick-needs-review-job` — Unstick a job stuck in needs_review
153
+ - `hand-finding-to-another-project` — Hand a finding to another project
154
+ - `reply-to-the-project-that-asked` — Reply to the project that asked
155
+ - `add-project-video-tool` — Add a project video tool
156
+ <!-- /gen:mcp-recipes -->
157
+
158
+ Tools:
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 -->
200
+
201
+ Rules the server enforces:
202
+
203
+ - A new PRD must join a session that a person already approved. The server never creates a session.
204
+ - A new PRD must have a `gate` and a `files` list.
205
+ - A headless job cannot queue PRDs, unless it runs as `architect`. A session a person is in can queue PRDs.
206
+ - A job with `SM_SCHEDULER_JOB_MCP_TOOLS` set can call only the tools in that list.
207
+ - A pause set by an agent ends after 30 minutes. A pause set by a person stays until `scheduler_resume`.
208
+
209
+ ### Headless jobs
210
+
211
+ Each PRD job runs as the PRD's persona, `dev-lead` by default, in its own worktree. It runs the PRD's gate, then commits. Its last line is a verdict such as `SCHEDULER_VERDICT: PASS`.
212
+
213
+ ### Scripts
214
+
215
+ A script can start a macro with `POST /admin/macros/run`. It works only for a macro a person marked "Can be started by a script".
216
+
217
+ ## Skills
218
+
219
+ ### Plugin session-manager-dev
220
+
221
+ On first launch, the app installs this plugin with no network. It comes from the bundled `session-manager` marketplace. The app keeps it up to date. To skip it, set `SM_SEED_DEV_PLUGIN_DISABLE=1`. To install it outside the app, run:
27
222
 
28
223
  ```bash
29
- npx claude-code-session-manager@latest
224
+ claude plugin marketplace add StanislavBG/claude-code-session-manager
225
+ claude plugin install session-manager-dev@session-manager
30
226
  ```
31
227
 
32
- ### Installers
228
+ `/develop` and `/send-feedback` call the MCP server. So the app must be running for them.
229
+
230
+ <!-- list:skills -->
231
+ | Skill | Use it to |
232
+ | --- | --- |
233
+ | `/develop` | Split work into PRDs, queue them, and track them until they are checked. |
234
+ | `/builder` | Publish the project's npm package and keep its Field Manual in step. |
235
+ | `/send-feedback` | Send a finding to a different project on this machine. |
236
+ | `/maintaining-md-network` | Review a project's `CLAUDE.md` and docs so each fact lives in one place. |
237
+ <!-- /list:skills -->
238
+
239
+ ### Context packs
240
+
241
+ You pick packs for each session. A pack adds its skills and rules to that session only.
242
+
243
+ <!-- list:packs -->
244
+ | Pack | What it adds | Skills |
245
+ | --- | --- | --- |
246
+ | `apple-design` | Apple design rules for iOS app screens. | `hig-layout-and-accessibility`, `liquid-glass-adoption` |
247
+ | `apple-swift-core` | Swift 6 and SwiftUI rules for iOS apps. | `swift-concurrency`, `swiftui-state-and-navigation` |
248
+ <!-- /list:packs -->
249
+
250
+ ### Agent personas
251
+
252
+ The app copies these into `~/.claude/agents/` on first launch.
253
+
254
+ <!-- list:personas -->
255
+ | Persona | Role |
256
+ | --- | --- |
257
+ | `architect` | Talks with you, plans the work, and splits it into PRDs. |
258
+ | `dev-lead` | Runs one PRD, start to finish, with no one watching. |
259
+ | `validator` | Checks a finished plan, one PRD at a time. |
260
+ | `project-home-builder` | Writes one page for Project Home. |
261
+ | `demo-video-builder` | Makes a short demo video for Project Home. |
262
+ | `competitive-analyst` | Builds the competitor matrix. |
263
+ | `competitive-researcher` | Looks up one rival product for the matrix. |
264
+ | `blender-artist` | Makes 3D game art in Blender. |
265
+ <!-- /list:personas -->
33
266
 
34
- Prefer a double-click install? Download from [GitHub Releases](https://github.com/StanislavBG/claude-code-session-manager/releases/latest):
267
+ ## Install
35
268
 
36
- - **Mac** — `.dmg` (Apple Silicon and Intel)
37
- - **Windows** — `.exe`
38
- - **Linux** — `AppImage`
269
+ ### Pick a path
39
270
 
40
- The installer needs no Node.js, compiler or Electron download. git and the Claude Code CLI are detected on first launch and installed from the in-app Setup checklist using their official installers.
271
+ | Path | How | Needs | Platforms |
272
+ | --- | --- | --- | --- |
273
+ | Installer | Download from [GitHub Releases](https://github.com/StanislavBG/claude-code-session-manager/releases/latest). | Nothing else. The app helps you set up `git` and Claude Code. | macOS, Windows, Linux |
274
+ | npx | `npx claude-code-session-manager@latest` | The Node version in [Facts](#facts), `git`, Claude Code | Linux, macOS |
275
+ | From source | `git clone`, `npm install`, `npm run dev` | Node, `git`, Claude Code | Linux, macOS |
41
276
 
42
- ### npx
277
+ ### What the first launch changes
43
278
 
44
- Linux and macOS only. Needs Node.js 22.12+ (Electron 42's installer needs it) and Claude Code installed and signed in — Claude Code's native installer does not bring Node with it. The first launch downloads Electron (~200 MB) and uses node-pty's prebuilt terminal binary (no compiler needed on supported platforms). Subsequent launches are instant from the npx cache.
279
+ | What | Where | Turn off |
280
+ | --- | --- | --- |
281
+ | MCP server entry | `~/.claude.json` | `SM_SEED_SCHEDULER_MCP_DISABLE=1` |
282
+ | Plugin | `~/.claude/plugins/` | `SM_SEED_DEV_PLUGIN_DISABLE=1` |
283
+ | 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
+ | Demo video kit | `~/.claude/session-manager/demo-video-kit/` | `SM_SEED_DEMO_VIDEO_KIT_DISABLE=1` |
285
+ | 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` |
45
290
 
46
- Only on platforms without a node-pty prebuild: macOS needs Xcode Command Line Tools (`xcode-select --install`).
47
- Linux needs `build-essential` and `python3` in that case.
291
+ ### Start at login
48
292
 
49
- ## Quick start
293
+ Off by default. Turn it on in App Settings, Startup.
50
294
 
51
- 1. Run the install command above.
52
- 2. The app opens on the Overview tab — you should see a fresh session ready to go.
53
- 3. Hit Cmd-K (Ctrl-K on Linux) and try `terminal new`, `voice start`, or `scheduler open`.
54
- 4. Create a PRD with the `scheduler_create_prd` MCP tool and watch the Scheduler pick it up.
55
- 5. On first run the microphone setup wizard opens automatically; then use the push-to-talk hotkey (see Voice setup) to dictate.
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).
56
296
 
57
- ## Privacy
297
+ A packaged build starts the installed app: a login item on macOS and Windows, the autostart folder for a Linux AppImage.
58
298
 
59
- **Anonymous product telemetry is on by default.** It posts event, log, error, and crash records to bilko.run. Opt out with `SM_TELEMETRY=0` or Settings → Telemetry. Details: [telemetry.md](session-manager-operations/architecture/telemetry.md).
299
+ 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). For a packaged macOS or Windows build, remove it from login items.
60
300
 
61
- - The Content-Security-Policy restricts `connect-src` to four hosts: `api.anthropic.com` (so the in-app `/usage` panel can read the billing endpoint), `registry.npmjs.org`, `json.schemastore.org`, and `www.schemastore.org`.
62
- - All settings, skills, hooks, scheduler PRDs, transcripts, and voice configuration stay on disk under `~/.claude/`. The agent CLI you choose (`claude` by default) is the only network egress for AI work — the cockpit never proxies your prompts.
63
- - The recording-status pill is always mounted at the top of the window whenever the microphone is hot, above every other UI layer. There is no way to record without seeing the indicator.
301
+ It is not offered for an npx install on Windows, or in a dev run.
64
302
 
65
- ## Voice setup
303
+ ### Check it worked
66
304
 
67
- - The mic setup wizard auto-opens on first run. It enumerates your input devices, lets you pick one, records a sample utterance, and persists the choice in `voice.json`.
68
- - Push-to-talk defaults to Cmd+Option+V on macOS and Ctrl+Shift+Space elsewhere. Hold or toggle, configurable in the Voice tab.
69
- - Models download once on first use, then run entirely locally via onnxruntime-web.
70
- - Auto-submit fires Enter at a configurable countdown (default 6 s); the mic stays open across turns until silence (default 30 s) or an explicit stop.
305
+ ```bash
306
+ claude mcp get session-manager-scheduler
307
+ claude plugin list
308
+ ```
309
+
310
+ Then have an agent call `session_manager_help` with no args.
311
+
312
+ ### If it fails
71
313
 
72
- ## Scheduler / PRD workflow
314
+ | Problem | Fix |
315
+ | --- | --- |
316
+ | Node is too old | Install the Node version in [Facts](#facts) or newer. Or use the installer. |
317
+ | The Electron download failed | Try again. Or set `ELECTRON_MIRROR` to a mirror you can reach. |
318
+ | No `node-pty` build for your platform | macOS: run `xcode-select --install`. Linux: install `build-essential` and `python3`. |
319
+ | 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`. |
73
320
 
74
- A PRD is a self-contained markdown file with frontmatter (`title`, absolute `cwd`, `estimateMinutes`) and a body that `claude -p` runs without conversation context. They live under `<cwd>/session-manager-operations/scheduler/epics/<epic-id>/prds/` and are authored through the `scheduler_create_prd` MCP tool.
321
+ ## Reference
75
322
 
76
- Three run modes:
323
+ ### Flags
77
324
 
78
- - `manual` — only fires when you click Run.
79
- - `on-reset` — fires at the next 5-hour usage reset.
80
- - `when-available` — the default. Polls the billing usage endpoint every ten minutes and fires when tokens fall below the configured threshold. Auto-pauses if a job hits a rate limit, auto-resumes at the next reset.
325
+ | Flag | What it does |
326
+ | --- | --- |
327
+ | `--simple` | Opens one plain terminal with no other screens. |
328
+ | `--ozone-platform=x11` or `--ozone-platform=wayland` | Linux only. Picks the display system. On Wayland with `DISPLAY` set, the app picks `x11` for you. |
81
329
 
82
- The queue-health linter scans every queued PRD for two patterns that have caused real stuck jobs in this project: unbounded poll loops with unsatisfiable conditions, and post-AC fixture generators that overrun the acceptance criteria. Both incidents are documented in [`src/main/templates/PRD_AUTHORING.md`](src/main/templates/PRD_AUTHORING.md).
330
+ ### Env vars
83
331
 
84
- ## Keyboard cheatsheet
332
+ | Var | What it does |
333
+ | --- | --- |
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
+ | `SM_WORKTREE_ROOT` | Moves where session and job worktrees are made. |
340
+ | `SM_SCHEDULER_HOME` | Moves app state away from `~/.claude/session-manager/`. Use it for tests. |
341
+ | `ELECTRON_MIRROR` | Where `npx` gets Electron from. |
85
342
 
86
- | Key | Action |
87
- |---|---|
88
- | Cmd-K / Ctrl-K | Open command palette |
89
- | Alt-1 … Alt-5 | Activate tab 1–5 |
90
- | Cmd/Ctrl-N | Open / Start Project |
91
- | Cmd/Ctrl-Shift-R | Restart the app |
92
- | Cmd/Ctrl-Shift-S | Restart terminal in active tab |
93
- | Cmd/Ctrl-R | Reload app window |
94
- | F12 | Toggle developer tools |
95
- | Cmd/Ctrl-Q | Quit |
343
+ ### Network
96
344
 
97
- ## Architecture
345
+ Your prompts go only to the agent CLI you chose. The app never sends them anywhere else. The app itself talks to:
98
346
 
99
- Electron 42 with a CommonJS main process and a Vite-built React 18 renderer. xterm and node-pty drive the terminals. zustand owns renderer state. Moonshine via `@huggingface/transformers` plus Silero VAD via `@ricky0123/vad-web` runs voice on-device through onnxruntime-web. Tailwind for styling. Single-author project, no backwards-compat shims — when something needs renaming, it gets renamed.
347
+ | Host | Why |
348
+ | --- | --- |
349
+ | `api.anthropic.com` | Reads your usage, for the meters and the scheduler. |
350
+ | `registry.npmjs.org` | Checks for a new app version. |
351
+ | `json.schemastore.org`, `www.schemastore.org` | Checks JSON files as you edit them. |
352
+ | bilko.run | Telemetry and the phone remote relay. |
100
353
 
101
- ## Contributing / development
354
+ ### Keyboard
102
355
 
103
- See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, pre-PR checks, and how to open an issue/PR,
104
- and [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) for community standards. Report security issues
105
- via [SECURITY.md](SECURITY.md), not a public issue.
356
+ | Key | What it does |
357
+ | --- | --- |
358
+ | `Cmd-K` / `Ctrl-K` | Open the command palette |
359
+ | `Alt-1` to `Alt-5` | Go to tab 1 to 5 |
360
+ | `Cmd/Ctrl-N` | Open or start a project |
361
+ | `Cmd/Ctrl-Shift-R` | Restart the app |
362
+ | `Cmd/Ctrl-Shift-S` | Restart the terminal in this tab |
363
+ | `Cmd/Ctrl-R` | Reload the window |
364
+ | `F12` | Show or hide dev tools |
365
+ | `Cmd/Ctrl-Q` | Quit |
366
+ | `Cmd+Option+V` (macOS), `Ctrl+Shift+Space` (others) | Push to talk. You can change it in App Settings. |
367
+
368
+ ## Development
106
369
 
107
370
  ```bash
108
371
  git clone https://github.com/StanislavBG/claude-code-session-manager
109
372
  cd claude-code-session-manager
110
373
  npm install
111
- npm run dev # Vite + Electron with HMR (SM_DEV=1)
112
- npm run typecheck # tsc --noEmit, must pass before commits
113
- npm run lint # unstable selectors, conditional hooks, unregistered tests
114
- npm run test:unit # vitest run
115
- npm run test:e2e # Playwright Electron under xvfb-run (Linux)
374
+ npm run dev
375
+ npm run typecheck
376
+ npm run lint
377
+ npm run test:unit
378
+ npm run test:e2e
116
379
  ```
117
380
 
118
- PRs welcome. Before authoring a scheduler PRD, read [`src/main/templates/PRD_AUTHORING.md`](src/main/templates/PRD_AUTHORING.md) — the two stuck-job postmortems in there will save you tokens.
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.
382
+
383
+ 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.
119
384
 
120
- Enjoying Session Manager? [☕ Buy me a coffee](https://bilko.run/coffee) — the app stays free either way.
385
+ ## Links
121
386
 
122
- Building something with agents? [Talk to Bilko for a free hour](https://bilko.run/book?utm_source=session-manager&utm_medium=readme).
387
+ | Link | URL |
388
+ | --- | --- |
389
+ | Field Manual | https://bilko.run/manual |
390
+ | Product page | https://bilko.run/projects/session-manager/ |
391
+ | Source | https://github.com/StanislavBG/claude-code-session-manager |
392
+ | Releases | https://github.com/StanislavBG/claude-code-session-manager/releases |
393
+ | Issues | https://github.com/StanislavBG/claude-code-session-manager/issues |
394
+ | Buy me a coffee | https://bilko.run/coffee |
395
+ | Talk to Bilko | https://bilko.run/book?utm_source=session-manager&utm_medium=readme |
123
396
 
124
397
  ## License
125
398
 
126
- MIT. Built by one person on evenings and weekends.
399
+ MIT. The app and the Field Manual are free. There is no paid tier.