@kw-yeh/vibeflow 4.11.39 → 4.11.41
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/web/404/index.html +1 -1
- package/dist/web/404.html +1 -1
- package/dist/web/_next/static/chunks/1225.c26a6d1ce0d82da2.js +1 -0
- package/dist/web/_next/static/chunks/{3927.8202e4c7eeb07487.js → 3927.4f1724c11c5f42a8.js} +1 -1
- package/dist/web/_next/static/chunks/7045.cf4993f5eb0f9eb4.js +1 -0
- package/dist/web/_next/static/chunks/7915.c6925370d1383e2e.js +1 -0
- package/dist/web/_next/static/chunks/{8259.62f5c49f967282f1.js → 8259.90c4d5a968aca55b.js} +1 -1
- package/dist/web/_next/static/chunks/9511-583f6646d41ca80c.js +9 -0
- package/dist/web/_next/static/chunks/pages/home-3a67529f14bfbf5f.js +13 -0
- package/dist/web/_next/static/chunks/{webpack-9dc72759edb7420f.js → webpack-c8c96fd26290e204.js} +1 -1
- package/dist/web/_next/static/css/9187d5806b3a122c.css +2 -0
- package/dist/web/_next/static/{7PoSgDqLcXreA4Amg4KCd → m8Qx5CrsoNWKGv6xecckf}/_buildManifest.js +1 -1
- package/dist/web/home/index.html +1 -1
- package/package.json +1 -1
- package/dist/web/_next/static/chunks/1225.a647bd4cfed39edf.js +0 -1
- package/dist/web/_next/static/chunks/5174-9f90ae432131a522.js +0 -9
- package/dist/web/_next/static/chunks/7045.7cf0eb88acb1ee65.js +0 -1
- package/dist/web/_next/static/chunks/7915.e23554d5280c643a.js +0 -1
- package/dist/web/_next/static/chunks/pages/home-e9b4955fe2fcbdc3.js +0 -13
- package/dist/web/_next/static/css/07822becd778a410.css +0 -2
- /package/dist/web/_next/static/{7PoSgDqLcXreA4Amg4KCd → m8Qx5CrsoNWKGv6xecckf}/_ssgManifest.js +0 -0
package/dist/web/404/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/9187d5806b3a122c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9187d5806b3a122c.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c8c96fd26290e204.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-ba514e8a4a55baf5.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/m8Qx5CrsoNWKGv6xecckf/_buildManifest.js" defer=""></script><script src="/_next/static/m8Qx5CrsoNWKGv6xecckf/_ssgManifest.js" defer=""></script></head><body><div id="__next"><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="line-height:48px"><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-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"m8Qx5CrsoNWKGv6xecckf","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
package/dist/web/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/9187d5806b3a122c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9187d5806b3a122c.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c8c96fd26290e204.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-ba514e8a4a55baf5.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/m8Qx5CrsoNWKGv6xecckf/_buildManifest.js" defer=""></script><script src="/_next/static/m8Qx5CrsoNWKGv6xecckf/_ssgManifest.js" defer=""></script></head><body><div id="__next"><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="line-height:48px"><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-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"m8Qx5CrsoNWKGv6xecckf","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1225],{91225:(e,t,s)=>{s.r(t),s.d(t,{TerminalFilePreview:()=>u});var r=s(26514),a=s(75834),n=s(60851),l=s(78141),o=s(6329),i=s(54996),c=s(86570),d=s(23072),m=s(26374),x=s(53150);function u({sessionKey:e,path:t,onClose:s}){let[p,h]=(0,a.useState)(null),[k,f]=(0,a.useState)(""),[j,g]=(0,a.useState)(!1),[b,w]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let s=!0;return(0,m.N9)(e,t).then(e=>{s&&h(e??{ok:!1,error:"unreadable",message:"未連線到 VibeFlow。"})}).catch(e=>{s&&h({ok:!1,error:"unreadable",message:e instanceof Error?e.message:"無法讀取檔案。"})}),()=>{s=!1}},[e,t]);let N=async()=>{g(!0),f("");try{let s=await (0,m.Br)(e,t);s?.ok||f(s?.message??"未連線到 VibeFlow。")}catch(e){f(e instanceof Error?e.message:"無法開啟檔案。")}finally{g(!1)}};return(0,n.createPortal)((0,r.jsx)(o.h,{className:"dark",title:"檔案預覽",description:(0,r.jsx)("span",{className:"block break-all font-mono text-xs",children:p?.ok?p.path:t}),onClose:s,showHeader:!0,contentClassName:"max-w-5xl",bodyClassName:"min-w-0 p-4",footer:p?.ok?(0,r.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:[k&&(0,r.jsx)("p",{role:"alert",className:"break-all text-sm text-destructive",children:k}),(0,r.jsx)(i.$,{variant:"outline",onClick:()=>void N(),disabled:j,children:j?"開啟中…":"用系統程式開啟"})]}):void 0,children:(0,r.jsx)(x.a,{phase:p?p.ok?p.kind:"error":"loading",children:p?p.ok?"image"===p.kind?(0,r.jsx)("div",{onError:()=>w(!0),children:b?(0,r.jsx)("p",{role:"alert",children:"無法顯示這張圖片,請用系統程式開啟。"}):(0,r.jsx)(c.p,{src:p.dataUrl,alt:p.path})}):"binary"===p.kind?(0,r.jsxs)("p",{className:"py-10 text-center text-sm text-muted-foreground",children:[p.reason," 請用系統程式開啟。"]}):(0,r.jsxs)(r.Fragment,{children:[/\.md(?:own|x)?$/i.test(p.path)?(0,r.jsx)(d.h,{source:p.text}):(0,r.jsx)("pre",{className:"whitespace-pre-wrap break-words rounded-md bg-muted/30 p-3 font-mono text-xs",children:p.text}),p.truncated&&(0,r.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:"內容過長,僅顯示開頭 256 KB。"})]}):(0,r.jsx)("p",{role:"alert",className:"py-10 text-center text-sm text-muted-foreground",children:p.message}):(0,r.jsxs)("p",{role:"status",className:"flex items-center justify-center gap-2 py-10 text-sm text-muted-foreground",children:[(0,r.jsx)(l.A,{className:"size-4 animate-spin"}),"讀取中…"]})})}),document.body)}}}]);
|