claude-code-session-manager 0.38.4 → 0.38.6

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 (29) hide show
  1. package/dist/assets/{TiptapBody-Dz0cPmSN.js → TiptapBody-CTotrCub.js} +1 -1
  2. package/dist/assets/index-BGTU12rl.css +32 -0
  3. package/dist/assets/index-C54zva1x.js +3178 -0
  4. package/dist/index.html +2 -2
  5. package/package.json +2 -1
  6. package/plugins/session-manager-dev/skills/blog-for-project-feature/2-storyboard/SKILL.md +35 -9
  7. package/plugins/session-manager-dev/skills/blog-for-project-feature/3-capture/SKILL.md +16 -7
  8. package/plugins/session-manager-dev/skills/blog-for-project-feature/6-compose/SKILL.md +8 -5
  9. package/plugins/session-manager-dev/skills/blog-for-project-feature/7-review/SKILL.md +7 -4
  10. package/plugins/session-manager-dev/skills/blog-for-project-feature/SKILL.md +7 -3
  11. package/plugins/session-manager-dev/skills/blog-for-project-feature/feature.config.yaml +23 -7
  12. package/src/main/__tests__/prdCreate.test.cjs +55 -1
  13. package/src/main/__tests__/queueOps-interactive-ac-lint.test.cjs +65 -0
  14. package/src/main/__tests__/scheduler-sigterm-commit.test.cjs +43 -0
  15. package/src/main/index.cjs +10 -10
  16. package/src/main/ipcSchemas.cjs +17 -16
  17. package/src/main/layoutStore.cjs +58 -0
  18. package/src/main/lib/prdCreate.cjs +66 -43
  19. package/src/main/pty.cjs +0 -5
  20. package/src/main/queueOps.cjs +58 -0
  21. package/src/main/scheduler.cjs +48 -3
  22. package/src/main/transcripts.cjs +2 -15
  23. package/src/preload/api.d.ts +39 -116
  24. package/src/preload/index.cjs +6 -27
  25. package/dist/assets/index-B45c4uKJ.js +0 -3504
  26. package/dist/assets/index-BZeC568j.css +0 -32
  27. package/src/main/hives.cjs +0 -287
  28. package/src/main/superagent.cjs +0 -212
  29. package/src/main/usageMatrix.cjs +0 -340
@@ -132,20 +132,16 @@ contextBridge.exposeInMainWorld('api', {
132
132
  load: () => ipcRenderer.invoke('sessions:load'),
133
133
  save: (payload) => ipcRenderer.invoke('sessions:save', payload),
134
134
  },
135
+ layout: {
136
+ load: () => ipcRenderer.invoke('layout:load'),
137
+ save: (payload) => ipcRenderer.invoke('layout:save', payload),
138
+ },
135
139
  billing: {
136
140
  fetch: () => ipcRenderer.invoke('billing:fetch'),
137
141
  },
138
142
  mcp: {
139
143
  status: () => ipcRenderer.invoke('mcp:status'),
140
144
  },
141
- usageMatrix: {
142
- snapshot: () => ipcRenderer.invoke('usage:matrix:snapshot'),
143
- onTick: (handler) => {
144
- const listener = (_e, payload) => handler(payload);
145
- ipcRenderer.on('usage:matrix:tick', listener);
146
- return () => ipcRenderer.removeListener('usage:matrix:tick', listener);
147
- },
148
- },
149
145
  logs: {
150
146
  write: (scope, level, message, meta) =>
151
147
  ipcRenderer.send('log:write', { scope, level, message, meta }),
@@ -248,12 +244,6 @@ contextBridge.exposeInMainWorld('api', {
248
244
  repo: {
249
245
  analyze: (cwd) => ipcRenderer.invoke('repo:analyze', { cwd }),
250
246
  },
251
- hives: {
252
- list: () => ipcRenderer.invoke('hives:list'),
253
- get: (slug) => ipcRenderer.invoke('hives:get', { slug }),
254
- save: (slug, hive) => ipcRenderer.invoke('hives:save', { slug, hive }),
255
- delete: (slug) => ipcRenderer.invoke('hives:delete', { slug }),
256
- },
257
247
  schedule: {
258
248
  state: () => ipcRenderer.invoke('schedule:state'),
259
249
  setConfig: (partial) => ipcRenderer.invoke('schedule:set-config', partial),
@@ -338,19 +328,6 @@ contextBridge.exposeInMainWorld('api', {
338
328
  status: (cwd) => ipcRenderer.invoke('git:status', { cwd }),
339
329
  fileStatus: (cwd) => ipcRenderer.invoke('git:file-status', { cwd }),
340
330
  },
341
- superagent: {
342
- /** Start a SuperAgent boss run on a tab — writes a structured prompt to
343
- * the PTY asking Claude to pick + dispatch specialists. Single live run
344
- * per tab; starting again on a running tab terminates the prior one. */
345
- start: (payload) => ipcRenderer.invoke('superagent:start', payload),
346
- status: (tabId) => ipcRenderer.invoke('superagent:status', { tabId }),
347
- stop: (tabId) => ipcRenderer.invoke('superagent:stop', { tabId }),
348
- onStateChanged: (handler) => {
349
- const listener = (_e, payload) => handler(payload);
350
- ipcRenderer.on('superagent:state-changed', listener);
351
- return () => ipcRenderer.removeListener('superagent:state-changed', listener);
352
- },
353
- },
354
331
  webRemote: {
355
332
  /** Current connection state (no token values). */
356
333
  getStatus: () => ipcRenderer.invoke('webRemote:get-status'),
@@ -445,6 +422,8 @@ contextBridge.exposeInMainWorld('api', {
445
422
  },
446
423
  /** Classify a queued PromptTicket's text as 'inline' or 'develop'. */
447
424
  classifyTicket: (payload) => ipcRenderer.invoke('chat:classify-ticket', payload),
425
+ /** Author a mechanical draft PRD from a queued PromptTicket classified 'develop'. */
426
+ createPrd: (payload) => ipcRenderer.invoke('chat:create-prd', payload),
448
427
  },
449
428
  exchanges: {
450
429
  /** List exchanges for a project (durable chat-run log), newest-first.