@orgsdk/cli 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (419) hide show
  1. package/LICENSE +122 -0
  2. package/README.md +81 -2
  3. package/bin/configuration.mjs +60 -0
  4. package/bin/options.mjs +122 -0
  5. package/bin/orgsdk.mjs +97 -0
  6. package/bin/supervision.mjs +157 -0
  7. package/dist/THIRD_PARTY_NOTICES.txt +278 -0
  8. package/dist/runtime/LICENSE +122 -0
  9. package/dist/runtime/PROVENANCE.md +15 -0
  10. package/dist/runtime/README.md +114 -0
  11. package/dist/runtime/cli-options.js +41 -0
  12. package/dist/runtime/cli.js +80 -0
  13. package/dist/runtime/client.js +116 -0
  14. package/dist/runtime/contract.js +102 -0
  15. package/dist/runtime/embedded-plugin-loader.mjs +56 -0
  16. package/dist/runtime/engine/plugins/namespace.js +157 -0
  17. package/dist/runtime/engine/plugins/types.js +0 -0
  18. package/dist/runtime/engine/retry.js +67 -0
  19. package/dist/runtime/engine/sandbox/context.js +115 -0
  20. package/dist/runtime/engine/sandbox/cpu-budget.js +16 -0
  21. package/dist/runtime/engine/sandbox/executor.js +196 -0
  22. package/dist/runtime/engine/sandbox/function-proxy.js +177 -0
  23. package/dist/runtime/engine/sandbox/index.js +6 -0
  24. package/dist/runtime/engine/sandbox/secret-refs.js +116 -0
  25. package/dist/runtime/engine/sandbox/trace.js +65 -0
  26. package/dist/runtime/engine/sandbox/transpile.js +51 -0
  27. package/dist/runtime/engine/sandbox/types.js +0 -0
  28. package/dist/runtime/engine/sandbox/validate.js +63 -0
  29. package/dist/runtime/engine/sandbox/webhook-handler.js +69 -0
  30. package/dist/runtime/engine/shared.js +14 -0
  31. package/dist/runtime/executor-configuration.js +44 -0
  32. package/dist/runtime/isolated-actions.js +188 -0
  33. package/dist/runtime/isolated-worker.js +232 -0
  34. package/dist/runtime/mcp/aliases.js +29 -0
  35. package/dist/runtime/mcp/client.js +239 -0
  36. package/dist/runtime/mcp/contract.js +57 -0
  37. package/dist/runtime/mcp/functions.js +40 -0
  38. package/dist/runtime/mcp/network.js +61 -0
  39. package/dist/runtime/mcp/schema-types.js +35 -0
  40. package/dist/runtime/mcp/transport.js +18 -0
  41. package/dist/runtime/package-dependencies.js +144 -0
  42. package/dist/runtime/package-plugin.js +151 -0
  43. package/dist/runtime/plugin-module.js +22 -0
  44. package/dist/runtime/plugin-store.js +159 -0
  45. package/dist/runtime/plugins.js +124 -0
  46. package/dist/runtime/process-runtime.js +72 -0
  47. package/dist/runtime/project-data.js +97 -0
  48. package/dist/runtime/project-files.js +259 -0
  49. package/dist/runtime/register-executor.js +23 -0
  50. package/dist/runtime/runner.js +239 -0
  51. package/dist/runtime/sdk-declarations.js +204 -0
  52. package/dist/runtime/session-job-contract.js +29 -0
  53. package/dist/runtime/session-job.js +256 -0
  54. package/dist/runtime/session-plugin-call.js +33 -0
  55. package/dist/runtime/sessions/cell-request.js +79 -0
  56. package/dist/runtime/sessions/compiler/analysis.js +86 -0
  57. package/dist/runtime/sessions/compiler/binding-pattern.js +35 -0
  58. package/dist/runtime/sessions/compiler/bindings.js +60 -0
  59. package/dist/runtime/sessions/compiler/emit.js +111 -0
  60. package/dist/runtime/sessions/compiler/references.js +62 -0
  61. package/dist/runtime/sessions/compiler/source-policy.js +62 -0
  62. package/dist/runtime/sessions/compiler.js +34 -0
  63. package/dist/runtime/sessions/configuration.js +68 -0
  64. package/dist/runtime/sessions/events.js +72 -0
  65. package/dist/runtime/sessions/execute-cell.js +80 -0
  66. package/dist/runtime/sessions/function-broker.js +78 -0
  67. package/dist/runtime/sessions/index.js +9 -0
  68. package/dist/runtime/sessions/journal.js +86 -0
  69. package/dist/runtime/sessions/kernel.js +142 -0
  70. package/dist/runtime/sessions/manager.js +155 -0
  71. package/dist/runtime/sessions/process.js +209 -0
  72. package/dist/runtime/sessions/records.js +61 -0
  73. package/dist/runtime/sessions/redaction.js +33 -0
  74. package/dist/runtime/sessions/scope.js +46 -0
  75. package/dist/runtime/sessions/session-runtime.js +155 -0
  76. package/dist/runtime/sessions/types.js +12 -0
  77. package/dist/runtime/sessions/values.js +40 -0
  78. package/dist/runtime/sessions/worker-guard.js +20 -0
  79. package/dist/runtime/sessions/worker.js +81 -0
  80. package/dist/runtime/spawn-job.js +69 -0
  81. package/dist/runtime/supervisor.js +224 -0
  82. package/dist/runtime/validate-code.js +114 -0
  83. package/dist/runtime/worker.js +57 -0
  84. package/dist/server/bun-driver-DTZUUCI3.js +20 -0
  85. package/dist/server/chunk-S5SFX3JM.js +709 -0
  86. package/dist/server/index.js +9830 -0
  87. package/dist/server/migrations/0000_initial.sql +436 -0
  88. package/dist/server/migrations/0001_queue_indexes.sql +3 -0
  89. package/dist/server/migrations/0002_trpc_transport.sql +1 -0
  90. package/dist/server/migrations/0003_remote-mcp.sql +17 -0
  91. package/dist/server/migrations/meta/0000_snapshot.json +3233 -0
  92. package/dist/server/migrations/meta/0001_snapshot.json +3260 -0
  93. package/dist/server/migrations/meta/0002_snapshot.json +3262 -0
  94. package/dist/server/migrations/meta/0003_snapshot.json +3395 -0
  95. package/dist/server/migrations/meta/_journal.json +34 -0
  96. package/dist/server/node-driver-HDJKKWXQ.js +25 -0
  97. package/dist/server/out/192.png +0 -0
  98. package/dist/server/out/404/index.html +1 -0
  99. package/dist/server/out/404.html +1 -0
  100. package/dist/server/out/512.png +0 -0
  101. package/dist/server/out/LICENSE.txt +122 -0
  102. package/dist/server/out/__next.!KHdvcmtzcGFjZSk.__PAGE__.txt +35 -0
  103. package/dist/server/out/__next._full.txt +29 -0
  104. package/dist/server/out/__next._tree.txt +4 -0
  105. package/dist/server/out/_next/static/-qfuCDzkIvBZY_UFsMHnB/_buildManifest.js +11 -0
  106. package/dist/server/out/_next/static/-qfuCDzkIvBZY_UFsMHnB/_clientMiddlewareManifest.js +1 -0
  107. package/dist/server/out/_next/static/-qfuCDzkIvBZY_UFsMHnB/_ssgManifest.js +1 -0
  108. package/dist/server/out/_next/static/chunks/0ay0b1lpy734z.js +1 -0
  109. package/dist/server/out/_next/static/chunks/0c-3k17txbh0-.js +1 -0
  110. package/dist/server/out/_next/static/chunks/0cwfl2xanfapu.js +1 -0
  111. package/dist/server/out/_next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  112. package/dist/server/out/_next/static/chunks/0e7s8ie0wlk66.js +1 -0
  113. package/dist/server/out/_next/static/chunks/0ey-6hb0za4r_.js +1 -0
  114. package/dist/server/out/_next/static/chunks/0huhp5j8dlai8.js +1 -0
  115. package/dist/server/out/_next/static/chunks/0khjy8qh1ll42.js +1 -0
  116. package/dist/server/out/_next/static/chunks/0r0572w1rwpcv.js +1 -0
  117. package/dist/server/out/_next/static/chunks/0rlc9tihf4po6.css +1 -0
  118. package/dist/server/out/_next/static/chunks/0u_9k8f7709np.js +1 -0
  119. package/dist/server/out/_next/static/chunks/0w34iczo7r1v5.js +1 -0
  120. package/dist/server/out/_next/static/chunks/0y5lgqdwpeabb.js +402 -0
  121. package/dist/server/out/_next/static/chunks/0zfiikazg0_ga.js +1 -0
  122. package/dist/server/out/_next/static/chunks/1-75euysc3lin.js +22 -0
  123. package/dist/server/out/_next/static/chunks/10aam78qxauw0.js +1 -0
  124. package/dist/server/out/_next/static/chunks/12ro_nqb83zku.js +1 -0
  125. package/dist/server/out/_next/static/chunks/19ue6x5c3f_38.js +3 -0
  126. package/dist/server/out/_next/static/chunks/1c1ayx3fqtub5.js +31 -0
  127. package/dist/server/out/_next/static/chunks/1c2xcwifk3vhh.js +1 -0
  128. package/dist/server/out/_next/static/chunks/1dwr62uuyceq-.js +1 -0
  129. package/dist/server/out/_next/static/chunks/1fweh1ttncdlv.js +1 -0
  130. package/dist/server/out/_next/static/chunks/1iklteprcoims.js +1 -0
  131. package/dist/server/out/_next/static/chunks/1qaow7bdy3oid.js +1 -0
  132. package/dist/server/out/_next/static/chunks/1tnzhqkfwk7l8.js +1 -0
  133. package/dist/server/out/_next/static/chunks/1wn9ohqcnx8y8.js +3 -0
  134. package/dist/server/out/_next/static/chunks/1zieh-zxgxmcp.js +1 -0
  135. package/dist/server/out/_next/static/chunks/25qsan0t-_of0.js +1 -0
  136. package/dist/server/out/_next/static/chunks/26yareaaj1kyr.js +1 -0
  137. package/dist/server/out/_next/static/chunks/2bbfbmv0vf3j0.js +1 -0
  138. package/dist/server/out/_next/static/chunks/2bkkmnhngpacd.js +1 -0
  139. package/dist/server/out/_next/static/chunks/2e39uy7huhczu.js +1 -0
  140. package/dist/server/out/_next/static/chunks/2lxgam-nk-e9a.js +3 -0
  141. package/dist/server/out/_next/static/chunks/2navy2mx7--vk.js +55 -0
  142. package/dist/server/out/_next/static/chunks/2ngzwwqeitkk7.js +1 -0
  143. package/dist/server/out/_next/static/chunks/2rp65hq6bmpxv.js +1 -0
  144. package/dist/server/out/_next/static/chunks/2z60o39-yshg2.js +1 -0
  145. package/dist/server/out/_next/static/chunks/3_d6w25_b15kx.js +1 -0
  146. package/dist/server/out/_next/static/chunks/3d8gkwu9nszjk.js +1 -0
  147. package/dist/server/out/_next/static/chunks/3l-16g1y6k5rs.js +1 -0
  148. package/dist/server/out/_next/static/chunks/3obu_9-ka7u_h.js +1 -0
  149. package/dist/server/out/_next/static/chunks/3u7q5w03st-rs.js +1 -0
  150. package/dist/server/out/_next/static/chunks/3xs2ji0dgkbmc.js +1 -0
  151. package/dist/server/out/_next/static/chunks/turbopack-2u1d16houkiyo.js +1 -0
  152. package/dist/server/out/_not-found/__next._full.txt +21 -0
  153. package/dist/server/out/_not-found/__next._not-found.__PAGE__.txt +27 -0
  154. package/dist/server/out/_not-found/__next._tree.txt +4 -0
  155. package/dist/server/out/_not-found/index.html +1 -0
  156. package/dist/server/out/_not-found/index.txt +21 -0
  157. package/dist/server/out/accounts/2fa/__next._full.txt +26 -0
  158. package/dist/server/out/accounts/2fa/__next._tree.txt +5 -0
  159. package/dist/server/out/accounts/2fa/__next.accounts.2fa.__PAGE__.txt +33 -0
  160. package/dist/server/out/accounts/2fa/index.html +1 -0
  161. package/dist/server/out/accounts/2fa/index.txt +26 -0
  162. package/dist/server/out/accounts/email/__next._full.txt +26 -0
  163. package/dist/server/out/accounts/email/__next._tree.txt +5 -0
  164. package/dist/server/out/accounts/email/__next.accounts.email.__PAGE__.txt +33 -0
  165. package/dist/server/out/accounts/email/index.html +1 -0
  166. package/dist/server/out/accounts/email/index.txt +26 -0
  167. package/dist/server/out/accounts/login/__next._full.txt +26 -0
  168. package/dist/server/out/accounts/login/__next._tree.txt +5 -0
  169. package/dist/server/out/accounts/login/__next.accounts.login.__PAGE__.txt +33 -0
  170. package/dist/server/out/accounts/login/index.html +1 -0
  171. package/dist/server/out/accounts/login/index.txt +26 -0
  172. package/dist/server/out/accounts/logout/__next._full.txt +26 -0
  173. package/dist/server/out/accounts/logout/__next._tree.txt +5 -0
  174. package/dist/server/out/accounts/logout/__next.accounts.logout.__PAGE__.txt +33 -0
  175. package/dist/server/out/accounts/logout/index.html +1 -0
  176. package/dist/server/out/accounts/logout/index.txt +26 -0
  177. package/dist/server/out/accounts/password/change/__next._full.txt +27 -0
  178. package/dist/server/out/accounts/password/change/__next._tree.txt +6 -0
  179. package/dist/server/out/accounts/password/change/__next.accounts.password.change.__PAGE__.txt +35 -0
  180. package/dist/server/out/accounts/password/change/index.html +1 -0
  181. package/dist/server/out/accounts/password/change/index.txt +27 -0
  182. package/dist/server/out/accounts/password/reset/__next._full.txt +25 -0
  183. package/dist/server/out/accounts/password/reset/__next._tree.txt +6 -0
  184. package/dist/server/out/accounts/password/reset/__next.accounts.password.reset.__PAGE__.txt +33 -0
  185. package/dist/server/out/accounts/password/reset/index.html +1 -0
  186. package/dist/server/out/accounts/password/reset/index.txt +25 -0
  187. package/dist/server/out/accounts/signup/__next._full.txt +26 -0
  188. package/dist/server/out/accounts/signup/__next._tree.txt +5 -0
  189. package/dist/server/out/accounts/signup/__next.accounts.signup.__PAGE__.txt +33 -0
  190. package/dist/server/out/accounts/signup/index.html +1 -0
  191. package/dist/server/out/accounts/signup/index.txt +26 -0
  192. package/dist/server/out/actions/__next.!KHdvcmtzcGFjZSk.actions.__PAGE__.txt +44 -0
  193. package/dist/server/out/actions/__next._full.txt +37 -0
  194. package/dist/server/out/actions/__next._tree.txt +5 -0
  195. package/dist/server/out/actions/index.html +1 -0
  196. package/dist/server/out/actions/index.txt +37 -0
  197. package/dist/server/out/agents/__next.!KHdvcmtzcGFjZSk.agents.__PAGE__.txt +39 -0
  198. package/dist/server/out/agents/__next._full.txt +32 -0
  199. package/dist/server/out/agents/__next._tree.txt +5 -0
  200. package/dist/server/out/agents/index.html +1 -0
  201. package/dist/server/out/agents/index.txt +32 -0
  202. package/dist/server/out/app-icon.svg +7 -0
  203. package/dist/server/out/apple-touch-icon.png +0 -0
  204. package/dist/server/out/approvals/__next.!KHdvcmtzcGFjZSk.approvals.__PAGE__.txt +39 -0
  205. package/dist/server/out/approvals/__next._full.txt +32 -0
  206. package/dist/server/out/approvals/__next._tree.txt +5 -0
  207. package/dist/server/out/approvals/index.html +1 -0
  208. package/dist/server/out/approvals/index.txt +32 -0
  209. package/dist/server/out/artifacts/__next.!KHdvcmtzcGFjZSk.artifacts.__PAGE__.txt +41 -0
  210. package/dist/server/out/artifacts/__next._full.txt +34 -0
  211. package/dist/server/out/artifacts/__next._tree.txt +5 -0
  212. package/dist/server/out/artifacts/index.html +1 -0
  213. package/dist/server/out/artifacts/index.txt +34 -0
  214. package/dist/server/out/audit/__next.!KHdvcmtzcGFjZSk.audit.__PAGE__.txt +36 -0
  215. package/dist/server/out/audit/__next._full.txt +29 -0
  216. package/dist/server/out/audit/__next._tree.txt +5 -0
  217. package/dist/server/out/audit/index.html +1 -0
  218. package/dist/server/out/audit/index.txt +29 -0
  219. package/dist/server/out/brand/logo/README.md +92 -0
  220. package/dist/server/out/brand/logo/app-icon.svg +7 -0
  221. package/dist/server/out/brand/logo/favicon.svg +8 -0
  222. package/dist/server/out/brand/logo/fonts/Inter-Bold.ttf +0 -0
  223. package/dist/server/out/brand/logo/fonts/Inter-Regular.ttf +0 -0
  224. package/dist/server/out/brand/logo/lockup-dark.svg +11 -0
  225. package/dist/server/out/brand/logo/lockup-integrated.svg +14 -0
  226. package/dist/server/out/brand/logo/lockup-light.svg +11 -0
  227. package/dist/server/out/brand/logo/og-image.svg +20 -0
  228. package/dist/server/out/brand/logo/primary-solid.svg +6 -0
  229. package/dist/server/out/brand/logo/primary.svg +7 -0
  230. package/dist/server/out/brand/logo/raster/banner-1500x500.png +0 -0
  231. package/dist/server/out/brand/logo/raster/profile-1024.png +0 -0
  232. package/dist/server/out/brand/logo/raster/profile-512.png +0 -0
  233. package/dist/server/out/brand/logo/raster/square-1080.png +0 -0
  234. package/dist/server/out/brand/tokens.md +74 -0
  235. package/dist/server/out/chat/__next.!KHdvcmtzcGFjZSk.chat.__PAGE__.txt +35 -0
  236. package/dist/server/out/chat/__next._full.txt +28 -0
  237. package/dist/server/out/chat/__next._tree.txt +5 -0
  238. package/dist/server/out/chat/index.html +1 -0
  239. package/dist/server/out/chat/index.txt +28 -0
  240. package/dist/server/out/connections/__next.!KHdvcmtzcGFjZSk.connections.__PAGE__.txt +39 -0
  241. package/dist/server/out/connections/__next._full.txt +32 -0
  242. package/dist/server/out/connections/__next._tree.txt +5 -0
  243. package/dist/server/out/connections/index.html +1 -0
  244. package/dist/server/out/connections/index.txt +32 -0
  245. package/dist/server/out/credentials/__next.!KHdvcmtzcGFjZSk.credentials.__PAGE__.txt +40 -0
  246. package/dist/server/out/credentials/__next._full.txt +33 -0
  247. package/dist/server/out/credentials/__next._tree.txt +5 -0
  248. package/dist/server/out/credentials/index.html +1 -0
  249. package/dist/server/out/credentials/index.txt +33 -0
  250. package/dist/server/out/documents/__next.!KHdvcmtzcGFjZSk.documents.__PAGE__.txt +39 -0
  251. package/dist/server/out/documents/__next._full.txt +32 -0
  252. package/dist/server/out/documents/__next._tree.txt +5 -0
  253. package/dist/server/out/documents/index.html +1 -0
  254. package/dist/server/out/documents/index.txt +32 -0
  255. package/dist/server/out/favicon.ico +0 -0
  256. package/dist/server/out/favicon.svg +8 -0
  257. package/dist/server/out/index.html +1 -0
  258. package/dist/server/out/index.txt +29 -0
  259. package/dist/server/out/logo.svg +12 -0
  260. package/dist/server/out/monaco/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  261. package/dist/server/out/monaco/vs/base/worker/workerMain.js +31 -0
  262. package/dist/server/out/monaco/vs/basic-languages/abap/abap.js +10 -0
  263. package/dist/server/out/monaco/vs/basic-languages/apex/apex.js +10 -0
  264. package/dist/server/out/monaco/vs/basic-languages/azcli/azcli.js +10 -0
  265. package/dist/server/out/monaco/vs/basic-languages/bat/bat.js +10 -0
  266. package/dist/server/out/monaco/vs/basic-languages/bicep/bicep.js +11 -0
  267. package/dist/server/out/monaco/vs/basic-languages/cameligo/cameligo.js +10 -0
  268. package/dist/server/out/monaco/vs/basic-languages/clojure/clojure.js +10 -0
  269. package/dist/server/out/monaco/vs/basic-languages/coffee/coffee.js +10 -0
  270. package/dist/server/out/monaco/vs/basic-languages/cpp/cpp.js +10 -0
  271. package/dist/server/out/monaco/vs/basic-languages/csharp/csharp.js +10 -0
  272. package/dist/server/out/monaco/vs/basic-languages/csp/csp.js +10 -0
  273. package/dist/server/out/monaco/vs/basic-languages/css/css.js +12 -0
  274. package/dist/server/out/monaco/vs/basic-languages/cypher/cypher.js +10 -0
  275. package/dist/server/out/monaco/vs/basic-languages/dart/dart.js +10 -0
  276. package/dist/server/out/monaco/vs/basic-languages/dockerfile/dockerfile.js +10 -0
  277. package/dist/server/out/monaco/vs/basic-languages/ecl/ecl.js +10 -0
  278. package/dist/server/out/monaco/vs/basic-languages/elixir/elixir.js +10 -0
  279. package/dist/server/out/monaco/vs/basic-languages/flow9/flow9.js +10 -0
  280. package/dist/server/out/monaco/vs/basic-languages/freemarker2/freemarker2.js +12 -0
  281. package/dist/server/out/monaco/vs/basic-languages/fsharp/fsharp.js +10 -0
  282. package/dist/server/out/monaco/vs/basic-languages/go/go.js +10 -0
  283. package/dist/server/out/monaco/vs/basic-languages/graphql/graphql.js +10 -0
  284. package/dist/server/out/monaco/vs/basic-languages/handlebars/handlebars.js +10 -0
  285. package/dist/server/out/monaco/vs/basic-languages/hcl/hcl.js +10 -0
  286. package/dist/server/out/monaco/vs/basic-languages/html/html.js +10 -0
  287. package/dist/server/out/monaco/vs/basic-languages/ini/ini.js +10 -0
  288. package/dist/server/out/monaco/vs/basic-languages/java/java.js +10 -0
  289. package/dist/server/out/monaco/vs/basic-languages/javascript/javascript.js +10 -0
  290. package/dist/server/out/monaco/vs/basic-languages/julia/julia.js +10 -0
  291. package/dist/server/out/monaco/vs/basic-languages/kotlin/kotlin.js +10 -0
  292. package/dist/server/out/monaco/vs/basic-languages/less/less.js +11 -0
  293. package/dist/server/out/monaco/vs/basic-languages/lexon/lexon.js +10 -0
  294. package/dist/server/out/monaco/vs/basic-languages/liquid/liquid.js +10 -0
  295. package/dist/server/out/monaco/vs/basic-languages/lua/lua.js +10 -0
  296. package/dist/server/out/monaco/vs/basic-languages/m3/m3.js +10 -0
  297. package/dist/server/out/monaco/vs/basic-languages/markdown/markdown.js +10 -0
  298. package/dist/server/out/monaco/vs/basic-languages/mdx/mdx.js +10 -0
  299. package/dist/server/out/monaco/vs/basic-languages/mips/mips.js +10 -0
  300. package/dist/server/out/monaco/vs/basic-languages/msdax/msdax.js +10 -0
  301. package/dist/server/out/monaco/vs/basic-languages/mysql/mysql.js +10 -0
  302. package/dist/server/out/monaco/vs/basic-languages/objective-c/objective-c.js +10 -0
  303. package/dist/server/out/monaco/vs/basic-languages/pascal/pascal.js +10 -0
  304. package/dist/server/out/monaco/vs/basic-languages/pascaligo/pascaligo.js +10 -0
  305. package/dist/server/out/monaco/vs/basic-languages/perl/perl.js +10 -0
  306. package/dist/server/out/monaco/vs/basic-languages/pgsql/pgsql.js +10 -0
  307. package/dist/server/out/monaco/vs/basic-languages/php/php.js +10 -0
  308. package/dist/server/out/monaco/vs/basic-languages/pla/pla.js +10 -0
  309. package/dist/server/out/monaco/vs/basic-languages/postiats/postiats.js +10 -0
  310. package/dist/server/out/monaco/vs/basic-languages/powerquery/powerquery.js +10 -0
  311. package/dist/server/out/monaco/vs/basic-languages/powershell/powershell.js +10 -0
  312. package/dist/server/out/monaco/vs/basic-languages/protobuf/protobuf.js +11 -0
  313. package/dist/server/out/monaco/vs/basic-languages/pug/pug.js +10 -0
  314. package/dist/server/out/monaco/vs/basic-languages/python/python.js +10 -0
  315. package/dist/server/out/monaco/vs/basic-languages/qsharp/qsharp.js +10 -0
  316. package/dist/server/out/monaco/vs/basic-languages/r/r.js +10 -0
  317. package/dist/server/out/monaco/vs/basic-languages/razor/razor.js +10 -0
  318. package/dist/server/out/monaco/vs/basic-languages/redis/redis.js +10 -0
  319. package/dist/server/out/monaco/vs/basic-languages/redshift/redshift.js +10 -0
  320. package/dist/server/out/monaco/vs/basic-languages/restructuredtext/restructuredtext.js +10 -0
  321. package/dist/server/out/monaco/vs/basic-languages/ruby/ruby.js +10 -0
  322. package/dist/server/out/monaco/vs/basic-languages/rust/rust.js +10 -0
  323. package/dist/server/out/monaco/vs/basic-languages/sb/sb.js +10 -0
  324. package/dist/server/out/monaco/vs/basic-languages/scala/scala.js +10 -0
  325. package/dist/server/out/monaco/vs/basic-languages/scheme/scheme.js +10 -0
  326. package/dist/server/out/monaco/vs/basic-languages/scss/scss.js +12 -0
  327. package/dist/server/out/monaco/vs/basic-languages/shell/shell.js +10 -0
  328. package/dist/server/out/monaco/vs/basic-languages/solidity/solidity.js +10 -0
  329. package/dist/server/out/monaco/vs/basic-languages/sophia/sophia.js +10 -0
  330. package/dist/server/out/monaco/vs/basic-languages/sparql/sparql.js +10 -0
  331. package/dist/server/out/monaco/vs/basic-languages/sql/sql.js +10 -0
  332. package/dist/server/out/monaco/vs/basic-languages/st/st.js +10 -0
  333. package/dist/server/out/monaco/vs/basic-languages/swift/swift.js +13 -0
  334. package/dist/server/out/monaco/vs/basic-languages/systemverilog/systemverilog.js +10 -0
  335. package/dist/server/out/monaco/vs/basic-languages/tcl/tcl.js +10 -0
  336. package/dist/server/out/monaco/vs/basic-languages/twig/twig.js +10 -0
  337. package/dist/server/out/monaco/vs/basic-languages/typescript/typescript.js +10 -0
  338. package/dist/server/out/monaco/vs/basic-languages/typespec/typespec.js +10 -0
  339. package/dist/server/out/monaco/vs/basic-languages/vb/vb.js +10 -0
  340. package/dist/server/out/monaco/vs/basic-languages/wgsl/wgsl.js +307 -0
  341. package/dist/server/out/monaco/vs/basic-languages/xml/xml.js +10 -0
  342. package/dist/server/out/monaco/vs/basic-languages/yaml/yaml.js +10 -0
  343. package/dist/server/out/monaco/vs/editor/editor.main.css +8 -0
  344. package/dist/server/out/monaco/vs/editor/editor.main.js +798 -0
  345. package/dist/server/out/monaco/vs/language/css/cssMode.js +13 -0
  346. package/dist/server/out/monaco/vs/language/css/cssWorker.js +77 -0
  347. package/dist/server/out/monaco/vs/language/html/htmlMode.js +13 -0
  348. package/dist/server/out/monaco/vs/language/html/htmlWorker.js +454 -0
  349. package/dist/server/out/monaco/vs/language/json/jsonMode.js +19 -0
  350. package/dist/server/out/monaco/vs/language/json/jsonWorker.js +42 -0
  351. package/dist/server/out/monaco/vs/language/typescript/tsMode.js +20 -0
  352. package/dist/server/out/monaco/vs/language/typescript/tsWorker.js +51328 -0
  353. package/dist/server/out/monaco/vs/loader.js +11 -0
  354. package/dist/server/out/monaco/vs/nls.messages.de.js +21 -0
  355. package/dist/server/out/monaco/vs/nls.messages.es.js +21 -0
  356. package/dist/server/out/monaco/vs/nls.messages.fr.js +19 -0
  357. package/dist/server/out/monaco/vs/nls.messages.it.js +19 -0
  358. package/dist/server/out/monaco/vs/nls.messages.ja.js +21 -0
  359. package/dist/server/out/monaco/vs/nls.messages.ko.js +19 -0
  360. package/dist/server/out/monaco/vs/nls.messages.ru.js +21 -0
  361. package/dist/server/out/monaco/vs/nls.messages.zh-cn.js +21 -0
  362. package/dist/server/out/monaco/vs/nls.messages.zh-tw.js +19 -0
  363. package/dist/server/out/og-image.png +0 -0
  364. package/dist/server/out/people/__next.!KHdvcmtzcGFjZSk.people.__PAGE__.txt +39 -0
  365. package/dist/server/out/people/__next._full.txt +32 -0
  366. package/dist/server/out/people/__next._tree.txt +5 -0
  367. package/dist/server/out/people/index.html +1 -0
  368. package/dist/server/out/people/index.txt +32 -0
  369. package/dist/server/out/plugins/__next.!KHdvcmtzcGFjZSk.plugins.__PAGE__.txt +42 -0
  370. package/dist/server/out/plugins/__next._full.txt +35 -0
  371. package/dist/server/out/plugins/__next._tree.txt +5 -0
  372. package/dist/server/out/plugins/index.html +1 -0
  373. package/dist/server/out/plugins/index.txt +35 -0
  374. package/dist/server/out/projects/__next.!KHdvcmtzcGFjZSk.projects.__PAGE__.txt +39 -0
  375. package/dist/server/out/projects/__next._full.txt +32 -0
  376. package/dist/server/out/projects/__next._tree.txt +5 -0
  377. package/dist/server/out/projects/index.html +1 -0
  378. package/dist/server/out/projects/index.txt +32 -0
  379. package/dist/server/out/runs/__next.!KHdvcmtzcGFjZSk.runs.__PAGE__.txt +41 -0
  380. package/dist/server/out/runs/__next._full.txt +34 -0
  381. package/dist/server/out/runs/__next._tree.txt +5 -0
  382. package/dist/server/out/runs/index.html +1 -0
  383. package/dist/server/out/runs/index.txt +34 -0
  384. package/dist/server/out/schedules/__next.!KHdvcmtzcGFjZSk.schedules.__PAGE__.txt +41 -0
  385. package/dist/server/out/schedules/__next._full.txt +34 -0
  386. package/dist/server/out/schedules/__next._tree.txt +5 -0
  387. package/dist/server/out/schedules/index.html +1 -0
  388. package/dist/server/out/schedules/index.txt +34 -0
  389. package/dist/server/out/settings/__next.!KHdvcmtzcGFjZSk.settings.__PAGE__.txt +39 -0
  390. package/dist/server/out/settings/__next._full.txt +32 -0
  391. package/dist/server/out/settings/__next._tree.txt +5 -0
  392. package/dist/server/out/settings/index.html +1 -0
  393. package/dist/server/out/settings/index.txt +32 -0
  394. package/dist/server/out/setup/__next._full.txt +28 -0
  395. package/dist/server/out/setup/__next._tree.txt +4 -0
  396. package/dist/server/out/setup/__next.setup.__PAGE__.txt +34 -0
  397. package/dist/server/out/setup/index.html +1 -0
  398. package/dist/server/out/setup/index.txt +28 -0
  399. package/dist/server/out/tables/__next.!KHdvcmtzcGFjZSk.tables.__PAGE__.txt +36 -0
  400. package/dist/server/out/tables/__next._full.txt +29 -0
  401. package/dist/server/out/tables/__next._tree.txt +5 -0
  402. package/dist/server/out/tables/index.html +1 -0
  403. package/dist/server/out/tables/index.txt +29 -0
  404. package/dist/server/out/webhooks/__next.!KHdvcmtzcGFjZSk.webhooks.__PAGE__.txt +39 -0
  405. package/dist/server/out/webhooks/__next._full.txt +32 -0
  406. package/dist/server/out/webhooks/__next._tree.txt +5 -0
  407. package/dist/server/out/webhooks/index.html +1 -0
  408. package/dist/server/out/webhooks/index.txt +32 -0
  409. package/dist/server/out/workspaces/invite/__next._full.txt +29 -0
  410. package/dist/server/out/workspaces/invite/__next._tree.txt +5 -0
  411. package/dist/server/out/workspaces/invite/__next.workspaces.invite.__PAGE__.txt +36 -0
  412. package/dist/server/out/workspaces/invite/index.html +1 -0
  413. package/dist/server/out/workspaces/invite/index.txt +29 -0
  414. package/docs/browser-sessions.md +85 -0
  415. package/docs/npm-distribution.md +78 -0
  416. package/docs/remote-mcp.md +51 -0
  417. package/package.json +112 -4
  418. package/runtime/LICENSE +122 -0
  419. package/runtime/README.md +114 -0
@@ -0,0 +1,34 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "entries": [
5
+ {
6
+ "idx": 0,
7
+ "version": "6",
8
+ "when": 1793147826996,
9
+ "tag": "0000_initial",
10
+ "breakpoints": true
11
+ },
12
+ {
13
+ "idx": 1,
14
+ "version": "6",
15
+ "when": 1793147888078,
16
+ "tag": "0001_queue_indexes",
17
+ "breakpoints": true
18
+ },
19
+ {
20
+ "idx": 2,
21
+ "version": "6",
22
+ "when": 1793158961136,
23
+ "tag": "0002_trpc_transport",
24
+ "breakpoints": true
25
+ },
26
+ {
27
+ "idx": 3,
28
+ "version": "6",
29
+ "when": 1794026305054,
30
+ "tag": "0003_remote-mcp",
31
+ "breakpoints": true
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,25 @@
1
+ import {
2
+ schema_exports
3
+ } from "./chunk-S5SFX3JM.js";
4
+
5
+ // server/db/node-driver.ts
6
+ import Database from "better-sqlite3";
7
+ import { drizzle } from "drizzle-orm/better-sqlite3";
8
+ import { migrate } from "drizzle-orm/better-sqlite3/migrator";
9
+ function openDatabase(path, readonly = false) {
10
+ const client = new Database(path, { readonly, fileMustExist: readonly });
11
+ const db = drizzle(client, { schema: schema_exports });
12
+ const sqlite = {
13
+ exec: (sql) => client.exec(sql),
14
+ query: (sql) => client.prepare(sql),
15
+ close: () => client.close()
16
+ };
17
+ return {
18
+ sqlite,
19
+ db,
20
+ migrate: (migrationsFolder) => migrate(db, { migrationsFolder })
21
+ };
22
+ }
23
+ export {
24
+ openDatabase
25
+ };
Binary file
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><html lang="en-AU"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0rlc9tihf4po6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1c1ayx3fqtub5.js"/><script src="/_next/static/chunks/12ro_nqb83zku.js" async=""></script><script src="/_next/static/chunks/1tnzhqkfwk7l8.js" async=""></script><script src="/_next/static/chunks/1-75euysc3lin.js" async=""></script><script src="/_next/static/chunks/turbopack-2u1d16houkiyo.js" async=""></script><script src="/_next/static/chunks/2ngzwwqeitkk7.js" async=""></script><meta name="robots" content="noindex"/><meta name="theme-color" content="#4f46e5"/><title>OrgSDK</title><meta name="description" content="Agents, repeatable actions and observable execution."/><meta name="application-name" content="OrgSDK"/><meta name="robots" content="noindex, nofollow"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="icon" href="/favicon.svg?v=orbit-o" type="image/svg+xml"/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/1c1ayx3fqtub5.js","static/chunks/12ro_nqb83zku.js","static/chunks/1tnzhqkfwk7l8.js","static/chunks/1-75euysc3lin.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/1c1ayx3fqtub5.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/2ngzwwqeitkk7.js\"\n3:I[39756,[\"$2\"],\"default\"]\n4:I[37457,[\"$2\"],\"default\"]\n8:I[97367,[\"$2\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:\"ViewportBoundary\"\nc:I[97367,[\"$2\"],\"$b\"]\ne:\"MetadataBoundary\"\nf:I[97367,[\"$2\"],\"$e\"]\n11:I[68027,[\"$2\"],\"default\",1]\n:HL[\"/_next/static/chunks/0rlc9tihf4po6.css\",\"style\"]\n6:X\n7:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],\"p\":false,\"v\":null}}]]\n5:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$6\"},\"c\":\"$Q7\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0rlc9tihf4po6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2ngzwwqeitkk7.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en-AU\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q5\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"$Lf\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}],null]}],null]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$11\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0rlc9tihf4po6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"-qfuCDzkIvBZY_UFsMHnB\"}\n6:C\nd:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#4f46e5\"}]]\n12:I[27201,[\"$2\"],\"IconMark\"]\na:null\n10:[[\"$\",\"title\",\"0\",{\"children\":\"OrgSDK\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Agents, repeatable actions and observable execution.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"OrgSDK\"}],[\"$\",\"meta\",\"3\",{\"name\":\"robots\",\"content\":\"noindex, nofollow\"}],[\"$\",\"link\",\"4\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.ico\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.svg?v=orbit-o\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"6\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\"}],[\"$\",\"$L12\",\"7\",{}]]\n"])</script></body></html>
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><html lang="en-AU"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0rlc9tihf4po6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1c1ayx3fqtub5.js"/><script src="/_next/static/chunks/12ro_nqb83zku.js" async=""></script><script src="/_next/static/chunks/1tnzhqkfwk7l8.js" async=""></script><script src="/_next/static/chunks/1-75euysc3lin.js" async=""></script><script src="/_next/static/chunks/turbopack-2u1d16houkiyo.js" async=""></script><script src="/_next/static/chunks/2ngzwwqeitkk7.js" async=""></script><meta name="robots" content="noindex"/><meta name="theme-color" content="#4f46e5"/><title>OrgSDK</title><meta name="description" content="Agents, repeatable actions and observable execution."/><meta name="application-name" content="OrgSDK"/><meta name="robots" content="noindex, nofollow"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="icon" href="/favicon.svg?v=orbit-o" type="image/svg+xml"/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/1c1ayx3fqtub5.js","static/chunks/12ro_nqb83zku.js","static/chunks/1tnzhqkfwk7l8.js","static/chunks/1-75euysc3lin.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/1c1ayx3fqtub5.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/2ngzwwqeitkk7.js\"\n3:I[39756,[\"$2\"],\"default\"]\n4:I[37457,[\"$2\"],\"default\"]\n8:I[97367,[\"$2\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:\"ViewportBoundary\"\nc:I[97367,[\"$2\"],\"$b\"]\ne:\"MetadataBoundary\"\nf:I[97367,[\"$2\"],\"$e\"]\n11:I[68027,[\"$2\"],\"default\",1]\n:HL[\"/_next/static/chunks/0rlc9tihf4po6.css\",\"style\"]\n6:X\n7:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],\"p\":false,\"v\":null}}]]\n5:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$6\"},\"c\":\"$Q7\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0rlc9tihf4po6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2ngzwwqeitkk7.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en-AU\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q5\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"$Lf\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}],null]}],null]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$11\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0rlc9tihf4po6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"-qfuCDzkIvBZY_UFsMHnB\"}\n6:C\nd:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#4f46e5\"}]]\n12:I[27201,[\"$2\"],\"IconMark\"]\na:null\n10:[[\"$\",\"title\",\"0\",{\"children\":\"OrgSDK\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Agents, repeatable actions and observable execution.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"OrgSDK\"}],[\"$\",\"meta\",\"3\",{\"name\":\"robots\",\"content\":\"noindex, nofollow\"}],[\"$\",\"link\",\"4\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.ico\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.svg?v=orbit-o\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"6\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\"}],[\"$\",\"$L12\",\"7\",{}]]\n"])</script></body></html>
Binary file
@@ -0,0 +1,122 @@
1
+ OrgSDK Source-Available License
2
+ Version 1.0
3
+
4
+ Copyright (c) 2026 the OrgSDK copyright holders and contributors.
5
+
6
+ 1. Scope and acceptance
7
+
8
+ These terms apply to the OrgSDK material made available under this license,
9
+ including modifications of that material (the Software). The Licensor is each
10
+ copyright holder offering their material under these terms. Exercising a right
11
+ granted here means accepting these terms. Rights not expressly granted remain
12
+ with their holders.
13
+
14
+ Separately identified third-party material is governed by its own license. These
15
+ terms do not replace or restrict rights granted by third-party licenses. Retain
16
+ the applicable notices, including those accompanying dependencies and copied
17
+ source. These terms do not give ownership of your data, actions or outputs to
18
+ the Licensor.
19
+
20
+ 2. Source access and sharing
21
+
22
+ You may inspect, copy and modify the Software, and share original or modified
23
+ copies without charging for the copies. Every shared copy must include these
24
+ terms and retain applicable copyright, attribution and license notices.
25
+ Identify your modifications. Recipients obtain their rights directly under
26
+ these terms and must independently qualify for running the Software. You may
27
+ not offer broader rights to the covered material than you have received.
28
+
29
+ 3. Permitted operation without a separate agreement
30
+
31
+ You may run original or modified copies of the Software without a license fee:
32
+
33
+ (a) as an individual for your own personal, non-business activities; or
34
+ (b) for a business's own internal activities while its entire Organization
35
+ Group has fewer than 15 Staff.
36
+
37
+ Business activity performed by an individual on behalf of an organization is
38
+ subject to (b), including use through a personal account or personal computer.
39
+ The threshold is 0 through 14 Staff across the Organization Group, rather than
40
+ the number of users, accounts, projects, installations or concurrent sessions.
41
+ Part-time and full-time Staff each count as one person, counted only once.
42
+
43
+ An Organization Group is a business, sole trader or other business entity
44
+ together with all entities that control it, that it controls, or that are under
45
+ common control. Control means the ability to direct an entity's management,
46
+ whether through ownership, agreement or another arrangement.
47
+
48
+ Staff are working owners, employees, and individual contractors or agency
49
+ workers regularly working in the Organization Group's operations. Inactive
50
+ investors and suppliers merely providing goods or occasional services are not
51
+ Staff. Count Staff across the whole group, including people who do not use the
52
+ Software. Dividing an operation between entities, installations or accounts
53
+ does not reduce its Staff count.
54
+
55
+ An Organization Group with 15 or more Staff must obtain a separate written
56
+ commercial license before starting or continuing to run the Software. A group
57
+ that grows to that size must obtain that permission or stop running it.
58
+
59
+ 4. Hosting, resale and customer access
60
+
61
+ Regardless of Staff count, a separate written commercial license from the
62
+ relevant Licensor is required to:
63
+
64
+ (a) sell, rent, sublicense for a fee, or charge for copies of the Software;
65
+ (b) operate or host the Software for third parties as a service; or
66
+ (c) give customers or other third parties access to the Software's project,
67
+ action-authoring, execution, orchestration or management capabilities as
68
+ part of a product or service, including an embedded or white-label product.
69
+
70
+ These restrictions apply to direct access and to access through another user
71
+ interface, API, MCP endpoint, agent or intermediary. They apply when access is
72
+ free, charged separately, or bundled into another product or service. Renaming,
73
+ modifying or concealing the Software does not remove these restrictions.
74
+
75
+ A qualifying business may use the Software internally to carry out its own
76
+ work and deliver ordinary results to customers. Giving a customer a report or
77
+ other completed result does not by itself provide access to the Software.
78
+ Giving customers the ability to define, configure, submit or manage their own
79
+ work through the Software is access requiring a commercial license.
80
+
81
+ You may charge for consulting, installation, training, maintenance or custom
82
+ development for a qualifying recipient's own internal installation. The
83
+ recipient must control that installation, independently qualify under section
84
+ 3 or hold a commercial license, and retain control of its data and accounts.
85
+ Operation solely to install, develop or maintain that recipient-controlled
86
+ installation is assessed using the recipient's eligibility, rather than the
87
+ service provider's Staff count.
88
+ This permission does not include operating a hosted service for the recipient
89
+ or licensing use on behalf of an otherwise ineligible organization.
90
+
91
+ For permission beyond these terms, contact the maintainers through the OrgSDK
92
+ organization at https://github.com/OrgSDK. A separate written agreement may
93
+ grant additional rights to material its parties are authorized to license.
94
+
95
+ 5. Patents and branding
96
+
97
+ Each Licensor grants permission under patent claims it controls that would
98
+ necessarily be infringed by the unmodified Software, solely for activities
99
+ permitted by these terms. This does not cover infringement introduced by your
100
+ changes or combinations. If you bring a patent claim alleging that the
101
+ Software infringes a patent, your patent permission under this section ends.
102
+
103
+ No trademark or branding rights are granted, other than displaying the notices
104
+ required by these terms and accurately identifying the origin of the Software.
105
+ Do not imply endorsement of your modifications or services.
106
+
107
+ 6. Ending and restoring permission
108
+
109
+ Permission ends automatically when you breach these terms. If you correct the
110
+ breach within 30 days after first receiving written notice of it, permission
111
+ is restored. A later breach after such restoration requires written permission
112
+ from the relevant Licensor to restore your rights. Rights of recipients who
113
+ continue to comply with these terms are unaffected by your breach.
114
+
115
+ 7. Warranty and liability
116
+
117
+ To the extent allowed by applicable law, the Software is supplied without
118
+ warranties or promises about quality, fitness, availability, security or
119
+ non-infringement. You are responsible for evaluating and operating it. To that
120
+ same extent, the Licensor and contributors are not liable for losses or damages
121
+ arising from the Software or these terms. Nothing here excludes a right,
122
+ guarantee or liability that applicable law does not allow to be excluded.
@@ -0,0 +1,35 @@
1
+ 1:"$Sreact.fragment"
2
+ 2:"/_next/static/chunks/2ngzwwqeitkk7.js"
3
+ 3:I[39756,["$2"],"default"]
4
+ 4:I[37457,["$2"],"default"]
5
+ 8:"/_next/static/chunks/3d8gkwu9nszjk.js"
6
+ 9:"/_next/static/chunks/0huhp5j8dlai8.js"
7
+ a:"/_next/static/chunks/3l-16g1y6k5rs.js"
8
+ b:"/_next/static/chunks/0cwfl2xanfapu.js"
9
+ c:I[94757,["$2","$8","$9","$a","$b"],"WorkspaceLayout"]
10
+ f:I[47257,["$2"],"ClientPageRoot"]
11
+ 10:"/_next/static/chunks/0c-3k17txbh0-.js"
12
+ 11:I[295,["$2","$8","$9","$a","$b","$10"],"default"]
13
+ 14:I[97367,["$2"],"OutletBoundary"]
14
+ 15:"$Sreact.suspense"
15
+ 18:"ViewportBoundary"
16
+ 19:I[97367,["$2"],"$18"]
17
+ 1a:"MetadataBoundary"
18
+ 1b:I[97367,["$2"],"$1a"]
19
+ 1c:I[27201,["$2"],"IconMark"]
20
+ :HL["/_next/static/chunks/0rlc9tihf4po6.css","style"]
21
+ 6:X
22
+ e:[["children",{"s":"__PAGE__","h":160,"d":{"r":["$","$1","c",{"children":[["$","$Lf",null,{"Component":"$11","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@12","$@13"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0c-3k17txbh0-.js","async":true}]],["$","$L14",null,{"children":["$","$15",null,{"name":"Next.MetadataOutlet","children":"$@16"}]}]]}],"p":"$@17","v":null,"s":"$6"}}]]
23
+ 7:[["children",{"s":"(workspace)","h":96,"d":{"r":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/3d8gkwu9nszjk.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0huhp5j8dlai8.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/3l-16g1y6k5rs.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0cwfl2xanfapu.js","async":true}]],["$","$Lc",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]]}]}]]}],"p":"$@d","v":null,"s":"$6"},"c":"$Qe"}]]
24
+ 0:{"t":{"t":{"s":"","h":80,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0rlc9tihf4po6.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2ngzwwqeitkk7.js","async":true}]],["$","html",null,{"lang":"en-AU","children":["$","body",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"p":"$@5","v":null,"s":"$6"},"c":"$Q7"},"h":{"r":["$","$1","h",{"children":[null,["$","$L19",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4f46e5"}]]}],["$","$L1b",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$15",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"OrgSDK"}],["$","meta","1",{"name":"description","content":"Agents, repeatable actions and observable execution."}],["$","meta","2",{"name":"application-name","content":"OrgSDK"}],["$","meta","3",{"name":"robots","content":"noindex, nofollow"}],["$","link","4",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","5",{"rel":"icon","href":"/favicon.svg?v=orbit-o","type":"image/svg+xml"}],["$","link","6",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png","sizes":"180x180"}],["$","$L1c","7",{}]]}]}],null]}],null]}],"p":"$@1d","v":null,"s":"$6"}},"a":"$@1e","u":"$@1f","b":"-qfuCDzkIvBZY_UFsMHnB"}
25
+ 12:{}
26
+ 13:"$e:0:1:d:r:props:children:0:props:serverProvidedParams:params"
27
+ 16:null
28
+ 6:300
29
+ 1f:true
30
+ 6:C
31
+ 1e:0
32
+ d:"$undefined"
33
+ 5:"$undefined"
34
+ 1d:"$undefined"
35
+ 17:"$undefined"
@@ -0,0 +1,29 @@
1
+ 1:"$Sreact.fragment"
2
+ 2:"/_next/static/chunks/2ngzwwqeitkk7.js"
3
+ 3:I[39756,["$2"],"default"]
4
+ 4:I[37457,["$2"],"default"]
5
+ 6:"/_next/static/chunks/3d8gkwu9nszjk.js"
6
+ 7:"/_next/static/chunks/0huhp5j8dlai8.js"
7
+ 8:"/_next/static/chunks/3l-16g1y6k5rs.js"
8
+ 9:"/_next/static/chunks/0cwfl2xanfapu.js"
9
+ a:I[94757,["$2","$6","$7","$8","$9"],"WorkspaceLayout"]
10
+ c:I[47257,["$2"],"ClientPageRoot"]
11
+ d:"/_next/static/chunks/0c-3k17txbh0-.js"
12
+ e:I[295,["$2","$6","$7","$8","$9","$d"],"default"]
13
+ 11:I[97367,["$2"],"OutletBoundary"]
14
+ 12:"$Sreact.suspense"
15
+ 14:"ViewportBoundary"
16
+ 15:I[97367,["$2"],"$14"]
17
+ 17:"MetadataBoundary"
18
+ 18:I[97367,["$2"],"$17"]
19
+ 1a:I[68027,["$2"],"default",1]
20
+ :HL["/_next/static/chunks/0rlc9tihf4po6.css","style"]
21
+ b:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$e","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@f","$@10"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0c-3k17txbh0-.js","async":true,"nonce":"$undefined"}]],["$","$L11",null,{"children":["$","$12",null,{"name":"Next.MetadataOutlet","children":"$@13"}]}]]}],"p":false,"v":null}}]]
22
+ 5:[["children",{"s":"(workspace)","h":512,"d":{"r":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/3d8gkwu9nszjk.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0huhp5j8dlai8.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/3l-16g1y6k5rs.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0cwfl2xanfapu.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}],"p":false,"v":null},"c":"$Qb"}]]
23
+ 0:{"P":null,"c":["",""],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0rlc9tihf4po6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2ngzwwqeitkk7.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-AU","children":["$","body",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],"p":false,"v":null},"c":"$Q5"},"h":{"r":["$","$1","h",{"children":[null,["$","$L15",null,{"children":"$L16"}],["$","$L18",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$12",null,{"name":"Next.Metadata","children":"$L19"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$1a",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0rlc9tihf4po6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"-qfuCDzkIvBZY_UFsMHnB"}
24
+ f:{}
25
+ 10:"$b:0:1:d:r:props:children:0:props:serverProvidedParams:params"
26
+ 16:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4f46e5"}]]
27
+ 1b:I[27201,["$2"],"IconMark"]
28
+ 13:null
29
+ 19:[["$","title","0",{"children":"OrgSDK"}],["$","meta","1",{"name":"description","content":"Agents, repeatable actions and observable execution."}],["$","meta","2",{"name":"application-name","content":"OrgSDK"}],["$","meta","3",{"name":"robots","content":"noindex, nofollow"}],["$","link","4",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","5",{"rel":"icon","href":"/favicon.svg?v=orbit-o","type":"image/svg+xml"}],["$","link","6",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png","sizes":"180x180"}],["$","$L1b","7",{}]]
@@ -0,0 +1,4 @@
1
+ :HL["/_next/static/chunks/0rlc9tihf4po6.css","style"]
2
+ 2:[["children",{"s":"__PAGE__","h":160}]]
3
+ 1:[["children",{"s":"(workspace)","h":96,"c":"$Q2"}]]
4
+ 0:{"b":"-qfuCDzkIvBZY_UFsMHnB","t":{"t":{"s":"","h":80,"c":"$Q1"}}}
@@ -0,0 +1,11 @@
1
+ self.__BUILD_MANIFEST = {
2
+ "__rewrites": {
3
+ "afterFiles": [],
4
+ "beforeFiles": [],
5
+ "fallback": []
6
+ },
7
+ "sortedPages": [
8
+ "/_app",
9
+ "/_error"
10
+ ]
11
+ };self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB()
@@ -0,0 +1 @@
1
+ self.__MIDDLEWARE_MATCHERS = [];self.__MIDDLEWARE_MATCHERS_CB && self.__MIDDLEWARE_MATCHERS_CB()
@@ -0,0 +1 @@
1
+ self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13581,29487,e=>{"use strict";var s=e.i(71645),a=e.i(95813);e.s(["f",0,function(e,r=0){let[t,n]=(0,s.useState)(),[i,l]=(0,s.useState)(""),[c,d]=(0,s.useState)(!0),o=(0,s.useRef)(void 0),u=(0,s.useRef)(!1),h=(0,s.useCallback)(async()=>{o.current?.abort();let s=new AbortController;o.current=s;try{let a=await e(s.signal);if(s.signal.aborted||!u.current)return;n(a),l("")}catch(e){!s.signal.aborted&&u.current&&l((0,a.f)(e))}finally{!s.signal.aborted&&u.current&&d(!1)}},[e]);return(0,s.useEffect)(()=>{u.current=!0,queueMicrotask(()=>{u.current&&h()});let e=r>0?setInterval(()=>{h()},r):void 0;return()=>{u.current=!1,o.current?.abort(),clearInterval(e)}},[h,r]),{data:t,error:i,isLoading:c,refresh:h}}],13581);var r=e.i(18050),t=e.i(19455);e.s(["f",0,function({isLoading:e,error:s,refresh:a}){return(0,r.jsxs)(r.Fragment,{children:[e?(0,r.jsx)("p",{role:"status",children:"Loading workspace data…"}):void 0,s?(0,r.jsxs)("div",{className:"error",role:"alert",children:[(0,r.jsx)("p",{children:s}),(0,r.jsx)(t.f,{variant:"outline",onClick:()=>{a()},children:"Try again"})]}):void 0]})}],29487)},40067,e=>{"use strict";var s=e.i(18050),a=e.i(18566),r=e.i(26067),t=e.i(77071),n=e.i(71645),i=e.i(73656),l=e.i(95813),c=e.i(19455),d=e.i(93479),o=e.i(15080),u=e.i(13581),h=e.i(1101),m=e.i(87309);function p({project:e,refresh:a}){let[r,t]=(0,n.useState)("http://localhost"),[d,o]=(0,n.useState)(""),[u,h]=(0,n.useState)(!1),[j,x]=(0,n.useState)(""),[f,b]=(0,n.useState)(""),g=(0,m.h)(),v=async(s,r=!1)=>{if(await g({title:s?"Revoke this project’s runner?":"Register a replacement runner?",description:"The current runner will lose access. Running tasks may stop. This affects only this project.",actionLabel:s?"Revoke runner":"Generate token"})){h(!0),x(""),b(""),o("");try{if(s)await i.U.projects.disconnectExecutor.mutate({id:e.id}),b("Runner access revoked.");else{let s=await i.U.projects.connectExecutor.mutate({id:e.id,locally_managed:r});r?b("Local runner enabled. It will connect when the installation’s runner is running."):o(s.token)}await a()}catch(e){x((0,l.f)(e))}finally{h(!1)}}},w="orgsdk executor register --url "+r+"\norgsdk executor start --mode docker",[N,y]=(0,n.useState)(0);(0,n.useEffect)(()=>{let e=()=>{y(Date.now())};e();let s=setInterval(()=>{e(),a().catch(e=>{x((0,l.f)(e))})},1e4);return()=>{clearInterval(s)}},[a]);let k=e.runner.last_seen_at?new Date(e.runner.last_seen_at).getTime():void 0,C="Registered · waiting for connection";return void 0!==k&&(C=N-k>6e4?"Unavailable · no recent heartbeat":"Available"),e.runner.enabled||(C="Revoked"),(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Project runner"}),(0,s.jsxs)("p",{className:"mb-4",children:["This project uses its own runner to execute actions in its persistent working folder. Starting OrgSDK with ",(0,s.jsx)("code",{children:"orgsdk start"})," also starts the local runner."]}),(0,s.jsxs)("p",{children:[e.runner.registered?C:"Not registered"," ·"," ",e.runner.locally_managed?"Managed by this installation":"Linked runner"]}),e.runner.last_seen_at?(0,s.jsxs)("p",{className:"small",children:["Last connected:"," ",new Date(e.runner.last_seen_at).toLocaleString()]}):(0,s.jsx)("p",{className:"small",children:"Waiting for the runner to connect."}),(0,s.jsxs)("div",{className:"mt-5 flex flex-wrap gap-3",children:[(0,s.jsx)(c.f,{disabled:u,onClick:()=>{v(!1)},children:"Generate registration token"}),(0,s.jsx)(c.f,{variant:"outline",disabled:u,onClick:()=>{v(!1,!0)},children:"Use local runner"}),(0,s.jsx)(c.f,{variant:"outline",disabled:u||!e.runner.registered||!e.runner.enabled,onClick:()=>{v(!0)},children:"Revoke runner"})]}),d?(0,s.jsxs)("div",{className:"mt-5 grid gap-3",children:[(0,s.jsx)("p",{children:"Copy this token now. It is shown once. Paste it at the registration prompt."}),(0,s.jsx)("code",{className:"break-all",children:d}),(0,s.jsx)(c.f,{variant:"outline",onClick:()=>{navigator.clipboard.writeText(d).then(()=>{b("Token copied.")}).catch(()=>{x("Clipboard unavailable. Select and copy the token.")})},children:"Copy token"})]}):null,(0,s.jsxs)("details",{className:"mt-4",onToggle:()=>{t(location.origin)},children:[(0,s.jsx)("summary",{children:"Link a separate runner"}),(0,s.jsx)("p",{className:"mt-4",children:"The npm-installed OrgSDK command includes the runner. A separate runner machine needs Linux and Node.js 22.22 or newer. Docker mode also requires Docker and an executor image, network and storage configured by your administrator."}),(0,s.jsx)("pre",{className:"my-4 overflow-auto",children:w}),(0,s.jsx)(c.f,{variant:"outline",onClick:()=>{navigator.clipboard.writeText(w).then(()=>{b("Commands copied.")}).catch(()=>{x("Clipboard unavailable. Select and copy the commands.")})},children:"Copy commands"}),(0,s.jsxs)("p",{className:"small mt-3",children:["Use ",(0,s.jsx)("code",{children:"--mode host"})," only when you intend to let tools run directly under your operating system account."]})]}),j?(0,s.jsx)("p",{role:"alert",className:"error",children:j}):null,f?(0,s.jsx)("p",{role:"status",className:"notice",children:f}):null]})}var j=e.i(59037),x=e.i(94757),f=e.i(75016),b=e.i(29487);let g=[{id:"overview",label:"Overview"},{id:"access",label:"Data access"},{id:"runner",label:"Runner"},{id:"settings",label:"Settings"}],v=[{field:"readable_tables",label:"Read tables",resource:"tables"},{field:"writable_tables",label:"Write tables",resource:"tables"},{field:"readable_documents",label:"Read documents",resource:"documents"},{field:"writable_documents",label:"Write documents",resource:"documents"}];async function w(e){let[s,a]=await Promise.all([(0,o.f)(e),(0,o.t)(e)]);return{runs:s,actions:a}}async function N(e){let[s,a,r]=await Promise.all([(0,o.p)(e),(0,o.l)(e),i.U.tables.list.query(void 0,{signal:e})]);return{plugins:s,documents:a,tables:r.results}}function y({project:e,tab:a,refresh:r,onDirtyChange:t}){let{canManage:n}=(0,x.useWorkspace)(),i=`project=${encodeURIComponent(e.id)}`;return(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("div",{className:"mb-5 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"!mb-1 !text-xl",children:e.name}),(0,s.jsx)("p",{className:"small",children:"Configure the tools and data your MCP agent can use."})]}),(0,s.jsx)("span",{className:"badge",children:e.enabled?"Enabled":"Disabled"})]}),(0,s.jsx)("nav",{className:"mb-6 flex flex-wrap gap-2 border-b border-slate-200 pb-4","aria-label":"Project configuration",children:g.map(e=>(0,s.jsx)(c.f,{asChild:!0,variant:a===e.id?"secondary":"ghost",children:(0,s.jsx)(f.f,{href:`/projects/?${i}${"overview"===e.id?"":`&tab=${e.id}`}`,"aria-current":a===e.id?"page":void 0,children:e.label})},e.id))}),"overview"===a?(0,s.jsx)(k,{project:e}):void 0,"access"===a?(0,s.jsx)(S,{project:e,refresh:r,onDirtyChange:t}):void 0,"runner"===a?n?(0,s.jsx)(p,{project:e,refresh:r}):(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Project runner"}),(0,s.jsxs)("p",{children:[e.runner.registered?"Registered":"Not registered"," ·"," ",e.runner.enabled?"Enabled":"Revoked"]}),(0,s.jsx)("p",{className:"small mt-3",children:"An owner or admin can configure this project’s runner."})]}):void 0,"settings"===a?(0,s.jsx)(_,{project:e,refresh:r,onDirtyChange:t}):void 0]})}function k({project:e}){let a=(0,u.f)(w),r=`project=${encodeURIComponent(e.id)}`,t=a.data?.actions.filter(s=>s.project===e.id),n=a.data?.runs.filter(s=>s.project===e.id).slice(0,5);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsxs)("div",{className:"grid gap-5 lg:grid-cols-[minmax(0,1fr)_auto] lg:items-center",children:[(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)("h2",{className:"!mb-0",children:"Connect your agent over MCP"}),(0,s.jsx)("p",{className:"max-w-2xl",children:"Connect an external agent to this project to build and run actions. Choose the plugins and workspace data it can access, then use saved actions to review runs, add schedules and receive webhooks."})]}),(0,s.jsx)(c.f,{asChild:!0,children:(0,s.jsx)(f.f,{href:`/connections/?${r}`,children:"Connect agent"})})]}),(0,s.jsxs)("div",{className:"mt-5 flex flex-wrap gap-3 border-t border-slate-200 pt-4",children:[(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/projects/?${r}&tab=access`,children:"Configure data access"})}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/plugins/?${r}`,children:"Manage plugins"})}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/projects/?${r}&tab=runner`,children:e.runner.registered?"Manage runner":"Set up runner"})})]})]}),(0,s.jsx)(b.f,{...a}),(0,s.jsxs)("section",{className:"panel","aria-labelledby":"project-actions-heading",children:[(0,s.jsxs)("div",{className:"mb-4 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{id:"project-actions-heading",className:"!mb-1",children:"Saved actions"}),(0,s.jsx)("p",{className:"small",children:"Open an action to manage its code, runs, schedule and webhook."})]}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/actions/?${r}`,children:"View all actions"})})]}),(0,s.jsx)("div",{className:"grid gap-3 xl:grid-cols-2",children:t?.slice(0,4).map(e=>(0,s.jsx)(h.f,{action:e},e.id))}),t?.length===0?(0,s.jsxs)("div",{className:"rounded-lg border border-dashed border-slate-200 p-5",children:[(0,s.jsx)("h3",{children:"No saved actions yet"}),(0,s.jsx)("p",{className:"small mt-2",children:"Create an action or ask your connected agent to build one."}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",className:"mt-4",children:(0,s.jsx)(f.f,{href:`/actions/?${r}&new=1`,children:"Create action"})})]}):void 0]}),(0,s.jsxs)("section",{className:"panel","aria-labelledby":"project-runs-heading",children:[(0,s.jsxs)("div",{className:"mb-4 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsx)("h2",{id:"project-runs-heading",className:"!mb-0",children:"Recent runs"}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/runs/?${r}`,children:"View all runs"})})]}),(0,s.jsx)("div",{className:"grid gap-3",children:n?.map(e=>(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 rounded-lg border border-slate-200 p-4",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("span",{className:"text-sm font-medium",children:[e.operation," · ",e.status]}),(0,s.jsx)("p",{className:"small mt-1",children:new Date(e.created_at).toLocaleString()})]}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/runs/?${r}&run=${encodeURIComponent(e.id)}`,children:"Inspect run"})})]},e.id))}),n?.length===0?(0,s.jsx)("p",{children:"No runs yet. Run an action to see its results here."}):void 0]})]})}function C(e){return{readable_tables:"readable_tables"in e?e.readable_tables:[],writable_tables:"writable_tables"in e?e.writable_tables:[],readable_documents:"readable_documents"in e?e.readable_documents:[],writable_documents:"writable_documents"in e?e.writable_documents:[]}}function S({project:e,refresh:a,onDirtyChange:r}){let{canManage:t}=(0,x.useWorkspace)(),d=(0,u.f)(N),o=C(e),[h,m]=(0,n.useState)(()=>C(e)),[p,g]=(0,n.useState)(!1),[w,y]=(0,n.useState)(""),[k,_]=(0,n.useState)("");(0,j.f)(v.some(({field:e})=>JSON.stringify(h[e])!==JSON.stringify(o[e])),r);let R=async()=>{g(!0),y(""),_("");try{let s=await i.U.projects.update.mutate({id:e.id,...h});await a(),m(C(s)),_("Project data access saved.")}catch(e){y((0,l.f)(e))}finally{g(!1)}},D=d.data?.plugins.filter(s=>s.project===e.id);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Workspace data access"}),(0,s.jsx)("p",{className:"mb-5 max-w-3xl",children:"Choose the shared tables and documents available to this project’s actions. Changes apply to new runs; adding access cannot widen a run that has already been submitted."}),t?void 0:(0,s.jsx)("p",{className:"small mb-5",children:"Only owners and admins can change project data access."}),(0,s.jsx)(b.f,{...d}),(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),R()},children:[(0,s.jsx)("div",{className:"grid gap-4 md:grid-cols-2",children:v.map(({field:e,label:a,resource:r})=>{let n=d.data?.[r];return(0,s.jsx)("div",{className:"min-w-0 rounded-lg border border-slate-200 p-4",children:(0,s.jsxs)("fieldset",{className:"!m-0 min-w-0 !border-0 !p-0",disabled:!t||p,children:[(0,s.jsx)("legend",{className:"!mb-3 !text-sm font-semibold",children:a}),(0,s.jsx)("div",{className:"grid gap-3",children:n?.map(a=>(0,s.jsxs)("label",{className:"check !m-0 !items-start gap-2",children:[(0,s.jsx)("input",{type:"checkbox",className:"mt-1 shrink-0",checked:h[e].includes(a.id),onChange:s=>{m(r=>({...r,[e]:s.target.checked?[...r[e],a.id]:r[e].filter(e=>e!==a.id)}))}}),(0,s.jsx)("span",{className:"min-w-0 break-words",children:"name"in a?a.name:a.title})]},a.id))}),n?.length===0?(0,s.jsxs)("p",{className:"small",children:["No workspace ",r," yet."]}):void 0]})},e)})}),(0,s.jsxs)("div",{className:"mt-5 flex flex-wrap items-center gap-3",children:[t?(0,s.jsx)(c.f,{type:"submit",disabled:p||d.isLoading||!d.data,children:p?"Saving…":"Save data access"}):void 0,(0,s.jsx)(f.f,{href:"/tables/",children:"Manage workspace tables"}),(0,s.jsx)(f.f,{href:"/documents/",children:"Manage workspace documents"})]})]}),w?(0,s.jsx)("p",{className:"error mt-4",role:"alert",children:w}):void 0,k?(0,s.jsx)("p",{className:"notice mt-4",role:"status",children:k}):void 0]}),(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Project plugins"}),(0,s.jsx)("p",{children:"Plugins add tools your agent can use in this project. Configure each plugin’s credentials separately."}),(0,s.jsxs)("div",{className:"my-4 grid gap-2",children:[D?.map(e=>(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-md border border-slate-200 p-3",children:[(0,s.jsxs)("span",{className:"text-sm",children:[e.slug," · ",e.version]}),(0,s.jsx)("span",{className:"badge",children:e.enabled?"Enabled":"Disabled"})]},e.id)),D?.length===0?(0,s.jsx)("p",{className:"small",children:"No plugins installed in this project."}):void 0]}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/plugins/?project=${encodeURIComponent(e.id)}`,children:"Manage project plugins"})})]})]})}function _({project:e,refresh:a,onDirtyChange:r}){let{canManage:t,navigateTo:o}=(0,x.useWorkspace)(),[u,h]=(0,n.useState)(e.name),[p,f]=(0,n.useState)(e.enabled),[b,g]=(0,n.useState)(!1),[v,w]=(0,n.useState)(""),[N,y]=(0,n.useState)(""),k=(0,m.h)();(0,j.f)(u!==e.name||p!==e.enabled,r);let C=async()=>{g(!0),w(""),y("");try{let s=await i.U.projects.update.mutate({id:e.id,name:u.trim(),enabled:p});await a(),h(s.name),y("Project settings saved.")}catch(e){w((0,l.f)(e))}finally{g(!1)}},S=async()=>{if(await k({title:"Delete this project?",description:"Its actions and versions will be removed. Projects referenced by retained run history cannot be deleted.",actionLabel:"Delete project"})){g(!0),w(""),y("");try{await i.U.projects.delete.mutate({id:e.id}),r(!1),await a(),await o("/projects/")}catch(e){w((0,l.f)(e))}finally{g(!1)}}};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Project settings"}),(0,s.jsxs)("form",{className:"max-w-2xl",onSubmit:e=>{e.preventDefault(),C()},children:[(0,s.jsxs)("label",{children:["Project name",(0,s.jsx)(d.f,{value:u,disabled:b,onChange:e=>{h(e.target.value)},required:!0})]}),(0,s.jsxs)("label",{className:"check",children:[(0,s.jsx)("input",{type:"checkbox",disabled:b,checked:p,onChange:e=>{f(e.target.checked)}}),"Enabled for new work"]}),(0,s.jsx)("p",{className:"small mt-2",children:"Actions execute serially in this project’s persistent working folder."}),(0,s.jsx)(c.f,{className:"mt-5",type:"submit",disabled:b||!u.trim(),children:b?"Saving…":"Save project"})]}),v?(0,s.jsx)("p",{className:"error mt-4",role:"alert",children:v}):void 0,N?(0,s.jsx)("p",{className:"notice mt-4",role:"status",children:N}):void 0]}),t?(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Delete project"}),(0,s.jsx)("p",{children:"Delete this project and its saved actions. Projects with retained run history cannot be deleted."}),(0,s.jsx)(c.f,{className:"mt-4",variant:"outline",disabled:b,onClick:()=>{S()},children:"Delete project"})]}):void 0]})}function R({onCancel:e}){let{setSelected:r,setDirty:t,refresh:o}=(0,x.useWorkspace)(),u=(0,a.useRouter)(),[h,m]=(0,n.useState)(""),[p,f]=(0,n.useState)(!1),[b,g]=(0,n.useState)("");(0,j.f)(""!==h.trim(),t);let v=async()=>{f(!0),g("");try{let e=await i.U.projects.create.mutate({name:h.trim()});r(e.id),await o(),t(!1),u.push(`/projects/?project=${encodeURIComponent(e.id)}`)}catch(e){g((0,l.f)(e))}finally{f(!1)}};return(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Create a project"}),(0,s.jsx)("p",{className:"small mb-5",children:"Give your project a name, configure its runner and data access, then connect your agent over MCP."}),(0,s.jsxs)("form",{className:"max-w-2xl",onSubmit:e=>{e.preventDefault(),v()},children:[(0,s.jsxs)("label",{children:["Project name",(0,s.jsx)(d.f,{autoFocus:!0,required:!0,value:h,disabled:p,placeholder:"e.g. Operations",onChange:e=>{m(e.target.value)}})]}),(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)(c.f,{type:"submit",disabled:p||!h.trim(),children:p?"Creating…":"Create project"}),(0,s.jsx)(c.f,{type:"button",variant:"outline",disabled:p,onClick:e,children:"Cancel"})]})]}),b?(0,s.jsx)("p",{role:"alert",className:"error mt-4",children:b}):void 0]})}e.s(["default",0,function(){let{projects:e,selected:n,setDirty:i,refresh:l,navigateTo:d}=(0,x.useWorkspace)(),o=(0,a.useSearchParams)(),u=e.find(e=>e.id===n);if("1"===o.get("new"))return(0,s.jsx)(R,{onCancel:()=>{d(u?`/projects/?project=${encodeURIComponent(u.id)}`:"/projects/")}});if(u){let e=["access","runner","settings"].find(e=>e===o.get("tab"))??"overview";return(0,s.jsx)(y,{project:u,tab:e,refresh:l,onDirtyChange:i},u.id)}return(0,s.jsxs)("section",{className:"empty",children:[(0,s.jsx)(r.f,{className:"mx-auto",size:32}),(0,s.jsx)("h2",{className:"!mt-4",children:"Create your first project"}),(0,s.jsx)("p",{children:"A project gives your MCP agent a place to build actions, run work and access the data you choose."}),(0,s.jsx)(c.f,{asChild:!0,className:"mt-5",children:(0,s.jsxs)(f.f,{href:"/projects/?new=1",children:[(0,s.jsx)(t.f,{size:16}),"Create project"]})})]})}],40067)},93479,e=>{"use strict";var s=e.i(18050),a=e.i(71645),r=e.i(39689);let t=a.forwardRef(({className:e,type:a,...t},n)=>(0,s.jsx)("input",{type:a,className:(0,r.f)("flex h-9 w-full rounded-md border border-input bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));t.displayName="Input",e.s(["f",0,t])},1101,75775,e=>{"use strict";var s=e.i(18050),a=e.i(56420);let r={name:"arrow-up-right",size:24,node:[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]};r.node;let t=(0,a.f)(r);e.s(["f",0,t],75775);var n=e.i(52330),i=e.i(75016);e.s(["f",0,function({action:e}){let a=e.description.trim(),r=new URLSearchParams({project:e.project,action:e.id}).toString();return(0,s.jsxs)("article",{className:"flex min-w-0 flex-col gap-4 rounded-xl border border-slate-200 bg-white p-5",children:[(0,s.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,s.jsx)(n.f,{size:20,className:"shrink-0 text-indigo-600","aria-hidden":"true"}),(0,s.jsx)("span",{className:e.enabled?"rounded-full bg-emerald-50 px-2.5 py-1 text-xs font-medium text-emerald-700":"rounded-full bg-slate-100 px-2.5 py-1 text-xs font-medium text-slate-600",children:e.enabled?"Enabled":"Disabled"})]}),(0,s.jsxs)("div",{className:"min-w-0 flex-1 space-y-2",children:[(0,s.jsx)("h3",{className:"text-base font-semibold",children:(0,s.jsxs)(i.f,{href:`/actions/?${r}`,className:"flex items-start justify-between gap-3 hover:underline",children:[(0,s.jsx)("span",{className:"break-words",children:e.name}),(0,s.jsx)(t,{size:17,className:"mt-0.5 shrink-0","aria-hidden":"true"})]})}),(0,s.jsx)("p",{className:"text-sm leading-relaxed",children:a.length>0?a:"Open this action to review its code, inputs and saved versions."})]}),(0,s.jsxs)("nav",{className:"flex flex-wrap gap-x-4 gap-y-2 border-t border-slate-100 pt-3 text-sm","aria-label":`${e.name} related records`,children:[(0,s.jsx)(i.f,{href:`/runs/?${r}`,className:"hover:underline",children:"Runs"}),(0,s.jsx)(i.f,{href:`/schedules/?${r}`,className:"hover:underline",children:"Schedules"}),(0,s.jsx)(i.f,{href:`/webhooks/?${r}`,className:"hover:underline",children:"Webhooks"})]})]})}],1101)},59037,e=>{"use strict";var s=e.i(71645);e.s(["f",0,function(e,a){(0,s.useEffect)(()=>{a(e);let s=e=>{e.preventDefault()};return e&&addEventListener("beforeunload",s),()=>{removeEventListener("beforeunload",s),a(!1)}},[e,a])}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68877,e=>{"use strict";var n=e.i(56420);let s={name:"arrow-right",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]};s.node;let i=(0,n.f)(s);e.s(["f",0,i],68877)},51757,e=>{"use strict";var n=e.i(56420);let s={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};s.node;let i=(0,n.f)(s);e.s(["f",0,i],51757)},13581,29487,e=>{"use strict";var n=e.i(71645),s=e.i(95813);e.s(["f",0,function(e,i=0){let[t,r]=(0,n.useState)(),[a,l]=(0,n.useState)(""),[c,o]=(0,n.useState)(!0),d=(0,n.useRef)(void 0),u=(0,n.useRef)(!1),h=(0,n.useCallback)(async()=>{d.current?.abort();let n=new AbortController;d.current=n;try{let s=await e(n.signal);if(n.signal.aborted||!u.current)return;r(s),l("")}catch(e){!n.signal.aborted&&u.current&&l((0,s.f)(e))}finally{!n.signal.aborted&&u.current&&o(!1)}},[e]);return(0,n.useEffect)(()=>{u.current=!0,queueMicrotask(()=>{u.current&&h()});let e=i>0?setInterval(()=>{h()},i):void 0;return()=>{u.current=!1,d.current?.abort(),clearInterval(e)}},[h,i]),{data:t,error:a,isLoading:c,refresh:h}}],13581);var i=e.i(18050),t=e.i(19455);e.s(["f",0,function({isLoading:e,error:n,refresh:s}){return(0,i.jsxs)(i.Fragment,{children:[e?(0,i.jsx)("p",{role:"status",children:"Loading workspace data…"}):void 0,n?(0,i.jsxs)("div",{className:"error",role:"alert",children:[(0,i.jsx)("p",{children:n}),(0,i.jsx)(t.f,{variant:"outline",onClick:()=>{s()},children:"Try again"})]}):void 0]})}],29487)},295,e=>{"use strict";var n=e.i(18050),s=e.i(79432),i=e.i(70812),t=e.i(26067),r=e.i(67965),a=e.i(52330),l=e.i(68877),c=e.i(51757),o=e.i(71645),d=e.i(13581),u=e.i(15080),h=e.i(94757),p=e.i(19455),x=e.i(29487),j=e.i(10505);function f({label:e,value:s,hint:i,onClick:t,hasWarning:r=!1}){return(0,n.jsxs)("button",{type:"button",onClick:t,className:`signal-card ${r?"has-warning":""}`,children:[(0,n.jsx)("span",{className:"eyebrow",children:e}),(0,n.jsx)("strong",{children:s}),(0,n.jsx)("span",{children:i})]})}function g({icon:e,label:s,description:i,onClick:t}){return(0,n.jsxs)("button",{type:"button",className:"quick-action",onClick:t,children:[(0,n.jsx)(e,{size:19,"aria-hidden":"true"}),(0,n.jsx)("strong",{children:s}),(0,n.jsx)("span",{children:i})]})}async function v(e,n){let[s,i,t,r,a,l]=await Promise.all([(0,u.f)(e),(0,u.q)(e),(0,u.t)(e),(0,u.i)(e),n?(0,u.h)(e):Promise.resolve([]),(0,u.p)(e)]);return{runs:s,projects:i,actions:t,approvals:r,tokens:a,plugins:l}}function m({navigate:e,openRun:u}){let{canManage:k}=(0,h.useWorkspace)(),b=(0,o.useCallback)(e=>v(e,k),[k]),y=(0,d.f)(b,1e4),w=y.data,C=w?.approvals.filter(e=>"pending"===e.status)??[],N=w?.runs.filter(e=>j.B.includes(e.status))??[],z=w?.runs.find(e=>"failed"===e.status||"interrupted"===e.status),R=[{label:"Create a project",done:(w?.projects.length??0)>0,view:"work"},{label:"Connect an external client",done:(w?.tokens.length??0)>0,view:"connections"},{label:"Create your first action",done:(w?.actions.length??0)>0,view:"actions"},{label:"Complete a run",done:w?.runs.some(e=>"succeeded"===e.status)??!1,view:"runs"}];return(0,n.jsxs)("div",{className:"overview",children:[(0,n.jsx)(x.f,{...y}),w?(0,n.jsxs)(n.Fragment,{children:[R.some(e=>!e.done)?(0,n.jsxs)("section",{className:"panel first-run",children:[(0,n.jsxs)("div",{className:"panel-title",children:[(0,n.jsx)("h2",{children:"Get your workspace running"}),(0,n.jsxs)("span",{className:"badge",children:[R.filter(e=>e.done).length," of ",R.length," ","complete"]})]}),(0,n.jsx)("p",{className:"small",children:"Connect your tools, publish an action and inspect its first result."}),(0,n.jsx)("div",{className:"onboarding-steps",children:R.map(s=>(0,n.jsxs)("button",{className:s.done?"is-complete":"",onClick:()=>{e(s.view)},children:[(0,n.jsx)(c.f,{size:17}),s.label,(0,n.jsx)(l.f,{size:14})]},s.label))})]}):void 0,(0,n.jsxs)("section",{className:"signal-grid","aria-label":"Workspace signals",children:[(0,n.jsx)(f,{label:"Actions",value:String(w.actions.length),hint:"Reusable workflows",onClick:()=>{e("actions")}}),(0,n.jsx)(f,{label:"Pending approvals",value:String(C.length),hint:"Decisions waiting for you",hasWarning:C.length>0,onClick:()=>{e("approvals")}}),(0,n.jsx)(f,{label:"Runs in progress",value:String(N.length),hint:`${String(w.runs.length)} total runs`,onClick:()=>{e("runs")}}),(0,n.jsx)(f,{label:"Projects",value:String(w.projects.length),hint:`${String(w.plugins.length)} installed plugins`,onClick:()=>{e("work")}})]}),C.length>0?(0,n.jsxs)("section",{className:"next-action",children:[(0,n.jsx)(i.f,{size:20}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("h2",{children:[C.length," approval",1===C.length?"":"s"," ","waiting"]}),(0,n.jsx)("p",{children:"Review the requested work before it proceeds."})]}),(0,n.jsx)(p.f,{onClick:()=>{e("approvals")},children:"Review approvals"})]}):void 0,z&&0===C.length?(0,n.jsxs)("section",{className:"next-action",children:[(0,n.jsx)(s.f,{size:20}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{children:"Review the latest failed run"}),(0,n.jsx)("p",{children:"Inspect the result and trace before deciding whether to retry."})]}),(0,n.jsx)(p.f,{onClick:()=>{u(z.id)},children:"Open run"})]}):void 0,N.length>0?(0,n.jsxs)("section",{className:"panel running-region","aria-label":"Running now",children:[(0,n.jsxs)("h2",{children:[(0,n.jsx)(s.f,{size:17})," Running now"]}),N.map(e=>(0,n.jsxs)("div",{className:"resource-row",children:[(0,n.jsx)("span",{children:(0,j.N)(e,w.projects)}),(0,n.jsx)(j.k,{status:e.status}),(0,n.jsx)(p.f,{variant:"outline",size:"sm",onClick:()=>{u(e.id)},children:"View run"})]},e.id))]}):void 0,(0,n.jsxs)("section",{className:"panel",children:[(0,n.jsxs)("div",{className:"panel-title",children:[(0,n.jsx)("h2",{children:"Recent runs"}),(0,n.jsxs)(p.f,{variant:"ghost",size:"sm",onClick:()=>{e("runs")},children:["All runs ",(0,n.jsx)(l.f,{size:14})]})]}),0===w.runs.length?(0,n.jsxs)("div",{className:"resource-empty",children:[(0,n.jsx)(c.f,{size:28}),(0,n.jsx)("h3",{children:"Ready for your first run"}),(0,n.jsx)("p",{children:"Connect an external client or create an action to get started."}),(0,n.jsx)(p.f,{onClick:()=>{e("connections")},children:"Connect a client"})]}):w.runs.slice(0,5).map(e=>(0,n.jsxs)("div",{className:"resource-row",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:(0,j.N)(e,w.projects)}),(0,n.jsx)("small",{children:new Date(e.created_at).toLocaleString()})]}),(0,n.jsx)(j.k,{status:e.status}),(0,n.jsx)(p.f,{variant:"ghost",size:"sm",onClick:()=>{u(e.id)},children:"Open"})]},e.id))]}),(0,n.jsxs)("section",{className:"quick-grid","aria-label":"Quick actions",children:[(0,n.jsx)(g,{icon:a.f,label:"Build an action",description:"Write, version and run a workflow.",onClick:()=>{e("actions")}}),(0,n.jsx)(g,{icon:t.f,label:"Configure a project",description:"Set up its runner, integrations and data access.",onClick:()=>{e("work")}}),(0,n.jsx)(g,{icon:r.f,label:"Manage connections",description:"Connect clients and secure credentials.",onClick:()=>{e("connections")}})]})]}):void 0]})}e.s(["default",0,function(){let{goTo:e,openRun:s}=(0,h.useWorkspace)();return(0,n.jsx)(m,{navigate:e,openRun:s})}],295)},10505,79432,e=>{"use strict";var n=e.i(18050),s=e.i(56420);let i={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]};i.node;let t=(0,s.f)(i);e.s(["f",0,t],79432);var r=e.i(51757);let a={name:"clock-3",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]]};a.node;let l=(0,s.f)(a),c={name:"shield-exclamation-point",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],aliases:["shield-alert"]};c.node;let o=(0,s.f)(c),d={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};d.node;let u=(0,s.f)(d);function h(e){return({chat:"Chat task",code:"Code execution",session:"Execution session",action:"Action run",validate:"Code validation",test:"Action tests"})[e]??e.replaceAll("_"," ")}e.s(["k",0,function({status:e}){let s={succeeded:r.f,waiting_approval:o,running:t,queued:l,failed:u,cancelled:u,interrupted:u}[e]??l;return(0,n.jsxs)("span",{className:`run-status status-${e}`,children:[(0,n.jsx)(s,{size:13,"aria-hidden":"true"}),e.replaceAll("_"," ")]})},"B",0,["queued","running","waiting_approval"],"A",0,function(e){return void 0===e?"":"string"==typeof e?e:JSON.stringify(e,void 0,2)},"N",0,function(e,n){let s=n.find(n=>n.id===e.project)?.name??"Project";return"chat"===e.operation?`${s} \xb7 ${(function(e,n){if(null!==e&&"object"==typeof e&&Object.hasOwn(e,n)){let s=Reflect.get(e,n);if("string"==typeof s)return s}return""})(e.inputs,"message").slice(0,70)}`:`${s} \xb7 ${h(e.operation)}`},"T",0,h],10505)}]);