claude-code-session-manager 0.39.0 → 0.39.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{TiptapBody-DrqOSx6h.js → TiptapBody-MCzz_6Zm.js} +1 -1
- package/dist/assets/{index-C_w1NLLg.js → index-BPbLVT6E.js} +490 -488
- package/dist/assets/{index-B6JNrbpD.css → index-DVlD8N1X.css} +2 -2
- package/dist/index.html +2 -2
- package/package.json +3 -3
- package/plugins/session-manager-dev/skills/develop/standards.md +1 -0
- package/scripts/lib/activeSessions.cjs +26 -3
- package/scripts/lib/watchdogHelpers.cjs +13 -6
- package/src/main/__tests__/browserView-destroyed-handler.test.cjs +84 -0
- package/src/main/__tests__/prdCreate.test.cjs +6 -0
- package/src/main/__tests__/prdLocations.test.cjs +41 -0
- package/src/main/__tests__/prdMigration.test.cjs +41 -0
- package/src/main/__tests__/promptSessionEvents.test.cjs +106 -0
- package/src/main/__tests__/queueHistory.test.cjs +2 -2
- package/src/main/__tests__/rcaFeedbackHook.test.cjs +108 -0
- package/src/main/__tests__/runVerify.test.cjs +459 -4
- package/src/main/__tests__/scheduler-admin-routes.test.cjs +52 -3
- package/src/main/__tests__/scheduler-archive-completed-prd.test.cjs +102 -0
- package/src/main/__tests__/scheduler-commit-guard-noop.test.cjs +126 -0
- package/src/main/__tests__/scheduler-committed-in-window.test.cjs +58 -3
- package/src/main/__tests__/scheduler-find-prd-dir.test.cjs +42 -0
- package/src/main/__tests__/scheduler-investigation-clean-skip.test.cjs +63 -0
- package/src/main/__tests__/scheduler-meta-code-sha.test.cjs +23 -0
- package/src/main/__tests__/scheduler-notify-originating-tab.test.cjs +68 -0
- package/src/main/__tests__/scheduler-reset-job-fields-guard.test.cjs +77 -0
- package/src/main/__tests__/scheduler-unreadable-queue-guard.test.cjs +62 -0
- package/src/main/browserView.cjs +5 -4
- package/src/main/chatRunner.cjs +90 -7
- package/src/main/config.cjs +9 -0
- package/src/main/ipcSchemas.cjs +1 -1
- package/src/main/lib/__tests__/terminalRunOutcome.test.cjs +118 -0
- package/src/main/lib/prdLocations.cjs +43 -6
- package/src/main/lib/prdMigration.cjs +5 -3
- package/src/main/lib/queueHistory.cjs +1 -1
- package/src/main/lib/rcaFeedbackHook.cjs +55 -5
- package/src/main/lib/terminalRunOutcome.cjs +100 -0
- package/src/main/promptSessionEvents.cjs +87 -0
- package/src/main/runVerify.cjs +195 -3
- package/src/main/scheduler.cjs +436 -80
- package/src/preload/api.d.ts +5 -1
package/src/preload/api.d.ts
CHANGED
|
@@ -405,6 +405,10 @@ export interface ScheduleJob {
|
|
|
405
405
|
* (its chat key) — lets the Scheduler UI trace a job back to the
|
|
406
406
|
* PromptSession that spawned it. */
|
|
407
407
|
sourceTabId?: string | null;
|
|
408
|
+
/** Originating prompt id (PRD frontmatter `sourcePromptId`) — the chain-root
|
|
409
|
+
* PromptTicket id this PRD was dispatched from. Kept alongside `sourceTabId`
|
|
410
|
+
* for referential tracing even when the tab/session no longer resolves. */
|
|
411
|
+
sourcePromptId?: string | null;
|
|
408
412
|
}
|
|
409
413
|
|
|
410
414
|
export interface SchedulePaths {
|
|
@@ -989,7 +993,7 @@ export interface ChatCreatePrdPayload {
|
|
|
989
993
|
/** Originating tab id — used at job completion to route a status prompt back into the tab. */
|
|
990
994
|
sourceTabId?: string;
|
|
991
995
|
/** User-selected Feature/Bug tag (PRD 774) carried from the originating PromptTicket. */
|
|
992
|
-
tag?: 'feature' | 'bug';
|
|
996
|
+
tag?: 'feature' | 'bug' | 'discussion';
|
|
993
997
|
}
|
|
994
998
|
|
|
995
999
|
export type ChatCreatePrdResult =
|