jettypod 4.4.116 → 4.4.120

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 (162) hide show
  1. package/.env +7 -0
  2. package/apps/dashboard/app/api/claude/[workItemId]/message/route.ts +124 -48
  3. package/apps/dashboard/app/api/claude/[workItemId]/route.ts +171 -58
  4. package/apps/dashboard/app/api/claude/sessions/[sessionId]/message/route.ts +161 -10
  5. package/apps/dashboard/app/api/tests/run/stream/route.ts +13 -1
  6. package/apps/dashboard/app/api/usage/route.ts +17 -0
  7. package/apps/dashboard/app/api/work/[id]/route.ts +35 -0
  8. package/apps/dashboard/app/api/work/[id]/status/route.ts +43 -1
  9. package/apps/dashboard/app/connect-claude/page.tsx +24 -0
  10. package/apps/dashboard/app/decision/[id]/page.tsx +14 -14
  11. package/apps/dashboard/app/demo/gates/page.tsx +42 -42
  12. package/apps/dashboard/app/design-system/page.tsx +868 -0
  13. package/apps/dashboard/app/globals.css +6 -2
  14. package/apps/dashboard/app/install-claude/page.tsx +9 -7
  15. package/apps/dashboard/app/layout.tsx +17 -5
  16. package/apps/dashboard/app/login/page.tsx +250 -0
  17. package/apps/dashboard/app/page.tsx +11 -9
  18. package/apps/dashboard/app/settings/page.tsx +4 -2
  19. package/apps/dashboard/app/signup/page.tsx +245 -0
  20. package/apps/dashboard/app/subscribe/page.tsx +11 -0
  21. package/apps/dashboard/app/welcome/page.tsx +24 -1
  22. package/apps/dashboard/app/work/[id]/page.tsx +34 -50
  23. package/apps/dashboard/components/AppShell.tsx +95 -55
  24. package/apps/dashboard/components/CardMenu.tsx +56 -13
  25. package/apps/dashboard/components/ClaudePanel.tsx +301 -582
  26. package/apps/dashboard/components/ClaudePanelInput.tsx +23 -14
  27. package/apps/dashboard/components/ConnectClaudeScreen.tsx +210 -0
  28. package/apps/dashboard/components/CopyableId.tsx +3 -3
  29. package/apps/dashboard/components/DetailReviewActions.tsx +109 -0
  30. package/apps/dashboard/components/DragContext.tsx +75 -65
  31. package/apps/dashboard/components/DraggableCard.tsx +6 -46
  32. package/apps/dashboard/components/DropZone.tsx +2 -2
  33. package/apps/dashboard/components/EditableDetailDescription.tsx +1 -1
  34. package/apps/dashboard/components/EditableTitle.tsx +26 -6
  35. package/apps/dashboard/components/ElapsedTimer.tsx +54 -0
  36. package/apps/dashboard/components/EpicGroup.tsx +329 -0
  37. package/apps/dashboard/components/GateCard.tsx +100 -16
  38. package/apps/dashboard/components/GateChoiceCard.tsx +15 -17
  39. package/apps/dashboard/components/InstallClaudeScreen.tsx +140 -51
  40. package/apps/dashboard/components/JettyLoader.tsx +38 -0
  41. package/apps/dashboard/components/KanbanBoard.tsx +147 -766
  42. package/apps/dashboard/components/KanbanCard.tsx +506 -0
  43. package/apps/dashboard/components/LazyMarkdown.tsx +12 -0
  44. package/apps/dashboard/components/MainNav.tsx +20 -54
  45. package/apps/dashboard/components/MessageBlock.tsx +391 -0
  46. package/apps/dashboard/components/ModeStartCard.tsx +15 -15
  47. package/apps/dashboard/components/OnboardingWelcome.tsx +214 -0
  48. package/apps/dashboard/components/PlaceholderCard.tsx +11 -21
  49. package/apps/dashboard/components/ProjectSwitcher.tsx +36 -8
  50. package/apps/dashboard/components/PrototypeTimeline.tsx +25 -25
  51. package/apps/dashboard/components/RealTimeKanbanWrapper.tsx +265 -301
  52. package/apps/dashboard/components/RealTimeTestsWrapper.tsx +97 -74
  53. package/apps/dashboard/components/ReviewFooter.tsx +141 -0
  54. package/apps/dashboard/components/SessionList.tsx +19 -18
  55. package/apps/dashboard/components/SubscribeContent.tsx +206 -0
  56. package/apps/dashboard/components/TestTree.tsx +15 -14
  57. package/apps/dashboard/components/TipCard.tsx +177 -0
  58. package/apps/dashboard/components/Toast.tsx +5 -5
  59. package/apps/dashboard/components/TypeIcon.tsx +56 -0
  60. package/apps/dashboard/components/UpgradeBanner.tsx +30 -0
  61. package/apps/dashboard/components/WaveCompletionAnimation.tsx +61 -62
  62. package/apps/dashboard/components/WelcomeScreen.tsx +25 -27
  63. package/apps/dashboard/components/WorkItemHeader.tsx +4 -4
  64. package/apps/dashboard/components/WorkItemTree.tsx +9 -28
  65. package/apps/dashboard/components/settings/AccountSection.tsx +169 -0
  66. package/apps/dashboard/components/settings/EnvVarsSection.tsx +54 -79
  67. package/apps/dashboard/components/settings/GeneralSection.tsx +26 -31
  68. package/apps/dashboard/components/settings/SettingsLayout.tsx +4 -4
  69. package/apps/dashboard/components/ui/Button.tsx +104 -0
  70. package/apps/dashboard/components/ui/Input.tsx +78 -0
  71. package/apps/dashboard/contexts/ClaudeSessionContext.tsx +408 -105
  72. package/apps/dashboard/contexts/ConnectionStatusContext.tsx +25 -4
  73. package/apps/dashboard/contexts/UsageContext.tsx +155 -0
  74. package/apps/dashboard/contexts/usageHelpers.js +9 -0
  75. package/apps/dashboard/electron/ipc-handlers.js +281 -88
  76. package/apps/dashboard/electron/main.js +691 -131
  77. package/apps/dashboard/electron/preload.js +25 -4
  78. package/apps/dashboard/electron/session-manager.js +163 -0
  79. package/apps/dashboard/electron-builder.config.js +3 -5
  80. package/apps/dashboard/hooks/useKanbanAnimation.ts +29 -0
  81. package/apps/dashboard/hooks/useKanbanUndo.ts +83 -0
  82. package/apps/dashboard/lib/backlog-parser.ts +50 -0
  83. package/apps/dashboard/lib/claude-process-manager.ts +50 -11
  84. package/apps/dashboard/lib/constants.ts +43 -0
  85. package/apps/dashboard/lib/db-bridge.ts +33 -0
  86. package/apps/dashboard/lib/db.ts +136 -20
  87. package/apps/dashboard/lib/kanban-utils.ts +70 -0
  88. package/apps/dashboard/lib/run-migrations.js +27 -2
  89. package/apps/dashboard/lib/session-state-machine.ts +3 -0
  90. package/apps/dashboard/lib/session-stream-manager.ts +144 -38
  91. package/apps/dashboard/lib/shadows.ts +7 -0
  92. package/apps/dashboard/lib/tests.ts +3 -1
  93. package/apps/dashboard/lib/utils.ts +6 -0
  94. package/apps/dashboard/next.config.js +35 -14
  95. package/apps/dashboard/package.json +6 -3
  96. package/apps/dashboard/public/bug-icon.svg +9 -0
  97. package/apps/dashboard/public/buoy-icon.svg +9 -0
  98. package/apps/dashboard/public/fonts/Satoshi-Variable.woff2 +0 -0
  99. package/apps/dashboard/public/fonts/Satoshi-VariableItalic.woff2 +0 -0
  100. package/apps/dashboard/public/in-flight-seagull.svg +9 -0
  101. package/apps/dashboard/public/jetty-icon-loading-alt.svg +11 -0
  102. package/apps/dashboard/public/jetty-icon-loading.svg +11 -0
  103. package/apps/dashboard/public/jettypod_logo.png +0 -0
  104. package/apps/dashboard/public/pier-icon.svg +14 -0
  105. package/apps/dashboard/public/star-icon.svg +9 -0
  106. package/apps/dashboard/public/wrench-icon.svg +9 -0
  107. package/apps/dashboard/scripts/upload-to-r2.js +89 -0
  108. package/apps/dashboard/scripts/ws-server.js +191 -0
  109. package/apps/dashboard/tsconfig.tsbuildinfo +1 -0
  110. package/apps/update-server/package.json +16 -0
  111. package/apps/update-server/schema.sql +31 -0
  112. package/apps/update-server/src/index.ts +1085 -0
  113. package/apps/update-server/tsconfig.json +16 -0
  114. package/apps/update-server/wrangler.toml +35 -0
  115. package/cucumber.js +9 -3
  116. package/docs/COMMAND_REFERENCE.md +34 -0
  117. package/hooks/post-checkout +32 -75
  118. package/hooks/post-merge +111 -10
  119. package/jest.setup.js +1 -0
  120. package/jettypod.js +54 -116
  121. package/lib/chore-taxonomy.js +33 -10
  122. package/lib/database.js +36 -16
  123. package/lib/db-watcher.js +1 -1
  124. package/lib/git-hooks/pre-commit +1 -1
  125. package/lib/jettypod-backup.js +27 -4
  126. package/lib/migrations/027-plan-at-creation-column.js +33 -0
  127. package/lib/migrations/028-ready-for-review-column.js +27 -0
  128. package/lib/migrations/029-remove-autoincrement.js +307 -0
  129. package/lib/migrations/029-rename-corrupted-to-cleaned.js +149 -0
  130. package/lib/migrations/index.js +47 -4
  131. package/lib/schema.js +13 -6
  132. package/lib/seed-onboarding.js +101 -69
  133. package/lib/update-command/index.js +9 -175
  134. package/lib/work-commands/index.js +129 -16
  135. package/lib/work-tracking/index.js +86 -46
  136. package/lib/worktree-diagnostics.js +16 -16
  137. package/lib/worktree-facade.js +1 -1
  138. package/lib/worktree-manager.js +8 -8
  139. package/lib/worktree-reconciler.js +5 -5
  140. package/package.json +9 -2
  141. package/scripts/ndjson-to-cucumber-json.js +152 -0
  142. package/scripts/postinstall.js +25 -0
  143. package/skills-templates/bug-mode/SKILL.md +39 -28
  144. package/skills-templates/bug-planning/SKILL.md +25 -29
  145. package/skills-templates/chore-mode/SKILL.md +131 -68
  146. package/skills-templates/chore-mode/verification.js +51 -10
  147. package/skills-templates/chore-planning/SKILL.md +47 -18
  148. package/skills-templates/epic-planning/SKILL.md +68 -48
  149. package/skills-templates/external-transition/SKILL.md +47 -47
  150. package/skills-templates/feature-planning/SKILL.md +83 -73
  151. package/skills-templates/production-mode/SKILL.md +49 -49
  152. package/skills-templates/request-routing/SKILL.md +27 -14
  153. package/skills-templates/simple-improvement/SKILL.md +68 -44
  154. package/skills-templates/speed-mode/SKILL.md +209 -128
  155. package/skills-templates/stable-mode/SKILL.md +105 -94
  156. package/templates/bdd-guidance.md +139 -0
  157. package/templates/bdd-scaffolding/wait.js +18 -0
  158. package/templates/bdd-scaffolding/world.js +19 -0
  159. package/.jettypod-backup/work.db +0 -0
  160. package/apps/dashboard/app/access-code/page.tsx +0 -110
  161. package/lib/discovery-checkpoint.js +0 -123
  162. package/skills-templates/project-discovery/SKILL.md +0 -372
@@ -0,0 +1,11 @@
1
+ <svg width="500" height="500" viewBox="0 0 500 500" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_279_7)">
3
+ <circle cx="250" cy="250" r="250" fill="#819D9F"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M377.995 174.218C379.102 175.321 390.228 178.878 402.718 182.118C421.048 186.871 425.639 189.381 426.499 195.125C428.112 205.865 420.195 206.795 392.295 199.141C359.872 190.245 338.599 190.308 318.209 199.358C295.235 209.551 251.802 209.605 229.322 199.471C208.242 189.968 178.459 189.795 154.142 199.038C122.825 210.938 71.7052 207.041 63.7318 192.145C58.7718 182.878 64.5685 181.211 86.1652 185.695C104.932 189.588 138.229 187.895 145.212 182.691C152.052 177.591 176.352 172.208 192.525 172.208C201.502 172.208 220.662 175.958 235.102 180.541C249.542 185.125 266.928 188.875 273.738 188.875C280.548 188.875 296.459 185.125 309.095 180.541C330.889 172.638 372.588 168.808 377.995 174.218ZM317.099 286.988C325.349 289.371 338.662 293.768 346.685 296.765C366.625 304.208 391.082 303.711 407.099 295.541C422.765 287.548 436.562 286.931 439.312 294.098C442.212 301.655 436.889 305.561 411.695 314.371C381.352 324.981 362.175 324.465 331.569 312.208C302.945 300.748 284.615 299.698 265.415 308.421C230.322 324.361 200.112 324.445 167.498 308.688C150.505 300.478 134.435 300.528 107.099 308.875C81.0885 316.818 72.5985 317.171 67.0985 310.541C61.5918 303.905 67.0985 297.271 78.9252 296.291C83.8252 295.888 94.7952 293.088 103.302 290.071C127.308 281.558 158.109 282.811 183.505 293.338C210.685 304.598 219.342 304.468 253.925 292.275C284.895 281.351 294.729 280.531 317.099 286.988ZM248.765 408.195C254.265 408.801 268.022 412.951 279.335 417.418C293.649 423.071 306.462 425.541 321.479 425.541C338.329 425.541 343.509 426.728 345.132 430.965C346.279 433.945 345.505 438.445 343.415 440.965C337.479 448.118 301.899 446.771 280.385 438.578C240.132 423.248 243.315 423.371 206.985 435.745C171.872 447.708 162.099 447.241 162.099 433.605C162.099 428.935 165.489 426.815 175.742 425.065C183.249 423.781 195.229 420.291 202.369 417.308C219.452 410.171 236.422 406.838 248.765 408.195ZM270.432 65.3847C287.462 73.2213 296.835 75.3746 314.242 75.448C336.999 75.5446 343.072 79.2214 336.905 89.178C334.775 92.618 326.602 93.8547 306.382 93.8014C282.682 93.738 276.405 92.438 262.125 84.6347C241.695 73.4713 236.828 73.4047 214.109 83.9814C204.212 88.588 189.212 92.698 180.775 93.1147C167.312 93.7814 165.305 92.9914 164.409 86.6814C163.585 80.9147 165.569 79.0213 174.409 77.1313C180.472 75.8346 194.412 71.158 205.385 66.738C236.599 54.168 245.645 53.978 270.432 65.3847Z" fill="black"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_279_7">
8
+ <rect width="500" height="500" fill="white"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg width="500" height="500" viewBox="0 0 500 500" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_32_14)">
3
+ <circle cx="250" cy="250" r="250" fill="#819D9F"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M124.103 174.218C122.997 175.321 111.87 178.878 99.3799 182.118C81.0499 186.871 76.4599 189.381 75.5999 195.125C73.9865 205.865 81.9032 206.795 109.803 199.141C142.227 190.245 163.5 190.308 183.89 199.358C206.863 209.551 250.297 209.605 272.777 199.471C293.857 189.968 323.64 189.795 347.957 199.038C379.273 210.938 430.393 207.041 438.367 192.145C443.327 182.878 437.53 181.211 415.933 185.695C397.167 189.588 363.87 187.895 356.887 182.691C350.047 177.591 325.747 172.208 309.573 172.208C300.597 172.208 281.437 175.958 266.997 180.541C252.557 185.125 235.17 188.875 228.36 188.875C221.55 188.875 205.64 185.125 193.003 180.541C171.21 172.638 129.51 168.808 124.103 174.218ZM185 286.988C176.75 289.371 163.437 293.768 155.413 296.765C135.473 304.208 111.017 303.711 94.9999 295.541C79.3332 287.548 65.5365 286.931 62.7865 294.098C59.8865 301.655 65.2099 305.561 90.4032 314.371C120.747 324.981 139.923 324.465 170.53 312.208C199.153 300.748 217.483 299.698 236.683 308.421C271.777 324.361 301.987 324.445 334.6 308.688C351.593 300.478 367.663 300.528 395 308.875C421.01 316.818 429.5 317.171 435 310.541C440.507 303.905 435 297.271 423.173 296.291C418.273 295.888 407.303 293.088 398.797 290.071C374.79 281.558 343.99 282.811 318.593 293.338C291.413 304.598 282.757 304.468 248.173 292.275C217.203 281.351 207.37 280.531 185 286.988ZM253.333 408.195C247.833 408.801 234.077 412.951 222.763 417.418C208.45 423.071 195.637 425.541 180.62 425.541C163.77 425.541 158.59 426.728 156.967 430.965C155.82 433.945 156.593 438.445 158.683 440.965C164.62 448.118 200.2 446.771 221.713 438.578C261.967 423.248 258.783 423.371 295.113 435.745C330.227 447.708 340 447.241 340 433.605C340 428.935 336.61 426.815 326.357 425.065C318.85 423.781 306.87 420.291 299.73 417.308C282.647 410.171 265.677 406.838 253.333 408.195ZM231.667 65.3847C214.637 73.2213 205.263 75.3746 187.857 75.448C165.1 75.5446 159.027 79.2214 165.193 89.178C167.323 92.618 175.497 93.8547 195.717 93.8014C219.417 93.738 225.693 92.438 239.973 84.6347C260.403 73.4713 265.27 73.4047 287.99 83.9814C297.887 88.588 312.887 92.698 321.323 93.1147C334.787 93.7814 336.793 92.9914 337.69 86.6814C338.513 80.9147 336.53 79.0213 327.69 77.1313C321.627 75.8346 307.687 71.158 296.713 66.738C265.5 54.168 256.453 53.978 231.667 65.3847Z" fill="black"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_32_14">
8
+ <rect width="500" height="500" fill="white"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>