@orgsdk/cli 2.2.0 → 2.3.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 (61) hide show
  1. package/bin/options.mjs +10 -3
  2. package/bin/orgsdk.mjs +68 -12
  3. package/bin/supervision.mjs +9 -0
  4. package/dist/launcher/updates.js +264 -0
  5. package/dist/server/index.js +386 -252
  6. package/dist/server/out/accounts/2fa/__next._full.txt +1 -1
  7. package/dist/server/out/accounts/2fa/__next._tree.txt +1 -1
  8. package/dist/server/out/accounts/2fa/__next.accounts.2fa.__PAGE__.txt +1 -1
  9. package/dist/server/out/accounts/2fa/index.html +1 -1
  10. package/dist/server/out/accounts/2fa/index.txt +1 -1
  11. package/dist/server/out/accounts/email/__next._full.txt +1 -1
  12. package/dist/server/out/accounts/email/__next._tree.txt +1 -1
  13. package/dist/server/out/accounts/email/__next.accounts.email.__PAGE__.txt +1 -1
  14. package/dist/server/out/accounts/email/index.html +1 -1
  15. package/dist/server/out/accounts/email/index.txt +1 -1
  16. package/dist/server/out/accounts/login/__next._full.txt +1 -1
  17. package/dist/server/out/accounts/login/__next._tree.txt +1 -1
  18. package/dist/server/out/accounts/login/__next.accounts.login.__PAGE__.txt +1 -1
  19. package/dist/server/out/accounts/login/index.html +1 -1
  20. package/dist/server/out/accounts/login/index.txt +1 -1
  21. package/dist/server/out/accounts/logout/__next._full.txt +1 -1
  22. package/dist/server/out/accounts/logout/__next._tree.txt +1 -1
  23. package/dist/server/out/accounts/logout/__next.accounts.logout.__PAGE__.txt +1 -1
  24. package/dist/server/out/accounts/logout/index.html +1 -1
  25. package/dist/server/out/accounts/logout/index.txt +1 -1
  26. package/dist/server/out/accounts/password/change/__next._full.txt +1 -1
  27. package/dist/server/out/accounts/password/change/__next._tree.txt +1 -1
  28. package/dist/server/out/accounts/password/change/__next.accounts.password.change.__PAGE__.txt +1 -1
  29. package/dist/server/out/accounts/password/change/index.html +1 -1
  30. package/dist/server/out/accounts/password/change/index.txt +1 -1
  31. package/dist/server/out/accounts/password/reset/__next._full.txt +1 -1
  32. package/dist/server/out/accounts/password/reset/__next._tree.txt +1 -1
  33. package/dist/server/out/accounts/password/reset/__next.accounts.password.reset.__PAGE__.txt +1 -1
  34. package/dist/server/out/accounts/password/reset/index.html +1 -1
  35. package/dist/server/out/accounts/password/reset/index.txt +1 -1
  36. package/dist/server/out/accounts/signup/__next._full.txt +1 -1
  37. package/dist/server/out/accounts/signup/__next._tree.txt +1 -1
  38. package/dist/server/out/accounts/signup/__next.accounts.signup.__PAGE__.txt +1 -1
  39. package/dist/server/out/accounts/signup/index.html +1 -1
  40. package/dist/server/out/accounts/signup/index.txt +1 -1
  41. package/dist/server/out/setup/__next._full.txt +1 -1
  42. package/dist/server/out/setup/__next._tree.txt +1 -1
  43. package/dist/server/out/setup/__next.setup.__PAGE__.txt +1 -1
  44. package/dist/server/out/setup/index.html +1 -1
  45. package/dist/server/out/setup/index.txt +1 -1
  46. package/dist/server/out/studio/approve/__next._full.txt +1 -1
  47. package/dist/server/out/studio/approve/__next._tree.txt +1 -1
  48. package/dist/server/out/studio/approve/__next.studio.approve.__PAGE__.txt +1 -1
  49. package/dist/server/out/studio/approve/index.html +1 -1
  50. package/dist/server/out/studio/approve/index.txt +1 -1
  51. package/dist/server/out/workspaces/invite/__next._full.txt +1 -1
  52. package/dist/server/out/workspaces/invite/__next._tree.txt +1 -1
  53. package/dist/server/out/workspaces/invite/__next.workspaces.invite.__PAGE__.txt +1 -1
  54. package/dist/server/out/workspaces/invite/index.html +1 -1
  55. package/dist/server/out/workspaces/invite/index.txt +1 -1
  56. package/docs/npm-distribution.md +8 -0
  57. package/docs/studio.md +3 -1
  58. package/package.json +2 -1
  59. /package/dist/server/out/_next/static/{m1cOvyKRNnDjsWBMfcCJt → LKRuw_R6wl92CsuMfKtPZ}/_buildManifest.js +0 -0
  60. /package/dist/server/out/_next/static/{m1cOvyKRNnDjsWBMfcCJt → LKRuw_R6wl92CsuMfKtPZ}/_clientMiddlewareManifest.js +0 -0
  61. /package/dist/server/out/_next/static/{m1cOvyKRNnDjsWBMfcCJt → LKRuw_R6wl92CsuMfKtPZ}/_ssgManifest.js +0 -0
@@ -1 +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/0tlox6w8yf345.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1pcw6gskne7pf.js"/><script src="/_next/static/chunks/1d-3ziz_810o8.js" async=""></script><script src="/_next/static/chunks/3jn_x8ihwq16e.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/3qfy96eoyh-ek.js" async=""></script><script src="/_next/static/chunks/0sp215n9c1io-.js" async=""></script><script src="/_next/static/chunks/230w_ftm3ontp.js" async=""></script><meta name="theme-color" content="#faf8f3"/><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?v=20261023"/><link rel="icon" href="/favicon.png?v=20261023" type="image/png" sizes="96x96"/><link rel="apple-touch-icon" href="/apple-touch-icon.png?v=20261023" sizes="180x180"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><!--$!--><template data-dgst=""></template><p>Loading invitation…</p><!--/$--><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/1pcw6gskne7pf.js","static/chunks/1d-3ziz_810o8.js","static/chunks/3jn_x8ihwq16e.js","static/chunks/1-75euysc3lin.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/1pcw6gskne7pf.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/3qfy96eoyh-ek.js\"\n3:I[39756,[\"$2\"],\"default\"]\n4:I[37457,[\"$2\"],\"default\"]\n9:I[47257,[\"$2\"],\"ClientPageRoot\"]\na:\"/_next/static/chunks/0sp215n9c1io-.js\"\nb:\"/_next/static/chunks/230w_ftm3ontp.js\"\nc:I[62526,[\"$a\",\"$b\"],\"default\"]\nf:I[97367,[\"$2\"],\"OutletBoundary\"]\n10:\"$Sreact.suspense\"\n12:\"ViewportBoundary\"\n13:I[97367,[\"$2\"],\"$12\"]\n15:\"MetadataBoundary\"\n16:I[97367,[\"$2\"],\"$15\"]\n18:I[68027,[],\"default\",1]\n:HL[\"/_next/static/chunks/0tlox6w8yf345.css\",\"style\"]\n6:X\n8:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L9\",null,{\"Component\":\"$c\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@d\",\"$@e\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0sp215n9c1io-.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/230w_ftm3ontp.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$10\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@11\"}]}]]}],\"p\":false,\"v\":null}}]]\n7:[[\"children\",{\"s\":\"invite\",\"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\":\"$Q8\"}]]\n5:[[\"children\",{\"s\":\"workspaces\",\"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\":[\"\",\"workspaces\",\"invite\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0tlox6w8yf345.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/3qfy96eoyh-ek.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,[\"$\",\"$L13\",null,{\"children\":\"$L14\"}],[\"$\",\"$L16\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$10\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L17\"}]}],null]}],null]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$18\",[]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"m1cOvyKRNnDjsWBMfcCJt\"}\n6:C\nd:{}\ne:\"$8:0:1:d:r:props:children:0:props:serverProvidedParams:params\"\n14:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#faf8f3\"}]]\n19:I[27201,[\"$2\"],\"IconMark\"]\n11:null\n17:[[\"$\",\"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?v=20261023\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.png?v=20261023\",\"type\":\"image/png\",\"sizes\":\"96x96\"}],[\"$\",\"link\",\"6\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png?v=20261023\",\"sizes\":\"180x180\"}],[\"$\",\"$L19\",\"7\",{}]]\n"])</script></body></html>
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/0tlox6w8yf345.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1pcw6gskne7pf.js"/><script src="/_next/static/chunks/1d-3ziz_810o8.js" async=""></script><script src="/_next/static/chunks/3jn_x8ihwq16e.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/3qfy96eoyh-ek.js" async=""></script><script src="/_next/static/chunks/0sp215n9c1io-.js" async=""></script><script src="/_next/static/chunks/230w_ftm3ontp.js" async=""></script><meta name="theme-color" content="#faf8f3"/><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?v=20261023"/><link rel="icon" href="/favicon.png?v=20261023" type="image/png" sizes="96x96"/><link rel="apple-touch-icon" href="/apple-touch-icon.png?v=20261023" sizes="180x180"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><!--$!--><template data-dgst=""></template><p>Loading invitation…</p><!--/$--><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/1pcw6gskne7pf.js","static/chunks/1d-3ziz_810o8.js","static/chunks/3jn_x8ihwq16e.js","static/chunks/1-75euysc3lin.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/1pcw6gskne7pf.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/3qfy96eoyh-ek.js\"\n3:I[39756,[\"$2\"],\"default\"]\n4:I[37457,[\"$2\"],\"default\"]\n9:I[47257,[\"$2\"],\"ClientPageRoot\"]\na:\"/_next/static/chunks/0sp215n9c1io-.js\"\nb:\"/_next/static/chunks/230w_ftm3ontp.js\"\nc:I[62526,[\"$a\",\"$b\"],\"default\"]\nf:I[97367,[\"$2\"],\"OutletBoundary\"]\n10:\"$Sreact.suspense\"\n12:\"ViewportBoundary\"\n13:I[97367,[\"$2\"],\"$12\"]\n15:\"MetadataBoundary\"\n16:I[97367,[\"$2\"],\"$15\"]\n18:I[68027,[],\"default\",1]\n:HL[\"/_next/static/chunks/0tlox6w8yf345.css\",\"style\"]\n6:X\n8:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L9\",null,{\"Component\":\"$c\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@d\",\"$@e\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0sp215n9c1io-.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/230w_ftm3ontp.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$10\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@11\"}]}]]}],\"p\":false,\"v\":null}}]]\n7:[[\"children\",{\"s\":\"invite\",\"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\":\"$Q8\"}]]\n5:[[\"children\",{\"s\":\"workspaces\",\"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\":[\"\",\"workspaces\",\"invite\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0tlox6w8yf345.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/3qfy96eoyh-ek.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,[\"$\",\"$L13\",null,{\"children\":\"$L14\"}],[\"$\",\"$L16\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$10\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L17\"}]}],null]}],null]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$18\",[]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"LKRuw_R6wl92CsuMfKtPZ\"}\n6:C\nd:{}\ne:\"$8:0:1:d:r:props:children:0:props:serverProvidedParams:params\"\n14:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#faf8f3\"}]]\n19:I[27201,[\"$2\"],\"IconMark\"]\n11:null\n17:[[\"$\",\"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?v=20261023\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.png?v=20261023\",\"type\":\"image/png\",\"sizes\":\"96x96\"}],[\"$\",\"link\",\"6\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png?v=20261023\",\"sizes\":\"180x180\"}],[\"$\",\"$L19\",\"7\",{}]]\n"])</script></body></html>
@@ -18,7 +18,7 @@ f:I[97367,["$2"],"OutletBoundary"]
18
18
  8:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[["$","$L9",null,{"Component":"$c","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@d","$@e"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0sp215n9c1io-.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/230w_ftm3ontp.js","async":true,"nonce":"$undefined"}]],["$","$Lf",null,{"children":["$","$10",null,{"name":"Next.MetadataOutlet","children":"$@11"}]}]]}],"p":false,"v":null}}]]
19
19
  7:[["children",{"s":"invite","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":"$Q8"}]]
20
20
  5:[["children",{"s":"workspaces","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"}]]
21
- 0:{"P":null,"c":["","workspaces","invite",""],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0tlox6w8yf345.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/3qfy96eoyh-ek.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,["$","$L13",null,{"children":"$L14"}],["$","$L16",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$10",null,{"name":"Next.Metadata","children":"$L17"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$18",[]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"m1cOvyKRNnDjsWBMfcCJt"}
21
+ 0:{"P":null,"c":["","workspaces","invite",""],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0tlox6w8yf345.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/3qfy96eoyh-ek.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,["$","$L13",null,{"children":"$L14"}],["$","$L16",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$10",null,{"name":"Next.Metadata","children":"$L17"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$18",[]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"LKRuw_R6wl92CsuMfKtPZ"}
22
22
  6:C
23
23
  d:{}
24
24
  e:"$8:0:1:d:r:props:children:0:props:serverProvidedParams:params"
@@ -44,6 +44,14 @@ Before upgrading, stop OrgSDK and preserve the database, matching encryption key
44
44
 
45
45
  `orgsdk backup DESTINATION` creates a verified database snapshot. Preserve the encryption key and executor data separately. Stop the installation before restoring into a separate empty data directory, restore the matching encryption key, and test recovery before changing an existing installation. A database backup does not contain project files or recover encrypted credentials without the original key.
46
46
 
47
+ ### Installation updates from Studio
48
+
49
+ The owner of a single-workspace, loopback Linux npm installation started with `orgsdk start` in host mode can confirm an update in Studio. The server checks the stable release on npm at most hourly after a successful check. An unavailable registry leaves the installation running. An update pauses new claims, waits for running jobs and pending approvals to finish, and stops the server and bundled executor. Queued work resumes on restart.
50
+
51
+ The launcher takes a verified SQLite snapshot and copies the remaining stopped installation data, including the matching encryption key and executor files. It prints the private backup directory under `~/.local/share/orgsdk-updates/`. Each installation has its own downloaded CLI and executor. Activation selects the exact requested release atomically. Subsequent launches and maintenance commands for that data directory use the selected version. A newer globally installed CLI takes precedence. Keep the backup until you have verified the new installation. If startup or a migration fails, inspect the launcher output and restore the stopped backup into a separate empty installation using the matching older package. An older binary alone cannot reverse migrations.
52
+
53
+ An existing installation needs one manual upgrade to the first release with this feature. Separately managed executors, Docker, root, source builds, remote listeners and installations with externally managed executor storage use the manual upgrade path. Set `ORGSDK_DISABLE_UPDATES=1` on the launcher to require manual upgrades. Updating Studio itself only activates browser assets.
54
+
47
55
  ## Verification
48
56
 
49
57
  `npm run test:distribution -- ./orgsdk-cli-VERSION.tgz` installs the real tarball into an empty temporary directory. Use `npm run test:distribution -- @orgsdk/cli@VERSION` to install from the public registry instead. The application and runner are launched with a path containing only Node.js. `npm run test:distribution:bun -- ./orgsdk-cli-VERSION.tgz` runs the same acceptance assertions with Bun. These tests exercise installation pages and Studio redirects, setup, login, automatic executor registration, code, validation, reusable action tests/execution, persistent files across restart, migration, backup, cancellation and graceful shutdown. They use disposable account and installation data.
package/docs/studio.md CHANGED
@@ -28,7 +28,9 @@ Hosted servers, older local installations and **Use an existing installation sig
28
28
 
29
29
  Visit Studio online once and allow its service worker to finish downloading the dashboard, including the editor. After that, you can reopen Studio at the same address when the dashboard host is unreachable. The installation must still be running and reachable for discovery, approval and workspace operations. A fresh browser profile, cleared site data or browser storage eviction requires another online visit.
30
30
 
31
- Studio checks for a new release when opened, when a tab becomes visible and hourly while visible. It verifies the static files before activating the release. Downloads resume in verified batches. If a download fails, the previous release remains available. On the welcome screen, **Retry offline download** saves the offline copy without interrupting the connection flow. When an update is ready, save your work and close all Studio tabs. The next session uses the new release. API responses, credentials and workspace records are outside the service worker cache.
31
+ Studio checks for a new release when opened, when a tab becomes visible and hourly while visible. It verifies the static files before activating the release. Downloads resume in verified batches. If a download fails, the previous release remains available. On the welcome screen, **Retry offline download** saves the offline copy without interrupting the connection flow. When an update is ready, save your work and choose **Refresh Studio**. Close other Studio tabs first so their work is preserved. Closing all tabs also activates the verified build for the next visit. API responses, credentials and workspace records are outside the service worker cache.
32
+
33
+ The connected workspace separately checks the **installation** against the stable CLI release on npm. Choose **Later** to dismiss that release or **Update and restart** to review the interruption and confirm it. Studio waits for the updated server and its local executor manager to respond. Older installations show a one-time manual upgrade guide. See [installation updates and recovery](npm-distribution.md#installation-updates-from-studio).
32
34
 
33
35
  Serve the generated `sw.js` from the Studio origin root with revalidation enabled. Preserve the exported asset bytes when hosting them. HTML rewriting or script injection will fail the worker’s integrity checks. Keep the Studio export compatible with the installation’s pairing protocol.
34
36
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.2.0",
2
+ "version": "2.3.0",
3
3
  "name": "@orgsdk/cli",
4
4
  "publishConfig": {
5
5
  "access": "public",
@@ -96,6 +96,7 @@
96
96
  "bin/configuration.mjs",
97
97
  "bin/supervision.mjs",
98
98
  "dist/server/",
99
+ "dist/launcher/",
99
100
  "dist/runtime/",
100
101
  "dist/THIRD_PARTY_NOTICES.txt",
101
102
  "docs/npm-distribution.md",