bluekiwi 1.1.2 → 1.2.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/README.md +59 -0
- package/dist/assets/app-runtime/.next/BUILD_ID +1 -1
- package/dist/assets/app-runtime/.next/app-path-routes-manifest.json +5 -5
- package/dist/assets/app-runtime/.next/build-manifest.json +2 -2
- package/dist/assets/app-runtime/.next/prerender-manifest.json +3 -3
- package/dist/assets/app-runtime/.next/server/app/(app)/credentials/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/docs/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/instructions/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/settings/groups/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/tasks/[id]/page.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/tasks/[id]/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/tasks/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/tutorial/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/workflows/[id]/edit/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/workflows/[id]/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/workflows/new/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(app)/workflows/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(auth)/change-password/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(auth)/invite/[token]/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(auth)/login/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/(auth)/setup/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/_global-error.html +1 -1
- package/dist/assets/app-runtime/.next/server/app/_global-error.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/_not-found.html +1 -1
- package/dist/assets/app-runtime/.next/server/app/_not-found.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/api/tasks/start/route.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/api/version/route.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/api/workflows/[id]/activate/route.js +5 -5
- package/dist/assets/app-runtime/.next/server/app/api/workflows/[id]/route.js +5 -5
- package/dist/assets/app-runtime/.next/server/app/api/workflows/[id]/transfer/route.js +5 -5
- package/dist/assets/app-runtime/.next/server/app/api/workflows/import/route.js +1 -1
- package/dist/assets/app-runtime/.next/server/app/api/workflows/route.js +5 -5
- package/dist/assets/app-runtime/.next/server/app/change-password.html +1 -1
- package/dist/assets/app-runtime/.next/server/app/change-password.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/change-password.segments/!KGF1dGgp/change-password/__PAGE__.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/change-password.segments/!KGF1dGgp/change-password.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/change-password.segments/!KGF1dGgp.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/change-password.segments/_full.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/change-password.segments/_head.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/change-password.segments/_index.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/change-password.segments/_tree.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/login.html +1 -1
- package/dist/assets/app-runtime/.next/server/app/login.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/login.segments/!KGF1dGgp/login/__PAGE__.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/login.segments/!KGF1dGgp/login.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/login.segments/!KGF1dGgp.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/login.segments/_full.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/login.segments/_index.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/setup.html +1 -1
- package/dist/assets/app-runtime/.next/server/app/setup.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/setup.segments/!KGF1dGgp/setup/__PAGE__.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/setup.segments/!KGF1dGgp/setup.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/setup.segments/!KGF1dGgp.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/setup.segments/_full.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/setup.segments/_head.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/setup.segments/_index.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app/setup.segments/_tree.segment.rsc +1 -1
- package/dist/assets/app-runtime/.next/server/app-paths-manifest.json +5 -5
- package/dist/assets/app-runtime/.next/server/chunks/2624.js +1 -1
- package/dist/assets/app-runtime/.next/server/chunks/4024.js +1 -1
- package/dist/assets/app-runtime/.next/server/middleware-build-manifest.js +1 -1
- package/dist/assets/app-runtime/.next/server/pages/404.html +1 -1
- package/dist/assets/app-runtime/.next/server/pages/500.html +1 -1
- package/dist/assets/app-runtime/.next/server/server-reference-manifest.json +1 -1
- package/dist/assets/app-runtime/.next/static/chunks/{7552-67667f5f15d4f961.js → 7552-aa220264909ca9d9.js} +1 -1
- package/dist/assets/app-runtime/.next/static/chunks/{9243-34655a593a6aa471.js → 9243-9c99cc0df75c9121.js} +1 -1
- package/dist/assets/app-runtime/.next/static/chunks/app/(app)/instructions/{page-0aa5fcbf056c7144.js → page-dd25654a8191a638.js} +1 -1
- package/dist/assets/app-runtime/.next/static/chunks/app/(app)/{layout-64cb9b84079366f9.js → layout-d7f54b544bb8d2df.js} +1 -1
- package/dist/assets/app-runtime/.next/static/chunks/app/(app)/tasks/[id]/{page-29349afdbe6e318f.js → page-e88075977b43a9d5.js} +1 -1
- package/dist/assets/app-runtime/node_modules/@img/sharp-libvips-linux-arm64/lib/index.js +1 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-libvips-linux-arm64/lib/libvips-cpp.so.8.17.3 +0 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-libvips-linux-arm64/package.json +42 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-libvips-linux-arm64/versions.json +30 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-libvips-linuxmusl-arm64/lib/index.js +1 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-libvips-linuxmusl-arm64/lib/libvips-cpp.so.8.17.3 +0 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-libvips-linuxmusl-arm64/package.json +42 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-libvips-linuxmusl-arm64/versions.json +30 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-linux-arm64/LICENSE +191 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-linux-arm64/lib/sharp-linux-arm64.node +0 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-linux-arm64/package.json +46 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-linuxmusl-arm64/LICENSE +191 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-linuxmusl-arm64/lib/sharp-linuxmusl-arm64.node +0 -0
- package/dist/assets/app-runtime/node_modules/@img/sharp-linuxmusl-arm64/package.json +46 -0
- package/dist/assets/app-runtime/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/dist/assets/app-runtime/package.json +1 -1
- package/dist/runtimes/antigravity.js +14 -0
- package/dist/runtimes/claude-code.js +10 -62
- package/dist/runtimes/claude-desktop.js +16 -0
- package/dist/runtimes/cline.js +16 -0
- package/dist/runtimes/codex.js +8 -24
- package/dist/runtimes/continue.js +68 -0
- package/dist/runtimes/cursor.js +14 -0
- package/dist/runtimes/detect.js +24 -0
- package/dist/runtimes/gemini-cli.js +9 -61
- package/dist/runtimes/goose.js +109 -0
- package/dist/runtimes/jetbrains.js +50 -0
- package/dist/runtimes/json-mcp.js +93 -0
- package/dist/runtimes/openclaw.js +9 -61
- package/dist/runtimes/opencode.js +9 -61
- package/dist/runtimes/platform-paths.js +57 -0
- package/dist/runtimes/roo-code.js +15 -0
- package/dist/runtimes/skills-helper.js +31 -0
- package/dist/runtimes/trae.js +16 -0
- package/dist/runtimes/vscode.js +19 -0
- package/dist/runtimes/windsurf.js +15 -0
- package/dist/runtimes/zed.js +16 -0
- package/package.json +6 -3
- /package/dist/assets/app-runtime/.next/static/{hqMZcC_as2uhicKR6YANm → UVzMOjly0ACJRK3vNndFP}/_buildManifest.js +0 -0
- /package/dist/assets/app-runtime/.next/static/{hqMZcC_as2uhicKR6YANm → UVzMOjly0ACJRK3vNndFP}/_ssgManifest.js +0 -0
|
@@ -11,7 +11,7 @@ d:I[90484,[],"ViewportBoundary"]
|
|
|
11
11
|
f:I[90484,[],"MetadataBoundary"]
|
|
12
12
|
11:I[27123,[],"default",1]
|
|
13
13
|
:HL["/_next/static/css/2bc6b6e35d293c50.css","style"]
|
|
14
|
-
0:{"P":null,"c":["","login"],"q":"","i":false,"f":[[["",{"children":["(auth)",{"children":["login",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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"}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],null,["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null]},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],null]}],false]],"m":"$undefined","G":["$11",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
14
|
+
0:{"P":null,"c":["","login"],"q":"","i":false,"f":[[["",{"children":["(auth)",{"children":["login",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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"}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],null,["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null]},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],null]}],false]],"m":"$undefined","G":["$11",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UVzMOjly0ACJRK3vNndFP"}
|
|
15
15
|
8:{}
|
|
16
16
|
9:"$0:f:0:1:1:children:1:children:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
17
17
|
e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
3:I[90484,[],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
5
|
5:I[86869,[],"IconMark"]
|
|
6
|
-
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Login | BlueKiwi"}],["$","meta","1",{"name":"description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","2",{"property":"og:title","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","3",{"property":"og:description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","4",{"property":"og:site_name","content":"BlueKiwi"}],["$","meta","5",{"property":"og:locale","content":"ko_KR"}],["$","meta","6",{"property":"og:image","content":"http://localhost:3100/og-cover.png"}],["$","meta","7",{"property":"og:image:width","content":"1200"}],["$","meta","8",{"property":"og:image:height","content":"630"}],["$","meta","9",{"property":"og:image:alt","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","10",{"property":"og:type","content":"website"}],["$","meta","11",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","12",{"name":"twitter:title","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","13",{"name":"twitter:description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","14",{"name":"twitter:image","content":"http://localhost:3100/og-cover.png"}],["$","link","15",{"rel":"icon","href":"/favicon.ico","sizes":"32x32"}],["$","link","16",{"rel":"icon","href":"/favicon.png","type":"image/png","sizes":"32x32"}],["$","link","17",{"rel":"icon","href":"/icon-192.png","type":"image/png","sizes":"192x192"}],["$","link","18",{"rel":"icon","href":"/icon-512.png","type":"image/png","sizes":"512x512"}],["$","link","19",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L5","20",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
6
|
+
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Login | BlueKiwi"}],["$","meta","1",{"name":"description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","2",{"property":"og:title","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","3",{"property":"og:description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","4",{"property":"og:site_name","content":"BlueKiwi"}],["$","meta","5",{"property":"og:locale","content":"ko_KR"}],["$","meta","6",{"property":"og:image","content":"http://localhost:3100/og-cover.png"}],["$","meta","7",{"property":"og:image:width","content":"1200"}],["$","meta","8",{"property":"og:image:height","content":"630"}],["$","meta","9",{"property":"og:image:alt","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","10",{"property":"og:type","content":"website"}],["$","meta","11",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","12",{"name":"twitter:title","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","13",{"name":"twitter:description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","14",{"name":"twitter:image","content":"http://localhost:3100/og-cover.png"}],["$","link","15",{"rel":"icon","href":"/favicon.ico","sizes":"32x32"}],["$","link","16",{"rel":"icon","href":"/favicon.png","type":"image/png","sizes":"32x32"}],["$","link","17",{"rel":"icon","href":"/icon-192.png","type":"image/png","sizes":"192x192"}],["$","link","18",{"rel":"icon","href":"/icon-512.png","type":"image/png","sizes":"512x512"}],["$","link","19",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L5","20",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UVzMOjly0ACJRK3vNndFP"}
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
4:I[74581,[],""]
|
|
5
5
|
5:I[30852,["7262","static/chunks/7262-cdb2767600e6e41e.js","2360","static/chunks/2360-3fea55936dac2ff8.js","7177","static/chunks/app/layout-e3f307ffaa2d11cc.js"],"Toaster"]
|
|
6
6
|
:HL["/_next/static/css/2bc6b6e35d293c50.css","style"]
|
|
7
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"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."}]}]]}]}]],[]]}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
7
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"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."}]}]]}]}]],[]]}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UVzMOjly0ACJRK3vNndFP"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
:HL["/_next/static/css/2bc6b6e35d293c50.css","style"]
|
|
2
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"(auth)","param":null,"prefetchHints":0,"slots":{"children":{"name":"login","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"
|
|
2
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"(auth)","param":null,"prefetchHints":0,"slots":{"children":{"name":"login","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"UVzMOjly0ACJRK3vNndFP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="ko" class="antialiased"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/2bc6b6e35d293c50.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-49017e80a77a9442.js"/><script src="/_next/static/chunks/4bd1b696-e356ca5ba0218e27.js" async=""></script><script src="/_next/static/chunks/3794-154456079185e990.js" async=""></script><script src="/_next/static/chunks/main-app-e972602355b3c35f.js" async=""></script><script src="/_next/static/chunks/7262-cdb2767600e6e41e.js" async=""></script><script src="/_next/static/chunks/2360-3fea55936dac2ff8.js" async=""></script><script src="/_next/static/chunks/app/layout-e3f307ffaa2d11cc.js" async=""></script><script src="/_next/static/chunks/8409-f2426c4ac33918a5.js" async=""></script><script src="/_next/static/chunks/600-11cf145119344519.js" async=""></script><script src="/_next/static/chunks/app/(auth)/setup/page-395767296740d104.js" async=""></script><title>Setup | BlueKiwi</title><meta name="description" content="Design reusable workflows, run them from any AI coding agent, and watch every step in real time."/><meta property="og:title" content="BlueKiwi — AI Agent Workflow Engine"/><meta property="og:description" content="Design reusable workflows, run them from any AI coding agent, and watch every step in real time."/><meta property="og:site_name" content="BlueKiwi"/><meta property="og:locale" content="ko_KR"/><meta property="og:image" content="http://localhost:3100/og-cover.png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:alt" content="BlueKiwi — AI Agent Workflow Engine"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="BlueKiwi — AI Agent Workflow Engine"/><meta name="twitter:description" content="Design reusable workflows, run them from any AI coding agent, and watch every step in real time."/><meta name="twitter:image" content="http://localhost:3100/og-cover.png"/><link rel="icon" href="/favicon.ico" sizes="32x32"/><link rel="icon" href="/favicon.png" type="image/png" sizes="32x32"/><link rel="icon" href="/icon-192.png" type="image/png" sizes="192x192"/><link rel="icon" href="/icon-512.png" type="image/png" sizes="512x512"/><link rel="apple-touch-icon" href="/apple-touch-icon.png"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-screen"><div hidden=""><!--$--><!--/$--></div><!--$--><!--/$--><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><script src="/_next/static/chunks/webpack-49017e80a77a9442.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[42360,[\"7262\",\"static/chunks/7262-cdb2767600e6e41e.js\",\"2360\",\"static/chunks/2360-3fea55936dac2ff8.js\",\"7177\",\"static/chunks/app/layout-e3f307ffaa2d11cc.js\"],\"I18nProvider\"]\n3:I[57121,[],\"\"]\n4:I[74581,[],\"\"]\n5:I[30852,[\"7262\",\"static/chunks/7262-cdb2767600e6e41e.js\",\"2360\",\"static/chunks/2360-3fea55936dac2ff8.js\",\"7177\",\"static/chunks/app/layout-e3f307ffaa2d11cc.js\"],\"Toaster\"]\n6:I[61304,[],\"ClientPageRoot\"]\n7:I[22589,[\"8409\",\"static/chunks/8409-f2426c4ac33918a5.js\",\"600\",\"static/chunks/600-11cf145119344519.js\",\"2360\",\"static/chunks/2360-3fea55936dac2ff8.js\",\"1708\",\"static/chunks/app/(auth)/setup/page-395767296740d104.js\"],\"default\"]\na:I[90484,[],\"OutletBoundary\"]\nb:\"$Sreact.suspense\"\nd:I[90484,[],\"ViewportBoundary\"]\nf:I[90484,[],\"MetadataBoundary\"]\n11:I[27123,[],\"default\",1]\n:HL[\"/_next/static/css/2bc6b6e35d293c50.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"setup\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"(auth)\",{\"children\":[\"setup\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2bc6b6e35d293c50.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"ko\",\"className\":\"antialiased\",\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-screen\",\"children\":[\"$\",\"$L2\",null,{\"children\":[[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",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\"}],[\"$\",\"$L5\",null,{\"position\":\"top-right\"}]]}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L6\",null,{\"Component\":\"$7\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@8\",\"$@9\"]}}],null,[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@c\"}]}]]}],{},null,false,null]},null,false,null]},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"children\":\"$Le\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$11\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"hqMZcC_as2uhicKR6YANm\"}\n"])</script><script>self.__next_f.push([1,"8:{}\n9:\"$0:f:0:1:1:children:1:children:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"12:I[86869,[],\"IconMark\"]\nc:null\n"])</script><script>self.__next_f.push([1,"10:[[\"$\",\"title\",\"0\",{\"children\":\"Setup | BlueKiwi\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Design reusable workflows, run them from any AI coding agent, and watch every step in real time.\"}],[\"$\",\"meta\",\"2\",{\"property\":\"og:title\",\"content\":\"BlueKiwi — AI Agent Workflow Engine\"}],[\"$\",\"meta\",\"3\",{\"property\":\"og:description\",\"content\":\"Design reusable workflows, run them from any AI coding agent, and watch every step in real time.\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:site_name\",\"content\":\"BlueKiwi\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:locale\",\"content\":\"ko_KR\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:image\",\"content\":\"http://localhost:3100/og-cover.png\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:image:alt\",\"content\":\"BlueKiwi — AI Agent Workflow Engine\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"11\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"12\",{\"name\":\"twitter:title\",\"content\":\"BlueKiwi — AI Agent Workflow Engine\"}],[\"$\",\"meta\",\"13\",{\"name\":\"twitter:description\",\"content\":\"Design reusable workflows, run them from any AI coding agent, and watch every step in real time.\"}],[\"$\",\"meta\",\"14\",{\"name\":\"twitter:image\",\"content\":\"http://localhost:3100/og-cover.png\"}],[\"$\",\"link\",\"15\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"sizes\":\"32x32\"}],[\"$\",\"link\",\"16\",{\"rel\":\"icon\",\"href\":\"/favicon.png\",\"type\":\"image/png\",\"sizes\":\"32x32\"}],[\"$\",\"link\",\"17\",{\"rel\":\"icon\",\"href\":\"/icon-192.png\",\"type\":\"image/png\",\"sizes\":\"192x192\"}],[\"$\",\"link\",\"18\",{\"rel\":\"icon\",\"href\":\"/icon-512.png\",\"type\":\"image/png\",\"sizes\":\"512x512\"}],[\"$\",\"link\",\"19\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\"}],[\"$\",\"$L12\",\"20\",{}]]\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="ko" class="antialiased"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/2bc6b6e35d293c50.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-49017e80a77a9442.js"/><script src="/_next/static/chunks/4bd1b696-e356ca5ba0218e27.js" async=""></script><script src="/_next/static/chunks/3794-154456079185e990.js" async=""></script><script src="/_next/static/chunks/main-app-e972602355b3c35f.js" async=""></script><script src="/_next/static/chunks/7262-cdb2767600e6e41e.js" async=""></script><script src="/_next/static/chunks/2360-3fea55936dac2ff8.js" async=""></script><script src="/_next/static/chunks/app/layout-e3f307ffaa2d11cc.js" async=""></script><script src="/_next/static/chunks/8409-f2426c4ac33918a5.js" async=""></script><script src="/_next/static/chunks/600-11cf145119344519.js" async=""></script><script src="/_next/static/chunks/app/(auth)/setup/page-395767296740d104.js" async=""></script><title>Setup | BlueKiwi</title><meta name="description" content="Design reusable workflows, run them from any AI coding agent, and watch every step in real time."/><meta property="og:title" content="BlueKiwi — AI Agent Workflow Engine"/><meta property="og:description" content="Design reusable workflows, run them from any AI coding agent, and watch every step in real time."/><meta property="og:site_name" content="BlueKiwi"/><meta property="og:locale" content="ko_KR"/><meta property="og:image" content="http://localhost:3100/og-cover.png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:alt" content="BlueKiwi — AI Agent Workflow Engine"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="BlueKiwi — AI Agent Workflow Engine"/><meta name="twitter:description" content="Design reusable workflows, run them from any AI coding agent, and watch every step in real time."/><meta name="twitter:image" content="http://localhost:3100/og-cover.png"/><link rel="icon" href="/favicon.ico" sizes="32x32"/><link rel="icon" href="/favicon.png" type="image/png" sizes="32x32"/><link rel="icon" href="/icon-192.png" type="image/png" sizes="192x192"/><link rel="icon" href="/icon-512.png" type="image/png" sizes="512x512"/><link rel="apple-touch-icon" href="/apple-touch-icon.png"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-screen"><div hidden=""><!--$--><!--/$--></div><!--$--><!--/$--><section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><script src="/_next/static/chunks/webpack-49017e80a77a9442.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[42360,[\"7262\",\"static/chunks/7262-cdb2767600e6e41e.js\",\"2360\",\"static/chunks/2360-3fea55936dac2ff8.js\",\"7177\",\"static/chunks/app/layout-e3f307ffaa2d11cc.js\"],\"I18nProvider\"]\n3:I[57121,[],\"\"]\n4:I[74581,[],\"\"]\n5:I[30852,[\"7262\",\"static/chunks/7262-cdb2767600e6e41e.js\",\"2360\",\"static/chunks/2360-3fea55936dac2ff8.js\",\"7177\",\"static/chunks/app/layout-e3f307ffaa2d11cc.js\"],\"Toaster\"]\n6:I[61304,[],\"ClientPageRoot\"]\n7:I[22589,[\"8409\",\"static/chunks/8409-f2426c4ac33918a5.js\",\"600\",\"static/chunks/600-11cf145119344519.js\",\"2360\",\"static/chunks/2360-3fea55936dac2ff8.js\",\"1708\",\"static/chunks/app/(auth)/setup/page-395767296740d104.js\"],\"default\"]\na:I[90484,[],\"OutletBoundary\"]\nb:\"$Sreact.suspense\"\nd:I[90484,[],\"ViewportBoundary\"]\nf:I[90484,[],\"MetadataBoundary\"]\n11:I[27123,[],\"default\",1]\n:HL[\"/_next/static/css/2bc6b6e35d293c50.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"setup\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"(auth)\",{\"children\":[\"setup\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2bc6b6e35d293c50.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"ko\",\"className\":\"antialiased\",\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-screen\",\"children\":[\"$\",\"$L2\",null,{\"children\":[[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",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\"}],[\"$\",\"$L5\",null,{\"position\":\"top-right\"}]]}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L6\",null,{\"Component\":\"$7\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@8\",\"$@9\"]}}],null,[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@c\"}]}]]}],{},null,false,null]},null,false,null]},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"children\":\"$Le\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$11\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"UVzMOjly0ACJRK3vNndFP\"}\n"])</script><script>self.__next_f.push([1,"8:{}\n9:\"$0:f:0:1:1:children:1:children:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"12:I[86869,[],\"IconMark\"]\nc:null\n"])</script><script>self.__next_f.push([1,"10:[[\"$\",\"title\",\"0\",{\"children\":\"Setup | BlueKiwi\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Design reusable workflows, run them from any AI coding agent, and watch every step in real time.\"}],[\"$\",\"meta\",\"2\",{\"property\":\"og:title\",\"content\":\"BlueKiwi — AI Agent Workflow Engine\"}],[\"$\",\"meta\",\"3\",{\"property\":\"og:description\",\"content\":\"Design reusable workflows, run them from any AI coding agent, and watch every step in real time.\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:site_name\",\"content\":\"BlueKiwi\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:locale\",\"content\":\"ko_KR\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:image\",\"content\":\"http://localhost:3100/og-cover.png\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:image:alt\",\"content\":\"BlueKiwi — AI Agent Workflow Engine\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"11\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"12\",{\"name\":\"twitter:title\",\"content\":\"BlueKiwi — AI Agent Workflow Engine\"}],[\"$\",\"meta\",\"13\",{\"name\":\"twitter:description\",\"content\":\"Design reusable workflows, run them from any AI coding agent, and watch every step in real time.\"}],[\"$\",\"meta\",\"14\",{\"name\":\"twitter:image\",\"content\":\"http://localhost:3100/og-cover.png\"}],[\"$\",\"link\",\"15\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"sizes\":\"32x32\"}],[\"$\",\"link\",\"16\",{\"rel\":\"icon\",\"href\":\"/favicon.png\",\"type\":\"image/png\",\"sizes\":\"32x32\"}],[\"$\",\"link\",\"17\",{\"rel\":\"icon\",\"href\":\"/icon-192.png\",\"type\":\"image/png\",\"sizes\":\"192x192\"}],[\"$\",\"link\",\"18\",{\"rel\":\"icon\",\"href\":\"/icon-512.png\",\"type\":\"image/png\",\"sizes\":\"512x512\"}],[\"$\",\"link\",\"19\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\"}],[\"$\",\"$L12\",\"20\",{}]]\n"])</script></body></html>
|
|
@@ -11,7 +11,7 @@ d:I[90484,[],"ViewportBoundary"]
|
|
|
11
11
|
f:I[90484,[],"MetadataBoundary"]
|
|
12
12
|
11:I[27123,[],"default",1]
|
|
13
13
|
:HL["/_next/static/css/2bc6b6e35d293c50.css","style"]
|
|
14
|
-
0:{"P":null,"c":["","setup"],"q":"","i":false,"f":[[["",{"children":["(auth)",{"children":["setup",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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"}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],null,["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null]},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],null]}],false]],"m":"$undefined","G":["$11",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
14
|
+
0:{"P":null,"c":["","setup"],"q":"","i":false,"f":[[["",{"children":["(auth)",{"children":["setup",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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"}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],null,["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null]},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],null]}],false]],"m":"$undefined","G":["$11",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UVzMOjly0ACJRK3vNndFP"}
|
|
15
15
|
8:{}
|
|
16
16
|
9:"$0:f:0:1:1:children:1:children:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
17
17
|
e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
package/dist/assets/app-runtime/.next/server/app/setup.segments/!KGF1dGgp/setup/__PAGE__.segment.rsc
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
3:I[22589,["8409","static/chunks/8409-f2426c4ac33918a5.js","600","static/chunks/600-11cf145119344519.js","2360","static/chunks/2360-3fea55936dac2ff8.js","1708","static/chunks/app/(auth)/setup/page-395767296740d104.js"],"default"]
|
|
4
4
|
6:I[90484,[],"OutletBoundary"]
|
|
5
5
|
7:"$Sreact.suspense"
|
|
6
|
-
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
6
|
+
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UVzMOjly0ACJRK3vNndFP"}
|
|
7
7
|
4:{}
|
|
8
8
|
5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
|
|
9
9
|
8:null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[57121,[],""]
|
|
3
3
|
3:I[74581,[],""]
|
|
4
|
-
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
4
|
+
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UVzMOjly0ACJRK3vNndFP"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[57121,[],""]
|
|
3
3
|
3:I[74581,[],""]
|
|
4
|
-
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"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."}]}]]}]}]],[]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
4
|
+
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"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."}]}]]}]}]],[]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UVzMOjly0ACJRK3vNndFP"}
|
|
@@ -11,7 +11,7 @@ d:I[90484,[],"ViewportBoundary"]
|
|
|
11
11
|
f:I[90484,[],"MetadataBoundary"]
|
|
12
12
|
11:I[27123,[],"default",1]
|
|
13
13
|
:HL["/_next/static/css/2bc6b6e35d293c50.css","style"]
|
|
14
|
-
0:{"P":null,"c":["","setup"],"q":"","i":false,"f":[[["",{"children":["(auth)",{"children":["setup",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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"}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],null,["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null]},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],null]}],false]],"m":"$undefined","G":["$11",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
14
|
+
0:{"P":null,"c":["","setup"],"q":"","i":false,"f":[[["",{"children":["(auth)",{"children":["setup",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",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"}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0: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:props:children:props:children:0:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],null,["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null]},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],null]}],false]],"m":"$undefined","G":["$11",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UVzMOjly0ACJRK3vNndFP"}
|
|
15
15
|
8:{}
|
|
16
16
|
9:"$0:f:0:1:1:children:1:children:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
17
17
|
e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
3:I[90484,[],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
5
|
5:I[86869,[],"IconMark"]
|
|
6
|
-
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Setup | BlueKiwi"}],["$","meta","1",{"name":"description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","2",{"property":"og:title","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","3",{"property":"og:description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","4",{"property":"og:site_name","content":"BlueKiwi"}],["$","meta","5",{"property":"og:locale","content":"ko_KR"}],["$","meta","6",{"property":"og:image","content":"http://localhost:3100/og-cover.png"}],["$","meta","7",{"property":"og:image:width","content":"1200"}],["$","meta","8",{"property":"og:image:height","content":"630"}],["$","meta","9",{"property":"og:image:alt","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","10",{"property":"og:type","content":"website"}],["$","meta","11",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","12",{"name":"twitter:title","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","13",{"name":"twitter:description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","14",{"name":"twitter:image","content":"http://localhost:3100/og-cover.png"}],["$","link","15",{"rel":"icon","href":"/favicon.ico","sizes":"32x32"}],["$","link","16",{"rel":"icon","href":"/favicon.png","type":"image/png","sizes":"32x32"}],["$","link","17",{"rel":"icon","href":"/icon-192.png","type":"image/png","sizes":"192x192"}],["$","link","18",{"rel":"icon","href":"/icon-512.png","type":"image/png","sizes":"512x512"}],["$","link","19",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L5","20",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
6
|
+
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Setup | BlueKiwi"}],["$","meta","1",{"name":"description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","2",{"property":"og:title","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","3",{"property":"og:description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","4",{"property":"og:site_name","content":"BlueKiwi"}],["$","meta","5",{"property":"og:locale","content":"ko_KR"}],["$","meta","6",{"property":"og:image","content":"http://localhost:3100/og-cover.png"}],["$","meta","7",{"property":"og:image:width","content":"1200"}],["$","meta","8",{"property":"og:image:height","content":"630"}],["$","meta","9",{"property":"og:image:alt","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","10",{"property":"og:type","content":"website"}],["$","meta","11",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","12",{"name":"twitter:title","content":"BlueKiwi — AI Agent Workflow Engine"}],["$","meta","13",{"name":"twitter:description","content":"Design reusable workflows, run them from any AI coding agent, and watch every step in real time."}],["$","meta","14",{"name":"twitter:image","content":"http://localhost:3100/og-cover.png"}],["$","link","15",{"rel":"icon","href":"/favicon.ico","sizes":"32x32"}],["$","link","16",{"rel":"icon","href":"/favicon.png","type":"image/png","sizes":"32x32"}],["$","link","17",{"rel":"icon","href":"/icon-192.png","type":"image/png","sizes":"192x192"}],["$","link","18",{"rel":"icon","href":"/icon-512.png","type":"image/png","sizes":"512x512"}],["$","link","19",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L5","20",{}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UVzMOjly0ACJRK3vNndFP"}
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
4:I[74581,[],""]
|
|
5
5
|
5:I[30852,["7262","static/chunks/7262-cdb2767600e6e41e.js","2360","static/chunks/2360-3fea55936dac2ff8.js","7177","static/chunks/app/layout-e3f307ffaa2d11cc.js"],"Toaster"]
|
|
6
6
|
:HL["/_next/static/css/2bc6b6e35d293c50.css","style"]
|
|
7
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"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."}]}]]}]}]],[]]}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
7
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2bc6b6e35d293c50.css","precedence":"next"}]],["$","html",null,{"lang":"ko","className":"antialiased","children":["$","body",null,{"className":"min-h-screen","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"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."}]}]]}]}]],[]]}],["$","$L5",null,{"position":"top-right"}]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UVzMOjly0ACJRK3vNndFP"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
:HL["/_next/static/css/2bc6b6e35d293c50.css","style"]
|
|
2
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"(auth)","param":null,"prefetchHints":0,"slots":{"children":{"name":"setup","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"
|
|
2
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"(auth)","param":null,"prefetchHints":0,"slots":{"children":{"name":"setup","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"UVzMOjly0ACJRK3vNndFP"}
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"/api/tasks/[id]/respond/route": "app/api/tasks/[id]/respond/route.js",
|
|
30
30
|
"/api/tasks/[id]/rewind/route": "app/api/tasks/[id]/rewind/route.js",
|
|
31
31
|
"/api/tasks/[id]/visual/route": "app/api/tasks/[id]/visual/route.js",
|
|
32
|
+
"/api/apikeys/route": "app/api/apikeys/route.js",
|
|
33
|
+
"/api/apikeys/[id]/route": "app/api/apikeys/[id]/route.js",
|
|
32
34
|
"/api/auth/me/groups/route": "app/api/auth/me/groups/route.js",
|
|
33
35
|
"/api/credentials/[id]/reveal/route": "app/api/credentials/[id]/reveal/route.js",
|
|
34
|
-
"/api/apikeys/[id]/route": "app/api/apikeys/[id]/route.js",
|
|
35
|
-
"/api/apikeys/route": "app/api/apikeys/route.js",
|
|
36
36
|
"/api/credentials/[id]/shares/[groupId]/route": "app/api/credentials/[id]/shares/[groupId]/route.js",
|
|
37
37
|
"/api/credentials/[id]/route": "app/api/credentials/[id]/route.js",
|
|
38
38
|
"/api/credentials/[id]/shares/route": "app/api/credentials/[id]/shares/route.js",
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
"/api/instructions/route": "app/api/instructions/route.js",
|
|
51
51
|
"/api/settings/groups/[id]/members/route": "app/api/settings/groups/[id]/members/route.js",
|
|
52
52
|
"/api/settings/groups/[id]/route": "app/api/settings/groups/[id]/route.js",
|
|
53
|
-
"/api/settings/groups/route": "app/api/settings/groups/route.js",
|
|
54
53
|
"/api/report/route": "app/api/report/route.js",
|
|
54
|
+
"/api/settings/groups/route": "app/api/settings/groups/route.js",
|
|
55
55
|
"/api/tasks/[id]/findings/route": "app/api/tasks/[id]/findings/route.js",
|
|
56
56
|
"/api/tasks/[id]/route": "app/api/tasks/[id]/route.js",
|
|
57
57
|
"/api/tasks/route": "app/api/tasks/route.js",
|
|
58
58
|
"/api/tasks/timeout-stale/route": "app/api/tasks/timeout-stale/route.js",
|
|
59
|
-
"/api/version/route": "app/api/version/route.js",
|
|
60
59
|
"/api/tasks/start/route": "app/api/tasks/start/route.js",
|
|
61
60
|
"/api/users/route": "app/api/users/route.js",
|
|
61
|
+
"/api/version/route": "app/api/version/route.js",
|
|
62
62
|
"/api/workflows/[id]/activate/route": "app/api/workflows/[id]/activate/route.js",
|
|
63
63
|
"/api/workflows/[id]/deactivate/route": "app/api/workflows/[id]/deactivate/route.js",
|
|
64
|
-
"/api/workflows/[id]/export/route": "app/api/workflows/[id]/export/route.js",
|
|
65
64
|
"/api/users/[id]/route": "app/api/users/[id]/route.js",
|
|
65
|
+
"/api/workflows/[id]/export/route": "app/api/workflows/[id]/export/route.js",
|
|
66
66
|
"/api/workflows/[id]/node-items/[nodeId]/attachments/[attachId]/route": "app/api/workflows/[id]/node-items/[nodeId]/attachments/[attachId]/route.js",
|
|
67
67
|
"/api/workflows/[id]/node-items/[nodeId]/attachments/route": "app/api/workflows/[id]/node-items/[nodeId]/attachments/route.js",
|
|
68
68
|
"/api/workflows/[id]/node-items/[nodeId]/route": "app/api/workflows/[id]/node-items/[nodeId]/route.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=2624,exports.ids=[2624],exports.modules={34261:(a,b,c)=>{c.d(b,{$v:()=>p,EO:()=>l,Lt:()=>h,Rx:()=>q,Zr:()=>r,ck:()=>n,r7:()=>o,tv:()=>i,wd:()=>m});var d=c(48249);c(67484);var e=c(14533),f=c(14490),g=c(25297);function h({...a}){return(0,d.jsx)(e.bL,{"data-slot":"alert-dialog",...a})}function i({...a}){return(0,d.jsx)(e.l9,{"data-slot":"alert-dialog-trigger",...a})}function j({...a}){return(0,d.jsx)(e.ZL,{"data-slot":"alert-dialog-portal",...a})}function k({className:a,...b}){return(0,d.jsx)(e.hJ,{"data-slot":"alert-dialog-overlay",className:(0,f.cn)("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",a),...b})}function l({className:a,size:b="default",...c}){return(0,d.jsxs)(j,{children:[(0,d.jsx)(k,{}),(0,d.jsx)(e.UC,{"data-slot":"alert-dialog-content","data-size":b,className:(0,f.cn)("group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-[1.5rem] border border-border bg-card p-6 shadow-[var(--shadow-soft)] duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-[28rem]",a),...c})]})}function m({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,f.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",a),...b})}function n({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,f.cn)("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",a),...b})}function o({className:a,...b}){return(0,d.jsx)(e.hE,{"data-slot":"alert-dialog-title",className:(0,f.cn)("text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",a),...b})}function p({className:a,...b}){return(0,d.jsx)(e.VY,{"data-slot":"alert-dialog-description",className:(0,f.cn)("text-sm text-muted-foreground",a),...b})}function q({className:a,variant:b="default",size:c="default",...h}){return(0,d.jsx)(g.$,{variant:b,size:c,asChild:!0,children:(0,d.jsx)(e.rc,{"data-slot":"alert-dialog-action",className:(0,f.cn)(a),...h})})}function r({className:a,variant:b="outline",size:c="default",...h}){return(0,d.jsx)(g.$,{variant:b,size:c,asChild:!0,children:(0,d.jsx)(e.ZD,{"data-slot":"alert-dialog-cancel",className:(0,f.cn)(a),...h})})}},55063:(a,b,c)=>{c.d(b,{o:()=>g});var d=c(48249),e=c(34261),f=c(45729);function g({target:a,title:b,description:c,confirmLabel:h,cancelLabel:i,onCancel:j,onConfirm:k}){let{t:l}=(0,f.B)();return(0,d.jsx)(e.Lt,{open:null!==a,onOpenChange:a=>{a||j()},children:(0,d.jsxs)(e.EO,{children:[(0,d.jsxs)(e.wd,{children:[(0,d.jsx)(e.r7,{children:b}),(0,d.jsx)(e.$v,{children:c})]}),(0,d.jsxs)(e.ck,{children:[(0,d.jsx)(e.Zr,{children:i??l("common.cancel")}),(0,d.jsx)(e.Rx,{variant:"destructive",onClick:k,children:h??l("common.delete")})]})]})})}},56309:(a,b,c)=>{c.r(b),c.d(b,{default:()=>f,metadata:()=>e});var d=c(5735);let e={title:"Workflows"};function f({children:a}){return(0,d.jsx)(d.Fragment,{children:a})}},63647:(a,b,c)=>{c.d(b,{BT:()=>i,Wu:()=>j,ZB:()=>h,Zp:()=>f,aR:()=>g});var d=c(48249);c(67484);var e=c(14490);function f({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card",className:(0,e.cn)("flex flex-col rounded-[1.5rem] border border-border bg-card text-card-foreground shadow-card",a),...b})}function g({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card-header",className:(0,e.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 p-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),...b})}function h({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card-title",className:(0,e.cn)("leading-none font-semibold",a),...b})}function i({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card-description",className:(0,e.cn)("text-sm text-muted-foreground",a),...b})}function j({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card-content",className:(0,e.cn)("px-6 pb-6",a),...b})}},65921:(a,b,c)=>{c.d(b,{Y:()=>e});let d={OWNERSHIP_REQUIRED:"rbacErrors.ownershipRequired",VISIBILITY_GATE:"rbacErrors.visibilityGate",CREDENTIAL_USE_DENIED:"rbacErrors.credentialUseDenied",CREDENTIAL_REVEAL_DENIED:"rbacErrors.credentialRevealDenied",FOLDER_DEPTH_EXCEEDED:"rbacErrors.folderDepthExceeded",FOLDER_VISIBILITY_INVALID:"rbacErrors.folderVisibilityInvalid",FOLDER_SHARE_DENIED:"rbacErrors.folderShareDenied",FOLDER_NOT_EMPTY:"rbacErrors.folderNotEmpty",INSTRUCTION_IN_USE:"rbacErrors.instructionInUse",CREDENTIAL_IN_USE:"rbacErrors.credentialInUse",NOT_FOUND:"serverErrors.notFound",UNAUTHORIZED:"serverErrors.unauthorized",FORBIDDEN:"serverErrors.forbidden",CONFLICT:"serverErrors.conflict",PRECONDITION_FAILED:"serverErrors.preconditionFailed",VALIDATION_ERROR:"validationErrors.generic",WORKSPACE_MISSING:"serverErrors.myWorkspaceMissing",MY_WORKSPACE_MISSING:"serverErrors.myWorkspaceMissing",VERSION_INACTIVE:"serverErrors.versionInactive",WORKFLOW_CREDENTIAL_SETUP_REQUIRED:"serverErrors.workflowCredentialSetupRequired"};function e(a,b,c){if(!a)return c;let e=a.code;if(e&&d[e]){let c={};if(a.details)for(let[b,d]of Object.entries(a.details))("string"==typeof d||"number"==typeof d)&&(c[b]=d);let f=b(d[e],c);if(f&&f!==d[e])return f}return a.message??c}},66036:(a,b,c)=>{c.d(b,{default:()=>V});var d=c(48249),e=c(67484),f=c(19099),g=c(32174),h=c(70296),i=c(24520),j=c(22341),k=c(98971),l=c(95801),m=c(31675),n=c(2188),o=c(90707),p=c(2864),q=c(25297),r=c(63647),s=c(88877),t=c(86871),u=c(27656),v=c(33999),w=c(46674),x=c(45729);let y={action:l.A,gate:j.A,loop:k.A},z={action:"border-l-[3px] border-l-brand-blue-600",gate:"border-l-[3px] border-l-kiwi-600",loop:"border-l-[3px] border-l-[var(--muted-foreground)]"},A={action:"border-brand-blue-600/20 bg-brand-blue-100 text-brand-blue-700",gate:"border-kiwi-600/30 bg-kiwi-100 text-kiwi-700",loop:"border-[var(--border)] bg-transparent text-[var(--muted-foreground)]"};function B({node:a,index:b,isExpanded:c,onClick:e,onRemove:f}){let{t:g}=(0,x.B)(),{attributes:i,listeners:j,setNodeRef:k,transform:l,transition:n,isDragging:o}=(0,h.gl)({id:a.key}),q={transform:u.Ks.Transform.toString(l),transition:n},r=y[a.node_type],s=a.instruction.length>80?a.instruction.slice(0,80)+"...":a.instruction;return(0,d.jsxs)("div",{ref:k,style:q,className:`group flex items-start gap-2 rounded-lg border bg-[var(--card)] px-3 py-3 ${z[a.node_type]} ${o?"shadow-lg rotate-[1deg] z-10":""} ${c?"ring-2 ring-brand-blue-600/30":""}`,children:[(0,d.jsx)("button",{type:"button",className:"mt-1 cursor-grab touch-none text-[var(--muted-foreground)] hover:text-[var(--foreground)]",...i,...j,children:(0,d.jsx)(v.A,{className:"h-4 w-4"})}),(0,d.jsxs)("button",{type:"button",className:"flex flex-1 flex-col items-start gap-1 text-left",onClick:e,children:[(0,d.jsxs)("div",{className:"flex w-full items-center gap-2",children:[(0,d.jsx)("span",{className:"w-5 text-center font-mono text-xs text-[var(--muted-foreground)]",children:b+1}),(0,d.jsxs)(p.E,{className:A[a.node_type],children:[(0,d.jsx)(r,{className:"h-3.5 w-3.5"}),g(`editor.${a.node_type}`)]}),(0,d.jsx)("span",{className:"truncate text-sm font-medium",children:a.title||g("editor.nodeTitle")}),a.hitl&&(0,d.jsx)(p.E,{variant:"outline",className:"ml-auto border-amber-500 text-amber-700",children:"HITL"}),a.visual_selection&&(0,d.jsx)(p.E,{variant:"outline",className:"border-kiwi-500 text-kiwi-700",children:"Visual"}),a.credential_requirement&&(0,d.jsxs)(p.E,{variant:"outline",className:"border-[var(--destructive)] text-[var(--destructive)]",children:[(0,d.jsx)(m.A,{className:"h-3.5 w-3.5"}),a.credential_requirement.service_name]})]}),s&&!c&&(0,d.jsx)("p",{className:"pl-7 text-xs text-[var(--muted-foreground)] line-clamp-1",children:s})]}),(0,d.jsx)("button",{type:"button",className:"mt-1 text-[var(--muted-foreground)] opacity-0 transition-opacity hover:text-[var(--destructive)] group-hover:opacity-100",onClick:a=>{a.stopPropagation(),f()},"aria-label":g("editor.deleteNode"),children:(0,d.jsx)(w.A,{className:"h-4 w-4"})})]})}var C=c(33407),D=c(80600),E=c(47086),F=c(96845),G=c(80661),H=c(84248),I=c(59347),J=c(55063),K=c(65921);function L({workflowId:a,nodeId:b}){let{t:c}=(0,x.B)(),f=(0,e.useRef)(null),[g,h]=(0,e.useState)(!1),[i,j]=(0,e.useState)([]),[k,l]=(0,e.useState)(!1),[m,n]=(0,e.useState)(!1),[p,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(null),[u,v]=(0,e.useState)(null),w=`/api/workflows/${a}/node-items/${b}/attachments`,y=(0,e.useCallback)(async()=>{n(!0);try{let a=await fetch(w);if(!a.ok){let b={};try{b=await a.json()}catch{}o.oR.error((0,K.Y)(b.error,c,"Failed to load attachments"));return}let b=await a.json();j(b.data??[]),l(!0)}finally{n(!1)}},[w,c]),z=async a=>{let b=a.target.files?.[0];if(a.target.value="",!b)return;let d=new FormData;d.append("file",b),r(!0);try{let a=await fetch(w,{method:"POST",body:d});if(!a.ok){let b={};try{b=await a.json()}catch{}o.oR.error((0,K.Y)(b.error,c,"Failed to upload attachment"));return}o.oR.success("File uploaded"),h(!0),await y()}finally{r(!1)}},A=async a=>{t(a.id);try{let b,d=await fetch(`${w}/${a.id}`);if(!d.ok){let a={};try{a=await d.json()}catch{}o.oR.error((0,K.Y)(a.error,c,"Failed to download attachment"));return}if((d.headers.get("content-type")??"").includes("application/json")){let c=await d.json(),e=c.data?.content??"";b=new Blob([e],{type:c.data?.mime_type??a.mime_type})}else b=await d.blob();let e=window.URL.createObjectURL(b),f=document.createElement("a");f.href=e,f.download=a.filename,document.body.appendChild(f),f.click(),f.remove(),window.URL.revokeObjectURL(e)}finally{t(null)}},B=async()=>{if(!u)return;let a=await fetch(`${w}/${u.id}`,{method:"DELETE"});if(!a.ok){let b={};try{b=await a.json()}catch{}o.oR.error((0,K.Y)(b.error,c,"Failed to delete attachment")),v(null);return}v(null),o.oR.success("File deleted"),await y()};return(0,d.jsxs)("div",{className:"rounded-xl border border-[var(--border)] bg-[var(--card)]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3 px-4 py-3",children:[(0,d.jsxs)("button",{type:"button",className:"flex min-w-0 flex-1 items-center gap-2 text-left",onClick:()=>h(a=>!a),children:[(0,d.jsx)(F.A,{className:"h-4 w-4 text-[var(--muted-foreground)]"}),(0,d.jsx)("span",{className:"text-sm font-medium",children:c("editor.attachments")}),i.length>0&&(0,d.jsx)("span",{className:"rounded-full bg-brand-blue-100 px-2 py-0.5 text-xs font-medium text-brand-blue-700",children:i.length})]}),(0,d.jsxs)(q.$,{type:"button",size:"sm",variant:"outline",onClick:()=>{f.current?.click()},disabled:p,children:[(0,d.jsx)(G.A,{className:"h-4 w-4"}),p?c("common.loading"):c("editor.uploadFile")]}),(0,d.jsx)("input",{ref:f,type:"file",className:"hidden",onChange:z})]}),g&&(0,d.jsx)("div",{className:"border-t border-[var(--border)] px-4 py-3",children:m?(0,d.jsx)("p",{className:"text-sm text-[var(--muted-foreground)]",children:c("common.loading")}):0===i.length?(0,d.jsx)("p",{className:"text-sm text-[var(--muted-foreground)]",children:"-"}):(0,d.jsx)("div",{className:"space-y-2",children:i.map(a=>{var b,e;let f=(b=a.mime_type).startsWith("image/")?C.A:b.startsWith("text/")||b.includes("json")||b.includes("xml")||b.includes("yaml")||b.includes("javascript")||b.includes("typescript")?D.A:E.A,g=s===a.id;return(0,d.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border border-[var(--border)] px-3 py-2",children:[(0,d.jsx)("div",{className:"rounded-full bg-surface-soft p-2 text-[var(--muted-foreground)]",children:(0,d.jsx)(f,{className:"h-4 w-4"})}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("p",{className:"truncate text-sm font-medium",children:a.filename}),(0,d.jsxs)("p",{className:"truncate text-xs text-[var(--muted-foreground)]",children:[(e=a.size_bytes)<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1024/1024).toFixed(1)} MB`," \xb7"," ",a.mime_type]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-1",children:[(0,d.jsx)(q.$,{type:"button",size:"icon-sm",variant:"ghost","aria-label":"Download",title:"Download",disabled:g,onClick:()=>void A(a),children:(0,d.jsx)(H.A,{className:"h-4 w-4"})}),(0,d.jsx)(q.$,{type:"button",size:"icon-sm",variant:"ghost","aria-label":c("common.delete"),onClick:()=>v(a),children:(0,d.jsx)(I.A,{className:"h-4 w-4 text-[var(--destructive)]"})})]})]},a.id)})})}),(0,d.jsx)(J.o,{target:u,title:c("common.delete"),description:u?`Delete "${u.filename}"?`:c("common.confirm"),onCancel:()=>v(null),onConfirm:()=>void B()})]})}let M={action:"bg-brand-blue-600 text-white",gate:"bg-kiwi-600 text-white",loop:"bg-[var(--muted-foreground)] text-white"},N={action:"bg-brand-blue-600",gate:"bg-kiwi-600",loop:"bg-[var(--muted-foreground)]"};function O({nodes:a,onAddClick:b}){let{t:c}=(0,x.B)(),e=a.filter(a=>"action"===a.node_type).length,f=a.filter(a=>"gate"===a.node_type).length,g=a.filter(a=>"loop"===a.node_type).length;return(0,d.jsxs)("div",{className:"mb-6 rounded-lg border bg-[var(--card)] p-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-0 overflow-x-auto pb-2",children:[a.map((b,c)=>(0,d.jsxs)("div",{className:"flex items-center",children:[c>0&&(0,d.jsx)("div",{className:`h-0.5 w-6 shrink-0 ${N[a[c-1].node_type]}`}),(0,d.jsx)("div",{className:`flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-xs font-bold ${M[b.node_type]}`,title:`${c+1}. ${b.title||b.node_type}`,children:c+1})]},b.key)),a.length>0&&(0,d.jsx)("div",{className:"h-0.5 w-6 shrink-0 border-t-2 border-dashed border-[var(--muted-foreground)]"}),(0,d.jsx)("button",{type:"button",onClick:b,className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full border-2 border-dashed border-[var(--muted-foreground)] text-[var(--muted-foreground)] transition-colors hover:border-brand-blue-600 hover:text-brand-blue-600","aria-label":c("editor.addNode"),children:(0,d.jsx)(i.A,{className:"h-3.5 w-3.5"})})]}),(0,d.jsxs)("p",{className:"mt-2 text-xs text-[var(--muted-foreground)]",children:[a.length," steps",e>0&&` \xb7 action(${e})`,f>0&&` \xb7 gate(${f})`,g>0&&` \xb7 loop(${g})`]})]})}var P=c(25250);let Q=[{value:"action",labelKey:"editor.action",descKey:"editor.actionDesc",Icon:l.A},{value:"gate",labelKey:"editor.gate",descKey:"editor.gateDesc",Icon:j.A},{value:"loop",labelKey:"editor.loop",descKey:"editor.loopDesc",Icon:k.A}];function R({open:a,onOpenChange:b,onSelect:c}){let{t:f}=(0,x.B)(),[g,h]=(0,e.useState)([]),[i,j]=(0,e.useState)(!1);return(0,d.jsxs)(P.Gj,{open:a,onOpenChange:b,title:f("editor.pickerTitle"),description:f("editor.pickerDesc"),children:[(0,d.jsx)(P.G7,{placeholder:f("editor.searchPlaceholder")}),(0,d.jsxs)(P.oI,{children:[(0,d.jsx)(P.xL,{children:f("common.noResults")}),(0,d.jsx)(P.L$,{heading:f("editor.nodeTypes"),children:Q.map(a=>(0,d.jsxs)(P.h_,{onSelect:()=>{c({node_type:a.value}),b(!1)},children:[(0,d.jsx)(a.Icon,{className:"h-4 w-4"}),(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("span",{className:"font-medium",children:f(a.labelKey)}),(0,d.jsx)("span",{className:"text-xs text-[var(--muted-foreground)]",children:f(a.descKey)})]})]},a.value))}),!i&&g.length>0&&(0,d.jsx)(P.L$,{heading:f("editor.savedTemplates"),children:g.map(a=>(0,d.jsxs)(P.h_,{onSelect:()=>{c({node_type:"action",instruction_id:a.id,title:a.title,instruction:a.content}),b(!1)},children:[(0,d.jsx)(D.A,{className:"h-4 w-4"}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"truncate font-medium",children:a.title}),(0,d.jsx)(p.E,{className:"border-brand-blue-600/20 bg-brand-blue-100 text-brand-blue-700",variant:"outline",children:f("editor.action")})]}),(0,d.jsx)("span",{className:"truncate text-xs text-[var(--muted-foreground)]",children:a.content.length>60?a.content.slice(0,60)+"...":a.content})]})]},a.id))})]})]})}function S({open:a,onOpenChange:b,instructions:c,onSelect:e,onCreateNew:f}){let{t:g}=(0,x.B)();return(0,d.jsxs)(P.Gj,{open:a,onOpenChange:b,children:[(0,d.jsx)(P.G7,{placeholder:g("editor.searchInstruction")}),(0,d.jsxs)(P.oI,{children:[(0,d.jsx)(P.xL,{children:g("common.noResults")}),(0,d.jsx)(P.L$,{heading:g("editor.savedTemplates"),children:c.map(a=>(0,d.jsxs)(P.h_,{onSelect:()=>{e(a.id),b(!1)},children:[(0,d.jsx)(D.A,{className:"mr-2 h-4 w-4 shrink-0 text-brand-blue-600"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"truncate text-sm font-medium",children:["#",a.id," ",a.title]}),(0,d.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:a.content.slice(0,80)})]})]},a.id))}),(0,d.jsx)(P.L$,{heading:g("common.create"),children:(0,d.jsxs)(P.h_,{onSelect:()=>{f(),b(!1)},children:[(0,d.jsx)(i.A,{className:"mr-2 h-4 w-4 text-brand-blue-600"}),(0,d.jsx)("span",{className:"text-sm font-medium",children:g("editor.createNewInstruction")})]})})]})]})}let T={action:{icon:l.A,label:"Action",border:"border-brand-blue-600",badge:"border-brand-blue-600/20 bg-brand-blue-100 text-brand-blue-700",bg:"bg-brand-blue-100",color:"text-brand-blue-700"},gate:{icon:j.A,label:"Gate",border:"border-kiwi-600",badge:"border-kiwi-600/30 bg-kiwi-100 text-kiwi-700",bg:"bg-kiwi-100",color:"text-kiwi-700"},loop:{icon:k.A,label:"Loop",border:"border-border",badge:"border-border bg-muted text-muted-foreground",bg:"bg-muted",color:"text-muted-foreground"}},U=[{value:"action",labelKey:"editor.action",descKey:"editor.actionDesc"},{value:"gate",labelKey:"editor.gate",descKey:"editor.gateDesc"},{value:"loop",labelKey:"editor.loop",descKey:"editor.loopDesc"}];function V({workflowId:a,folderId:b,canEdit:c=!0}){let u=(0,f.useRouter)(),v=(0,f.useSearchParams)(),{t:w}=(0,x.B)(),y=b??(v.get("folder_id")?Number(v.get("folder_id")):null),z=!c,[A,C]=(0,e.useState)(""),[D,E]=(0,e.useState)(""),[F,G]=(0,e.useState)([]),[H,I]=(0,e.useState)(null),[J,K]=(0,e.useState)([]),[M,N]=(0,e.useState)([]),[P,Q]=(0,e.useState)(!1),[W,X]=(0,e.useState)(!0),[Y,Z]=(0,e.useState)(""),[$,_]=(0,e.useState)(!1),[aa,ab]=(0,e.useState)(null),[ac,ad]=(0,e.useState)(null),[ae,af]=(0,e.useState)(""),[ag,ah]=(0,e.useState)(""),[ai,aj]=(0,e.useState)(!1),ak=(0,e.useMemo)(()=>new Map(J.map(a=>[a.id,a])),[J]),al=(0,g.FR)((0,g.MS)(g.AN,{activationConstraint:{distance:5}}),(0,g.MS)(g.uN,{coordinateGetter:h.JR})),am=(a,b)=>{G(F.map((c,d)=>d===a?{...c,...b}:c))},an=async a=>{if(!ae.trim())return;aj(!0);let b=await fetch("/api/instructions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:ae.trim(),content:ag.trim()})});if(b.ok){let c=(await b.json()).data;K(a=>[...a,c]),am(a,{instruction_id:c.id}),ad(null),af(""),ah("")}aj(!1)},ao=()=>({title:A,description:D,...y?{folder_id:y}:{},nodes:F.map(a=>({title:a.title,node_type:a.node_type,instruction:"inline"===a.source?a.instruction:"",instruction_id:"reference"===a.source?a.instruction_id:null,credential_id:a.credential_id,credential_requirement:a.credential_requirement,loop_back_to:"loop"===a.node_type?a.loop_back_to:null,hitl:a.hitl,visual_selection:"gate"===a.node_type&&a.visual_selection}))}),ap=async()=>{if(A.trim()){Q(!0);try{if(!(await fetch("/api/workflows",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ao())})).ok)return void o.oR.error(w("workflows.publishFailed"));o.oR.success(w("workflows.saved")),u.push(y?`/workflows?folder_id=${y}`:"/workflows")}finally{Q(!1)}}},aq=async()=>{if(a&&A.trim()){Q(!0);try{if(!(await fetch(`/api/workflows/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(ao())})).ok)return void o.oR.error(w("workflows.publishFailed"));o.oR.success(w("workflows.saved")),u.push(`/workflows/${a}`)}finally{Q(!1)}}},ar=async()=>{if(a&&A.trim()){Q(!0);try{let b=await fetch(`/api/workflows/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({...ao(),create_new_version:!0})});if(!b.ok)return void o.oR.error(w("workflows.publishFailed"));let c=await b.json(),d=c?.data?.id,e=c?.data?.version;o.oR.success(w("workflows.publishedVersion",{version:e??""})),u.push("number"==typeof d?`/workflows/${d}`:"/workflows")}finally{Q(!1)}}},as=async()=>{a&&((await fetch(`/api/workflows/${a}/activate`,{method:"POST"})).ok?(o.oR.success(w("workflows.activated")),X(!0)):o.oR.error(w("workflows.activateFailed")))};return(0,d.jsxs)("main",{className:"mx-auto max-w-5xl px-4 py-10",children:[(0,d.jsx)("h1",{className:"mb-6 text-2xl font-bold tracking-tight",children:a?w("editor.editWorkflow"):w("editor.newWorkflow")}),z&&(0,d.jsx)("div",{className:"mb-6 rounded border border-yellow-500/40 bg-yellow-500/10 px-4 py-3 text-sm text-yellow-900 dark:text-yellow-200",children:w("ownership.readOnlyPreview")}),(0,d.jsxs)(r.Zp,{className:"mb-8",children:[(0,d.jsx)(r.aR,{className:"p-5 pb-0",children:(0,d.jsx)(r.ZB,{className:"text-sm",children:w("editor.basicInfo")})}),(0,d.jsx)(r.Wu,{className:"p-5",children:(0,d.jsxs)("div",{className:"grid gap-4",children:[(0,d.jsx)(s.p,{placeholder:w("editor.workflowTitlePlaceholder"),value:A,onChange:a=>C(a.target.value),className:"text-base font-medium",required:!0}),(0,d.jsx)(s.p,{placeholder:w("editor.descriptionPlaceholder"),value:D,onChange:a=>E(a.target.value)})]})})]}),F.length>0&&(0,d.jsx)(O,{nodes:F,onAddClick:()=>_(!0)}),(0,d.jsxs)("div",{className:"mb-4 flex items-center justify-between",children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold",children:[w("editor.nodes")," (",F.length,")"]}),(0,d.jsxs)(q.$,{onClick:()=>_(!0),size:"sm",children:[(0,d.jsx)(i.A,{className:"h-4 w-4"}),w("editor.addNode")]})]}),0===F.length?(0,d.jsx)(r.Zp,{className:"border-dashed shadow-none",children:(0,d.jsxs)(r.Wu,{className:"py-12 text-center",children:[(0,d.jsx)("p",{className:"mb-4 text-sm text-[var(--muted-foreground)]",children:w("editor.noNodes")}),(0,d.jsxs)(q.$,{onClick:()=>_(!0),size:"sm",children:[(0,d.jsx)(i.A,{className:"h-4 w-4"}),w("editor.addFirstNode")]})]})}):(0,d.jsx)(g.Mp,{sensors:al,collisionDetection:g.fp,onDragEnd:a=>{let{active:b,over:c}=a;c&&b.id!==c.id&&(G(a=>{let d=a.findIndex(a=>a.key===b.id),e=a.findIndex(a=>a.key===c.id);return(0,h.be)(a,d,e)}),I(null))},children:(0,d.jsx)(h.gB,{items:F.map(a=>a.key),strategy:h._G,children:(0,d.jsx)("div",{className:"space-y-2",children:F.map((b,c)=>(0,d.jsxs)("div",{children:[(0,d.jsx)(B,{node:b,index:c,isExpanded:H===c,onClick:()=>I(H===c?null:c),onRemove:()=>{G(F.filter((a,b)=>b!==c)),H===c&&I(null)}}),H===c&&(0,d.jsx)(r.Zp,{className:`mt-1 ml-6 border-2 ${T[b.node_type]?.border??"border-border"}`,children:(0,d.jsx)(r.Wu,{className:"p-5",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)(s.p,{placeholder:w("editor.nodeTitle"),value:b.title,onChange:a=>am(c,{title:a.target.value}),className:"h-9 min-w-[220px] flex-1"}),"action"===b.node_type&&(0,d.jsxs)("label",{className:"flex cursor-pointer select-none items-center gap-1.5 text-sm",children:[(0,d.jsx)("input",{type:"checkbox",checked:b.hitl,onChange:a=>am(c,{hitl:a.target.checked}),className:"h-4 w-4 accent-brand-blue-600"}),(0,d.jsx)("span",{children:"HITL"})]}),"gate"===b.node_type&&(0,d.jsxs)("label",{className:"flex cursor-pointer select-none items-center gap-1.5 text-sm",children:[(0,d.jsx)("input",{type:"checkbox",checked:b.visual_selection,onChange:a=>am(c,{visual_selection:a.target.checked}),className:"h-4 w-4 accent-amber-500"}),(0,d.jsx)("span",{children:"Visual"})]}),(0,d.jsxs)("select",{value:b.credential_id??"",onChange:a=>am(c,{credential_id:a.target.value?Number(a.target.value):null}),className:"h-9 w-48 rounded-[var(--radius)] border border-[var(--border)] bg-[var(--card)] px-2 text-sm",title:w("editor.credentialTitle"),children:[(0,d.jsx)("option",{value:"",children:w("editor.noCredential")}),M.map(a=>(0,d.jsx)("option",{value:a.id,children:a.service_name},a.id))]})]}),(0,d.jsxs)("div",{className:"grid gap-3",children:[(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:U.map(a=>{let e="gate"===a.value?j.A:"loop"===a.value?k.A:l.A,f=b.node_type===a.value,g=T[a.value]?.badge??"";return(0,d.jsxs)(q.$,{type:"button",variant:"outline",size:"sm",onClick:()=>am(c,{node_type:a.value}),className:f?g:void 0,title:w(a.descKey),children:[(0,d.jsx)(e,{className:"h-4 w-4"}),w(a.labelKey)]},a.value)})}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,d.jsx)(q.$,{type:"button",variant:"outline",size:"sm",onClick:()=>am(c,{source:"inline",instruction_id:null}),className:"inline"===b.source?"border-brand-blue-600 bg-brand-blue-100 text-brand-blue-700":void 0,children:w("editor.inlineWrite")}),(0,d.jsx)(q.$,{type:"button",variant:"outline",size:"sm",onClick:()=>am(c,{source:"reference"}),className:"reference"===b.source?"border-brand-blue-600 bg-brand-blue-100 text-brand-blue-700":void 0,children:w("editor.referenceInstruction")})]}),"inline"===b.source?(0,d.jsx)(t.T,{placeholder:w("editor.instructionPlaceholder"),value:b.instruction,onChange:a=>am(c,{instruction:a.target.value}),rows:4,className:"font-mono"}):(0,d.jsxs)("div",{className:"grid gap-2",children:[(0,d.jsx)(q.$,{variant:"outline",size:"sm",className:"w-full justify-start text-left font-normal",onClick:()=>ab(c),children:b.instruction_id?`#${b.instruction_id} ${ak.get(b.instruction_id)?.title??""}`:w("editor.selectInstruction")}),(0,d.jsx)(S,{open:aa===c,onOpenChange:a=>{a||ab(null)},instructions:J,onSelect:a=>{ad(null),am(c,{instruction_id:a})},onCreateNew:()=>{ad(c),af(""),ah("")}}),ac===c&&(0,d.jsx)(r.Zp,{className:"border-brand-blue-600 shadow-none",children:(0,d.jsxs)(r.Wu,{className:"grid gap-3 p-4",children:[(0,d.jsx)(s.p,{placeholder:w("editor.instructionTitle"),value:ae,onChange:a=>af(a.target.value)}),(0,d.jsx)(t.T,{placeholder:w("editor.instructionContent"),value:ag,onChange:a=>ah(a.target.value),rows:4,className:"font-mono"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(q.$,{size:"sm",onClick:()=>an(c),disabled:!ae.trim()||ai,children:ai?w("editor.saving"):w("common.create")}),(0,d.jsx)(q.$,{size:"sm",variant:"secondary",type:"button",onClick:()=>ad(null),children:w("common.cancel")})]})]})})]}),"loop"===b.node_type&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-[var(--muted-foreground)]",children:w("editor.loopBackTo")}),(0,d.jsxs)("select",{value:b.loop_back_to??"",onChange:a=>am(c,{loop_back_to:a.target.value?Number(a.target.value):null}),className:"h-9 w-56 rounded-[var(--radius)] border border-[var(--border)] bg-[var(--card)] px-2 text-sm",children:[(0,d.jsx)("option",{value:"",children:w("editor.selectStep")}),F.map((a,b)=>(0,d.jsx)("option",{value:b+1,children:w("editor.loopStepOption",{step:b+1,title:F[b].title?`: ${F[b].title}`:""})},b))]})]}),a&&b.dbNodeId&&(0,d.jsx)(L,{workflowId:a,nodeId:b.dbNodeId})]})]})})})]},b.key))})})}),(0,d.jsxs)("div",{className:"mt-8 space-y-3",children:[a&&!W&&(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-lg border border-[var(--border)] bg-surface-soft p-3 text-xs text-[var(--muted-foreground)]",children:[(0,d.jsx)(m.A,{className:"mt-0.5 h-4 w-4 shrink-0 text-amber-500"}),(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsxs)("p",{className:"font-medium text-foreground",children:[w("workflows.inactiveBadge")," \xb7 v",Y]}),(0,d.jsx)("p",{children:w("workflows.inactiveEditWarning")})]})]}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-3",children:[!a&&(0,d.jsx)(q.$,{type:"button",onClick:ap,disabled:!A.trim()||P||z,title:z?w("ownership.cantEdit"):void 0,children:P?w("editor.saving"):w("common.create")}),a&&W&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(q.$,{type:"button",onClick:ar,disabled:!A.trim()||P||z,title:z?w("ownership.cantEdit"):void 0,children:[(0,d.jsx)(n.A,{className:"mr-2 h-4 w-4"}),P?w("editor.saving"):w("workflows.publishNewVersion")]}),(0,d.jsxs)(p.E,{variant:"outline",className:"inline-flex items-center self-center text-[11px]",children:[w("workflows.activeBadge")," \xb7 v",Y]})]}),a&&!W&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(q.$,{type:"button",onClick:aq,disabled:!A.trim()||P||z,title:z?w("ownership.cantEdit"):void 0,children:P?w("editor.saving"):w("common.save")}),(0,d.jsx)(q.$,{type:"button",variant:"secondary",onClick:as,disabled:P||z,title:z?w("ownership.cantEdit"):void 0,children:w("workflows.activate")})]}),(0,d.jsx)(q.$,{type:"button",onClick:()=>u.push(a?`/workflows/${a}`:"/workflows"),variant:"secondary",children:w("editor.cancel")})]})]}),(0,d.jsx)(R,{open:$,onOpenChange:_,onSelect:a=>{var b;b={node_type:a.node_type,title:a.title??"",instruction:a.instruction??"",instruction_id:a.instruction_id??null,source:a.instruction_id?"reference":"inline"},G([...F,{key:crypto.randomUUID().slice(0,8),dbNodeId:null,title:"",node_type:"action",source:"inline",instruction:"",instruction_id:null,credential_id:null,credential_requirement:null,loop_back_to:null,hitl:!1,visual_selection:!1,...b}]),I(F.length)}})]})}},86871:(a,b,c)=>{c.d(b,{T:()=>f});var d=c(48249);c(67484);var e=c(14490);function f({className:a,...b}){return(0,d.jsx)("textarea",{"data-slot":"textarea",className:(0,e.cn)("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",a),...b})}},88877:(a,b,c)=>{c.d(b,{p:()=>f});var d=c(48249);c(67484);var e=c(14490);function f({className:a,type:b,...c}){return(0,d.jsx)("input",{type:b,"data-slot":"input",className:(0,e.cn)("h-11 w-full min-w-0 rounded-2xl border border-input bg-background px-4 py-2 text-[0.95rem] text-foreground shadow-none transition-colors outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-ink-500 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50","focus-visible:border-brand-blue-500 focus-visible:ring-[4px] focus-visible:ring-ring/35","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",a),...c})}}};
|
|
1
|
+
"use strict";exports.id=2624,exports.ids=[2624],exports.modules={34261:(a,b,c)=>{c.d(b,{$v:()=>p,EO:()=>l,Lt:()=>h,Rx:()=>q,Zr:()=>r,ck:()=>n,r7:()=>o,tv:()=>i,wd:()=>m});var d=c(48249);c(67484);var e=c(14533),f=c(14490),g=c(25297);function h({...a}){return(0,d.jsx)(e.bL,{"data-slot":"alert-dialog",...a})}function i({...a}){return(0,d.jsx)(e.l9,{"data-slot":"alert-dialog-trigger",...a})}function j({...a}){return(0,d.jsx)(e.ZL,{"data-slot":"alert-dialog-portal",...a})}function k({className:a,...b}){return(0,d.jsx)(e.hJ,{"data-slot":"alert-dialog-overlay",className:(0,f.cn)("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",a),...b})}function l({className:a,size:b="default",...c}){return(0,d.jsxs)(j,{children:[(0,d.jsx)(k,{}),(0,d.jsx)(e.UC,{"data-slot":"alert-dialog-content","data-size":b,className:(0,f.cn)("group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-[1.5rem] border border-border bg-card p-6 shadow-[var(--shadow-soft)] duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-[28rem]",a),...c})]})}function m({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,f.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",a),...b})}function n({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,f.cn)("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",a),...b})}function o({className:a,...b}){return(0,d.jsx)(e.hE,{"data-slot":"alert-dialog-title",className:(0,f.cn)("text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",a),...b})}function p({className:a,...b}){return(0,d.jsx)(e.VY,{"data-slot":"alert-dialog-description",className:(0,f.cn)("text-sm text-muted-foreground",a),...b})}function q({className:a,variant:b="default",size:c="default",...h}){return(0,d.jsx)(g.$,{variant:b,size:c,asChild:!0,children:(0,d.jsx)(e.rc,{"data-slot":"alert-dialog-action",className:(0,f.cn)(a),...h})})}function r({className:a,variant:b="outline",size:c="default",...h}){return(0,d.jsx)(g.$,{variant:b,size:c,asChild:!0,children:(0,d.jsx)(e.ZD,{"data-slot":"alert-dialog-cancel",className:(0,f.cn)(a),...h})})}},55063:(a,b,c)=>{c.d(b,{o:()=>g});var d=c(48249),e=c(34261),f=c(45729);function g({target:a,title:b,description:c,confirmLabel:h,cancelLabel:i,onCancel:j,onConfirm:k}){let{t:l}=(0,f.B)();return(0,d.jsx)(e.Lt,{open:null!==a,onOpenChange:a=>{a||j()},children:(0,d.jsxs)(e.EO,{children:[(0,d.jsxs)(e.wd,{children:[(0,d.jsx)(e.r7,{children:b}),(0,d.jsx)(e.$v,{children:c})]}),(0,d.jsxs)(e.ck,{children:[(0,d.jsx)(e.Zr,{children:i??l("common.cancel")}),(0,d.jsx)(e.Rx,{variant:"destructive",onClick:k,children:h??l("common.delete")})]})]})})}},56309:(a,b,c)=>{c.r(b),c.d(b,{default:()=>f,metadata:()=>e});var d=c(5735);let e={title:"Workflows"};function f({children:a}){return(0,d.jsx)(d.Fragment,{children:a})}},63647:(a,b,c)=>{c.d(b,{BT:()=>i,Wu:()=>j,ZB:()=>h,Zp:()=>f,aR:()=>g});var d=c(48249);c(67484);var e=c(14490);function f({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card",className:(0,e.cn)("flex flex-col rounded-[1.5rem] border border-border bg-card text-card-foreground shadow-card",a),...b})}function g({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card-header",className:(0,e.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 p-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),...b})}function h({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card-title",className:(0,e.cn)("leading-none font-semibold",a),...b})}function i({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card-description",className:(0,e.cn)("text-sm text-muted-foreground",a),...b})}function j({className:a,...b}){return(0,d.jsx)("div",{"data-slot":"card-content",className:(0,e.cn)("px-6 pb-6",a),...b})}},65921:(a,b,c)=>{c.d(b,{Y:()=>e});let d={OWNERSHIP_REQUIRED:"rbacErrors.ownershipRequired",VISIBILITY_GATE:"rbacErrors.visibilityGate",CREDENTIAL_USE_DENIED:"rbacErrors.credentialUseDenied",CREDENTIAL_REVEAL_DENIED:"rbacErrors.credentialRevealDenied",FOLDER_DEPTH_EXCEEDED:"rbacErrors.folderDepthExceeded",FOLDER_VISIBILITY_INVALID:"rbacErrors.folderVisibilityInvalid",FOLDER_SHARE_DENIED:"rbacErrors.folderShareDenied",FOLDER_NOT_EMPTY:"rbacErrors.folderNotEmpty",INSTRUCTION_IN_USE:"rbacErrors.instructionInUse",CREDENTIAL_IN_USE:"rbacErrors.credentialInUse",NOT_FOUND:"serverErrors.notFound",UNAUTHORIZED:"serverErrors.unauthorized",FORBIDDEN:"serverErrors.forbidden",CONFLICT:"serverErrors.conflict",PRECONDITION_FAILED:"serverErrors.preconditionFailed",VALIDATION_ERROR:"validationErrors.generic",WORKSPACE_MISSING:"serverErrors.myWorkspaceMissing",MY_WORKSPACE_MISSING:"serverErrors.myWorkspaceMissing",VERSION_INACTIVE:"serverErrors.versionInactive",WORKFLOW_CREDENTIAL_SETUP_REQUIRED:"serverErrors.workflowCredentialSetupRequired"};function e(a,b,c){if(!a)return c;let e=a.code;if(e&&d[e]){let c={};if(a.details)for(let[b,d]of Object.entries(a.details))("string"==typeof d||"number"==typeof d)&&(c[b]=d);let f=b(d[e],c);if(f&&f!==d[e])return f}return a.message??c}},66036:(a,b,c)=>{c.d(b,{default:()=>V});var d=c(48249),e=c(67484),f=c(19099),g=c(32174),h=c(70296),i=c(24520),j=c(22341),k=c(98971),l=c(95801),m=c(31675),n=c(2188),o=c(90707),p=c(2864),q=c(25297),r=c(63647),s=c(88877),t=c(86871),u=c(27656),v=c(33999),w=c(46674),x=c(45729);let y={action:l.A,gate:j.A,loop:k.A},z={action:"border-l-[3px] border-l-brand-blue-600",gate:"border-l-[3px] border-l-kiwi-600",loop:"border-l-[3px] border-l-[var(--muted-foreground)]"},A={action:"border-brand-blue-600/20 bg-brand-blue-100 text-brand-blue-700",gate:"border-kiwi-600/30 bg-kiwi-100 text-kiwi-700",loop:"border-[var(--border)] bg-transparent text-[var(--muted-foreground)]"};function B({node:a,index:b,isExpanded:c,onClick:e,onRemove:f}){let{t:g}=(0,x.B)(),{attributes:i,listeners:j,setNodeRef:k,transform:l,transition:n,isDragging:o}=(0,h.gl)({id:a.key}),q={transform:u.Ks.Transform.toString(l),transition:n},r=y[a.node_type],s=a.instruction.length>80?a.instruction.slice(0,80)+"...":a.instruction;return(0,d.jsxs)("div",{ref:k,style:q,className:`group flex items-start gap-2 rounded-lg border bg-[var(--card)] px-3 py-3 ${z[a.node_type]} ${o?"shadow-lg rotate-[1deg] z-10":""} ${c?"ring-2 ring-brand-blue-600/30":""}`,children:[(0,d.jsx)("button",{type:"button",className:"mt-1 cursor-grab touch-none text-[var(--muted-foreground)] hover:text-[var(--foreground)]",...i,...j,children:(0,d.jsx)(v.A,{className:"h-4 w-4"})}),(0,d.jsxs)("button",{type:"button",className:"flex flex-1 flex-col items-start gap-1 text-left",onClick:e,children:[(0,d.jsxs)("div",{className:"flex w-full items-center gap-2",children:[(0,d.jsx)("span",{className:"w-5 text-center font-mono text-xs text-[var(--muted-foreground)]",children:b+1}),(0,d.jsxs)(p.E,{className:A[a.node_type],children:[(0,d.jsx)(r,{className:"h-3.5 w-3.5"}),g(`editor.${a.node_type}`)]}),(0,d.jsx)("span",{className:"truncate text-sm font-medium",children:a.title||g("editor.nodeTitle")}),a.hitl&&(0,d.jsx)(p.E,{variant:"outline",className:"ml-auto border-amber-500 text-amber-700",children:"HITL"}),a.visual_selection&&(0,d.jsx)(p.E,{variant:"outline",className:"border-kiwi-500 text-kiwi-700",children:"Visual"}),a.credential_requirement&&(0,d.jsxs)(p.E,{variant:"outline",className:"border-[var(--destructive)] text-[var(--destructive)]",children:[(0,d.jsx)(m.A,{className:"h-3.5 w-3.5"}),a.credential_requirement.service_name]})]}),s&&!c&&(0,d.jsx)("p",{className:"pl-7 text-xs text-[var(--muted-foreground)] line-clamp-1",children:s})]}),(0,d.jsx)("button",{type:"button",className:"mt-1 text-[var(--muted-foreground)] opacity-0 transition-opacity hover:text-[var(--destructive)] group-hover:opacity-100",onClick:a=>{a.stopPropagation(),f()},"aria-label":g("editor.deleteNode"),children:(0,d.jsx)(w.A,{className:"h-4 w-4"})})]})}var C=c(33407),D=c(80600),E=c(47086),F=c(96845),G=c(80661),H=c(84248),I=c(59347),J=c(55063),K=c(65921);function L({workflowId:a,nodeId:b}){let{t:c}=(0,x.B)(),f=(0,e.useRef)(null),[g,h]=(0,e.useState)(!1),[i,j]=(0,e.useState)([]),[k,l]=(0,e.useState)(!1),[m,n]=(0,e.useState)(!1),[p,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(null),[u,v]=(0,e.useState)(null),w=`/api/workflows/${a}/node-items/${b}/attachments`,y=(0,e.useCallback)(async()=>{n(!0);try{let a=await fetch(w);if(!a.ok){let b={};try{b=await a.json()}catch{}o.oR.error((0,K.Y)(b.error,c,"Failed to load attachments"));return}let b=await a.json();j(b.data??[]),l(!0)}finally{n(!1)}},[w,c]),z=async a=>{let b=a.target.files?.[0];if(a.target.value="",!b)return;let d=new FormData;d.append("file",b),r(!0);try{let a=await fetch(w,{method:"POST",body:d});if(!a.ok){let b={};try{b=await a.json()}catch{}o.oR.error((0,K.Y)(b.error,c,"Failed to upload attachment"));return}o.oR.success("File uploaded"),h(!0),await y()}finally{r(!1)}},A=async a=>{t(a.id);try{let b,d=await fetch(`${w}/${a.id}`);if(!d.ok){let a={};try{a=await d.json()}catch{}o.oR.error((0,K.Y)(a.error,c,"Failed to download attachment"));return}if((d.headers.get("content-type")??"").includes("application/json")){let c=await d.json(),e=c.data?.content??"";b=new Blob([e],{type:c.data?.mime_type??a.mime_type})}else b=await d.blob();let e=window.URL.createObjectURL(b),f=document.createElement("a");f.href=e,f.download=a.filename,document.body.appendChild(f),f.click(),f.remove(),window.URL.revokeObjectURL(e)}finally{t(null)}},B=async()=>{if(!u)return;let a=await fetch(`${w}/${u.id}`,{method:"DELETE"});if(!a.ok){let b={};try{b=await a.json()}catch{}o.oR.error((0,K.Y)(b.error,c,"Failed to delete attachment")),v(null);return}v(null),o.oR.success("File deleted"),await y()};return(0,d.jsxs)("div",{className:"rounded-xl border border-[var(--border)] bg-[var(--card)]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3 px-4 py-3",children:[(0,d.jsxs)("button",{type:"button",className:"flex min-w-0 flex-1 items-center gap-2 text-left",onClick:()=>h(a=>!a),children:[(0,d.jsx)(F.A,{className:"h-4 w-4 text-[var(--muted-foreground)]"}),(0,d.jsx)("span",{className:"text-sm font-medium",children:c("editor.attachments")}),i.length>0&&(0,d.jsx)("span",{className:"rounded-full bg-brand-blue-100 px-2 py-0.5 text-xs font-medium text-brand-blue-700",children:i.length})]}),(0,d.jsxs)(q.$,{type:"button",size:"sm",variant:"outline",onClick:()=>{f.current?.click()},disabled:p,children:[(0,d.jsx)(G.A,{className:"h-4 w-4"}),p?c("common.loading"):c("editor.uploadFile")]}),(0,d.jsx)("input",{ref:f,type:"file",className:"hidden",onChange:z})]}),g&&(0,d.jsx)("div",{className:"border-t border-[var(--border)] px-4 py-3",children:m?(0,d.jsx)("p",{className:"text-sm text-[var(--muted-foreground)]",children:c("common.loading")}):0===i.length?(0,d.jsx)("p",{className:"text-sm text-[var(--muted-foreground)]",children:"-"}):(0,d.jsx)("div",{className:"space-y-2",children:i.map(a=>{var b,e;let f=(b=a.mime_type).startsWith("image/")?C.A:b.startsWith("text/")||b.includes("json")||b.includes("xml")||b.includes("yaml")||b.includes("javascript")||b.includes("typescript")?D.A:E.A,g=s===a.id;return(0,d.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border border-[var(--border)] px-3 py-2",children:[(0,d.jsx)("div",{className:"rounded-full bg-surface-soft p-2 text-[var(--muted-foreground)]",children:(0,d.jsx)(f,{className:"h-4 w-4"})}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("p",{className:"truncate text-sm font-medium",children:a.filename}),(0,d.jsxs)("p",{className:"truncate text-xs text-[var(--muted-foreground)]",children:[(e=a.size_bytes)<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1024/1024).toFixed(1)} MB`," \xb7"," ",a.mime_type]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-1",children:[(0,d.jsx)(q.$,{type:"button",size:"icon-sm",variant:"ghost","aria-label":"Download",title:"Download",disabled:g,onClick:()=>void A(a),children:(0,d.jsx)(H.A,{className:"h-4 w-4"})}),(0,d.jsx)(q.$,{type:"button",size:"icon-sm",variant:"ghost","aria-label":c("common.delete"),onClick:()=>v(a),children:(0,d.jsx)(I.A,{className:"h-4 w-4 text-[var(--destructive)]"})})]})]},a.id)})})}),(0,d.jsx)(J.o,{target:u,title:c("common.delete"),description:u?`Delete "${u.filename}"?`:c("common.confirm"),onCancel:()=>v(null),onConfirm:()=>void B()})]})}let M={action:"bg-brand-blue-600 text-white",gate:"bg-kiwi-600 text-white",loop:"bg-[var(--muted-foreground)] text-white"},N={action:"bg-brand-blue-600",gate:"bg-kiwi-600",loop:"bg-[var(--muted-foreground)]"};function O({nodes:a,onAddClick:b}){let{t:c}=(0,x.B)(),e=a.filter(a=>"action"===a.node_type).length,f=a.filter(a=>"gate"===a.node_type).length,g=a.filter(a=>"loop"===a.node_type).length;return(0,d.jsxs)("div",{className:"mb-6 rounded-lg border bg-[var(--card)] p-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-0 overflow-x-auto pb-2",children:[a.map((b,c)=>(0,d.jsxs)("div",{className:"flex items-center",children:[c>0&&(0,d.jsx)("div",{className:`h-0.5 w-6 shrink-0 ${N[a[c-1].node_type]}`}),(0,d.jsx)("div",{className:`flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-xs font-bold ${M[b.node_type]}`,title:`${c+1}. ${b.title||b.node_type}`,children:c+1})]},b.key)),a.length>0&&(0,d.jsx)("div",{className:"h-0.5 w-6 shrink-0 border-t-2 border-dashed border-[var(--muted-foreground)]"}),(0,d.jsx)("button",{type:"button",onClick:b,className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full border-2 border-dashed border-[var(--muted-foreground)] text-[var(--muted-foreground)] transition-colors hover:border-brand-blue-600 hover:text-brand-blue-600","aria-label":c("editor.addNode"),children:(0,d.jsx)(i.A,{className:"h-3.5 w-3.5"})})]}),(0,d.jsxs)("p",{className:"mt-2 text-xs text-[var(--muted-foreground)]",children:[a.length," steps",e>0&&` \xb7 action(${e})`,f>0&&` \xb7 gate(${f})`,g>0&&` \xb7 loop(${g})`]})]})}var P=c(25250);let Q=[{value:"action",labelKey:"editor.action",descKey:"editor.actionDesc",Icon:l.A},{value:"gate",labelKey:"editor.gate",descKey:"editor.gateDesc",Icon:j.A},{value:"loop",labelKey:"editor.loop",descKey:"editor.loopDesc",Icon:k.A}];function R({open:a,onOpenChange:b,onSelect:c}){let{t:f}=(0,x.B)(),[g,h]=(0,e.useState)([]),[i,j]=(0,e.useState)(!1);return(0,d.jsxs)(P.Gj,{open:a,onOpenChange:b,title:f("editor.pickerTitle"),description:f("editor.pickerDesc"),children:[(0,d.jsx)(P.G7,{placeholder:f("editor.searchPlaceholder")}),(0,d.jsxs)(P.oI,{children:[(0,d.jsx)(P.xL,{children:f("common.noResults")}),(0,d.jsx)(P.L$,{heading:f("editor.nodeTypes"),children:Q.map(a=>(0,d.jsxs)(P.h_,{onSelect:()=>{c({node_type:a.value}),b(!1)},children:[(0,d.jsx)(a.Icon,{className:"h-4 w-4"}),(0,d.jsxs)("div",{className:"flex flex-col",children:[(0,d.jsx)("span",{className:"font-medium",children:f(a.labelKey)}),(0,d.jsx)("span",{className:"text-xs text-[var(--muted-foreground)]",children:f(a.descKey)})]})]},a.value))}),!i&&g.length>0&&(0,d.jsx)(P.L$,{heading:f("editor.savedTemplates"),children:g.map(a=>(0,d.jsxs)(P.h_,{onSelect:()=>{c({node_type:"action",instruction_id:a.id,title:a.title,instruction:a.content}),b(!1)},children:[(0,d.jsx)(D.A,{className:"h-4 w-4"}),(0,d.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"truncate font-medium",children:a.title}),(0,d.jsx)(p.E,{className:"border-brand-blue-600/20 bg-brand-blue-100 text-brand-blue-700",variant:"outline",children:f("editor.action")})]}),(0,d.jsx)("span",{className:"truncate text-xs text-[var(--muted-foreground)]",children:a.content.length>60?a.content.slice(0,60)+"...":a.content})]})]},a.id))})]})]})}function S({open:a,onOpenChange:b,instructions:c,onSelect:e,onCreateNew:f}){let{t:g}=(0,x.B)();return(0,d.jsxs)(P.Gj,{open:a,onOpenChange:b,children:[(0,d.jsx)(P.G7,{placeholder:g("editor.searchInstruction")}),(0,d.jsxs)(P.oI,{children:[(0,d.jsx)(P.xL,{children:g("common.noResults")}),(0,d.jsx)(P.L$,{heading:g("editor.savedTemplates"),children:c.map(a=>(0,d.jsxs)(P.h_,{onSelect:()=>{e(a.id),b(!1)},children:[(0,d.jsx)(D.A,{className:"mr-2 h-4 w-4 shrink-0 text-brand-blue-600"}),(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"truncate text-sm font-medium",children:["#",a.id," ",a.title]}),(0,d.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:a.content.slice(0,80)})]})]},a.id))}),(0,d.jsx)(P.L$,{heading:g("common.create"),children:(0,d.jsxs)(P.h_,{onSelect:()=>{f(),b(!1)},children:[(0,d.jsx)(i.A,{className:"mr-2 h-4 w-4 text-brand-blue-600"}),(0,d.jsx)("span",{className:"text-sm font-medium",children:g("editor.createNewInstruction")})]})})]})]})}let T={action:{icon:l.A,label:"Action",border:"border-brand-blue-600",badge:"border-brand-blue-600/20 bg-brand-blue-100 text-brand-blue-700",bg:"bg-brand-blue-100",color:"text-brand-blue-700"},gate:{icon:j.A,label:"Gate",border:"border-kiwi-600",badge:"border-kiwi-600/30 bg-kiwi-100 text-kiwi-700",bg:"bg-kiwi-100",color:"text-kiwi-700"},loop:{icon:k.A,label:"Loop",border:"border-border",badge:"border-border bg-muted text-muted-foreground",bg:"bg-muted",color:"text-muted-foreground"}},U=[{value:"action",labelKey:"editor.action",descKey:"editor.actionDesc"},{value:"gate",labelKey:"editor.gate",descKey:"editor.gateDesc"},{value:"loop",labelKey:"editor.loop",descKey:"editor.loopDesc"}];function V({workflowId:a,folderId:b,canEdit:c=!0}){let u=(0,f.useRouter)(),v=(0,f.useSearchParams)(),{t:w}=(0,x.B)(),y=b??(v.get("folder_id")?Number(v.get("folder_id")):null),z=!c,[A,C]=(0,e.useState)(""),[D,E]=(0,e.useState)(""),[F,G]=(0,e.useState)([]),[H,I]=(0,e.useState)(null),[J,K]=(0,e.useState)([]),[M,N]=(0,e.useState)([]),[P,Q]=(0,e.useState)(!1),[W,X]=(0,e.useState)(!0),[Y,Z]=(0,e.useState)(""),[$,_]=(0,e.useState)(!1),[aa,ab]=(0,e.useState)(null),[ac,ad]=(0,e.useState)(null),[ae,af]=(0,e.useState)(""),[ag,ah]=(0,e.useState)(""),[ai,aj]=(0,e.useState)(!1),ak=(0,e.useMemo)(()=>new Map(J.map(a=>[a.id,a])),[J]),al=(0,g.FR)((0,g.MS)(g.AN,{activationConstraint:{distance:5}}),(0,g.MS)(g.uN,{coordinateGetter:h.JR})),am=(a,b)=>{G(F.map((c,d)=>d===a?{...c,...b}:c))},an=async a=>{if(!ae.trim())return;aj(!0);let b=await fetch("/api/instructions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:ae.trim(),content:ag.trim()})});if(b.ok){let c=(await b.json()).data;K(a=>[...a,c]),am(a,{instruction_id:c.id}),ad(null),af(""),ah("")}aj(!1)},ao=()=>({title:A,description:D,...y?{folder_id:y}:{},nodes:F.map(a=>({...null!==a.dbNodeId?{id:a.dbNodeId}:{},title:a.title,node_type:a.node_type,instruction:"inline"===a.source?a.instruction:"",instruction_id:"reference"===a.source?a.instruction_id:null,credential_id:a.credential_id,credential_requirement:a.credential_requirement,loop_back_to:"loop"===a.node_type?a.loop_back_to:null,hitl:a.hitl,visual_selection:"gate"===a.node_type&&a.visual_selection}))}),ap=async()=>{if(A.trim()){Q(!0);try{if(!(await fetch("/api/workflows",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ao())})).ok)return void o.oR.error(w("workflows.publishFailed"));o.oR.success(w("workflows.saved")),u.push(y?`/workflows?folder_id=${y}`:"/workflows")}finally{Q(!1)}}},aq=async()=>{if(a&&A.trim()){Q(!0);try{let b=await fetch(`/api/workflows/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(ao())});if(!b.ok){let a=await b.json().catch(()=>null);409===b.status&&a?.error?.message?o.oR.error(a.error.message):o.oR.error(w("workflows.publishFailed"));return}o.oR.success(w("workflows.saved")),u.push(`/workflows/${a}`)}finally{Q(!1)}}},ar=async()=>{if(a&&A.trim()){Q(!0);try{let b=await fetch(`/api/workflows/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({...ao(),create_new_version:!0})});if(!b.ok)return void o.oR.error(w("workflows.publishFailed"));let c=await b.json(),d=c?.data?.id,e=c?.data?.version;o.oR.success(w("workflows.publishedVersion",{version:e??""})),u.push("number"==typeof d?`/workflows/${d}`:"/workflows")}finally{Q(!1)}}},as=async()=>{a&&((await fetch(`/api/workflows/${a}/activate`,{method:"POST"})).ok?(o.oR.success(w("workflows.activated")),X(!0)):o.oR.error(w("workflows.activateFailed")))};return(0,d.jsxs)("main",{className:"mx-auto max-w-5xl px-4 py-10",children:[(0,d.jsx)("h1",{className:"mb-6 text-2xl font-bold tracking-tight",children:a?w("editor.editWorkflow"):w("editor.newWorkflow")}),z&&(0,d.jsx)("div",{className:"mb-6 rounded border border-yellow-500/40 bg-yellow-500/10 px-4 py-3 text-sm text-yellow-900 dark:text-yellow-200",children:w("ownership.readOnlyPreview")}),(0,d.jsxs)(r.Zp,{className:"mb-8",children:[(0,d.jsx)(r.aR,{className:"p-5 pb-0",children:(0,d.jsx)(r.ZB,{className:"text-sm",children:w("editor.basicInfo")})}),(0,d.jsx)(r.Wu,{className:"p-5",children:(0,d.jsxs)("div",{className:"grid gap-4",children:[(0,d.jsx)(s.p,{placeholder:w("editor.workflowTitlePlaceholder"),value:A,onChange:a=>C(a.target.value),className:"text-base font-medium",required:!0}),(0,d.jsx)(s.p,{placeholder:w("editor.descriptionPlaceholder"),value:D,onChange:a=>E(a.target.value)})]})})]}),F.length>0&&(0,d.jsx)(O,{nodes:F,onAddClick:()=>_(!0)}),(0,d.jsxs)("div",{className:"mb-4 flex items-center justify-between",children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold",children:[w("editor.nodes")," (",F.length,")"]}),(0,d.jsxs)(q.$,{onClick:()=>_(!0),size:"sm",children:[(0,d.jsx)(i.A,{className:"h-4 w-4"}),w("editor.addNode")]})]}),0===F.length?(0,d.jsx)(r.Zp,{className:"border-dashed shadow-none",children:(0,d.jsxs)(r.Wu,{className:"py-12 text-center",children:[(0,d.jsx)("p",{className:"mb-4 text-sm text-[var(--muted-foreground)]",children:w("editor.noNodes")}),(0,d.jsxs)(q.$,{onClick:()=>_(!0),size:"sm",children:[(0,d.jsx)(i.A,{className:"h-4 w-4"}),w("editor.addFirstNode")]})]})}):(0,d.jsx)(g.Mp,{sensors:al,collisionDetection:g.fp,onDragEnd:a=>{let{active:b,over:c}=a;c&&b.id!==c.id&&(G(a=>{let d=a.findIndex(a=>a.key===b.id),e=a.findIndex(a=>a.key===c.id);return(0,h.be)(a,d,e)}),I(null))},children:(0,d.jsx)(h.gB,{items:F.map(a=>a.key),strategy:h._G,children:(0,d.jsx)("div",{className:"space-y-2",children:F.map((b,c)=>(0,d.jsxs)("div",{children:[(0,d.jsx)(B,{node:b,index:c,isExpanded:H===c,onClick:()=>I(H===c?null:c),onRemove:()=>{G(F.filter((a,b)=>b!==c)),H===c&&I(null)}}),H===c&&(0,d.jsx)(r.Zp,{className:`mt-1 ml-6 border-2 ${T[b.node_type]?.border??"border-border"}`,children:(0,d.jsx)(r.Wu,{className:"p-5",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)(s.p,{placeholder:w("editor.nodeTitle"),value:b.title,onChange:a=>am(c,{title:a.target.value}),className:"h-9 min-w-[220px] flex-1"}),"action"===b.node_type&&(0,d.jsxs)("label",{className:"flex cursor-pointer select-none items-center gap-1.5 text-sm",children:[(0,d.jsx)("input",{type:"checkbox",checked:b.hitl,onChange:a=>am(c,{hitl:a.target.checked}),className:"h-4 w-4 accent-brand-blue-600"}),(0,d.jsx)("span",{children:"HITL"})]}),"gate"===b.node_type&&(0,d.jsxs)("label",{className:"flex cursor-pointer select-none items-center gap-1.5 text-sm",children:[(0,d.jsx)("input",{type:"checkbox",checked:b.visual_selection,onChange:a=>am(c,{visual_selection:a.target.checked}),className:"h-4 w-4 accent-amber-500"}),(0,d.jsx)("span",{children:"Visual"})]}),(0,d.jsxs)("select",{value:b.credential_id??"",onChange:a=>am(c,{credential_id:a.target.value?Number(a.target.value):null}),className:"h-9 w-48 rounded-[var(--radius)] border border-[var(--border)] bg-[var(--card)] px-2 text-sm",title:w("editor.credentialTitle"),children:[(0,d.jsx)("option",{value:"",children:w("editor.noCredential")}),M.map(a=>(0,d.jsx)("option",{value:a.id,children:a.service_name},a.id))]})]}),(0,d.jsxs)("div",{className:"grid gap-3",children:[(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:U.map(a=>{let e="gate"===a.value?j.A:"loop"===a.value?k.A:l.A,f=b.node_type===a.value,g=T[a.value]?.badge??"";return(0,d.jsxs)(q.$,{type:"button",variant:"outline",size:"sm",onClick:()=>am(c,{node_type:a.value}),className:f?g:void 0,title:w(a.descKey),children:[(0,d.jsx)(e,{className:"h-4 w-4"}),w(a.labelKey)]},a.value)})}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,d.jsx)(q.$,{type:"button",variant:"outline",size:"sm",onClick:()=>am(c,{source:"inline",instruction_id:null}),className:"inline"===b.source?"border-brand-blue-600 bg-brand-blue-100 text-brand-blue-700":void 0,children:w("editor.inlineWrite")}),(0,d.jsx)(q.$,{type:"button",variant:"outline",size:"sm",onClick:()=>am(c,{source:"reference"}),className:"reference"===b.source?"border-brand-blue-600 bg-brand-blue-100 text-brand-blue-700":void 0,children:w("editor.referenceInstruction")})]}),"inline"===b.source?(0,d.jsx)(t.T,{placeholder:w("editor.instructionPlaceholder"),value:b.instruction,onChange:a=>am(c,{instruction:a.target.value}),rows:4,className:"font-mono"}):(0,d.jsxs)("div",{className:"grid gap-2",children:[(0,d.jsx)(q.$,{variant:"outline",size:"sm",className:"w-full justify-start text-left font-normal",onClick:()=>ab(c),children:b.instruction_id?`#${b.instruction_id} ${ak.get(b.instruction_id)?.title??""}`:w("editor.selectInstruction")}),(0,d.jsx)(S,{open:aa===c,onOpenChange:a=>{a||ab(null)},instructions:J,onSelect:a=>{ad(null),am(c,{instruction_id:a})},onCreateNew:()=>{ad(c),af(""),ah("")}}),ac===c&&(0,d.jsx)(r.Zp,{className:"border-brand-blue-600 shadow-none",children:(0,d.jsxs)(r.Wu,{className:"grid gap-3 p-4",children:[(0,d.jsx)(s.p,{placeholder:w("editor.instructionTitle"),value:ae,onChange:a=>af(a.target.value)}),(0,d.jsx)(t.T,{placeholder:w("editor.instructionContent"),value:ag,onChange:a=>ah(a.target.value),rows:4,className:"font-mono"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(q.$,{size:"sm",onClick:()=>an(c),disabled:!ae.trim()||ai,children:ai?w("editor.saving"):w("common.create")}),(0,d.jsx)(q.$,{size:"sm",variant:"secondary",type:"button",onClick:()=>ad(null),children:w("common.cancel")})]})]})})]}),"loop"===b.node_type&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-[var(--muted-foreground)]",children:w("editor.loopBackTo")}),(0,d.jsxs)("select",{value:b.loop_back_to??"",onChange:a=>am(c,{loop_back_to:a.target.value?Number(a.target.value):null}),className:"h-9 w-56 rounded-[var(--radius)] border border-[var(--border)] bg-[var(--card)] px-2 text-sm",children:[(0,d.jsx)("option",{value:"",children:w("editor.selectStep")}),F.map((a,b)=>(0,d.jsx)("option",{value:b+1,children:w("editor.loopStepOption",{step:b+1,title:F[b].title?`: ${F[b].title}`:""})},b))]})]}),a&&b.dbNodeId&&(0,d.jsx)(L,{workflowId:a,nodeId:b.dbNodeId})]})]})})})]},b.key))})})}),(0,d.jsxs)("div",{className:"mt-8 space-y-3",children:[a&&!W&&(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-lg border border-[var(--border)] bg-surface-soft p-3 text-xs text-[var(--muted-foreground)]",children:[(0,d.jsx)(m.A,{className:"mt-0.5 h-4 w-4 shrink-0 text-amber-500"}),(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsxs)("p",{className:"font-medium text-foreground",children:[w("workflows.inactiveBadge")," \xb7 v",Y]}),(0,d.jsx)("p",{children:w("workflows.inactiveEditWarning")})]})]}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-3",children:[!a&&(0,d.jsx)(q.$,{type:"button",onClick:ap,disabled:!A.trim()||P||z,title:z?w("ownership.cantEdit"):void 0,children:P?w("editor.saving"):w("common.create")}),a&&W&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(q.$,{type:"button",onClick:ar,disabled:!A.trim()||P||z,title:z?w("ownership.cantEdit"):void 0,children:[(0,d.jsx)(n.A,{className:"mr-2 h-4 w-4"}),P?w("editor.saving"):w("workflows.publishNewVersion")]}),(0,d.jsxs)(p.E,{variant:"outline",className:"inline-flex items-center self-center text-[11px]",children:[w("workflows.activeBadge")," \xb7 v",Y]})]}),a&&!W&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(q.$,{type:"button",onClick:aq,disabled:!A.trim()||P||z,title:z?w("ownership.cantEdit"):void 0,children:P?w("editor.saving"):w("common.save")}),(0,d.jsx)(q.$,{type:"button",variant:"secondary",onClick:as,disabled:P||z,title:z?w("ownership.cantEdit"):void 0,children:w("workflows.activate")})]}),(0,d.jsx)(q.$,{type:"button",onClick:()=>u.push(a?`/workflows/${a}`:"/workflows"),variant:"secondary",children:w("editor.cancel")})]})]}),(0,d.jsx)(R,{open:$,onOpenChange:_,onSelect:a=>{var b;b={node_type:a.node_type,title:a.title??"",instruction:a.instruction??"",instruction_id:a.instruction_id??null,source:a.instruction_id?"reference":"inline"},G([...F,{key:crypto.randomUUID().slice(0,8),dbNodeId:null,title:"",node_type:"action",source:"inline",instruction:"",instruction_id:null,credential_id:null,credential_requirement:null,loop_back_to:null,hitl:!1,visual_selection:!1,...b}]),I(F.length)}})]})}},86871:(a,b,c)=>{c.d(b,{T:()=>f});var d=c(48249);c(67484);var e=c(14490);function f({className:a,...b}){return(0,d.jsx)("textarea",{"data-slot":"textarea",className:(0,e.cn)("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",a),...b})}},88877:(a,b,c)=>{c.d(b,{p:()=>f});var d=c(48249);c(67484);var e=c(14490);function f({className:a,type:b,...c}){return(0,d.jsx)("input",{type:b,"data-slot":"input",className:(0,e.cn)("h-11 w-full min-w-0 rounded-2xl border border-input bg-background px-4 py-2 text-[0.95rem] text-foreground shadow-none transition-colors outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-ink-500 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50","focus-visible:border-brand-blue-500 focus-visible:ring-[4px] focus-visible:ring-ring/35","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",a),...c})}}};
|