@shepai/cli 1.34.0 → 1.35.1

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 (65) hide show
  1. package/dist/packages/core/src/domain/factories/index.d.ts +1 -0
  2. package/dist/packages/core/src/domain/factories/index.d.ts.map +1 -1
  3. package/dist/packages/core/src/domain/factories/index.js +1 -0
  4. package/dist/packages/core/src/domain/factories/spec-yaml-parser.d.ts +29 -0
  5. package/dist/packages/core/src/domain/factories/spec-yaml-parser.d.ts.map +1 -0
  6. package/dist/packages/core/src/domain/factories/spec-yaml-parser.js +118 -0
  7. package/dist/packages/core/src/domain/generated/output.d.ts +221 -12
  8. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  9. package/dist/src/presentation/cli/commands/agent/logs.command.d.ts.map +1 -1
  10. package/dist/src/presentation/cli/commands/agent/logs.command.js +9 -124
  11. package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
  12. package/dist/src/presentation/cli/commands/feat/index.js +3 -1
  13. package/dist/src/presentation/cli/commands/feat/logs.command.d.ts +15 -0
  14. package/dist/src/presentation/cli/commands/feat/logs.command.d.ts.map +1 -0
  15. package/dist/src/presentation/cli/commands/feat/logs.command.js +52 -0
  16. package/dist/src/presentation/cli/commands/log-viewer.d.ts +23 -0
  17. package/dist/src/presentation/cli/commands/log-viewer.d.ts.map +1 -0
  18. package/dist/src/presentation/cli/commands/log-viewer.js +135 -0
  19. package/dist/tsconfig.build.tsbuildinfo +1 -1
  20. package/package.json +1 -1
  21. package/web/.next/BUILD_ID +1 -1
  22. package/web/.next/build-manifest.json +2 -2
  23. package/web/.next/cache/.previewinfo +1 -1
  24. package/web/.next/cache/.rscinfo +1 -1
  25. package/web/.next/cache/.tsbuildinfo +1 -1
  26. package/web/.next/cache/config.json +3 -3
  27. package/web/.next/fallback-build-manifest.json +2 -2
  28. package/web/.next/prerender-manifest.json +3 -3
  29. package/web/.next/required-server-files.js +1 -1
  30. package/web/.next/required-server-files.json +1 -1
  31. package/web/.next/server/app/_global-error.html +2 -2
  32. package/web/.next/server/app/_global-error.rsc +1 -1
  33. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  34. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  35. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  36. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  37. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  38. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_12059e3e.js.map +1 -1
  39. package/web/.next/server/chunks/ssr/[root-of-the-server]__f12b60be._.js +1 -1
  40. package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js.map +1 -1
  41. package/web/.next/server/chunks/ssr/src_presentation_web_ed0934e5._.js.map +1 -1
  42. package/web/.next/server/pages/500.html +2 -2
  43. package/web/.next/server/server-reference-manifest.js +1 -1
  44. package/web/.next/server/server-reference-manifest.json +1 -1
  45. package/web/.next/standalone/src/presentation/web/.next/BUILD_ID +1 -1
  46. package/web/.next/standalone/src/presentation/web/.next/build-manifest.json +2 -2
  47. package/web/.next/standalone/src/presentation/web/.next/prerender-manifest.json +3 -3
  48. package/web/.next/standalone/src/presentation/web/.next/required-server-files.json +1 -1
  49. package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.html +2 -2
  50. package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.rsc +1 -1
  51. package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  52. package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  53. package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  54. package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  55. package/web/.next/standalone/src/presentation/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  56. package/web/.next/standalone/src/presentation/web/.next/server/chunks/ssr/[root-of-the-server]__f12b60be._.js +1 -1
  57. package/web/.next/standalone/src/presentation/web/.next/server/pages/500.html +2 -2
  58. package/web/.next/standalone/src/presentation/web/.next/server/server-reference-manifest.js +1 -1
  59. package/web/.next/standalone/src/presentation/web/.next/server/server-reference-manifest.json +1 -1
  60. package/web/.next/standalone/src/presentation/web/server.js +1 -1
  61. package/web/.next/trace +1 -1
  62. package/web/.next/trace-build +1 -1
  63. /package/web/.next/static/{HHW4FOl5T41Xe5-ljK9pc → _6QZh55r5rZlPal4MMGV8}/_buildManifest.js +0 -0
  64. /package/web/.next/static/{HHW4FOl5T41Xe5-ljK9pc → _6QZh55r5rZlPal4MMGV8}/_clientMiddlewareManifest.json +0 -0
  65. /package/web/.next/static/{HHW4FOl5T41Xe5-ljK9pc → _6QZh55r5rZlPal4MMGV8}/_ssgManifest.js +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "telemetry": {
3
- "notifiedAt": "1771512771385",
4
- "anonymousId": "095662645bed1a805d600ef851c86506ac94c5adad2684694be6999c7b1a11aa",
5
- "salt": "48311748f829f3ad3accc6783ab82e70"
3
+ "notifiedAt": "1771520123423",
4
+ "anonymousId": "83ac799bd8e99f9978eb8d6578e26062530bb09a48618e2ce5b79aa6ff0a3264",
5
+ "salt": "8660e6e954e7e342b8e2a6371dabb1ee"
6
6
  }
7
7
  }
@@ -5,8 +5,8 @@
5
5
  "devFiles": [],
6
6
  "polyfillFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/HHW4FOl5T41Xe5-ljK9pc/_ssgManifest.js",
9
- "static/HHW4FOl5T41Xe5-ljK9pc/_buildManifest.js"
8
+ "static/_6QZh55r5rZlPal4MMGV8/_ssgManifest.js",
9
+ "static/_6QZh55r5rZlPal4MMGV8/_buildManifest.js"
10
10
  ],
11
11
  "rootMainFiles": []
12
12
  }
@@ -29,8 +29,8 @@
29
29
  "dynamicRoutes": {},
30
30
  "notFoundRoutes": [],
31
31
  "preview": {
32
- "previewModeId": "58e508c66bf3dd03bb2a83377bb6c1bb",
33
- "previewModeSigningKey": "d339f7bf7575732364cbe3442686bcb314a0bf9340b649c277c6eeea3a02add7",
34
- "previewModeEncryptionKey": "c30df9eaddba5706a0117ec8944b537498e7dbc6a9606e45336d8f3e6cb56773"
32
+ "previewModeId": "8c56da729940816115c1e5b61facceca",
33
+ "previewModeSigningKey": "c1839428a0d39a5f7782122f0754a9759090ab50e9a672d9d9073fad578a18b6",
34
+ "previewModeEncryptionKey": "9e5dd9731d651dbc5745f91fc77a2aaaed58bf8cb3df5a1bbb1fe4216315b29f"
35
35
  }
36
36
  }
@@ -2,7 +2,7 @@ self.__SERVER_FILES_MANIFEST={
2
2
  "version": 1,
3
3
  "config": {
4
4
  "env": {
5
- "NEXT_PUBLIC_SHEP_VERSION": "1.33.1",
5
+ "NEXT_PUBLIC_SHEP_VERSION": "1.35.0",
6
6
  "NEXT_PUBLIC_SHEP_PACKAGE_NAME": "@shepai/cli",
7
7
  "NEXT_PUBLIC_SHEP_DESCRIPTION": "Autonomous AI Native SDLC Platform - Automate the development cycle from idea to deploy"
8
8
  },
@@ -2,7 +2,7 @@
2
2
  "version": 1,
3
3
  "config": {
4
4
  "env": {
5
- "NEXT_PUBLIC_SHEP_VERSION": "1.33.1",
5
+ "NEXT_PUBLIC_SHEP_VERSION": "1.35.0",
6
6
  "NEXT_PUBLIC_SHEP_PACKAGE_NAME": "@shepai/cli",
7
7
  "NEXT_PUBLIC_SHEP_DESCRIPTION": "Autonomous AI Native SDLC Platform - Automate the development cycle from idea to deploy"
8
8
  },
@@ -1,2 +1,2 @@
1
- <!DOCTYPE html><!--HHW4FOl5T41Xe5_ljK9pc--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/df7d29673e0ac11d.js"/><script src="/_next/static/chunks/07f00e2e73d322d2.js" async=""></script><script src="/_next/static/chunks/f3b4460b1496ef52.js" async=""></script><script src="/_next/static/chunks/70993ebedee7eab0.js" async=""></script><script src="/_next/static/chunks/turbopack-a5a88a85e7ac8e8d.js" async=""></script><script src="/_next/static/chunks/ab02eec995295bef.js" async=""></script><script src="/_next/static/chunks/37bc3e283f734dca.js" async=""></script><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
- @media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/df7d29673e0ac11d.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[40799,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"default\"]\n3:I[73006,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"default\"]\n4:I[66658,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[66658,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"ViewportBoundary\"]\n9:I[66658,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"MetadataBoundary\"]\nb:I[42726,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"HHW4FOl5T41Xe5-ljK9pc\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/ab02eec995295bef.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/37bc3e283f734dca.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><!--_6QZh55r5rZlPal4MMGV8--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/df7d29673e0ac11d.js"/><script src="/_next/static/chunks/07f00e2e73d322d2.js" async=""></script><script src="/_next/static/chunks/f3b4460b1496ef52.js" async=""></script><script src="/_next/static/chunks/70993ebedee7eab0.js" async=""></script><script src="/_next/static/chunks/turbopack-a5a88a85e7ac8e8d.js" async=""></script><script src="/_next/static/chunks/ab02eec995295bef.js" async=""></script><script src="/_next/static/chunks/37bc3e283f734dca.js" async=""></script><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
+ @media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/df7d29673e0ac11d.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[40799,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"default\"]\n3:I[73006,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"default\"]\n4:I[66658,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[66658,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"ViewportBoundary\"]\n9:I[66658,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"MetadataBoundary\"]\nb:I[42726,[\"/_next/static/chunks/ab02eec995295bef.js\",\"/_next/static/chunks/37bc3e283f734dca.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"_6QZh55r5rZlPal4MMGV8\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/ab02eec995295bef.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/37bc3e283f734dca.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[]\n"])</script></body></html>
@@ -6,7 +6,7 @@
6
6
  7:I[66658,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"ViewportBoundary"]
7
7
  9:I[66658,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"MetadataBoundary"]
8
8
  b:I[42726,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"default"]
9
- 0:{"P":null,"b":"HHW4FOl5T41Xe5-ljK9pc","c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/ab02eec995295bef.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/37bc3e283f734dca.js","async":true,"nonce":"$undefined"}]],["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],null]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true}
9
+ 0:{"P":null,"b":"_6QZh55r5rZlPal4MMGV8","c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/ab02eec995295bef.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/37bc3e283f734dca.js","async":true,"nonce":"$undefined"}]],["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],null]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true}
10
10
  8:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
11
11
  6:null
12
12
  a:[]
@@ -1,5 +1,5 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[66658,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"OutletBoundary"]
3
3
  3:"$Sreact.suspense"
4
- 0:{"buildId":"HHW4FOl5T41Xe5-ljK9pc","rsc":["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/ab02eec995295bef.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/37bc3e283f734dca.js","async":true}]],["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false}
4
+ 0:{"buildId":"_6QZh55r5rZlPal4MMGV8","rsc":["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/ab02eec995295bef.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/37bc3e283f734dca.js","async":true}]],["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false}
5
5
  4:null
@@ -6,7 +6,7 @@
6
6
  7:I[66658,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"ViewportBoundary"]
7
7
  9:I[66658,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"MetadataBoundary"]
8
8
  b:I[42726,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"default"]
9
- 0:{"P":null,"b":"HHW4FOl5T41Xe5-ljK9pc","c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/ab02eec995295bef.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/37bc3e283f734dca.js","async":true,"nonce":"$undefined"}]],["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],null]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true}
9
+ 0:{"P":null,"b":"_6QZh55r5rZlPal4MMGV8","c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":["$","title",null,{"children":"500: Internal Server Error."}]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"lineHeight":"48px"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","paddingRight":23,"fontSize":24,"fontWeight":500,"verticalAlign":"top"},"children":"500"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"28px"},"children":"Internal Server Error."}]}]]}]}]}]]}],[["$","script","script-0",{"src":"/_next/static/chunks/ab02eec995295bef.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/37bc3e283f734dca.js","async":true,"nonce":"$undefined"}]],["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],null]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true}
10
10
  8:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
11
11
  6:null
12
12
  a:[]
@@ -2,4 +2,4 @@
2
2
  2:I[66658,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"ViewportBoundary"]
3
3
  3:I[66658,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
- 0:{"buildId":"HHW4FOl5T41Xe5-ljK9pc","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[]}]}]}],null]}],"loading":null,"isPartial":false}
5
+ 0:{"buildId":"_6QZh55r5rZlPal4MMGV8","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[]}]}]}],null]}],"loading":null,"isPartial":false}
@@ -1,4 +1,4 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[40799,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"default"]
3
3
  3:I[73006,["/_next/static/chunks/ab02eec995295bef.js","/_next/static/chunks/37bc3e283f734dca.js"],"default"]
4
- 0:{"buildId":"HHW4FOl5T41Xe5-ljK9pc","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false}
4
+ 0:{"buildId":"_6QZh55r5rZlPal4MMGV8","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false}
@@ -1 +1 @@
1
- 0:{"buildId":"HHW4FOl5T41Xe5-ljK9pc","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false},"staleTime":300}
1
+ 0:{"buildId":"_6QZh55r5rZlPal4MMGV8","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false},"staleTime":300}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/presentation/web/app/api/ide/open/route.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/antigravity.launcher.ts","../../../../../../node_modules/.pnpm/next%4016.1.6_%40babel%2Bcore%407.29.0_%40playwright%2Btest%401.58.1_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/dist/esm/build/templates/app-route.js","../../../../../../packages/core/src/infrastructure/services/ide-launchers/cursor.launcher.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/vscode.launcher.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/windsurf.launcher.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/zed.launcher.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/launch-ide.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/ide-launcher.registry.ts","../../../../../../packages/core/src/domain/generated/output.ts"],"sourcesContent":["import { NextResponse } from 'next/server';\nimport { getSettings } from '@shepai/core/infrastructure/services/settings.service';\nimport { launchIde } from '@shepai/core/infrastructure/services/ide-launchers/launch-ide';\nimport { validateToolbarInput } from '../../validate-toolbar-input';\n\nexport async function POST(request: Request) {\n let body: unknown;\n try {\n body = await request.json();\n } catch {\n return NextResponse.json({ error: 'Invalid or missing JSON body' }, { status: 400 });\n }\n\n const validation = validateToolbarInput(body as Record<string, unknown>);\n\n if ('error' in validation) {\n return NextResponse.json({ error: validation.error }, { status: validation.status });\n }\n\n const { repositoryPath, branch } = validation;\n\n const settings = getSettings();\n const editor = settings.environment.defaultEditor;\n\n const result = await launchIde({\n editorId: editor,\n repositoryPath,\n branch,\n checkAvailability: true,\n });\n\n if (!result.ok) {\n const status = result.code === 'launch_failed' ? 500 : 404;\n return NextResponse.json({ error: result.message }, { status });\n }\n\n return NextResponse.json({\n success: true,\n editor: result.editorName,\n path: result.worktreePath,\n });\n}\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class AntigravityLauncher implements IdeLauncher {\n readonly name = 'Antigravity';\n readonly editorId = EditorType.Antigravity;\n readonly binary = 'antigravity';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","import { AppRouteRouteModule } from \"next/dist/esm/server/route-modules/app-route/module.compiled\";\nimport { RouteKind } from \"next/dist/esm/server/route-kind\";\nimport { patchFetch as _patchFetch } from \"next/dist/esm/server/lib/patch-fetch\";\nimport { addRequestMeta, getRequestMeta } from \"next/dist/esm/server/request-meta\";\nimport { getTracer, SpanKind } from \"next/dist/esm/server/lib/trace/tracer\";\nimport { setManifestsSingleton } from \"next/dist/esm/server/app-render/manifests-singleton\";\nimport { normalizeAppPath } from \"next/dist/esm/shared/lib/router/utils/app-paths\";\nimport { NodeNextRequest, NodeNextResponse } from \"next/dist/esm/server/base-http/node\";\nimport { NextRequestAdapter, signalFromNodeResponse } from \"next/dist/esm/server/web/spec-extension/adapters/next-request\";\nimport { BaseServerSpan } from \"next/dist/esm/server/lib/trace/constants\";\nimport { getRevalidateReason } from \"next/dist/esm/server/instrumentation/utils\";\nimport { sendResponse } from \"next/dist/esm/server/send-response\";\nimport { fromNodeOutgoingHttpHeaders, toNodeOutgoingHttpHeaders } from \"next/dist/esm/server/web/utils\";\nimport { getCacheControlHeader } from \"next/dist/esm/server/lib/cache-control\";\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from \"next/dist/esm/lib/constants\";\nimport { NoFallbackError } from \"next/dist/esm/shared/lib/no-fallback-error.external\";\nimport { CachedRouteKind } from \"next/dist/esm/server/response-cache\";\nimport * as userland from \"INNER_APP_ROUTE\";\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\nconst nextConfigOutput = \"standalone\"\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: \"/api/ide/open/route\",\n pathname: \"/api/ide/open\",\n filename: \"route\",\n bundlePath: \"\"\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: \"[project]/src/presentation/web/app/api/ide/open/route.ts\",\n nextConfigOutput,\n userland\n});\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule;\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage\n });\n}\nexport { routeModule, workAsyncStorage, workUnitAsyncStorage, serverHooks, patchFetch, };\nexport async function handler(req, res, ctx) {\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());\n }\n let srcPage = \"/api/ide/open/route\";\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/';\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/';\n }\n const multiZoneDraftMode = process.env.__NEXT_MULTI_ZONE_DRAFT_MODE;\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode\n });\n if (!prepareResult) {\n res.statusCode = 400;\n res.end('Bad Request');\n ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());\n return null;\n }\n const { buildId, params, nextConfig, parsedUrl, isDraftMode, prerenderManifest, routerServerContext, isOnDemandRevalidate, revalidateOnlyGenerated, resolvedPathname, clientReferenceManifest, serverActionsManifest } = prepareResult;\n const normalizedSrcPage = normalizeAppPath(srcPage);\n let isIsr = Boolean(prerenderManifest.dynamicRoutes[normalizedSrcPage] || prerenderManifest.routes[resolvedPathname]);\n const render404 = async ()=>{\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext == null ? void 0 : routerServerContext.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false);\n } else {\n res.end('This page could not be found');\n }\n return null;\n };\n if (isIsr && !isDraftMode) {\n const isPrerendered = Boolean(prerenderManifest.routes[resolvedPathname]);\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage];\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.experimental.adapterPath) {\n return await render404();\n }\n throw new NoFallbackError();\n }\n }\n }\n let cacheKey = null;\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname;\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey;\n }\n const supportsDynamicResponse = // If we're in development, we always support dynamic HTML\n routeModule.isDev === true || // If this is not SSG or does not have static paths, then it supports\n // dynamic HTML.\n !isIsr;\n // This is a revalidation request if the request is for a static\n // page and it is not being resumed from a postponed render and\n // it is not a dynamic RSC request then it is a revalidation\n // request.\n const isStaticGeneration = isIsr && !supportsDynamicResponse;\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest\n });\n }\n const method = req.method || 'GET';\n const tracer = getTracer();\n const activeSpan = tracer.getActiveScopeSpan();\n const context = {\n params,\n prerenderManifest,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts)\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n supportsDynamicResponse,\n incrementalCache: getRequestMeta(req, 'incrementalCache'),\n cacheLifeProfiles: nextConfig.cacheLife,\n waitUntil: ctx.waitUntil,\n onClose: (cb)=>{\n res.on('close', cb);\n },\n onAfterTaskError: undefined,\n onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext)\n },\n sharedContext: {\n buildId\n }\n };\n const nodeNextReq = new NodeNextRequest(req);\n const nodeNextRes = new NodeNextResponse(res);\n const nextReq = NextRequestAdapter.fromNodeNextRequest(nodeNextReq, signalFromNodeResponse(res));\n try {\n const invokeRouteModule = async (span)=>{\n return routeModule.handle(nextReq, context).finally(()=>{\n if (!span) return;\n span.setAttributes({\n 'http.status_code': res.statusCode,\n 'next.rsc': false\n });\n const rootSpanAttributes = tracer.getRootSpanAttributes();\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return;\n }\n if (rootSpanAttributes.get('next.span_type') !== BaseServerSpan.handleRequest) {\n console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);\n return;\n }\n const route = rootSpanAttributes.get('next.route');\n if (route) {\n const name = `${method} ${route}`;\n span.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name\n });\n span.updateName(name);\n } else {\n span.updateName(`${method} ${srcPage}`);\n }\n });\n };\n const isMinimalMode = Boolean(process.env.MINIMAL_MODE || getRequestMeta(req, 'minimalMode'));\n const handleResponse = async (currentSpan)=>{\n var _cacheEntry_value;\n const responseGenerator = async ({ previousCacheEntry })=>{\n try {\n if (!isMinimalMode && isOnDemandRevalidate && revalidateOnlyGenerated && !previousCacheEntry) {\n res.statusCode = 404;\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED');\n res.end('This page could not be found');\n return null;\n }\n const response = await invokeRouteModule(currentSpan);\n req.fetchMetrics = context.renderOpts.fetchMetrics;\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil;\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil);\n pendingWaitUntil = undefined;\n }\n }\n const cacheTags = context.renderOpts.collectedTags;\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob();\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers);\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags;\n }\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type;\n }\n const revalidate = typeof context.renderOpts.collectedRevalidate === 'undefined' || context.renderOpts.collectedRevalidate >= INFINITE_CACHE ? false : context.renderOpts.collectedRevalidate;\n const expire = typeof context.renderOpts.collectedExpire === 'undefined' || context.renderOpts.collectedExpire >= INFINITE_CACHE ? undefined : context.renderOpts.collectedExpire;\n // Create the cache entry for the response.\n const cacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers\n },\n cacheControl: {\n revalidate,\n expire\n }\n };\n return cacheEntry;\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, context.renderOpts.pendingWaitUntil);\n return null;\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n throw err;\n }\n };\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode\n });\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return null;\n }\n if ((cacheEntry == null ? void 0 : (_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) !== CachedRouteKind.APP_ROUTE) {\n var _cacheEntry_value1;\n throw Object.defineProperty(new Error(`Invariant: app-route received invalid cache entry ${cacheEntry == null ? void 0 : (_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E701\",\n enumerable: false,\n configurable: true\n });\n }\n if (!isMinimalMode) {\n res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');\n }\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');\n }\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers);\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER);\n }\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (cacheEntry.cacheControl && !res.getHeader('Cache-Control') && !headers.get('Cache-Control')) {\n headers.set('Cache-Control', getCacheControlHeader(cacheEntry.cacheControl));\n }\n await sendResponse(nodeNextReq, nodeNextRes, // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200\n }));\n return null;\n };\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (activeSpan) {\n await handleResponse(activeSpan);\n } else {\n await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(BaseServerSpan.handleRequest, {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url\n }\n }, handleResponse));\n }\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n // rethrow so that we can handle serving error page\n // If this is during static generation, throw the error again.\n if (isIsr) throw err;\n // Otherwise, send a 500 response.\n await sendResponse(nodeNextReq, nodeNextRes, new Response(null, {\n status: 500\n }));\n return null;\n }\n}\n\n//# sourceMappingURL=app-route.js.map\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class CursorLauncher implements IdeLauncher {\n readonly name = 'Cursor';\n readonly editorId = EditorType.Cursor;\n readonly binary = 'cursor';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class VsCodeLauncher implements IdeLauncher {\n readonly name = 'VS Code';\n readonly editorId = EditorType.VsCode;\n readonly binary = 'code';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class WindsurfLauncher implements IdeLauncher {\n readonly name = 'Windsurf';\n readonly editorId = EditorType.Windsurf;\n readonly binary = 'windsurf';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class ZedLauncher implements IdeLauncher {\n readonly name = 'Zed';\n readonly editorId = EditorType.Zed;\n readonly binary = 'zed';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","/**\n * Shared IDE launch logic used by both CLI and Web presentation layers.\n *\n * Returns a discriminated union so callers can map errors to their own format\n * (CLI messages vs HTTP status codes).\n */\n\nimport type { EditorType } from '../../../domain/generated/output';\nimport { createLauncherRegistry } from './ide-launcher.registry';\nimport { computeWorktreePath } from './compute-worktree-path';\n\nexport interface LaunchIdeInput {\n /** Which editor to launch. */\n editorId: EditorType;\n /** Absolute path to the repository root. */\n repositoryPath: string;\n /** Git branch name. When omitted, repositoryPath is used directly. */\n branch?: string;\n /** Whether to verify binary availability before launching. Default: false. */\n checkAvailability?: boolean;\n}\n\nexport interface LaunchIdeSuccess {\n ok: true;\n editorName: string;\n worktreePath: string;\n}\n\nexport interface LaunchIdeFailed {\n ok: false;\n code: 'unknown_editor' | 'editor_unavailable' | 'launch_failed';\n message: string;\n}\n\nexport type LaunchIdeResult = LaunchIdeSuccess | LaunchIdeFailed;\n\nexport async function launchIde(input: LaunchIdeInput): Promise<LaunchIdeResult> {\n const registry = createLauncherRegistry();\n const launcher = registry.get(input.editorId);\n\n if (!launcher) {\n return {\n ok: false,\n code: 'unknown_editor',\n message: `No launcher found for editor: ${input.editorId}. Supported: ${[...registry.keys()].join(', ')}`,\n };\n }\n\n if (input.checkAvailability) {\n const available = await launcher.checkAvailable();\n if (!available) {\n return {\n ok: false,\n code: 'editor_unavailable',\n message: `${launcher.name} is not available — ensure \"${launcher.binary}\" is installed and on your PATH`,\n };\n }\n }\n\n try {\n const worktreePath = input.branch\n ? computeWorktreePath(input.repositoryPath, input.branch)\n : input.repositoryPath;\n await launcher.launch(worktreePath);\n return { ok: true, editorName: launcher.name, worktreePath };\n } catch (error) {\n return {\n ok: false,\n code: 'launch_failed',\n message: error instanceof Error ? error.message : 'Failed to launch IDE',\n };\n }\n}\n","import type { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\nimport { AntigravityLauncher } from './antigravity.launcher';\nimport { CursorLauncher } from './cursor.launcher';\nimport { VsCodeLauncher } from './vscode.launcher';\nimport { WindsurfLauncher } from './windsurf.launcher';\nimport { ZedLauncher } from './zed.launcher';\n\n/**\n * Create a registry of all supported IDE launchers, keyed by EditorType.\n *\n * @returns A Map from EditorType to its IdeLauncher instance.\n */\nexport function createLauncherRegistry(): Map<EditorType, IdeLauncher> {\n const launchers: IdeLauncher[] = [\n new VsCodeLauncher(),\n new CursorLauncher(),\n new WindsurfLauncher(),\n new ZedLauncher(),\n new AntigravityLauncher(),\n ];\n\n const registry = new Map<EditorType, IdeLauncher>();\n for (const launcher of launchers) {\n registry.set(launcher.editorId, launcher);\n }\n return registry;\n}\n","export type UUID = string;\n\n/**\n * Base model providing identity and timestamp fields for all domain entities\n */\nexport type BaseEntity = {\n /**\n * Unique identifier for this entity (UUID v4 format)\n */\n id: UUID;\n /**\n * Timestamp when this entity was created (read-only, set by system)\n */\n createdAt: any;\n /**\n * Timestamp when this entity was last updated (read-only, set by system)\n */\n updatedAt: any;\n};\n\n/**\n * Entity that supports soft deletion with a deletedAt timestamp\n */\nexport type SoftDeletableEntity = BaseEntity & {\n /**\n * Timestamp when this entity was soft-deleted (null if not deleted)\n */\n deletedAt?: any;\n};\n\n/**\n * Entity with audit trail tracking who created and modified it\n */\nexport type AuditableEntity = BaseEntity & {\n /**\n * UUID of the user who created this entity (null for system-created)\n */\n createdBy?: UUID;\n /**\n * UUID of the user who last updated this entity (null for system-updated)\n */\n updatedBy?: UUID;\n};\n\n/**\n * Request model for conversational AI interactions\n */\nexport type AskRequest = {\n /**\n * The natural language query to be processed by the AI agent\n */\n query: string;\n};\n\n/**\n * Response model for conversational AI interactions\n */\nexport type AskResponse = {\n /**\n * The AI-generated response content (typically Markdown-formatted)\n */\n content: string;\n /**\n * Whether the operation completed successfully\n */\n success: boolean;\n};\n\n/**\n * Acceptance criterion for validating completion of an action item\n */\nexport type AcceptanceCriteria = BaseEntity & {\n /**\n * Description of what must be true for this criterion to be satisfied\n */\n description: string;\n /**\n * Whether this criterion has been verified as complete\n */\n verified: boolean;\n};\n\n/**\n * Granular, atomic step within a Task representing a single unit of work\n */\nexport type ActionItem = BaseEntity & {\n /**\n * Short name describing the action (verb-noun pattern recommended)\n */\n name: string;\n /**\n * Detailed description of the work to be performed\n */\n description: string;\n /**\n * Git branch name where this action item's work is performed\n */\n branch: string;\n /**\n * Action items that must complete before this one can start\n */\n dependsOn: ActionItem[];\n /**\n * Acceptance criteria for verifying completion of this action item\n */\n acceptanceCriteria: AcceptanceCriteria[];\n};\nexport enum ArtifactCategory {\n PRD = 'PRD',\n API = 'API',\n Design = 'Design',\n Other = 'Other',\n}\nexport enum ArtifactFormat {\n Markdown = 'md',\n Text = 'txt',\n Yaml = 'yaml',\n Other = 'Other',\n}\nexport enum ArtifactState {\n Todo = 'Todo',\n Elaborating = 'Elaborating',\n Done = 'Done',\n}\n\n/**\n * Generated document or file attached to a Feature\n */\nexport type Artifact = BaseEntity & {\n /**\n * Human-readable name identifying this artifact\n */\n name: string;\n /**\n * Type description providing additional context (e.g., 'documentation', 'api-spec')\n */\n type: string;\n /**\n * Category classification (PRD, API, Design, or Other)\n */\n category: ArtifactCategory;\n /**\n * File format for the artifact content\n */\n format: ArtifactFormat;\n /**\n * Brief summary of the artifact's content and purpose\n */\n summary: string;\n /**\n * Relative file path where the artifact is stored\n */\n path: string;\n /**\n * Current state in the artifact generation lifecycle\n */\n state: ArtifactState;\n};\nexport enum MessageRole {\n Assistant = 'assistant',\n User = 'user',\n}\n\n/**\n * A message in a conversation thread between user and AI assistant\n */\nexport type Message = BaseEntity & {\n /**\n * Role of the message sender (User or Assistant)\n */\n role: MessageRole;\n /**\n * The text content of the message\n */\n content: string;\n /**\n * Optional choices presented to the user for selection\n */\n options?: string[];\n /**\n * Optional user's freeform text answer\n */\n answer?: string;\n /**\n * Optional index of the selected option from the options array (0-based)\n */\n selectedOption?: number;\n};\nexport enum RequirementType {\n Functional = 'Functional',\n NonFunctional = 'NonFunctional',\n}\nexport enum ResearchState {\n NotStarted = 'NotStarted',\n Running = 'Running',\n Finished = 'Finished',\n}\n\n/**\n * A research topic exploration for gathering technical information\n */\nexport type Research = BaseEntity & {\n /**\n * The topic or subject being researched\n */\n topic: string;\n /**\n * Current state of the research activity (NotStarted, Running, Finished)\n */\n state: ResearchState;\n /**\n * Summary of research findings and recommendations\n */\n summary: string;\n /**\n * Artifacts produced during the research activity\n */\n artifacts: Artifact[];\n};\n\n/**\n * A user or inferred requirement attached to a feature\n */\nexport type Requirement = BaseEntity & {\n /**\n * URL-friendly short identifier for the requirement\n */\n slug: string;\n /**\n * The original user query that generated this requirement\n */\n userQuery: string;\n /**\n * Classification type of the requirement (Functional or NonFunctional)\n */\n type: RequirementType;\n /**\n * Research activities conducted to clarify or validate this requirement\n */\n researches: Research[];\n};\n\n/**\n * AI model configuration for different SDLC agents\n */\nexport type ModelConfiguration = {\n /**\n * Model for codebase analysis agent\n */\n analyze: string;\n /**\n * Model for requirements gathering agent\n */\n requirements: string;\n /**\n * Model for planning agent\n */\n plan: string;\n /**\n * Model for implementation agent\n */\n implement: string;\n};\n\n/**\n * User profile information\n */\nexport type UserProfile = {\n /**\n * User's display name (optional)\n */\n name?: string;\n /**\n * User's email address (optional)\n */\n email?: string;\n /**\n * GitHub username (optional, for PR attribution)\n */\n githubUsername?: string;\n};\nexport enum EditorType {\n VsCode = 'vscode',\n Cursor = 'cursor',\n Windsurf = 'windsurf',\n Zed = 'zed',\n Antigravity = 'antigravity',\n}\n\n/**\n * Environment and tooling preferences\n */\nexport type EnvironmentConfig = {\n /**\n * Preferred code editor\n */\n defaultEditor: EditorType;\n /**\n * Preferred shell\n */\n shellPreference: string;\n};\n\n/**\n * System configuration\n */\nexport type SystemConfig = {\n /**\n * CLI auto-update preference\n */\n autoUpdate: boolean;\n /**\n * Log level for CLI output\n */\n logLevel: string;\n};\n\n/**\n * Global workflow configuration defaults\n */\nexport type WorkflowConfig = {\n /**\n * Create PR on implementation complete (default: false)\n */\n openPrOnImplementationComplete: boolean;\n /**\n * Auto-merge on implementation complete (default: false)\n */\n autoMergeOnImplementationComplete: boolean;\n};\nexport enum AgentType {\n ClaudeCode = 'claude-code',\n GeminiCli = 'gemini-cli',\n Aider = 'aider',\n Continue = 'continue',\n Cursor = 'cursor',\n}\nexport enum AgentAuthMethod {\n Session = 'session',\n Token = 'token',\n}\n\n/**\n * AI coding agent configuration\n */\nexport type AgentConfig = {\n /**\n * Selected AI coding agent\n */\n type: AgentType;\n /**\n * Authentication method for the agent\n */\n authMethod: AgentAuthMethod;\n /**\n * API token for token-based auth (optional)\n */\n token?: string;\n};\n\n/**\n * Notification channel enable/disable configuration\n */\nexport type NotificationChannelConfig = {\n /**\n * Whether this notification channel is enabled\n */\n enabled: boolean;\n};\n\n/**\n * Notification event type filters\n */\nexport type NotificationEventConfig = {\n /**\n * Notify when agent starts running\n */\n agentStarted: boolean;\n /**\n * Notify when agent completes a workflow phase\n */\n phaseCompleted: boolean;\n /**\n * Notify when agent is waiting for human approval\n */\n waitingApproval: boolean;\n /**\n * Notify when agent completes successfully\n */\n agentCompleted: boolean;\n /**\n * Notify when agent execution fails\n */\n agentFailed: boolean;\n};\n\n/**\n * Notification preferences for agent lifecycle events\n */\nexport type NotificationPreferences = {\n /**\n * In-app toast notification channel (Sonner)\n */\n inApp: NotificationChannelConfig;\n /**\n * Browser push notification channel (Web Notifications API)\n */\n browser: NotificationChannelConfig;\n /**\n * Desktop OS notification channel (node-notifier)\n */\n desktop: NotificationChannelConfig;\n /**\n * Which event types trigger notifications\n */\n events: NotificationEventConfig;\n};\n\n/**\n * Global Shep platform settings (singleton)\n */\nexport type Settings = BaseEntity & {\n /**\n * AI model configuration for different agents\n */\n models: ModelConfiguration;\n /**\n * User profile information\n */\n user: UserProfile;\n /**\n * Environment and tooling preferences\n */\n environment: EnvironmentConfig;\n /**\n * System-level parameters\n */\n system: SystemConfig;\n /**\n * AI coding agent selection and authentication\n */\n agent: AgentConfig;\n /**\n * Notification preferences for agent lifecycle events\n */\n notifications: NotificationPreferences;\n /**\n * Global workflow configuration defaults\n */\n workflow: WorkflowConfig;\n};\nexport enum TaskState {\n Todo = 'Todo',\n WIP = 'Work in Progress',\n Done = 'Done',\n Review = 'Review',\n}\n\n/**\n * A discrete unit of work within an implementation plan\n */\nexport type Task = BaseEntity & {\n /**\n * Optional human-readable title for the task\n */\n title?: string;\n /**\n * Optional detailed description of what the task entails\n */\n description?: string;\n /**\n * Tasks that must be completed before this task can begin\n */\n dependsOn: Task[];\n /**\n * Granular action items that comprise this task\n */\n actionItems: ActionItem[];\n /**\n * The base branch from which this task's working branch was created\n */\n baseBranch: string;\n /**\n * Current state of task execution (Todo, WIP, Review, Done)\n */\n state: TaskState;\n /**\n * Git branch where work for this task is performed\n */\n branch: string;\n};\n\n/**\n * A significant event in the feature's timeline tracking user interactions and milestones\n */\nexport type TimelineEvent = BaseEntity & {\n /**\n * The user query or action that triggered this timeline event\n */\n userQuery: string;\n /**\n * Timestamp when this event occurred (read-only, set by system)\n */\n timestamp: any;\n};\nexport enum PlanState {\n Requirements = 'Requirements',\n ClarificationRequired = 'ClarificationRequired',\n Ready = 'Ready',\n}\n\n/**\n * Individual task representation within a Gantt chart visualization\n */\nexport type GanttTask = {\n /**\n * Unique identifier for the Gantt task\n */\n id: UUID;\n /**\n * Display name of the task shown in the Gantt chart\n */\n name: string;\n /**\n * Scheduled start time for the task\n */\n start: any;\n /**\n * Scheduled end time for the task\n */\n end: any;\n /**\n * IDs of tasks that this task depends on (must complete before this task can start)\n */\n dependencies: UUID[];\n /**\n * Completion progress as a fraction (0.0 = not started, 1.0 = complete)\n */\n progress: number;\n};\n\n/**\n * Container for Gantt chart visualization data including tasks and time bounds\n */\nexport type GanttViewData = {\n /**\n * Collection of tasks to display in the Gantt chart\n */\n tasks: GanttTask[];\n /**\n * Start date of the overall work plan (left boundary of the chart)\n */\n startDate: any;\n /**\n * End date of the overall work plan (right boundary of the chart)\n */\n endDate: any;\n};\n\n/**\n * Implementation plan for a feature containing tasks, artifacts, and requirements\n */\nexport type Plan = BaseEntity & {\n /**\n * High-level overview describing the implementation approach\n */\n overview: string;\n /**\n * User and inferred requirements that this plan addresses\n */\n requirements: Requirement[];\n /**\n * Documents and artifacts to be produced as part of this plan\n */\n artifacts: Artifact[];\n /**\n * Work items (tasks) that comprise this implementation plan\n */\n tasks: Task[];\n /**\n * Current state of the plan execution lifecycle\n */\n state: PlanState;\n /**\n * Optional Gantt chart visualization data for work scheduling\n */\n workPlan?: GanttViewData;\n};\nexport enum SdlcLifecycle {\n Started = 'Started',\n Analyze = 'Analyze',\n Requirements = 'Requirements',\n Research = 'Research',\n Planning = 'Planning',\n Implementation = 'Implementation',\n Review = 'Review',\n Maintain = 'Maintain',\n}\n\n/**\n * Configuration for human-in-the-loop approval gates\n */\nexport type ApprovalGates = {\n /**\n * Skip human review after requirements phase\n */\n allowPrd: boolean;\n /**\n * Skip human review after plan phase\n */\n allowPlan: boolean;\n /**\n * Skip human review after merge phase\n */\n allowMerge: boolean;\n};\nexport enum PrStatus {\n Open = 'Open',\n Merged = 'Merged',\n Closed = 'Closed',\n}\nexport enum CiStatus {\n Pending = 'Pending',\n Success = 'Success',\n Failure = 'Failure',\n}\n\n/**\n * Pull request tracking data for a feature\n */\nexport type PullRequest = {\n /**\n * GitHub PR URL\n */\n url: string;\n /**\n * GitHub PR number\n */\n number: number;\n /**\n * Current PR status\n */\n status: PrStatus;\n /**\n * Final commit SHA after push\n */\n commitHash?: string;\n /**\n * CI pipeline status\n */\n ciStatus?: CiStatus;\n};\n\n/**\n * Central entity tracking a piece of work through the SDLC lifecycle (Aggregate Root)\n */\nexport type Feature = BaseEntity & {\n /**\n * Human-readable name identifying this feature\n */\n name: string;\n /**\n * The exact user input that initiated this feature, preserved verbatim\n */\n userQuery: string;\n /**\n * URL-friendly identifier derived from name (unique within repository)\n */\n slug: string;\n /**\n * Detailed description explaining the feature's purpose and scope\n */\n description: string;\n /**\n * Absolute file system path to the repository\n */\n repositoryPath: string;\n /**\n * Git branch name where this feature's work is performed\n */\n branch: string;\n /**\n * Current stage in the SDLC lifecycle\n */\n lifecycle: SdlcLifecycle;\n /**\n * Conversation history with the AI assistant\n */\n messages: Message[];\n /**\n * Implementation plan containing tasks, artifacts, and requirements (optional)\n */\n plan?: Plan;\n /**\n * Generated documents and artifacts attached to this feature\n */\n relatedArtifacts: Artifact[];\n /**\n * Associated agent run ID for process tracking (optional)\n */\n agentRunId?: string;\n /**\n * Absolute path to the feature spec directory inside the worktree\n */\n specPath?: string;\n /**\n * Push branch to remote after implementation (default: false)\n */\n push: boolean;\n /**\n * Create PR after implementation (default: false)\n */\n openPr: boolean;\n /**\n * Approval gates configuration (embedded value object)\n */\n approvalGates: ApprovalGates;\n /**\n * Absolute path to the git worktree for this feature\n */\n worktreePath?: string;\n /**\n * Pull request data (null until PR created)\n */\n pr?: PullRequest;\n};\n\n/**\n * Open question that may need resolution before implementation\n */\nexport type OpenQuestion = {\n /**\n * The question text that needs to be answered\n */\n question: string;\n /**\n * Whether this question has been resolved (false = blocking)\n */\n resolved: boolean;\n /**\n * The answer or resolution to this question (present if resolved)\n */\n answer?: string;\n};\n\n/**\n * Base entity for spec artifacts with common metadata fields\n */\nexport type SpecArtifactBase = BaseEntity & {\n /**\n * Artifact title / feature name\n */\n name: string;\n /**\n * Short description of the artifact's purpose\n */\n summary: string;\n /**\n * Raw Markdown body containing the human-written spec content\n */\n content: string;\n /**\n * Key technologies mentioned or evaluated in this artifact\n */\n technologies: string[];\n /**\n * References to other spec IDs (e.g., '008-agent-configuration')\n */\n relatedFeatures: string[];\n /**\n * URLs to external documentation, references, or comparisons\n */\n relatedLinks: string[];\n /**\n * Structured open questions for validation gate checks\n */\n openQuestions: OpenQuestion[];\n};\n\n/**\n * Technology or approach decision with rationale\n */\nexport type TechDecision = {\n /**\n * Title or name of the decision being made\n */\n title: string;\n /**\n * The chosen technology, library, or approach\n */\n chosen: string;\n /**\n * Alternative options that were considered but rejected\n */\n rejected: string[];\n /**\n * Rationale explaining why the chosen option was selected\n */\n rationale: string;\n};\n\n/**\n * Implementation phase grouping related tasks\n */\nexport type PlanPhase = {\n /**\n * Unique identifier for this phase (e.g., 'phase-1')\n */\n id: string;\n /**\n * Display name of the phase\n */\n name: string;\n /**\n * Whether tasks in this phase can be executed in parallel\n */\n parallel: boolean;\n /**\n * IDs of SpecTasks that belong to this phase\n */\n taskIds: string[];\n};\n\n/**\n * Test-Driven Development cycle phases for a task\n */\nexport type TddCycle = {\n /**\n * RED phase: tests to write FIRST (before implementation)\n */\n red: string[];\n /**\n * GREEN phase: minimal implementation to pass tests\n */\n green: string[];\n /**\n * REFACTOR phase: code improvements while keeping tests green\n */\n refactor: string[];\n};\n\n/**\n * Task definition within a spec's task breakdown\n */\nexport type SpecTask = {\n /**\n * Unique identifier for this task (e.g., 'task-1')\n */\n id: string;\n /**\n * Task title or name\n */\n title: string;\n /**\n * Detailed description of what this task accomplishes\n */\n description: string;\n /**\n * Current state of the task\n */\n state: TaskState;\n /**\n * IDs of other SpecTasks that must complete before this task starts\n */\n dependencies: string[];\n /**\n * List of acceptance criteria that define task completion\n */\n acceptanceCriteria: string[];\n /**\n * TDD cycle definition for this task (if applicable)\n */\n tdd?: TddCycle;\n /**\n * Estimated effort (e.g., '2 hours', '1 day')\n */\n estimatedEffort: string;\n};\n\n/**\n * Feature specification artifact defining requirements and scope\n */\nexport type FeatureSpec = SpecArtifactBase & {\n /**\n * Spec number (e.g., 11 for spec 011)\n */\n number: number;\n /**\n * Git branch name for this feature (e.g., 'feat/011-feature-name')\n */\n branch: string;\n /**\n * One-line description of the feature\n */\n oneLiner: string;\n /**\n * Current phase in the SDLC lifecycle\n */\n phase: SdlcLifecycle;\n /**\n * Size estimate: XS, S, M, L, or XL\n */\n sizeEstimate: string;\n};\n\n/**\n * Research artifact documenting technical analysis and decisions\n */\nexport type ResearchSpec = SpecArtifactBase & {\n /**\n * Structured technology decisions with rationale\n */\n decisions: TechDecision[];\n};\n\n/**\n * Implementation plan artifact defining strategy and file changes\n */\nexport type PlanSpec = SpecArtifactBase & {\n /**\n * Structured implementation phases with task groupings\n */\n phases: PlanPhase[];\n /**\n * New files planned to be created\n */\n filesToCreate: string[];\n /**\n * Existing files planned to be modified\n */\n filesToModify: string[];\n};\n\n/**\n * Task breakdown artifact defining implementation tasks\n */\nexport type TasksSpec = SpecArtifactBase & {\n /**\n * Structured task list with acceptance criteria and TDD phases\n */\n tasks: SpecTask[];\n /**\n * Overall effort estimate for all tasks combined\n */\n totalEstimate: string;\n};\nexport enum ToolType {\n VsCode = 'vscode',\n Cursor = 'cursor',\n Windsurf = 'windsurf',\n Zed = 'zed',\n Antigravity = 'antigravity',\n CursorCli = 'cursor-cli',\n ClaudeCode = 'claude-code',\n}\n\n/**\n * IDE or CLI tool entity with installation tracking\n */\nexport type Tool = BaseEntity & {\n /**\n * Display name of the tool\n */\n toolName: string;\n /**\n * Tool type classification\n */\n type: ToolType;\n /**\n * Installed version number\n */\n installedVersion?: string;\n /**\n * Tool installation timestamp\n */\n installedAt?: any;\n};\nexport enum NotificationEventType {\n AgentStarted = 'agent_started',\n PhaseCompleted = 'phase_completed',\n WaitingApproval = 'waiting_approval',\n AgentCompleted = 'agent_completed',\n AgentFailed = 'agent_failed',\n}\nexport enum NotificationSeverity {\n Info = 'info',\n Warning = 'warning',\n Success = 'success',\n Error = 'error',\n}\n\n/**\n * Notification event emitted for agent lifecycle transitions\n */\nexport type NotificationEvent = {\n /**\n * Type of lifecycle event\n */\n eventType: NotificationEventType;\n /**\n * ID of the agent run that triggered this event\n */\n agentRunId: string;\n /**\n * Human-readable feature name\n */\n featureName: string;\n /**\n * Phase name (only for phaseCompleted events)\n */\n phaseName?: string;\n /**\n * Human-readable event description\n */\n message: string;\n /**\n * Display severity for notification rendering\n */\n severity: NotificationSeverity;\n /**\n * When the event occurred\n */\n timestamp: any;\n};\n\n/**\n * Single installation suggestion for a tool\n */\nexport type InstallationSuggestion = {\n /**\n * Package manager or installation method\n */\n packageManager: string;\n /**\n * Installation command\n */\n command: string;\n /**\n * Official documentation URL\n */\n documentationUrl: string;\n /**\n * Additional notes for installation\n */\n notes?: string;\n};\n\n/**\n * Installation status and suggestions for a tool\n */\nexport type ToolInstallationStatus = {\n /**\n * Current installation status\n */\n status: 'available' | 'missing' | 'error';\n /**\n * Tool name\n */\n toolName: string;\n /**\n * Error message if status is error\n */\n errorMessage?: string;\n /**\n * Installation suggestions\n */\n suggestions?: InstallationSuggestion[];\n};\n\n/**\n * Executable installation command for a tool\n */\nexport type ToolInstallCommand = {\n /**\n * Shell command string to execute\n */\n command: string;\n /**\n * Target platform identifier\n */\n platform: string;\n /**\n * Execution timeout in milliseconds\n */\n timeout: number;\n /**\n * Tool name\n */\n toolName: string;\n /**\n * Package manager identifier\n */\n packageManager: string;\n};\nexport enum AgentStatus {\n Idle = 'Idle',\n Running = 'Running',\n Paused = 'Paused',\n Stopped = 'Stopped',\n}\n\n/**\n * A running agent instance that processes work and responds to queries\n */\nexport type AgentInstance = {\n /**\n * Unique identifier for this agent instance\n */\n id: UUID;\n /**\n * Git branch this agent is operating on for code changes\n */\n branch: string;\n /**\n * Current operational status of the agent (Idle, Running, Paused, or Stopped)\n */\n status: AgentStatus;\n /**\n * Timestamp when this agent instance was created\n */\n createdAt: any;\n};\n\n/**\n * Deployment target wrapping a single ActionItem for granular deployments\n */\nexport type DeployTargetActionItem = {\n /**\n * Discriminator indicating this is an action item target\n */\n kind: 'actionItem';\n /**\n * The action item to deploy - represents an atomic unit of work\n */\n actionItem: ActionItem;\n};\n\n/**\n * Deployment target wrapping a single Task for task-level deployments\n */\nexport type DeployTargetTask = {\n /**\n * Discriminator indicating this is a task target\n */\n kind: 'task';\n /**\n * The task to deploy - includes all action items within the task\n */\n task: Task;\n};\n\n/**\n * Deployment target wrapping multiple Tasks for batch deployments\n */\nexport type DeployTargetTasks = {\n /**\n * Discriminator indicating this is a multi-task target\n */\n kind: 'tasks';\n /**\n * The tasks to deploy - enables batch deployment of related work\n */\n tasks: Task[];\n};\nexport enum FeatureAgentState {\n GatheringRequirements = 'GatheringRequirements',\n ClarificationsRequired = 'ClarificationsRequired',\n DoingResearch = 'DoingResearch',\n AwaitingReview = 'AwaitingReview',\n ExecutingWorkPlan = 'ExecutingWorkPlan',\n Ready = 'Ready',\n}\n\n/**\n * Main orchestrating agent - the 'brain' that manages the complete SDLC workflow for a feature\n */\nexport type FeatureAgent = {\n /**\n * Unique identifier for this feature agent instance\n */\n id: UUID;\n /**\n * The feature being managed by this agent throughout its lifecycle\n */\n feature: Feature;\n /**\n * Sub-agents spawned to handle specific tasks within the workflow\n */\n agents: AgentInstance[];\n /**\n * Current operational state determining what the agent is doing\n */\n state: FeatureAgentState;\n /**\n * Timestamp when this feature agent was created\n */\n createdAt: any;\n};\n\n/**\n * Agent for handling local deployment of features, tasks, or action items\n */\nexport type LocalDeployAgent = {\n /**\n * Unique identifier for this deployment agent instance\n */\n id: UUID;\n /**\n * URL where the deployment is accessible once available (null before deployment)\n */\n url?: string;\n /**\n * Timestamp when this deployment agent was created\n */\n createdAt: any;\n};\nexport enum PortProtocol {\n TCP = 'TCP',\n UDP = 'UDP',\n}\n\n/**\n * Port mapping configuration for exposing container services to the network\n */\nexport type PortMap = {\n /**\n * Service name identifier (e.g., 'web', 'api', 'db', 'redis')\n */\n name: string;\n /**\n * Port number to expose on the host or container network\n */\n port: number;\n /**\n * Network protocol for the port (defaults to TCP if not specified)\n */\n protocol?: PortProtocol;\n};\nexport enum DeployMethod {\n DockerCompose = 'DockerCompose',\n Docker = 'Docker',\n Kubernetes = 'Kubernetes',\n Script = 'Script',\n Manual = 'Manual',\n}\n\n/**\n * Configuration defining how to deploy an application with method and instructions\n */\nexport type DeploySkill = {\n /**\n * Unique identifier for the deployment skill configuration\n */\n id: UUID;\n /**\n * List of port mappings for services to expose when deployed\n */\n ports: PortMap[];\n /**\n * Method to use for deployment (DockerCompose, Docker, Kubernetes, Script, or Manual)\n */\n method: DeployMethod;\n /**\n * Deployment instructions or commands to execute for this deployment method\n */\n instructions: string;\n /**\n * Timestamp when the deployment skill was created\n */\n createdAt: any;\n};\nexport enum DeploymentState {\n Booting = 'Booting',\n Ready = 'Ready',\n Stopped = 'Stopped',\n}\n\n/**\n * A running deployment instance with network configuration and lifecycle management\n */\nexport type Deployment = {\n /**\n * Unique identifier for the deployment instance\n */\n id: UUID;\n /**\n * Current state of the deployment (Booting, Ready, or Stopped)\n */\n state: DeploymentState;\n /**\n * URL where the deployment is accessible (e.g., 'http://localhost:30100/' or 'http://172.33.0.20:5173')\n */\n url: string;\n /**\n * List of port mappings for services exposed by this deployment\n */\n ports: PortMap[];\n /**\n * Timestamp when the deployment was created\n */\n createdAt: any;\n /**\n * Timestamp when the deployment was stopped (only present when state is Stopped)\n */\n stoppedAt?: any;\n};\nexport enum AgentRunStatus {\n pending = 'pending',\n running = 'running',\n completed = 'completed',\n failed = 'failed',\n interrupted = 'interrupted',\n cancelled = 'cancelled',\n waitingApproval = 'waiting_approval',\n}\n\n/**\n * Agent execution run record\n */\nexport type AgentRun = BaseEntity & {\n /**\n * Agent executor type used (claude-code, gemini-cli, etc.)\n */\n agentType: AgentType;\n /**\n * Agent workflow name (analyze-repository, requirements, etc.)\n */\n agentName: string;\n /**\n * Current execution status\n */\n status: AgentRunStatus;\n /**\n * Input prompt sent to agent executor\n */\n prompt: string;\n /**\n * Final result output (optional, populated on completion)\n */\n result?: string;\n /**\n * Executor session ID for resumption (optional)\n */\n sessionId?: string;\n /**\n * LangGraph thread_id for checkpoint lookup and crash resume\n */\n threadId: string;\n /**\n * Process ID for crash recovery (optional)\n */\n pid?: number;\n /**\n * Last heartbeat timestamp for crash detection (optional)\n */\n lastHeartbeat?: any;\n /**\n * Execution start timestamp (optional)\n */\n startedAt?: any;\n /**\n * Execution completion timestamp (optional)\n */\n completedAt?: any;\n /**\n * Error message if execution failed (optional)\n */\n error?: string;\n /**\n * Associated feature ID for feature agent runs (optional)\n */\n featureId?: string;\n /**\n * Repository path for context scoping (optional)\n */\n repositoryPath?: string;\n /**\n * Approval gate configuration for human-in-the-loop review (optional)\n */\n approvalGates?: ApprovalGates;\n};\n\n/**\n * Streaming event emitted during agent execution\n */\nexport type AgentRunEvent = {\n /**\n * Event type: progress, result, or error\n */\n type: 'progress' | 'result' | 'error';\n /**\n * Event content\n */\n content: string;\n /**\n * Event timestamp\n */\n timestamp: any;\n};\n\n/**\n * Agent workflow registration metadata\n */\nexport type AgentDefinition = {\n /**\n * Unique agent workflow name (e.g., analyze-repository)\n */\n name: string;\n /**\n * Human-readable description of what this agent does\n */\n description: string;\n};\n\n/**\n * Timing record for a single agent graph node execution\n */\nexport type PhaseTiming = BaseEntity & {\n /**\n * Agent run this timing belongs to\n */\n agentRunId: string;\n /**\n * Graph node name: analyze, requirements, research, plan, implement\n */\n phase: string;\n /**\n * When the phase started executing\n */\n startedAt: any;\n /**\n * When the phase finished executing (null if still running)\n */\n completedAt?: any;\n /**\n * Duration in milliseconds (computed on completion)\n */\n durationMs?: bigint;\n};\nexport enum AgentFeature {\n sessionResume = 'session-resume',\n streaming = 'streaming',\n toolScoping = 'tool-scoping',\n structuredOutput = 'structured-output',\n systemPrompt = 'system-prompt',\n}\nexport type DeployTarget = DeployTargetActionItem | DeployTargetTask | DeployTargetTasks;\n\nexport type Askable = {\n Ask(request: AskRequest): AskResponse;\n};\n\nexport type FeatureAgentOperations = {\n NewFeatureWizard(): Feature;\n GatherRequirements(): Requirement[];\n DoResearch(): Research;\n CreatePlan(): Plan;\n BeginImplementation(): void;\n Ask(query: string): AskResponse;\n};\n\nexport type LocalDeployAgentOperations = {\n Deploy(target: DeployTarget, skill: DeploySkill): Deployment;\n Analyze(repositoryPath: string): DeploySkill;\n Ask(query: string): AskResponse;\n};\n"],"names":[],"mappings":"uCEAA,IO2GY,EAMA,IA6CA,EA8BA,EAIA,EAyFA,UAmTA,EA4BA,EAKA,IAoWA,EAOA,EA8GA,MAgJA,EAiCA,IAwKA,EP/5CZ,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,C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AC,EAAI,OAAO,CAAE,IAAI,EAAO,KAAK,CAAC,EAAA,cAAc,CAAC,aAAa,CAAE,CACvF,SAAU,CAAA,EAAG,EAAO,CAAC,EAAE,EAAA,CAAS,CAChC,KAAM,EAAA,QAAQ,CAAC,MAAM,CACrB,WAAY,CACR,cAAe,EACf,cAAe,EAAI,GAAG,AAC1B,CACJ,EAAG,GAEf,CAAE,MAAO,EAAK,CAeV,GAdM,aAAe,EAAA,eAAe,EAEhC,CAFmC,KAE7B,GAAY,cAAc,CAAC,EAAK,EAAK,CACvC,WAAY,aACZ,UAAW,EACX,UAAW,QACX,iBAAkB,CAAA,EAAA,EAAA,mBAAA,AAAmB,EAAC,oBAClC,uBACA,CACJ,EACJ,GAAG,AATgB,EASJ,GAIf,EAAO,MAAM,EAKjB,OAHA,MAAM,CAAA,EAAA,EAAA,YAAA,AAAY,EAAC,EAAa,EAAa,IAAI,SAAS,KAAM,CAC5D,OAAQ,GACZ,IACO,IACX,CACJ,EAEA,qCAAqC","ignoreList":[2]}
1
+ {"version":3,"sources":["../../../../../../src/presentation/web/app/api/ide/open/route.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/antigravity.launcher.ts","../../../../../../node_modules/.pnpm/next%4016.1.6_%40babel%2Bcore%407.29.0_%40playwright%2Btest%401.58.1_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/dist/esm/build/templates/app-route.js","../../../../../../packages/core/src/infrastructure/services/ide-launchers/cursor.launcher.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/vscode.launcher.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/windsurf.launcher.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/zed.launcher.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/launch-ide.ts","../../../../../../packages/core/src/infrastructure/services/ide-launchers/ide-launcher.registry.ts","../../../../../../packages/core/src/domain/generated/output.ts"],"sourcesContent":["import { NextResponse } from 'next/server';\nimport { getSettings } from '@shepai/core/infrastructure/services/settings.service';\nimport { launchIde } from '@shepai/core/infrastructure/services/ide-launchers/launch-ide';\nimport { validateToolbarInput } from '../../validate-toolbar-input';\n\nexport async function POST(request: Request) {\n let body: unknown;\n try {\n body = await request.json();\n } catch {\n return NextResponse.json({ error: 'Invalid or missing JSON body' }, { status: 400 });\n }\n\n const validation = validateToolbarInput(body as Record<string, unknown>);\n\n if ('error' in validation) {\n return NextResponse.json({ error: validation.error }, { status: validation.status });\n }\n\n const { repositoryPath, branch } = validation;\n\n const settings = getSettings();\n const editor = settings.environment.defaultEditor;\n\n const result = await launchIde({\n editorId: editor,\n repositoryPath,\n branch,\n checkAvailability: true,\n });\n\n if (!result.ok) {\n const status = result.code === 'launch_failed' ? 500 : 404;\n return NextResponse.json({ error: result.message }, { status });\n }\n\n return NextResponse.json({\n success: true,\n editor: result.editorName,\n path: result.worktreePath,\n });\n}\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class AntigravityLauncher implements IdeLauncher {\n readonly name = 'Antigravity';\n readonly editorId = EditorType.Antigravity;\n readonly binary = 'antigravity';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","import { AppRouteRouteModule } from \"next/dist/esm/server/route-modules/app-route/module.compiled\";\nimport { RouteKind } from \"next/dist/esm/server/route-kind\";\nimport { patchFetch as _patchFetch } from \"next/dist/esm/server/lib/patch-fetch\";\nimport { addRequestMeta, getRequestMeta } from \"next/dist/esm/server/request-meta\";\nimport { getTracer, SpanKind } from \"next/dist/esm/server/lib/trace/tracer\";\nimport { setManifestsSingleton } from \"next/dist/esm/server/app-render/manifests-singleton\";\nimport { normalizeAppPath } from \"next/dist/esm/shared/lib/router/utils/app-paths\";\nimport { NodeNextRequest, NodeNextResponse } from \"next/dist/esm/server/base-http/node\";\nimport { NextRequestAdapter, signalFromNodeResponse } from \"next/dist/esm/server/web/spec-extension/adapters/next-request\";\nimport { BaseServerSpan } from \"next/dist/esm/server/lib/trace/constants\";\nimport { getRevalidateReason } from \"next/dist/esm/server/instrumentation/utils\";\nimport { sendResponse } from \"next/dist/esm/server/send-response\";\nimport { fromNodeOutgoingHttpHeaders, toNodeOutgoingHttpHeaders } from \"next/dist/esm/server/web/utils\";\nimport { getCacheControlHeader } from \"next/dist/esm/server/lib/cache-control\";\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from \"next/dist/esm/lib/constants\";\nimport { NoFallbackError } from \"next/dist/esm/shared/lib/no-fallback-error.external\";\nimport { CachedRouteKind } from \"next/dist/esm/server/response-cache\";\nimport * as userland from \"INNER_APP_ROUTE\";\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\nconst nextConfigOutput = \"standalone\"\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: \"/api/ide/open/route\",\n pathname: \"/api/ide/open\",\n filename: \"route\",\n bundlePath: \"\"\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: \"[project]/src/presentation/web/app/api/ide/open/route.ts\",\n nextConfigOutput,\n userland\n});\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule;\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage\n });\n}\nexport { routeModule, workAsyncStorage, workUnitAsyncStorage, serverHooks, patchFetch, };\nexport async function handler(req, res, ctx) {\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());\n }\n let srcPage = \"/api/ide/open/route\";\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/';\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/';\n }\n const multiZoneDraftMode = process.env.__NEXT_MULTI_ZONE_DRAFT_MODE;\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode\n });\n if (!prepareResult) {\n res.statusCode = 400;\n res.end('Bad Request');\n ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());\n return null;\n }\n const { buildId, params, nextConfig, parsedUrl, isDraftMode, prerenderManifest, routerServerContext, isOnDemandRevalidate, revalidateOnlyGenerated, resolvedPathname, clientReferenceManifest, serverActionsManifest } = prepareResult;\n const normalizedSrcPage = normalizeAppPath(srcPage);\n let isIsr = Boolean(prerenderManifest.dynamicRoutes[normalizedSrcPage] || prerenderManifest.routes[resolvedPathname]);\n const render404 = async ()=>{\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext == null ? void 0 : routerServerContext.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false);\n } else {\n res.end('This page could not be found');\n }\n return null;\n };\n if (isIsr && !isDraftMode) {\n const isPrerendered = Boolean(prerenderManifest.routes[resolvedPathname]);\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage];\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.experimental.adapterPath) {\n return await render404();\n }\n throw new NoFallbackError();\n }\n }\n }\n let cacheKey = null;\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname;\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey;\n }\n const supportsDynamicResponse = // If we're in development, we always support dynamic HTML\n routeModule.isDev === true || // If this is not SSG or does not have static paths, then it supports\n // dynamic HTML.\n !isIsr;\n // This is a revalidation request if the request is for a static\n // page and it is not being resumed from a postponed render and\n // it is not a dynamic RSC request then it is a revalidation\n // request.\n const isStaticGeneration = isIsr && !supportsDynamicResponse;\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest\n });\n }\n const method = req.method || 'GET';\n const tracer = getTracer();\n const activeSpan = tracer.getActiveScopeSpan();\n const context = {\n params,\n prerenderManifest,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts)\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n supportsDynamicResponse,\n incrementalCache: getRequestMeta(req, 'incrementalCache'),\n cacheLifeProfiles: nextConfig.cacheLife,\n waitUntil: ctx.waitUntil,\n onClose: (cb)=>{\n res.on('close', cb);\n },\n onAfterTaskError: undefined,\n onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext)\n },\n sharedContext: {\n buildId\n }\n };\n const nodeNextReq = new NodeNextRequest(req);\n const nodeNextRes = new NodeNextResponse(res);\n const nextReq = NextRequestAdapter.fromNodeNextRequest(nodeNextReq, signalFromNodeResponse(res));\n try {\n const invokeRouteModule = async (span)=>{\n return routeModule.handle(nextReq, context).finally(()=>{\n if (!span) return;\n span.setAttributes({\n 'http.status_code': res.statusCode,\n 'next.rsc': false\n });\n const rootSpanAttributes = tracer.getRootSpanAttributes();\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return;\n }\n if (rootSpanAttributes.get('next.span_type') !== BaseServerSpan.handleRequest) {\n console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);\n return;\n }\n const route = rootSpanAttributes.get('next.route');\n if (route) {\n const name = `${method} ${route}`;\n span.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name\n });\n span.updateName(name);\n } else {\n span.updateName(`${method} ${srcPage}`);\n }\n });\n };\n const isMinimalMode = Boolean(process.env.MINIMAL_MODE || getRequestMeta(req, 'minimalMode'));\n const handleResponse = async (currentSpan)=>{\n var _cacheEntry_value;\n const responseGenerator = async ({ previousCacheEntry })=>{\n try {\n if (!isMinimalMode && isOnDemandRevalidate && revalidateOnlyGenerated && !previousCacheEntry) {\n res.statusCode = 404;\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED');\n res.end('This page could not be found');\n return null;\n }\n const response = await invokeRouteModule(currentSpan);\n req.fetchMetrics = context.renderOpts.fetchMetrics;\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil;\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil);\n pendingWaitUntil = undefined;\n }\n }\n const cacheTags = context.renderOpts.collectedTags;\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob();\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers);\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags;\n }\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type;\n }\n const revalidate = typeof context.renderOpts.collectedRevalidate === 'undefined' || context.renderOpts.collectedRevalidate >= INFINITE_CACHE ? false : context.renderOpts.collectedRevalidate;\n const expire = typeof context.renderOpts.collectedExpire === 'undefined' || context.renderOpts.collectedExpire >= INFINITE_CACHE ? undefined : context.renderOpts.collectedExpire;\n // Create the cache entry for the response.\n const cacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers\n },\n cacheControl: {\n revalidate,\n expire\n }\n };\n return cacheEntry;\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, context.renderOpts.pendingWaitUntil);\n return null;\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n throw err;\n }\n };\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode\n });\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return null;\n }\n if ((cacheEntry == null ? void 0 : (_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) !== CachedRouteKind.APP_ROUTE) {\n var _cacheEntry_value1;\n throw Object.defineProperty(new Error(`Invariant: app-route received invalid cache entry ${cacheEntry == null ? void 0 : (_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E701\",\n enumerable: false,\n configurable: true\n });\n }\n if (!isMinimalMode) {\n res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');\n }\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');\n }\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers);\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER);\n }\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (cacheEntry.cacheControl && !res.getHeader('Cache-Control') && !headers.get('Cache-Control')) {\n headers.set('Cache-Control', getCacheControlHeader(cacheEntry.cacheControl));\n }\n await sendResponse(nodeNextReq, nodeNextRes, // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200\n }));\n return null;\n };\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (activeSpan) {\n await handleResponse(activeSpan);\n } else {\n await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(BaseServerSpan.handleRequest, {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url\n }\n }, handleResponse));\n }\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n // rethrow so that we can handle serving error page\n // If this is during static generation, throw the error again.\n if (isIsr) throw err;\n // Otherwise, send a 500 response.\n await sendResponse(nodeNextReq, nodeNextRes, new Response(null, {\n status: 500\n }));\n return null;\n }\n}\n\n//# sourceMappingURL=app-route.js.map\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class CursorLauncher implements IdeLauncher {\n readonly name = 'Cursor';\n readonly editorId = EditorType.Cursor;\n readonly binary = 'cursor';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class VsCodeLauncher implements IdeLauncher {\n readonly name = 'VS Code';\n readonly editorId = EditorType.VsCode;\n readonly binary = 'code';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class WindsurfLauncher implements IdeLauncher {\n readonly name = 'Windsurf';\n readonly editorId = EditorType.Windsurf;\n readonly binary = 'windsurf';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","import { spawn, execFile } from 'node:child_process';\n\nimport { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\n\nexport class ZedLauncher implements IdeLauncher {\n readonly name = 'Zed';\n readonly editorId = EditorType.Zed;\n readonly binary = 'zed';\n\n async launch(path: string): Promise<void> {\n const child = spawn(this.binary, [path], {\n detached: true,\n stdio: 'ignore',\n });\n child.unref();\n }\n\n checkAvailable(): Promise<boolean> {\n return new Promise((resolve) => {\n execFile('which', [this.binary], (err) => {\n resolve(!err);\n });\n });\n }\n}\n","/**\n * Shared IDE launch logic used by both CLI and Web presentation layers.\n *\n * Returns a discriminated union so callers can map errors to their own format\n * (CLI messages vs HTTP status codes).\n */\n\nimport type { EditorType } from '../../../domain/generated/output';\nimport { createLauncherRegistry } from './ide-launcher.registry';\nimport { computeWorktreePath } from './compute-worktree-path';\n\nexport interface LaunchIdeInput {\n /** Which editor to launch. */\n editorId: EditorType;\n /** Absolute path to the repository root. */\n repositoryPath: string;\n /** Git branch name. When omitted, repositoryPath is used directly. */\n branch?: string;\n /** Whether to verify binary availability before launching. Default: false. */\n checkAvailability?: boolean;\n}\n\nexport interface LaunchIdeSuccess {\n ok: true;\n editorName: string;\n worktreePath: string;\n}\n\nexport interface LaunchIdeFailed {\n ok: false;\n code: 'unknown_editor' | 'editor_unavailable' | 'launch_failed';\n message: string;\n}\n\nexport type LaunchIdeResult = LaunchIdeSuccess | LaunchIdeFailed;\n\nexport async function launchIde(input: LaunchIdeInput): Promise<LaunchIdeResult> {\n const registry = createLauncherRegistry();\n const launcher = registry.get(input.editorId);\n\n if (!launcher) {\n return {\n ok: false,\n code: 'unknown_editor',\n message: `No launcher found for editor: ${input.editorId}. Supported: ${[...registry.keys()].join(', ')}`,\n };\n }\n\n if (input.checkAvailability) {\n const available = await launcher.checkAvailable();\n if (!available) {\n return {\n ok: false,\n code: 'editor_unavailable',\n message: `${launcher.name} is not available — ensure \"${launcher.binary}\" is installed and on your PATH`,\n };\n }\n }\n\n try {\n const worktreePath = input.branch\n ? computeWorktreePath(input.repositoryPath, input.branch)\n : input.repositoryPath;\n await launcher.launch(worktreePath);\n return { ok: true, editorName: launcher.name, worktreePath };\n } catch (error) {\n return {\n ok: false,\n code: 'launch_failed',\n message: error instanceof Error ? error.message : 'Failed to launch IDE',\n };\n }\n}\n","import type { EditorType } from '../../../domain/generated/output';\nimport type { IdeLauncher } from './ide-launcher.interface';\nimport { AntigravityLauncher } from './antigravity.launcher';\nimport { CursorLauncher } from './cursor.launcher';\nimport { VsCodeLauncher } from './vscode.launcher';\nimport { WindsurfLauncher } from './windsurf.launcher';\nimport { ZedLauncher } from './zed.launcher';\n\n/**\n * Create a registry of all supported IDE launchers, keyed by EditorType.\n *\n * @returns A Map from EditorType to its IdeLauncher instance.\n */\nexport function createLauncherRegistry(): Map<EditorType, IdeLauncher> {\n const launchers: IdeLauncher[] = [\n new VsCodeLauncher(),\n new CursorLauncher(),\n new WindsurfLauncher(),\n new ZedLauncher(),\n new AntigravityLauncher(),\n ];\n\n const registry = new Map<EditorType, IdeLauncher>();\n for (const launcher of launchers) {\n registry.set(launcher.editorId, launcher);\n }\n return registry;\n}\n","export type UUID = string;\n\n/**\n * Base model providing identity and timestamp fields for all domain entities\n */\nexport type BaseEntity = {\n /**\n * Unique identifier for this entity (UUID v4 format)\n */\n id: UUID;\n /**\n * Timestamp when this entity was created (read-only, set by system)\n */\n createdAt: any;\n /**\n * Timestamp when this entity was last updated (read-only, set by system)\n */\n updatedAt: any;\n};\n\n/**\n * Entity that supports soft deletion with a deletedAt timestamp\n */\nexport type SoftDeletableEntity = BaseEntity & {\n /**\n * Timestamp when this entity was soft-deleted (null if not deleted)\n */\n deletedAt?: any;\n};\n\n/**\n * Entity with audit trail tracking who created and modified it\n */\nexport type AuditableEntity = BaseEntity & {\n /**\n * UUID of the user who created this entity (null for system-created)\n */\n createdBy?: UUID;\n /**\n * UUID of the user who last updated this entity (null for system-updated)\n */\n updatedBy?: UUID;\n};\n\n/**\n * Request model for conversational AI interactions\n */\nexport type AskRequest = {\n /**\n * The natural language query to be processed by the AI agent\n */\n query: string;\n};\n\n/**\n * Response model for conversational AI interactions\n */\nexport type AskResponse = {\n /**\n * The AI-generated response content (typically Markdown-formatted)\n */\n content: string;\n /**\n * Whether the operation completed successfully\n */\n success: boolean;\n};\n\n/**\n * Acceptance criterion for validating completion of an action item\n */\nexport type AcceptanceCriteria = BaseEntity & {\n /**\n * Description of what must be true for this criterion to be satisfied\n */\n description: string;\n /**\n * Whether this criterion has been verified as complete\n */\n verified: boolean;\n};\n\n/**\n * Granular, atomic step within a Task representing a single unit of work\n */\nexport type ActionItem = BaseEntity & {\n /**\n * Short name describing the action (verb-noun pattern recommended)\n */\n name: string;\n /**\n * Detailed description of the work to be performed\n */\n description: string;\n /**\n * Git branch name where this action item's work is performed\n */\n branch: string;\n /**\n * Action items that must complete before this one can start\n */\n dependsOn: ActionItem[];\n /**\n * Acceptance criteria for verifying completion of this action item\n */\n acceptanceCriteria: AcceptanceCriteria[];\n};\nexport enum ArtifactCategory {\n PRD = 'PRD',\n API = 'API',\n Design = 'Design',\n Other = 'Other',\n}\nexport enum ArtifactFormat {\n Markdown = 'md',\n Text = 'txt',\n Yaml = 'yaml',\n Other = 'Other',\n}\nexport enum ArtifactState {\n Todo = 'Todo',\n Elaborating = 'Elaborating',\n Done = 'Done',\n}\n\n/**\n * Generated document or file attached to a Feature\n */\nexport type Artifact = BaseEntity & {\n /**\n * Human-readable name identifying this artifact\n */\n name: string;\n /**\n * Type description providing additional context (e.g., 'documentation', 'api-spec')\n */\n type: string;\n /**\n * Category classification (PRD, API, Design, or Other)\n */\n category: ArtifactCategory;\n /**\n * File format for the artifact content\n */\n format: ArtifactFormat;\n /**\n * Brief summary of the artifact's content and purpose\n */\n summary: string;\n /**\n * Relative file path where the artifact is stored\n */\n path: string;\n /**\n * Current state in the artifact generation lifecycle\n */\n state: ArtifactState;\n};\nexport enum MessageRole {\n Assistant = 'assistant',\n User = 'user',\n}\n\n/**\n * A message in a conversation thread between user and AI assistant\n */\nexport type Message = BaseEntity & {\n /**\n * Role of the message sender (User or Assistant)\n */\n role: MessageRole;\n /**\n * The text content of the message\n */\n content: string;\n /**\n * Optional choices presented to the user for selection\n */\n options?: string[];\n /**\n * Optional user's freeform text answer\n */\n answer?: string;\n /**\n * Optional index of the selected option from the options array (0-based)\n */\n selectedOption?: number;\n};\nexport enum RequirementType {\n Functional = 'Functional',\n NonFunctional = 'NonFunctional',\n}\nexport enum ResearchState {\n NotStarted = 'NotStarted',\n Running = 'Running',\n Finished = 'Finished',\n}\n\n/**\n * A research topic exploration for gathering technical information\n */\nexport type Research = BaseEntity & {\n /**\n * The topic or subject being researched\n */\n topic: string;\n /**\n * Current state of the research activity (NotStarted, Running, Finished)\n */\n state: ResearchState;\n /**\n * Summary of research findings and recommendations\n */\n summary: string;\n /**\n * Artifacts produced during the research activity\n */\n artifacts: Artifact[];\n};\n\n/**\n * A user or inferred requirement attached to a feature\n */\nexport type Requirement = BaseEntity & {\n /**\n * URL-friendly short identifier for the requirement\n */\n slug: string;\n /**\n * The original user query that generated this requirement\n */\n userQuery: string;\n /**\n * Classification type of the requirement (Functional or NonFunctional)\n */\n type: RequirementType;\n /**\n * Research activities conducted to clarify or validate this requirement\n */\n researches: Research[];\n};\n\n/**\n * AI model configuration for different SDLC agents\n */\nexport type ModelConfiguration = {\n /**\n * Model for codebase analysis agent\n */\n analyze: string;\n /**\n * Model for requirements gathering agent\n */\n requirements: string;\n /**\n * Model for planning agent\n */\n plan: string;\n /**\n * Model for implementation agent\n */\n implement: string;\n};\n\n/**\n * User profile information\n */\nexport type UserProfile = {\n /**\n * User's display name (optional)\n */\n name?: string;\n /**\n * User's email address (optional)\n */\n email?: string;\n /**\n * GitHub username (optional, for PR attribution)\n */\n githubUsername?: string;\n};\nexport enum EditorType {\n VsCode = 'vscode',\n Cursor = 'cursor',\n Windsurf = 'windsurf',\n Zed = 'zed',\n Antigravity = 'antigravity',\n}\n\n/**\n * Environment and tooling preferences\n */\nexport type EnvironmentConfig = {\n /**\n * Preferred code editor\n */\n defaultEditor: EditorType;\n /**\n * Preferred shell\n */\n shellPreference: string;\n};\n\n/**\n * System configuration\n */\nexport type SystemConfig = {\n /**\n * CLI auto-update preference\n */\n autoUpdate: boolean;\n /**\n * Log level for CLI output\n */\n logLevel: string;\n};\n\n/**\n * Global workflow configuration defaults\n */\nexport type WorkflowConfig = {\n /**\n * Create PR on implementation complete (default: false)\n */\n openPrOnImplementationComplete: boolean;\n /**\n * Auto-merge on implementation complete (default: false)\n */\n autoMergeOnImplementationComplete: boolean;\n};\nexport enum AgentType {\n ClaudeCode = 'claude-code',\n GeminiCli = 'gemini-cli',\n Aider = 'aider',\n Continue = 'continue',\n Cursor = 'cursor',\n}\nexport enum AgentAuthMethod {\n Session = 'session',\n Token = 'token',\n}\n\n/**\n * AI coding agent configuration\n */\nexport type AgentConfig = {\n /**\n * Selected AI coding agent\n */\n type: AgentType;\n /**\n * Authentication method for the agent\n */\n authMethod: AgentAuthMethod;\n /**\n * API token for token-based auth (optional)\n */\n token?: string;\n};\n\n/**\n * Notification channel enable/disable configuration\n */\nexport type NotificationChannelConfig = {\n /**\n * Whether this notification channel is enabled\n */\n enabled: boolean;\n};\n\n/**\n * Notification event type filters\n */\nexport type NotificationEventConfig = {\n /**\n * Notify when agent starts running\n */\n agentStarted: boolean;\n /**\n * Notify when agent completes a workflow phase\n */\n phaseCompleted: boolean;\n /**\n * Notify when agent is waiting for human approval\n */\n waitingApproval: boolean;\n /**\n * Notify when agent completes successfully\n */\n agentCompleted: boolean;\n /**\n * Notify when agent execution fails\n */\n agentFailed: boolean;\n};\n\n/**\n * Notification preferences for agent lifecycle events\n */\nexport type NotificationPreferences = {\n /**\n * In-app toast notification channel (Sonner)\n */\n inApp: NotificationChannelConfig;\n /**\n * Browser push notification channel (Web Notifications API)\n */\n browser: NotificationChannelConfig;\n /**\n * Desktop OS notification channel (node-notifier)\n */\n desktop: NotificationChannelConfig;\n /**\n * Which event types trigger notifications\n */\n events: NotificationEventConfig;\n};\n\n/**\n * Global Shep platform settings (singleton)\n */\nexport type Settings = BaseEntity & {\n /**\n * AI model configuration for different agents\n */\n models: ModelConfiguration;\n /**\n * User profile information\n */\n user: UserProfile;\n /**\n * Environment and tooling preferences\n */\n environment: EnvironmentConfig;\n /**\n * System-level parameters\n */\n system: SystemConfig;\n /**\n * AI coding agent selection and authentication\n */\n agent: AgentConfig;\n /**\n * Notification preferences for agent lifecycle events\n */\n notifications: NotificationPreferences;\n /**\n * Global workflow configuration defaults\n */\n workflow: WorkflowConfig;\n};\nexport enum TaskState {\n Todo = 'Todo',\n WIP = 'Work in Progress',\n Done = 'Done',\n Review = 'Review',\n}\n\n/**\n * A discrete unit of work within an implementation plan\n */\nexport type Task = BaseEntity & {\n /**\n * Optional human-readable title for the task\n */\n title?: string;\n /**\n * Optional detailed description of what the task entails\n */\n description?: string;\n /**\n * Tasks that must be completed before this task can begin\n */\n dependsOn: Task[];\n /**\n * Granular action items that comprise this task\n */\n actionItems: ActionItem[];\n /**\n * The base branch from which this task's working branch was created\n */\n baseBranch: string;\n /**\n * Current state of task execution (Todo, WIP, Review, Done)\n */\n state: TaskState;\n /**\n * Git branch where work for this task is performed\n */\n branch: string;\n};\n\n/**\n * A significant event in the feature's timeline tracking user interactions and milestones\n */\nexport type TimelineEvent = BaseEntity & {\n /**\n * The user query or action that triggered this timeline event\n */\n userQuery: string;\n /**\n * Timestamp when this event occurred (read-only, set by system)\n */\n timestamp: any;\n};\nexport enum PlanState {\n Requirements = 'Requirements',\n ClarificationRequired = 'ClarificationRequired',\n Ready = 'Ready',\n}\n\n/**\n * Individual task representation within a Gantt chart visualization\n */\nexport type GanttTask = {\n /**\n * Unique identifier for the Gantt task\n */\n id: UUID;\n /**\n * Display name of the task shown in the Gantt chart\n */\n name: string;\n /**\n * Scheduled start time for the task\n */\n start: any;\n /**\n * Scheduled end time for the task\n */\n end: any;\n /**\n * IDs of tasks that this task depends on (must complete before this task can start)\n */\n dependencies: UUID[];\n /**\n * Completion progress as a fraction (0.0 = not started, 1.0 = complete)\n */\n progress: number;\n};\n\n/**\n * Container for Gantt chart visualization data including tasks and time bounds\n */\nexport type GanttViewData = {\n /**\n * Collection of tasks to display in the Gantt chart\n */\n tasks: GanttTask[];\n /**\n * Start date of the overall work plan (left boundary of the chart)\n */\n startDate: any;\n /**\n * End date of the overall work plan (right boundary of the chart)\n */\n endDate: any;\n};\n\n/**\n * Implementation plan for a feature containing tasks, artifacts, and requirements\n */\nexport type Plan = BaseEntity & {\n /**\n * High-level overview describing the implementation approach\n */\n overview: string;\n /**\n * User and inferred requirements that this plan addresses\n */\n requirements: Requirement[];\n /**\n * Documents and artifacts to be produced as part of this plan\n */\n artifacts: Artifact[];\n /**\n * Work items (tasks) that comprise this implementation plan\n */\n tasks: Task[];\n /**\n * Current state of the plan execution lifecycle\n */\n state: PlanState;\n /**\n * Optional Gantt chart visualization data for work scheduling\n */\n workPlan?: GanttViewData;\n};\nexport enum SdlcLifecycle {\n Started = 'Started',\n Analyze = 'Analyze',\n Requirements = 'Requirements',\n Research = 'Research',\n Planning = 'Planning',\n Implementation = 'Implementation',\n Review = 'Review',\n Maintain = 'Maintain',\n}\n\n/**\n * Configuration for human-in-the-loop approval gates\n */\nexport type ApprovalGates = {\n /**\n * Skip human review after requirements phase\n */\n allowPrd: boolean;\n /**\n * Skip human review after plan phase\n */\n allowPlan: boolean;\n /**\n * Skip human review after merge phase\n */\n allowMerge: boolean;\n};\nexport enum PrStatus {\n Open = 'Open',\n Merged = 'Merged',\n Closed = 'Closed',\n}\nexport enum CiStatus {\n Pending = 'Pending',\n Success = 'Success',\n Failure = 'Failure',\n}\n\n/**\n * Pull request tracking data for a feature\n */\nexport type PullRequest = {\n /**\n * GitHub PR URL\n */\n url: string;\n /**\n * GitHub PR number\n */\n number: number;\n /**\n * Current PR status\n */\n status: PrStatus;\n /**\n * Final commit SHA after push\n */\n commitHash?: string;\n /**\n * CI pipeline status\n */\n ciStatus?: CiStatus;\n};\n\n/**\n * Central entity tracking a piece of work through the SDLC lifecycle (Aggregate Root)\n */\nexport type Feature = BaseEntity & {\n /**\n * Human-readable name identifying this feature\n */\n name: string;\n /**\n * The exact user input that initiated this feature, preserved verbatim\n */\n userQuery: string;\n /**\n * URL-friendly identifier derived from name (unique within repository)\n */\n slug: string;\n /**\n * Detailed description explaining the feature's purpose and scope\n */\n description: string;\n /**\n * Absolute file system path to the repository\n */\n repositoryPath: string;\n /**\n * Git branch name where this feature's work is performed\n */\n branch: string;\n /**\n * Current stage in the SDLC lifecycle\n */\n lifecycle: SdlcLifecycle;\n /**\n * Conversation history with the AI assistant\n */\n messages: Message[];\n /**\n * Implementation plan containing tasks, artifacts, and requirements (optional)\n */\n plan?: Plan;\n /**\n * Generated documents and artifacts attached to this feature\n */\n relatedArtifacts: Artifact[];\n /**\n * Associated agent run ID for process tracking (optional)\n */\n agentRunId?: string;\n /**\n * Absolute path to the feature spec directory inside the worktree\n */\n specPath?: string;\n /**\n * Push branch to remote after implementation (default: false)\n */\n push: boolean;\n /**\n * Create PR after implementation (default: false)\n */\n openPr: boolean;\n /**\n * Approval gates configuration (embedded value object)\n */\n approvalGates: ApprovalGates;\n /**\n * Absolute path to the git worktree for this feature\n */\n worktreePath?: string;\n /**\n * Pull request data (null until PR created)\n */\n pr?: PullRequest;\n};\n\n/**\n * Option for resolving an open question\n */\nexport type QuestionOption = {\n /**\n * The option text describing the potential approach or answer\n */\n option: string;\n /**\n * Description explaining this option's benefits and approach\n */\n description: string;\n /**\n * Whether this option was the one ultimately selected\n */\n selected: boolean;\n};\n\n/**\n * Open question with resolution via options or direct answer\n */\nexport type OpenQuestion = {\n /**\n * The question text that needs to be answered\n */\n question: string;\n /**\n * Whether this question has been resolved (false = blocking)\n */\n resolved: boolean;\n /**\n * Structured options for resolving this question (spec.yaml pattern)\n */\n options?: QuestionOption[];\n /**\n * Rationale explaining which option was selected and why\n */\n selectionRationale?: string;\n /**\n * Free-text answer or resolution (research.yaml pattern)\n */\n answer?: string;\n};\n\n/**\n * Base entity for spec artifacts with common metadata fields\n */\nexport type SpecArtifactBase = BaseEntity & {\n /**\n * Artifact title / feature name\n */\n name: string;\n /**\n * Short description of the artifact's purpose\n */\n summary: string;\n /**\n * Raw Markdown body containing the human-written spec content\n */\n content: string;\n /**\n * Key technologies mentioned or evaluated in this artifact\n */\n technologies: string[];\n /**\n * References to other spec IDs (e.g., '008-agent-configuration')\n */\n relatedFeatures: string[];\n /**\n * URLs to external documentation, references, or comparisons\n */\n relatedLinks: string[];\n /**\n * Structured open questions for validation gate checks\n */\n openQuestions: OpenQuestion[];\n};\n\n/**\n * Technology or approach decision with rationale\n */\nexport type TechDecision = {\n /**\n * Title or name of the decision being made\n */\n title: string;\n /**\n * The chosen technology, library, or approach\n */\n chosen: string;\n /**\n * Alternative options that were considered but rejected\n */\n rejected: string[];\n /**\n * Rationale explaining why the chosen option was selected\n */\n rationale: string;\n};\n\n/**\n * Implementation phase grouping related tasks\n */\nexport type PlanPhase = {\n /**\n * Unique identifier for this phase (e.g., 'phase-1')\n */\n id: string;\n /**\n * Display name of the phase\n */\n name: string;\n /**\n * Description of what this phase accomplishes and why it's ordered this way\n */\n description?: string;\n /**\n * Whether tasks in this phase can be executed in parallel\n */\n parallel: boolean;\n /**\n * Task IDs belonging to this phase (e.g., ['task-1', 'task-2']). Optional — not present in plan.yaml phases.\n */\n taskIds?: string[];\n};\n\n/**\n * Test-Driven Development cycle phases for a task\n */\nexport type TddCycle = {\n /**\n * RED phase: tests to write FIRST (before implementation)\n */\n red: string[];\n /**\n * GREEN phase: minimal implementation to pass tests\n */\n green: string[];\n /**\n * REFACTOR phase: code improvements while keeping tests green\n */\n refactor: string[];\n};\n\n/**\n * Task definition within a spec's task breakdown\n */\nexport type SpecTask = {\n /**\n * Unique identifier for this task (e.g., 'task-1')\n */\n id: string;\n /**\n * ID of the phase this task belongs to (e.g., 'phase-1')\n */\n phaseId: string;\n /**\n * Task title or name\n */\n title: string;\n /**\n * Detailed description of what this task accomplishes\n */\n description: string;\n /**\n * Current state of the task\n */\n state: TaskState;\n /**\n * IDs of other SpecTasks that must complete before this task starts\n */\n dependencies: string[];\n /**\n * List of acceptance criteria that define task completion\n */\n acceptanceCriteria: string[];\n /**\n * TDD cycle definition for this task (if applicable)\n */\n tdd?: TddCycle;\n /**\n * Estimated effort (e.g., '2 hours', '1 day')\n */\n estimatedEffort: string;\n};\n\n/**\n * Feature specification artifact (PRD) defining requirements and scope\n */\nexport type FeatureArtifact = SpecArtifactBase & {\n /**\n * Spec number (e.g., 11 for spec 011)\n */\n number: number;\n /**\n * Git branch name for this feature (e.g., 'feat/011-feature-name')\n */\n branch: string;\n /**\n * One-line description of the feature\n */\n oneLiner: string;\n /**\n * Current phase in the SDLC lifecycle\n */\n phase: SdlcLifecycle;\n /**\n * Size estimate: XS, S, M, L, or XL\n */\n sizeEstimate: string;\n};\n\n/**\n * Research artifact documenting technical analysis and decisions\n */\nexport type ResearchArtifact = SpecArtifactBase & {\n /**\n * Structured technology decisions with rationale\n */\n decisions: TechDecision[];\n};\n\n/**\n * Technical implementation plan artifact defining strategy and file changes\n */\nexport type TechnicalPlanArtifact = SpecArtifactBase & {\n /**\n * Structured implementation phases\n */\n phases: PlanPhase[];\n /**\n * New files planned to be created\n */\n filesToCreate: string[];\n /**\n * Existing files planned to be modified\n */\n filesToModify: string[];\n};\n\n/**\n * Task breakdown artifact defining implementation tasks grouped into phases\n */\nexport type TasksArtifact = SpecArtifactBase & {\n /**\n * Structured task list with acceptance criteria and TDD phases\n */\n tasks: SpecTask[];\n /**\n * Overall effort estimate for all tasks combined\n */\n totalEstimate: string;\n};\n\n/**\n * Feature identity metadata in feature.yaml\n */\nexport type FeatureIdentity = {\n /**\n * Feature ID slug (e.g., '012-autonomous-pr-review-loop')\n */\n id: string;\n /**\n * Human-readable feature name\n */\n name: string;\n /**\n * Feature number (e.g., 12)\n */\n number: number;\n /**\n * Git branch for this feature\n */\n branch: string;\n /**\n * Current lifecycle phase (e.g., 'research', 'implementation', 'complete')\n */\n lifecycle: string;\n /**\n * When the feature was created\n */\n createdAt: string;\n};\n\n/**\n * Task completion progress counters\n */\nexport type FeatureStatusProgress = {\n /**\n * Number of completed tasks\n */\n completed: number;\n /**\n * Total number of tasks\n */\n total: number;\n /**\n * Completion percentage (0-100)\n */\n percentage: number;\n};\n\n/**\n * Feature execution status\n */\nexport type FeatureStatusInfo = {\n /**\n * Current SDLC phase\n */\n phase: string;\n /**\n * Phases that have been completed\n */\n completedPhases?: string[];\n /**\n * Task completion progress\n */\n progress: FeatureStatusProgress;\n /**\n * ID of the task currently being executed (null if none)\n */\n currentTask?: string;\n /**\n * ISO timestamp of last status update\n */\n lastUpdated: string;\n /**\n * Agent or skill that last updated the status\n */\n lastUpdatedBy: string;\n};\n\n/**\n * Validation gate results\n */\nexport type FeatureValidation = {\n /**\n * ISO timestamp of last validation run (null if never run)\n */\n lastRun?: string;\n /**\n * Names of validation gates that passed\n */\n gatesPassed: string[];\n /**\n * Descriptions of auto-fixes that were applied\n */\n autoFixesApplied: string[];\n};\n\n/**\n * Task execution tracking state\n */\nexport type FeatureTaskTracking = {\n /**\n * ID of the task currently being worked on (null if none)\n */\n current?: string;\n /**\n * IDs of tasks blocked by unmet dependencies\n */\n blocked: string[];\n /**\n * IDs of tasks that failed execution\n */\n failed: string[];\n};\n\n/**\n * Milestone checkpoint for phase completion\n */\nexport type FeatureCheckpoint = {\n /**\n * Phase name (e.g., 'feature-created', 'research-complete')\n */\n phase: string;\n /**\n * ISO timestamp when this checkpoint was reached\n */\n completedAt: string;\n /**\n * Agent or skill that completed this phase\n */\n completedBy: string;\n};\n\n/**\n * Error tracking for feature execution\n */\nexport type FeatureErrors = {\n /**\n * Current error message (null if no active error)\n */\n current?: string;\n /**\n * History of past error messages\n */\n history: string[];\n};\n\n/**\n * Feature status tracking artifact (feature.yaml)\n */\nexport type FeatureStatus = BaseEntity & {\n /**\n * Feature identity metadata\n */\n feature: FeatureIdentity;\n /**\n * Current execution status and progress\n */\n status: FeatureStatusInfo;\n /**\n * PR URL if a pull request has been created\n */\n prUrl?: string;\n /**\n * ISO timestamp when the feature was merged\n */\n mergedAt?: string;\n /**\n * Validation gate results\n */\n validation: FeatureValidation;\n /**\n * Task execution tracking\n */\n tasks: FeatureTaskTracking;\n /**\n * Milestone checkpoints recording phase completions\n */\n checkpoints: FeatureCheckpoint[];\n /**\n * Error tracking state\n */\n errors: FeatureErrors;\n};\nexport enum ToolType {\n VsCode = 'vscode',\n Cursor = 'cursor',\n Windsurf = 'windsurf',\n Zed = 'zed',\n Antigravity = 'antigravity',\n CursorCli = 'cursor-cli',\n ClaudeCode = 'claude-code',\n}\n\n/**\n * IDE or CLI tool entity with installation tracking\n */\nexport type Tool = BaseEntity & {\n /**\n * Display name of the tool\n */\n toolName: string;\n /**\n * Tool type classification\n */\n type: ToolType;\n /**\n * Installed version number\n */\n installedVersion?: string;\n /**\n * Tool installation timestamp\n */\n installedAt?: any;\n};\nexport enum NotificationEventType {\n AgentStarted = 'agent_started',\n PhaseCompleted = 'phase_completed',\n WaitingApproval = 'waiting_approval',\n AgentCompleted = 'agent_completed',\n AgentFailed = 'agent_failed',\n}\nexport enum NotificationSeverity {\n Info = 'info',\n Warning = 'warning',\n Success = 'success',\n Error = 'error',\n}\n\n/**\n * Notification event emitted for agent lifecycle transitions\n */\nexport type NotificationEvent = {\n /**\n * Type of lifecycle event\n */\n eventType: NotificationEventType;\n /**\n * ID of the agent run that triggered this event\n */\n agentRunId: string;\n /**\n * Human-readable feature name\n */\n featureName: string;\n /**\n * Phase name (only for phaseCompleted events)\n */\n phaseName?: string;\n /**\n * Human-readable event description\n */\n message: string;\n /**\n * Display severity for notification rendering\n */\n severity: NotificationSeverity;\n /**\n * When the event occurred\n */\n timestamp: any;\n};\n\n/**\n * Single installation suggestion for a tool\n */\nexport type InstallationSuggestion = {\n /**\n * Package manager or installation method\n */\n packageManager: string;\n /**\n * Installation command\n */\n command: string;\n /**\n * Official documentation URL\n */\n documentationUrl: string;\n /**\n * Additional notes for installation\n */\n notes?: string;\n};\n\n/**\n * Installation status and suggestions for a tool\n */\nexport type ToolInstallationStatus = {\n /**\n * Current installation status\n */\n status: 'available' | 'missing' | 'error';\n /**\n * Tool name\n */\n toolName: string;\n /**\n * Error message if status is error\n */\n errorMessage?: string;\n /**\n * Installation suggestions\n */\n suggestions?: InstallationSuggestion[];\n};\n\n/**\n * Executable installation command for a tool\n */\nexport type ToolInstallCommand = {\n /**\n * Shell command string to execute\n */\n command: string;\n /**\n * Target platform identifier\n */\n platform: string;\n /**\n * Execution timeout in milliseconds\n */\n timeout: number;\n /**\n * Tool name\n */\n toolName: string;\n /**\n * Package manager identifier\n */\n packageManager: string;\n};\nexport enum AgentStatus {\n Idle = 'Idle',\n Running = 'Running',\n Paused = 'Paused',\n Stopped = 'Stopped',\n}\n\n/**\n * A running agent instance that processes work and responds to queries\n */\nexport type AgentInstance = {\n /**\n * Unique identifier for this agent instance\n */\n id: UUID;\n /**\n * Git branch this agent is operating on for code changes\n */\n branch: string;\n /**\n * Current operational status of the agent (Idle, Running, Paused, or Stopped)\n */\n status: AgentStatus;\n /**\n * Timestamp when this agent instance was created\n */\n createdAt: any;\n};\n\n/**\n * Deployment target wrapping a single ActionItem for granular deployments\n */\nexport type DeployTargetActionItem = {\n /**\n * Discriminator indicating this is an action item target\n */\n kind: 'actionItem';\n /**\n * The action item to deploy - represents an atomic unit of work\n */\n actionItem: ActionItem;\n};\n\n/**\n * Deployment target wrapping a single Task for task-level deployments\n */\nexport type DeployTargetTask = {\n /**\n * Discriminator indicating this is a task target\n */\n kind: 'task';\n /**\n * The task to deploy - includes all action items within the task\n */\n task: Task;\n};\n\n/**\n * Deployment target wrapping multiple Tasks for batch deployments\n */\nexport type DeployTargetTasks = {\n /**\n * Discriminator indicating this is a multi-task target\n */\n kind: 'tasks';\n /**\n * The tasks to deploy - enables batch deployment of related work\n */\n tasks: Task[];\n};\nexport enum FeatureAgentState {\n GatheringRequirements = 'GatheringRequirements',\n ClarificationsRequired = 'ClarificationsRequired',\n DoingResearch = 'DoingResearch',\n AwaitingReview = 'AwaitingReview',\n ExecutingWorkPlan = 'ExecutingWorkPlan',\n Ready = 'Ready',\n}\n\n/**\n * Main orchestrating agent - the 'brain' that manages the complete SDLC workflow for a feature\n */\nexport type FeatureAgent = {\n /**\n * Unique identifier for this feature agent instance\n */\n id: UUID;\n /**\n * The feature being managed by this agent throughout its lifecycle\n */\n feature: Feature;\n /**\n * Sub-agents spawned to handle specific tasks within the workflow\n */\n agents: AgentInstance[];\n /**\n * Current operational state determining what the agent is doing\n */\n state: FeatureAgentState;\n /**\n * Timestamp when this feature agent was created\n */\n createdAt: any;\n};\n\n/**\n * Agent for handling local deployment of features, tasks, or action items\n */\nexport type LocalDeployAgent = {\n /**\n * Unique identifier for this deployment agent instance\n */\n id: UUID;\n /**\n * URL where the deployment is accessible once available (null before deployment)\n */\n url?: string;\n /**\n * Timestamp when this deployment agent was created\n */\n createdAt: any;\n};\nexport enum PortProtocol {\n TCP = 'TCP',\n UDP = 'UDP',\n}\n\n/**\n * Port mapping configuration for exposing container services to the network\n */\nexport type PortMap = {\n /**\n * Service name identifier (e.g., 'web', 'api', 'db', 'redis')\n */\n name: string;\n /**\n * Port number to expose on the host or container network\n */\n port: number;\n /**\n * Network protocol for the port (defaults to TCP if not specified)\n */\n protocol?: PortProtocol;\n};\nexport enum DeployMethod {\n DockerCompose = 'DockerCompose',\n Docker = 'Docker',\n Kubernetes = 'Kubernetes',\n Script = 'Script',\n Manual = 'Manual',\n}\n\n/**\n * Configuration defining how to deploy an application with method and instructions\n */\nexport type DeploySkill = {\n /**\n * Unique identifier for the deployment skill configuration\n */\n id: UUID;\n /**\n * List of port mappings for services to expose when deployed\n */\n ports: PortMap[];\n /**\n * Method to use for deployment (DockerCompose, Docker, Kubernetes, Script, or Manual)\n */\n method: DeployMethod;\n /**\n * Deployment instructions or commands to execute for this deployment method\n */\n instructions: string;\n /**\n * Timestamp when the deployment skill was created\n */\n createdAt: any;\n};\nexport enum DeploymentState {\n Booting = 'Booting',\n Ready = 'Ready',\n Stopped = 'Stopped',\n}\n\n/**\n * A running deployment instance with network configuration and lifecycle management\n */\nexport type Deployment = {\n /**\n * Unique identifier for the deployment instance\n */\n id: UUID;\n /**\n * Current state of the deployment (Booting, Ready, or Stopped)\n */\n state: DeploymentState;\n /**\n * URL where the deployment is accessible (e.g., 'http://localhost:30100/' or 'http://172.33.0.20:5173')\n */\n url: string;\n /**\n * List of port mappings for services exposed by this deployment\n */\n ports: PortMap[];\n /**\n * Timestamp when the deployment was created\n */\n createdAt: any;\n /**\n * Timestamp when the deployment was stopped (only present when state is Stopped)\n */\n stoppedAt?: any;\n};\nexport enum AgentRunStatus {\n pending = 'pending',\n running = 'running',\n completed = 'completed',\n failed = 'failed',\n interrupted = 'interrupted',\n cancelled = 'cancelled',\n waitingApproval = 'waiting_approval',\n}\n\n/**\n * Agent execution run record\n */\nexport type AgentRun = BaseEntity & {\n /**\n * Agent executor type used (claude-code, gemini-cli, etc.)\n */\n agentType: AgentType;\n /**\n * Agent workflow name (analyze-repository, requirements, etc.)\n */\n agentName: string;\n /**\n * Current execution status\n */\n status: AgentRunStatus;\n /**\n * Input prompt sent to agent executor\n */\n prompt: string;\n /**\n * Final result output (optional, populated on completion)\n */\n result?: string;\n /**\n * Executor session ID for resumption (optional)\n */\n sessionId?: string;\n /**\n * LangGraph thread_id for checkpoint lookup and crash resume\n */\n threadId: string;\n /**\n * Process ID for crash recovery (optional)\n */\n pid?: number;\n /**\n * Last heartbeat timestamp for crash detection (optional)\n */\n lastHeartbeat?: any;\n /**\n * Execution start timestamp (optional)\n */\n startedAt?: any;\n /**\n * Execution completion timestamp (optional)\n */\n completedAt?: any;\n /**\n * Error message if execution failed (optional)\n */\n error?: string;\n /**\n * Associated feature ID for feature agent runs (optional)\n */\n featureId?: string;\n /**\n * Repository path for context scoping (optional)\n */\n repositoryPath?: string;\n /**\n * Approval gate configuration for human-in-the-loop review (optional)\n */\n approvalGates?: ApprovalGates;\n};\n\n/**\n * Streaming event emitted during agent execution\n */\nexport type AgentRunEvent = {\n /**\n * Event type: progress, result, or error\n */\n type: 'progress' | 'result' | 'error';\n /**\n * Event content\n */\n content: string;\n /**\n * Event timestamp\n */\n timestamp: any;\n};\n\n/**\n * Agent workflow registration metadata\n */\nexport type AgentDefinition = {\n /**\n * Unique agent workflow name (e.g., analyze-repository)\n */\n name: string;\n /**\n * Human-readable description of what this agent does\n */\n description: string;\n};\n\n/**\n * Timing record for a single agent graph node execution\n */\nexport type PhaseTiming = BaseEntity & {\n /**\n * Agent run this timing belongs to\n */\n agentRunId: string;\n /**\n * Graph node name: analyze, requirements, research, plan, implement\n */\n phase: string;\n /**\n * When the phase started executing\n */\n startedAt: any;\n /**\n * When the phase finished executing (null if still running)\n */\n completedAt?: any;\n /**\n * Duration in milliseconds (computed on completion)\n */\n durationMs?: bigint;\n};\nexport enum AgentFeature {\n sessionResume = 'session-resume',\n streaming = 'streaming',\n toolScoping = 'tool-scoping',\n structuredOutput = 'structured-output',\n systemPrompt = 'system-prompt',\n}\nexport type DeployTarget = DeployTargetActionItem | DeployTargetTask | DeployTargetTasks;\n\nexport type Askable = {\n Ask(request: AskRequest): AskResponse;\n};\n\nexport type FeatureAgentOperations = {\n NewFeatureWizard(): Feature;\n GatherRequirements(): Requirement[];\n DoResearch(): Research;\n CreatePlan(): Plan;\n BeginImplementation(): void;\n Ask(query: string): AskResponse;\n};\n\nexport type LocalDeployAgentOperations = {\n Deploy(target: DeployTarget, skill: DeploySkill): Deployment;\n Analyze(repositoryPath: string): DeploySkill;\n Ask(query: string): AskResponse;\n};\n"],"names":[],"mappings":"uCEAA,IO2GY,EAMA,IA6CA,EA8BA,EAIA,EAyFA,UAmTA,EA4BA,EAKA,IA8jBA,EAOA,EA8GA,MAgJA,EAiCA,IAwKA,EPznDZ,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,KACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,CAAA,CAAA,OAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OFhBA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OCDA,EAAA,EAAA,CAAA,CAAA,uIQuHY,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,EAAa,EAAa,IAAI,SAAS,KAAM,CAC5D,OAAQ,GACZ,IACO,IACX,CACJ,EAEA,qCAAqC","ignoreList":[2]}
@@ -1,3 +1,3 @@
1
- module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},59975,a=>{a.n(a.i(72884))},63754,a=>{a.n(a.i(39838))},27075,a=>{a.n(a.i(26048))},37458,a=>{a.n(a.i(72330))},22672,a=>{a.n(a.i(41208))},32459,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(28478).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/presentation/web/components/features/version/version-page-client.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/presentation/web/components/features/version/version-page-client.tsx <module evaluation>","default")},93933,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(28478).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/presentation/web/components/features/version/version-page-client.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/presentation/web/components/features/version/version-page-client.tsx","default")},67651,a=>{"use strict";a.i(32459);var b=a.i(93933);a.n(b)},77048,a=>{"use strict";var b=a.i(92807),c=a.i(67651);function d(){let a={nodeVersion:process.version,platform:process.platform,arch:process.arch};return(0,b.jsx)(c.default,{versionInfo:{version:"1.33.1",name:"@shepai/cli",description:"Autonomous AI Native SDLC Platform - Automate the development cycle from idea to deploy"},systemInfo:a})}a.s(["default",()=>d],77048)}];
1
+ module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},59975,a=>{a.n(a.i(72884))},63754,a=>{a.n(a.i(39838))},27075,a=>{a.n(a.i(26048))},37458,a=>{a.n(a.i(72330))},22672,a=>{a.n(a.i(41208))},32459,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(28478).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/presentation/web/components/features/version/version-page-client.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/presentation/web/components/features/version/version-page-client.tsx <module evaluation>","default")},93933,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(28478).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/presentation/web/components/features/version/version-page-client.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/presentation/web/components/features/version/version-page-client.tsx","default")},67651,a=>{"use strict";a.i(32459);var b=a.i(93933);a.n(b)},77048,a=>{"use strict";var b=a.i(92807),c=a.i(67651);function d(){let a={nodeVersion:process.version,platform:process.platform,arch:process.arch};return(0,b.jsx)(c.default,{versionInfo:{version:"1.35.0",name:"@shepai/cli",description:"Autonomous AI Native SDLC Platform - Automate the development cycle from idea to deploy"},systemInfo:a})}a.s(["default",()=>d],77048)}];
2
2
 
3
3
  //# sourceMappingURL=%5Broot-of-the-server%5D__f12b60be._.js.map