@devframes/plugin-git 0.7.16 → 0.8.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/dist/cli.mjs +1 -1
- package/dist/client/404/index.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/__next.__PAGE__.txt +2 -2
- package/dist/client/__next._full.txt +3 -3
- package/dist/client/__next._head.txt +1 -1
- package/dist/client/__next._index.txt +2 -2
- package/dist/client/__next._tree.txt +2 -2
- package/dist/client/_next/static/chunks/{2bw2y7vs_v01d.js → 2kt3nrxqhj477.js} +17 -17
- package/dist/client/_next/static/chunks/{2b5p2il6c-3p0.css → 3697fme3slonf.css} +1 -1
- package/dist/client/_not-found/__next._full.txt +2 -2
- package/dist/client/_not-found/__next._head.txt +1 -1
- package/dist/client/_not-found/__next._index.txt +2 -2
- package/dist/client/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/client/_not-found/__next._not-found.txt +1 -1
- package/dist/client/_not-found/__next._tree.txt +2 -2
- package/dist/client/_not-found/index.html +1 -1
- package/dist/client/_not-found/index.txt +2 -2
- package/dist/client/index.html +1 -1
- package/dist/client/index.txt +3 -3
- package/dist/index.mjs +1 -1
- package/dist/{src-mR7wM9o7.mjs → src-BWfzSuMh.mjs} +110 -1
- package/package.json +2 -5
- /package/dist/client/_next/static/{5qyDLyU1HGKhvCpEaaW6x → 1ck6DhbbFqUfsc7KBgkNJ}/_buildManifest.js +0 -0
- /package/dist/client/_next/static/{5qyDLyU1HGKhvCpEaaW6x → 1ck6DhbbFqUfsc7KBgkNJ}/_clientMiddlewareManifest.js +0 -0
- /package/dist/client/_next/static/{5qyDLyU1HGKhvCpEaaW6x → 1ck6DhbbFqUfsc7KBgkNJ}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="./_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="./_next/static/chunks/3697fme3slonf.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="./_next/static/chunks/3fx0wjtw8_33i.js"/><script src="./_next/static/chunks/0hmvsuucjxku5.js" async=""></script><script src="./_next/static/chunks/3-4b0jaujzzyo.js" async=""></script><script src="./_next/static/chunks/turbopack-2vy85_tpvh48x.js" async=""></script><script src="./_next/static/chunks/31ps5g4xjy459.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Git Dashboard</title><meta name="description" content="A devframe Git integration with a Next.js App Router + shadcn/ui SPA."/><script>(function(){try{var k='devframe-git-theme';var t=localStorage.getItem(k);if(t!=='light'&&t!=='dark'){t=window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';}if(t==='dark')document.documentElement.classList.add('dark');}catch(e){document.documentElement.classList.add('dark');}})();</script><script src="./_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="./_next/static/chunks/3fx0wjtw8_33i.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[38159,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"default\"]\n3:I[32549,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"default\"]\n4:I[85754,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[85754,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"ViewportBoundary\"]\na:I[85754,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"MetadataBoundary\"]\nc:I[10598,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"default\",1]\n:HL[\"./_next/static/chunks/3697fme3slonf.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"./_next/static/chunks/3697fme3slonf.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"./_next/static/chunks/31ps5g4xjy459.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var k='devframe-git-theme';var t=localStorage.getItem(k);if(t!=='light'\u0026\u0026t!=='dark'){t=window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';}if(t==='dark')document.documentElement.classList.add('dark');}catch(e){document.documentElement.classList.add('dark');}})();\"}}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"./_next/static/chunks/3697fme3slonf.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"1ck6DhbbFqUfsc7KBgkNJ\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Git Dashboard\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A devframe Git integration with a Next.js App Router + shadcn/ui SPA.\"}]]\n"])</script></body></html>
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
8:I[85754,["./_next/static/chunks/31ps5g4xjy459.js"],"ViewportBoundary"]
|
|
7
7
|
a:I[85754,["./_next/static/chunks/31ps5g4xjy459.js"],"MetadataBoundary"]
|
|
8
8
|
c:I[10598,["./_next/static/chunks/31ps5g4xjy459.js"],"default",1]
|
|
9
|
-
:HL["./_next/static/chunks/
|
|
10
|
-
0:{"P":null,"c":["","_not-found",""],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"./_next/static/chunks/
|
|
9
|
+
:HL["./_next/static/chunks/3697fme3slonf.css","style"]
|
|
10
|
+
0:{"P":null,"c":["","_not-found",""],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"./_next/static/chunks/3697fme3slonf.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"./_next/static/chunks/31ps5g4xjy459.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var k='devframe-git-theme';var t=localStorage.getItem(k);if(t!=='light'&&t!=='dark'){t=window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';}if(t==='dark')document.documentElement.classList.add('dark');}catch(e){document.documentElement.classList.add('dark');}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],null]}],false]],"m":"$undefined","G":["$c",[["$","link","0",{"rel":"stylesheet","href":"./_next/static/chunks/3697fme3slonf.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"1ck6DhbbFqUfsc7KBgkNJ"}
|
|
11
11
|
d:[]
|
|
12
12
|
7:"$Wd"
|
|
13
13
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
package/dist/client/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="./_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="./_next/static/chunks/3697fme3slonf.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="./_next/static/chunks/3fx0wjtw8_33i.js"/><script src="./_next/static/chunks/0hmvsuucjxku5.js" async=""></script><script src="./_next/static/chunks/3-4b0jaujzzyo.js" async=""></script><script src="./_next/static/chunks/turbopack-2vy85_tpvh48x.js" async=""></script><script src="./_next/static/chunks/31ps5g4xjy459.js" async=""></script><script src="./_next/static/chunks/04k2z2nsn1jn8.js" async=""></script><script src="./_next/static/chunks/2kt3nrxqhj477.js" async=""></script><title>Git Dashboard</title><meta name="description" content="A devframe Git integration with a Next.js App Router + shadcn/ui SPA."/><script>(function(){try{var k='devframe-git-theme';var t=localStorage.getItem(k);if(t!=='light'&&t!=='dark'){t=window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';}if(t==='dark')document.documentElement.classList.add('dark');}catch(e){document.documentElement.classList.add('dark');}})();</script><script src="./_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div class="flex flex-col items-center justify-center gap-4 bg-base p-8 text-center h-svh w-full"><span aria-hidden="true" class="i-ph-plugs-connected-duotone inline-block shrink-0 text-4xl color-active animate-pulse"></span><div class="flex flex-col gap-1"><p class="text-lg font-medium color-base">Connecting…</p><p class="max-w-sm text-sm color-muted">Establishing a connection to the devframe server.</p></div></div><!--$--><!--/$--><script src="./_next/static/chunks/3fx0wjtw8_33i.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[38159,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"default\"]\n3:I[32549,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"default\"]\n4:I[53567,[\"./_next/static/chunks/31ps5g4xjy459.js\",\"./_next/static/chunks/04k2z2nsn1jn8.js\",\"./_next/static/chunks/2kt3nrxqhj477.js\"],\"Dashboard\",1]\n5:I[85754,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n8:I[85754,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"ViewportBoundary\"]\na:I[85754,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"MetadataBoundary\"]\nc:I[10598,[\"./_next/static/chunks/31ps5g4xjy459.js\"],\"default\",1]\n:HL[\"./_next/static/chunks/3697fme3slonf.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"./_next/static/chunks/3697fme3slonf.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"./_next/static/chunks/31ps5g4xjy459.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var k='devframe-git-theme';var t=localStorage.getItem(k);if(t!=='light'\u0026\u0026t!=='dark'){t=window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';}if(t==='dark')document.documentElement.classList.add('dark');}catch(e){document.documentElement.classList.add('dark');}})();\"}}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{}],[[\"$\",\"script\",\"script-0\",{\"src\":\"./_next/static/chunks/04k2z2nsn1jn8.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"./_next/static/chunks/2kt3nrxqhj477.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"./_next/static/chunks/3697fme3slonf.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"1ck6DhbbFqUfsc7KBgkNJ\"}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"7:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Git Dashboard\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A devframe Git integration with a Next.js App Router + shadcn/ui SPA.\"}]]\n"])</script></body></html>
|
package/dist/client/index.txt
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[38159,["./_next/static/chunks/31ps5g4xjy459.js"],"default"]
|
|
3
3
|
3:I[32549,["./_next/static/chunks/31ps5g4xjy459.js"],"default"]
|
|
4
|
-
4:I[53567,["./_next/static/chunks/31ps5g4xjy459.js","./_next/static/chunks/04k2z2nsn1jn8.js","./_next/static/chunks/
|
|
4
|
+
4:I[53567,["./_next/static/chunks/31ps5g4xjy459.js","./_next/static/chunks/04k2z2nsn1jn8.js","./_next/static/chunks/2kt3nrxqhj477.js"],"Dashboard",1]
|
|
5
5
|
5:I[85754,["./_next/static/chunks/31ps5g4xjy459.js"],"OutletBoundary"]
|
|
6
6
|
6:"$Sreact.suspense"
|
|
7
7
|
8:I[85754,["./_next/static/chunks/31ps5g4xjy459.js"],"ViewportBoundary"]
|
|
8
8
|
a:I[85754,["./_next/static/chunks/31ps5g4xjy459.js"],"MetadataBoundary"]
|
|
9
9
|
c:I[10598,["./_next/static/chunks/31ps5g4xjy459.js"],"default",1]
|
|
10
|
-
:HL["./_next/static/chunks/
|
|
11
|
-
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"./_next/static/chunks/
|
|
10
|
+
:HL["./_next/static/chunks/3697fme3slonf.css","style"]
|
|
11
|
+
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"./_next/static/chunks/3697fme3slonf.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"./_next/static/chunks/31ps5g4xjy459.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var k='devframe-git-theme';var t=localStorage.getItem(k);if(t!=='light'&&t!=='dark'){t=window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';}if(t==='dark')document.documentElement.classList.add('dark');}catch(e){document.documentElement.classList.add('dark');}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{}],[["$","script","script-0",{"src":"./_next/static/chunks/04k2z2nsn1jn8.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"./_next/static/chunks/2kt3nrxqhj477.js","async":true,"nonce":"$undefined"}]],["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],null]}],false]],"m":"$undefined","G":["$c",[["$","link","0",{"rel":"stylesheet","href":"./_next/static/chunks/3697fme3slonf.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"1ck6DhbbFqUfsc7KBgkNJ"}
|
|
12
12
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
13
13
|
7:null
|
|
14
14
|
b:[["$","title","0",{"children":"Git Dashboard"}],["$","meta","1",{"name":"description","content":"A devframe Git integration with a Next.js App Router + shadcn/ui SPA."}]]
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as src_default, t as createGitDevframe } from "./src-
|
|
1
|
+
import { n as src_default, t as createGitDevframe } from "./src-BWfzSuMh.mjs";
|
|
2
2
|
export { createGitDevframe, src_default as default };
|
|
@@ -5,9 +5,10 @@ import { execFile } from "node:child_process";
|
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { promisify } from "node:util";
|
|
7
7
|
import { defineRpcFunction } from "devframe";
|
|
8
|
+
import { s } from "devframe/utils/simple-schema";
|
|
8
9
|
//#region package.json
|
|
9
10
|
var name = "@devframes/plugin-git";
|
|
10
|
-
var version = "0.
|
|
11
|
+
var version = "0.8.0";
|
|
11
12
|
var description = "Git integration for devframe — a read-only repository dashboard (status, log, branches, diff) with a Next.js + shadcn/ui SPA over type-safe RPC.";
|
|
12
13
|
var homepage = "https://github.com/devframes/devframe#readme";
|
|
13
14
|
//#endregion
|
|
@@ -131,6 +132,10 @@ const branches = defineRpcFunction({
|
|
|
131
132
|
type: "query",
|
|
132
133
|
snapshot: true,
|
|
133
134
|
jsonSerializable: true,
|
|
135
|
+
agent: {
|
|
136
|
+
description: "List local and remote branches of the inspected repository with tracking state (ahead/behind, gone upstreams) and the current branch. Safe to call freely.",
|
|
137
|
+
title: "Git branches"
|
|
138
|
+
},
|
|
134
139
|
setup: (ctx) => {
|
|
135
140
|
const git = getGitContext(ctx);
|
|
136
141
|
return { handler: async () => {
|
|
@@ -297,6 +302,10 @@ const status = defineRpcFunction({
|
|
|
297
302
|
type: "query",
|
|
298
303
|
snapshot: true,
|
|
299
304
|
jsonSerializable: true,
|
|
305
|
+
agent: {
|
|
306
|
+
description: "Working-tree status of the inspected repository: current branch, ahead/behind counts, and every staged/unstaged/untracked file. Call this first to orient before reading diffs or history. Safe to call freely.",
|
|
307
|
+
title: "Git status"
|
|
308
|
+
},
|
|
300
309
|
setup: (ctx) => {
|
|
301
310
|
const git = getGitContext(ctx);
|
|
302
311
|
return { handler: () => readStatus(git) };
|
|
@@ -355,6 +364,22 @@ const commit = defineRpcFunction({
|
|
|
355
364
|
//#region src/rpc/functions/diff.ts
|
|
356
365
|
/** Hard cap on the returned patch text to keep payloads bounded. */
|
|
357
366
|
const PATCH_CHAR_LIMIT$1 = 2e5;
|
|
367
|
+
const diffFileSchema = s.object({
|
|
368
|
+
path: s.string(),
|
|
369
|
+
additions: s.number(),
|
|
370
|
+
deletions: s.number(),
|
|
371
|
+
binary: s.boolean()
|
|
372
|
+
});
|
|
373
|
+
const gitDiffSchema = s.object({
|
|
374
|
+
isRepo: s.boolean(),
|
|
375
|
+
staged: s.boolean(),
|
|
376
|
+
path: s.nullable(s.string()),
|
|
377
|
+
files: s.array(diffFileSchema),
|
|
378
|
+
totalAdditions: s.number(),
|
|
379
|
+
totalDeletions: s.number(),
|
|
380
|
+
patch: s.nullable(s.string()),
|
|
381
|
+
truncated: s.boolean()
|
|
382
|
+
});
|
|
358
383
|
function parseNumstat$1(raw) {
|
|
359
384
|
return splitClean(raw, "\n").map((line) => {
|
|
360
385
|
const [add, del, ...rest] = line.split(" ");
|
|
@@ -372,6 +397,15 @@ const diff = defineRpcFunction({
|
|
|
372
397
|
type: "query",
|
|
373
398
|
snapshot: true,
|
|
374
399
|
jsonSerializable: true,
|
|
400
|
+
args: [s.object({
|
|
401
|
+
path: s.optional(s.string()),
|
|
402
|
+
staged: s.optional(s.boolean())
|
|
403
|
+
})],
|
|
404
|
+
returns: gitDiffSchema,
|
|
405
|
+
agent: {
|
|
406
|
+
description: "Unified diff of uncommitted changes in the inspected repository — the working tree by default, the index with staged: true, one file with path. Call before summarizing or reviewing in-progress work. Safe to call freely.",
|
|
407
|
+
title: "Git diff"
|
|
408
|
+
},
|
|
375
409
|
setup: (ctx) => {
|
|
376
410
|
const git = getGitContext(ctx);
|
|
377
411
|
return { handler: async (args = {}) => {
|
|
@@ -420,6 +454,24 @@ const diff = defineRpcFunction({
|
|
|
420
454
|
});
|
|
421
455
|
//#endregion
|
|
422
456
|
//#region src/rpc/functions/log.ts
|
|
457
|
+
const commitSchema = s.object({
|
|
458
|
+
hash: s.string(),
|
|
459
|
+
shortHash: s.string(),
|
|
460
|
+
author: s.string(),
|
|
461
|
+
email: s.string(),
|
|
462
|
+
date: s.number(),
|
|
463
|
+
subject: s.string(),
|
|
464
|
+
body: s.string(),
|
|
465
|
+
refs: s.array(s.string()),
|
|
466
|
+
parents: s.array(s.string())
|
|
467
|
+
});
|
|
468
|
+
const gitLogSchema = s.object({
|
|
469
|
+
isRepo: s.boolean(),
|
|
470
|
+
commits: s.array(commitSchema),
|
|
471
|
+
limit: s.number(),
|
|
472
|
+
skip: s.number(),
|
|
473
|
+
hasMore: s.boolean()
|
|
474
|
+
});
|
|
423
475
|
const FORMAT = [
|
|
424
476
|
"%H",
|
|
425
477
|
"%h",
|
|
@@ -455,6 +507,16 @@ const log = defineRpcFunction({
|
|
|
455
507
|
name: "devframes:plugin:git:log",
|
|
456
508
|
type: "query",
|
|
457
509
|
jsonSerializable: true,
|
|
510
|
+
args: [s.object({
|
|
511
|
+
limit: s.optional(s.number()),
|
|
512
|
+
skip: s.optional(s.number()),
|
|
513
|
+
ref: s.optional(s.string())
|
|
514
|
+
})],
|
|
515
|
+
returns: gitLogSchema,
|
|
516
|
+
agent: {
|
|
517
|
+
description: "Commit history of the inspected repository, newest first. Paginate with limit (1-200, default 30) and skip; pass ref to read another branch. Call before reasoning about recent changes. Safe to call freely.",
|
|
518
|
+
title: "Git log"
|
|
519
|
+
},
|
|
458
520
|
dump: async (_ctx, handler) => {
|
|
459
521
|
const baked = {
|
|
460
522
|
...await handler({
|
|
@@ -521,6 +583,44 @@ const PATCH_CHAR_LIMIT = 2e5;
|
|
|
521
583
|
const SNAPSHOT_LIMIT = 200;
|
|
522
584
|
/** Read-only git detail work can run in parallel without overwhelming builds. */
|
|
523
585
|
const DUMP_CONCURRENCY = 8;
|
|
586
|
+
const fileStatusCodeSchema = s.picklist([
|
|
587
|
+
"modified",
|
|
588
|
+
"added",
|
|
589
|
+
"deleted",
|
|
590
|
+
"renamed",
|
|
591
|
+
"copied",
|
|
592
|
+
"type-changed",
|
|
593
|
+
"unmerged",
|
|
594
|
+
"unknown"
|
|
595
|
+
]);
|
|
596
|
+
const commitFileSchema = s.object({
|
|
597
|
+
path: s.string(),
|
|
598
|
+
additions: s.number(),
|
|
599
|
+
deletions: s.number(),
|
|
600
|
+
binary: s.boolean(),
|
|
601
|
+
status: fileStatusCodeSchema
|
|
602
|
+
});
|
|
603
|
+
const commitDetailSchema = s.object({
|
|
604
|
+
isRepo: s.boolean(),
|
|
605
|
+
found: s.boolean(),
|
|
606
|
+
hash: s.string(),
|
|
607
|
+
shortHash: s.string(),
|
|
608
|
+
author: s.string(),
|
|
609
|
+
email: s.string(),
|
|
610
|
+
date: s.number(),
|
|
611
|
+
committer: s.string(),
|
|
612
|
+
committerEmail: s.string(),
|
|
613
|
+
commitDate: s.number(),
|
|
614
|
+
subject: s.string(),
|
|
615
|
+
body: s.string(),
|
|
616
|
+
parents: s.array(s.string()),
|
|
617
|
+
refs: s.array(s.string()),
|
|
618
|
+
files: s.array(commitFileSchema),
|
|
619
|
+
totalAdditions: s.number(),
|
|
620
|
+
totalDeletions: s.number(),
|
|
621
|
+
patch: s.nullable(s.string()),
|
|
622
|
+
truncated: s.boolean()
|
|
623
|
+
});
|
|
524
624
|
const EMPTY_DETAIL = {
|
|
525
625
|
isRepo: false,
|
|
526
626
|
found: false,
|
|
@@ -677,6 +777,15 @@ const show = defineRpcFunction({
|
|
|
677
777
|
name: "devframes:plugin:git:show",
|
|
678
778
|
type: "query",
|
|
679
779
|
jsonSerializable: true,
|
|
780
|
+
args: [s.object({
|
|
781
|
+
hash: s.string(),
|
|
782
|
+
patch: s.optional(s.boolean())
|
|
783
|
+
})],
|
|
784
|
+
returns: commitDetailSchema,
|
|
785
|
+
agent: {
|
|
786
|
+
description: "Full detail of one commit by hash (from the git log tool): metadata, changed files, and the unified patch (pass patch: false to skip it for large commits). Safe to call freely.",
|
|
787
|
+
title: "Git show"
|
|
788
|
+
},
|
|
680
789
|
dump: async (ctx, _handler) => {
|
|
681
790
|
const git = getGitContext(ctx);
|
|
682
791
|
if (!await git.resolveRoot()) return {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/plugin-git",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"description": "Git integration for devframe — a read-only repository dashboard (status, log, branches, diff) with a Next.js + shadcn/ui SPA over type-safe RPC.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"cac": "^7.0.0",
|
|
37
37
|
"pathe": "^2.0.3",
|
|
38
|
-
"devframe": "0.
|
|
38
|
+
"devframe": "0.8.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@antfu/design": "^0.3.2",
|
|
@@ -43,9 +43,7 @@
|
|
|
43
43
|
"@iconify-json/catppuccin": "^1.2.17",
|
|
44
44
|
"@pierre/diffs": "^1.2.12",
|
|
45
45
|
"@radix-ui/react-scroll-area": "^1.2.18",
|
|
46
|
-
"@radix-ui/react-separator": "^1.1.15",
|
|
47
46
|
"@radix-ui/react-slot": "^1.3.3",
|
|
48
|
-
"@radix-ui/react-tabs": "^1.1.21",
|
|
49
47
|
"@storybook/addon-a11y": "^10.5.5",
|
|
50
48
|
"@storybook/addon-docs": "^10.5.5",
|
|
51
49
|
"@storybook/react-vite": "^10.5.5",
|
|
@@ -53,7 +51,6 @@
|
|
|
53
51
|
"@types/react-dom": "^19.2.3",
|
|
54
52
|
"@unocss/postcss": "^66.7.5",
|
|
55
53
|
"@vitejs/plugin-react-oxc": "^0.4.3",
|
|
56
|
-
"class-variance-authority": "^0.7.1",
|
|
57
54
|
"clsx": "^2.1.1",
|
|
58
55
|
"colorjs.io": "^0.7.1",
|
|
59
56
|
"get-port-please": "^3.2.0",
|
/package/dist/client/_next/static/{5qyDLyU1HGKhvCpEaaW6x → 1ck6DhbbFqUfsc7KBgkNJ}/_buildManifest.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/client/_next/static/{5qyDLyU1HGKhvCpEaaW6x → 1ck6DhbbFqUfsc7KBgkNJ}/_ssgManifest.js
RENAMED
|
File without changes
|