viba-cli 0.27.0 → 0.28.0
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/fallback-build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +3 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -2
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +3 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -2
- package/.next/server/app/credentials/page/server-reference-manifest.json +7 -7
- package/.next/server/app/credentials/page.js.nft.json +1 -1
- package/.next/server/app/credentials/page_client-reference-manifest.js +1 -1
- package/.next/server/app/credentials.html +1 -1
- package/.next/server/app/credentials.rsc +4 -3
- package/.next/server/app/credentials.segments/_full.segment.rsc +4 -3
- package/.next/server/app/credentials.segments/_head.segment.rsc +1 -1
- package/.next/server/app/credentials.segments/_index.segment.rsc +3 -2
- package/.next/server/app/credentials.segments/_tree.segment.rsc +3 -2
- package/.next/server/app/credentials.segments/credentials/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/credentials.segments/credentials.segment.rsc +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +4 -3
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +4 -3
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +3 -2
- package/.next/server/app/index.segments/_tree.segment.rsc +3 -2
- package/.next/server/app/new/page/server-reference-manifest.json +26 -26
- package/.next/server/app/new/page.js.nft.json +1 -1
- package/.next/server/app/new/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page/server-reference-manifest.json +26 -26
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/session/[sessionId]/page/server-reference-manifest.json +19 -34
- package/.next/server/app/session/[sessionId]/page.js.nft.json +1 -1
- package/.next/server/app/session/[sessionId]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__01151db2._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__01151db2._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0522f852._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__30652385._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__30652385._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__352d2b3c._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__352d2b3c._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__4c388861._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__4c388861._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__59834c63._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__59834c63._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__6c63d5b8._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__6c63d5b8._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__9201693f._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__9201693f._.js.map +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__e720c99b._.js → [root-of-the-server]__b2d91bdd._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__b2d91bdd._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__c790b631._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__c790b631._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d5eaad6d._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d5eaad6d._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__e5ccf6ef._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__e5ccf6ef._.js.map +1 -0
- package/.next/server/chunks/ssr/{node_modules_8cba5059._.js → node_modules_1924b56e._.js} +2 -2
- package/.next/server/chunks/ssr/node_modules_1924b56e._.js.map +1 -0
- package/.next/server/chunks/ssr/{node_modules_e604472b._.js → node_modules_4ebcf1df._.js} +2 -2
- package/.next/server/chunks/ssr/node_modules_4ebcf1df._.js.map +1 -0
- package/.next/server/chunks/ssr/{node_modules_8d27431f._.js → node_modules_9819fed1._.js} +2 -2
- package/.next/server/chunks/ssr/node_modules_9819fed1._.js.map +1 -0
- package/.next/server/chunks/ssr/{node_modules_61fa9608._.js → node_modules_a6b22d4e._.js} +2 -2
- package/.next/server/chunks/ssr/node_modules_a6b22d4e._.js.map +1 -0
- package/.next/server/chunks/ssr/src_app_credentials_page_tsx_63d8d34a._.js +1 -1
- package/.next/server/chunks/ssr/src_app_credentials_page_tsx_63d8d34a._.js.map +1 -1
- package/.next/server/chunks/ssr/src_app_session_[sessionId]_SessionPageClient_tsx_dab490d7._.js +1 -1
- package/.next/server/chunks/ssr/src_app_session_[sessionId]_SessionPageClient_tsx_dab490d7._.js.map +1 -1
- package/.next/server/chunks/ssr/src_components_GitRepoSelector_tsx_05c81afa._.js +8 -2
- package/.next/server/chunks/ssr/src_components_GitRepoSelector_tsx_05c81afa._.js.map +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +46 -61
- package/.next/static/chunks/13c27cbcbed10be4.js +9 -0
- package/.next/static/chunks/2473c16c0c2f6b5f.css +2 -0
- package/.next/static/chunks/2648731e67ebd2ac.js +1 -0
- package/.next/static/chunks/453fc76d2d553c51.js +3 -0
- package/.next/static/chunks/63e62f1fed4c4271.js +3 -0
- package/.next/static/chunks/afd3fb06f06c56af.js +3 -0
- package/.next/static/chunks/d658bac82c8382da.js +3 -0
- package/.next/static/chunks/dc6ca47e0eb2b1af.css +1 -0
- package/package.json +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__44008467._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__44008467._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d0ecc669._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__d0ecc669._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__e720c99b._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__f797cdfb._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__f797cdfb._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_61fa9608._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_8cba5059._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_8d27431f._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_e604472b._.js.map +0 -1
- package/.next/static/chunks/01ea2eea578d04e4.js +0 -3
- package/.next/static/chunks/0fe747dafb7e669b.js +0 -3
- package/.next/static/chunks/3ed77fc1d432b1ee.css +0 -3
- package/.next/static/chunks/6569d5ce24eb155c.js +0 -3
- package/.next/static/chunks/9a5719fb5b563570.js +0 -3
- package/.next/static/chunks/c8a39071afb558db.js +0 -1
- package/.next/static/chunks/f46bab62009fa1fe.js +0 -3
- /package/.next/static/{PPdLLbDtsQuxOYX2tF4ds → FS2_5AqvTArHxxuNAA0Or}/_buildManifest.js +0 -0
- /package/.next/static/{PPdLLbDtsQuxOYX2tF4ds → FS2_5AqvTArHxxuNAA0Or}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{PPdLLbDtsQuxOYX2tF4ds → FS2_5AqvTArHxxuNAA0Or}/_ssgManifest.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
|
|
2
|
-
globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":68027,"name":"*","chunks":[],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":[],"async":false},"[project]/src/app/page.tsx <module evaluation>":{"id":52683,"name":"*","chunks":["/_next/static/chunks/
|
|
2
|
+
globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":68027,"name":"*","chunks":[],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":[],"async":false},"[project]/src/app/page.tsx <module evaluation>":{"id":52683,"name":"*","chunks":["/_next/static/chunks/63e62f1fed4c4271.js","/_next/static/chunks/13c27cbcbed10be4.js"],"async":false},"[project]/src/app/page.tsx":{"id":52683,"name":"*","chunks":["/_next/static/chunks/63e62f1fed4c4271.js","/_next/static/chunks/13c27cbcbed10be4.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__a457c799._.js"],"async":false}},"52683":{"*":{"id":40777,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__01151db2._.js","server/chunks/ssr/node_modules_1924b56e._.js","server/chunks/ssr/src_components_GitRepoSelector_tsx_05c81afa._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"52683":{"*":{"id":56983,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/icon.png":[],"[project]/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/src/app/layout":[{"path":"static/chunks/2473c16c0c2f6b5f.css","inlined":false},{"path":"static/chunks/dc6ca47e0eb2b1af.css","inlined":false}],"[project]/src/app/page":[{"path":"static/chunks/2473c16c0c2f6b5f.css","inlined":false},{"path":"static/chunks/dc6ca47e0eb2b1af.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/icon.png":["static/chunks/ff1a16fafef87110.js","static/chunks/d2be314c3ece3fbe.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/src/app/layout":[],"[project]/src/app/page":["static/chunks/63e62f1fed4c4271.js","static/chunks/13c27cbcbed10be4.js"]}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"node": {
|
|
3
|
-
"
|
|
3
|
+
"40472a7b7ef1f049da2e8bd7fe83576d75fc359855": {
|
|
4
4
|
"workers": {
|
|
5
5
|
"app/session/[sessionId]/page": {
|
|
6
6
|
"moduleId": 39298,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"exportedName": "deleteSessionInBackground",
|
|
16
16
|
"filename": "src/app/actions/session.ts"
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"40058a5dd4fe0110bbed3fe41e7d2f95d732e6c6eb": {
|
|
19
19
|
"workers": {
|
|
20
20
|
"app/session/[sessionId]/page": {
|
|
21
21
|
"moduleId": 39298,
|
|
@@ -30,22 +30,7 @@
|
|
|
30
30
|
"exportedName": "getSessionDivergence",
|
|
31
31
|
"filename": "src/app/actions/session.ts"
|
|
32
32
|
},
|
|
33
|
-
"
|
|
34
|
-
"workers": {
|
|
35
|
-
"app/session/[sessionId]/page": {
|
|
36
|
-
"moduleId": 39298,
|
|
37
|
-
"async": false,
|
|
38
|
-
"exportedName": "getSessionUncommittedFileCount",
|
|
39
|
-
"filename": "src/app/actions/session.ts"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"layer": {
|
|
43
|
-
"app/session/[sessionId]/page": "action-browser"
|
|
44
|
-
},
|
|
45
|
-
"exportedName": "getSessionUncommittedFileCount",
|
|
46
|
-
"filename": "src/app/actions/session.ts"
|
|
47
|
-
},
|
|
48
|
-
"40e05ecb7f5cff48ddd5d036b6b553c8f67c981ee7": {
|
|
33
|
+
"4000548b94d7eb0c010216c3229a9728e284cca1c7": {
|
|
49
34
|
"workers": {
|
|
50
35
|
"app/session/[sessionId]/page": {
|
|
51
36
|
"moduleId": 39298,
|
|
@@ -60,7 +45,7 @@
|
|
|
60
45
|
"exportedName": "listSessionBaseBranches",
|
|
61
46
|
"filename": "src/app/actions/session.ts"
|
|
62
47
|
},
|
|
63
|
-
"
|
|
48
|
+
"407c06ba83e9ef484dc4dd40665a49ea2ee8af524d": {
|
|
64
49
|
"workers": {
|
|
65
50
|
"app/session/[sessionId]/page": {
|
|
66
51
|
"moduleId": 39298,
|
|
@@ -75,7 +60,7 @@
|
|
|
75
60
|
"exportedName": "mergeSessionToBase",
|
|
76
61
|
"filename": "src/app/actions/session.ts"
|
|
77
62
|
},
|
|
78
|
-
"
|
|
63
|
+
"400725f1148051cfbf3fced2d6edb3e71fc6698ac5": {
|
|
79
64
|
"workers": {
|
|
80
65
|
"app/session/[sessionId]/page": {
|
|
81
66
|
"moduleId": 39298,
|
|
@@ -90,7 +75,7 @@
|
|
|
90
75
|
"exportedName": "rebaseSessionOntoBase",
|
|
91
76
|
"filename": "src/app/actions/session.ts"
|
|
92
77
|
},
|
|
93
|
-
"
|
|
78
|
+
"60faa89b05bb9d2642d6dd0b69949374dbc5bf34d0": {
|
|
94
79
|
"workers": {
|
|
95
80
|
"app/session/[sessionId]/page": {
|
|
96
81
|
"moduleId": 39298,
|
|
@@ -105,7 +90,7 @@
|
|
|
105
90
|
"exportedName": "updateSessionBaseBranch",
|
|
106
91
|
"filename": "src/app/actions/session.ts"
|
|
107
92
|
},
|
|
108
|
-
"
|
|
93
|
+
"60ab993de76937b521b9e4a1da2df42d7febf2d6cb": {
|
|
109
94
|
"workers": {
|
|
110
95
|
"app/session/[sessionId]/page": {
|
|
111
96
|
"moduleId": 39298,
|
|
@@ -120,7 +105,7 @@
|
|
|
120
105
|
"exportedName": "writeSessionPromptFile",
|
|
121
106
|
"filename": "src/app/actions/session.ts"
|
|
122
107
|
},
|
|
123
|
-
"
|
|
108
|
+
"7f4410d0ba93f2b65802d482afaaf91802f0dd3385": {
|
|
124
109
|
"workers": {
|
|
125
110
|
"app/session/[sessionId]/page": {
|
|
126
111
|
"moduleId": 39298,
|
|
@@ -135,7 +120,7 @@
|
|
|
135
120
|
"exportedName": "setTmuxSessionMouseMode",
|
|
136
121
|
"filename": "src/app/actions/git.ts"
|
|
137
122
|
},
|
|
138
|
-
"
|
|
123
|
+
"7f4ddcb7d9b3ef649b59c253b202e1d55eeb96567b": {
|
|
139
124
|
"workers": {
|
|
140
125
|
"app/session/[sessionId]/page": {
|
|
141
126
|
"moduleId": 39298,
|
|
@@ -150,7 +135,7 @@
|
|
|
150
135
|
"exportedName": "setTmuxSessionStatusVisibility",
|
|
151
136
|
"filename": "src/app/actions/git.ts"
|
|
152
137
|
},
|
|
153
|
-
"
|
|
138
|
+
"00034a519b4df93939d7cb484962b6160065294027": {
|
|
154
139
|
"workers": {
|
|
155
140
|
"app/session/[sessionId]/page": {
|
|
156
141
|
"moduleId": 39298,
|
|
@@ -165,7 +150,7 @@
|
|
|
165
150
|
"exportedName": "getConfig",
|
|
166
151
|
"filename": "src/app/actions/config.ts"
|
|
167
152
|
},
|
|
168
|
-
"
|
|
153
|
+
"400298da0103d527a9489bdecff2bac752899b50a6": {
|
|
169
154
|
"workers": {
|
|
170
155
|
"app/session/[sessionId]/page": {
|
|
171
156
|
"moduleId": 39298,
|
|
@@ -180,7 +165,7 @@
|
|
|
180
165
|
"exportedName": "updateConfig",
|
|
181
166
|
"filename": "src/app/actions/config.ts"
|
|
182
167
|
},
|
|
183
|
-
"
|
|
168
|
+
"00ada326ab121d87c94475367c133c02cec8a12d40": {
|
|
184
169
|
"workers": {
|
|
185
170
|
"app/session/[sessionId]/page": {
|
|
186
171
|
"moduleId": 39298,
|
|
@@ -195,7 +180,7 @@
|
|
|
195
180
|
"exportedName": "getHomeDirectory",
|
|
196
181
|
"filename": "src/app/actions/git.ts"
|
|
197
182
|
},
|
|
198
|
-
"
|
|
183
|
+
"406470e196a11de11aee30c1a69a7fe5da3cbc3033": {
|
|
199
184
|
"workers": {
|
|
200
185
|
"app/session/[sessionId]/page": {
|
|
201
186
|
"moduleId": 39298,
|
|
@@ -210,7 +195,7 @@
|
|
|
210
195
|
"exportedName": "listPathEntries",
|
|
211
196
|
"filename": "src/app/actions/git.ts"
|
|
212
197
|
},
|
|
213
|
-
"
|
|
198
|
+
"7ff72bf26c7728c6248db151db436efabe80283dcf": {
|
|
214
199
|
"workers": {
|
|
215
200
|
"app/session/[sessionId]/page": {
|
|
216
201
|
"moduleId": 39298,
|
|
@@ -225,7 +210,7 @@
|
|
|
225
210
|
"exportedName": "saveAttachments",
|
|
226
211
|
"filename": "src/app/actions/git.ts"
|
|
227
212
|
},
|
|
228
|
-
"
|
|
213
|
+
"40355953a8b2de3e711b19416fcf659c2714e9e723": {
|
|
229
214
|
"workers": {
|
|
230
215
|
"app/session/[sessionId]/page": {
|
|
231
216
|
"moduleId": 39298,
|
|
@@ -240,7 +225,7 @@
|
|
|
240
225
|
"exportedName": "consumeSessionLaunchContext",
|
|
241
226
|
"filename": "src/app/actions/session.ts"
|
|
242
227
|
},
|
|
243
|
-
"
|
|
228
|
+
"40dc1f944125634f49d9fdb157ce0b44be8eb55861": {
|
|
244
229
|
"workers": {
|
|
245
230
|
"app/session/[sessionId]/page": {
|
|
246
231
|
"moduleId": 39298,
|
|
@@ -255,7 +240,7 @@
|
|
|
255
240
|
"exportedName": "getSessionMetadata",
|
|
256
241
|
"filename": "src/app/actions/session.ts"
|
|
257
242
|
},
|
|
258
|
-
"
|
|
243
|
+
"4061eab763827ebd637e07e577eb44792f0462b063": {
|
|
259
244
|
"workers": {
|
|
260
245
|
"app/session/[sessionId]/page": {
|
|
261
246
|
"moduleId": 39298,
|
|
@@ -270,7 +255,7 @@
|
|
|
270
255
|
"exportedName": "markSessionInitialized",
|
|
271
256
|
"filename": "src/app/actions/session.ts"
|
|
272
257
|
},
|
|
273
|
-
"
|
|
258
|
+
"7f42709c2b4f654b0196e1662b6a55f5b254eb5760": {
|
|
274
259
|
"workers": {
|
|
275
260
|
"app/session/[sessionId]/page": {
|
|
276
261
|
"moduleId": 39298,
|
|
@@ -285,7 +270,7 @@
|
|
|
285
270
|
"exportedName": "getSessionTerminalSources",
|
|
286
271
|
"filename": "src/app/actions/git.ts"
|
|
287
272
|
},
|
|
288
|
-
"
|
|
273
|
+
"7fd539edccc549dde39c670f3fde910770a3614ee9": {
|
|
289
274
|
"workers": {
|
|
290
275
|
"app/session/[sessionId]/page": {
|
|
291
276
|
"moduleId": 39298,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../.git/FETCH_HEAD","../../../../../.git/HEAD","../../../../../.git/config","../../../../../.git/config.worktree","../../../../../.git/description","../../../../../.git/hooks/applypatch-msg.sample","../../../../../.git/hooks/commit-msg.sample","../../../../../.git/hooks/fsmonitor-watchman.sample","../../../../../.git/hooks/post-update.sample","../../../../../.git/hooks/pre-applypatch.sample","../../../../../.git/hooks/pre-commit.sample","../../../../../.git/hooks/pre-merge-commit.sample","../../../../../.git/hooks/pre-push.sample","../../../../../.git/hooks/pre-rebase.sample","../../../../../.git/hooks/pre-receive.sample","../../../../../.git/hooks/prepare-commit-msg.sample","../../../../../.git/hooks/push-to-checkout.sample","../../../../../.git/hooks/sendemail-validate.sample","../../../../../.git/hooks/update.sample","../../../../../.git/index","../../../../../.git/info/exclude","../../../../../.git/logs/HEAD","../../../../../.git/logs/refs/heads/main","../../../../../.git/logs/refs/remotes/origin/main","../../../../../.git/
|
|
1
|
+
{"version":1,"files":["../../../../../.git/FETCH_HEAD","../../../../../.git/HEAD","../../../../../.git/config","../../../../../.git/config.worktree","../../../../../.git/description","../../../../../.git/hooks/applypatch-msg.sample","../../../../../.git/hooks/commit-msg.sample","../../../../../.git/hooks/fsmonitor-watchman.sample","../../../../../.git/hooks/post-update.sample","../../../../../.git/hooks/pre-applypatch.sample","../../../../../.git/hooks/pre-commit.sample","../../../../../.git/hooks/pre-merge-commit.sample","../../../../../.git/hooks/pre-push.sample","../../../../../.git/hooks/pre-rebase.sample","../../../../../.git/hooks/pre-receive.sample","../../../../../.git/hooks/prepare-commit-msg.sample","../../../../../.git/hooks/push-to-checkout.sample","../../../../../.git/hooks/sendemail-validate.sample","../../../../../.git/hooks/update.sample","../../../../../.git/index","../../../../../.git/info/exclude","../../../../../.git/logs/HEAD","../../../../../.git/logs/refs/heads/main","../../../../../.git/logs/refs/remotes/origin/main","../../../../../.git/objects/pack/pack-41c84d6206344c880828fd4b586c7985a52b877c.idx","../../../../../.git/objects/pack/pack-41c84d6206344c880828fd4b586c7985a52b877c.pack","../../../../../.git/objects/pack/pack-41c84d6206344c880828fd4b586c7985a52b877c.rev","../../../../../.git/refs/heads/main","../../../../../.git/refs/remotes/origin/main","../../../../../.git/refs/tags/v0.1.2","../../../../../.git/refs/tags/v0.1.3","../../../../../.git/refs/tags/v0.10.0","../../../../../.git/refs/tags/v0.11.0","../../../../../.git/refs/tags/v0.12.0","../../../../../.git/refs/tags/v0.13.0","../../../../../.git/refs/tags/v0.14.0","../../../../../.git/refs/tags/v0.15.0","../../../../../.git/refs/tags/v0.16.0","../../../../../.git/refs/tags/v0.17.0","../../../../../.git/refs/tags/v0.18.0","../../../../../.git/refs/tags/v0.19.0","../../../../../.git/refs/tags/v0.2.0","../../../../../.git/refs/tags/v0.20.0","../../../../../.git/refs/tags/v0.21.0","../../../../../.git/refs/tags/v0.22.0","../../../../../.git/refs/tags/v0.23.0","../../../../../.git/refs/tags/v0.24.0","../../../../../.git/refs/tags/v0.25.0","../../../../../.git/refs/tags/v0.26.0","../../../../../.git/refs/tags/v0.27.0","../../../../../.git/refs/tags/v0.28.0","../../../../../.git/refs/tags/v0.3.0","../../../../../.git/refs/tags/v0.4.0","../../../../../.git/refs/tags/v0.4.1","../../../../../.git/refs/tags/v0.5.0","../../../../../.git/refs/tags/v0.6.0","../../../../../.git/refs/tags/v0.7.0","../../../../../.git/refs/tags/v0.8.0","../../../../../.git/refs/tags/v0.9.0","../../../../../node_modules/keytar/build/Release/keytar.node","../../../../../node_modules/keytar/lib/keytar.js","../../../../../node_modules/keytar/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../node_modules/keytar-eb44cd511463a26b","../../../chunks/ssr/[externals]_keytar_23140f5c._.js","../../../chunks/ssr/[root-of-the-server]__11fa4345._.js","../../../chunks/ssr/[root-of-the-server]__4c388861._.js","../../../chunks/ssr/[root-of-the-server]__5afb130a._.js","../../../chunks/ssr/[root-of-the-server]__6c63d5b8._.js","../../../chunks/ssr/[root-of-the-server]__7bf94cba._.js","../../../chunks/ssr/[root-of-the-server]__7cd07782._.js","../../../chunks/ssr/[root-of-the-server]__9201693f._.js","../../../chunks/ssr/[root-of-the-server]__a457c799._.js","../../../chunks/ssr/[root-of-the-server]__edf0aa7a._.js","../../../chunks/ssr/[turbopack]_runtime.js","../../../chunks/ssr/_ff04b309._.js","../../../chunks/ssr/node_modules_4ebcf1df._.js","../../../chunks/ssr/node_modules_d3586d0c._.js","../../../chunks/ssr/node_modules_next_dist_174ae28d._.js","../../../chunks/ssr/node_modules_next_dist_65e60196._.js","../../../chunks/ssr/node_modules_next_dist_client_components_9774470f._.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_45780354.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_ece394eb.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_15817684.js","../../../chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js","../../../chunks/ssr/node_modules_next_dist_f9713a08._.js","../../../chunks/ssr/src_app_0c8a77b8._.js","../../../chunks/ssr/src_app_session_[sessionId]_SessionPageClient_tsx_dab490d7._.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
|
|
2
|
-
globalThis.__RSC_MANIFEST["/session/[sessionId]/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":68027,"name":"*","chunks":[],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":[],"async":false},"[project]/src/app/session/[sessionId]/SessionPageClient.tsx <module evaluation>":{"id":36438,"name":"*","chunks":["/_next/static/chunks/
|
|
2
|
+
globalThis.__RSC_MANIFEST["/session/[sessionId]/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/ff1a16fafef87110.js","/_next/static/chunks/d2be314c3ece3fbe.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":68027,"name":"*","chunks":[],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":[],"async":false},"[project]/src/app/session/[sessionId]/SessionPageClient.tsx <module evaluation>":{"id":36438,"name":"*","chunks":["/_next/static/chunks/d658bac82c8382da.js","/_next/static/chunks/2648731e67ebd2ac.js"],"async":false},"[project]/src/app/session/[sessionId]/SessionPageClient.tsx":{"id":36438,"name":"*","chunks":["/_next/static/chunks/d658bac82c8382da.js","/_next/static/chunks/2648731e67ebd2ac.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__5afb130a._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__a457c799._.js"],"async":false}},"36438":{"*":{"id":96614,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__6c63d5b8._.js","server/chunks/ssr/src_app_session_[sessionId]_SessionPageClient_tsx_dab490d7._.js","server/chunks/ssr/node_modules_4ebcf1df._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"36438":{"*":{"id":59431,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/icon.png":[],"[project]/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/src/app/layout":[{"path":"static/chunks/2473c16c0c2f6b5f.css","inlined":false},{"path":"static/chunks/dc6ca47e0eb2b1af.css","inlined":false}],"[project]/src/app/session/[sessionId]/page":[{"path":"static/chunks/2473c16c0c2f6b5f.css","inlined":false},{"path":"static/chunks/dc6ca47e0eb2b1af.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/icon.png":["static/chunks/ff1a16fafef87110.js","static/chunks/d2be314c3ece3fbe.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":[],"[project]/src/app/layout":[],"[project]/src/app/session/[sessionId]/page":["static/chunks/d658bac82c8382da.js","static/chunks/2648731e67ebd2ac.js"]}}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},36313,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HooksClientContext},18341,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.ServerInsertedHtml},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},50522,37047,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>c],50522);let d=(0,b.default)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);a.s(["KeyRound",()=>d],37047)},54653,9809,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("0062ad53faae846b1bd196423a3b1938ba88998dbc",b.callServer,void 0,b.findSourceMapURL,"listAgentApiCredentials");a.s(["listAgentApiCredentials",()=>c],54653);let d=(0,b.createServerReference)("004af5fceaceb9b5547eb30df9da52e1782ac27d03",b.callServer,void 0,b.findSourceMapURL,"listCredentials");a.s(["listCredentials",()=>d],9809)},15618,a=>{"use strict";let b=(0,a.i(70106).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",()=>b],15618)},5784,a=>{"use strict";let b=(0,a.i(70106).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.s(["ChevronDown",()=>b],5784)},52495,a=>{"use strict";let b=(0,a.i(70106).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],52495)},75756,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("00ada326ab121d87c94475367c133c02cec8a12d40",b.callServer,void 0,b.findSourceMapURL,"getHomeDirectory");a.s(["getHomeDirectory",()=>c])},92596,a=>{"use strict";let b=(0,a.i(70106).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);a.s(["Folder",()=>b],92596)},210,a=>{"use strict";let b=(0,a.i(70106).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);a.s(["ArrowLeft",()=>b],210)},11431,94659,a=>{"use strict";function b(a){return a&&a.replace(/\\/g,"/").split("/").filter(Boolean).pop()||""}function c(a){if(!a)return"";let b=a.replace(/\\/g,"/"),c=b.length>1&&b.endsWith("/")?b.slice(0,-1):b,d=c.lastIndexOf("/");return -1===d?a.includes(":")&&a.length<=3?b:".":0===d?"/":a.includes(":")&&2===d?c.substring(0,3):c.substring(0,d)}function d(a){return/^[a-zA-Z]:[\\/]/.test(a)}a.s(["getBaseName",()=>b,"getDirName",()=>c,"isWindowsAbsolutePath",()=>d],11431);var e=a.i(72131);function f({enabled:a=!0,onConfirm:b,onDismiss:c,canConfirm:d=!0}){(0,e.useEffect)(()=>{if(!a)return;let e=a=>{if("Escape"===a.key){a.preventDefault(),c();return}"Enter"!==a.key||!b||!d||a.defaultPrevented||a.metaKey||a.ctrlKey||a.altKey||a.shiftKey||(a=>{if(!(a instanceof HTMLElement))return!1;let b=a.tagName.toUpperCase();return"INPUT"===b||"TEXTAREA"===b||"SELECT"===b||a.isContentEditable})(a.target)||(a.preventDefault(),b())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[a,b,c,d])}a.s(["useDialogKeyboardShortcuts",()=>f],94659)},75170,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("7fd539edccc549dde39c670f3fde910770a3614ee9",b.callServer,void 0,b.findSourceMapURL,"startTtydProcess");a.s(["startTtydProcess",()=>c])},58866,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("7ff72bf26c7728c6248db151db436efabe80283dcf",b.callServer,void 0,b.findSourceMapURL,"saveAttachments");a.s(["saveAttachments",()=>c])},97543,73881,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("00034a519b4df93939d7cb484962b6160065294027",b.callServer,void 0,b.findSourceMapURL,"getConfig");a.s(["getConfig",()=>c],97543);let d=(0,b.createServerReference)("400298da0103d527a9489bdecff2bac752899b50a6",b.callServer,void 0,b.findSourceMapURL,"updateConfig");a.s(["updateConfig",()=>d],73881)},12627,a=>{"use strict";function b(){}a.s(["SESSIONS_UPDATED_EVENT",0,"viba:sessions-updated","SESSIONS_UPDATED_STORAGE_KEY",0,"viba:sessions-updated-at","notifySessionsUpdated",()=>b])},40777,a=>{"use strict";var b=a.i(87924),c=a.i(71987),d=a.i(96514);function e(){return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("a",{href:"https://github.com/m0o0scar/viba",target:"_blank",rel:"noopener noreferrer","aria-label":"Open Viba GitHub repository",className:"fixed top-0 right-0 z-50 h-20 w-20 cursor-pointer border-l border-b border-gray-400 bg-gray-300/95 shadow-sm backdrop-blur-sm transition-colors hover:bg-gray-500/95",style:{clipPath:"polygon(100% 0, 0 0, 100% 100%)"},children:(0,b.jsx)("span",{className:"absolute left-[67%] top-[33%] -translate-x-1/2 -translate-y-1/2",children:(0,b.jsx)(c.default,{src:"/github.png",alt:"GitHub",width:22,height:22,priority:!0,className:"rotate-45"})})}),(0,b.jsx)("main",{className:"flex min-h-screen flex-col items-center justify-start bg-[radial-gradient(circle_at_top_left,_#e0e7ff,_#f5f7fb_55%)] p-4 md:p-6",children:(0,b.jsx)(d.default,{mode:"home"})})]})}a.s(["default",()=>e])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__01151db2._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-dom.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.ts","../../../../node_modules/lucide-react/src/icons/key-round.ts","../../../../node_modules/lucide-react/src/icons/chevron-right.ts","../../../../src/app/actions/data%3A006974%20%3Ctext/javascript%3E","../../../../src/app/actions/data%3A05c932%20%3Ctext/javascript%3E","../../../../node_modules/lucide-react/src/icons/plus.ts","../../../../node_modules/lucide-react/src/icons/chevron-down.ts","../../../../node_modules/lucide-react/src/icons/external-link.ts","../../../../src/app/actions/data%3A5ae6c5%20%3Ctext/javascript%3E","../../../../node_modules/lucide-react/src/icons/folder.ts","../../../../node_modules/lucide-react/src/icons/arrow-left.ts","../../../../src/lib/path.ts","../../../../src/hooks/useDialogKeyboardShortcuts.ts","../../../../src/app/actions/data%3A15040d%20%3Ctext/javascript%3E","../../../../src/app/actions/data%3Aba742b%20%3Ctext/javascript%3E","../../../../src/app/actions/data%3A986bf6%20%3Ctext/javascript%3E","../../../../src/app/actions/data%3A9f3057%20%3Ctext/javascript%3E","../../../../src/lib/session-updates.ts","../../../../src/app/page.tsx"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.React\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactDOM\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactServerDOMTurbopackClient\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","if (process.env.NEXT_RUNTIME === 'edge') {\n module.exports = require('next/dist/server/route-modules/app-page/module.js')\n} else {\n if (process.env.__NEXT_EXPERIMENTAL_REACT) {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.prod.js')\n }\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.prod.js')\n }\n }\n }\n}\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactJsxRuntime\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z',\n key: '1s6t7t',\n },\n ],\n ['circle', { cx: '16.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'w0ekpg' }],\n];\n\n/**\n * @component @name KeyRound\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/key-round\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst KeyRound = createLucideIcon('key-round', __iconNode);\n\nexport default KeyRound;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm9 18 6-6-6-6', key: 'mthhwq' }]];\n\n/**\n * @component @name ChevronRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/chevron-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronRight = createLucideIcon('chevron-right', __iconNode);\n\nexport default ChevronRight;\n","/* __next_internal_action_entry_do_not_use__ [{\"0062ad53faae846b1bd196423a3b1938ba88998dbc\":\"listAgentApiCredentials\"},\"src/app/actions/credentials.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_3=/*#__PURE__*/createServerReference(\"0062ad53faae846b1bd196423a3b1938ba88998dbc\",callServer,void 0,findSourceMapURL,\"listAgentApiCredentials\");export{$$RSC_SERVER_ACTION_3 as listAgentApiCredentials};","/* __next_internal_action_entry_do_not_use__ [{\"004af5fceaceb9b5547eb30df9da52e1782ac27d03\":\"listCredentials\"},\"src/app/actions/credentials.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"004af5fceaceb9b5547eb30df9da52e1782ac27d03\",callServer,void 0,findSourceMapURL,\"listCredentials\");export{$$RSC_SERVER_ACTION_0 as listCredentials};","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'M12 5v14', key: 's699le' }],\n];\n\n/**\n * @component @name Plus\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/plus\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Plus = createLucideIcon('plus', __iconNode);\n\nexport default Plus;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm6 9 6 6 6-6', key: 'qrunsl' }]];\n\n/**\n * @component @name ChevronDown\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/chevron-down\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronDown = createLucideIcon('chevron-down', __iconNode);\n\nexport default ChevronDown;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M15 3h6v6', key: '1q9fwt' }],\n ['path', { d: 'M10 14 21 3', key: 'gplh6r' }],\n ['path', { d: 'M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6', key: 'a6xqqp' }],\n];\n\n/**\n * @component @name ExternalLink\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/external-link\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ExternalLink = createLucideIcon('external-link', __iconNode);\n\nexport default ExternalLink;\n","/* __next_internal_action_entry_do_not_use__ [{\"00ada326ab121d87c94475367c133c02cec8a12d40\":\"getHomeDirectory\"},\"src/app/actions/git.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"00ada326ab121d87c94475367c133c02cec8a12d40\",callServer,void 0,findSourceMapURL,\"getHomeDirectory\");export{$$RSC_SERVER_ACTION_0 as getHomeDirectory};","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z',\n key: '1kt360',\n },\n ],\n];\n\n/**\n * @component @name Folder\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/folder\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Folder = createLucideIcon('folder', __iconNode);\n\nexport default Folder;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm12 19-7-7 7-7', key: '1l729n' }],\n ['path', { d: 'M19 12H5', key: 'x3x0zl' }],\n];\n\n/**\n * @component @name ArrowLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/arrow-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowLeft = createLucideIcon('arrow-left', __iconNode);\n\nexport default ArrowLeft;\n","export function getBaseName(path: string): string {\n if (!path) return '';\n // Support both Windows (\\) and POSIX (/) separators\n // Using a simpler approach to avoid regex escaping issues in some environments\n const normalized = path.replace(/\\\\/g, '/');\n const parts = normalized.split('/');\n // Filter out empty strings which can happen with trailing slashes or absolute paths\n return parts.filter(Boolean).pop() || '';\n}\n\nexport function getDirName(path: string): string {\n if (!path) return '';\n \n // Normalize separators to / for easier processing\n const normalized = path.replace(/\\\\/g, '/');\n \n // Remove trailing slash if it exists (but not if it's the root '/')\n const withoutTrailing = (normalized.length > 1 && normalized.endsWith('/')) \n ? normalized.slice(0, -1) \n : normalized;\n \n const lastIdx = withoutTrailing.lastIndexOf('/');\n \n if (lastIdx === -1) {\n // No separator found. Could be a relative path or a Windows drive root like \"C:\"\n // For \"C:\\\" or \"C:\", we return the normalized version (C:/ or C:)\n if (path.includes(':') && path.length <= 3) return normalized;\n return '.';\n }\n \n if (lastIdx === 0) return '/';\n \n // On Windows, if we're at \"C:/\", lastIdx might be 2.\n if (path.includes(':') && lastIdx === 2) {\n return withoutTrailing.substring(0, 3); // \"C:/\"\n }\n \n return withoutTrailing.substring(0, lastIdx);\n}\n\nexport function isWindowsAbsolutePath(value: string): boolean {\n return /^[a-zA-Z]:[\\\\/]/.test(value);\n}\n","import { useEffect } from 'react';\n\ntype UseDialogKeyboardShortcutsOptions = {\n enabled?: boolean;\n onConfirm?: () => void | Promise<unknown>;\n onDismiss: () => void;\n canConfirm?: boolean;\n};\n\nconst isEditableTarget = (target: EventTarget | null): boolean => {\n if (!(target instanceof HTMLElement)) return false;\n const tagName = target.tagName.toUpperCase();\n return tagName === 'INPUT' || tagName === 'TEXTAREA' || tagName === 'SELECT' || target.isContentEditable;\n};\n\nexport function useDialogKeyboardShortcuts({\n enabled = true,\n onConfirm,\n onDismiss,\n canConfirm = true,\n}: UseDialogKeyboardShortcutsOptions) {\n useEffect(() => {\n if (!enabled) return;\n\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n event.preventDefault();\n onDismiss();\n return;\n }\n\n if (event.key !== 'Enter') return;\n if (!onConfirm || !canConfirm) return;\n if (event.defaultPrevented) return;\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n if (isEditableTarget(event.target)) return;\n\n event.preventDefault();\n void onConfirm();\n };\n\n window.addEventListener('keydown', handleKeyDown);\n return () => {\n window.removeEventListener('keydown', handleKeyDown);\n };\n }, [enabled, onConfirm, onDismiss, canConfirm]);\n}\n","/* __next_internal_action_entry_do_not_use__ [{\"7fd539edccc549dde39c670f3fde910770a3614ee9\":\"startTtydProcess\"},\"src/app/actions/git.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_10=/*#__PURE__*/createServerReference(\"7fd539edccc549dde39c670f3fde910770a3614ee9\",callServer,void 0,findSourceMapURL,\"startTtydProcess\");export{$$RSC_SERVER_ACTION_10 as startTtydProcess};","/* __next_internal_action_entry_do_not_use__ [{\"7ff72bf26c7728c6248db151db436efabe80283dcf\":\"saveAttachments\"},\"src/app/actions/git.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_19=/*#__PURE__*/createServerReference(\"7ff72bf26c7728c6248db151db436efabe80283dcf\",callServer,void 0,findSourceMapURL,\"saveAttachments\");export{$$RSC_SERVER_ACTION_19 as saveAttachments};","/* __next_internal_action_entry_do_not_use__ [{\"00034a519b4df93939d7cb484962b6160065294027\":\"getConfig\"},\"src/app/actions/config.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"00034a519b4df93939d7cb484962b6160065294027\",callServer,void 0,findSourceMapURL,\"getConfig\");export{$$RSC_SERVER_ACTION_0 as getConfig};","/* __next_internal_action_entry_do_not_use__ [{\"400298da0103d527a9489bdecff2bac752899b50a6\":\"updateConfig\"},\"src/app/actions/config.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_2=/*#__PURE__*/createServerReference(\"400298da0103d527a9489bdecff2bac752899b50a6\",callServer,void 0,findSourceMapURL,\"updateConfig\");export{$$RSC_SERVER_ACTION_2 as updateConfig};","export const SESSIONS_UPDATED_STORAGE_KEY = 'viba:sessions-updated-at';\nexport const SESSIONS_UPDATED_EVENT = 'viba:sessions-updated';\n\nexport function notifySessionsUpdated(): void {\n if (typeof window === 'undefined') return;\n\n try {\n localStorage.setItem(SESSIONS_UPDATED_STORAGE_KEY, new Date().toISOString());\n } catch {\n // Ignore localStorage failures (private mode, quota, etc.)\n }\n\n window.dispatchEvent(new CustomEvent(SESSIONS_UPDATED_EVENT));\n}\n","'use client';\n\nimport Image from \"next/image\";\nimport GitRepoSelector from \"@/components/GitRepoSelector\";\n\nexport default function Home() {\n return (\n <>\n <a\n href=\"https://github.com/m0o0scar/viba\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n aria-label=\"Open Viba GitHub repository\"\n className=\"fixed top-0 right-0 z-50 h-20 w-20 cursor-pointer border-l border-b border-gray-400 bg-gray-300/95 shadow-sm backdrop-blur-sm transition-colors hover:bg-gray-500/95\"\n style={{ clipPath: \"polygon(100% 0, 0 0, 100% 100%)\" }}\n >\n <span className=\"absolute left-[67%] top-[33%] -translate-x-1/2 -translate-y-1/2\">\n <Image src=\"/github.png\" alt=\"GitHub\" width={22} height={22} priority className=\"rotate-45\" />\n </span>\n </a>\n <main className=\"flex min-h-screen flex-col items-center justify-start bg-[radial-gradient(circle_at_top_left,_#e0e7ff,_#f5f7fb_55%)] p-4 md:p-6\">\n <GitRepoSelector mode=\"home\" />\n </main>\n </>\n );\n}\n"],"names":["module","exports","require","vendored","React","ReactDOM","ReactServerDOMTurbopackClient","AppRouterContext","HooksClientContext","ServerInsertedHtml","process","env","NEXT_RUNTIME","__NEXT_EXPERIMENTAL_REACT","NODE_ENV","TURBOPACK","ReactJsxRuntime"],"mappings":"6CAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEC,KAAK,+BCF9BJ,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEE,QAAQ,+BCFjCL,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEG,6BAA6B,8BCFtDN,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACI,gBAAgB,+BCFvCP,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACK,kBAAkB,+BCFzCR,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACM,kBAAkB,+sBCwBjCT,EAA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CAAC,gFCAzP,IAAA,EAAA,EAAA,CAAA,CAAA,MAAsG,IAAM,EAAmC,CAAA,EAAA,EAAA,iBAAb,IAAa,AAAqB,EAAC,KAAxB,wCAAqE,EAAA,UAAU,CAAC,KAAK,EAAE,EAAA,gBAAgB,CAAC,4CCA5I,IAAM,EAAmC,CAAA,EAAA,EAAA,iBAAb,IAAa,AAAqB,EAAC,KAAxB,wCAAqE,EAAA,UAAU,CAAC,KAAK,EAAE,EAAA,gBAAgB,CAAC,0ECG5Z,SAAS,IAUhB,iCAZsC,yDADM,oGCE5C,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAEe,SAAS,IACtB,MACE,CAAA,EAAA,EAAA,IAAA,EAAA,EAAA,QAAA,CAAA,WACE,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CACC,KAAK,mCACL,OAAO,SACP,IAAI,sBACJ,aAAW,8BACX,UAAU,uKACV,MAAO,CAAE,SAAU,iCAAkC,WAErD,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,2EACd,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAK,CAAA,CAAC,IAAI,cAAc,IAAI,SAAS,MAAO,GAAI,OAAQ,GAAI,QAAQ,CAAA,CAAA,EAAC,UAAU,kBAGpF,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,2IACd,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAe,CAAA,CAAC,KAAK,aAI9B","ignoreList":[0,1,2,3,4,5,6,7,8,9,12,13,14,16,17]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
module.exports=[33405,(a,b,c)=>{b.exports=a.x("child_process",()=>require("child_process"))},70722,(a,b,c)=>{b.exports=a.x("tty",()=>require("tty"))},24868,(a,b,c)=>{b.exports=a.x("fs/promises",()=>require("fs/promises"))},46786,(a,b,c)=>{b.exports=a.x("os",()=>require("os"))},37936,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},13095,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
-
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},66085,a=>{"use strict";var b=a.i(24868),c=a.i(46786),d=a.i(14747);let e="viba-agent-api-credentials",f=["codex"],g=null,h=null,i=!1;function j(a){return f.includes(a)}function k(){return h?`Secure credential storage is unavailable: ${h}`:"Secure credential storage is unavailable in this runtime."}async function l(){return g||(g=a.A(45581).then(a=>a.default??a).catch(a=>(h=a instanceof Error?a.message:String(a),i||(i=!0,console.warn(`[agent-api-credentials] ${k()}`)),null))),g}async function m(){let a=await l();if(!a)throw Error(k());return a}function n(a){return`agent-api-${a}`}function o(a){return a.keytarAccount||n(a.agent)}function p(a){return{agent:a.agent,apiProxy:a.apiProxy,createdAt:a.createdAt,updatedAt:a.updatedAt}}function q(a){return!!a&&"object"==typeof a&&"string"==typeof a.agent&&!!j(a.agent)&&"string"==typeof a.createdAt&&"string"==typeof a.updatedAt&&(void 0===a.apiProxy||"string"==typeof a.apiProxy)&&(void 0===a.keytarAccount||"string"==typeof a.keytarAccount)}async function r(){let a=d.default.join(c.default.homedir(),".viba");return await b.default.mkdir(a,{recursive:!0}),d.default.join(a,"agent-api-configs.json")}async function s(a){let c=await r();await b.default.writeFile(c,JSON.stringify(a,null,2),"utf-8")}async function t(){let a=await r();try{let c=await b.default.readFile(a,"utf-8"),d=JSON.parse(c);if(Array.isArray(d))return d.filter(q);if(!d||"object"!=typeof d)return[];let e=Object.entries(d).filter(([a])=>j(a)).map(([a,b])=>b&&"object"==typeof b?void 0===b.agent?{...b,agent:a}:b:null).filter(q);return e.length>0&&await s(e),e}catch(a){if(a?.code==="ENOENT")return[];return console.error("Failed to parse agent API credential metadata:",a),[]}}async function u(){return(await t()).map(p).sort((a,b)=>b.updatedAt.localeCompare(a.updatedAt))}async function v(a,b,c){let d,f;if(!j(a))return{success:!1,error:`Unsupported agent: ${a}`};let g=b.trim();if(!g)return{success:!1,error:"API key is required."};try{d=function(a){let b=a.trim();if(b){try{new URL(b)}catch{throw Error("API proxy must be a valid URL.")}return b}}(c)}catch(a){return{success:!1,error:a.message}}try{f=await m()}catch(a){return{success:!1,error:a.message}}let h=await t(),i=new Date().toISOString(),k=h.findIndex(b=>b.agent===a),l=k>=0?o(h[k]):n(a);if(await f.setPassword(e,l,g),k>=0){let a=h[k];h[k]={...a,apiProxy:d,updatedAt:i,keytarAccount:l}}else h.push({agent:a,apiProxy:d,createdAt:i,updatedAt:i,keytarAccount:l});await s(h);let q=h.find(b=>b.agent===a);return q?{success:!0,credential:p(q)}:{success:!1,error:"Failed to persist agent API credential."}}async function w(a){if(!j(a))return{success:!1,error:`Unsupported agent: ${a}`};let b=await t(),c=b.findIndex(b=>b.agent===a);if(-1===c)return{success:!1,error:"Agent API credential not found."};let[d]=b.splice(c,1);await s(b);let f=await l();return f&&await f.deletePassword(e,o(d)),{success:!0}}async function x(a){if(!j(a))return null;let b=(await t()).find(b=>b.agent===a);if(!b)return null;let c=await l();if(!c)return null;let d=await c.getPassword(e,o(b));return d?{agent:b.agent,apiKey:d,apiProxy:b.apiProxy}:null}a.s(["createOrUpdateAgentApiCredential",()=>v,"deleteAgentApiCredential",()=>w,"getAgentApiCredentialSecret",()=>x,"getAllAgentApiCredentials",()=>u])},70798,a=>{"use strict";var b=a.i(24868),c=a.i(46786),d=a.i(14747);let e="viba-git-credentials",f=null,g=null,h=!1;function i(){return g?`Secure credential storage is unavailable: ${g}`:"Secure credential storage is unavailable in this runtime."}async function j(){return f||(f=a.A(45581).then(a=>a.default??a).catch(a=>(g=a instanceof Error?a.message:String(a),h||(h=!0,console.warn(`[credentials] ${i()}`)),null))),f}async function k(){let a=await j();if(!a)throw Error(i());return a}function l(){return`${Date.now()}-${Math.random().toString(36).slice(2,9)}`}function m(a){return a.trim().replace(/\/$/,"")}function n(a){return`credential-${a}`}function o(a){return`credential-${a}`}function p(a){return a.keytarAccount||n(a.id)}function q(a){return"gitlab"===a.type?{id:a.id,type:"gitlab",username:a.username,serverUrl:a.serverUrl||"https://gitlab.com",createdAt:a.createdAt,updatedAt:a.updatedAt}:{id:a.id,type:"github",username:a.username,createdAt:a.createdAt,updatedAt:a.updatedAt}}async function r(){let a=d.default.join(c.default.homedir(),".viba");return await b.default.mkdir(a,{recursive:!0}),d.default.join(a,"credentials.json")}function s(a,b){return!!a&&"object"==typeof a&&a.type===b&&"string"==typeof a.username&&"string"==typeof a.createdAt&&"string"==typeof a.updatedAt&&("gitlab"!==b||"string"==typeof a.serverUrl)}function t(a){return!!a&&"object"==typeof a&&"string"==typeof a.id&&!!a.id.trim()&&("github"===a.type||"gitlab"===a.type)&&"string"==typeof a.username&&"string"==typeof a.createdAt&&"string"==typeof a.updatedAt&&(void 0===a.keytarAccount||"string"==typeof a.keytarAccount)&&("gitlab"!==a.type||"string"==typeof a.serverUrl)}async function u(a){let c=await r();await b.default.writeFile(c,JSON.stringify(a,null,2),"utf-8")}async function v(){let a=await r();try{let c=await b.default.readFile(a,"utf-8"),d=JSON.parse(c);if(Array.isArray(d))return d.filter(t);if(!d||"object"!=typeof d)return[];let e=[];if(s(d.github,"github")){let a=d.github;e.push({id:l(),type:"github",username:a.username,createdAt:a.createdAt,updatedAt:a.updatedAt,keytarAccount:o("github")})}if(s(d.gitlab,"gitlab")){let a=d.gitlab;e.push({id:l(),type:"gitlab",username:a.username,serverUrl:a.serverUrl,createdAt:a.createdAt,updatedAt:a.updatedAt,keytarAccount:o("gitlab")})}return e.length>0&&await u(e),e}catch(a){if(a?.code==="ENOENT")return[];return console.error("Failed to parse credentials metadata:",a),[]}}async function w(){return(await v()).map(q).sort((a,b)=>b.updatedAt.localeCompare(a.updatedAt))}async function x(a){let b=(await v()).find(b=>b.id===a);return b?q(b):null}async function y(a){let b=(await v()).find(b=>b.id===a);if(!b)return null;let c=await j();return c?c.getPassword(e,p(b)):null}async function z(a){try{let b=await fetch("https://api.github.com/user",{headers:{Authorization:`Bearer ${a}`,Accept:"application/vnd.github+json","X-GitHub-Api-Version":"2022-11-28"}});if(!b.ok){if(401===b.status)return{valid:!1,error:"Invalid or expired GitHub token."};return{valid:!1,error:`GitHub API returned ${b.status}.`}}let c=await b.json(),d="string"==typeof c?.login?c.login:null;if(!d)return{valid:!1,error:"GitHub API response did not include a username."};return{valid:!0,username:d}}catch(a){return{valid:!1,error:`Failed to verify GitHub token: ${a.message}`}}}async function A(a,b){try{let c=m(a),d=await fetch(`${c}/api/v4/user`,{headers:{"PRIVATE-TOKEN":b}});if(!d.ok){if(401===d.status)return{valid:!1,error:"Invalid or expired GitLab token."};return{valid:!1,error:`GitLab API returned ${d.status}.`}}let e=await d.json(),f="string"==typeof e?.username?e.username:null;if(!f)return{valid:!1,error:"GitLab API response did not include a username."};return{valid:!0,username:f}}catch(a){return{valid:!1,error:`Failed to verify GitLab token: ${a.message}`}}}async function B(a){let b,c=a.trim();if(!c)return{success:!1,error:"GitHub token is required."};try{b=await k()}catch(a){return{success:!1,error:a.message}}let d=await z(c);if(!d.valid||!d.username)return{success:!1,error:d.error||"Failed to verify GitHub token."};let f=await v();if(f.find(a=>"github"===a.type&&a.username===d.username))return{success:!1,error:`A GitHub credential for ${d.username} already exists.`};let g=l(),h=new Date().toISOString(),i=n(g);await b.setPassword(e,i,c);let j={id:g,type:"github",username:d.username,createdAt:h,updatedAt:h,keytarAccount:i};return f.push(j),await u(f),{success:!0,credential:{id:j.id,type:"github",username:j.username,createdAt:j.createdAt,updatedAt:j.updatedAt}}}async function C(a,b){let c,d=m(a),f=b.trim();if(!d)return{success:!1,error:"GitLab server URL is required."};try{new URL(d)}catch{return{success:!1,error:"GitLab server URL must be a valid URL."}}if(!f)return{success:!1,error:"GitLab token is required."};try{c=await k()}catch(a){return{success:!1,error:a.message}}let g=await A(d,f);if(!g.valid||!g.username)return{success:!1,error:g.error||"Failed to verify GitLab token."};let h=await v();if(h.find(a=>"gitlab"===a.type&&a.username===g.username&&a.serverUrl===d))return{success:!1,error:`A GitLab credential for ${g.username} on ${d} already exists.`};let i=l(),j=new Date().toISOString(),o=n(i);await c.setPassword(e,o,f);let p={id:i,type:"gitlab",username:g.username,serverUrl:d,createdAt:j,updatedAt:j,keytarAccount:o};return h.push(p),await u(h),{success:!0,credential:{id:p.id,type:"gitlab",username:p.username,serverUrl:p.serverUrl||d,createdAt:p.createdAt,updatedAt:p.updatedAt}}}async function D(a){let b=await v(),c=b.findIndex(b=>b.id===a);if(-1===c)return{success:!1,error:"Credential not found."};let d=b[c];b.splice(c,1),await u(b);let f=await j();return f&&await f.deletePassword(e,p(d)),{success:!0}}a.s(["createGitHubCredential",()=>B,"createGitLabCredential",()=>C,"deleteCredential",()=>D,"getAllCredentials",()=>w,"getCredentialById",()=>x,"getCredentialToken",()=>y])},37359,a=>{"use strict";var b=a.i(37936),c=a.i(70798),d=a.i(66085);async function e(){try{let a=await (0,c.getAllCredentials)();return{success:!0,credentials:a}}catch(a){return console.error("Failed to list credentials:",a),{success:!1,error:"Failed to load credentials."}}}async function f(a){let b=await (0,c.createGitHubCredential)(a);return b.success&&b.credential?{success:!0,credential:b.credential}:{success:!1,error:b.error||"Failed to save GitHub credential."}}async function g(a,b){let d=await (0,c.createGitLabCredential)(a,b);return d.success&&d.credential?{success:!0,credential:d.credential}:{success:!1,error:d.error||"Failed to save GitLab credential."}}async function h(){try{let a=await (0,d.getAllAgentApiCredentials)();return{success:!0,credentials:a}}catch(a){return console.error("Failed to list agent API credentials:",a),{success:!1,error:"Failed to load agent API credentials."}}}async function i(a,b,c){let e=await (0,d.createOrUpdateAgentApiCredential)(a,b,c);return e.success&&e.credential?{success:!0,credential:e.credential}:{success:!1,error:e.error||"Failed to save agent API credential."}}async function j(a){try{let b=await (0,c.deleteCredential)(a);if(!b.success)return{success:!1,error:b.error||"Failed to remove credential."};return{success:!0}}catch(a){return console.error("Failed to remove credential:",a),{success:!1,error:"Failed to remove credential."}}}async function k(a){try{let b=await (0,d.deleteAgentApiCredential)(a);if(!b.success)return{success:!1,error:b.error||"Failed to remove agent API credential."};return{success:!0}}catch(a){return console.error("Failed to remove agent API credential:",a),{success:!1,error:"Failed to remove agent API credential."}}}(0,a.i(13095).ensureServerEntryExports)([e,f,g,h,i,j,k]),(0,b.registerServerReference)(e,"0054a40f0e8dad051cb8f29ea7480987020153e17d",null),(0,b.registerServerReference)(f,"40296e761b6fef38dcffbcfc1507a7a716c13aa4c8",null),(0,b.registerServerReference)(g,"60b0b3dd67ea1c9a5ecdcb89bc631096e6385e1c0f",null),(0,b.registerServerReference)(h,"00217d724d253c004deca9d84cb85b55e649177a8b",null),(0,b.registerServerReference)(i,"707ea44ae363377eda632a417c85f8309fa2e7df88",null),(0,b.registerServerReference)(j,"40e3d3adc79235d05f8c7c9ac393c48c2de47024a3",null),(0,b.registerServerReference)(k,"40818589a8b5488fdc8b449ae91cd02633b542f4dc",null),a.s(["listAgentApiCredentials",()=>h,"listCredentials",()=>e,"removeAgentApiCredential",()=>k,"removeCredential",()=>j,"saveAgentApiCredential",()=>i,"saveGitHubCredential",()=>f,"saveGitLabCredential",()=>g])},98624,a=>{"use strict";var b=a.i(37936),c=a.i(24868),d=a.i(46786),e=a.i(14747),f=a.i(4503),g=a.i(38642);let h=new Set([".git","node_modules",".next",".viba","dist","build","coverage"]);function i(){return global.repoResolutionCache||(global.repoResolutionCache=new Map),global.repoResolutionCache}function j(a,b){i().set(a.toLowerCase(),{repoPath:b,resolvedAt:Date.now()})}async function k(a){let b=i().get(a.toLowerCase());return b?Date.now()-b.resolvedAt>3e5?(i().delete(a.toLowerCase()),null):await l(b.repoPath)?b.repoPath:(i().delete(a.toLowerCase()),null):null}async function l(a){try{return await c.default.access(e.default.join(a,".git")),!0}catch{return!1}}async function m(a,b){let d=e.default.join(a,b);if(await l(d))return d;let f=[{dirPath:a,depth:0}],g=0,i=b.toLowerCase();for(let a=0;a<f.length;a+=1){let b,d=f[a];if((g+=1)>5e3)break;try{b=await c.default.readdir(d.dirPath,{withFileTypes:!0})}catch{continue}for(let a of b){if(!a.isDirectory()||function(a,b){let c=a.toLowerCase();return c!==b&&!!(h.has(c)||a.startsWith("."))}(a.name,i))continue;let b=e.default.join(d.dirPath,a.name);if(a.name.toLowerCase()===i&&await l(b))return b;d.depth+1<=5&&f.push({dirPath:b,depth:d.depth+1})}}return null}async function n(a){let b=a.trim();if(!b)return null;let c=await k(b);if(c)return c;let d=await (0,g.getConfig)();for(let a of d.recentRepos.filter(a=>e.default.basename(a).toLowerCase()===b.toLowerCase()))if(await l(a))return j(b,a),a;let f=[],h=new Set;for(let a of d.recentRepos){let b=e.default.dirname(a);h.has(b)||(h.add(b),f.push(b))}for(let a of(d.defaultRoot&&!h.has(d.defaultRoot)&&(h.add(d.defaultRoot),f.push(d.defaultRoot)),f)){let c=await m(a,b);if(c)return j(b,c),c}return null}var o=a.i(70798),p=a.i(46534);async function q(a){try{let b=await n(a);return{success:!0,repoPath:b}}catch(a){return console.error("Failed to resolve repository by name:",a),{success:!1,repoPath:null,error:"Failed to search repositories. Please try again."}}}function r(a){if("gitlab"!==a.type)return null;try{return new URL(a.serverUrl).hostname.toLowerCase()}catch{return null}}async function s(a,b){let c=await (0,o.getAllCredentials)(),d=(0,p.detectGitRemoteProvider)(a,{gitlabHosts:c.flatMap(a=>{if("gitlab"!==a.type)return[];let b=r(a);return b?[b]:[]})}),e=(0,p.parseGitRemoteHost)(a);if(b){let a=await (0,o.getCredentialById)(b);if(!a)return{success:!1,error:"Selected credential was not found. Please choose another credential."};if("github"===d&&"github"!==a.type)return{success:!1,error:"Selected credential does not match this GitHub repository."};if("gitlab"===d&&"gitlab"!==a.type)return{success:!1,error:"Selected credential does not match this GitLab repository."};if("gitlab"===a.type&&e){let b=r(a);if(b&&b!==e)return{success:!1,error:`Selected GitLab credential targets ${b}, but this repository uses ${e}.`}}let c=await (0,o.getCredentialToken)(a.id);return c?{success:!0,credential:a,token:c}:{success:!1,error:"Could not load token for selected credential."}}if(!d)return{success:!0,credential:null,token:null};let f=function(a,b,c){if("github"===b)return a.find(a=>"github"===a.type)||null;if(c){let b=a.find(a=>"gitlab"===a.type&&r(a)===c);if(b)return b}return a.find(a=>"gitlab"===a.type)||null}(c,d,e);if(!f)return{success:!0,credential:null,token:null};let g=await (0,o.getCredentialToken)(f.id);return g?{success:!0,credential:f,token:g}:{success:!0,credential:null,token:null}}async function t(a,b){let g=a.trim();if(!g)return{success:!1,repoPath:null,error:"Please enter a remote repository URL."};let h=function(a){let b=a.trim();if(!b)return null;let c="";try{c=new URL(b).pathname}catch{let a=b.match(/^([^@]+@)?([^:]+):(.+)$/);c=a?a[3]:b}let d=c.replace(/\\/g,"/").replace(/\/+$/,"");if(!d)return null;let f=e.default.posix.basename(d);return f&&"."!==f&&".."!==f?(f.toLowerCase().endsWith(".git")&&(f=f.slice(0,-4)),f.replace(/[^a-zA-Z0-9._-]/g,"-").replace(/^-+/,"").replace(/-+$/,"")||null):null}(g);if(!h)return{success:!1,repoPath:null,error:"Could not determine repository name from URL."};let i=e.default.join(d.default.homedir(),".viba","repos");await c.default.mkdir(i,{recursive:!0});let j=e.default.join(i,h);try{return await c.default.access(j),{success:!1,repoPath:null,error:`Repository already exists at ${j}.`}}catch{}let k=await s(g,b);if(!k.success)return{success:!1,repoPath:null,error:k.error};let l=k.credential&&k.token?function(a,b,c){let d;try{d=new URL(a)}catch{return a}return"https:"!==d.protocol&&"http:"!==d.protocol?a:("github"===b.type?d.username="x-access-token":d.username="oauth2",d.password=c,d.toString())}(g,k.credential,k.token):g,m=(0,f.default)();try{if(await m.clone(l,j),l!==g){let a=(0,f.default)(j);await a.remote(["set-url","origin",g])}return{success:!0,repoPath:j}}catch(b){let a=function(a,b){let c=a;for(let a of b)a&&(c=c.replace(RegExp(a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),"***"));return c.replace(/:\/\/[^/\s@]+@/g,"://***@")}(b instanceof Error?b.message:String(b),[l,k.token??""]);try{await c.default.rm(j,{recursive:!0,force:!0})}catch{}return{success:!1,repoPath:null,error:a||"Failed to clone repository."}}}(0,a.i(13095).ensureServerEntryExports)([q,t]),(0,b.registerServerReference)(q,"401429b6ad670112668875e8fd06b7378bed4a746f",null),(0,b.registerServerReference)(t,"604df314f079e46a242f1b1eb0b89a899e87a4b2b0",null),a.s(["cloneRemoteRepository",()=>t,"resolveRepositoryByName",()=>q],98624)}];
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},66085,a=>{"use strict";var b=a.i(24868),c=a.i(46786),d=a.i(14747);let e="viba-agent-api-credentials",f=["codex"],g=null,h=null,i=!1;function j(a){return f.includes(a)}function k(){return h?`Secure credential storage is unavailable: ${h}`:"Secure credential storage is unavailable in this runtime."}async function l(){return g||(g=a.A(45581).then(a=>a.default??a).catch(a=>(h=a instanceof Error?a.message:String(a),i||(i=!0,console.warn(`[agent-api-credentials] ${k()}`)),null))),g}async function m(){let a=await l();if(!a)throw Error(k());return a}function n(a){return`agent-api-${a}`}function o(a){return a.keytarAccount||n(a.agent)}function p(a){return{agent:a.agent,apiProxy:a.apiProxy,createdAt:a.createdAt,updatedAt:a.updatedAt}}function q(a){return!!a&&"object"==typeof a&&"string"==typeof a.agent&&!!j(a.agent)&&"string"==typeof a.createdAt&&"string"==typeof a.updatedAt&&(void 0===a.apiProxy||"string"==typeof a.apiProxy)&&(void 0===a.keytarAccount||"string"==typeof a.keytarAccount)}async function r(){let a=d.default.join(c.default.homedir(),".viba");return await b.default.mkdir(a,{recursive:!0}),d.default.join(a,"agent-api-configs.json")}async function s(a){let c=await r();await b.default.writeFile(c,JSON.stringify(a,null,2),"utf-8")}async function t(){let a=await r();try{let c=await b.default.readFile(a,"utf-8"),d=JSON.parse(c);if(Array.isArray(d))return d.filter(q);if(!d||"object"!=typeof d)return[];let e=Object.entries(d).filter(([a])=>j(a)).map(([a,b])=>b&&"object"==typeof b?void 0===b.agent?{...b,agent:a}:b:null).filter(q);return e.length>0&&await s(e),e}catch(a){if(a?.code==="ENOENT")return[];return console.error("Failed to parse agent API credential metadata:",a),[]}}async function u(){return(await t()).map(p).sort((a,b)=>b.updatedAt.localeCompare(a.updatedAt))}async function v(a,b,c){let d,f;if(!j(a))return{success:!1,error:`Unsupported agent: ${a}`};let g=b.trim();if(!g)return{success:!1,error:"API key is required."};try{d=function(a){let b=a.trim();if(b){try{new URL(b)}catch{throw Error("API proxy must be a valid URL.")}return b}}(c)}catch(a){return{success:!1,error:a.message}}try{f=await m()}catch(a){return{success:!1,error:a.message}}let h=await t(),i=new Date().toISOString(),k=h.findIndex(b=>b.agent===a),l=k>=0?o(h[k]):n(a);if(await f.setPassword(e,l,g),k>=0){let a=h[k];h[k]={...a,apiProxy:d,updatedAt:i,keytarAccount:l}}else h.push({agent:a,apiProxy:d,createdAt:i,updatedAt:i,keytarAccount:l});await s(h);let q=h.find(b=>b.agent===a);return q?{success:!0,credential:p(q)}:{success:!1,error:"Failed to persist agent API credential."}}async function w(a){if(!j(a))return{success:!1,error:`Unsupported agent: ${a}`};let b=await t(),c=b.findIndex(b=>b.agent===a);if(-1===c)return{success:!1,error:"Agent API credential not found."};let[d]=b.splice(c,1);await s(b);let f=await l();return f&&await f.deletePassword(e,o(d)),{success:!0}}async function x(a){if(!j(a))return null;let b=(await t()).find(b=>b.agent===a);if(!b)return null;let c=await l();if(!c)return null;let d=await c.getPassword(e,o(b));return d?{agent:b.agent,apiKey:d,apiProxy:b.apiProxy}:null}a.s(["createOrUpdateAgentApiCredential",()=>v,"deleteAgentApiCredential",()=>w,"getAgentApiCredentialSecret",()=>x,"getAllAgentApiCredentials",()=>u])},70798,a=>{"use strict";var b=a.i(24868),c=a.i(46786),d=a.i(14747);let e="viba-git-credentials",f=null,g=null,h=!1;function i(){return g?`Secure credential storage is unavailable: ${g}`:"Secure credential storage is unavailable in this runtime."}async function j(){return f||(f=a.A(45581).then(a=>a.default??a).catch(a=>(g=a instanceof Error?a.message:String(a),h||(h=!0,console.warn(`[credentials] ${i()}`)),null))),f}async function k(){let a=await j();if(!a)throw Error(i());return a}function l(){return`${Date.now()}-${Math.random().toString(36).slice(2,9)}`}function m(a){return a.trim().replace(/\/$/,"")}function n(a){return`credential-${a}`}function o(a){return`credential-${a}`}function p(a){return a.keytarAccount||n(a.id)}function q(a){return"gitlab"===a.type?{id:a.id,type:"gitlab",username:a.username,serverUrl:a.serverUrl||"https://gitlab.com",createdAt:a.createdAt,updatedAt:a.updatedAt}:{id:a.id,type:"github",username:a.username,createdAt:a.createdAt,updatedAt:a.updatedAt}}async function r(){let a=d.default.join(c.default.homedir(),".viba");return await b.default.mkdir(a,{recursive:!0}),d.default.join(a,"credentials.json")}function s(a,b){return!!a&&"object"==typeof a&&a.type===b&&"string"==typeof a.username&&"string"==typeof a.createdAt&&"string"==typeof a.updatedAt&&("gitlab"!==b||"string"==typeof a.serverUrl)}function t(a){return!!a&&"object"==typeof a&&"string"==typeof a.id&&!!a.id.trim()&&("github"===a.type||"gitlab"===a.type)&&"string"==typeof a.username&&"string"==typeof a.createdAt&&"string"==typeof a.updatedAt&&(void 0===a.keytarAccount||"string"==typeof a.keytarAccount)&&("gitlab"!==a.type||"string"==typeof a.serverUrl)}async function u(a){let c=await r();await b.default.writeFile(c,JSON.stringify(a,null,2),"utf-8")}async function v(){let a=await r();try{let c=await b.default.readFile(a,"utf-8"),d=JSON.parse(c);if(Array.isArray(d))return d.filter(t);if(!d||"object"!=typeof d)return[];let e=[];if(s(d.github,"github")){let a=d.github;e.push({id:l(),type:"github",username:a.username,createdAt:a.createdAt,updatedAt:a.updatedAt,keytarAccount:o("github")})}if(s(d.gitlab,"gitlab")){let a=d.gitlab;e.push({id:l(),type:"gitlab",username:a.username,serverUrl:a.serverUrl,createdAt:a.createdAt,updatedAt:a.updatedAt,keytarAccount:o("gitlab")})}return e.length>0&&await u(e),e}catch(a){if(a?.code==="ENOENT")return[];return console.error("Failed to parse credentials metadata:",a),[]}}async function w(){return(await v()).map(q).sort((a,b)=>b.updatedAt.localeCompare(a.updatedAt))}async function x(a){let b=(await v()).find(b=>b.id===a);return b?q(b):null}async function y(a){let b=(await v()).find(b=>b.id===a);if(!b)return null;let c=await j();return c?c.getPassword(e,p(b)):null}async function z(a){try{let b=await fetch("https://api.github.com/user",{headers:{Authorization:`Bearer ${a}`,Accept:"application/vnd.github+json","X-GitHub-Api-Version":"2022-11-28"}});if(!b.ok){if(401===b.status)return{valid:!1,error:"Invalid or expired GitHub token."};return{valid:!1,error:`GitHub API returned ${b.status}.`}}let c=await b.json(),d="string"==typeof c?.login?c.login:null;if(!d)return{valid:!1,error:"GitHub API response did not include a username."};return{valid:!0,username:d}}catch(a){return{valid:!1,error:`Failed to verify GitHub token: ${a.message}`}}}async function A(a,b){try{let c=m(a),d=await fetch(`${c}/api/v4/user`,{headers:{"PRIVATE-TOKEN":b}});if(!d.ok){if(401===d.status)return{valid:!1,error:"Invalid or expired GitLab token."};return{valid:!1,error:`GitLab API returned ${d.status}.`}}let e=await d.json(),f="string"==typeof e?.username?e.username:null;if(!f)return{valid:!1,error:"GitLab API response did not include a username."};return{valid:!0,username:f}}catch(a){return{valid:!1,error:`Failed to verify GitLab token: ${a.message}`}}}async function B(a){let b,c=a.trim();if(!c)return{success:!1,error:"GitHub token is required."};try{b=await k()}catch(a){return{success:!1,error:a.message}}let d=await z(c);if(!d.valid||!d.username)return{success:!1,error:d.error||"Failed to verify GitHub token."};let f=await v();if(f.find(a=>"github"===a.type&&a.username===d.username))return{success:!1,error:`A GitHub credential for ${d.username} already exists.`};let g=l(),h=new Date().toISOString(),i=n(g);await b.setPassword(e,i,c);let j={id:g,type:"github",username:d.username,createdAt:h,updatedAt:h,keytarAccount:i};return f.push(j),await u(f),{success:!0,credential:{id:j.id,type:"github",username:j.username,createdAt:j.createdAt,updatedAt:j.updatedAt}}}async function C(a,b){let c,d=m(a),f=b.trim();if(!d)return{success:!1,error:"GitLab server URL is required."};try{new URL(d)}catch{return{success:!1,error:"GitLab server URL must be a valid URL."}}if(!f)return{success:!1,error:"GitLab token is required."};try{c=await k()}catch(a){return{success:!1,error:a.message}}let g=await A(d,f);if(!g.valid||!g.username)return{success:!1,error:g.error||"Failed to verify GitLab token."};let h=await v();if(h.find(a=>"gitlab"===a.type&&a.username===g.username&&a.serverUrl===d))return{success:!1,error:`A GitLab credential for ${g.username} on ${d} already exists.`};let i=l(),j=new Date().toISOString(),o=n(i);await c.setPassword(e,o,f);let p={id:i,type:"gitlab",username:g.username,serverUrl:d,createdAt:j,updatedAt:j,keytarAccount:o};return h.push(p),await u(h),{success:!0,credential:{id:p.id,type:"gitlab",username:p.username,serverUrl:p.serverUrl||d,createdAt:p.createdAt,updatedAt:p.updatedAt}}}async function D(a){let b=await v(),c=b.findIndex(b=>b.id===a);if(-1===c)return{success:!1,error:"Credential not found."};let d=b[c];b.splice(c,1),await u(b);let f=await j();return f&&await f.deletePassword(e,p(d)),{success:!0}}a.s(["createGitHubCredential",()=>B,"createGitLabCredential",()=>C,"deleteCredential",()=>D,"getAllCredentials",()=>w,"getCredentialById",()=>x,"getCredentialToken",()=>y])},37359,a=>{"use strict";var b=a.i(37936),c=a.i(70798),d=a.i(66085);async function e(){try{let a=await (0,c.getAllCredentials)();return{success:!0,credentials:a}}catch(a){return console.error("Failed to list credentials:",a),{success:!1,error:"Failed to load credentials."}}}async function f(a){let b=await (0,c.createGitHubCredential)(a);return b.success&&b.credential?{success:!0,credential:b.credential}:{success:!1,error:b.error||"Failed to save GitHub credential."}}async function g(a,b){let d=await (0,c.createGitLabCredential)(a,b);return d.success&&d.credential?{success:!0,credential:d.credential}:{success:!1,error:d.error||"Failed to save GitLab credential."}}async function h(){try{let a=await (0,d.getAllAgentApiCredentials)();return{success:!0,credentials:a}}catch(a){return console.error("Failed to list agent API credentials:",a),{success:!1,error:"Failed to load agent API credentials."}}}async function i(a,b,c){let e=await (0,d.createOrUpdateAgentApiCredential)(a,b,c);return e.success&&e.credential?{success:!0,credential:e.credential}:{success:!1,error:e.error||"Failed to save agent API credential."}}async function j(a){try{let b=await (0,c.deleteCredential)(a);if(!b.success)return{success:!1,error:b.error||"Failed to remove credential."};return{success:!0}}catch(a){return console.error("Failed to remove credential:",a),{success:!1,error:"Failed to remove credential."}}}async function k(a){try{let b=await (0,d.deleteAgentApiCredential)(a);if(!b.success)return{success:!1,error:b.error||"Failed to remove agent API credential."};return{success:!0}}catch(a){return console.error("Failed to remove agent API credential:",a),{success:!1,error:"Failed to remove agent API credential."}}}(0,a.i(13095).ensureServerEntryExports)([e,f,g,h,i,j,k]),(0,b.registerServerReference)(e,"004af5fceaceb9b5547eb30df9da52e1782ac27d03",null),(0,b.registerServerReference)(f,"4004a0e7ba2853a497f171ed16037e29939770bf9d",null),(0,b.registerServerReference)(g,"60cd0b78e5e61702e931c48bbfdc43d298af6e8439",null),(0,b.registerServerReference)(h,"0062ad53faae846b1bd196423a3b1938ba88998dbc",null),(0,b.registerServerReference)(i,"708a3dd3737dc6efc62a9fa45a820696f5441c8d44",null),(0,b.registerServerReference)(j,"40549b442d0eb35deaec280c1a3ac69584e89086a5",null),(0,b.registerServerReference)(k,"407dd022f450835e92452755c2187f2759ce65a352",null),a.s(["listAgentApiCredentials",()=>h,"listCredentials",()=>e,"removeAgentApiCredential",()=>k,"removeCredential",()=>j,"saveAgentApiCredential",()=>i,"saveGitHubCredential",()=>f,"saveGitLabCredential",()=>g])},98624,a=>{"use strict";var b=a.i(37936),c=a.i(24868),d=a.i(46786),e=a.i(14747),f=a.i(4503),g=a.i(38642);let h=new Set([".git","node_modules",".next",".viba","dist","build","coverage"]);function i(){return global.repoResolutionCache||(global.repoResolutionCache=new Map),global.repoResolutionCache}function j(a,b){i().set(a.toLowerCase(),{repoPath:b,resolvedAt:Date.now()})}async function k(a){let b=i().get(a.toLowerCase());return b?Date.now()-b.resolvedAt>3e5?(i().delete(a.toLowerCase()),null):await l(b.repoPath)?b.repoPath:(i().delete(a.toLowerCase()),null):null}async function l(a){try{return await c.default.access(e.default.join(a,".git")),!0}catch{return!1}}async function m(a,b){let d=e.default.join(a,b);if(await l(d))return d;let f=[{dirPath:a,depth:0}],g=0,i=b.toLowerCase();for(let a=0;a<f.length;a+=1){let b,d=f[a];if((g+=1)>5e3)break;try{b=await c.default.readdir(d.dirPath,{withFileTypes:!0})}catch{continue}for(let a of b){if(!a.isDirectory()||function(a,b){let c=a.toLowerCase();return c!==b&&!!(h.has(c)||a.startsWith("."))}(a.name,i))continue;let b=e.default.join(d.dirPath,a.name);if(a.name.toLowerCase()===i&&await l(b))return b;d.depth+1<=5&&f.push({dirPath:b,depth:d.depth+1})}}return null}async function n(a){let b=a.trim();if(!b)return null;let c=await k(b);if(c)return c;let d=await (0,g.getConfig)();for(let a of d.recentRepos.filter(a=>e.default.basename(a).toLowerCase()===b.toLowerCase()))if(await l(a))return j(b,a),a;let f=[],h=new Set;for(let a of d.recentRepos){let b=e.default.dirname(a);h.has(b)||(h.add(b),f.push(b))}for(let a of(d.defaultRoot&&!h.has(d.defaultRoot)&&(h.add(d.defaultRoot),f.push(d.defaultRoot)),f)){let c=await m(a,b);if(c)return j(b,c),c}return null}var o=a.i(70798),p=a.i(46534);async function q(a){try{let b=await n(a);return{success:!0,repoPath:b}}catch(a){return console.error("Failed to resolve repository by name:",a),{success:!1,repoPath:null,error:"Failed to search repositories. Please try again."}}}function r(a){if("gitlab"!==a.type)return null;try{return new URL(a.serverUrl).hostname.toLowerCase()}catch{return null}}async function s(a,b){let c=await (0,o.getAllCredentials)(),d=(0,p.detectGitRemoteProvider)(a,{gitlabHosts:c.flatMap(a=>{if("gitlab"!==a.type)return[];let b=r(a);return b?[b]:[]})}),e=(0,p.parseGitRemoteHost)(a);if(b){let a=await (0,o.getCredentialById)(b);if(!a)return{success:!1,error:"Selected credential was not found. Please choose another credential."};if("github"===d&&"github"!==a.type)return{success:!1,error:"Selected credential does not match this GitHub repository."};if("gitlab"===d&&"gitlab"!==a.type)return{success:!1,error:"Selected credential does not match this GitLab repository."};if("gitlab"===a.type&&e){let b=r(a);if(b&&b!==e)return{success:!1,error:`Selected GitLab credential targets ${b}, but this repository uses ${e}.`}}let c=await (0,o.getCredentialToken)(a.id);return c?{success:!0,credential:a,token:c}:{success:!1,error:"Could not load token for selected credential."}}if(!d)return{success:!0,credential:null,token:null};let f=function(a,b,c){if("github"===b)return a.find(a=>"github"===a.type)||null;if(c){let b=a.find(a=>"gitlab"===a.type&&r(a)===c);if(b)return b}return a.find(a=>"gitlab"===a.type)||null}(c,d,e);if(!f)return{success:!0,credential:null,token:null};let g=await (0,o.getCredentialToken)(f.id);return g?{success:!0,credential:f,token:g}:{success:!0,credential:null,token:null}}async function t(a,b){let g=a.trim();if(!g)return{success:!1,repoPath:null,error:"Please enter a remote repository URL."};let h=function(a){let b=a.trim();if(!b)return null;let c="";try{c=new URL(b).pathname}catch{let a=b.match(/^([^@]+@)?([^:]+):(.+)$/);c=a?a[3]:b}let d=c.replace(/\\/g,"/").replace(/\/+$/,"");if(!d)return null;let f=e.default.posix.basename(d);return f&&"."!==f&&".."!==f?(f.toLowerCase().endsWith(".git")&&(f=f.slice(0,-4)),f.replace(/[^a-zA-Z0-9._-]/g,"-").replace(/^-+/,"").replace(/-+$/,"")||null):null}(g);if(!h)return{success:!1,repoPath:null,error:"Could not determine repository name from URL."};let i=e.default.join(d.default.homedir(),".viba","repos");await c.default.mkdir(i,{recursive:!0});let j=e.default.join(i,h);try{return await c.default.access(j),{success:!1,repoPath:null,error:`Repository already exists at ${j}.`}}catch{}let k=await s(g,b);if(!k.success)return{success:!1,repoPath:null,error:k.error};let l=k.credential&&k.token?function(a,b,c){let d;try{d=new URL(a)}catch{return a}return"https:"!==d.protocol&&"http:"!==d.protocol?a:("github"===b.type?d.username="x-access-token":d.username="oauth2",d.password=c,d.toString())}(g,k.credential,k.token):g,m=(0,f.default)();try{if(await m.clone(l,j),l!==g){let a=(0,f.default)(j);await a.remote(["set-url","origin",g])}return{success:!0,repoPath:j}}catch(b){let a=function(a,b){let c=a;for(let a of b)a&&(c=c.replace(RegExp(a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),"***"));return c.replace(/:\/\/[^/\s@]+@/g,"://***@")}(b instanceof Error?b.message:String(b),[l,k.token??""]);try{await c.default.rm(j,{recursive:!0,force:!0})}catch{}return{success:!1,repoPath:null,error:a||"Failed to clone repository."}}}(0,a.i(13095).ensureServerEntryExports)([q,t]),(0,b.registerServerReference)(q,"4049a5b2db629077fb7339be6f394f57adad5908a5",null),(0,b.registerServerReference)(t,"60ed8bc1a64ceeb92bff88ce0981ea6bf083f76392",null),a.s(["cloneRemoteRepository",()=>t,"resolveRepositoryByName",()=>q],98624)}];
|
|
3
3
|
|
|
4
4
|
//# sourceMappingURL=%5Broot-of-the-server%5D__0522f852._.js.map
|
|
@@ -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"))},95044,a=>{a.n(a.i(52425))},26087,a=>{a.n(a.i(21646))},50645,a=>{a.n(a.i(27572))},43619,a=>{a.n(a.i(79962))},13718,a=>{a.n(a.i(85523))},18198,a=>{a.n(a.i(45518))},62212,a=>{a.n(a.i(66114))},85684,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/GitRepoSelector.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/components/GitRepoSelector.tsx <module evaluation>","default")},63406,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/GitRepoSelector.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/components/GitRepoSelector.tsx","default")},31557,a=>{"use strict";a.i(85684);var b=a.i(63406);a.n(b)},90005,a=>{"use strict";var b=a.i(7997),c=a.i(31557);async function d({searchParams:a}){let d=await a,e=d.repo,f=d.from,g=d.prefillFromSession,h=Array.isArray(e)?e[0]:e,i=Array.isArray(f)?f[0]:f,j=Array.isArray(g)?g[0]:g;return(0,b.jsx)("main",{className:"flex min-h-screen flex-col items-center bg-
|
|
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"))},95044,a=>{a.n(a.i(52425))},26087,a=>{a.n(a.i(21646))},50645,a=>{a.n(a.i(27572))},43619,a=>{a.n(a.i(79962))},13718,a=>{a.n(a.i(85523))},18198,a=>{a.n(a.i(45518))},62212,a=>{a.n(a.i(66114))},85684,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/GitRepoSelector.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/components/GitRepoSelector.tsx <module evaluation>","default")},63406,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/GitRepoSelector.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/components/GitRepoSelector.tsx","default")},31557,a=>{"use strict";a.i(85684);var b=a.i(63406);a.n(b)},90005,a=>{"use strict";var b=a.i(7997),c=a.i(31557);async function d({searchParams:a}){let d=await a,e=d.repo,f=d.from,g=d.prefillFromSession,h=Array.isArray(e)?e[0]:e,i=Array.isArray(f)?f[0]:f,j=Array.isArray(g)?g[0]:g;return(0,b.jsx)("main",{className:"flex min-h-screen flex-col items-center bg-[#f6f6f8] p-4 md:p-8",children:(0,b.jsx)(c.default,{mode:"new",repoPath:h??null,fromRepoName:i??null,prefillFromSession:j??null})})}a.s(["default",()=>d])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__30652385._.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/GitRepoSelector.tsx/__nextjs-internal-proxy.mjs","../../../../src/app/new/page.tsx"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/src/components/GitRepoSelector.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.\"); },\n \"[project]/src/components/GitRepoSelector.tsx\",\n \"default\",\n);\n","import GitRepoSelector from '@/components/GitRepoSelector';\n\ntype NewSessionPageProps = {\n searchParams: Promise<{\n repo?: string | string[];\n from?: string | string[];\n prefillFromSession?: string | string[];\n }>;\n};\n\nexport default async function NewSessionPage({ searchParams }: NewSessionPageProps) {\n const params = await searchParams;\n const repoParam = params.repo;\n const fromParam = params.from;\n const prefillParam = params.prefillFromSession;\n const repoPathFromParam = Array.isArray(repoParam) ? repoParam[0] : repoParam;\n const fromName = Array.isArray(fromParam) ? fromParam[0] : fromParam;\n const prefillFromSession = Array.isArray(prefillParam) ? prefillParam[0] : prefillParam;\n const repoPath = repoPathFromParam;\n\n return (\n <main className=\"flex min-h-screen flex-col items-center bg-
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/GitRepoSelector.tsx/__nextjs-internal-proxy.mjs","../../../../src/app/new/page.tsx"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/src/components/GitRepoSelector.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.\"); },\n \"[project]/src/components/GitRepoSelector.tsx\",\n \"default\",\n);\n","import GitRepoSelector from '@/components/GitRepoSelector';\n\ntype NewSessionPageProps = {\n searchParams: Promise<{\n repo?: string | string[];\n from?: string | string[];\n prefillFromSession?: string | string[];\n }>;\n};\n\nexport default async function NewSessionPage({ searchParams }: NewSessionPageProps) {\n const params = await searchParams;\n const repoParam = params.repo;\n const fromParam = params.from;\n const prefillParam = params.prefillFromSession;\n const repoPathFromParam = Array.isArray(repoParam) ? repoParam[0] : repoParam;\n const fromName = Array.isArray(fromParam) ? fromParam[0] : fromParam;\n const prefillFromSession = Array.isArray(prefillParam) ? prefillParam[0] : prefillParam;\n const repoPath = repoPathFromParam;\n\n return (\n <main className=\"flex min-h-screen flex-col items-center bg-[#f6f6f8] p-4 md:p-8\">\n <GitRepoSelector\n mode=\"new\"\n repoPath={repoPath ?? null}\n fromRepoName={fromName ?? null}\n prefillFromSession={prefillFromSession ?? null}\n />\n </main>\n );\n}\n"],"names":[],"mappings":"wZAEe,CAAA,EAAA,AADf,EAAA,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAI,MAAM,oSAAsS,EACnU,mEACA,gEAHW,CAAA,EADf,AACe,EADf,CAAA,CAAA,OACe,uBAAuB,AAAvB,EACX,WAAa,MAAM,AAAI,MAAM,gRAAkR,EAC/S,+CACA,8GCLJ,EAAA,EAAA,CAAA,CAAA,OAUe,eAAe,EAAe,cAAE,CAAY,CAAuB,EAChF,IAAM,EAAS,MAAM,EACf,EAAY,EAAO,IAAI,CACvB,EAAY,EAAO,IAAI,CACvB,EAAe,EAAO,kBAAkB,CACxC,EAAoB,MAAM,OAAO,CAAC,GAAa,CAAS,CAAC,EAAE,CAAG,EAC9D,EAAW,MAAM,OAAO,CAAC,GAAa,CAAS,CAAC,EAAE,CAAG,EACrD,EAAqB,MAAM,OAAO,CAAC,GAAgB,CAAY,CAAC,EAAE,CAAG,EAG3E,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,2EACd,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAe,CAAA,CACd,KAAK,MACL,SANW,AAMD,GAAY,KACtB,aAAc,GAAY,KAC1B,mBAAoB,GAAsB,QAIlD","ignoreList":[0]}
|