@codeyam/codeyam-cli 0.1.0-staging.28f73cf → 0.1.0-staging.ad31e3e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analyzer-template/.build-info.json +5 -5
- package/analyzer-template/log.txt +3 -3
- package/analyzer-template/project/start.ts +11 -1
- package/background/src/lib/virtualized/project/start.js +8 -1
- package/background/src/lib/virtualized/project/start.js.map +1 -1
- package/codeyam-cli/src/utils/generateReport.js +6 -12
- package/codeyam-cli/src/utils/generateReport.js.map +1 -1
- package/codeyam-cli/src/webserver/build/client/assets/{entity._sha._-8Els_3Wb.js → entity._sha._-C6fctQ5v.js} +1 -1
- package/codeyam-cli/src/webserver/build/client/assets/{manifest-1af162d4.js → manifest-e039ab42.js} +1 -1
- package/codeyam-cli/src/webserver/build/client/assets/{root-DB7VgjCY.js → root-D0s7DnXb.js} +1 -1
- package/codeyam-cli/src/webserver/build/server/assets/{index-D4JpXSIO.js → index-iaMjuNME.js} +1 -1
- package/codeyam-cli/src/webserver/build/server/assets/{server-build-vwbN7n65.js → server-build-CpyX1FZX.js} +21 -21
- package/codeyam-cli/src/webserver/build/server/index.js +1 -1
- package/codeyam-cli/src/webserver/build-info.json +3 -3
- package/package.json +1 -1
package/codeyam-cli/src/webserver/build/client/assets/{manifest-1af162d4.js → manifest-e039ab42.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-DiP0q291.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/index-D-zYbzFZ.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/root-DB7VgjCY.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/index-D-zYbzFZ.js","/assets/ReportIssueModal-BORLgi0X.js","/assets/loader-circle-BXPKbHEb.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/settings-5zF_GOcS.js","/assets/useToast-Ddo4UQv7.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/LogViewer-CRcT5fOZ.js","/assets/circle-check-BACUUf75.js","/assets/clock-vWeoCemX.js","/assets/file-text-LM0mgxXE.js","/assets/triangle-alert-D7k-ArFa.js"],"css":[]},"routes/entity.$sha_.edit.$scenarioId":{"id":"routes/entity.$sha_.edit.$scenarioId","parentId":"root","path":"entity/:sha/edit/:scenarioId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/entity._sha_.edit._scenarioId-YJz_igar.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/InteractivePreview-XDSzQLOY.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/index-D-zYbzFZ.js"],"css":["/assets/InteractivePreview-CMKNK2uU.css"]},"routes/entity.$sha_.create-scenario":{"id":"routes/entity.$sha_.create-scenario","parentId":"root","path":"entity/:sha/create-scenario","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/entity._sha_.create-scenario-C3FZJx1w.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/InteractivePreview-XDSzQLOY.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/index-D-zYbzFZ.js"],"css":["/assets/InteractivePreview-CMKNK2uU.css"]},"routes/api.generate-scenario-data":{"id":"routes/api.generate-scenario-data","parentId":"root","path":"api/generate-scenario-data","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.generate-scenario-data-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.llm-calls.$entitySha":{"id":"routes/api.llm-calls.$entitySha","parentId":"root","path":"api/llm-calls/:entitySha","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.llm-calls._entitySha-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.branch-entity-diff":{"id":"routes/api.branch-entity-diff","parentId":"root","path":"api/branch-entity-diff","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.branch-entity-diff-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.capture-screenshot":{"id":"routes/api.capture-screenshot","parentId":"root","path":"api/capture-screenshot","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.capture-screenshot-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.recapture-scenario":{"id":"routes/api.recapture-scenario","parentId":"root","path":"api/recapture-scenario","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.recapture-scenario-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.logs.$projectSlug":{"id":"routes/api.logs.$projectSlug","parentId":"root","path":"api/logs/:projectSlug","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.logs._projectSlug-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.execute-function":{"id":"routes/api.execute-function","parentId":"root","path":"api/execute-function","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.execute-function-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.interactive-mode":{"id":"routes/api.interactive-mode","parentId":"root","path":"api/interactive-mode","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.interactive-mode-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.delete-scenario":{"id":"routes/api.delete-scenario","parentId":"root","path":"api/delete-scenario","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.delete-scenario-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.generate-report":{"id":"routes/api.generate-report","parentId":"root","path":"api/generate-report","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.generate-report-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.process-status":{"id":"routes/api.process-status","parentId":"root","path":"api/process-status","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.process-status-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.save-scenarios":{"id":"routes/api.save-scenarios","parentId":"root","path":"api/save-scenarios","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.save-scenarios-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.kill-process":{"id":"routes/api.kill-process","parentId":"root","path":"api/kill-process","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.kill-process-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.screenshot.$":{"id":"routes/api.screenshot.$","parentId":"root","path":"api/screenshot/*","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.screenshot._-l0sNRNKZ.js","imports":[],"css":[]},"routes/activity.($tab)":{"id":"routes/activity.($tab)","parentId":"root","path":"activity/:tab?","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/activity.(_tab)-CxvZPkCv.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/settings-5zF_GOcS.js","/assets/file-text-LM0mgxXE.js","/assets/LogViewer-CRcT5fOZ.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/ScenarioPreview-Bi-YUMa-.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/chart-column-B8fb6wnw.js","/assets/circle-alert-IdsgAK39.js","/assets/SafeScreenshot-Bual6h18.js","/assets/LibraryFunctionPreview-BYVx9KFp.js"],"css":[]},"routes/api.debug-setup":{"id":"routes/api.debug-setup","parentId":"root","path":"api/debug-setup","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.debug-setup-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.recapture":{"id":"routes/api.recapture","parentId":"root","path":"api/recapture","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.recapture-l0sNRNKZ.js","imports":[],"css":[]},"routes/entity.$sha.$":{"id":"routes/entity.$sha.$","parentId":"root","path":"entity/:sha/*","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/entity._sha._-8Els_3Wb.js","imports":["/assets/ReportIssueModal-BORLgi0X.js","/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/InteractivePreview-XDSzQLOY.js","/assets/entityVersioning-Bk_YB1jM.js","/assets/ScenarioPreview-Bi-YUMa-.js","/assets/ScenarioViewer-4D2vLLJz.js","/assets/SafeScreenshot-Bual6h18.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/LogViewer-CRcT5fOZ.js","/assets/loader-circle-BXPKbHEb.js","/assets/settings-5zF_GOcS.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/circle-check-BACUUf75.js","/assets/triangle-alert-D7k-ArFa.js","/assets/index-D-zYbzFZ.js","/assets/LibraryFunctionPreview-BYVx9KFp.js","/assets/circle-alert-IdsgAK39.js","/assets/file-text-LM0mgxXE.js","/assets/chart-column-B8fb6wnw.js"],"css":["/assets/InteractivePreview-CMKNK2uU.css"]},"routes/api.analyze":{"id":"routes/api.analyze","parentId":"root","path":"api/analyze","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.analyze-l0sNRNKZ.js","imports":[],"css":[]},"routes/simulations":{"id":"routes/simulations","parentId":"root","path":"simulations","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/simulations-BQ-02-jB.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/SafeScreenshot-Bual6h18.js","/assets/entityStatus-BEqj2qBy.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/clock-vWeoCemX.js","/assets/file-text-LM0mgxXE.js","/assets/chart-column-B8fb6wnw.js"],"css":[]},"routes/api.events":{"id":"routes/api.events","parentId":"root","path":"api/events","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.events-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.memory":{"id":"routes/api.memory","parentId":"root","path":"api/memory","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.memory-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.queue":{"id":"routes/api.queue","parentId":"root","path":"api/queue","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.queue-l0sNRNKZ.js","imports":[],"css":[]},"routes/dev.empty":{"id":"routes/dev.empty","parentId":"root","path":"dev/empty","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/dev.empty-DIOEw_3i.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/ScenarioViewer-4D2vLLJz.js","/assets/InteractivePreview-XDSzQLOY.js","/assets/LogViewer-CRcT5fOZ.js","/assets/SafeScreenshot-Bual6h18.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/ReportIssueModal-BORLgi0X.js","/assets/settings-5zF_GOcS.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/circle-check-BACUUf75.js","/assets/triangle-alert-D7k-ArFa.js","/assets/index-D-zYbzFZ.js"],"css":["/assets/InteractivePreview-CMKNK2uU.css"]},"routes/settings":{"id":"routes/settings","parentId":"root","path":"settings","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/settings-Dc4MlMpK.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js"],"css":[]},"routes/static.$":{"id":"routes/static.$","parentId":"root","path":"static/*","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/static._-l0sNRNKZ.js","imports":[],"css":[]},"routes/_index":{"id":"routes/_index","parentId":"root","index":true,"hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/_index-BC200mfN.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/useToast-Ddo4UQv7.js","/assets/LogViewer-CRcT5fOZ.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/SafeScreenshot-Bual6h18.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/circle-check-BACUUf75.js","/assets/settings-5zF_GOcS.js","/assets/zap-_jw-9DCp.js","/assets/loader-circle-BXPKbHEb.js","/assets/file-text-LM0mgxXE.js","/assets/chart-column-B8fb6wnw.js"],"css":[]},"routes/files":{"id":"routes/files","parentId":"root","path":"files","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/files-Dxh9CcaV.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/entityVersioning-Bk_YB1jM.js","/assets/LibraryFunctionPreview-BYVx9KFp.js","/assets/SafeScreenshot-Bual6h18.js","/assets/entityStatus-BEqj2qBy.js","/assets/triangle-alert-D7k-ArFa.js","/assets/file-text-LM0mgxXE.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/chart-column-B8fb6wnw.js","/assets/clock-vWeoCemX.js"],"css":[]},"routes/git":{"id":"routes/git","parentId":"root","path":"git","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/git-BXmqrWCH.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/useToast-Ddo4UQv7.js","/assets/LogViewer-CRcT5fOZ.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/entityVersioning-Bk_YB1jM.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/zap-_jw-9DCp.js","/assets/circle-alert-IdsgAK39.js","/assets/circle-check-BACUUf75.js","/assets/SafeScreenshot-Bual6h18.js","/assets/file-text-LM0mgxXE.js","/assets/chart-column-B8fb6wnw.js"],"css":[]}},"url":"/assets/manifest-1af162d4.js","version":"1af162d4"};
|
|
1
|
+
window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-DiP0q291.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/index-D-zYbzFZ.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/root-D0s7DnXb.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/index-D-zYbzFZ.js","/assets/ReportIssueModal-BORLgi0X.js","/assets/loader-circle-BXPKbHEb.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/settings-5zF_GOcS.js","/assets/useToast-Ddo4UQv7.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/LogViewer-CRcT5fOZ.js","/assets/circle-check-BACUUf75.js","/assets/clock-vWeoCemX.js","/assets/file-text-LM0mgxXE.js","/assets/triangle-alert-D7k-ArFa.js"],"css":[]},"routes/entity.$sha_.edit.$scenarioId":{"id":"routes/entity.$sha_.edit.$scenarioId","parentId":"root","path":"entity/:sha/edit/:scenarioId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/entity._sha_.edit._scenarioId-YJz_igar.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/InteractivePreview-XDSzQLOY.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/index-D-zYbzFZ.js"],"css":["/assets/InteractivePreview-CMKNK2uU.css"]},"routes/entity.$sha_.create-scenario":{"id":"routes/entity.$sha_.create-scenario","parentId":"root","path":"entity/:sha/create-scenario","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/entity._sha_.create-scenario-C3FZJx1w.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/InteractivePreview-XDSzQLOY.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/index-D-zYbzFZ.js"],"css":["/assets/InteractivePreview-CMKNK2uU.css"]},"routes/api.generate-scenario-data":{"id":"routes/api.generate-scenario-data","parentId":"root","path":"api/generate-scenario-data","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.generate-scenario-data-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.llm-calls.$entitySha":{"id":"routes/api.llm-calls.$entitySha","parentId":"root","path":"api/llm-calls/:entitySha","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.llm-calls._entitySha-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.branch-entity-diff":{"id":"routes/api.branch-entity-diff","parentId":"root","path":"api/branch-entity-diff","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.branch-entity-diff-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.capture-screenshot":{"id":"routes/api.capture-screenshot","parentId":"root","path":"api/capture-screenshot","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.capture-screenshot-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.recapture-scenario":{"id":"routes/api.recapture-scenario","parentId":"root","path":"api/recapture-scenario","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.recapture-scenario-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.logs.$projectSlug":{"id":"routes/api.logs.$projectSlug","parentId":"root","path":"api/logs/:projectSlug","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.logs._projectSlug-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.execute-function":{"id":"routes/api.execute-function","parentId":"root","path":"api/execute-function","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.execute-function-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.interactive-mode":{"id":"routes/api.interactive-mode","parentId":"root","path":"api/interactive-mode","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.interactive-mode-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.delete-scenario":{"id":"routes/api.delete-scenario","parentId":"root","path":"api/delete-scenario","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.delete-scenario-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.generate-report":{"id":"routes/api.generate-report","parentId":"root","path":"api/generate-report","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.generate-report-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.process-status":{"id":"routes/api.process-status","parentId":"root","path":"api/process-status","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.process-status-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.save-scenarios":{"id":"routes/api.save-scenarios","parentId":"root","path":"api/save-scenarios","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.save-scenarios-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.kill-process":{"id":"routes/api.kill-process","parentId":"root","path":"api/kill-process","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.kill-process-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.screenshot.$":{"id":"routes/api.screenshot.$","parentId":"root","path":"api/screenshot/*","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.screenshot._-l0sNRNKZ.js","imports":[],"css":[]},"routes/activity.($tab)":{"id":"routes/activity.($tab)","parentId":"root","path":"activity/:tab?","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/activity.(_tab)-CxvZPkCv.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/settings-5zF_GOcS.js","/assets/file-text-LM0mgxXE.js","/assets/LogViewer-CRcT5fOZ.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/ScenarioPreview-Bi-YUMa-.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/chart-column-B8fb6wnw.js","/assets/circle-alert-IdsgAK39.js","/assets/SafeScreenshot-Bual6h18.js","/assets/LibraryFunctionPreview-BYVx9KFp.js"],"css":[]},"routes/api.debug-setup":{"id":"routes/api.debug-setup","parentId":"root","path":"api/debug-setup","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.debug-setup-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.recapture":{"id":"routes/api.recapture","parentId":"root","path":"api/recapture","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.recapture-l0sNRNKZ.js","imports":[],"css":[]},"routes/entity.$sha.$":{"id":"routes/entity.$sha.$","parentId":"root","path":"entity/:sha/*","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/entity._sha._-C6fctQ5v.js","imports":["/assets/ReportIssueModal-BORLgi0X.js","/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/InteractivePreview-XDSzQLOY.js","/assets/entityVersioning-Bk_YB1jM.js","/assets/ScenarioPreview-Bi-YUMa-.js","/assets/ScenarioViewer-4D2vLLJz.js","/assets/SafeScreenshot-Bual6h18.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/LogViewer-CRcT5fOZ.js","/assets/loader-circle-BXPKbHEb.js","/assets/settings-5zF_GOcS.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/circle-check-BACUUf75.js","/assets/triangle-alert-D7k-ArFa.js","/assets/index-D-zYbzFZ.js","/assets/LibraryFunctionPreview-BYVx9KFp.js","/assets/circle-alert-IdsgAK39.js","/assets/file-text-LM0mgxXE.js","/assets/chart-column-B8fb6wnw.js"],"css":["/assets/InteractivePreview-CMKNK2uU.css"]},"routes/api.analyze":{"id":"routes/api.analyze","parentId":"root","path":"api/analyze","hasAction":true,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.analyze-l0sNRNKZ.js","imports":[],"css":[]},"routes/simulations":{"id":"routes/simulations","parentId":"root","path":"simulations","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/simulations-BQ-02-jB.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/SafeScreenshot-Bual6h18.js","/assets/entityStatus-BEqj2qBy.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/clock-vWeoCemX.js","/assets/file-text-LM0mgxXE.js","/assets/chart-column-B8fb6wnw.js"],"css":[]},"routes/api.events":{"id":"routes/api.events","parentId":"root","path":"api/events","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.events-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.memory":{"id":"routes/api.memory","parentId":"root","path":"api/memory","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.memory-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.queue":{"id":"routes/api.queue","parentId":"root","path":"api/queue","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/api.queue-l0sNRNKZ.js","imports":[],"css":[]},"routes/dev.empty":{"id":"routes/dev.empty","parentId":"root","path":"dev/empty","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/dev.empty-DIOEw_3i.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/ScenarioViewer-4D2vLLJz.js","/assets/InteractivePreview-XDSzQLOY.js","/assets/LogViewer-CRcT5fOZ.js","/assets/SafeScreenshot-Bual6h18.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/ReportIssueModal-BORLgi0X.js","/assets/settings-5zF_GOcS.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/circle-check-BACUUf75.js","/assets/triangle-alert-D7k-ArFa.js","/assets/index-D-zYbzFZ.js"],"css":["/assets/InteractivePreview-CMKNK2uU.css"]},"routes/settings":{"id":"routes/settings","parentId":"root","path":"settings","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/settings-Dc4MlMpK.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js"],"css":[]},"routes/static.$":{"id":"routes/static.$","parentId":"root","path":"static/*","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/static._-l0sNRNKZ.js","imports":[],"css":[]},"routes/_index":{"id":"routes/_index","parentId":"root","index":true,"hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/_index-BC200mfN.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/useToast-Ddo4UQv7.js","/assets/LogViewer-CRcT5fOZ.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/SafeScreenshot-Bual6h18.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/circle-check-BACUUf75.js","/assets/settings-5zF_GOcS.js","/assets/zap-_jw-9DCp.js","/assets/loader-circle-BXPKbHEb.js","/assets/file-text-LM0mgxXE.js","/assets/chart-column-B8fb6wnw.js"],"css":[]},"routes/files":{"id":"routes/files","parentId":"root","path":"files","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/files-Dxh9CcaV.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/entityVersioning-Bk_YB1jM.js","/assets/LibraryFunctionPreview-BYVx9KFp.js","/assets/SafeScreenshot-Bual6h18.js","/assets/entityStatus-BEqj2qBy.js","/assets/triangle-alert-D7k-ArFa.js","/assets/file-text-LM0mgxXE.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/chart-column-B8fb6wnw.js","/assets/clock-vWeoCemX.js"],"css":[]},"routes/git":{"id":"routes/git","parentId":"root","path":"git","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/git-BXmqrWCH.js","imports":["/assets/chunk-WWGJGFF6-De6i8FUT.js","/assets/useLastLogLine-AlhS7g5F.js","/assets/useToast-Ddo4UQv7.js","/assets/LogViewer-CRcT5fOZ.js","/assets/EntityTypeIcon-D5ZHFomX.js","/assets/entityVersioning-Bk_YB1jM.js","/assets/createLucideIcon-CS7XDrKv.js","/assets/zap-_jw-9DCp.js","/assets/circle-alert-IdsgAK39.js","/assets/circle-check-BACUUf75.js","/assets/SafeScreenshot-Bual6h18.js","/assets/file-text-LM0mgxXE.js","/assets/chart-column-B8fb6wnw.js"],"css":[]}},"url":"/assets/manifest-e039ab42.js","version":"e039ab42"};
|
|
@@ -2,7 +2,7 @@ import{r as i,j as e,B as U,a as X,b as Y,L as T,w as Z,M as J,C as ee,S as te,D
|
|
|
2
2
|
w-full aspect-square p-3 cursor-pointer focus:outline-none
|
|
3
3
|
flex flex-col items-center justify-center gap-1 text-[#626262]
|
|
4
4
|
hover:bg-[#d8d8d8] text-xs font-ibmPlexSans uppercase
|
|
5
|
-
`,onClick:p,children:[e.jsx("div",{className:`${o?"bg-primary-100 text-cygray-10":""} w-10 h-10 rounded-lg flex items-center justify-center`,children:n&&h}),e.jsx("span",{className:`${o?"text-primary-100":""} whitespace-nowrap`,children:u})]})}const pe="/assets/cy-logo-cli-C1gnJVOL.svg";const fe=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],B=D("activity",fe);const ge=[["path",{d:"M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1uwlt4"}],["path",{d:"M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z",key:"10291m"}],["path",{d:"M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z",key:"1tqoq1"}],["path",{d:"M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1x6lto"}]],ye=D("component",ge);const je=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],ve=D("file",je);const ke=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],H=D("git-commit-horizontal",ke);const be=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Ce=D("house",be);const we=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],Ne=D("panels-top-left",we);function Ae(){const t=U(),o=X(),[d,h]=i.useState(),[u,n]=i.useState(!1),[l,p]=i.useState(!1),[M,A]=i.useState(null),m=Y();i.useEffect(()=>{m.state==="idle"&&!m.data&&m.load("/api/generate-report")},[m]);const v=m.data?.defaultEmail||"",r={width:"24px",height:"24px",strokeWidth:1.5},k=[{id:"dashboard",icon:e.jsx(Ce,{style:r}),link:"/",name:"Dashboard"},{id:"simulations",icon:e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:r,children:[e.jsx("path",{d:"M9 12.75V15.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6 15.75H12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.75 12.7498L11.325 8.17483C11.6067 7.89873 11.9858 7.7447 12.3803 7.7461C12.7747 7.74751 13.1528 7.90423 13.4325 8.18233L16.5 11.2498",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6 8.25C6.82843 8.25 7.5 7.57843 7.5 6.75C7.5 5.92157 6.82843 5.25 6 5.25C5.17157 5.25 4.5 5.92157 4.5 6.75C4.5 7.57843 5.17157 8.25 6 8.25Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M15 2.25H3C2.17157 2.25 1.5 2.92157 1.5 3.75V11.25C1.5 12.0784 2.17157 12.75 3 12.75H15C15.8284 12.75 16.5 12.0784 16.5 11.25V3.75C16.5 2.92157 15.8284 2.25 15 2.25Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),link:"/simulations",name:"Simulations"},{id:"git",icon:e.jsx(H,{style:r}),link:"/git",name:"Git"},{id:"files",icon:e.jsx(ve,{style:r}),link:"/files",name:"Files"},{id:"activity",icon:e.jsx(B,{style:r}),link:"/activity",name:"Activity"},{id:"settings",icon:e.jsx(W,{style:r}),link:"/settings",name:"Settings"},{id:"commits",icon:e.jsx(H,{style:r}),link:"/commits",name:"Commits",hidden:!0},{id:"pages",icon:e.jsx(Ne,{style:r}),link:"/pages",name:"Pages",hidden:!0},{id:"components",icon:e.jsx(ye,{style:r}),link:"/components",name:"Components",hidden:!0}],b=i.useCallback(a=>{const y=k.find(g=>g.id===a);y?.link&&o(y.link),h(g=>g===a?void 0:a)},[k,o]);i.useEffect(()=>{const a={dashboard:["/","/home"],git:["git"],commits:["commits"],simulations:["simulations"],activity:["activity"],files:["files"],settings:["settings"],pages:["pages"],components:["components"]};for(const[y,g]of Object.entries(a))if(g.some(j=>j==="/"?t.pathname==="/":t.pathname.includes(j))){h(y);return}h(void 0)},[t]);const f=async()=>{p(!0);try{const{default:a}=await le(async()=>{const{default:j}=await import("./html2canvas-pro.esm-XQCGvadH.js");return{default:j}},[]),g=(await a(document.body)).toDataURL("image/jpeg",.8);A(g),n(!0)}catch(a){console.error("Screenshot capture failed:",a),n(!0)}finally{p(!1)}},N=()=>{n(!1),A(null)},S={source:"navbar",currentUrl:t.pathname};return e.jsxs(e.Fragment,{children:[e.jsxs("div",{id:"sidebar",className:"relative w-full h-screen bg-cygray-30 flex flex-col justify-between py-3",children:[e.jsxs("div",{className:"w-full flex flex-col items-center",children:[e.jsx("div",{children:e.jsx(T,{to:"/",className:"flex items-center justify-center h-20",children:e.jsx("img",{src:pe,alt:"CodeYam",className:"h-8"})})}),k.filter(a=>!a.hidden).map(a=>e.jsx(ue,{id:a.id,selected:a.id===d,onClick:b,icon:a.icon,name:a.name},`sidebar-button-${a.id}`))]}),e.jsx("div",{className:"w-full flex flex-col items-center pb-2",children:e.jsxs("button",{onClick:()=>{f()},disabled:l,className:"flex flex-col items-center gap-1 p-2 rounded-lg text-gray-600 hover:bg-gray-100 hover:text-gray-900 transition-colors disabled:opacity-50 disabled:cursor-wait",title:"Report an issue",children:[l?e.jsx(ce,{style:r,className:"animate-spin"}):e.jsx(oe,{style:r}),e.jsx("span",{className:"text-[10px] font-medium",children:l?"Capturing...":"Report Issue"})]})})]}),e.jsx(re,{isOpen:u,onClose:N,context:S,defaultEmail:v,screenshotDataUrl:M??void 0})]})}function Le({toast:t,onClose:o}){i.useEffect(()=>{const u=t.duration||5e3;if(u>0){const n=setTimeout(()=>{o(t.id)},u);return()=>clearTimeout(n)}},[t.id,t.duration,o]);const d={success:"✅",error:"❌",info:"ℹ️",warning:"⚠️"},h={success:"bg-emerald-50 border-emerald-200 text-emerald-900",error:"bg-red-50 border-red-200 text-red-900",info:"bg-blue-50 border-blue-200 text-blue-900",warning:"bg-amber-50 border-amber-200 text-amber-900"};return e.jsxs("div",{className:`flex items-center gap-3 px-4 py-3 rounded-lg border-2 shadow-lg min-w-[320px] max-w-[500px] animate-[slideIn_0.3s_ease-out] ${h[t.type]}`,children:[e.jsx("span",{className:"text-2xl",children:d[t.type]}),e.jsx("p",{className:"flex-1 text-sm font-medium m-0",children:t.message}),e.jsx("button",{onClick:()=>o(t.id),className:"text-gray-500 hover:text-gray-700 text-xl leading-none bg-transparent border-none cursor-pointer p-0 w-6 h-6 flex items-center justify-center rounded transition-colors hover:bg-black/10",children:"×"})]})}function Se({toasts:t,onClose:o}){return t.length===0?null:e.jsxs("div",{className:"fixed top-4 right-4 z-10000 flex flex-col gap-2",children:[e.jsx("style",{children:`
|
|
5
|
+
`,onClick:p,children:[e.jsx("div",{className:`${o?"bg-primary-100 text-cygray-10":""} w-10 h-10 rounded-lg flex items-center justify-center`,children:n&&h}),e.jsx("span",{className:`${o?"text-primary-100":""} whitespace-nowrap`,children:u})]})}const pe="/assets/cy-logo-cli-C1gnJVOL.svg";const fe=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],B=D("activity",fe);const ge=[["path",{d:"M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1uwlt4"}],["path",{d:"M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z",key:"10291m"}],["path",{d:"M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z",key:"1tqoq1"}],["path",{d:"M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z",key:"1x6lto"}]],ye=D("component",ge);const je=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],ve=D("file",je);const ke=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],H=D("git-commit-horizontal",ke);const be=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Ce=D("house",be);const we=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],Ne=D("panels-top-left",we);function Ae(){const t=U(),o=X(),[d,h]=i.useState(),[u,n]=i.useState(!1),[l,p]=i.useState(!1),[M,A]=i.useState(null),m=Y();i.useEffect(()=>{m.state==="idle"&&!m.data&&m.load("/api/generate-report")},[m]);const v=m.data?.defaultEmail||"",r={width:"24px",height:"24px",strokeWidth:1.5},k=[{id:"dashboard",icon:e.jsx(Ce,{style:r}),link:"/",name:"Dashboard"},{id:"simulations",icon:e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:r,children:[e.jsx("path",{d:"M9 12.75V15.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6 15.75H12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.75 12.7498L11.325 8.17483C11.6067 7.89873 11.9858 7.7447 12.3803 7.7461C12.7747 7.74751 13.1528 7.90423 13.4325 8.18233L16.5 11.2498",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6 8.25C6.82843 8.25 7.5 7.57843 7.5 6.75C7.5 5.92157 6.82843 5.25 6 5.25C5.17157 5.25 4.5 5.92157 4.5 6.75C4.5 7.57843 5.17157 8.25 6 8.25Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M15 2.25H3C2.17157 2.25 1.5 2.92157 1.5 3.75V11.25C1.5 12.0784 2.17157 12.75 3 12.75H15C15.8284 12.75 16.5 12.0784 16.5 11.25V3.75C16.5 2.92157 15.8284 2.25 15 2.25Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),link:"/simulations",name:"Simulations"},{id:"git",icon:e.jsx(H,{style:r}),link:"/git",name:"Git"},{id:"files",icon:e.jsx(ve,{style:r}),link:"/files",name:"Files"},{id:"activity",icon:e.jsx(B,{style:r}),link:"/activity",name:"Activity"},{id:"settings",icon:e.jsx(W,{style:r}),link:"/settings",name:"Settings"},{id:"commits",icon:e.jsx(H,{style:r}),link:"/commits",name:"Commits",hidden:!0},{id:"pages",icon:e.jsx(Ne,{style:r}),link:"/pages",name:"Pages",hidden:!0},{id:"components",icon:e.jsx(ye,{style:r}),link:"/components",name:"Components",hidden:!0}],b=i.useCallback(a=>{const y=k.find(g=>g.id===a);y?.link&&o(y.link),h(g=>g===a?void 0:a)},[k,o]);i.useEffect(()=>{const a={dashboard:["/","/home"],git:["git"],commits:["commits"],simulations:["simulations"],activity:["activity"],files:["files"],settings:["settings"],pages:["pages"],components:["components"]};for(const[y,g]of Object.entries(a))if(g.some(j=>j==="/"?t.pathname==="/":t.pathname.includes(j))){h(y);return}h(void 0)},[t]);const f=async()=>{p(!0);try{const{default:a}=await le(async()=>{const{default:j}=await import("./html2canvas-pro.esm-XQCGvadH.js");return{default:j}},[]),g=(await a(document.body,{scale:.5})).toDataURL("image/jpeg",.8);A(g),n(!0)}catch(a){console.error("Screenshot capture failed:",a),n(!0)}finally{p(!1)}},N=()=>{n(!1),A(null)},S={source:"navbar",currentUrl:t.pathname};return e.jsxs(e.Fragment,{children:[e.jsxs("div",{id:"sidebar",className:"relative w-full h-screen bg-cygray-30 flex flex-col justify-between py-3",children:[e.jsxs("div",{className:"w-full flex flex-col items-center",children:[e.jsx("div",{children:e.jsx(T,{to:"/",className:"flex items-center justify-center h-20",children:e.jsx("img",{src:pe,alt:"CodeYam",className:"h-8"})})}),k.filter(a=>!a.hidden).map(a=>e.jsx(ue,{id:a.id,selected:a.id===d,onClick:b,icon:a.icon,name:a.name},`sidebar-button-${a.id}`))]}),e.jsx("div",{className:"w-full flex flex-col items-center pb-2",children:e.jsxs("button",{onClick:()=>{f()},disabled:l,className:"flex flex-col items-center gap-1 p-2 rounded-lg text-gray-600 hover:bg-gray-100 hover:text-gray-900 transition-colors disabled:opacity-50 disabled:cursor-wait",title:"Report an issue",children:[l?e.jsx(ce,{style:r,className:"animate-spin"}):e.jsx(oe,{style:r}),e.jsx("span",{className:"text-[10px] font-medium",children:l?"Capturing...":"Report Issue"})]})})]}),e.jsx(re,{isOpen:u,onClose:N,context:S,defaultEmail:v,screenshotDataUrl:M??void 0})]})}function Le({toast:t,onClose:o}){i.useEffect(()=>{const u=t.duration||5e3;if(u>0){const n=setTimeout(()=>{o(t.id)},u);return()=>clearTimeout(n)}},[t.id,t.duration,o]);const d={success:"✅",error:"❌",info:"ℹ️",warning:"⚠️"},h={success:"bg-emerald-50 border-emerald-200 text-emerald-900",error:"bg-red-50 border-red-200 text-red-900",info:"bg-blue-50 border-blue-200 text-blue-900",warning:"bg-amber-50 border-amber-200 text-amber-900"};return e.jsxs("div",{className:`flex items-center gap-3 px-4 py-3 rounded-lg border-2 shadow-lg min-w-[320px] max-w-[500px] animate-[slideIn_0.3s_ease-out] ${h[t.type]}`,children:[e.jsx("span",{className:"text-2xl",children:d[t.type]}),e.jsx("p",{className:"flex-1 text-sm font-medium m-0",children:t.message}),e.jsx("button",{onClick:()=>o(t.id),className:"text-gray-500 hover:text-gray-700 text-xl leading-none bg-transparent border-none cursor-pointer p-0 w-6 h-6 flex items-center justify-center rounded transition-colors hover:bg-black/10",children:"×"})]})}function Se({toasts:t,onClose:o}){return t.length===0?null:e.jsxs("div",{className:"fixed top-4 right-4 z-10000 flex flex-col gap-2",children:[e.jsx("style",{children:`
|
|
6
6
|
@keyframes slideIn {
|
|
7
7
|
from {
|
|
8
8
|
transform: translateX(400px);
|
package/codeyam-cli/src/webserver/build/server/assets/{index-D4JpXSIO.js → index-iaMjuNME.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"fetch-retry";import{G as Q,H as R,I as V,J as W,K as X,L as Y,P as Z,S as _,d as $,a as aa,b as sa,c as ta,e as oa,f as ia,g as ra,h as ma,i as ea,j as pa,k as la,C as na,F as da,E as ba,D as ua,l as ca,m as Ta,n as Ca,o as ha,p as ya,q as Ba,r as Sa,s as Aa,t as ga,u as Ea,v as Fa,w as Pa,x as ja,y as Da,z as Ma,A as fa,B as qa}from"./server-build-
|
|
1
|
+
import"fetch-retry";import{G as Q,H as R,I as V,J as W,K as X,L as Y,P as Z,S as _,d as $,a as aa,b as sa,c as ta,e as oa,f as ia,g as ra,h as ma,i as ea,j as pa,k as la,C as na,F as da,E as ba,D as ua,l as ca,m as Ta,n as Ca,o as ha,p as ya,q as Ba,r as Sa,s as Aa,t as ga,u as Ea,v as Fa,w as Pa,x as ja,y as Da,z as Ma,A as fa,B as qa}from"./server-build-CpyX1FZX.js";import"typescript";import"kysely";import"react/jsx-runtime";import"node:stream";import"@react-router/node";import"react-router";import"isbot";import"react-dom/server";import"react";import"lucide-react";import"better-sqlite3";import"pg";import"fs";import"path";import"kysely/helpers/sqlite";import"kysely/helpers/postgres";import"fs/promises";import"os";import"prompts";import"chalk";import"crypto";import"react-resizable";import"openai";import"p-queue";import"p-retry";import"child_process";import"util";import"@aws-sdk/client-dynamodb";import"lru-cache";import"pluralize";import"piscina";import"json5";import"@aws-sdk/util-dynamodb";import"dotenv";import"events";import"uuid";import"url";import"react-syntax-highlighter";import"react-syntax-highlighter/dist/cjs/styles/prism/index.js";import"node:crypto";import"v8";import"react-diff-viewer-continued";export{Q as AnalysisBranchesTableColumns,R as BranchesTableColumns,V as CommitsTableColumns,W as EntitiesTableColumns,X as EntityBranchesTableColumns,Y as FilesTableColumns,Z as ProjectsTableColumns,_ as ScenariosTableColumns,$ as dbToAnalysis,aa as dbToAnalysisBranch,sa as dbToBranch,ta as dbToCommit,oa as dbToEntity,ia as dbToFile,ra as dbToProject,ma as dbToScenario,ea as dbToUserScenario,pa as deleteScenarios,la as generateSha,na as getDatabase,da as getJsonHelper,ba as getPostgreDatabase,ua as getSqliteDatabase,ca as loadAnalyses,Ta as loadAnalysis,Ca as loadBranches,ha as loadCommitBranches,ya as loadCommits,Ba as loadEntities,Sa as loadEntity,Aa as loadFiles,ga as loadProject,Ea as updateCommitMetadata,Fa as updateFreshAnalysisMetadata,Pa as updateFreshAnalysisStatus,ja as updateProjectMetadata,Da as upsertCommitBranches,Ma as upsertCommits,fa as upsertGithubUser,qa as upsertScenarios};
|