create-walle 0.9.21 → 0.9.23

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 (500) hide show
  1. package/README.md +27 -5
  2. package/package.json +2 -2
  3. package/template/CLAUDE.md +2 -2
  4. package/template/LICENSE +1 -1
  5. package/template/bin/ctm-dev-cleanup.js +24 -3
  6. package/template/bin/ctm-launch.sh +13 -0
  7. package/template/bin/dev.sh +156 -18
  8. package/template/bin/node-bin.sh +84 -0
  9. package/template/bin/pin-node.sh +51 -0
  10. package/template/claude-task-manager/api-prompts.js +1203 -182
  11. package/template/claude-task-manager/api-reviews.js +109 -15
  12. package/template/claude-task-manager/approval-agent.js +1360 -280
  13. package/template/claude-task-manager/bin/restart-ctm.sh +64 -23
  14. package/template/claude-task-manager/bin/storage-migration-supervisor.js +338 -0
  15. package/template/claude-task-manager/db.js +4417 -295
  16. package/template/claude-task-manager/docs/app-update-refresh-protocol.md +69 -0
  17. package/template/claude-task-manager/docs/approval-ai-refinement.md +138 -0
  18. package/template/claude-task-manager/docs/approval-rescue-loop.md +74 -0
  19. package/template/claude-task-manager/docs/codex-operational-warning-health.md +107 -0
  20. package/template/claude-task-manager/docs/codex-resume-state-guard-design.md +17 -12
  21. package/template/claude-task-manager/docs/codex-terminal-render-controller-handoff.md +311 -0
  22. package/template/claude-task-manager/docs/coding-agent-hooks-architecture.md +418 -0
  23. package/template/claude-task-manager/docs/conversation-import-freshness.md +20 -0
  24. package/template/claude-task-manager/docs/google-workspace-auth-health.md +77 -0
  25. package/template/claude-task-manager/docs/image-paste-ux.md +13 -0
  26. package/template/claude-task-manager/docs/ipad-web-preview.md +88 -0
  27. package/template/claude-task-manager/docs/main-loop-offload-architecture.md +66 -0
  28. package/template/claude-task-manager/docs/microsoft-dev-tunnel-phone-access-design.md +274 -519
  29. package/template/claude-task-manager/docs/mobile-live-streaming.md +27 -5
  30. package/template/claude-task-manager/docs/mobile-remote-submission-lifecycle.md +69 -0
  31. package/template/claude-task-manager/docs/phone-access-design.md +53 -15
  32. package/template/claude-task-manager/docs/phone-passkey-identity.md +122 -0
  33. package/template/claude-task-manager/docs/phone-setup.md +3 -0
  34. package/template/claude-task-manager/docs/prompt-editing-tree-design.md +25 -1
  35. package/template/claude-task-manager/docs/remote-desktop-access-design.md +268 -0
  36. package/template/claude-task-manager/docs/restart-lifecycle-architecture.md +95 -0
  37. package/template/claude-task-manager/docs/runtime-work-control-plane.md +53 -0
  38. package/template/claude-task-manager/docs/session-interactive-wait-surfaces.md +38 -0
  39. package/template/claude-task-manager/docs/session-needs-you-dismissal.md +84 -0
  40. package/template/claude-task-manager/docs/session-render-state-management-design.md +91 -3
  41. package/template/claude-task-manager/docs/session-standup-command-center-design.md +25 -1
  42. package/template/claude-task-manager/docs/session-title-authority.md +32 -0
  43. package/template/claude-task-manager/docs/session-workspace-binding.md +33 -0
  44. package/template/claude-task-manager/docs/skill-intent-resolution-design.md +72 -0
  45. package/template/claude-task-manager/docs/walle-mcp-supervisor-health.md +86 -0
  46. package/template/claude-task-manager/docs/walle-relay-phone-access-design.md +24 -15
  47. package/template/claude-task-manager/docs/walle-session-history-hydration.md +114 -0
  48. package/template/claude-task-manager/docs/walle-session-input-queue.md +104 -0
  49. package/template/claude-task-manager/docs/walle-session-model-catalog.md +90 -0
  50. package/template/claude-task-manager/docs/walle-session-model-preferences.md +15 -6
  51. package/template/claude-task-manager/git-utils.js +897 -27
  52. package/template/claude-task-manager/lib/agent-capabilities.js +33 -0
  53. package/template/claude-task-manager/lib/agent-cli-cache.js +37 -7
  54. package/template/claude-task-manager/lib/agent-hooks-installer.js +26 -2
  55. package/template/claude-task-manager/lib/agent-presets.js +17 -1
  56. package/template/claude-task-manager/lib/all-sessions-query.js +108 -0
  57. package/template/claude-task-manager/lib/approval-ai-refinement.js +488 -0
  58. package/template/claude-task-manager/lib/approval-self-adapt.js +168 -0
  59. package/template/claude-task-manager/lib/async-semaphore.js +44 -0
  60. package/template/claude-task-manager/lib/auth-context.js +5 -0
  61. package/template/claude-task-manager/lib/auth-rate-limit.js +47 -4
  62. package/template/claude-task-manager/lib/auth-rules.js +29 -2
  63. package/template/claude-task-manager/lib/auto-approval-verifier.js +129 -16
  64. package/template/claude-task-manager/lib/background-llm.js +144 -17
  65. package/template/claude-task-manager/lib/branch-inventory.js +212 -0
  66. package/template/claude-task-manager/lib/claude-desktop-sessions.js +15 -3
  67. package/template/claude-task-manager/lib/coalesce-sync-frames.js +151 -0
  68. package/template/claude-task-manager/lib/codex-launch-health.js +762 -0
  69. package/template/claude-task-manager/lib/codex-transcript-pager.js +51 -0
  70. package/template/claude-task-manager/lib/codex-zst.js +124 -0
  71. package/template/claude-task-manager/lib/coding-agent-models.js +233 -30
  72. package/template/claude-task-manager/lib/connection-health.js +232 -0
  73. package/template/claude-task-manager/lib/conversation-blob-parser.js +42 -0
  74. package/template/claude-task-manager/lib/conversation-tail-merge.js +89 -26
  75. package/template/claude-task-manager/lib/ctm-session-context-api.js +39 -10
  76. package/template/claude-task-manager/lib/cursor-conversation-store.js +354 -0
  77. package/template/claude-task-manager/lib/db-owner-worker-client.js +315 -0
  78. package/template/claude-task-manager/lib/document-review.js +141 -6
  79. package/template/claude-task-manager/lib/escalation-review.js +152 -0
  80. package/template/claude-task-manager/lib/graceful-shutdown.js +159 -0
  81. package/template/claude-task-manager/lib/headless-term-service.js +678 -0
  82. package/template/claude-task-manager/lib/heavy-worker-fallback.js +38 -0
  83. package/template/claude-task-manager/lib/jsonl-conversation-parser.js +542 -0
  84. package/template/claude-task-manager/lib/jsonl-range-reader.js +112 -0
  85. package/template/claude-task-manager/lib/main-db-census.js +216 -0
  86. package/template/claude-task-manager/lib/message-pagination.js +106 -4
  87. package/template/claude-task-manager/lib/microsoft-dev-tunnel-setup.js +750 -26
  88. package/template/claude-task-manager/lib/mobile-auth-api.js +274 -7
  89. package/template/claude-task-manager/lib/mobile-auth-store.js +592 -10
  90. package/template/claude-task-manager/lib/mobile-notification-dispatcher.js +15 -0
  91. package/template/claude-task-manager/lib/model-overview-brain-fallback.js +311 -0
  92. package/template/claude-task-manager/lib/model-overview-cache.js +141 -0
  93. package/template/claude-task-manager/lib/models-health-routing-notice.js +126 -0
  94. package/template/claude-task-manager/lib/node-pin-guard.js +93 -0
  95. package/template/claude-task-manager/lib/perf-tracker.js +242 -6
  96. package/template/claude-task-manager/lib/permission-match.js +76 -0
  97. package/template/claude-task-manager/lib/permission-sync.js +133 -20
  98. package/template/claude-task-manager/lib/process-title.js +35 -0
  99. package/template/claude-task-manager/lib/prompt-executions-query.js +25 -0
  100. package/template/claude-task-manager/lib/prompt-index-disk-cache.js +44 -0
  101. package/template/claude-task-manager/lib/prompt-intent.js +132 -0
  102. package/template/claude-task-manager/lib/provider-user-context.js +34 -0
  103. package/template/claude-task-manager/lib/read-pool-client.js +313 -0
  104. package/template/claude-task-manager/lib/readpool-breaker.js +31 -0
  105. package/template/claude-task-manager/lib/recent-sessions-breaker.js +12 -0
  106. package/template/claude-task-manager/lib/remote-feedback-client.js +72 -0
  107. package/template/claude-task-manager/lib/remote-relay-protocol.js +37 -4
  108. package/template/claude-task-manager/lib/remote-relay-store.js +159 -0
  109. package/template/claude-task-manager/lib/remote-submission-observer.js +278 -0
  110. package/template/claude-task-manager/lib/restart-guard.js +109 -0
  111. package/template/claude-task-manager/lib/restore-interruption-detector.js +439 -0
  112. package/template/claude-task-manager/lib/restore-policy.js +13 -0
  113. package/template/claude-task-manager/lib/restore-resume-batch.js +74 -0
  114. package/template/claude-task-manager/lib/restore-runtime.js +68 -0
  115. package/template/claude-task-manager/lib/restore-storm.js +34 -0
  116. package/template/claude-task-manager/lib/resume-cwd.js +36 -0
  117. package/template/claude-task-manager/lib/resume-preflight.js +313 -0
  118. package/template/claude-task-manager/lib/runtime-work-registry.js +444 -0
  119. package/template/claude-task-manager/lib/sanitize-openai-auth.js +31 -0
  120. package/template/claude-task-manager/lib/scheduler.js +21 -1
  121. package/template/claude-task-manager/lib/scrollback-snapshot-store.js +159 -0
  122. package/template/claude-task-manager/lib/serial-task-queue.js +64 -0
  123. package/template/claude-task-manager/lib/server-listeners.js +239 -0
  124. package/template/claude-task-manager/lib/session-capture.js +42 -7
  125. package/template/claude-task-manager/lib/session-content-backfill.js +131 -0
  126. package/template/claude-task-manager/lib/session-history.js +388 -43
  127. package/template/claude-task-manager/lib/session-host-manager.js +287 -0
  128. package/template/claude-task-manager/lib/session-image-refs.js +209 -0
  129. package/template/claude-task-manager/lib/session-jobs.js +399 -59
  130. package/template/claude-task-manager/lib/session-prompt-index.js +137 -0
  131. package/template/claude-task-manager/lib/session-restore.js +53 -0
  132. package/template/claude-task-manager/lib/session-standup.js +123 -23
  133. package/template/claude-task-manager/lib/session-state-bus.js +14 -0
  134. package/template/claude-task-manager/lib/session-stream.js +64 -16
  135. package/template/claude-task-manager/lib/session-timeline-summary.js +260 -0
  136. package/template/claude-task-manager/lib/session-token-usage.js +494 -0
  137. package/template/claude-task-manager/lib/session-workspace-binding.js +356 -0
  138. package/template/claude-task-manager/lib/setup-network-config.js +9 -0
  139. package/template/claude-task-manager/lib/size-cap.js +45 -0
  140. package/template/claude-task-manager/lib/size-cap.test.js +62 -0
  141. package/template/claude-task-manager/lib/skill-autocomplete.js +180 -1
  142. package/template/claude-task-manager/lib/skill-intent-resolver.js +304 -0
  143. package/template/claude-task-manager/lib/sqlite-driver.js +19 -3
  144. package/template/claude-task-manager/lib/standup-attention.js +7 -3
  145. package/template/claude-task-manager/lib/status-authority.js +39 -0
  146. package/template/claude-task-manager/lib/status-hooks.js +4 -0
  147. package/template/claude-task-manager/lib/storage-migration.js +235 -0
  148. package/template/claude-task-manager/lib/structured-capture.js +298 -0
  149. package/template/claude-task-manager/lib/sync-io-census.js +163 -0
  150. package/template/claude-task-manager/lib/tailscale-setup.js +6 -0
  151. package/template/claude-task-manager/lib/terminal-activity-evidence.js +33 -0
  152. package/template/claude-task-manager/lib/terminal-choice.js +364 -0
  153. package/template/claude-task-manager/lib/terminal-control-sanitize.js +17 -0
  154. package/template/claude-task-manager/lib/terminal-fingerprint.js +48 -0
  155. package/template/claude-task-manager/lib/terminal-output-flush.js +84 -0
  156. package/template/claude-task-manager/lib/timeline-order.js +122 -0
  157. package/template/claude-task-manager/lib/transcript-store.js +348 -43
  158. package/template/claude-task-manager/lib/transport-security.js +84 -1
  159. package/template/claude-task-manager/lib/wait-state.js +184 -0
  160. package/template/claude-task-manager/lib/walle-client.js +47 -5
  161. package/template/claude-task-manager/lib/walle-ctm-history.js +564 -4
  162. package/template/claude-task-manager/lib/walle-external-actions.js +135 -16
  163. package/template/claude-task-manager/lib/walle-history-hydration.js +46 -0
  164. package/template/claude-task-manager/lib/walle-native-health.js +403 -0
  165. package/template/claude-task-manager/lib/walle-repair.js +701 -0
  166. package/template/claude-task-manager/lib/walle-session-cache.js +109 -0
  167. package/template/claude-task-manager/lib/walle-session-context.js +57 -21
  168. package/template/claude-task-manager/lib/walle-session-model-catalog.js +34 -0
  169. package/template/claude-task-manager/lib/walle-supervisor.js +539 -63
  170. package/template/claude-task-manager/lib/walle-transcript.js +52 -0
  171. package/template/claude-task-manager/lib/worktree-active-sync.js +11 -7
  172. package/template/claude-task-manager/lib/worktree-cwd.js +32 -1
  173. package/template/claude-task-manager/package.json +1 -1
  174. package/template/claude-task-manager/prompt-harvest.js +89 -66
  175. package/template/claude-task-manager/providers/claude-code.js +51 -3
  176. package/template/claude-task-manager/providers/cursor.js +140 -45
  177. package/template/claude-task-manager/public/css/reviews.css +551 -61
  178. package/template/claude-task-manager/public/css/setup.css +191 -0
  179. package/template/claude-task-manager/public/css/walle-session.css +865 -10
  180. package/template/claude-task-manager/public/css/walle.css +154 -0
  181. package/template/claude-task-manager/public/designs/ai-providers-consolidation-v2.html +830 -0
  182. package/template/claude-task-manager/public/index.html +18516 -2058
  183. package/template/claude-task-manager/public/ipad.html +363 -0
  184. package/template/claude-task-manager/public/js/document-review-links.js +301 -0
  185. package/template/claude-task-manager/public/js/image-normalize.js +69 -36
  186. package/template/claude-task-manager/public/js/message-renderer.js +1265 -77
  187. package/template/claude-task-manager/public/js/prompts.js +66 -29
  188. package/template/claude-task-manager/public/js/reviews.js +901 -133
  189. package/template/claude-task-manager/public/js/session-activity-utils.js +11 -1
  190. package/template/claude-task-manager/public/js/session-search-utils.js +94 -10
  191. package/template/claude-task-manager/public/js/session-status-precedence.js +23 -5
  192. package/template/claude-task-manager/public/js/setup.js +1273 -176
  193. package/template/claude-task-manager/public/js/stream-view.js +691 -73
  194. package/template/claude-task-manager/public/js/terminal-reconciler.js +210 -0
  195. package/template/claude-task-manager/public/js/walle-session.js +2455 -158
  196. package/template/claude-task-manager/public/js/walle.js +455 -28
  197. package/template/claude-task-manager/public/m/app.css +2909 -262
  198. package/template/claude-task-manager/public/m/app.js +6601 -398
  199. package/template/claude-task-manager/public/m/claim.html +224 -17
  200. package/template/claude-task-manager/public/m/index.html +117 -21
  201. package/template/claude-task-manager/public/m/sw.js +3 -1
  202. package/template/claude-task-manager/public/manifest.json +2 -2
  203. package/template/claude-task-manager/public/prompts.html +30 -14
  204. package/template/claude-task-manager/queue-engine.js +507 -28
  205. package/template/claude-task-manager/scripts/repair-claude-session-images.js +27 -8
  206. package/template/claude-task-manager/server.js +14341 -2197
  207. package/template/claude-task-manager/session-integrity.js +160 -18
  208. package/template/claude-task-manager/session-search-ranking.js +1 -0
  209. package/template/claude-task-manager/session-utils.js +25 -5
  210. package/template/claude-task-manager/workers/approval-blocklist.js +96 -6
  211. package/template/claude-task-manager/workers/approval-widget-validator.js +14 -8
  212. package/template/claude-task-manager/workers/conversation-import-worker.js +11 -50
  213. package/template/claude-task-manager/workers/db-owner-worker.js +386 -0
  214. package/template/claude-task-manager/workers/harvest-worker.js +9 -55
  215. package/template/claude-task-manager/workers/headless-term-worker.js +9 -530
  216. package/template/claude-task-manager/workers/read-pool-worker.js +387 -0
  217. package/template/claude-task-manager/workers/scrollback-worker.js +11 -72
  218. package/template/claude-task-manager/workers/session-host-process.js +146 -0
  219. package/template/claude-task-manager/workers/session-integrity-worker.js +10 -54
  220. package/template/claude-task-manager/workers/state-detectors/base.js +18 -1
  221. package/template/claude-task-manager/workers/state-detectors/claude-code.js +182 -9
  222. package/template/claude-task-manager/workers/state-detectors/codex.js +150 -2
  223. package/template/claude-task-manager/workers/state-detectors/cursor.js +127 -0
  224. package/template/claude-task-manager/workers/state-detectors/gemini.js +21 -0
  225. package/template/claude-task-manager/workers/state-detectors/index.js +29 -0
  226. package/template/claude-task-manager/workers/state-detectors/opencode.js +103 -0
  227. package/template/docs/design/markdown-review-pane.md +206 -0
  228. package/template/docs/designs/2026-05-17-portkey-gateway-provider-ux.md +129 -38
  229. package/template/docs/designs/2026-05-20-mobile-worktree-finish-command.md +27 -0
  230. package/template/docs/designs/2026-05-22-ai-configuration-consolidation.md +248 -0
  231. package/template/docs/designs/ai-configuration-consolidation-mock.html +812 -0
  232. package/template/docs/private-memory-and-pii-policy.md +69 -0
  233. package/template/package.json +2 -1
  234. package/template/scripts/check-private-data.js +201 -0
  235. package/template/shared/sqlite-owner-guard.js +30 -0
  236. package/template/shared/sqlite-owner-write-queue.js +225 -0
  237. package/template/shared/sqlite-storage-policy.js +111 -0
  238. package/template/shared/sqlite-write-lock.js +428 -0
  239. package/template/wall-e/agent-runners/claude-code.js +5 -0
  240. package/template/wall-e/agent.js +166 -22
  241. package/template/wall-e/api-walle.js +524 -70
  242. package/template/wall-e/auth/provider-flows.js +11 -1
  243. package/template/wall-e/bin/walle-mcp-stdio.js +341 -17
  244. package/template/wall-e/brain.js +1614 -141
  245. package/template/wall-e/chat/attachment-blocks.js +96 -0
  246. package/template/wall-e/chat/attachments.js +2 -1
  247. package/template/wall-e/chat/capability-resolver.js +7 -7
  248. package/template/wall-e/chat/context-messages.js +28 -0
  249. package/template/wall-e/chat/conversation-frame.js +630 -0
  250. package/template/wall-e/chat/provider-messages.js +125 -0
  251. package/template/wall-e/chat.js +1002 -233
  252. package/template/wall-e/coding/acceptance-contract.js +170 -0
  253. package/template/wall-e/coding/acp-adapter.js +1 -1
  254. package/template/wall-e/coding/agent-catalog.js +3 -0
  255. package/template/wall-e/coding/artifact-store.js +93 -0
  256. package/template/wall-e/coding/capability-router.js +120 -0
  257. package/template/wall-e/coding/coding-run-controller.js +423 -0
  258. package/template/wall-e/coding/compaction-service.js +157 -12
  259. package/template/wall-e/coding/frontend-verification.js +258 -0
  260. package/template/wall-e/coding/lifecycle-hooks.js +75 -0
  261. package/template/wall-e/coding/local-preview-contract.js +157 -0
  262. package/template/wall-e/coding/permission-service.js +57 -13
  263. package/template/wall-e/coding/prompt-bundle.js +19 -1
  264. package/template/wall-e/coding/prompt-section-registry.js +227 -0
  265. package/template/wall-e/coding/provider-compat.js +15 -0
  266. package/template/wall-e/coding/runtime-events.js +224 -0
  267. package/template/wall-e/coding/runtime-mode.js +3 -0
  268. package/template/wall-e/coding/side-git-snapshot.js +160 -4
  269. package/template/wall-e/coding/snapshot-service.js +143 -1
  270. package/template/wall-e/coding/stream-processor.js +388 -34
  271. package/template/wall-e/coding/task-tool.js +141 -4
  272. package/template/wall-e/coding/tool-execution-controller.js +365 -0
  273. package/template/wall-e/coding/tool-registry.js +43 -5
  274. package/template/wall-e/coding/user-hooks.js +217 -0
  275. package/template/wall-e/coding-orchestrator.js +1330 -221
  276. package/template/wall-e/coding-prompts.js +20 -4
  277. package/template/wall-e/context/context-builder.js +15 -2
  278. package/template/wall-e/decision/confidence.js +1 -1
  279. package/template/wall-e/docs/coding-acceptance-contract.md +41 -0
  280. package/template/wall-e/docs/external-action-controller.md +26 -6
  281. package/template/wall-e/docs/telemetry-lifecycle.md +8 -2
  282. package/template/wall-e/embeddings.js +591 -53
  283. package/template/wall-e/external-action-controller.js +12 -0
  284. package/template/wall-e/http/auth.js +1 -0
  285. package/template/wall-e/http/chat-api.js +46 -11
  286. package/template/wall-e/http/model-admin.js +836 -34
  287. package/template/wall-e/lib/boot-profile.js +88 -0
  288. package/template/wall-e/lib/event-loop-monitor.js +93 -0
  289. package/template/wall-e/lib/service-health.js +194 -0
  290. package/template/wall-e/llm/anthropic.js +130 -5
  291. package/template/wall-e/llm/client.js +266 -63
  292. package/template/wall-e/llm/default-fallback.js +382 -0
  293. package/template/wall-e/llm/health.js +19 -0
  294. package/template/wall-e/llm/message-guard.js +78 -0
  295. package/template/wall-e/llm/model-catalog.js +252 -1
  296. package/template/wall-e/llm/openai.js +26 -4
  297. package/template/wall-e/llm/portkey-sync.js +654 -0
  298. package/template/wall-e/llm/provider-error.js +30 -2
  299. package/template/wall-e/llm/registry.js +5 -1
  300. package/template/wall-e/llm/request-compat.js +67 -0
  301. package/template/wall-e/loops/backfill.js +79 -23
  302. package/template/wall-e/loops/brain-optimize.js +67 -0
  303. package/template/wall-e/loops/ingest.js +25 -10
  304. package/template/wall-e/loops/question-digest.js +160 -0
  305. package/template/wall-e/loops/reflect.js +6 -4
  306. package/template/wall-e/loops/think.js +39 -12
  307. package/template/wall-e/mcp-server.js +318 -36
  308. package/template/wall-e/memory/ctm-context-client.js +52 -14
  309. package/template/wall-e/memory/ctm-operational-context.js +237 -0
  310. package/template/wall-e/memory/ctm-prompt-executions-client.js +128 -0
  311. package/template/wall-e/memory/ctm-session-context.js +111 -63
  312. package/template/wall-e/prompts/coding/deepseek.txt +3 -0
  313. package/template/wall-e/prompts/coding/gemini.txt +6 -0
  314. package/template/wall-e/prompts/coding/gpt.txt +6 -0
  315. package/template/wall-e/prompts/coding/local.txt +7 -0
  316. package/template/wall-e/runtime/decision-hooks.js +115 -0
  317. package/template/wall-e/runtime/devbox-gateway.js +82 -8
  318. package/template/wall-e/runtime/prompt-manifest.js +86 -0
  319. package/template/wall-e/runtime/tool-executor.js +269 -0
  320. package/template/wall-e/runtime/tool-result-envelope.js +138 -0
  321. package/template/wall-e/runtime/transcript-projection.js +60 -0
  322. package/template/wall-e/runtime/walle-runtime.js +224 -0
  323. package/template/wall-e/scripts/db-optimize/migrate.js +162 -0
  324. package/template/wall-e/scripts/db-optimize/recall-eval.js +117 -0
  325. package/template/wall-e/server.js +15 -0
  326. package/template/wall-e/session-files.js +9 -0
  327. package/template/wall-e/skills/_bundled/google-calendar/run.js +1 -1
  328. package/template/wall-e/skills/_bundled/gws-workspace/run.js +1 -1
  329. package/template/wall-e/skills/_bundled/slack-mentions/run.js +76 -6
  330. package/template/wall-e/skills/claude-code-reader.js +7 -3
  331. package/template/wall-e/skills/script-skill-runner.js +10 -0
  332. package/template/wall-e/skills/skill-planner.js +38 -0
  333. package/template/wall-e/tools/builtin-middleware.js +19 -9
  334. package/template/wall-e/tools/local-tools.js +1428 -16
  335. package/template/wall-e/tools/permission-checker.js +73 -5
  336. package/template/wall-e/tools/question-manager.js +117 -7
  337. package/template/wall-e/training/harvester.js +12 -28
  338. package/template/wall-e/training/replay.js +25 -80
  339. package/template/website/index.html +10 -10
  340. package/template/wall-e/eval/ab-test.js +0 -203
  341. package/template/wall-e/eval/agent-runner.js +0 -772
  342. package/template/wall-e/eval/agent-scorer.js +0 -461
  343. package/template/wall-e/eval/aggregator.js +0 -414
  344. package/template/wall-e/eval/allowed-test-commands.js +0 -34
  345. package/template/wall-e/eval/benchmark-generator.js +0 -113
  346. package/template/wall-e/eval/benchmarks/chat-eval.json +0 -1662
  347. package/template/wall-e/eval/benchmarks/chat.json +0 -82
  348. package/template/wall-e/eval/benchmarks/coding-agent-real.json +0 -1
  349. package/template/wall-e/eval/benchmarks/coding-agent.json +0 -1581
  350. package/template/wall-e/eval/benchmarks/coding.json +0 -122
  351. package/template/wall-e/eval/benchmarks/memory-retrieval.json +0 -234
  352. package/template/wall-e/eval/benchmarks/reasoning.json +0 -82
  353. package/template/wall-e/eval/benchmarks/swebench-lite-30.json +0 -212
  354. package/template/wall-e/eval/benchmarks.js +0 -669
  355. package/template/wall-e/eval/cc-replay.js +0 -719
  356. package/template/wall-e/eval/chat-eval.js +0 -525
  357. package/template/wall-e/eval/check-keys.js +0 -15
  358. package/template/wall-e/eval/check-providers.js +0 -42
  359. package/template/wall-e/eval/codex-cli-baseline.js +0 -669
  360. package/template/wall-e/eval/coding-agent-real.js +0 -570
  361. package/template/wall-e/eval/context-compactor.js +0 -251
  362. package/template/wall-e/eval/debug-agent003.js +0 -68
  363. package/template/wall-e/eval/diagnostics.js +0 -216
  364. package/template/wall-e/eval/eval-orchestrator.js +0 -642
  365. package/template/wall-e/eval/evaluate.js +0 -202
  366. package/template/wall-e/eval/evaluator.js +0 -373
  367. package/template/wall-e/eval/exporter.js +0 -212
  368. package/template/wall-e/eval/fixtures/express-basic/package.json +0 -9
  369. package/template/wall-e/eval/fixtures/express-basic/server.js +0 -115
  370. package/template/wall-e/eval/fixtures/express-basic/test.js +0 -83
  371. package/template/wall-e/eval/fixtures/express-buggy/package.json +0 -9
  372. package/template/wall-e/eval/fixtures/express-buggy/server.js +0 -113
  373. package/template/wall-e/eval/fixtures/express-buggy/test.js +0 -83
  374. package/template/wall-e/eval/fixtures/express-buggy-items/package.json +0 -9
  375. package/template/wall-e/eval/fixtures/express-buggy-items/server.js +0 -112
  376. package/template/wall-e/eval/fixtures/express-buggy-items/test.js +0 -83
  377. package/template/wall-e/eval/fixtures/express-buggy-search/package.json +0 -9
  378. package/template/wall-e/eval/fixtures/express-buggy-search/server.js +0 -121
  379. package/template/wall-e/eval/fixtures/express-buggy-search/test.js +0 -83
  380. package/template/wall-e/eval/fixtures/express-rename-data/data.js +0 -34
  381. package/template/wall-e/eval/fixtures/express-rename-data/package.json +0 -9
  382. package/template/wall-e/eval/fixtures/express-rename-data/server.js +0 -97
  383. package/template/wall-e/eval/fixtures/express-rename-data/test.js +0 -88
  384. package/template/wall-e/eval/fixtures/express-xss/package.json +0 -12
  385. package/template/wall-e/eval/fixtures/express-xss/server.js +0 -90
  386. package/template/wall-e/eval/fixtures/express-xss/test.js +0 -67
  387. package/template/wall-e/eval/fixtures/express-xss/views/profile.ejs +0 -9
  388. package/template/wall-e/eval/fixtures/fullstack-app/config/default.js +0 -9
  389. package/template/wall-e/eval/fixtures/fullstack-app/config/test.js +0 -13
  390. package/template/wall-e/eval/fixtures/fullstack-app/package.json +0 -11
  391. package/template/wall-e/eval/fixtures/fullstack-app/public/css/style.css +0 -137
  392. package/template/wall-e/eval/fixtures/fullstack-app/public/index.html +0 -46
  393. package/template/wall-e/eval/fixtures/fullstack-app/public/js/app.js +0 -121
  394. package/template/wall-e/eval/fixtures/fullstack-app/public/js/auth.js +0 -71
  395. package/template/wall-e/eval/fixtures/fullstack-app/public/js/items.js +0 -80
  396. package/template/wall-e/eval/fixtures/fullstack-app/public/js/users.js +0 -46
  397. package/template/wall-e/eval/fixtures/fullstack-app/public/login.html +0 -45
  398. package/template/wall-e/eval/fixtures/fullstack-app/public/register.html +0 -38
  399. package/template/wall-e/eval/fixtures/fullstack-app/scripts/migrate.js +0 -23
  400. package/template/wall-e/eval/fixtures/fullstack-app/scripts/seed.js +0 -46
  401. package/template/wall-e/eval/fixtures/fullstack-app/server/db.js +0 -99
  402. package/template/wall-e/eval/fixtures/fullstack-app/server/index.js +0 -94
  403. package/template/wall-e/eval/fixtures/fullstack-app/server/middleware/auth.js +0 -19
  404. package/template/wall-e/eval/fixtures/fullstack-app/server/middleware/logger.js +0 -19
  405. package/template/wall-e/eval/fixtures/fullstack-app/server/router.js +0 -50
  406. package/template/wall-e/eval/fixtures/fullstack-app/server/routes/auth.js +0 -69
  407. package/template/wall-e/eval/fixtures/fullstack-app/server/routes/health.js +0 -23
  408. package/template/wall-e/eval/fixtures/fullstack-app/server/routes/items.js +0 -88
  409. package/template/wall-e/eval/fixtures/fullstack-app/server/routes/users.js +0 -75
  410. package/template/wall-e/eval/fixtures/fullstack-app/server/test.js +0 -198
  411. package/template/wall-e/eval/fixtures/fullstack-app/server/utils/response.js +0 -34
  412. package/template/wall-e/eval/fixtures/fullstack-app/server/utils/validate.js +0 -26
  413. package/template/wall-e/eval/fixtures/fullstack-app/server.js +0 -8
  414. package/template/wall-e/eval/fixtures/fullstack-app/test.js +0 -12
  415. package/template/wall-e/eval/fixtures/monorepo-basic/package.json +0 -8
  416. package/template/wall-e/eval/fixtures/monorepo-basic/packages/api/data.js +0 -58
  417. package/template/wall-e/eval/fixtures/monorepo-basic/packages/api/middleware.js +0 -46
  418. package/template/wall-e/eval/fixtures/monorepo-basic/packages/api/package.json +0 -8
  419. package/template/wall-e/eval/fixtures/monorepo-basic/packages/api/routes.js +0 -64
  420. package/template/wall-e/eval/fixtures/monorepo-basic/packages/api/server.js +0 -56
  421. package/template/wall-e/eval/fixtures/monorepo-basic/packages/api/test.js +0 -116
  422. package/template/wall-e/eval/fixtures/monorepo-basic/packages/cli/commands.js +0 -61
  423. package/template/wall-e/eval/fixtures/monorepo-basic/packages/cli/index.js +0 -62
  424. package/template/wall-e/eval/fixtures/monorepo-basic/packages/cli/output.js +0 -43
  425. package/template/wall-e/eval/fixtures/monorepo-basic/packages/cli/package.json +0 -11
  426. package/template/wall-e/eval/fixtures/monorepo-basic/packages/cli/test.js +0 -44
  427. package/template/wall-e/eval/fixtures/monorepo-basic/packages/shared/formatters.js +0 -43
  428. package/template/wall-e/eval/fixtures/monorepo-basic/packages/shared/index.js +0 -12
  429. package/template/wall-e/eval/fixtures/monorepo-basic/packages/shared/package.json +0 -5
  430. package/template/wall-e/eval/fixtures/monorepo-basic/packages/shared/test.js +0 -55
  431. package/template/wall-e/eval/fixtures/monorepo-basic/packages/shared/validators.js +0 -29
  432. package/template/wall-e/eval/fixtures/monorepo-basic/test.js +0 -46
  433. package/template/wall-e/eval/fixtures/node-cli/index.js +0 -78
  434. package/template/wall-e/eval/fixtures/node-cli/package.json +0 -10
  435. package/template/wall-e/eval/fixtures/node-cli/test.js +0 -57
  436. package/template/wall-e/eval/fixtures/node-typed/package.json +0 -8
  437. package/template/wall-e/eval/fixtures/node-typed/src/handlers.js +0 -31
  438. package/template/wall-e/eval/fixtures/node-typed/src/utils.js +0 -33
  439. package/template/wall-e/eval/fixtures/node-typed/test.js +0 -36
  440. package/template/wall-e/eval/fixtures/python-flask/app.py +0 -14
  441. package/template/wall-e/eval/fixtures/python-flask/requirements.txt +0 -2
  442. package/template/wall-e/eval/fixtures/python-flask/test_app.py +0 -25
  443. package/template/wall-e/eval/fixtures/wall-e-subset/brain.js +0 -105
  444. package/template/wall-e/eval/fixtures/wall-e-subset/eval/aggregator.js +0 -101
  445. package/template/wall-e/eval/fixtures/wall-e-subset/eval/benchmarks/chat.json +0 -20
  446. package/template/wall-e/eval/fixtures/wall-e-subset/eval/benchmarks/coding.json +0 -32
  447. package/template/wall-e/eval/fixtures/wall-e-subset/eval/benchmarks.js +0 -64
  448. package/template/wall-e/eval/fixtures/wall-e-subset/eval/fixtures/simple-project/package.json +0 -6
  449. package/template/wall-e/eval/fixtures/wall-e-subset/eval/fixtures/simple-project/server.js +0 -31
  450. package/template/wall-e/eval/fixtures/wall-e-subset/eval/fixtures/simple-project/test.js +0 -18
  451. package/template/wall-e/eval/fixtures/wall-e-subset/eval/fixtures/simple-project/utils.js +0 -34
  452. package/template/wall-e/eval/fixtures/wall-e-subset/eval/runner.js +0 -104
  453. package/template/wall-e/eval/fixtures/wall-e-subset/eval/scorer.js +0 -73
  454. package/template/wall-e/eval/fixtures/wall-e-subset/eval/test.js +0 -134
  455. package/template/wall-e/eval/fixtures/wall-e-subset/llm/client.js +0 -99
  456. package/template/wall-e/eval/fixtures/wall-e-subset/llm/providers.js +0 -63
  457. package/template/wall-e/eval/fixtures/wall-e-subset/llm/test.js +0 -70
  458. package/template/wall-e/eval/fixtures/wall-e-subset/package.json +0 -10
  459. package/template/wall-e/eval/fixtures/wall-e-subset/test.js +0 -86
  460. package/template/wall-e/eval/harvester.js +0 -685
  461. package/template/wall-e/eval/head-to-head.js +0 -388
  462. package/template/wall-e/eval/humaneval-adapter.js +0 -321
  463. package/template/wall-e/eval/list-models.js +0 -31
  464. package/template/wall-e/eval/livecodebench-adapter.js +0 -291
  465. package/template/wall-e/eval/mail-integration.js +0 -443
  466. package/template/wall-e/eval/manifest.js +0 -186
  467. package/template/wall-e/eval/meta-harness/adapters/coding-agent.js +0 -57
  468. package/template/wall-e/eval/meta-harness/bootstrap-snapshot.js +0 -149
  469. package/template/wall-e/eval/meta-harness/candidate-store.js +0 -117
  470. package/template/wall-e/eval/meta-harness/cli.js +0 -86
  471. package/template/wall-e/eval/meta-harness/domain-spec.js +0 -154
  472. package/template/wall-e/eval/meta-harness/domains/coding-agent.domain.json +0 -84
  473. package/template/wall-e/eval/meta-harness/examples/env-bootstrap-candidate.js +0 -29
  474. package/template/wall-e/eval/meta-harness/experience-store.js +0 -174
  475. package/template/wall-e/eval/meta-harness/frontier.js +0 -96
  476. package/template/wall-e/eval/meta-harness/harness-interface.js +0 -90
  477. package/template/wall-e/eval/meta-harness/leakage-guard.js +0 -80
  478. package/template/wall-e/eval/meta-harness/optimizer.js +0 -207
  479. package/template/wall-e/eval/meta-harness/proposer-runner.js +0 -110
  480. package/template/wall-e/eval/meta-harness/reporting.js +0 -58
  481. package/template/wall-e/eval/meta-harness/telemetry.js +0 -27
  482. package/template/wall-e/eval/meta-harness/validation.js +0 -81
  483. package/template/wall-e/eval/promoter.js +0 -228
  484. package/template/wall-e/eval/provider-normalizer.js +0 -33
  485. package/template/wall-e/eval/replay.js +0 -395
  486. package/template/wall-e/eval/run-agent-benchmarks.js +0 -386
  487. package/template/wall-e/eval/run-codex-cli-baseline.js +0 -177
  488. package/template/wall-e/eval/run-coding-agent-real.js +0 -187
  489. package/template/wall-e/eval/run-eval.js +0 -435
  490. package/template/wall-e/eval/run-model-comparison.js +0 -142
  491. package/template/wall-e/eval/session-evaluator.js +0 -187
  492. package/template/wall-e/eval/session-miner.js +0 -207
  493. package/template/wall-e/eval/session-retrieval-benchmark.js +0 -150
  494. package/template/wall-e/eval/session-transcripts.js +0 -509
  495. package/template/wall-e/eval/shadow.js +0 -161
  496. package/template/wall-e/eval/swebench-adapter.js +0 -345
  497. package/template/wall-e/eval/swebench-docker.js +0 -192
  498. package/template/wall-e/eval/train.py +0 -320
  499. package/template/wall-e/eval/trainer.js +0 -232
  500. package/template/wall-e/eval/weekly-eval-loop.js +0 -241
@@ -19,22 +19,52 @@
19
19
  .cr-header-actions {
20
20
  display: flex; gap: 6px; margin-left: auto; align-items: center;
21
21
  }
22
+ .cr-review-target {
23
+ display: grid; grid-template-columns: auto minmax(80px, max-content) minmax(0, 1fr);
24
+ align-items: center; gap: 6px; min-width: 220px; max-width: 520px;
25
+ padding: 4px 8px; border: 1px solid rgba(122,162,247,0.24);
26
+ border-radius: 6px; background: rgba(122,162,247,0.08);
27
+ }
28
+ .cr-review-target-kicker,
29
+ .cr-compare-label {
30
+ font-size: 10px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0;
31
+ font-weight: 700;
32
+ }
33
+ .cr-review-target-name {
34
+ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
35
+ color: var(--fg); font-size: 12px; font-weight: 700;
36
+ }
37
+ .cr-review-target-meta {
38
+ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
39
+ color: var(--fg-dim); font-size: 11px;
40
+ }
22
41
  .cr-review-mode-tabs,
23
42
  .cr-doc-view-tabs {
24
- display: inline-flex; align-items: center; overflow: hidden;
25
- border: 1px solid var(--border); border-radius: 6px; background: var(--bg);
43
+ display: inline-flex; align-items: center;
44
+ padding: 2px;
45
+ border: 1px solid var(--border); border-radius: 6px;
46
+ background: var(--bg);
47
+ gap: 0;
26
48
  }
27
49
  .cr-review-mode-btn,
28
50
  .cr-doc-view-btn {
29
- border: 0; border-right: 1px solid var(--border); background: transparent;
30
- color: var(--fg-dim); cursor: pointer; font-size: 11px; padding: 4px 9px;
51
+ border: 0; background: transparent;
52
+ color: var(--fg-dim); cursor: pointer;
53
+ font-size: 11px; font-weight: 500;
54
+ padding: 4px 10px;
55
+ border-radius: 4px;
56
+ transition: background 0.12s ease, color 0.12s ease;
31
57
  }
32
- .cr-review-mode-btn:last-child,
33
- .cr-doc-view-btn:last-child { border-right: 0; }
34
58
  .cr-review-mode-btn:hover,
35
- .cr-doc-view-btn:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
59
+ .cr-doc-view-btn:hover { color: var(--fg); background: var(--bg-hover, rgba(255,255,255,0.06)); }
60
+ /* Tinted active state — subtle accent fill, not solid blue. Reads as
61
+ "selected" without dominating the header. */
36
62
  .cr-review-mode-btn.active,
37
- .cr-doc-view-btn.active { background: var(--accent); color: #fff; }
63
+ .cr-doc-view-btn.active {
64
+ background: var(--accent-soft, rgba(122,162,247,0.18));
65
+ color: var(--fg);
66
+ font-weight: 600;
67
+ }
38
68
  .cr-doc-header-name {
39
69
  min-width: 0; max-width: 260px; overflow: hidden; text-overflow: ellipsis;
40
70
  white-space: nowrap; color: var(--fg); font-size: 12px; font-weight: 650;
@@ -54,6 +84,16 @@
54
84
  .cr-btn.success { background: var(--green, #9ece6a); color: #1a1b26; border-color: var(--green); }
55
85
  .cr-btn.danger { background: var(--red, #f7768e); color: #fff; border-color: var(--red); }
56
86
  .cr-btn:disabled { opacity: 0.4; cursor: default; }
87
+ .ctm-doc-review-link {
88
+ color: var(--accent, #7aa2f7);
89
+ text-decoration: underline;
90
+ text-decoration-style: dotted;
91
+ text-underline-offset: 2px;
92
+ cursor: pointer;
93
+ }
94
+ .ctm-doc-review-link:hover {
95
+ color: var(--fg, #c0caf5);
96
+ }
57
97
 
58
98
  /* Commit summary card (shown at top of diff area when a commit is selected) */
59
99
  .cr-file-item.summary {
@@ -85,6 +125,9 @@
85
125
  width: 240px; min-width: 180px; border-right: 1px solid var(--border);
86
126
  overflow-y: auto; flex-shrink: 0; padding: 6px 0;
87
127
  }
128
+ /* Project chooser has no file tree — reclaim the empty left rail */
129
+ #codereview-panel.cr-choosing .cr-file-tree,
130
+ #codereview-panel.cr-choosing .cr-resize-handle { display: none; }
88
131
  .cr-file-item {
89
132
  display: flex; align-items: center; gap: 6px; padding: 5px 10px;
90
133
  cursor: pointer; font-size: 11px; transition: background 0.1s;
@@ -93,6 +136,16 @@
93
136
  .cr-file-item:hover { background: var(--bg-hover, rgba(255,255,255,0.04)); }
94
137
  .cr-file-item.active { background: var(--bg-lighter); border-left-color: var(--accent); }
95
138
  .cr-file-item.has-comments { font-weight: 600; }
139
+ .cr-file-item.viewed .cr-file-name { color: var(--fg-dim); text-decoration: line-through; text-decoration-color: var(--fg-muted, rgba(255,255,255,0.25)); }
140
+ .cr-file-item.viewed .cr-file-icon { opacity: 0.45; }
141
+ /* Per-file "Viewed" checkbox in the tree */
142
+ .cr-file-viewed {
143
+ flex-shrink: 0; width: 14px; height: 14px; line-height: 12px; text-align: center;
144
+ border: 1px solid var(--border); border-radius: 3px; font-size: 9px; color: var(--green, #9ece6a);
145
+ background: var(--bg); cursor: pointer; transition: border-color 0.1s, background 0.1s;
146
+ }
147
+ .cr-file-viewed:hover { border-color: var(--green, #9ece6a); }
148
+ .cr-file-viewed.on { background: rgba(158,206,106,0.15); border-color: var(--green, #9ece6a); }
96
149
  .cr-file-icon { font-size: 13px; flex-shrink: 0; }
97
150
  .cr-file-name {
98
151
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
@@ -166,6 +219,26 @@
166
219
  font-size: 12px; font-weight: 600; color: var(--fg); position: sticky; top: 0; z-index: 5;
167
220
  }
168
221
  .cr-diff-file-path { flex: 1; font-family: var(--mono, 'SF Mono', Menlo, monospace); }
222
+ /* Header "Viewed" toggle pill + collapse of viewed file sections */
223
+ .cr-diff-file-viewed {
224
+ flex-shrink: 0; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 10px;
225
+ border: 1px solid var(--border); color: var(--fg-dim); background: var(--bg); cursor: pointer;
226
+ transition: all 0.12s;
227
+ }
228
+ .cr-diff-file-viewed:hover { border-color: var(--green, #9ece6a); color: var(--fg); }
229
+ .cr-diff-file-viewed.on { background: rgba(158,206,106,0.15); border-color: var(--green, #9ece6a); color: var(--green, #9ece6a); }
230
+ .cr-diff-file-section.viewed .cr-diff-table,
231
+ .cr-diff-file-section.viewed > .cr-diff-empty { display: none; }
232
+ .cr-diff-file-section.viewed .cr-diff-file-path { color: var(--fg-dim); }
233
+ /* Review progress (footer) */
234
+ .cr-progress { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 0 12px; }
235
+ .cr-progress-label { font-size: 11px; color: var(--fg-dim); white-space: nowrap; }
236
+ .cr-progress-bar {
237
+ width: 90px; height: 5px; border-radius: 3px; background: var(--bg-lighter);
238
+ overflow: hidden; display: inline-block;
239
+ }
240
+ .cr-progress-fill { display: block; height: 100%; background: var(--green, #9ece6a); transition: width 0.2s; }
241
+ .cr-resolve-all { font-size: 11px; padding: 3px 10px; }
169
242
  .cr-diff-mode-toggle {
170
243
  display: flex; border: 1px solid var(--border); border-radius: 5px; overflow: hidden;
171
244
  }
@@ -183,82 +256,299 @@
183
256
  font-family: var(--mono, 'SF Mono', Menlo, monospace);
184
257
  background: var(--bg-lighter); padding: 1px 4px; border-radius: 4px;
185
258
  }
186
- .cr-doc-heading { font-size: 11px; }
187
- .cr-doc-heading .cr-file-icon {
188
- font-family: var(--mono, 'SF Mono', Menlo, monospace); color: var(--accent); opacity: 0.75;
259
+ .cr-doc-candidate-shell {
260
+ min-height: 100%;
261
+ display: flex;
262
+ align-items: flex-start;
263
+ justify-content: center;
264
+ padding: 48px 24px;
265
+ }
266
+ .cr-doc-candidate-panel {
267
+ width: min(760px, 100%);
268
+ border: 1px solid var(--border);
269
+ border-radius: 10px;
270
+ background: var(--bg-light);
271
+ box-shadow: 0 18px 54px rgba(0,0,0,0.18);
272
+ padding: 22px;
273
+ }
274
+ .cr-doc-candidate-eyebrow {
275
+ color: var(--accent);
276
+ font-size: 11px;
277
+ font-weight: 700;
278
+ letter-spacing: 0.08em;
279
+ text-transform: uppercase;
280
+ margin-bottom: 8px;
189
281
  }
190
- .cr-doc-level-2 { padding-left: 18px; }
191
- .cr-doc-level-3 { padding-left: 26px; }
192
- .cr-doc-level-4,
193
- .cr-doc-level-5,
194
- .cr-doc-level-6 { padding-left: 34px; }
195
- .cr-doc-workspace {
196
- min-height: 100%; background: var(--bg);
282
+ .cr-doc-candidate-panel h2 {
283
+ margin: 0 0 8px;
284
+ color: var(--fg);
285
+ font-size: 20px;
286
+ line-height: 1.25;
197
287
  }
198
- .cr-doc-canvas {
199
- display: flex; align-items: stretch; min-height: 100%; width: 100%;
288
+ .cr-doc-candidate-panel p {
289
+ margin: 0 0 18px;
290
+ color: var(--fg-dim);
291
+ font-size: 13px;
292
+ line-height: 1.5;
293
+ }
294
+ .cr-doc-candidate-list {
295
+ display: flex;
296
+ flex-direction: column;
297
+ gap: 8px;
298
+ }
299
+ .cr-doc-candidate {
300
+ display: grid;
301
+ grid-template-columns: minmax(0, 1fr);
302
+ gap: 3px;
303
+ width: 100%;
304
+ text-align: left;
305
+ border: 1px solid var(--border);
306
+ border-radius: 7px;
307
+ background: var(--bg);
308
+ color: var(--fg);
309
+ padding: 11px 12px;
310
+ cursor: pointer;
311
+ }
312
+ .cr-doc-candidate:hover,
313
+ .cr-doc-candidate:focus-visible {
314
+ border-color: var(--accent);
315
+ background: var(--bg-hover, var(--bg-lighter));
316
+ outline: none;
200
317
  }
201
- .cr-doc-canvas.split .cr-doc-pane {
202
- width: 50%; min-width: 0;
318
+ .cr-doc-candidate-name {
319
+ font-family: var(--mono, 'SF Mono', Menlo, monospace);
320
+ font-size: 13px;
321
+ color: var(--fg);
322
+ overflow-wrap: anywhere;
203
323
  }
204
- .cr-doc-canvas.split .cr-doc-rendered-pane {
205
- border-right: 1px solid var(--border);
324
+ .cr-doc-candidate-path {
325
+ font-size: 11px;
326
+ color: var(--fg-dim);
327
+ overflow-wrap: anywhere;
328
+ }
329
+ /* ── Document Review — Markdown Pane (May 2026 redesign) ──────────────────
330
+ Design tokens documented in docs/design/markdown-review-pane.md.
331
+ Goals: prose-first rendering, no code-editor leakage in Docs mode,
332
+ 5-level type scale, theme-aware contrast, accessible AAA on body text.
333
+ ───────────────────────────────────────────────────────────────────── */
334
+
335
+ /* TOC sidebar entries (left rail) — strip raw `#` glyphs, indent by depth. */
336
+ .cr-doc-heading { font-size: 12px; padding-left: 8px; position: relative; }
337
+ .cr-doc-heading .cr-file-icon {
338
+ /* Hide the literal `#` rendered by reviews.js — markdown syntax doesn't
339
+ belong in a parsed TOC. Indentation conveys hierarchy instead. */
340
+ display: none;
341
+ }
342
+ .cr-doc-heading .cr-file-name {
343
+ font-weight: 500;
344
+ }
345
+ .cr-doc-heading.cr-doc-level-2 { padding-left: 14px; }
346
+ .cr-doc-heading.cr-doc-level-3 { padding-left: 28px; font-size: 11.5px; color: var(--fg-dim); }
347
+ .cr-doc-heading.cr-doc-level-4 { padding-left: 42px; font-size: 11px; color: var(--fg-muted); }
348
+ .cr-doc-heading.cr-doc-level-5,
349
+ .cr-doc-heading.cr-doc-level-6 { padding-left: 56px; font-size: 11px; color: var(--fg-muted); }
350
+ .cr-doc-heading.active {
351
+ /* Subtle accent rail on the active entry — scroll-spy target. */
352
+ background: var(--accent-soft, rgba(122,162,247,0.10));
353
+ box-shadow: inset 2px 0 0 var(--accent);
354
+ }
355
+ .cr-doc-heading.active .cr-file-name { color: var(--fg); font-weight: 600; }
356
+
357
+ /* Workspace surfaces — soft elevated bg so the article surface lifts. */
358
+ .cr-doc-workspace {
359
+ min-height: 100%;
360
+ background: var(--bg);
206
361
  }
207
- .cr-doc-pane {
208
- flex: 1; min-width: 0; overflow-x: auto;
362
+ .cr-doc-canvas {
363
+ display: flex; align-items: stretch; min-height: 100%; width: 100%;
209
364
  }
365
+ .cr-doc-canvas.split .cr-doc-pane { width: 50%; min-width: 0; }
366
+ .cr-doc-canvas.split .cr-doc-rendered-pane { border-right: 1px solid var(--border); }
367
+ .cr-doc-pane { flex: 1; min-width: 0; overflow-x: auto; }
368
+
369
+ /* Reading container — capped width for line-length readability (~75ch).
370
+ Aligns with research on prose typography: lines beyond 80 chars become
371
+ harder to scan. Reduced from 920px → 800px. */
210
372
  .cr-doc-article {
211
- max-width: 920px; margin: 0 auto; padding: 18px 28px 80px;
373
+ max-width: 800px;
374
+ margin: 0 auto;
375
+ padding: 24px 32px 96px;
212
376
  }
377
+
378
+ /* Block — generous left padding for the line-number gutter, which is now
379
+ hidden by default and only revealed on hover. */
213
380
  .cr-doc-block {
214
- position: relative; border-left: 2px solid transparent;
215
- padding: 4px 12px 8px 52px; margin: 0 0 4px;
381
+ position: relative;
382
+ border-left: 2px solid transparent;
383
+ padding: 4px 12px 8px 16px;
384
+ margin: 0 0 6px;
216
385
  border-radius: 6px;
217
386
  }
218
387
  .cr-doc-block:hover,
219
388
  .cr-doc-block.active {
220
- background: rgba(122, 162, 247, 0.06); border-left-color: var(--accent);
389
+ background: var(--accent-soft, rgba(122,162,247,0.06));
390
+ border-left-color: var(--accent);
221
391
  }
392
+
393
+ /* Line-range gutter — hidden in rendered/split rendered pane, since line
394
+ numbers belong with source code. They reappear on hover as a quiet
395
+ anchor hint for review reference. */
222
396
  .cr-doc-block-lines {
223
- position: absolute; left: 12px; top: 10px; width: 30px;
224
- color: var(--fg-dim); opacity: 0.6; font-size: 10px; text-align: right;
397
+ position: absolute;
398
+ left: -44px; top: 10px;
399
+ width: 36px;
400
+ color: var(--fg-muted);
401
+ opacity: 0;
402
+ font-size: 10px;
403
+ text-align: right;
225
404
  font-family: var(--mono, 'SF Mono', Menlo, monospace);
405
+ pointer-events: none;
406
+ transition: opacity 0.12s ease;
407
+ }
408
+ .cr-doc-block:hover .cr-doc-block-lines { opacity: 0.55; }
409
+ /* Source/split panes — line numbers ARE the source code's. Keep visible
410
+ there as a left-side gutter. */
411
+ .cr-doc-mode-source .cr-doc-block-lines,
412
+ .cr-doc-source-pane .cr-doc-block-lines {
413
+ position: static; opacity: 0.55; display: inline-block; margin-right: 8px;
226
414
  }
415
+
416
+ /* Comment "+" trigger — invisible by default, surfaces on hover. */
227
417
  .cr-doc-comment-btn {
228
- position: absolute; right: 8px; top: 8px; width: 22px; height: 22px;
229
- border-radius: 50%; border: 1px solid var(--border);
230
- background: var(--bg-lighter); color: var(--accent); cursor: pointer;
231
- opacity: 0; transition: opacity 0.12s, background 0.12s;
418
+ position: absolute; right: 8px; top: 8px;
419
+ width: 24px; height: 24px;
420
+ border-radius: 50%;
421
+ border: 1px solid var(--border);
422
+ background: var(--bg-lighter, var(--bg-light));
423
+ color: var(--accent); cursor: pointer;
424
+ opacity: 0;
425
+ transition: opacity 0.12s ease, background 0.12s ease, border-color 0.12s ease;
426
+ font-size: 13px; line-height: 1;
232
427
  }
233
428
  .cr-doc-block:hover .cr-doc-comment-btn,
234
- .cr-doc-block.active .cr-doc-comment-btn { opacity: 1; }
235
- .cr-doc-comment-btn:hover { background: rgba(122, 162, 247, 0.16); }
429
+ .cr-doc-block.active .cr-doc-comment-btn,
430
+ .cr-doc-comment-btn:focus-visible { opacity: 1; }
431
+ .cr-doc-comment-btn:hover {
432
+ background: var(--accent-soft, rgba(122,162,247,0.16));
433
+ border-color: var(--accent);
434
+ }
435
+
436
+ /* Body type — slate-tinted body color (not pure --fg) for prose comfort.
437
+ Line-height 1.7 hits the prose-reading sweet spot. Matches GitHub/Stripe
438
+ docs body-text balance. */
236
439
  .cr-doc-markdown {
237
- color: var(--fg); line-height: 1.62; font-size: 14px;
440
+ color: var(--fg);
441
+ line-height: 1.7;
442
+ font-size: 15px;
238
443
  overflow-wrap: anywhere;
239
444
  }
445
+
446
+ /* 5-level type scale ────────────────────────────────────────────────────
447
+ H1 28 / 700 / line-height 1.20
448
+ H2 22 / 650 / line-height 1.25 + top spacing + bottom hairline
449
+ H3 17 / 600 / line-height 1.30
450
+ H4 15 / 600 / muted color
451
+ H5 13 / 700 / uppercase letterspace (used as eyebrow / kicker)
452
+ ───────────────────────────────────────────────────────────────────── */
240
453
  .cr-doc-markdown h1,
241
454
  .cr-doc-markdown h2,
242
455
  .cr-doc-markdown h3,
456
+ .cr-doc-markdown h4,
457
+ .cr-doc-markdown h5,
458
+ .cr-doc-markdown h6 {
459
+ color: var(--fg); line-height: 1.25; font-weight: 650;
460
+ scroll-margin-top: 16px;
461
+ }
462
+ .cr-doc-markdown h1 {
463
+ font-size: 28px; font-weight: 700; line-height: 1.2;
464
+ margin: 4px 0 16px; letter-spacing: -0.01em;
465
+ }
466
+ .cr-doc-markdown h2 {
467
+ font-size: 22px; font-weight: 650; line-height: 1.25;
468
+ margin: 28px 0 12px; padding-bottom: 6px;
469
+ border-bottom: 1px solid var(--border);
470
+ }
471
+ .cr-doc-markdown h3 {
472
+ font-size: 17px; font-weight: 600; line-height: 1.3;
473
+ margin: 22px 0 8px;
474
+ }
243
475
  .cr-doc-markdown h4 {
244
- color: var(--fg); margin: 14px 0 8px; line-height: 1.25;
476
+ font-size: 15px; font-weight: 600; color: var(--fg-dim);
477
+ margin: 16px 0 6px;
245
478
  }
246
- .cr-doc-markdown h1 { font-size: 24px; }
247
- .cr-doc-markdown h2 { font-size: 19px; }
248
- .cr-doc-markdown h3 { font-size: 16px; }
249
- .cr-doc-markdown p,
479
+ .cr-doc-markdown h5,
480
+ .cr-doc-markdown h6 {
481
+ font-size: 12px; font-weight: 700; color: var(--fg-muted);
482
+ text-transform: uppercase; letter-spacing: 0.08em;
483
+ margin: 14px 0 4px;
484
+ }
485
+
486
+ /* Paragraphs and list spacing — looser to breathe like a doc, not a panel. */
487
+ .cr-doc-markdown p { margin: 8px 0 12px; }
250
488
  .cr-doc-markdown ul,
251
- .cr-doc-markdown ol,
252
- .cr-doc-markdown pre { margin: 8px 0; }
489
+ .cr-doc-markdown ol { margin: 8px 0 14px; padding-left: 22px; }
490
+ .cr-doc-markdown li { margin: 4px 0; }
491
+ .cr-doc-markdown li > p { margin: 2px 0 6px; }
492
+ .cr-doc-markdown blockquote {
493
+ margin: 12px 0; padding: 4px 14px;
494
+ border-left: 3px solid var(--border);
495
+ color: var(--fg-dim);
496
+ }
497
+
498
+ /* Inline code — body-colored on a faint accent-tinted pill (NOT amber).
499
+ Reserves color emphasis for prose accents / heading colors instead. */
253
500
  .cr-doc-markdown code {
254
- font-family: var(--mono, 'SF Mono', Menlo, monospace); font-size: 12px;
255
- background: rgba(255,255,255,0.07); padding: 1px 4px; border-radius: 4px;
501
+ font-family: var(--mono, 'SF Mono', Menlo, monospace);
502
+ font-size: 0.9em;
503
+ background: var(--accent-soft, rgba(122,162,247,0.10));
504
+ color: var(--fg);
505
+ padding: 1px 6px;
506
+ border-radius: 4px;
507
+ white-space: pre-wrap;
256
508
  }
509
+
510
+ /* Block code — distinct surface, thin border for "this is a contained block". */
257
511
  .cr-doc-markdown pre {
258
- background: var(--bg-light); border: 1px solid var(--border);
259
- border-radius: 6px; padding: 10px 12px; overflow-x: auto;
512
+ background: var(--bg-light);
513
+ border: 1px solid var(--border);
514
+ border-radius: 6px;
515
+ padding: 12px 14px;
516
+ margin: 12px 0 14px;
517
+ overflow-x: auto;
518
+ font-size: 13px;
519
+ line-height: 1.55;
520
+ }
521
+ .cr-doc-markdown pre code {
522
+ background: transparent;
523
+ padding: 0;
524
+ color: var(--fg);
525
+ font-size: inherit;
526
+ }
527
+
528
+ /* Tables — readable on dark + light. */
529
+ .cr-doc-markdown table {
530
+ border-collapse: collapse; margin: 12px 0; font-size: 13px; width: auto; max-width: 100%;
531
+ }
532
+ .cr-doc-markdown th,
533
+ .cr-doc-markdown td {
534
+ border: 1px solid var(--border); padding: 6px 12px; text-align: left;
535
+ }
536
+ .cr-doc-markdown th { background: var(--bg-lighter, var(--bg-light)); font-weight: 600; }
537
+
538
+ /* Links — accent color with subtle underline. */
539
+ .cr-doc-markdown a {
540
+ color: var(--accent);
541
+ text-decoration: underline;
542
+ text-decoration-thickness: 1px;
543
+ text-underline-offset: 2px;
544
+ text-decoration-color: var(--accent-soft, rgba(122,162,247,0.4));
545
+ }
546
+ .cr-doc-markdown a:hover { text-decoration-color: var(--accent); }
547
+
548
+ /* HR — thin neutral rule. */
549
+ .cr-doc-markdown hr {
550
+ border: 0; height: 1px; background: var(--border); margin: 24px 0;
260
551
  }
261
- .cr-doc-markdown pre code { background: transparent; padding: 0; }
262
552
  .cr-doc-source-table {
263
553
  width: 100%; border-collapse: collapse; font-family: var(--mono, 'SF Mono', Menlo, monospace);
264
554
  font-size: 12px; line-height: 1.55;
@@ -289,6 +579,13 @@
289
579
  padding: 4px 12px;
290
580
  }
291
581
  .cr-diff-hunk-header td { padding: 4px 12px; font-style: italic; }
582
+ /* Expand-context row between/around hunks */
583
+ .cr-diff-expand-row td { padding: 0; background: rgba(122,162,247,0.05); }
584
+ .cr-expand-btn {
585
+ width: 100%; text-align: left; padding: 3px 12px; background: transparent; border: none;
586
+ color: var(--fg-dim); font-size: 11px; cursor: pointer; font-family: var(--mono, monospace);
587
+ }
588
+ .cr-expand-btn:hover { background: rgba(122,162,247,0.12); color: var(--accent, #7aa2f7); }
292
589
 
293
590
  /* Line rows */
294
591
  .cr-diff-line { position: relative; }
@@ -311,6 +608,12 @@
311
608
  display: flex; align-items: center; justify-content: center;
312
609
  }
313
610
  .cr-line-num:hover::before { opacity: 1; }
611
+ /* Surface the "+" add-comment affordance on whole-line hover (more discoverable than
612
+ hovering the narrow gutter cell); full opacity when pointing right at the gutter. */
613
+ .cr-diff-line:hover .cr-line-num::before,
614
+ .cr-diff-line-split:hover .cr-line-num::before { opacity: 0.55; }
615
+ .cr-diff-line .cr-line-num:hover::before,
616
+ .cr-diff-line-split .cr-line-num:hover::before { opacity: 1; }
314
617
 
315
618
  .cr-line-prefix {
316
619
  width: 14px; min-width: 14px; text-align: center; user-select: none;
@@ -329,6 +632,20 @@
329
632
  background: rgba(247, 118, 142, 0.25); border-radius: 2px;
330
633
  }
331
634
 
635
+ /* Side-by-side (split) diff layout */
636
+ .cr-diff-table.split { table-layout: fixed; }
637
+ .cr-diff-table.split .cr-line-num { width: 46px; min-width: 46px; }
638
+ .cr-diff-table.split .cr-line-content {
639
+ white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; padding: 0 10px;
640
+ }
641
+ .cr-diff-line-split td:nth-child(3) { border-left: 2px solid var(--border); }
642
+ .cr-diff-line-split:hover { background: rgba(255,255,255,0.02); }
643
+ .cr-diff-line-split .cr-line-content.del { background: rgba(247, 118, 142, 0.10); }
644
+ .cr-diff-line-split .cr-line-content.add { background: rgba(158, 206, 106, 0.10); }
645
+ .cr-diff-line-split .cr-split-empty {
646
+ background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255,255,255,0.02) 6px, rgba(255,255,255,0.02) 12px);
647
+ }
648
+
332
649
  /* Line selection for range comments */
333
650
  .cr-diff-line.selected { background: rgba(122, 162, 247, 0.12) !important; }
334
651
  .cr-diff-line.selected .cr-line-num { color: var(--accent); opacity: 1; }
@@ -463,20 +780,124 @@
463
780
  .cr-history-status.resolved { background: var(--fg-dim); }
464
781
 
465
782
  /* Project list view */
783
+ .cr-project-picker {
784
+ padding: 20px 18px 28px; max-width: 980px; margin: 0 auto; width: 100%;
785
+ }
786
+ .cr-project-chooser-header {
787
+ display: flex; justify-content: space-between; gap: 18px; align-items: flex-end;
788
+ padding: 4px 2px 16px;
789
+ }
790
+ .cr-project-chooser-copy {
791
+ min-width: 0;
792
+ }
793
+ .cr-picker-eyebrow {
794
+ font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0;
795
+ color: var(--accent, #7aa2f7); margin-bottom: 5px;
796
+ }
797
+ .cr-project-chooser-copy h2 {
798
+ margin: 0; color: var(--fg); font-size: 20px; line-height: 1.2;
799
+ }
800
+ .cr-project-chooser-copy p {
801
+ margin: 7px 0 0; color: var(--fg-dim); font-size: 12px; line-height: 1.45;
802
+ max-width: 620px;
803
+ }
804
+ .cr-project-chooser-stats {
805
+ display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex-shrink: 0;
806
+ }
807
+ .cr-project-chooser-stats span {
808
+ display: inline-flex; align-items: center; gap: 4px; min-height: 28px;
809
+ padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px;
810
+ background: var(--bg); color: var(--fg-dim); font-size: 11px;
811
+ }
812
+ .cr-project-chooser-stats strong { color: var(--fg); }
813
+ .cr-project-scan-status {
814
+ display: inline-flex; align-items: center; gap: 7px; min-height: 28px;
815
+ padding: 4px 9px; border: 1px solid var(--border); border-radius: 999px;
816
+ background: color-mix(in srgb, var(--bg) 82%, var(--bg-lighter) 18%);
817
+ color: var(--fg-dim); font-size: 11px; font-weight: 650; white-space: nowrap;
818
+ }
819
+ .cr-project-scan-status.active {
820
+ color: var(--accent); border-color: rgba(122,162,247,0.45);
821
+ }
822
+ .cr-project-scan-status.error {
823
+ color: var(--red); border-color: rgba(247,118,142,0.45);
824
+ }
825
+ .cr-project-scan-status .spinner {
826
+ width: 12px; height: 12px; border-width: 2px;
827
+ }
828
+ .cr-project-toolbar {
829
+ display: grid; grid-template-columns: minmax(260px, 1fr) auto auto;
830
+ align-items: center; gap: 10px; margin-bottom: 14px;
831
+ }
832
+ .cr-project-search {
833
+ min-width: 0; display: flex; align-items: center; gap: 8px;
834
+ height: 38px; padding: 0 10px; border: 1px solid var(--border);
835
+ border-radius: 7px; background: var(--bg);
836
+ }
837
+ .cr-project-search:focus-within {
838
+ border-color: var(--accent); box-shadow: 0 0 0 2px rgba(122,162,247,0.18);
839
+ }
840
+ .cr-project-search-icon {
841
+ color: var(--fg-dim); font-size: 13px; flex-shrink: 0;
842
+ }
843
+ .cr-project-search input {
844
+ width: 100%; min-width: 0; border: 0; outline: 0; background: transparent;
845
+ color: var(--fg); font-size: 12px; font-family: inherit;
846
+ }
847
+ .cr-project-search input::placeholder { color: var(--fg-dim); opacity: 0.75; }
848
+ .cr-project-filters {
849
+ display: inline-flex; align-items: center; gap: 4px; padding: 3px;
850
+ border: 1px solid var(--border); border-radius: 7px; background: var(--bg);
851
+ }
852
+ .cr-project-filter {
853
+ min-height: 30px; border: 0; border-radius: 5px; padding: 4px 9px;
854
+ background: transparent; color: var(--fg-dim); cursor: pointer;
855
+ font-size: 11px; font-weight: 650; white-space: nowrap;
856
+ }
857
+ .cr-project-filter span {
858
+ color: var(--fg-dim); font-weight: 600; margin-left: 3px;
859
+ }
860
+ .cr-project-filter:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
861
+ .cr-project-filter.active {
862
+ color: var(--fg); background: rgba(122,162,247,0.22);
863
+ }
864
+ .cr-project-result-count {
865
+ color: var(--fg-dim); font-size: 11px; white-space: nowrap;
866
+ }
867
+ .cr-project-results {
868
+ min-height: 120px;
869
+ }
466
870
  .cr-project-list {
467
- padding: 16px; display: flex; flex-direction: column; gap: 10px;
468
- max-width: 800px; margin: 0 auto; width: 100%;
871
+ display: flex; flex-direction: column; gap: 12px; width: 100%;
469
872
  }
470
873
  .cr-project-card {
471
- border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px;
472
- cursor: pointer; transition: all 0.15s; background: var(--bg);
874
+ border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px 13px;
875
+ cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
876
+ background: color-mix(in srgb, var(--bg) 86%, var(--bg-lighter) 14%);
877
+ }
878
+ .cr-project-card:hover {
879
+ background: var(--bg-lighter); border-color: rgba(122,162,247,0.75);
880
+ box-shadow: 0 8px 24px rgba(0,0,0,0.16);
881
+ }
882
+ .cr-project-card:focus-visible {
883
+ outline: 2px solid var(--accent); outline-offset: 2px;
473
884
  }
474
- .cr-project-card:hover { background: var(--bg-lighter); border-color: var(--accent); }
475
885
  .cr-project-card.has-changes { border-left: 3px solid var(--accent); }
476
886
  .cr-project-card.pinned { border-color: var(--yellow, #e0af68); }
477
887
  .cr-project-card.pinned.has-changes { border-left-color: var(--yellow, #e0af68); }
478
888
  .cr-project-card-header {
479
- display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
889
+ display: flex; align-items: flex-start; justify-content: space-between;
890
+ gap: 12px; margin-bottom: 10px;
891
+ }
892
+ .cr-project-card-left {
893
+ display: flex; align-items: center; gap: 8px; min-width: 0;
894
+ }
895
+ .cr-project-title-group {
896
+ display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap;
897
+ }
898
+ .cr-project-status-row {
899
+ display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end;
900
+ min-width: 200px;
480
901
  }
481
902
  /* Pin button */
482
903
  /* Drag handle for pinned cards */
@@ -499,7 +920,28 @@
499
920
  .cr-pin-btn.pinned { opacity: 1; }
500
921
 
501
922
  .cr-project-name {
502
- font-size: 14px; font-weight: 700; color: var(--fg);
923
+ font-size: 15px; font-weight: 760; color: var(--fg);
924
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px;
925
+ }
926
+ .cr-worktree-name {
927
+ max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
928
+ font-size: 11px; color: var(--accent); background: rgba(122,162,247,0.14);
929
+ border: 1px solid rgba(122,162,247,0.22); padding: 2px 7px; border-radius: 999px;
930
+ }
931
+ .cr-target-type {
932
+ font-size: 10px; font-weight: 760; color: var(--fg);
933
+ background: rgba(255,255,255,0.06); border: 1px solid var(--border);
934
+ padding: 2px 8px; border-radius: 999px; white-space: nowrap;
935
+ }
936
+ .cr-target-type.claude-worktree,
937
+ .cr-target-type.walle-worktree,
938
+ .cr-target-type.worktree {
939
+ color: var(--accent); border-color: rgba(122,162,247,0.28);
940
+ background: rgba(122,162,247,0.12);
941
+ }
942
+ .cr-target-type.main-checkout {
943
+ color: var(--green, #9ece6a); border-color: rgba(158,206,106,0.25);
944
+ background: rgba(158,206,106,0.10);
503
945
  }
504
946
  .cr-project-badge {
505
947
  font-size: 10px; font-weight: 600; background: var(--accent); color: #fff;
@@ -508,16 +950,40 @@
508
950
  .cr-project-clean {
509
951
  font-size: 10px; color: var(--green, #9ece6a); opacity: 0.7;
510
952
  }
953
+ .cr-project-path-grid {
954
+ display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 8px;
955
+ margin: 0 0 10px; align-items: center;
956
+ }
957
+ .cr-path-label {
958
+ color: var(--fg-dim); font-size: 10px; font-weight: 800; text-transform: uppercase;
959
+ letter-spacing: 0;
960
+ }
511
961
  .cr-project-path {
512
962
  font-size: 11px; color: var(--fg-dim); font-family: var(--mono, 'SF Mono', Menlo, monospace);
513
- margin-bottom: 4px;
963
+ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
964
+ }
965
+ .cr-project-card-actions {
966
+ display: flex; align-items: center; gap: 10px; margin: 2px 0 10px;
967
+ }
968
+ .cr-review-target-btn {
969
+ min-height: 32px; font-weight: 750;
970
+ }
971
+ .cr-project-action-hint {
972
+ color: var(--fg-dim); font-size: 11px;
514
973
  }
515
974
  /* Session list inside project card */
516
975
  .cr-project-session-count {
517
- font-size: 10px; color: var(--fg-dim); margin-left: auto;
976
+ font-size: 10px; color: var(--fg-dim);
977
+ }
978
+ .cr-project-session-section {
979
+ margin: 9px 0 4px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.06);
980
+ }
981
+ .cr-session-section-label {
982
+ margin-bottom: 4px; color: var(--fg-dim); font-size: 10px; font-weight: 800;
983
+ text-transform: uppercase; letter-spacing: 0;
518
984
  }
519
985
  .cr-project-session-list {
520
- margin: 8px 0 4px; display: flex; flex-direction: column; gap: 2px;
986
+ display: flex; flex-direction: column; gap: 2px;
521
987
  }
522
988
  .cr-project-session-item {
523
989
  display: flex; align-items: center; gap: 6px; padding: 4px 8px;
@@ -552,6 +1018,30 @@
552
1018
  color: var(--fg-dim); background: var(--bg-lighter); padding: 2px 6px;
553
1019
  border-radius: 4px; white-space: nowrap;
554
1020
  }
1021
+ .cr-project-empty-state {
1022
+ display: grid; place-items: center; min-height: 180px; text-align: center;
1023
+ border: 1px dashed var(--border); border-radius: 8px; color: var(--fg-dim);
1024
+ background: rgba(255,255,255,0.02);
1025
+ }
1026
+ .cr-project-empty-title {
1027
+ color: var(--fg); font-size: 14px; font-weight: 700; margin-bottom: 4px;
1028
+ }
1029
+ .cr-project-empty-copy {
1030
+ font-size: 12px;
1031
+ }
1032
+
1033
+ @media (max-width: 900px) {
1034
+ .cr-project-chooser-header { align-items: stretch; flex-direction: column; }
1035
+ .cr-project-chooser-stats { justify-content: flex-start; }
1036
+ .cr-project-toolbar { grid-template-columns: 1fr; }
1037
+ .cr-project-filters { overflow-x: auto; justify-content: flex-start; }
1038
+ .cr-project-result-count { display: none; }
1039
+ .cr-project-card-header { flex-direction: column; align-items: stretch; }
1040
+ .cr-project-status-row { justify-content: flex-start; min-width: 0; }
1041
+ .cr-project-card-actions { flex-direction: column; align-items: flex-start; }
1042
+ .cr-review-target { grid-template-columns: auto minmax(0, 1fr); max-width: 100%; }
1043
+ .cr-review-target-meta { grid-column: 2; }
1044
+ }
555
1045
 
556
1046
  /* No changes state */
557
1047
  .cr-no-changes {