nodal-agents 0.4.2 → 0.4.4

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.
Files changed (130) hide show
  1. package/README.md +12 -12
  2. package/package.json +2 -1
  3. package/runner.js +247 -66
  4. package/web/.next/BUILD_ID +1 -1
  5. package/web/.next/build-manifest.json +2 -2
  6. package/web/.next/prerender-manifest.json +3 -3
  7. package/web/.next/server/app/(dashboard)/agents/[id]/edit/page.js +3 -3
  8. package/web/.next/server/app/(dashboard)/agents/[id]/edit/page.js.nft.json +1 -1
  9. package/web/.next/server/app/(dashboard)/agents/[id]/edit/page_client-reference-manifest.js +1 -1
  10. package/web/.next/server/app/(dashboard)/agents/[id]/telegram/page.js +2 -2
  11. package/web/.next/server/app/(dashboard)/agents/[id]/telegram/page_client-reference-manifest.js +1 -1
  12. package/web/.next/server/app/(dashboard)/agents/page.js +2 -2
  13. package/web/.next/server/app/(dashboard)/agents/page_client-reference-manifest.js +1 -1
  14. package/web/.next/server/app/(dashboard)/approvals/page.js +2 -2
  15. package/web/.next/server/app/(dashboard)/approvals/page.js.nft.json +1 -1
  16. package/web/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
  17. package/web/.next/server/app/(dashboard)/automations/page.js +2 -2
  18. package/web/.next/server/app/(dashboard)/automations/page_client-reference-manifest.js +1 -1
  19. package/web/.next/server/app/(dashboard)/billing/page.js +2 -2
  20. package/web/.next/server/app/(dashboard)/billing/page_client-reference-manifest.js +1 -1
  21. package/web/.next/server/app/(dashboard)/chat/page.js +1 -1
  22. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  23. package/web/.next/server/app/(dashboard)/connectors/page.js +1 -1
  24. package/web/.next/server/app/(dashboard)/connectors/page.js.nft.json +1 -1
  25. package/web/.next/server/app/(dashboard)/connectors/page_client-reference-manifest.js +1 -1
  26. package/web/.next/server/app/(dashboard)/credentials/page.js +1 -1
  27. package/web/.next/server/app/(dashboard)/credentials/page.js.nft.json +1 -1
  28. package/web/.next/server/app/(dashboard)/credentials/page_client-reference-manifest.js +1 -1
  29. package/web/.next/server/app/(dashboard)/jobs/[id]/page.js +2 -2
  30. package/web/.next/server/app/(dashboard)/jobs/[id]/page_client-reference-manifest.js +1 -1
  31. package/web/.next/server/app/(dashboard)/jobs/page.js +2 -2
  32. package/web/.next/server/app/(dashboard)/jobs/page.js.nft.json +1 -1
  33. package/web/.next/server/app/(dashboard)/jobs/page_client-reference-manifest.js +1 -1
  34. package/web/.next/server/app/(dashboard)/llm-providers/page.js +1 -1
  35. package/web/.next/server/app/(dashboard)/llm-providers/page_client-reference-manifest.js +1 -1
  36. package/web/.next/server/app/(dashboard)/logs/page.js +2 -2
  37. package/web/.next/server/app/(dashboard)/logs/page_client-reference-manifest.js +1 -1
  38. package/web/.next/server/app/(dashboard)/mcp/page.js +1 -1
  39. package/web/.next/server/app/(dashboard)/mcp/page_client-reference-manifest.js +1 -1
  40. package/web/.next/server/app/(dashboard)/memories/page.js +2 -2
  41. package/web/.next/server/app/(dashboard)/memories/page_client-reference-manifest.js +1 -1
  42. package/web/.next/server/app/(dashboard)/page.js +4 -4
  43. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  44. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  45. package/web/.next/server/app/(dashboard)/settings/page.js +2 -2
  46. package/web/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  47. package/web/.next/server/app/(dashboard)/skills/[id]/edit/page.js +1 -1
  48. package/web/.next/server/app/(dashboard)/skills/[id]/edit/page.js.nft.json +1 -1
  49. package/web/.next/server/app/(dashboard)/skills/[id]/edit/page_client-reference-manifest.js +1 -1
  50. package/web/.next/server/app/(dashboard)/skills/new/page.js +2 -2
  51. package/web/.next/server/app/(dashboard)/skills/new/page.js.nft.json +1 -1
  52. package/web/.next/server/app/(dashboard)/skills/new/page_client-reference-manifest.js +1 -1
  53. package/web/.next/server/app/(dashboard)/skills/page.js +1 -1
  54. package/web/.next/server/app/(dashboard)/skills/page_client-reference-manifest.js +1 -1
  55. package/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  56. package/web/.next/server/app/_global-error.html +1 -1
  57. package/web/.next/server/app/_global-error.rsc +2 -2
  58. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
  59. package/web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  60. package/web/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  61. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  62. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +2 -2
  63. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  64. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  65. package/web/.next/server/app/_not-found.html +1 -1
  66. package/web/.next/server/app/_not-found.rsc +2 -2
  67. package/web/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  68. package/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  69. package/web/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  70. package/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  71. package/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  72. package/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  73. package/web/.next/server/app/api/oauth/[provider]/callback/route.js +1 -1
  74. package/web/.next/server/app/login/page_client-reference-manifest.js +1 -1
  75. package/web/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  76. package/web/.next/server/app/onboarding.html +1 -1
  77. package/web/.next/server/app/onboarding.rsc +2 -2
  78. package/web/.next/server/app/onboarding.segments/_full.segment.rsc +2 -2
  79. package/web/.next/server/app/onboarding.segments/_head.segment.rsc +1 -1
  80. package/web/.next/server/app/onboarding.segments/_index.segment.rsc +2 -2
  81. package/web/.next/server/app/onboarding.segments/_tree.segment.rsc +1 -1
  82. package/web/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +1 -1
  83. package/web/.next/server/app/onboarding.segments/onboarding.segment.rsc +1 -1
  84. package/web/.next/server/chunks/3233.js +1 -1
  85. package/web/.next/server/chunks/3889.js +1 -0
  86. package/web/.next/server/chunks/5329.js +1 -0
  87. package/web/.next/server/chunks/593.js +1 -0
  88. package/web/.next/server/chunks/7231.js +1 -0
  89. package/web/.next/server/chunks/7741.js +1 -1
  90. package/web/.next/server/middleware-build-manifest.js +1 -1
  91. package/web/.next/server/pages/404.html +1 -1
  92. package/web/.next/server/pages/500.html +1 -1
  93. package/web/.next/server/server-reference-manifest.js +1 -1
  94. package/web/.next/server/server-reference-manifest.json +1 -1
  95. package/web/.next/static/chunks/{9123-20653d928e33410a.js → 9123-67530ba510c58003.js} +1 -1
  96. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/edit/page-a2c267f563cd1a70.js +2 -0
  97. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/telegram/page-2d7cae43f5e6952a.js +1 -0
  98. package/web/.next/static/chunks/app/(dashboard)/agents/page-bed833ebdd3646fb.js +1 -0
  99. package/web/.next/static/chunks/app/(dashboard)/approvals/{page-79dea6e91956eeba.js → page-4b27762472802ce0.js} +1 -1
  100. package/web/.next/static/chunks/app/(dashboard)/automations/{page-3b863b7af8e2c1a3.js → page-9e5d2ce807ce1c37.js} +1 -1
  101. package/web/.next/static/chunks/app/(dashboard)/chat/page-8f81d7e3abb475a6.js +1 -0
  102. package/web/.next/static/chunks/app/(dashboard)/connectors/{page-4a437ba82f4086da.js → page-39b1d9560235d574.js} +1 -1
  103. package/web/.next/static/chunks/app/(dashboard)/jobs/[id]/page-112bb22a9ec43be0.js +1 -0
  104. package/web/.next/static/chunks/app/(dashboard)/jobs/{page-94a311f688a255d8.js → page-44351170ed5f9180.js} +1 -1
  105. package/web/.next/static/chunks/app/(dashboard)/{layout-e1b0d4fad2926646.js → layout-53e69de869cba0d0.js} +1 -1
  106. package/web/.next/static/chunks/app/(dashboard)/llm-providers/{page-e5e2c4e2b783d37f.js → page-8f6ce47ba228e38b.js} +1 -1
  107. package/web/.next/static/chunks/app/(dashboard)/mcp/page-cdf057e468c6e92e.js +1 -0
  108. package/web/.next/static/chunks/app/(dashboard)/memories/page-e706ab4aa681fa99.js +1 -0
  109. package/web/.next/static/chunks/app/(dashboard)/{page-fb50e1576a3ab2e4.js → page-29cfae3bf701076e.js} +1 -1
  110. package/web/.next/static/chunks/app/(dashboard)/settings/page-312ae27ae71ea6d1.js +1 -0
  111. package/web/.next/static/chunks/app/(dashboard)/skills/[id]/edit/page-89a8a30db5eb96e1.js +1 -0
  112. package/web/.next/static/chunks/app/(dashboard)/skills/new/page-46a424b203591560.js +1 -0
  113. package/web/.next/static/chunks/app/(dashboard)/skills/page-edad7bbd3230fb7a.js +1 -0
  114. package/web/.next/server/chunks/1945.js +0 -1
  115. package/web/.next/server/chunks/4839.js +0 -1
  116. package/web/.next/server/chunks/8206.js +0 -1
  117. package/web/.next/server/chunks/8398.js +0 -1
  118. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/edit/page-a8e293c54c818084.js +0 -2
  119. package/web/.next/static/chunks/app/(dashboard)/agents/[id]/telegram/page-7a94ae67b2c3c9c3.js +0 -1
  120. package/web/.next/static/chunks/app/(dashboard)/agents/page-b258b8975ac6450b.js +0 -1
  121. package/web/.next/static/chunks/app/(dashboard)/chat/page-4d965bb7ee3732db.js +0 -1
  122. package/web/.next/static/chunks/app/(dashboard)/jobs/[id]/page-be20dcbf25c8f3ce.js +0 -1
  123. package/web/.next/static/chunks/app/(dashboard)/mcp/page-c071c54f76273ac4.js +0 -1
  124. package/web/.next/static/chunks/app/(dashboard)/memories/page-8ca0b34ad35eb1fa.js +0 -1
  125. package/web/.next/static/chunks/app/(dashboard)/settings/page-7b256e9c462e97f8.js +0 -1
  126. package/web/.next/static/chunks/app/(dashboard)/skills/[id]/edit/page-12930816795e8b20.js +0 -1
  127. package/web/.next/static/chunks/app/(dashboard)/skills/new/page-e3a19abaf7468db9.js +0 -1
  128. package/web/.next/static/chunks/app/(dashboard)/skills/page-43f1475a0bc9c45f.js +0 -1
  129. /package/web/.next/static/{ZuUX-HBTQOhLf0tFI6JQI → PV5qpGylrVW3jZ7zKHuhE}/_buildManifest.js +0 -0
  130. /package/web/.next/static/{ZuUX-HBTQOhLf0tFI6JQI → PV5qpGylrVW3jZ7zKHuhE}/_ssgManifest.js +0 -0
@@ -2,14 +2,14 @@
2
2
  2:I[29534,[],""]
3
3
  3:I[16681,["8039","static/chunks/app/error-61e58aa304e1b34e.js"],"default"]
4
4
  4:I[55732,[],""]
5
- 5:I[63363,["3363","static/chunks/3363-1c6e608bcc76c1b2.js","2575","static/chunks/2575-e660568bd1a9bcb6.js","269","static/chunks/269-dc034ed29e6c72ee.js","3233","static/chunks/3233-e6efb7fb1fa24591.js","1966","static/chunks/app/(dashboard)/page-fb50e1576a3ab2e4.js"],""]
5
+ 5:I[63363,["3363","static/chunks/3363-1c6e608bcc76c1b2.js","2575","static/chunks/2575-e660568bd1a9bcb6.js","269","static/chunks/269-dc034ed29e6c72ee.js","3233","static/chunks/3233-e6efb7fb1fa24591.js","1966","static/chunks/app/(dashboard)/page-29cfae3bf701076e.js"],""]
6
6
  6:I[60407,[],"OutletBoundary"]
7
7
  7:"$Sreact.suspense"
8
8
  a:I[60407,[],"ViewportBoundary"]
9
9
  c:I[60407,[],"MetadataBoundary"]
10
10
  e:I[73782,[],"default",1]
11
11
  :HL["/_next/static/css/78ead23854ab041e.css","style"]
12
- 0:{"P":null,"c":["","onboarding"],"q":"","i":false,"f":[[["",{"children":["onboarding",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/78ead23854ab041e.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_8b3a0b __variable_e896d9","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('nodal.theme');if(t!=='dark'&&t!=='light')t='light';document.documentElement.setAttribute('data-theme',t);}catch(e){document.documentElement.setAttribute('data-theme','light');}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$3","errorStyles":[],"errorScripts":[],"template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex min-h-screen w-full items-center justify-center bg-canvas px-4","children":["$","div",null,{"className":"text-center space-y-4","children":[["$","h1",null,{"className":"text-2xl font-bold text-ink","children":"404 — Page not found"}],["$","p",null,{"className":"text-sm text-ink-3","children":"This page doesn't exist."}],["$","$L5",null,{"href":"/","className":"inline-block rounded-lg bg-agent-vivid text-canvas px-4 py-2 text-sm font-semibold hover:bg-agent-vivid transition-colors","children":"Go to dashboard"}]]}]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",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":[["$","div",null,{"className":"flex min-h-screen w-full items-center justify-center bg-canvas px-4","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","h1",null,{"className":"text-2xl font-bold text-ink","children":"Onboarding"}],["$","p",null,{"className":"text-sm text-ink-3","children":"Migration WIP — see Brique 16b for the real page."}]]}]}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],{},null,false,null]},null,false,"$@9"]},null,false,null],["$","$1","h",{"children":[null,["$","$La",null,{"children":"$Lb"}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":"$Ld"}]}]}],null]}],false]],"m":"$undefined","G":["$e",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"ZuUX-HBTQOhLf0tFI6JQI"}
12
+ 0:{"P":null,"c":["","onboarding"],"q":"","i":false,"f":[[["",{"children":["onboarding",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/78ead23854ab041e.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_8b3a0b __variable_e896d9","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('nodal.theme');if(t!=='dark'&&t!=='light')t='light';document.documentElement.setAttribute('data-theme',t);}catch(e){document.documentElement.setAttribute('data-theme','light');}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$3","errorStyles":[],"errorScripts":[],"template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex min-h-screen w-full items-center justify-center bg-canvas px-4","children":["$","div",null,{"className":"text-center space-y-4","children":[["$","h1",null,{"className":"text-2xl font-bold text-ink","children":"404 — Page not found"}],["$","p",null,{"className":"text-sm text-ink-3","children":"This page doesn't exist."}],["$","$L5",null,{"href":"/","className":"inline-block rounded-lg bg-agent-vivid text-canvas px-4 py-2 text-sm font-semibold hover:bg-agent-vivid transition-colors","children":"Go to dashboard"}]]}]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",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":[["$","div",null,{"className":"flex min-h-screen w-full items-center justify-center bg-canvas px-4","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","h1",null,{"className":"text-2xl font-bold text-ink","children":"Onboarding"}],["$","p",null,{"className":"text-sm text-ink-3","children":"Migration WIP — see Brique 16b for the real page."}]]}]}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],{},null,false,null]},null,false,"$@9"]},null,false,null],["$","$1","h",{"children":[null,["$","$La",null,{"children":"$Lb"}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":"$Ld"}]}]}],null]}],false]],"m":"$undefined","G":["$e",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"PV5qpGylrVW3jZ7zKHuhE"}
13
13
  f:[]
14
14
  9:"$Wf"
15
15
  b:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -2,4 +2,4 @@
2
2
  2:I[60407,[],"ViewportBoundary"]
3
3
  3:I[60407,[],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
- 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":"Nodal-Agents"}],["$","meta","1",{"name":"description","content":"Multi-agent platform"}]]}]}]}],null]}],"isPartial":false,"staleTime":180,"varyParams":null,"buildId":"ZuUX-HBTQOhLf0tFI6JQI"}
5
+ 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":"Nodal-Agents"}],["$","meta","1",{"name":"description","content":"Multi-agent platform"}]]}]}]}],null]}],"isPartial":false,"staleTime":180,"varyParams":null,"buildId":"PV5qpGylrVW3jZ7zKHuhE"}
@@ -2,6 +2,6 @@
2
2
  2:I[29534,[],""]
3
3
  3:I[16681,["8039","static/chunks/app/error-61e58aa304e1b34e.js"],"default"]
4
4
  4:I[55732,[],""]
5
- 5:I[63363,["3363","static/chunks/3363-1c6e608bcc76c1b2.js","2575","static/chunks/2575-e660568bd1a9bcb6.js","269","static/chunks/269-dc034ed29e6c72ee.js","3233","static/chunks/3233-e6efb7fb1fa24591.js","1966","static/chunks/app/(dashboard)/page-fb50e1576a3ab2e4.js"],""]
5
+ 5:I[63363,["3363","static/chunks/3363-1c6e608bcc76c1b2.js","2575","static/chunks/2575-e660568bd1a9bcb6.js","269","static/chunks/269-dc034ed29e6c72ee.js","3233","static/chunks/3233-e6efb7fb1fa24591.js","1966","static/chunks/app/(dashboard)/page-29cfae3bf701076e.js"],""]
6
6
  :HL["/_next/static/css/78ead23854ab041e.css","style"]
7
- 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/78ead23854ab041e.css","precedence":"next"}]],["$","html",null,{"lang":"en","className":"__variable_8b3a0b __variable_e896d9","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('nodal.theme');if(t!=='dark'&&t!=='light')t='light';document.documentElement.setAttribute('data-theme',t);}catch(e){document.documentElement.setAttribute('data-theme','light');}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$3","errorStyles":[],"errorScripts":[],"template":["$","$L4",null,{}],"notFound":[["$","div",null,{"className":"flex min-h-screen w-full items-center justify-center bg-canvas px-4","children":["$","div",null,{"className":"text-center space-y-4","children":[["$","h1",null,{"className":"text-2xl font-bold text-ink","children":"404 — Page not found"}],["$","p",null,{"className":"text-sm text-ink-3","children":"This page doesn't exist."}],["$","$L5",null,{"href":"/","className":"inline-block rounded-lg bg-agent-vivid text-canvas px-4 py-2 text-sm font-semibold hover:bg-agent-vivid transition-colors","children":"Go to dashboard"}]]}]}],[]]}]}]]}]]}],"isPartial":false,"staleTime":180,"varyParams":null,"buildId":"ZuUX-HBTQOhLf0tFI6JQI"}
7
+ 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/78ead23854ab041e.css","precedence":"next"}]],["$","html",null,{"lang":"en","className":"__variable_8b3a0b __variable_e896d9","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var t=localStorage.getItem('nodal.theme');if(t!=='dark'&&t!=='light')t='light';document.documentElement.setAttribute('data-theme',t);}catch(e){document.documentElement.setAttribute('data-theme','light');}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$3","errorStyles":[],"errorScripts":[],"template":["$","$L4",null,{}],"notFound":[["$","div",null,{"className":"flex min-h-screen w-full items-center justify-center bg-canvas px-4","children":["$","div",null,{"className":"text-center space-y-4","children":[["$","h1",null,{"className":"text-2xl font-bold text-ink","children":"404 — Page not found"}],["$","p",null,{"className":"text-sm text-ink-3","children":"This page doesn't exist."}],["$","$L5",null,{"href":"/","className":"inline-block rounded-lg bg-agent-vivid text-canvas px-4 py-2 text-sm font-semibold hover:bg-agent-vivid transition-colors","children":"Go to dashboard"}]]}]}],[]]}]}]]}]]}],"isPartial":false,"staleTime":180,"varyParams":null,"buildId":"PV5qpGylrVW3jZ7zKHuhE"}
@@ -1,2 +1,2 @@
1
1
  :HL["/_next/static/css/78ead23854ab041e.css","style"]
2
- 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"onboarding","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":180,"buildId":"ZuUX-HBTQOhLf0tFI6JQI"}
2
+ 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"onboarding","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":180,"buildId":"PV5qpGylrVW3jZ7zKHuhE"}
@@ -1,5 +1,5 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[60407,[],"OutletBoundary"]
3
3
  3:"$Sreact.suspense"
4
- 0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"flex min-h-screen w-full items-center justify-center bg-canvas px-4","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","h1",null,{"className":"text-2xl font-bold text-ink","children":"Onboarding"}],["$","p",null,{"className":"text-sm text-ink-3","children":"Migration WIP — see Brique 16b for the real page."}]]}]}],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":180,"varyParams":null,"buildId":"ZuUX-HBTQOhLf0tFI6JQI"}
4
+ 0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"flex min-h-screen w-full items-center justify-center bg-canvas px-4","children":["$","div",null,{"className":"text-center space-y-2","children":[["$","h1",null,{"className":"text-2xl font-bold text-ink","children":"Onboarding"}],["$","p",null,{"className":"text-sm text-ink-3","children":"Migration WIP — see Brique 16b for the real page."}]]}]}],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":180,"varyParams":null,"buildId":"PV5qpGylrVW3jZ7zKHuhE"}
5
5
  4:null
@@ -2,4 +2,4 @@
2
2
  2:I[29534,[],""]
3
3
  3:I[55732,[],""]
4
4
  4:[]
5
- 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":180,"varyParams":"$W4","buildId":"ZuUX-HBTQOhLf0tFI6JQI"}
5
+ 0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":180,"varyParams":"$W4","buildId":"PV5qpGylrVW3jZ7zKHuhE"}
@@ -1 +1 @@
1
- "use strict";exports.id=3233,exports.ids=[3233],exports.modules={58628:(a,b,c)=>{c.d(b,{YT:()=>G,zw:()=>F,SV:()=>H,mV:()=>I,eS:()=>K});var d=c(59606);let e=d.k5(["telegram","api","whatsapp","internal","cron","task-board","slack","discord","dashboard"]),f=d.k5(["pending","processing","completed","failed","awaiting_approval","awaiting_delegation","cancelled"]),g=d.k5(["todo","in_progress","done","cancelled","blocked"]),h=d.k5(["low","medium","high"]),i=d.k5(["agent","orchestrator","system"]),j=d.k5(["router","planner"]),k=d.k5(["api_key","oauth2","bearer","basic","none"]),l=d.k5(["pending","approved","rejected","expired"]),m=d.k5(["auto_approve","require_approval","block"]),n=d.k5(["preference","context","outcome","learned_rule"]),o=d.k5(["agent","reflection","manual"]),p=d.k5(["L1","L2","L3"]),q=d.k5(["cron","heartbeat"]),r=d.k5(["success","failed","no_action"]),s=d.k5(["entity","operator"]),t=d.k5(["owner","admin","member","viewer"]),u=d.k5(["agency","startup","personal","studio","enterprise","other"]),v=d.k5(["read","write","destructive"]);d.k5(["webhook","transform","schedule"]),d.k5(["pre_task","post_task","pre_tool","post_tool","on_memory_save"]),d.k5(["http","stdio"]),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Ik({id:d.Yj().guid(),user_id:d.Yj().guid(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),description:d.Yj().max(500).nullable(),icon:d.Yj().max(4),industry:u.nullable(),goal:d.Yj().max(1e3).nullable(),mcp_token:d.Yj().guid().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,mcp_token:!0,created_at:!0,updated_at:!0}).extend({description:d.Yj().max(500).nullable().optional(),icon:d.Yj().max(4).default("\uD83C\uDFE2"),industry:u.nullable().optional(),goal:d.Yj().max(1e3).nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid(),user_id:d.Yj().guid(),role:t,created_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({role:t.default("owner")}),d.Ik({user_id:d.Yj().guid(),display_name:d.Yj().max(120).nullable(),avatar_url:d.Yj().max(500).nullable(),timezone:d.Yj().max(80),locale:d.Yj().max(10),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({created_at:!0,updated_at:!0}).extend({display_name:d.Yj().max(120).nullable().optional(),avatar_url:d.Yj().max(500).nullable().optional(),timezone:d.Yj().max(80).default("UTC"),locale:d.Yj().max(10).default("en")}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),personality:d.Yj().min(1),model:d.Yj().min(1),active:d.zM(),is_default:d.zM(),role:i,orchestrator_mode:j.nullable(),telegram_bot_token:d.Yj().nullable(),telegram_bot_username:d.Yj().nullable(),telegram_offset:d.ai().int().nonnegative().nullable(),requires_approval:d.YO(d.Yj()),capabilities:d.YO(d.Yj()),task_context_template:d.Yj().nullable(),avatar_url:d.Yj().nullable(),system_agent:d.zM(),max_tokens_per_job:d.ai().int().min(0),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,telegram_offset:!0,capabilities:!0,system_agent:!0}).extend({active:d.zM().default(!0),is_default:d.zM().default(!1),role:i.default("agent"),orchestrator_mode:j.nullable().optional(),telegram_bot_token:d.Yj().nullable().optional(),telegram_bot_username:d.Yj().nullable().optional(),requires_approval:d.YO(d.Yj()).default([]),task_context_template:d.Yj().nullable().optional(),avatar_url:d.Yj().nullable().optional(),max_tokens_per_job:d.ai().int().min(0).max(5e5).default(0)});let w=d.ai().int().min(0),x=d.ai().int().min(0);d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),status:f,channel:e,task:d.Yj().min(1),original_task:d.Yj().nullable(),chat_id:d.Yj().nullable(),system_prompt:d.Yj().nullable(),messages:d.YO(d.g1(d.Yj(),d.L5())),tools_used:d.YO(d.Yj()),turn:d.ai().int().min(0),result:d.Yj().nullable(),error:d.Yj().nullable(),chain_count:w,request_id:d.Yj().nullable(),parent_job_id:d.Yj().guid().nullable(),parent_request_id:d.Yj().nullable(),total_duration_ms:d.ai().int().min(0),input_tokens:d.ai().int().min(0),output_tokens:d.ai().int().min(0),delegation_depth:x,pending_delegation:d.g1(d.Yj(),d.L5()).nullable(),completed_at:d.Yj().datetime().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,completed_at:!0,messages:!0,tools_used:!0,turn:!0,result:!0,error:!0,chain_count:!0,total_duration_ms:!0,input_tokens:!0,output_tokens:!0,delegation_depth:!0,pending_delegation:!0,parent_request_id:!0}).extend({status:f.default("pending"),original_task:d.Yj().nullable().optional(),chat_id:d.Yj().nullable().optional(),system_prompt:d.Yj().nullable().optional(),request_id:d.Yj().nullable().optional(),parent_job_id:d.Yj().guid().nullable().optional()});let y=d.Yj().max(2e3).nullable(),z=d.Yj().min(1).max(200);d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid(),orchestrator_id:d.Yj().guid(),title:z,description:y,status:g,priority:h,job_id:d.Yj().guid().nullable(),result:d.Yj().nullable(),created_by_agent_id:d.Yj().guid().nullable(),assigned_agent_id:d.Yj().guid().nullable(),input_tokens:d.ai().int().min(0),output_tokens:d.ai().int().min(0),cost_usd:d.ai().min(0),depends_on:d.YO(d.Yj().guid()),context:d.g1(d.Yj(),d.L5()),root_job_id:d.Yj().guid().nullable(),locked_at:d.Yj().datetime().nullable(),locked_by:d.Yj().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,job_id:!0,result:!0,created_by_agent_id:!0,assigned_agent_id:!0,input_tokens:!0,output_tokens:!0,cost_usd:!0,depends_on:!0,context:!0,root_job_id:!0,locked_at:!0,locked_by:!0}).extend({status:g.default("todo"),priority:h.default("medium"),description:y.optional(),depends_on:d.YO(d.Yj().guid()).default([]),context:d.g1(d.Yj(),d.L5()).default({}),root_job_id:d.Yj().guid().nullable().optional()}),d.Ik({id:d.Yj().guid(),owner_user_id:d.Yj().guid(),name:d.Yj().min(1),type:d.k5(["google-oauth","notion-oauth","airtable-oauth"]),payload:d.Yj(),created_at:d.p6().nullable(),updated_at:d.p6().nullable()}),d.Ik({clientId:d.Yj(),clientSecret:d.Yj(),refreshToken:d.Yj().nullable(),accessToken:d.Yj(),expiresAt:d.Yj().nullable(),scopes:d.Yj(),accountName:d.Yj(),tokenUrl:d.Yj().url()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),base_url:d.Yj().nullable(),api_key:d.Yj().nullable(),active:d.zM(),auth_type:k,credential_id:d.Yj().guid().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({active:d.zM().default(!0),auth_type:k.default("api_key"),base_url:d.Yj().nullable().optional(),api_key:d.Yj().nullable().optional(),credential_id:d.Yj().guid().nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),job_id:d.Yj().guid().nullable(),tool_name:d.Yj().min(1),tool_input:d.g1(d.Yj(),d.L5()).nullable(),tool_output:d.Yj().nullable(),duration_ms:d.ai().int().min(0).nullable(),turn:d.ai().int().min(0).nullable(),created_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({tool_input:d.g1(d.Yj(),d.L5()).nullable().optional(),tool_output:d.Yj().nullable().optional(),duration_ms:d.ai().int().min(0).nullable().optional(),turn:d.ai().int().min(0).nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),job_id:d.Yj().guid(),agent_id:d.Yj().guid().nullable(),tool_name:d.Yj().min(1),tool_input:d.g1(d.Yj(),d.L5()),status:l,requested_at:d.Yj().datetime(),resolved_at:d.Yj().datetime().nullable(),resolved_by:d.Yj().nullable(),expires_at:d.Yj().datetime().nullable(),notes:d.Yj().nullable()}).strict().omit({id:!0,requested_at:!0,resolved_at:!0,resolved_by:!0,expires_at:!0}).extend({status:l.default("pending"),notes:d.Yj().nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),tool_name:d.Yj().min(1),action:m,condition_json:d.g1(d.Yj(),d.L5()),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({agent_id:d.Yj().guid().nullable().optional(),condition_json:d.g1(d.Yj(),d.L5()).default({})});let A=d.ai().int().min(1).max(5);d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),fact:d.Yj().min(1),category:n,importance:A,source:o,skill_tags:d.YO(d.Yj().max(60)),memory_layer:p.nullable(),valid_from:d.Yj().datetime().nullable(),valid_to:d.Yj().datetime().nullable(),fact_hash:d.Yj().nullable(),archived:d.zM(),last_accessed_at:d.Yj().datetime().nullable(),access_count:d.ai().int().min(0),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,fact_hash:!0,archived:!0,last_accessed_at:!0,access_count:!0,valid_from:!0,valid_to:!0}).extend({agent_id:d.Yj().guid().nullable().optional(),category:n.default("context"),importance:A.default(3),source:o.default("manual"),skill_tags:d.YO(d.Yj().max(60)).max(20).default([]),memory_layer:p.nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),task_template:d.Yj().min(1),active:d.zM(),secret:d.Yj().nullable(),last_triggered_at:d.Yj().datetime().nullable(),trigger_count:d.ai().int().min(0),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,secret:!0,last_triggered_at:!0,trigger_count:!0}).extend({active:d.zM().default(!0)});let B=d.Ik({name:d.Yj().min(1),slug:d.Yj().min(1).regex(/^[a-z0-9-]+$/),risk:v,requires_approval:d.zM()}).strict(),C=d.Ik({label:d.Yj().min(1),description:d.Yj().min(1),type:d.k5(["connector_slug","manual"]),value:d.Yj().optional(),critical:d.zM()}).strict();d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),content:d.Yj().min(1),active:d.zM(),description:d.Yj().max(300).nullable(),default_content:d.Yj().nullable(),content_overridden:d.zM(),required_config:d.YO(C),operations:d.YO(B),required_builtins:d.YO(d.Yj()),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({active:d.zM().default(!0),description:d.Yj().max(300).nullable().optional(),default_content:d.Yj().nullable().optional(),content_overridden:d.zM().default(!1),required_config:d.YO(C).default([]),operations:d.YO(B).default([]),required_builtins:d.YO(d.Yj()).default([])}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid(),agent_id:d.Yj().guid(),skill_id:d.Yj().guid(),approval_overrides:d.g1(d.Yj(),d.zM()),use_custom_instructions:d.zM(),enabled_operations:d.YO(d.Yj()).nullable(),created_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({approval_overrides:d.g1(d.Yj(),d.zM()).default({}),use_custom_instructions:d.zM().default(!1),enabled_operations:d.YO(d.Yj()).nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid(),type:q,name:d.Yj().min(1).max(120),cron_expr:d.Yj().min(1),task:d.Yj().nullable(),objectives:d.Yj().nullable(),active:d.zM(),last_run:d.Yj().datetime().nullable(),next_run:d.Yj().datetime().nullable(),last_status:r.nullable(),chat_id:d.Yj().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,last_run:!0,next_run:!0,last_status:!0}).extend({type:q.default("cron"),active:d.zM().default(!0),task:d.Yj().nullable().optional(),objectives:d.Yj().nullable().optional(),chat_id:d.Yj().nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid(),provider:d.Yj().min(1),api_key:d.Yj(),base_url:d.Yj().nullable(),nickname:d.Yj().max(80).nullable(),is_active:d.zM(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({api_key:d.Yj().default(""),base_url:d.Yj().nullable().optional(),nickname:d.Yj().max(80).nullable().optional(),is_active:d.zM().default(!0)}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),task:d.Yj().min(1),result:d.Yj().nullable(),success:d.zM(),tools_used:d.YO(d.Yj()),tokens_used:d.ai().int().min(0).nullable(),input_tokens:d.ai().int().min(0).nullable(),output_tokens:d.ai().int().min(0).nullable(),duration_ms:d.ai().int().min(0).nullable(),key_source:s.nullable(),created_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({success:d.zM().default(!0),tools_used:d.YO(d.Yj()).default([]),result:d.Yj().nullable().optional(),tokens_used:d.ai().int().min(0).nullable().optional(),input_tokens:d.ai().int().min(0).nullable().optional(),output_tokens:d.ai().int().min(0).nullable().optional(),duration_ms:d.ai().int().min(0).nullable().optional(),key_source:s.nullable().optional()});let D=["https://www.googleapis.com/auth/userinfo.email","openid"];[...D],[...D],[...D],[...D];let E=d.k5(["propose_confirm","destructive_gate","fully_autonomous"]);d.Ik({createAgent:d.zM(),createSkill:d.zM(),updateSkill:d.zM(),assignSkill:d.zM(),createMcp:d.zM(),createConnector:d.zM(),autonomy:E});let F={createAgent:!0,createSkill:!0,updateSkill:!0,assignSkill:!0,createMcp:!0,createConnector:!0,autonomy:"propose_confirm"},G=[{slug:"notion",label:"Notion",authType:"api_key",docsHint:"Create a Notion integration at notion.so/my-integrations and copy its internal secret."},{slug:"notion-oauth",label:"Notion (OAuth)",authType:"oauth2",credentialType:"notion-oauth",docsHint:"Public Integration via OAuth — create one at notion.so/my-integrations (Public type) and authorize from your dashboard."},{slug:"google-drive",label:"Google Drive",authType:"oauth2",credentialType:"google-oauth",docsHint:"OAuth flow — uses your Google credential (create one under Credentials)."},{slug:"gmail",label:"Gmail",authType:"oauth2",credentialType:"google-oauth",docsHint:"OAuth flow — uses your Google credential (create one under Credentials)."},{slug:"google-sheets",label:"Google Sheets",authType:"oauth2",credentialType:"google-oauth",docsHint:"OAuth flow — uses your Google credential (create one under Credentials)."},{slug:"google-docs",label:"Google Docs",authType:"oauth2",credentialType:"google-oauth",docsHint:"OAuth flow — uses your Google credential (create one under Credentials)."},{slug:"airtable-oauth",label:"Airtable (OAuth)",authType:"oauth2",credentialType:"airtable-oauth",docsHint:"OAuth flow for Airtable Public Integrations (recommended)."},{slug:"airtable",label:"Airtable",authType:"api_key",docsHint:"Personal Access Token — airtable.com/create/tokens."},{slug:"apify",label:"Apify",authType:"api_key",docsHint:"Token API Apify — console.apify.com/account/integrations."},{slug:"firecrawl",label:"Firecrawl",authType:"api_key",docsHint:"API key Firecrawl — firecrawl.dev/account."},{slug:"tavily",label:"Tavily",authType:"api_key",docsHint:"API key Tavily — app.tavily.com."}],H={anthropic:[{modelId:"claude-opus-4-8",label:"Claude Opus 4.8",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"claude-sonnet-4-6",label:"Claude Sonnet 4.6",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"claude-haiku-4-5-20251001",label:"Claude Haiku 4.5",capabilities:{tools:!0,forcedToolChoice:!0}}],openai:[{modelId:"gpt-5",label:"GPT-5",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"gpt-5-mini",label:"GPT-5 mini",capabilities:{tools:!0,forcedToolChoice:!0}}],google:[{modelId:"gemini-2.0-flash",label:"Gemini 2.0 Flash",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"gemini-2.5-pro",label:"Gemini 2.5 Pro",capabilities:{tools:!0,forcedToolChoice:!0}}],groq:[{modelId:"llama-3.3-70b-versatile",label:"Llama 3.3 70B",capabilities:{tools:!0,forcedToolChoice:!0}}],mistral:[{modelId:"mistral-large-latest",label:"Mistral Large",capabilities:{tools:!0,forcedToolChoice:!0}}],openrouter:[{modelId:"anthropic/claude-haiku-4.5",label:"Claude Haiku 4.5",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"anthropic/claude-opus-4.7",label:"Claude Opus 4.7",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"anthropic/claude-opus-4.7-fast",label:"Claude Opus 4.7 (fast)",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"anthropic/claude-opus-4.8",label:"Claude Opus 4.8",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"anthropic/claude-opus-4.8-fast",label:"Claude Opus 4.8 (fast)",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"anthropic/claude-sonnet-4.6",label:"Claude Sonnet 4.6",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"deepseek/deepseek-v3.2",label:"DeepSeek V3.2",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"deepseek/deepseek-v4-flash",label:"DeepSeek V4 Flash",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"deepseek/deepseek-v4-pro",label:"DeepSeek V4 Pro",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"google/gemini-3.1-flash-lite-preview",label:"Gemini 3.1 Flash Lite (preview)",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"google/gemini-3.1-pro-preview",label:"Gemini 3.1 Pro (preview)",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"google/gemini-3.5-flash",label:"Gemini 3.5 Flash",capabilities:{tools:!0,forcedToolChoice:!0}},{modelId:"google/gemma-4-31b-it",label:"Gemma 4 31B-IT",capabilities:{tools:!0,forcedToolChoice:!0}}]};function I(a,b){return H[a]?.find(a=>a.modelId===b)}let J={anthropic:"Anthropic",openai:"OpenAI",google:"Google",deepseek:"DeepSeek",mistral:"Mistral",meta:"Meta",qwen:"Qwen","meta-llama":"Meta"};function K(a){let b=new Map;for(let c of a){let a=function(a){let b=a.indexOf("/");if(b<0)return null;let c=a.slice(0,b);return J[c]??c.charAt(0).toUpperCase()+c.slice(1)}(c.modelId),d=b.get(a)??[];d.push(c),b.set(a,d)}return[...b.entries()].map(([a,b])=>({group:a,models:[...b].sort((a,b)=>a.label.localeCompare(b.label))})).sort((a,b)=>(a.group??"").localeCompare(b.group??""))}},81850:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(10476),e=c(64565),f=c(90424);function g({open:a,title:b,message:c,confirmLabel:h="Confirm",cancelLabel:i="Cancel",destructive:j=!0,onConfirm:k,onCancel:l}){let m=(0,e.useRef)(null),[n,o]=(0,e.useState)(!1);return a&&n?(0,f.createPortal)((0,d.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"confirm-dialog-title",className:"fixed inset-0 z-50 flex items-center justify-center px-4 text-left",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:l,"aria-hidden":"true"}),(0,d.jsxs)("div",{className:"relative bg-paper border border-rule-2 rounded-xl p-6 max-w-md w-full shadow-2xl",children:[(0,d.jsx)("h2",{id:"confirm-dialog-title",className:"text-base font-semibold text-ink",children:b}),c&&(0,d.jsx)("p",{className:"mt-2 text-sm text-ink-3 leading-relaxed",children:c}),(0,d.jsxs)("div",{className:"mt-6 flex justify-end gap-2",children:[(0,d.jsx)("button",{ref:m,type:"button",onClick:l,className:"px-4 py-2 text-sm font-medium border border-rule text-ink-2 rounded-lg hover:border-rule hover:text-ink transition-colors",children:i}),(0,d.jsx)("button",{type:"button",onClick:k,className:`px-4 py-2 text-sm font-semibold rounded-lg transition-colors ${j?"bg-err hover:brightness-[0.94] text-ink":"bg-ink hover:brightness-[0.92] text-canvas"}`,children:h})]})]})]}),document.body):null}}};
1
+ "use strict";exports.id=3233,exports.ids=[3233],exports.modules={58628:(a,b,c)=>{c.d(b,{YT:()=>G,zw:()=>F,SV:()=>H,mV:()=>I,eS:()=>K});var d=c(59606);let e=d.k5(["telegram","api","whatsapp","internal","cron","task-board","slack","discord","dashboard"]),f=d.k5(["pending","processing","completed","failed","awaiting_approval","awaiting_delegation","cancelled"]),g=d.k5(["todo","in_progress","done","cancelled","blocked"]),h=d.k5(["low","medium","high"]),i=d.k5(["agent","orchestrator","system"]),j=d.k5(["router","planner"]),k=d.k5(["api_key","oauth2","bearer","basic","none"]),l=d.k5(["pending","approved","rejected","expired"]),m=d.k5(["auto_approve","require_approval","block"]),n=d.k5(["preference","context","outcome","learned_rule"]),o=d.k5(["agent","reflection","manual"]),p=d.k5(["L1","L2","L3"]),q=d.k5(["cron","heartbeat"]),r=d.k5(["success","failed","no_action"]),s=d.k5(["entity","operator"]),t=d.k5(["owner","admin","member","viewer"]),u=d.k5(["agency","startup","personal","studio","enterprise","other"]),v=d.k5(["read","write","destructive"]);d.k5(["webhook","transform","schedule"]),d.k5(["pre_task","post_task","pre_tool","post_tool","on_memory_save"]),d.k5(["http","stdio"]),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Yj().guid().brand(),d.Ik({id:d.Yj().guid(),user_id:d.Yj().guid(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),description:d.Yj().max(500).nullable(),icon:d.Yj().max(4),industry:u.nullable(),goal:d.Yj().max(1e3).nullable(),mcp_token:d.Yj().guid().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,mcp_token:!0,created_at:!0,updated_at:!0}).extend({description:d.Yj().max(500).nullable().optional(),icon:d.Yj().max(4).default("\uD83C\uDFE2"),industry:u.nullable().optional(),goal:d.Yj().max(1e3).nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid(),user_id:d.Yj().guid(),role:t,created_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({role:t.default("owner")}),d.Ik({user_id:d.Yj().guid(),display_name:d.Yj().max(120).nullable(),avatar_url:d.Yj().max(500).nullable(),timezone:d.Yj().max(80),locale:d.Yj().max(10),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({created_at:!0,updated_at:!0}).extend({display_name:d.Yj().max(120).nullable().optional(),avatar_url:d.Yj().max(500).nullable().optional(),timezone:d.Yj().max(80).default("UTC"),locale:d.Yj().max(10).default("en")}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),personality:d.Yj().min(1),model:d.Yj().min(1),active:d.zM(),is_default:d.zM(),role:i,orchestrator_mode:j.nullable(),telegram_bot_token:d.Yj().nullable(),telegram_bot_username:d.Yj().nullable(),telegram_offset:d.ai().int().nonnegative().nullable(),requires_approval:d.YO(d.Yj()),capabilities:d.YO(d.Yj()),task_context_template:d.Yj().nullable(),avatar_url:d.Yj().nullable(),system_agent:d.zM(),max_tokens_per_job:d.ai().int().min(0),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,telegram_offset:!0,capabilities:!0,system_agent:!0}).extend({active:d.zM().default(!0),is_default:d.zM().default(!1),role:i.default("agent"),orchestrator_mode:j.nullable().optional(),telegram_bot_token:d.Yj().nullable().optional(),telegram_bot_username:d.Yj().nullable().optional(),requires_approval:d.YO(d.Yj()).default([]),task_context_template:d.Yj().nullable().optional(),avatar_url:d.Yj().nullable().optional(),max_tokens_per_job:d.ai().int().min(0).max(5e5).default(0)});let w=d.ai().int().min(0),x=d.ai().int().min(0);d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),status:f,channel:e,task:d.Yj().min(1),original_task:d.Yj().nullable(),chat_id:d.Yj().nullable(),system_prompt:d.Yj().nullable(),messages:d.YO(d.g1(d.Yj(),d.L5())),tools_used:d.YO(d.Yj()),turn:d.ai().int().min(0),result:d.Yj().nullable(),error:d.Yj().nullable(),chain_count:w,request_id:d.Yj().nullable(),parent_job_id:d.Yj().guid().nullable(),parent_request_id:d.Yj().nullable(),total_duration_ms:d.ai().int().min(0),input_tokens:d.ai().int().min(0),output_tokens:d.ai().int().min(0),delegation_depth:x,pending_delegation:d.g1(d.Yj(),d.L5()).nullable(),completed_at:d.Yj().datetime().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,completed_at:!0,messages:!0,tools_used:!0,turn:!0,result:!0,error:!0,chain_count:!0,total_duration_ms:!0,input_tokens:!0,output_tokens:!0,delegation_depth:!0,pending_delegation:!0,parent_request_id:!0}).extend({status:f.default("pending"),original_task:d.Yj().nullable().optional(),chat_id:d.Yj().nullable().optional(),system_prompt:d.Yj().nullable().optional(),request_id:d.Yj().nullable().optional(),parent_job_id:d.Yj().guid().nullable().optional()});let y=d.Yj().max(2e3).nullable(),z=d.Yj().min(1).max(200);d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid(),orchestrator_id:d.Yj().guid(),title:z,description:y,status:g,priority:h,job_id:d.Yj().guid().nullable(),result:d.Yj().nullable(),created_by_agent_id:d.Yj().guid().nullable(),assigned_agent_id:d.Yj().guid().nullable(),input_tokens:d.ai().int().min(0),output_tokens:d.ai().int().min(0),cost_usd:d.ai().min(0),depends_on:d.YO(d.Yj().guid()),context:d.g1(d.Yj(),d.L5()),root_job_id:d.Yj().guid().nullable(),locked_at:d.Yj().datetime().nullable(),locked_by:d.Yj().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,job_id:!0,result:!0,created_by_agent_id:!0,assigned_agent_id:!0,input_tokens:!0,output_tokens:!0,cost_usd:!0,depends_on:!0,context:!0,root_job_id:!0,locked_at:!0,locked_by:!0}).extend({status:g.default("todo"),priority:h.default("medium"),description:y.optional(),depends_on:d.YO(d.Yj().guid()).default([]),context:d.g1(d.Yj(),d.L5()).default({}),root_job_id:d.Yj().guid().nullable().optional()}),d.Ik({id:d.Yj().guid(),owner_user_id:d.Yj().guid(),name:d.Yj().min(1),type:d.k5(["google-oauth","notion-oauth","airtable-oauth"]),payload:d.Yj(),created_at:d.p6().nullable(),updated_at:d.p6().nullable()}),d.Ik({clientId:d.Yj(),clientSecret:d.Yj(),refreshToken:d.Yj().nullable(),accessToken:d.Yj(),expiresAt:d.Yj().nullable(),scopes:d.Yj(),accountName:d.Yj(),tokenUrl:d.Yj().url()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),base_url:d.Yj().nullable(),api_key:d.Yj().nullable(),active:d.zM(),auth_type:k,credential_id:d.Yj().guid().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({active:d.zM().default(!0),auth_type:k.default("api_key"),base_url:d.Yj().nullable().optional(),api_key:d.Yj().nullable().optional(),credential_id:d.Yj().guid().nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),job_id:d.Yj().guid().nullable(),tool_name:d.Yj().min(1),tool_input:d.g1(d.Yj(),d.L5()).nullable(),tool_output:d.Yj().nullable(),duration_ms:d.ai().int().min(0).nullable(),turn:d.ai().int().min(0).nullable(),created_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({tool_input:d.g1(d.Yj(),d.L5()).nullable().optional(),tool_output:d.Yj().nullable().optional(),duration_ms:d.ai().int().min(0).nullable().optional(),turn:d.ai().int().min(0).nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),job_id:d.Yj().guid(),agent_id:d.Yj().guid().nullable(),tool_name:d.Yj().min(1),tool_input:d.g1(d.Yj(),d.L5()),status:l,requested_at:d.Yj().datetime(),resolved_at:d.Yj().datetime().nullable(),resolved_by:d.Yj().nullable(),expires_at:d.Yj().datetime().nullable(),notes:d.Yj().nullable()}).strict().omit({id:!0,requested_at:!0,resolved_at:!0,resolved_by:!0,expires_at:!0}).extend({status:l.default("pending"),notes:d.Yj().nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),tool_name:d.Yj().min(1),action:m,condition_json:d.g1(d.Yj(),d.L5()),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({agent_id:d.Yj().guid().nullable().optional(),condition_json:d.g1(d.Yj(),d.L5()).default({})});let A=d.ai().int().min(1).max(5);d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),fact:d.Yj().min(1),category:n,importance:A,source:o,skill_tags:d.YO(d.Yj().max(60)),memory_layer:p.nullable(),valid_from:d.Yj().datetime().nullable(),valid_to:d.Yj().datetime().nullable(),fact_hash:d.Yj().nullable(),archived:d.zM(),last_accessed_at:d.Yj().datetime().nullable(),access_count:d.ai().int().min(0),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,fact_hash:!0,archived:!0,last_accessed_at:!0,access_count:!0,valid_from:!0,valid_to:!0}).extend({agent_id:d.Yj().guid().nullable().optional(),category:n.default("context"),importance:A.default(3),source:o.default("manual"),skill_tags:d.YO(d.Yj().max(60)).max(20).default([]),memory_layer:p.nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),task_template:d.Yj().min(1),active:d.zM(),secret:d.Yj().nullable(),last_triggered_at:d.Yj().datetime().nullable(),trigger_count:d.ai().int().min(0),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,secret:!0,last_triggered_at:!0,trigger_count:!0}).extend({active:d.zM().default(!0)});let B=d.Ik({name:d.Yj().min(1),slug:d.Yj().min(1).regex(/^[a-z0-9-]+$/),risk:v,requires_approval:d.zM()}).strict(),C=d.Ik({label:d.Yj().min(1),description:d.Yj().min(1),type:d.k5(["connector_slug","manual"]),value:d.Yj().optional(),critical:d.zM()}).strict();d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),name:d.Yj().min(1).max(120),slug:d.Yj().min(1).max(80).regex(/^[a-z0-9-]+$/),content:d.Yj().min(1),active:d.zM(),description:d.Yj().max(300).nullable(),default_content:d.Yj().nullable(),content_overridden:d.zM(),required_config:d.YO(C),operations:d.YO(B),required_builtins:d.YO(d.Yj()),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({active:d.zM().default(!0),description:d.Yj().max(300).nullable().optional(),default_content:d.Yj().nullable().optional(),content_overridden:d.zM().default(!1),required_config:d.YO(C).default([]),operations:d.YO(B).default([]),required_builtins:d.YO(d.Yj()).default([])}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid(),agent_id:d.Yj().guid(),skill_id:d.Yj().guid(),approval_overrides:d.g1(d.Yj(),d.zM()),use_custom_instructions:d.zM(),enabled_operations:d.YO(d.Yj()).nullable(),created_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({approval_overrides:d.g1(d.Yj(),d.zM()).default({}),use_custom_instructions:d.zM().default(!1),enabled_operations:d.YO(d.Yj()).nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid(),type:q,name:d.Yj().min(1).max(120),cron_expr:d.Yj().min(1),task:d.Yj().nullable(),objectives:d.Yj().nullable(),active:d.zM(),last_run:d.Yj().datetime().nullable(),next_run:d.Yj().datetime().nullable(),last_status:r.nullable(),chat_id:d.Yj().nullable(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0,last_run:!0,next_run:!0,last_status:!0}).extend({type:q.default("cron"),active:d.zM().default(!0),task:d.Yj().nullable().optional(),objectives:d.Yj().nullable().optional(),chat_id:d.Yj().nullable().optional()}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid(),provider:d.Yj().min(1),api_key:d.Yj(),base_url:d.Yj().nullable(),nickname:d.Yj().max(80).nullable(),is_active:d.zM(),created_at:d.Yj().datetime(),updated_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0,updated_at:!0}).extend({api_key:d.Yj().default(""),base_url:d.Yj().nullable().optional(),nickname:d.Yj().max(80).nullable().optional(),is_active:d.zM().default(!0)}),d.Ik({id:d.Yj().guid(),entity_id:d.Yj().guid().nullable(),agent_id:d.Yj().guid().nullable(),task:d.Yj().min(1),result:d.Yj().nullable(),success:d.zM(),tools_used:d.YO(d.Yj()),tokens_used:d.ai().int().min(0).nullable(),input_tokens:d.ai().int().min(0).nullable(),output_tokens:d.ai().int().min(0).nullable(),duration_ms:d.ai().int().min(0).nullable(),key_source:s.nullable(),created_at:d.Yj().datetime()}).strict().omit({id:!0,created_at:!0}).extend({success:d.zM().default(!0),tools_used:d.YO(d.Yj()).default([]),result:d.Yj().nullable().optional(),tokens_used:d.ai().int().min(0).nullable().optional(),input_tokens:d.ai().int().min(0).nullable().optional(),output_tokens:d.ai().int().min(0).nullable().optional(),duration_ms:d.ai().int().min(0).nullable().optional(),key_source:s.nullable().optional()});let D=["https://www.googleapis.com/auth/userinfo.email","openid"];[...D],[...D],[...D],[...D];let E=d.k5(["propose_confirm","destructive_gate","fully_autonomous"]);d.Ik({createAgent:d.zM(),createSkill:d.zM(),updateSkill:d.zM(),assignSkill:d.zM(),createMcp:d.zM(),createConnector:d.zM(),autonomy:E});let F={createAgent:!0,createSkill:!0,updateSkill:!0,assignSkill:!0,createMcp:!0,createConnector:!0,autonomy:"propose_confirm"},G=[{slug:"notion",label:"Notion",authType:"api_key",docsHint:"Create a Notion integration at notion.so/my-integrations and copy its internal secret."},{slug:"notion-oauth",label:"Notion (OAuth)",authType:"oauth2",credentialType:"notion-oauth",docsHint:"Public Integration via OAuth — create one at notion.so/my-integrations (Public type) and authorize from your dashboard."},{slug:"google-drive",label:"Google Drive",authType:"oauth2",credentialType:"google-oauth",docsHint:"OAuth flow — uses your Google credential (create one under Credentials)."},{slug:"gmail",label:"Gmail",authType:"oauth2",credentialType:"google-oauth",docsHint:"OAuth flow — uses your Google credential (create one under Credentials)."},{slug:"google-sheets",label:"Google Sheets",authType:"oauth2",credentialType:"google-oauth",docsHint:"OAuth flow — uses your Google credential (create one under Credentials)."},{slug:"google-docs",label:"Google Docs",authType:"oauth2",credentialType:"google-oauth",docsHint:"OAuth flow — uses your Google credential (create one under Credentials)."},{slug:"airtable-oauth",label:"Airtable (OAuth)",authType:"oauth2",credentialType:"airtable-oauth",docsHint:"OAuth flow for Airtable Public Integrations (recommended)."},{slug:"airtable",label:"Airtable",authType:"api_key",docsHint:"Personal Access Token — airtable.com/create/tokens."},{slug:"apify",label:"Apify",authType:"api_key",docsHint:"Token API Apify — console.apify.com/account/integrations."},{slug:"firecrawl",label:"Firecrawl",authType:"api_key",docsHint:"API key Firecrawl — firecrawl.dev/account."},{slug:"tavily",label:"Tavily",authType:"api_key",docsHint:"API key Tavily — app.tavily.com."}],H={anthropic:[{modelId:"claude-opus-4-8",label:"Claude Opus 4.8",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:2e5},{modelId:"claude-sonnet-4-6",label:"Claude Sonnet 4.6",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:2e5},{modelId:"claude-haiku-4-5-20251001",label:"Claude Haiku 4.5",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:2e5}],openai:[{modelId:"gpt-5",label:"GPT-5",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:4e5},{modelId:"gpt-5-mini",label:"GPT-5 mini",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:4e5}],google:[{modelId:"gemini-2.0-flash",label:"Gemini 2.0 Flash",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1048576},{modelId:"gemini-2.5-pro",label:"Gemini 2.5 Pro",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1048576}],groq:[{modelId:"llama-3.3-70b-versatile",label:"Llama 3.3 70B",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:131072}],mistral:[{modelId:"mistral-large-latest",label:"Mistral Large",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:131072}],openrouter:[{modelId:"anthropic/claude-haiku-4.5",label:"Claude Haiku 4.5",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:2e5},{modelId:"anthropic/claude-opus-4.7",label:"Claude Opus 4.7",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1e6},{modelId:"anthropic/claude-opus-4.7-fast",label:"Claude Opus 4.7 (fast)",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1e6},{modelId:"anthropic/claude-opus-4.8",label:"Claude Opus 4.8",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1e6},{modelId:"anthropic/claude-opus-4.8-fast",label:"Claude Opus 4.8 (fast)",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1e6},{modelId:"anthropic/claude-sonnet-4.6",label:"Claude Sonnet 4.6",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1e6},{modelId:"deepseek/deepseek-v3.2",label:"DeepSeek V3.2",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:131072},{modelId:"deepseek/deepseek-v4-flash",label:"DeepSeek V4 Flash",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1048576},{modelId:"deepseek/deepseek-v4-pro",label:"DeepSeek V4 Pro",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1048576},{modelId:"google/gemini-3.1-flash-lite-preview",label:"Gemini 3.1 Flash Lite (preview)",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1048576},{modelId:"google/gemini-3.1-pro-preview",label:"Gemini 3.1 Pro (preview)",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1048576},{modelId:"google/gemini-3.5-flash",label:"Gemini 3.5 Flash",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:1048576},{modelId:"google/gemma-4-31b-it",label:"Gemma 4 31B-IT",capabilities:{tools:!0,forcedToolChoice:!0},contextWindow:262144},{modelId:"minimax/minimax-m3",label:"MiniMax M3",capabilities:{tools:!0,forcedToolChoice:!1,reasoning:!0},contextWindow:1048576}]};function I(a,b){return H[a]?.find(a=>a.modelId===b)}let J={anthropic:"Anthropic",openai:"OpenAI",google:"Google",deepseek:"DeepSeek",minimax:"MiniMax",mistral:"Mistral",meta:"Meta",qwen:"Qwen","meta-llama":"Meta"};function K(a){let b=new Map;for(let c of a){let a=function(a){let b=a.indexOf("/");if(b<0)return null;let c=a.slice(0,b);return J[c]??c.charAt(0).toUpperCase()+c.slice(1)}(c.modelId),d=b.get(a)??[];d.push(c),b.set(a,d)}return[...b.entries()].map(([a,b])=>({group:a,models:[...b].sort((a,b)=>a.label.localeCompare(b.label))})).sort((a,b)=>(a.group??"").localeCompare(b.group??""))}},81850:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(10476),e=c(64565),f=c(90424);function g({open:a,title:b,message:c,confirmLabel:h="Confirm",cancelLabel:i="Cancel",destructive:j=!0,onConfirm:k,onCancel:l}){let m=(0,e.useRef)(null),[n,o]=(0,e.useState)(!1);return a&&n?(0,f.createPortal)((0,d.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"confirm-dialog-title",className:"fixed inset-0 z-50 flex items-center justify-center px-4 text-left",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:l,"aria-hidden":"true"}),(0,d.jsxs)("div",{className:"relative bg-paper border border-rule-2 rounded-xl p-6 max-w-md w-full shadow-2xl",children:[(0,d.jsx)("h2",{id:"confirm-dialog-title",className:"text-base font-semibold text-ink",children:b}),c&&(0,d.jsx)("p",{className:"mt-2 text-sm text-ink-3 leading-relaxed",children:c}),(0,d.jsxs)("div",{className:"mt-6 flex justify-end gap-2",children:[(0,d.jsx)("button",{ref:m,type:"button",onClick:l,className:"px-4 py-2 text-sm font-medium border border-rule text-ink-2 rounded-lg hover:border-rule hover:text-ink transition-colors",children:i}),(0,d.jsx)("button",{type:"button",onClick:k,className:`px-4 py-2 text-sm font-semibold rounded-lg transition-colors ${j?"bg-err hover:brightness-[0.94] text-ink":"bg-ink hover:brightness-[0.92] text-canvas"}`,children:h})]})]})]}),document.body):null}}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=3889,exports.ids=[3889],exports.modules={7720:(a,b,c)=>{c.d(b,{m:()=>e,o:()=>d});let d={"google-oauth":{title:"Get your Google OAuth credentials",intro:"You need a Google Cloud project with the relevant APIs enabled.",steps:[{number:1,text:"Go to Google Cloud Console and create a new project (any name).",link:{href:"https://console.cloud.google.com/",label:"console.cloud.google.com"}},{number:2,text:"Enable each API your agents will use — click the links below, then hit Enable:",subLinks:[{href:"https://console.cloud.google.com/apis/library/drive.googleapis.com",label:"Drive API"},{href:"https://console.cloud.google.com/apis/library/gmail.googleapis.com",label:"Gmail API"},{href:"https://console.cloud.google.com/apis/library/sheets.googleapis.com",label:"Sheets API"},{href:"https://console.cloud.google.com/apis/library/docs.googleapis.com",label:"Docs API"}]},{number:3,text:"In the left menu, go to APIs & Services → OAuth consent screen. Choose User Type: External, fill in the app name, then add your own email as a Test user."},{number:4,text:"Go to APIs & Services → Credentials → Create credentials → OAuth client ID → Application type: Web application."},{number:5,text:"Under Authorized JavaScript origins, add the origin shown below the form."},{number:6,text:"Under Authorized redirect URIs, paste the redirect URI shown below the form. This step is mandatory — Google rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:7,text:"Click Create. A dialog shows your Client ID and Client secret. Copy both."},{number:8,text:"Paste them into the fields below."}],format:"Client ID ends with .apps.googleusercontent.com"},"notion-oauth":{title:"Get your Notion OAuth credentials",intro:"You need a Public integration — not an Internal one. The distinction matters.",steps:[{number:1,text:"Go to Notion integrations and click + New integration.",link:{href:"https://www.notion.so/my-integrations",label:"notion.so/my-integrations"}},{number:2,text:"Set Integration type to Public (not Internal — Internal tokens are single-workspace only and cannot do OAuth).",hint:'If you see no "Type" field, you are on the wrong page.'},{number:3,text:"Fill in a name and optional logo. Under Capabilities, check at minimum: Read content, Update content, Insert content."},{number:4,text:"In the OAuth Domain & URIs section, paste the redirect URI shown below the form. This step is mandatory — Notion rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:5,text:"Click Submit. On the integration page, open the Secrets tab."},{number:6,text:"Copy the OAuth client ID (a UUID) and the OAuth client secret."},{number:7,text:"Paste them into the fields below."}],format:"Client ID is a UUID. Secret starts with secret_"},"airtable-oauth":{title:"Get your Airtable OAuth credentials",warning:"Airtable only accepts localhost or an HTTPS redirect URI — raw LAN IPs (e.g. 192.168.x.x) are rejected. Open the dashboard at http://localhost:3000 just for this flow. The resulting credential works from any host afterwards.",warningWhen:"lan-ip-only",steps:[{number:1,text:"Go to the Airtable OAuth integration page and click Register new OAuth integration.",link:{href:"https://airtable.com/create/oauth",label:"airtable.com/create/oauth"}},{number:2,text:"Give it a name (e.g. Nodal-Agents)."},{number:3,text:"In the Redirect URIs section, paste the redirect URI shown below the form. This step is mandatory — Airtable rejects the connection if it is missing or differs by even one character.",hint:"Most common cause of failure when trying to connect."},{number:4,text:"In the Scopes section, check the four scopes: data.records:read, data.records:write, schema.bases:read, schema.bases:write — then save / update the integration so the scopes are persisted.",hint:'If the scopes are not saved, Airtable returns "invalid_scope" during the OAuth flow.'},{number:5,text:"Click Register integration (or Save changes if editing an existing one)."},{number:6,text:"On the integration detail page, copy the Client ID and Client secret."},{number:7,text:"Paste them into the fields below."}],format:"Client ID is a UUID. Secret is longer."}},e={notion:{title:"Get your Notion Internal Integration Token",intro:"This is the Internal integration flow — single workspace, no OAuth redirect. Different from the Notion OAuth credential.",steps:[{number:1,text:"Go to Notion integrations and click + New integration.",link:{href:"https://www.notion.so/my-integrations",label:"notion.so/my-integrations"}},{number:2,text:"Set Integration type to Internal (not Public). Select your workspace."},{number:3,text:"Under Capabilities, check at minimum: Read content, Update content, Insert content."},{number:4,text:"Click Submit. On the integration page, open the Secrets tab and copy the Internal Integration Token."},{number:5,text:"Important: for each Notion page the agent should access, open the page, click the \xb7\xb7\xb7 menu → Connections → select your integration name.",hint:'Without this step the agent gets "object not found" errors.'}],format:"Token starts with secret_"},airtable:{title:"Get your Airtable Personal Access Token",steps:[{number:1,text:"Go to the Airtable token creation page and click Create new token.",link:{href:"https://airtable.com/create/tokens",label:"airtable.com/create/tokens"}},{number:2,text:"Give it a name. Under Scopes, add at minimum: data.records:read, data.records:write, schema.bases:read."},{number:3,text:"Under Access, choose the specific bases to expose or select All workspaces."},{number:4,text:"Click Create token and copy the value immediately — Airtable hides it after you close the dialog."}],format:"Token starts with pat"},apify:{title:"Get your Apify API token",steps:[{number:1,text:"Go to the Apify integrations page.",link:{href:"https://console.apify.com/account/integrations",label:"console.apify.com/account/integrations"}},{number:2,text:"Under API tokens, either copy the default Personal API token or click Create new token to generate a dedicated one."},{number:3,text:"Paste the token into the field below."}],format:"Token starts with apify_api_"},firecrawl:{title:"Get your Firecrawl API key",steps:[{number:1,text:"Go to your Firecrawl account page and navigate to API Keys.",link:{href:"https://www.firecrawl.dev/account",label:"firecrawl.dev/account"}},{number:2,text:"Copy your existing key or click to generate a new one, then paste it below."}],format:"Key starts with fc-"},tavily:{title:"Get your Tavily API key",steps:[{number:1,text:"Go to the Tavily app and open the API section.",link:{href:"https://app.tavily.com/",label:"app.tavily.com"}},{number:2,text:"Copy your API key and paste it below."}],format:"Key starts with tvly-"}}},28881:(a,b,c)=>{c.d(b,{Av:()=>q,Bs:()=>p,DF:()=>u,FT:()=>o,Gw:()=>s,Jh:()=>r,_E:()=>t});var d=c(43607),e=c(87388),f=c(90454),g=c(98472),h=c(61989),i=c(95488),j=c(42112),k=c(66402);function l(a){return{ok:!0,data:a}}function m(a,b){return{ok:!1,code:a,message:b}}async function n(){let a,b=(0,i.Iz)();try{let b=await (0,k.headers)();a=new Request("http://localhost/",{headers:b})}catch{a=new Request("http://localhost/")}return(0,j.oC)(a,b)}async function o(a){try{let b=await n(),c=(0,i.Lf)(),d=await c.select().from(f.z3).where((0,f.eq)(f.z3.ownerUserId,b.userId)),e=void 0!==a?d.filter(b=>b.type===a):d,g=await Promise.all(e.map(async a=>{let b=null,d=null,e=null,g=null;try{let g=await (0,f.G0)(c,a.id);g&&(b=g.payload.accountName??null,d=g.payload.expiresAt?new Date(g.payload.expiresAt):null,e=g.payload.scopes??null)}catch(a){g=a instanceof Error?a.message:"decrypt_failed"}let h=(await c.select({id:f.tK.id,slug:f.tK.slug}).from(f.tK).where((0,f.eq)(f.tK.credentialId,a.id))).map(a=>({connectorSlug:a.slug,connectorId:a.id}));return{id:a.id,name:a.name,type:a.type,accountName:b,expiresAt:d,scopes:e,inUseBy:h,createdAt:a.createdAt,updatedAt:a.updatedAt,decryptError:g}}));return l(g)}catch(a){return console.error("[listCredentialsAction]",a),m("db_error","Failed to load credentials")}}async function p(a){try{let b=await n();if(!h.Yj().guid().safeParse(a).success)return m("validation_failed","Invalid credential id");let c=(0,i.Lf)(),[d]=await c.select({id:f.z3.id,ownerUserId:f.z3.ownerUserId}).from(f.z3).where((0,f.eq)(f.z3.id,a));if(!d)return m("not_found","Credential not found");if(d.ownerUserId!==b.userId)return m("forbidden","Access denied");let g=(await c.select({id:f.tK.id}).from(f.tK).where((0,f.eq)(f.tK.credentialId,a))).length;return await c.delete(f.z3).where((0,f.eq)(f.z3.id,a)),(0,e.revalidatePath)("/credentials"),(0,e.revalidatePath)("/connectors"),l({disconnected:g})}catch(a){return console.error("[deleteCredentialAction]",a),m("db_error","Failed to delete credential")}}async function q(a,b){try{let c=await n();if(!h.Yj().guid().safeParse(a).success)return m("validation_failed","Invalid credential id");let d=b.trim();if(0===d.length||d.length>120)return m("validation_failed","Name must be 1–120 characters");let g=(0,i.Lf)(),[j]=await g.select({id:f.z3.id,ownerUserId:f.z3.ownerUserId}).from(f.z3).where((0,f.eq)(f.z3.id,a));if(!j)return m("not_found","Credential not found");if(j.ownerUserId!==c.userId)return m("forbidden","Access denied");return await g.update(f.z3).set({name:d,updatedAt:new Date}).where((0,f.eq)(f.z3.id,a)),(0,e.revalidatePath)("/credentials"),l(void 0)}catch(a){return console.error("[renameCredentialAction]",a),m("db_error","Failed to rename credential")}}async function r(a){try{let b=await n();if(!h.Yj().guid().safeParse(a).success)return m("validation_failed","Invalid credential id");let c=(0,i.Lf)(),[d]=await c.select({id:f.z3.id,ownerUserId:f.z3.ownerUserId}).from(f.z3).where((0,f.eq)(f.z3.id,a));if(!d)return m("not_found","Credential not found");if(d.ownerUserId!==b.userId)return m("forbidden","Access denied");let{expiresAt:g}=await (0,f.Ic)(c,a);return(0,e.revalidatePath)("/credentials"),l({expiresAt:g})}catch(b){let a=b instanceof Error?b.message:String(b);if(console.error("[refreshCredentialAction]",b),a.includes("does not support token refresh"))return m("oauth_no_refresh","This provider does not support token refresh");if(a.includes("missing refreshToken"))return m("missing_refresh_token","Credential is missing refresh token");return m("refresh_failed",`Token refresh failed: ${a}`)}}async function s(a){return(0,f.Se)((0,i.Lf)(),a)}async function t(a){return(0,f.Ic)((0,i.Lf)(),a)}async function u(a){let{ownerUserId:b,credentialType:c,name:d,payload:h}=a,j=(0,i.Lf)(),k=JSON.stringify(h),l=(0,g.ph)(k)?k:(0,g.w)(k),[m]=await j.insert(f.z3).values({ownerUserId:b,name:d,type:c,payload:l}).returning({id:f.z3.id});if(!m)throw Error("persistCredentialFromOauthFlow: insert returned no row");return(0,e.revalidatePath)("/credentials"),{id:m.id}}(0,c(75749).D)([o,p,q,r,s,t,u]),(0,d.A)(o,"40dea393018087820b8327c8c15b44fc1eb0b7dbd4",null),(0,d.A)(p,"406f380bdd655d0df9d2976283847dfb84a2436808",null),(0,d.A)(q,"60b8d838abde3a95a434a5a0ec7c7a5239428e0bb3",null),(0,d.A)(r,"40fcdbd9908b964c7863cbaf0537cb89f4199d80d1",null),(0,d.A)(s,"405ca9a9b7875a72ca6e617f8381b78b3a7af959e6",null),(0,d.A)(t,"405d3a063b94961afec5905ee4598f96941af1fae9",null),(0,d.A)(u,"40f38597e7c0eaf7737d8a8ded270b2bc93b03fd74",null)},60968:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(10476),e=c(64565);function f({guide:a}){let[b,c]=(0,e.useState)(!1);return(0,d.jsxs)("div",{className:"space-y-3",children:[a.intro&&(0,d.jsx)("p",{className:"text-xs text-ink-3 italic",children:a.intro}),b&&a.warning&&(0,d.jsxs)("div",{role:"note",className:"flex gap-2 rounded-md border border-warn/30 bg-warn px-3 py-2 text-xs text-warn",children:[(0,d.jsx)("span",{"aria-hidden":"true",className:"font-bold",children:"!"}),(0,d.jsx)("span",{children:a.warning})]}),(0,d.jsx)("ol",{className:"space-y-2.5",children:a.steps.map(a=>(0,d.jsxs)("li",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"shrink-0 w-5 h-5 rounded-full bg-hover text-ink-3 text-[10px] font-bold flex items-center justify-center mt-0.5",children:a.number}),(0,d.jsxs)("div",{className:"space-y-1.5 text-sm text-ink-3",children:[(0,d.jsxs)("span",{children:[a.text,a.link&&(0,d.jsxs)(d.Fragment,{children:[" ",(0,d.jsx)("a",{href:a.link.href,target:"_blank",rel:"noopener noreferrer",className:"text-indigo-400 hover:text-indigo-300 underline",children:a.link.label})]})]}),a.subLinks&&a.subLinks.length>0&&(0,d.jsx)("ul",{className:"mt-1 space-y-1 pl-1",children:a.subLinks.map(a=>(0,d.jsxs)("li",{className:"flex items-center gap-1.5 text-xs",children:[(0,d.jsx)("span",{className:"text-ink-4",children:"•"}),(0,d.jsx)("a",{href:a.href,target:"_blank",rel:"noopener noreferrer",className:"text-indigo-400 hover:text-indigo-300 underline",children:a.label})]},a.href))}),a.hint&&(0,d.jsx)("p",{className:"text-xs text-ink-3 italic",children:a.hint})]})]},a.number))}),a.format&&(0,d.jsxs)("p",{className:"text-xs text-ink-3",children:["Format: ",(0,d.jsx)("code",{className:"font-mono text-ink-3",children:a.format})]})]})}},63364:(a,b,c)=>{c.d(b,{A:()=>k});var d=c(10476),e=c(64565),f=c(90424),g=c(60968),h=c(7720);let i={"google-oauth":{label:"Google",callbackPath:"/api/oauth/google-oauth/callback",namePlaceholder:"Mon Google perso",clientIdLabel:"Client ID",clientSecretLabel:"Client secret"},"notion-oauth":{label:"Notion",callbackPath:"/api/oauth/notion-oauth/callback",namePlaceholder:"Mon Notion",clientIdLabel:"OAuth client ID",clientSecretLabel:"OAuth client secret"},"airtable-oauth":{label:"Airtable",callbackPath:"/api/oauth/airtable-oauth/callback",namePlaceholder:"Mon Airtable",clientIdLabel:"Client ID",clientSecretLabel:"Client secret"}},j=[{type:"google-oauth",label:"Google Workspace",description:"Drive, Gmail, Sheets, Docs"},{type:"notion-oauth",label:"Notion",description:"Public OAuth integration"},{type:"airtable-oauth",label:"Airtable",description:"Public OAuth integration"}];function k({initialType:a,returnToConnectorSlug:b,onClose:c}){let[l,m]=(0,e.useState)(a?"setup":"type"),[n,o]=(0,e.useState)(a??null),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(!1),t=(0,e.useRef)(null),u=n?i[n]:null,v=b?`/connectors?connectorSlug=${b}`:"/credentials",w=n?`/api/oauth/${n}/start`:"#";return r?(0,f.createPortal)((0,d.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"wizard-title",className:"fixed inset-0 z-50 flex items-center justify-center px-4",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:c,"aria-hidden":"true"}),(0,d.jsxs)("div",{className:"relative bg-paper border border-rule-2 rounded-xl w-full max-w-lg shadow-2xl flex flex-col max-h-[90vh]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between px-6 py-4 border-b border-rule-2 shrink-0",children:[(0,d.jsx)("h2",{id:"wizard-title",className:"text-base font-semibold text-ink",children:"type"===l?"New credential":u?`Configure ${u.label} credential`:"Configure credential"}),(0,d.jsx)("button",{type:"button",onClick:c,className:"text-ink-3 hover:text-ink transition-colors text-xl leading-none","aria-label":"Close",children:"\xd7"})]}),"type"===l&&(0,d.jsxs)("div",{className:"overflow-y-auto px-6 py-5 space-y-3",children:[(0,d.jsx)("p",{className:"text-sm text-ink-3",children:"Choose the OAuth provider to connect to Nodal-Agents."}),(0,d.jsx)("div",{className:"space-y-2",children:j.map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>{o(a.type),m("setup")},className:"w-full text-left px-4 py-3 rounded-lg border border-rule-2 hover:border-rule hover:bg-hover transition-colors group",children:[(0,d.jsx)("div",{className:"text-sm font-semibold text-ink group-hover:text-ink",children:a.label}),(0,d.jsx)("div",{className:"text-xs text-ink-3 mt-0.5",children:a.description})]},a.type))}),(0,d.jsx)("div",{className:"pt-2 flex justify-end",children:(0,d.jsx)("button",{type:"button",onClick:c,className:"px-4 py-2 text-sm font-medium border border-rule-2 text-ink-3 rounded-md hover:border-rule hover:text-ink",children:"Cancel"})})]}),"setup"===l&&u&&n&&(0,d.jsxs)("form",{ref:t,method:"POST",action:w,encType:"application/x-www-form-urlencoded",className:"overflow-y-auto px-6 py-5 space-y-5",children:[(0,d.jsx)("input",{type:"hidden",name:"returnTo",value:v}),(0,d.jsxs)("div",{className:"space-y-2",children:[(0,d.jsx)("p",{className:"text-xs text-ink-3 font-semibold uppercase tracking-wider",children:"Setup instructions"}),(0,d.jsx)(g.A,{guide:h.o[n]})]}),(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsx)("p",{className:"text-xs text-ink-3",children:"Authorized redirect URI"}),(0,d.jsxs)("div",{className:"flex items-center gap-2 bg-hover border border-rule rounded-md px-3 py-2",children:[(0,d.jsx)("code",{className:"text-xs text-ink-2 font-mono flex-1 break-all",children:p||"…"}),(0,d.jsx)("button",{type:"button",onClick:function(){p&&navigator.clipboard.writeText(p).then(()=>{})},className:"shrink-0 px-2 py-0.5 text-xs font-medium border border-rule text-ink-3 rounded hover:border-ink-3 hover:text-ink transition-colors",children:"Copy"})]})]}),(0,d.jsxs)("div",{className:"space-y-3 border-t border-rule-2 pt-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-xs text-ink-3 mb-1",children:["Display name ",(0,d.jsx)("span",{className:"text-ink-4",children:"(optional)"})]}),(0,d.jsx)("input",{name:"name",placeholder:u.namePlaceholder,className:"w-full bg-hover border border-rule rounded-md px-2 py-1.5 text-sm text-ink placeholder:text-ink-4 focus:border-ink-3 focus:outline-none"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-xs text-ink-3 mb-1",children:u.clientIdLabel}),(0,d.jsx)("input",{name:"clientId",required:!0,autoComplete:"off",className:"w-full bg-hover border border-rule rounded-md px-2 py-1.5 text-sm text-ink focus:border-ink-3 focus:outline-none font-mono"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-xs text-ink-3 mb-1",children:u.clientSecretLabel}),(0,d.jsx)("input",{name:"clientSecret",type:"password",required:!0,autoComplete:"off",className:"w-full bg-hover border border-rule rounded-md px-2 py-1.5 text-sm text-ink focus:border-ink-3 focus:outline-none font-mono"})]})]}),(0,d.jsxs)("div",{className:"flex gap-2 justify-end pt-1",children:[(0,d.jsx)("button",{type:"button",onClick:c,className:"px-4 py-2 text-sm font-medium border border-rule-2 text-ink-3 rounded-md hover:border-rule hover:text-ink",children:"Cancel"}),!a&&(0,d.jsx)("button",{type:"button",onClick:()=>m("type"),className:"px-4 py-2 text-sm font-medium border border-rule-2 text-ink-3 rounded-md hover:border-rule hover:text-ink",children:"Back"}),(0,d.jsxs)("button",{type:"submit",className:"px-4 py-2 text-sm font-semibold bg-ink text-canvas rounded-md hover:brightness-[0.92]",children:["Continue with ",u.label]})]})]})]})]}),document.body):null}},78184:(a,b,c)=>{c.r(b),c.d(b,{"001118fec506a53ebafc1ac22aced98491da4c33fc":()=>d.pD,"0019568f0902d6686eef0bddd170218a9cd13a17a4":()=>d.Hy,"001bc4cd7d773c42f0abe430aa4938eb24e122f3ed":()=>d.BO,"002d53d8489f05c476e5f803a48c3614924142e2ad":()=>d.zh,"00311575d69fa9b60cf1588f7fa53c6d2500242cc1":()=>d.JD,"0048765ef4a5e8a333fbaa7a3760314bd20d23f015":()=>d.$z,"005448c2fdf7ea031fef0a9bb5d459d3f80ace4a01":()=>d.VZ,"0057a31536542015df37b9b6145037112758805486":()=>d.oA,"006500fa84da35180ad8b9f3415bb706d7347ebb68":()=>d.Ko,"006a72d5a5e11e139d3a629fbcceea11c7cd5c08da":()=>d.Ql,"0076075a5351358daf5440c7f69c63cad833707b88":()=>d.$5,"00aace867a6070eec006371aaaed42397c2785bfe6":()=>d.Le,"00ac3cfbc9ad58456e1c96ee7bbed8abd374cb9fb1":()=>d.dO,"00bb2c47dd550c0d9c909b5fb85756329ff7d9cea3":()=>d.oG,"00bd01420b7cbef1105228a0534621bafacec7779b":()=>d.Zz,"00ebe221f142ec550145255224d88d2cb96b772d57":()=>d.$4,"00faeafbce3e40c7196643c0d91e31e27e7d0588bd":()=>d.M3,"00fc10be23e1699b25c4b506e5f22f8f4a8306e915":()=>d.cj,"4003a311e8660fcf139991909c492b3bd2aad7fe7e":()=>d.Hp,"4003fcb873df0181574d42fb4bea2505b54e5ed549":()=>d.hl,"400539c555b2a3f2f29167cb5dec3c4dcc8fc2d2b2":()=>d.WH,"40065cb48ee796d72efbd9822168ea1e87a4cb36b6":()=>d.cu,"40071f10ccaf7f47f1aff1afc670b23b607d4036f7":()=>d.t3,"4009f2c76b78aa07f023a9dc32a2473dd3e025cb58":()=>d.e4,"40106e1cae696378c9f7f89b4d0cc511df13c968d3":()=>d.QT,"4011a0e49507079213b6ce631cd4903ec46942f9e1":()=>d.Ke,"401a9d0eede57ee72eff7a603fef0186534def2d16":()=>d.Mo,"401fb2fc43a246b86d42f57b7c4be4b6c300a83665":()=>d.f_,"40245a2e007dbf597e697c65a7beb167abca4eab76":()=>d.X1,"4028e336e8831dd6916335467985f84baa9e94eab6":()=>d.P7,"402954a3df2b9ee001c5800e517d091e054d42326f":()=>d.Rz,"402c4f6416df32089c620b7f64b97ca1064e785d79":()=>d.c6,"402d0472dc019335cd4c5fe97bebaeb18ad96af5ee":()=>d.cr,"40357e9b617de7a42a00d52bfc453c33b6f103ba73":()=>d.LN,"40372879d5da92091f87db2e88fc4d7cd3fa583f07":()=>d.oC,"403efba0f740b490b80e06367cb020a727cfe0efd9":()=>d.PH,"403f4b46d48174379803fe1c702be11cf63736ef46":()=>d.PD,"404505375417085440a1ea853c50f33e5723dbbf0f":()=>d.Og,"40555201ad9b6108567fd1e445b41bb86aa9c548db":()=>d.CV,"40590ff01cd1433bab93ae7eb66ebde0137b32b0a4":()=>d.ei,"405baecc1b1556260c43db88c1cbdea3f44aa47fea":()=>d.HO,"405ca9a9b7875a72ca6e617f8381b78b3a7af959e6":()=>e.Gw,"405d3a063b94961afec5905ee4598f96941af1fae9":()=>e._E,"405da710852dfaf045979eb3bf4150d08015bfde18":()=>d.gE,"4060518a20de7e0d8a313a1b4a6bef1026af5fced1":()=>d.rf,"40636072bcb4efeb9d67f99498d3e984b1f52b51fc":()=>d.eP,"4068d449799d0839162c8c459eef6518ec3cec8eb1":()=>d.ZA,"406b65614d4cacc360468c40774fa06b20027069fe":()=>d._N,"406f380bdd655d0df9d2976283847dfb84a2436808":()=>e.Bs,"4072660be3387fc94a2f35564292dc159448f98a7b":()=>d.hP,"40767bfec90d74a95e600d8e748e02d76eef253591":()=>d.xV,"408a1c1b6416b62e96523dd4e7ffcf5b12406ff7ce":()=>d.Cy,"408b4374239f76207d53f760182cb5fa1a0aa2c1b1":()=>d.fG,"4093b63348b2c91afebb7d849fe8684cfab209c898":()=>d.Sb,"40966b799f3997fdc3e28e08a3b7528a040b60e561":()=>d.Ro,"40968376cf71f09beaceb5af45c00b88be86871e29":()=>d.fI,"40973a7505dd99f7f4dacf03329c545e6232fdb414":()=>d.iu,"409f0187893df968935c2166f22e9dabae2abe4464":()=>d.UR,"409f4ab91df4d32671bf967344110ced9c96f10297":()=>d._x,"40a7f7bf4b0aeb563c1db894ceacea5e1dea08b2ce":()=>d.ZG,"40ab6014ab962aa75535b730138f33a7c194212b24":()=>d.lV,"40ada2c69823752e444b44b7c81e93fe8382e8c9ae":()=>d.TD,"40b115e61af8fe747478744e8f07874837f936874b":()=>d.Ev,"40b38a9c4fa75e580a3d3e1ebd8ba080128c87ec86":()=>d.EA,"40c4d9f44c5c83d4d994cb041dc39a2032fa1a66f6":()=>d.JH,"40cbf23b485b0477c2fbdcffc6fcd45c4e64dc7b69":()=>d.Wq,"40cf8c4d455e06e10c47377dcd0525b8b750528bf8":()=>d.S2,"40d8a7cf9d32867c652a507e7e79627a989e33f8b7":()=>d.y4,"40db892b53bab82020950fb6c30d9c7508bd5ce3aa":()=>d.rv,"40dc3ad156374b24f4932c45c207a6b5ded0fafe31":()=>d.fl,"40dd345d903fe6038aa991e0d968ff178175882e76":()=>d.Sh,"40dea393018087820b8327c8c15b44fc1eb0b7dbd4":()=>e.FT,"40dfa1a88b09411e717b886e57790a314b93d531cb":()=>d.By,"40ecb72d2da458a2330753fee3e93712648aaccff0":()=>d.rT,"40ed173541653487cad77e8d24aa71717dda4514fd":()=>d.Jb,"40f38597e7c0eaf7737d8a8ded270b2bc93b03fd74":()=>e.DF,"40f886db2aa6738396c9820d79573481e8094556fe":()=>d.bN,"40f91faf74d47eaf54ef1581686fdb3d9c75750615":()=>d.AS,"40f9451906485ec5f95da3d81bbf331d881b1122f2":()=>d.iU,"40fcdbd9908b964c7863cbaf0537cb89f4199d80d1":()=>e.Jh,"40ff895a5d4055dd297090905f6cc38c251f57f966":()=>d.pu,"602e220c0c1799f123879c32ef57a75671b75d54dc":()=>d.f2,"60387ec0d39228d66c460aac5516bbad2b8106ba4e":()=>d.qo,"604e81f2153543d44bfbe02554eee33fe9c7eb41b6":()=>d.c2,"60524bd713205b07644a694f98b443e218cba53d69":()=>d.Ru,"60828079bdf7ac1433de3e057d76fdc01ba138233a":()=>d.dd,"60aec87a5bf59e09f43f85105b3e58327f98feb9e8":()=>d.yU,"60b8d838abde3a95a434a5a0ec7c7a5239428e0bb3":()=>e.Av,"60d33abe965baee12ec705d093bdd07654d00f0e22":()=>d.vu,"60f81a329cff55c862f755a177ae79c649aa3918e9":()=>d.wI,"708a8804d4c430873c5b65db43c98c43242eedaa68":()=>d.Oc,"70c07e81341877e5e3d66c5a105d95552fec935b4b":()=>d.z_,"70ee6bc3c68327436b7c4c9a6a288eb852a0c29082":()=>d.ch,"70fc0d769386dec2ad11c3269f562ca2c1e2871493":()=>d.Jc,"7804a10eab6db5a571bf689eb41c33f0ea7e323820":()=>d.wj,"78387ce7c2490d9e4084990b4dcfdc1611724686e5":()=>d.AH});var d=c(5786),e=c(28881)}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=5329,exports.ids=[5329],exports.modules={2154:(a,b,c)=>{c.r(b),c.d(b,{"001118fec506a53ebafc1ac22aced98491da4c33fc":()=>d.pD,"0019568f0902d6686eef0bddd170218a9cd13a17a4":()=>d.Hy,"001bc4cd7d773c42f0abe430aa4938eb24e122f3ed":()=>d.BO,"002d53d8489f05c476e5f803a48c3614924142e2ad":()=>d.zh,"00311575d69fa9b60cf1588f7fa53c6d2500242cc1":()=>d.JD,"0048765ef4a5e8a333fbaa7a3760314bd20d23f015":()=>d.$z,"005448c2fdf7ea031fef0a9bb5d459d3f80ace4a01":()=>d.VZ,"0057a31536542015df37b9b6145037112758805486":()=>d.oA,"006500fa84da35180ad8b9f3415bb706d7347ebb68":()=>d.Ko,"006a72d5a5e11e139d3a629fbcceea11c7cd5c08da":()=>d.Ql,"0076075a5351358daf5440c7f69c63cad833707b88":()=>d.$5,"00aace867a6070eec006371aaaed42397c2785bfe6":()=>d.Le,"00ac3cfbc9ad58456e1c96ee7bbed8abd374cb9fb1":()=>d.dO,"00bb2c47dd550c0d9c909b5fb85756329ff7d9cea3":()=>d.oG,"00bd01420b7cbef1105228a0534621bafacec7779b":()=>d.Zz,"00ebe221f142ec550145255224d88d2cb96b772d57":()=>d.$4,"00faeafbce3e40c7196643c0d91e31e27e7d0588bd":()=>d.M3,"00fc10be23e1699b25c4b506e5f22f8f4a8306e915":()=>d.cj,"4003a311e8660fcf139991909c492b3bd2aad7fe7e":()=>d.Hp,"4003fcb873df0181574d42fb4bea2505b54e5ed549":()=>d.hl,"400539c555b2a3f2f29167cb5dec3c4dcc8fc2d2b2":()=>d.WH,"40065cb48ee796d72efbd9822168ea1e87a4cb36b6":()=>d.cu,"40071f10ccaf7f47f1aff1afc670b23b607d4036f7":()=>d.t3,"4009f2c76b78aa07f023a9dc32a2473dd3e025cb58":()=>d.e4,"40106e1cae696378c9f7f89b4d0cc511df13c968d3":()=>d.QT,"4011a0e49507079213b6ce631cd4903ec46942f9e1":()=>d.Ke,"401a9d0eede57ee72eff7a603fef0186534def2d16":()=>d.Mo,"401fb2fc43a246b86d42f57b7c4be4b6c300a83665":()=>d.f_,"40245a2e007dbf597e697c65a7beb167abca4eab76":()=>d.X1,"4028e336e8831dd6916335467985f84baa9e94eab6":()=>d.P7,"402954a3df2b9ee001c5800e517d091e054d42326f":()=>d.Rz,"402c4f6416df32089c620b7f64b97ca1064e785d79":()=>d.c6,"402d0472dc019335cd4c5fe97bebaeb18ad96af5ee":()=>d.cr,"40357e9b617de7a42a00d52bfc453c33b6f103ba73":()=>d.LN,"40372879d5da92091f87db2e88fc4d7cd3fa583f07":()=>d.oC,"403efba0f740b490b80e06367cb020a727cfe0efd9":()=>d.PH,"403f4b46d48174379803fe1c702be11cf63736ef46":()=>d.PD,"404505375417085440a1ea853c50f33e5723dbbf0f":()=>d.Og,"40555201ad9b6108567fd1e445b41bb86aa9c548db":()=>d.CV,"40590ff01cd1433bab93ae7eb66ebde0137b32b0a4":()=>d.ei,"405baecc1b1556260c43db88c1cbdea3f44aa47fea":()=>d.HO,"405da710852dfaf045979eb3bf4150d08015bfde18":()=>d.gE,"4060518a20de7e0d8a313a1b4a6bef1026af5fced1":()=>d.rf,"40636072bcb4efeb9d67f99498d3e984b1f52b51fc":()=>d.eP,"4068d449799d0839162c8c459eef6518ec3cec8eb1":()=>d.ZA,"406b65614d4cacc360468c40774fa06b20027069fe":()=>d._N,"4072660be3387fc94a2f35564292dc159448f98a7b":()=>d.hP,"40767bfec90d74a95e600d8e748e02d76eef253591":()=>d.xV,"408a1c1b6416b62e96523dd4e7ffcf5b12406ff7ce":()=>d.Cy,"408b4374239f76207d53f760182cb5fa1a0aa2c1b1":()=>d.fG,"4093b63348b2c91afebb7d849fe8684cfab209c898":()=>d.Sb,"40966b799f3997fdc3e28e08a3b7528a040b60e561":()=>d.Ro,"40968376cf71f09beaceb5af45c00b88be86871e29":()=>d.fI,"40973a7505dd99f7f4dacf03329c545e6232fdb414":()=>d.iu,"409f0187893df968935c2166f22e9dabae2abe4464":()=>d.UR,"409f4ab91df4d32671bf967344110ced9c96f10297":()=>d._x,"40a7f7bf4b0aeb563c1db894ceacea5e1dea08b2ce":()=>d.ZG,"40ab6014ab962aa75535b730138f33a7c194212b24":()=>d.lV,"40ada2c69823752e444b44b7c81e93fe8382e8c9ae":()=>d.TD,"40b115e61af8fe747478744e8f07874837f936874b":()=>d.Ev,"40b38a9c4fa75e580a3d3e1ebd8ba080128c87ec86":()=>d.EA,"40c4d9f44c5c83d4d994cb041dc39a2032fa1a66f6":()=>d.JH,"40cbf23b485b0477c2fbdcffc6fcd45c4e64dc7b69":()=>d.Wq,"40cf8c4d455e06e10c47377dcd0525b8b750528bf8":()=>d.S2,"40d8a7cf9d32867c652a507e7e79627a989e33f8b7":()=>d.y4,"40db892b53bab82020950fb6c30d9c7508bd5ce3aa":()=>d.rv,"40dc3ad156374b24f4932c45c207a6b5ded0fafe31":()=>d.fl,"40dd345d903fe6038aa991e0d968ff178175882e76":()=>d.Sh,"40dfa1a88b09411e717b886e57790a314b93d531cb":()=>d.By,"40ecb72d2da458a2330753fee3e93712648aaccff0":()=>d.rT,"40ed173541653487cad77e8d24aa71717dda4514fd":()=>d.Jb,"40f886db2aa6738396c9820d79573481e8094556fe":()=>d.bN,"40f91faf74d47eaf54ef1581686fdb3d9c75750615":()=>d.AS,"40f9451906485ec5f95da3d81bbf331d881b1122f2":()=>d.iU,"40ff895a5d4055dd297090905f6cc38c251f57f966":()=>d.pu,"602e220c0c1799f123879c32ef57a75671b75d54dc":()=>d.f2,"60387ec0d39228d66c460aac5516bbad2b8106ba4e":()=>d.qo,"604e81f2153543d44bfbe02554eee33fe9c7eb41b6":()=>d.c2,"60524bd713205b07644a694f98b443e218cba53d69":()=>d.Ru,"60828079bdf7ac1433de3e057d76fdc01ba138233a":()=>d.dd,"60aec87a5bf59e09f43f85105b3e58327f98feb9e8":()=>d.yU,"60d33abe965baee12ec705d093bdd07654d00f0e22":()=>d.vu,"60f81a329cff55c862f755a177ae79c649aa3918e9":()=>d.wI,"708a8804d4c430873c5b65db43c98c43242eedaa68":()=>d.Oc,"70c07e81341877e5e3d66c5a105d95552fec935b4b":()=>d.z_,"70ee6bc3c68327436b7c4c9a6a288eb852a0c29082":()=>d.ch,"70fc0d769386dec2ad11c3269f562ca2c1e2871493":()=>d.Jc,"7804a10eab6db5a571bf689eb41c33f0ea7e323820":()=>d.wj,"78387ce7c2490d9e4084990b4dcfdc1611724686e5":()=>d.AH});var d=c(5786)},81850:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(10476),e=c(64565),f=c(90424);function g({open:a,title:b,message:c,confirmLabel:h="Confirm",cancelLabel:i="Cancel",destructive:j=!0,onConfirm:k,onCancel:l}){let m=(0,e.useRef)(null),[n,o]=(0,e.useState)(!1);return a&&n?(0,f.createPortal)((0,d.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"confirm-dialog-title",className:"fixed inset-0 z-50 flex items-center justify-center px-4 text-left",children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:l,"aria-hidden":"true"}),(0,d.jsxs)("div",{className:"relative bg-paper border border-rule-2 rounded-xl p-6 max-w-md w-full shadow-2xl",children:[(0,d.jsx)("h2",{id:"confirm-dialog-title",className:"text-base font-semibold text-ink",children:b}),c&&(0,d.jsx)("p",{className:"mt-2 text-sm text-ink-3 leading-relaxed",children:c}),(0,d.jsxs)("div",{className:"mt-6 flex justify-end gap-2",children:[(0,d.jsx)("button",{ref:m,type:"button",onClick:l,className:"px-4 py-2 text-sm font-medium border border-rule text-ink-2 rounded-lg hover:border-rule hover:text-ink transition-colors",children:i}),(0,d.jsx)("button",{type:"button",onClick:k,className:`px-4 py-2 text-sm font-semibold rounded-lg transition-colors ${j?"bg-err hover:brightness-[0.94] text-ink":"bg-ink hover:brightness-[0.92] text-canvas"}`,children:h})]})]})]}),document.body):null}},87942:(a,b,c)=>{c.d(b,{default:()=>m});var d=c(10476),e=c(64565),f=c(12418),g=c(48082),h=c(47092);let i=(0,h.createServerReference)("40c4d9f44c5c83d4d994cb041dc39a2032fa1a66f6",h.callServer,void 0,h.findSourceMapURL,"resetSkillToDefaultAction"),j=(0,h.createServerReference)("402954a3df2b9ee001c5800e517d091e054d42326f",h.callServer,void 0,h.findSourceMapURL,"updateSkillAction"),k=(0,h.createServerReference)("40b115e61af8fe747478744e8f07874837f936874b",h.callServer,void 0,h.findSourceMapURL,"createSkillAction");var l=c(81850);function m(a){let b="edit"===a.mode,c=(0,f.useRouter)(),[h,m]=(0,e.useState)(b||!0===a.defaultOpen),[n,o]=(0,e.useTransition)(),[p,q]=(0,e.useState)(!1),r=b&&!0===a.initial.contentOverridden&&null!==a.initial.defaultContent;if(!h)return(0,d.jsx)("button",{type:"button",onClick:()=>m(!0),className:"px-4 py-2 text-sm font-medium bg-ink text-canvas rounded-lg hover:brightness-[0.92]",children:"+ New skill"});let s=b?a.initial:void 0;return(0,d.jsxs)("form",{onSubmit:function(d){d.preventDefault();let e=d.currentTarget,f=new FormData(e);if(b&&"edit"===a.mode){let b={id:a.initial.id,name:f.get("name"),content:f.get("content"),description:f.get("description")||void 0};o(async()=>{let a=await j(b);a.ok?(g.oR.success("Skill updated"),c.push("/skills")):g.oR.error(a.message)})}else o(async()=>{let a=await k({slug:f.get("slug"),name:f.get("name"),content:f.get("content"),description:f.get("description")||void 0});a.ok?(g.oR.success("Skill created"),e.reset(),m(!1)):g.oR.error(a.message)})},className:"bg-paper border border-rule-2 rounded-xl p-5 space-y-3",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsx)("h3",{className:"text-sm font-semibold text-ink",children:b?"Edit skill":"New skill"}),r&&(0,d.jsx)("button",{type:"button",onClick:()=>q(!0),disabled:n,title:"Restore the catalog default content for this skill",className:"text-xs px-2.5 py-1 rounded border border-warn/30 text-warn hover:bg-warn-bg transition-colors disabled:opacity-50",children:"Reset to default"})]}),(0,d.jsx)(l.A,{open:p,title:"Reset skill to default?",message:"Your customised instructions will be replaced with the catalog default shipped with NodalAI. This cannot be undone.",confirmLabel:"Reset",cancelLabel:"Cancel",destructive:!0,onConfirm:function(){if(!b)return;let d=a.initial.id;q(!1),o(async()=>{let a=await i(d);a.ok?(g.oR.success("Skill reset to default"),c.refresh()):g.oR.error(a.message)})},onCancel:()=>q(!1)}),(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-xs text-ink-3 mb-1",htmlFor:"skill-slug",children:["Slug ",b&&(0,d.jsx)("span",{className:"text-ink-4",children:"(stable — not editable)"})]}),(0,d.jsx)("input",{id:"skill-slug",name:"slug",required:!b,readOnly:b,disabled:b,pattern:b?void 0:"[a-z0-9\\-]+",placeholder:"my-skill",defaultValue:s?.slug,title:b?"Slug is a stable identifier and cannot be changed":void 0,className:b?"w-full bg-hover border border-rule rounded-md px-2 py-1.5 text-sm text-ink-3 cursor-not-allowed font-mono":"w-full bg-hover border border-rule rounded-md px-2 py-1.5 text-sm text-ink placeholder:text-ink-4 focus:border-ink-3 focus:outline-none font-mono"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-xs text-ink-3 mb-1",htmlFor:"skill-name",children:"Name"}),(0,d.jsx)("input",{id:"skill-name",name:"name",required:!0,placeholder:"My Skill",defaultValue:s?.name,className:"w-full bg-hover border border-rule rounded-md px-2 py-1.5 text-sm text-ink placeholder:text-ink-4 focus:border-ink-3 focus:outline-none"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-xs text-ink-3 mb-1",htmlFor:"skill-description",children:["Description ",(0,d.jsx)("span",{className:"text-ink-4",children:"(optional)"})]}),(0,d.jsx)("input",{id:"skill-description",name:"description",maxLength:500,placeholder:"What does this skill teach the agent?",defaultValue:s?.description??"",className:"w-full bg-hover border border-rule rounded-md px-2 py-1.5 text-sm text-ink placeholder:text-ink-4 focus:border-ink-3 focus:outline-none"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-xs text-ink-3 mb-1",htmlFor:"skill-content",children:"Instructions"}),(0,d.jsx)("textarea",{id:"skill-content",name:"content",required:!0,rows:18,placeholder:"Step-by-step instructions or context the agent gets when this skill is enabled.",defaultValue:s?.content,className:"w-full bg-hover border border-rule rounded-md px-3 py-2 text-sm leading-relaxed text-ink placeholder:text-ink-4 focus:border-ink-3 focus:outline-none resize-y min-h-[440px]"})]}),(0,d.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,d.jsx)("button",{type:"submit",disabled:n,className:"px-4 py-2 text-sm font-semibold bg-ink text-canvas rounded-md hover:brightness-[0.92] disabled:opacity-50",children:n?b?"Saving…":"Creating…":b?"Save changes":"Create skill"}),(0,d.jsx)("button",{type:"button",onClick:()=>b?c.push("/skills"):m(!1),className:"px-4 py-2 text-sm font-medium border border-rule text-ink-3 rounded-md hover:border-rule",children:"Cancel"})]})]})}},93103:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(49554).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\APPS\\\\NodalAI\\\\apps\\\\web\\\\src\\\\app\\\\(dashboard)\\\\skills\\\\SkillForm.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\APPS\\NodalAI\\apps\\web\\src\\app\\(dashboard)\\skills\\SkillForm.tsx","default")}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=593,exports.ids=[593],exports.modules={2154:(a,b,c)=>{c.r(b),c.d(b,{"001118fec506a53ebafc1ac22aced98491da4c33fc":()=>d.pD,"0019568f0902d6686eef0bddd170218a9cd13a17a4":()=>d.Hy,"001bc4cd7d773c42f0abe430aa4938eb24e122f3ed":()=>d.BO,"002d53d8489f05c476e5f803a48c3614924142e2ad":()=>d.zh,"00311575d69fa9b60cf1588f7fa53c6d2500242cc1":()=>d.JD,"0048765ef4a5e8a333fbaa7a3760314bd20d23f015":()=>d.$z,"005448c2fdf7ea031fef0a9bb5d459d3f80ace4a01":()=>d.VZ,"0057a31536542015df37b9b6145037112758805486":()=>d.oA,"006500fa84da35180ad8b9f3415bb706d7347ebb68":()=>d.Ko,"006a72d5a5e11e139d3a629fbcceea11c7cd5c08da":()=>d.Ql,"0076075a5351358daf5440c7f69c63cad833707b88":()=>d.$5,"00aace867a6070eec006371aaaed42397c2785bfe6":()=>d.Le,"00ac3cfbc9ad58456e1c96ee7bbed8abd374cb9fb1":()=>d.dO,"00bb2c47dd550c0d9c909b5fb85756329ff7d9cea3":()=>d.oG,"00bd01420b7cbef1105228a0534621bafacec7779b":()=>d.Zz,"00ebe221f142ec550145255224d88d2cb96b772d57":()=>d.$4,"00faeafbce3e40c7196643c0d91e31e27e7d0588bd":()=>d.M3,"00fc10be23e1699b25c4b506e5f22f8f4a8306e915":()=>d.cj,"4003a311e8660fcf139991909c492b3bd2aad7fe7e":()=>d.Hp,"4003fcb873df0181574d42fb4bea2505b54e5ed549":()=>d.hl,"400539c555b2a3f2f29167cb5dec3c4dcc8fc2d2b2":()=>d.WH,"40065cb48ee796d72efbd9822168ea1e87a4cb36b6":()=>d.cu,"40071f10ccaf7f47f1aff1afc670b23b607d4036f7":()=>d.t3,"4009f2c76b78aa07f023a9dc32a2473dd3e025cb58":()=>d.e4,"40106e1cae696378c9f7f89b4d0cc511df13c968d3":()=>d.QT,"4011a0e49507079213b6ce631cd4903ec46942f9e1":()=>d.Ke,"401a9d0eede57ee72eff7a603fef0186534def2d16":()=>d.Mo,"401fb2fc43a246b86d42f57b7c4be4b6c300a83665":()=>d.f_,"40245a2e007dbf597e697c65a7beb167abca4eab76":()=>d.X1,"4028e336e8831dd6916335467985f84baa9e94eab6":()=>d.P7,"402954a3df2b9ee001c5800e517d091e054d42326f":()=>d.Rz,"402c4f6416df32089c620b7f64b97ca1064e785d79":()=>d.c6,"402d0472dc019335cd4c5fe97bebaeb18ad96af5ee":()=>d.cr,"40357e9b617de7a42a00d52bfc453c33b6f103ba73":()=>d.LN,"40372879d5da92091f87db2e88fc4d7cd3fa583f07":()=>d.oC,"403efba0f740b490b80e06367cb020a727cfe0efd9":()=>d.PH,"403f4b46d48174379803fe1c702be11cf63736ef46":()=>d.PD,"404505375417085440a1ea853c50f33e5723dbbf0f":()=>d.Og,"40555201ad9b6108567fd1e445b41bb86aa9c548db":()=>d.CV,"40590ff01cd1433bab93ae7eb66ebde0137b32b0a4":()=>d.ei,"405baecc1b1556260c43db88c1cbdea3f44aa47fea":()=>d.HO,"405da710852dfaf045979eb3bf4150d08015bfde18":()=>d.gE,"4060518a20de7e0d8a313a1b4a6bef1026af5fced1":()=>d.rf,"40636072bcb4efeb9d67f99498d3e984b1f52b51fc":()=>d.eP,"4068d449799d0839162c8c459eef6518ec3cec8eb1":()=>d.ZA,"406b65614d4cacc360468c40774fa06b20027069fe":()=>d._N,"4072660be3387fc94a2f35564292dc159448f98a7b":()=>d.hP,"40767bfec90d74a95e600d8e748e02d76eef253591":()=>d.xV,"408a1c1b6416b62e96523dd4e7ffcf5b12406ff7ce":()=>d.Cy,"408b4374239f76207d53f760182cb5fa1a0aa2c1b1":()=>d.fG,"4093b63348b2c91afebb7d849fe8684cfab209c898":()=>d.Sb,"40966b799f3997fdc3e28e08a3b7528a040b60e561":()=>d.Ro,"40968376cf71f09beaceb5af45c00b88be86871e29":()=>d.fI,"40973a7505dd99f7f4dacf03329c545e6232fdb414":()=>d.iu,"409f0187893df968935c2166f22e9dabae2abe4464":()=>d.UR,"409f4ab91df4d32671bf967344110ced9c96f10297":()=>d._x,"40a7f7bf4b0aeb563c1db894ceacea5e1dea08b2ce":()=>d.ZG,"40ab6014ab962aa75535b730138f33a7c194212b24":()=>d.lV,"40ada2c69823752e444b44b7c81e93fe8382e8c9ae":()=>d.TD,"40b115e61af8fe747478744e8f07874837f936874b":()=>d.Ev,"40b38a9c4fa75e580a3d3e1ebd8ba080128c87ec86":()=>d.EA,"40c4d9f44c5c83d4d994cb041dc39a2032fa1a66f6":()=>d.JH,"40cbf23b485b0477c2fbdcffc6fcd45c4e64dc7b69":()=>d.Wq,"40cf8c4d455e06e10c47377dcd0525b8b750528bf8":()=>d.S2,"40d8a7cf9d32867c652a507e7e79627a989e33f8b7":()=>d.y4,"40db892b53bab82020950fb6c30d9c7508bd5ce3aa":()=>d.rv,"40dc3ad156374b24f4932c45c207a6b5ded0fafe31":()=>d.fl,"40dd345d903fe6038aa991e0d968ff178175882e76":()=>d.Sh,"40dfa1a88b09411e717b886e57790a314b93d531cb":()=>d.By,"40ecb72d2da458a2330753fee3e93712648aaccff0":()=>d.rT,"40ed173541653487cad77e8d24aa71717dda4514fd":()=>d.Jb,"40f886db2aa6738396c9820d79573481e8094556fe":()=>d.bN,"40f91faf74d47eaf54ef1581686fdb3d9c75750615":()=>d.AS,"40f9451906485ec5f95da3d81bbf331d881b1122f2":()=>d.iU,"40ff895a5d4055dd297090905f6cc38c251f57f966":()=>d.pu,"602e220c0c1799f123879c32ef57a75671b75d54dc":()=>d.f2,"60387ec0d39228d66c460aac5516bbad2b8106ba4e":()=>d.qo,"604e81f2153543d44bfbe02554eee33fe9c7eb41b6":()=>d.c2,"60524bd713205b07644a694f98b443e218cba53d69":()=>d.Ru,"60828079bdf7ac1433de3e057d76fdc01ba138233a":()=>d.dd,"60aec87a5bf59e09f43f85105b3e58327f98feb9e8":()=>d.yU,"60d33abe965baee12ec705d093bdd07654d00f0e22":()=>d.vu,"60f81a329cff55c862f755a177ae79c649aa3918e9":()=>d.wI,"708a8804d4c430873c5b65db43c98c43242eedaa68":()=>d.Oc,"70c07e81341877e5e3d66c5a105d95552fec935b4b":()=>d.z_,"70ee6bc3c68327436b7c4c9a6a288eb852a0c29082":()=>d.ch,"70fc0d769386dec2ad11c3269f562ca2c1e2871493":()=>d.Jc,"7804a10eab6db5a571bf689eb41c33f0ea7e323820":()=>d.wj,"78387ce7c2490d9e4084990b4dcfdc1611724686e5":()=>d.AH});var d=c(5786)},22435:(a,b,c)=>{c.d(b,{A:()=>m});var d=c(10476),e=c(64565),f=c(82945),g=c(83433);let h=e.forwardRef((a,b)=>e.createElement(f.A,{ref:b,...a,weights:g.A}));h.displayName="CheckCircleIcon";var i=c(62052),j=c(44100);let k={done:"Done",warn:"Attention",run:"Running",idle:"Idle","lvl-info":"INFO","lvl-ok":"OK","lvl-warn":"WARN","lvl-err":"ERR"},l={done:"bg-ok-bg text-ok",warn:"bg-warn-bg text-warn",run:"bg-run-bg text-run",idle:"bg-black/5 text-ink-3 dark:bg-white/5","lvl-info":"bg-black/5 text-ink-3 dark:bg-white/5","lvl-ok":"bg-ok-bg text-ok","lvl-warn":"bg-warn-bg text-warn","lvl-err":"bg-warn-bg text-err"};function m({variant:a,label:b,icon:c,className:e=""}){let f=b??k[a],g=null;return void 0!==c?g=c:"done"===a?g=(0,d.jsx)(h,{size:11,weight:"regular"}):"warn"===a?g=(0,d.jsx)(i.N,{size:11,weight:"regular"}):"run"===a&&(g=(0,d.jsx)(j.A,{variant:"blue",size:"sm"})),(0,d.jsxs)("span",{className:`inline-flex h-[22px] items-center gap-1.5 rounded-[5px] px-2.5 text-[11px] font-medium leading-none ${l[a]} ${e}`,children:[g,f]})}},28160:(a,b,c)=>{c.d(b,{default:()=>m});var d=c(10476),e=c(64565),f=c(88831),g=c.n(f);function h({tabs:a,value:b,defaultValue:c,onChange:f,variant:g="inset"}){let[i,j]=(0,e.useState)(b??c??a[0].value),k=b??i,l="inset"===g?"bg-paper text-ink shadow-[0_1px_2px_rgba(0,0,0,0.06)]":"bg-ink text-canvas";return(0,d.jsx)("div",{className:`inline-flex gap-0.5 rounded-md p-[3px] ${"inset"===g?"bg-black/[0.05]":"bg-black/[0.04]"}`,role:"tablist",children:a.map(a=>{let c=a.value===k;return(0,d.jsxs)("button",{type:"button",role:"tab","aria-selected":c,onClick:()=>{void 0===b&&j(a.value),f?.(a.value)},className:`inline-flex h-[26px] items-center gap-1.5 rounded-[6px] border-0 px-3 text-[11.5px] font-medium leading-none transition-colors ${c?l:"bg-transparent text-ink-3 hover:text-ink-2"}`,children:[a.label,void 0!==a.count&&(0,d.jsx)("span",{className:`font-mono text-[10px] ${c?"opacity-85":"opacity-65"}`,children:a.count})]},a.value)})})}var i=c(22435),j=c(91003),k=c(1887);let l=[{value:"All",label:"All"},{value:"Running",label:"Running"},{value:"Failed",label:"Failed"}];function m({jobs:a,agents:b,agentId:c}){let[f,o]=(0,e.useState)("All"),[p,q]=(0,e.useState)(""),r=(0,e.useMemo)(()=>new Map(b.map(a=>[a.id,a])),[b]),s=(0,e.useMemo)(()=>{let b=c?a.filter(a=>a.agentId===c):a;if("Running"===f?b=b.filter(a=>{let b=a.status??"";return"processing"===b||"pending"===b||b.startsWith("awaiting")}):"Failed"===f&&(b=b.filter(a=>"failed"===a.status||"cancelled"===a.status)),p.trim()){let a=p.toLowerCase();b=b.filter(b=>{let c=b.agentId?r.get(b.agentId)?.name??"":"";return b.task.toLowerCase().includes(a)||c.toLowerCase().includes(a)||b.channel.toLowerCase().includes(a)})}return b},[a,c,f,p,r]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"mb-3.5 flex flex-wrap items-center gap-2.5",children:[(0,d.jsx)(h,{tabs:l,defaultValue:"All",variant:"dark-active",onChange:a=>o(a)}),(0,d.jsxs)("div",{className:"ml-auto flex h-[34px] min-w-[240px] items-center gap-2 rounded-md border border-rule-2 bg-paper px-3 text-[12.5px] text-ink-4",children:[(0,d.jsx)(k.e,{size:13,className:"shrink-0"}),(0,d.jsx)("input",{type:"search",value:p,onChange:a=>q(a.target.value),placeholder:"Search by task or agent…",className:"flex-1 border-0 bg-transparent text-[13px] leading-none text-ink outline-none placeholder:text-ink-4"})]})]}),(0,d.jsx)("div",{className:"overflow-hidden rounded-2xl border border-rule-2 bg-paper",children:0===s.length?(0,d.jsx)("div",{className:"px-6 py-12 text-center text-[13px] text-ink-4",children:0===a.length?"No runs yet. Use the form above to send your first task to an agent.":"No runs match the current filter."}):(0,d.jsx)("div",{className:"overflow-x-auto",children:(0,d.jsxs)("table",{className:"w-full border-collapse text-sm",children:[(0,d.jsx)("thead",{children:(0,d.jsxs)("tr",{children:[(0,d.jsx)(n,{children:"Agent"}),(0,d.jsx)(n,{children:"Task"}),(0,d.jsx)(n,{className:"hidden md:table-cell",children:"Channel"}),(0,d.jsx)(n,{className:"hidden lg:table-cell",children:"Started"}),(0,d.jsx)(n,{align:"right",children:"Status"})]})}),(0,d.jsx)("tbody",{children:s.map(a=>{var b,c,e,f;let h=a.agentId?r.get(a.agentId):null,k="completed"===(b=a.status)?"done":"failed"===b||"cancelled"===b?"warn":"processing"===b||"pending"===b||b?.startsWith("awaiting")?"run":"idle";return(0,d.jsxs)("tr",{className:"border-b border-dashed border-rule-2 last:border-0 hover:bg-hover transition-colors",children:[(0,d.jsx)("td",{className:"px-[18px] py-3 align-middle",children:h?(0,d.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,d.jsx)(j.A,{name:h.name,imageUrl:h.avatarUrl,size:"md",shape:"round"}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"truncate text-[13px] font-medium leading-[1.2] text-ink",children:h.name}),(0,d.jsx)("div",{className:"truncate font-mono text-[10px] leading-none text-ink-4",children:h.slug})]})]}):(0,d.jsx)("span",{className:"font-mono text-[11px] text-ink-4",children:"—"})}),(0,d.jsx)("td",{className:"max-w-[320px] px-[18px] py-3 align-middle",children:(0,d.jsx)(g(),{href:`/jobs/${a.id}`,className:"line-clamp-1 text-[13px] text-ink-2 hover:text-ink transition-colors",title:a.task,children:(c=a.task).length>72?c.slice(0,72)+"…":c})}),(0,d.jsx)("td",{className:"hidden px-[18px] py-3 align-middle font-mono text-[11px] text-ink-4 md:table-cell",children:a.channel}),(0,d.jsx)("td",{className:"hidden px-[18px] py-3 align-middle font-mono text-[11px] text-ink-4 lg:table-cell",children:(e=a.createdAt)?("string"==typeof e?new Date(e):e).toLocaleString(void 0,{weekday:"short",hour:"2-digit",minute:"2-digit"}):"—"}),(0,d.jsx)("td",{className:"px-[18px] py-3 align-middle text-right",children:(0,d.jsx)(i.A,{variant:k,label:(f=a.status)?({pending:"Pending",processing:"Running",completed:"Done",failed:"Failed",awaiting_approval:"Awaiting",awaiting_delegation:"Awaiting",cancelled:"Cancelled"})[f]??f:"Pending"})})]},a.id)})})]})})})]})}function n({children:a,align:b="left",className:c=""}){return(0,d.jsx)("th",{className:`border-b border-rule-2 px-[18px] pt-1.5 pb-2.5 font-mono text-[9.5px] font-normal whitespace-nowrap uppercase tracking-[0.16em] text-ink-4 ${"right"===b?"text-right":"text-left"} ${c}`,children:a})}},62052:(a,b,c)=>{c.d(b,{N:()=>h});var d=c(64565),e=c(82945);let f=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),d.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),g=d.forwardRef((a,b)=>d.createElement(e.A,{ref:b,...a,weights:f}));g.displayName="WarningIcon";let h=g},82945:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(64565);let e=d.forwardRef((a,b)=>{let{alt:c,color:e="currentColor",size:f="1em",weight:g="regular",mirrored:h=!1,children:i,weights:j,...k}=a;return d.createElement("svg",{ref:b,xmlns:"http://www.w3.org/2000/svg",width:f,height:f,fill:e,viewBox:"0 0 256 256",transform:h?"scale(-1, 1)":void 0,...k},!!c&&d.createElement("title",null,c),i,j.get(g))});e.displayName="SSRBase"},83433:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(64565);let e=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),d.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]])},91003:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(10476),e=c(44155);let f={sm:{box:"h-6 w-6",text:"text-[9.5px]",px:24},md:{box:"h-[30px] w-[30px]",text:"text-[10.5px]",px:30},lg:{box:"h-[42px] w-[42px]",text:"text-[14px]",px:42}};function g({name:a,imageUrl:b,size:c="md",shape:h="round",className:i=""}){let j=f[c],k=`inline-flex shrink-0 items-center justify-center overflow-hidden bg-hover font-mono font-semibold tracking-[0.04em] text-ink-2 ${j.box} ${j.text} ${"round"===h?"rounded-full":"rounded-[8px]"} ${i}`;return b?(0,d.jsx)("span",{className:k,children:(0,d.jsx)(e.default,{src:b,alt:a,width:j.px,height:j.px,className:"h-full w-full object-cover"})}):(0,d.jsx)("span",{className:k,children:function(a){let b=a.trim();if(!b)return"?";let c=b.split(/\s+/);return c.length>=2?((c[0][0]??"")+(c[1][0]??"")).toUpperCase():b.slice(0,2).toUpperCase()}(a)})}}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=7231,exports.ids=[7231],exports.modules={2154:(a,b,c)=>{c.r(b),c.d(b,{"001118fec506a53ebafc1ac22aced98491da4c33fc":()=>d.pD,"0019568f0902d6686eef0bddd170218a9cd13a17a4":()=>d.Hy,"001bc4cd7d773c42f0abe430aa4938eb24e122f3ed":()=>d.BO,"002d53d8489f05c476e5f803a48c3614924142e2ad":()=>d.zh,"00311575d69fa9b60cf1588f7fa53c6d2500242cc1":()=>d.JD,"0048765ef4a5e8a333fbaa7a3760314bd20d23f015":()=>d.$z,"005448c2fdf7ea031fef0a9bb5d459d3f80ace4a01":()=>d.VZ,"0057a31536542015df37b9b6145037112758805486":()=>d.oA,"006500fa84da35180ad8b9f3415bb706d7347ebb68":()=>d.Ko,"006a72d5a5e11e139d3a629fbcceea11c7cd5c08da":()=>d.Ql,"0076075a5351358daf5440c7f69c63cad833707b88":()=>d.$5,"00aace867a6070eec006371aaaed42397c2785bfe6":()=>d.Le,"00ac3cfbc9ad58456e1c96ee7bbed8abd374cb9fb1":()=>d.dO,"00bb2c47dd550c0d9c909b5fb85756329ff7d9cea3":()=>d.oG,"00bd01420b7cbef1105228a0534621bafacec7779b":()=>d.Zz,"00ebe221f142ec550145255224d88d2cb96b772d57":()=>d.$4,"00faeafbce3e40c7196643c0d91e31e27e7d0588bd":()=>d.M3,"00fc10be23e1699b25c4b506e5f22f8f4a8306e915":()=>d.cj,"4003a311e8660fcf139991909c492b3bd2aad7fe7e":()=>d.Hp,"4003fcb873df0181574d42fb4bea2505b54e5ed549":()=>d.hl,"400539c555b2a3f2f29167cb5dec3c4dcc8fc2d2b2":()=>d.WH,"40065cb48ee796d72efbd9822168ea1e87a4cb36b6":()=>d.cu,"40071f10ccaf7f47f1aff1afc670b23b607d4036f7":()=>d.t3,"4009f2c76b78aa07f023a9dc32a2473dd3e025cb58":()=>d.e4,"40106e1cae696378c9f7f89b4d0cc511df13c968d3":()=>d.QT,"4011a0e49507079213b6ce631cd4903ec46942f9e1":()=>d.Ke,"401a9d0eede57ee72eff7a603fef0186534def2d16":()=>d.Mo,"401fb2fc43a246b86d42f57b7c4be4b6c300a83665":()=>d.f_,"40245a2e007dbf597e697c65a7beb167abca4eab76":()=>d.X1,"4028e336e8831dd6916335467985f84baa9e94eab6":()=>d.P7,"402954a3df2b9ee001c5800e517d091e054d42326f":()=>d.Rz,"402c4f6416df32089c620b7f64b97ca1064e785d79":()=>d.c6,"402d0472dc019335cd4c5fe97bebaeb18ad96af5ee":()=>d.cr,"40357e9b617de7a42a00d52bfc453c33b6f103ba73":()=>d.LN,"40372879d5da92091f87db2e88fc4d7cd3fa583f07":()=>d.oC,"403efba0f740b490b80e06367cb020a727cfe0efd9":()=>d.PH,"403f4b46d48174379803fe1c702be11cf63736ef46":()=>d.PD,"404505375417085440a1ea853c50f33e5723dbbf0f":()=>d.Og,"40555201ad9b6108567fd1e445b41bb86aa9c548db":()=>d.CV,"40590ff01cd1433bab93ae7eb66ebde0137b32b0a4":()=>d.ei,"405baecc1b1556260c43db88c1cbdea3f44aa47fea":()=>d.HO,"405da710852dfaf045979eb3bf4150d08015bfde18":()=>d.gE,"4060518a20de7e0d8a313a1b4a6bef1026af5fced1":()=>d.rf,"40636072bcb4efeb9d67f99498d3e984b1f52b51fc":()=>d.eP,"4068d449799d0839162c8c459eef6518ec3cec8eb1":()=>d.ZA,"406b65614d4cacc360468c40774fa06b20027069fe":()=>d._N,"4072660be3387fc94a2f35564292dc159448f98a7b":()=>d.hP,"40767bfec90d74a95e600d8e748e02d76eef253591":()=>d.xV,"408a1c1b6416b62e96523dd4e7ffcf5b12406ff7ce":()=>d.Cy,"408b4374239f76207d53f760182cb5fa1a0aa2c1b1":()=>d.fG,"4093b63348b2c91afebb7d849fe8684cfab209c898":()=>d.Sb,"40966b799f3997fdc3e28e08a3b7528a040b60e561":()=>d.Ro,"40968376cf71f09beaceb5af45c00b88be86871e29":()=>d.fI,"40973a7505dd99f7f4dacf03329c545e6232fdb414":()=>d.iu,"409f0187893df968935c2166f22e9dabae2abe4464":()=>d.UR,"409f4ab91df4d32671bf967344110ced9c96f10297":()=>d._x,"40a7f7bf4b0aeb563c1db894ceacea5e1dea08b2ce":()=>d.ZG,"40ab6014ab962aa75535b730138f33a7c194212b24":()=>d.lV,"40ada2c69823752e444b44b7c81e93fe8382e8c9ae":()=>d.TD,"40b115e61af8fe747478744e8f07874837f936874b":()=>d.Ev,"40b38a9c4fa75e580a3d3e1ebd8ba080128c87ec86":()=>d.EA,"40c4d9f44c5c83d4d994cb041dc39a2032fa1a66f6":()=>d.JH,"40cbf23b485b0477c2fbdcffc6fcd45c4e64dc7b69":()=>d.Wq,"40cf8c4d455e06e10c47377dcd0525b8b750528bf8":()=>d.S2,"40d8a7cf9d32867c652a507e7e79627a989e33f8b7":()=>d.y4,"40db892b53bab82020950fb6c30d9c7508bd5ce3aa":()=>d.rv,"40dc3ad156374b24f4932c45c207a6b5ded0fafe31":()=>d.fl,"40dd345d903fe6038aa991e0d968ff178175882e76":()=>d.Sh,"40dfa1a88b09411e717b886e57790a314b93d531cb":()=>d.By,"40ecb72d2da458a2330753fee3e93712648aaccff0":()=>d.rT,"40ed173541653487cad77e8d24aa71717dda4514fd":()=>d.Jb,"40f886db2aa6738396c9820d79573481e8094556fe":()=>d.bN,"40f91faf74d47eaf54ef1581686fdb3d9c75750615":()=>d.AS,"40f9451906485ec5f95da3d81bbf331d881b1122f2":()=>d.iU,"40ff895a5d4055dd297090905f6cc38c251f57f966":()=>d.pu,"602e220c0c1799f123879c32ef57a75671b75d54dc":()=>d.f2,"60387ec0d39228d66c460aac5516bbad2b8106ba4e":()=>d.qo,"604e81f2153543d44bfbe02554eee33fe9c7eb41b6":()=>d.c2,"60524bd713205b07644a694f98b443e218cba53d69":()=>d.Ru,"60828079bdf7ac1433de3e057d76fdc01ba138233a":()=>d.dd,"60aec87a5bf59e09f43f85105b3e58327f98feb9e8":()=>d.yU,"60d33abe965baee12ec705d093bdd07654d00f0e22":()=>d.vu,"60f81a329cff55c862f755a177ae79c649aa3918e9":()=>d.wI,"708a8804d4c430873c5b65db43c98c43242eedaa68":()=>d.Oc,"70c07e81341877e5e3d66c5a105d95552fec935b4b":()=>d.z_,"70ee6bc3c68327436b7c4c9a6a288eb852a0c29082":()=>d.ch,"70fc0d769386dec2ad11c3269f562ca2c1e2871493":()=>d.Jc,"7804a10eab6db5a571bf689eb41c33f0ea7e323820":()=>d.wj,"78387ce7c2490d9e4084990b4dcfdc1611724686e5":()=>d.AH});var d=c(5786)},60546:(a,b,c)=>{c.d(b,{A:()=>p});var d=c(99386),e=c(62659),f=c(83451);let g=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),e.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),h=e.forwardRef((a,b)=>e.createElement(f.A,{ref:b,...a,weights:g}));h.displayName="CheckCircleIcon";let i=new Map([["bold",e.createElement(e.Fragment,null,e.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",e.createElement(e.Fragment,null,e.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),e.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",e.createElement(e.Fragment,null,e.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",e.createElement(e.Fragment,null,e.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",e.createElement(e.Fragment,null,e.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",e.createElement(e.Fragment,null,e.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),j=e.forwardRef((a,b)=>e.createElement(f.A,{ref:b,...a,weights:i}));j.displayName="WarningIcon";let k={ok:"bg-ok",lime:"bg-agent-vivid",coral:"bg-skill-vivid",blue:"bg-conn-vivid"},l={ok:"animate-[blip_1.4s_ease-out_infinite]",lime:"animate-[blip-lime_1.5s_ease-out_infinite]",coral:"animate-[blip-coral_1.4s_ease-out_infinite]",blue:"animate-[blip-blue_1.4s_ease-out_infinite]"};function m({variant:a="ok",size:b="sm",animate:c=!0,className:e=""}){return(0,d.jsx)("span",{className:`inline-block shrink-0 rounded-full ${"sm"===b?"h-[7px] w-[7px]":"h-2 w-2"} ${k[a]} ${c?l[a]:""} ${e}`})}let n={done:"Done",warn:"Attention",run:"Running",idle:"Idle","lvl-info":"INFO","lvl-ok":"OK","lvl-warn":"WARN","lvl-err":"ERR"},o={done:"bg-ok-bg text-ok",warn:"bg-warn-bg text-warn",run:"bg-run-bg text-run",idle:"bg-black/5 text-ink-3 dark:bg-white/5","lvl-info":"bg-black/5 text-ink-3 dark:bg-white/5","lvl-ok":"bg-ok-bg text-ok","lvl-warn":"bg-warn-bg text-warn","lvl-err":"bg-warn-bg text-err"};function p({variant:a,label:b,icon:c,className:e=""}){let f=b??n[a],g=null;return void 0!==c?g=c:"done"===a?g=(0,d.jsx)(h,{size:11,weight:"regular"}):"warn"===a?g=(0,d.jsx)(j,{size:11,weight:"regular"}):"run"===a&&(g=(0,d.jsx)(m,{variant:"blue",size:"sm"})),(0,d.jsxs)("span",{className:`inline-flex h-[22px] items-center gap-1.5 rounded-[5px] px-2.5 text-[11px] font-medium leading-none ${o[a]} ${e}`,children:[g,f]})}}};