@orgsdk/cli 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +122 -0
- package/README.md +67 -2
- package/bin/configuration.mjs +60 -0
- package/bin/options.mjs +122 -0
- package/bin/orgsdk.mjs +97 -0
- package/bin/supervision.mjs +157 -0
- package/dist/runtime/LICENSE +122 -0
- package/dist/runtime/PROVENANCE.md +15 -0
- package/dist/runtime/README.md +112 -0
- package/dist/runtime/cli-options.js +41 -0
- package/dist/runtime/cli.js +81 -0
- package/dist/runtime/client.js +54 -0
- package/dist/runtime/contract.js +69 -0
- package/dist/runtime/embedded-plugin-loader.mjs +56 -0
- package/dist/runtime/engine/plugins/namespace.js +157 -0
- package/dist/runtime/engine/plugins/types.js +0 -0
- package/dist/runtime/engine/retry.js +67 -0
- package/dist/runtime/engine/sandbox/context.js +115 -0
- package/dist/runtime/engine/sandbox/cpu-budget.js +16 -0
- package/dist/runtime/engine/sandbox/executor.js +196 -0
- package/dist/runtime/engine/sandbox/function-proxy.js +177 -0
- package/dist/runtime/engine/sandbox/index.js +6 -0
- package/dist/runtime/engine/sandbox/secret-refs.js +116 -0
- package/dist/runtime/engine/sandbox/trace.js +65 -0
- package/dist/runtime/engine/sandbox/transpile.js +51 -0
- package/dist/runtime/engine/sandbox/types.js +0 -0
- package/dist/runtime/engine/sandbox/validate.js +63 -0
- package/dist/runtime/engine/sandbox/webhook-handler.js +69 -0
- package/dist/runtime/engine/shared.js +14 -0
- package/dist/runtime/executor-configuration.js +44 -0
- package/dist/runtime/generated/schema.d.ts +6443 -0
- package/dist/runtime/isolated-actions.js +189 -0
- package/dist/runtime/isolated-worker.js +227 -0
- package/dist/runtime/package-dependencies.js +144 -0
- package/dist/runtime/package-plugin.js +151 -0
- package/dist/runtime/plugin-module.js +22 -0
- package/dist/runtime/plugin-store.js +159 -0
- package/dist/runtime/plugins.js +124 -0
- package/dist/runtime/process-runtime.js +72 -0
- package/dist/runtime/project-data.js +97 -0
- package/dist/runtime/project-files.js +259 -0
- package/dist/runtime/runner.js +233 -0
- package/dist/runtime/sdk-declarations.js +197 -0
- package/dist/runtime/sessions/cell-request.js +79 -0
- package/dist/runtime/sessions/compiler/analysis.js +86 -0
- package/dist/runtime/sessions/compiler/binding-pattern.js +35 -0
- package/dist/runtime/sessions/compiler/bindings.js +60 -0
- package/dist/runtime/sessions/compiler/emit.js +111 -0
- package/dist/runtime/sessions/compiler/references.js +62 -0
- package/dist/runtime/sessions/compiler/source-policy.js +62 -0
- package/dist/runtime/sessions/compiler.js +34 -0
- package/dist/runtime/sessions/configuration.js +68 -0
- package/dist/runtime/sessions/events.js +72 -0
- package/dist/runtime/sessions/execute-cell.js +80 -0
- package/dist/runtime/sessions/function-broker.js +78 -0
- package/dist/runtime/sessions/index.js +9 -0
- package/dist/runtime/sessions/journal.js +86 -0
- package/dist/runtime/sessions/kernel.js +142 -0
- package/dist/runtime/sessions/manager.js +153 -0
- package/dist/runtime/sessions/process.js +209 -0
- package/dist/runtime/sessions/records.js +61 -0
- package/dist/runtime/sessions/redaction.js +33 -0
- package/dist/runtime/sessions/scope.js +46 -0
- package/dist/runtime/sessions/session-runtime.js +151 -0
- package/dist/runtime/sessions/types.js +12 -0
- package/dist/runtime/sessions/values.js +40 -0
- package/dist/runtime/sessions/worker.js +81 -0
- package/dist/runtime/supervisor.js +268 -0
- package/dist/runtime/validate-code.js +114 -0
- package/dist/runtime/worker.js +54 -0
- package/dist/server/bun-driver-JKOGHIVX.js +20 -0
- package/dist/server/chunk-WCVBLUNL.js +685 -0
- package/dist/server/index.js +8432 -0
- package/dist/server/migrations/0000_initial.sql +436 -0
- package/dist/server/migrations/0001_queue_indexes.sql +3 -0
- package/dist/server/migrations/0002_trpc_transport.sql +1 -0
- package/dist/server/migrations/meta/0000_snapshot.json +3233 -0
- package/dist/server/migrations/meta/0001_snapshot.json +3260 -0
- package/dist/server/migrations/meta/0002_snapshot.json +3262 -0
- package/dist/server/migrations/meta/_journal.json +27 -0
- package/dist/server/node-driver-FRDSYDBU.js +25 -0
- package/dist/server/out/192.png +0 -0
- package/dist/server/out/404/index.html +1 -0
- package/dist/server/out/404.html +1 -0
- package/dist/server/out/512.png +0 -0
- package/dist/server/out/LICENSE.txt +122 -0
- package/dist/server/out/THIRD_PARTY_NOTICES.md +13 -0
- package/dist/server/out/__next.!KHdvcmtzcGFjZSk.__PAGE__.txt +35 -0
- package/dist/server/out/__next._full.txt +29 -0
- package/dist/server/out/__next._tree.txt +4 -0
- package/dist/server/out/_next/static/F49bfPs3jKhcIuc95hqZh/_buildManifest.js +11 -0
- package/dist/server/out/_next/static/F49bfPs3jKhcIuc95hqZh/_clientMiddlewareManifest.js +1 -0
- package/dist/server/out/_next/static/F49bfPs3jKhcIuc95hqZh/_ssgManifest.js +1 -0
- package/dist/server/out/_next/static/chunks/016glzdsa3q5_.js +1 -0
- package/dist/server/out/_next/static/chunks/05i1qq0mw887k.js +1 -0
- package/dist/server/out/_next/static/chunks/06tt8wiyre1ez.js +1 -0
- package/dist/server/out/_next/static/chunks/0cm9i2msjsy--.js +1 -0
- package/dist/server/out/_next/static/chunks/0cz1d0mv5g_q7.js +1 -0
- package/dist/server/out/_next/static/chunks/0hq5dvj7fy64b.js +1 -0
- package/dist/server/out/_next/static/chunks/0ma4vl-fj0tmu.js +1 -0
- package/dist/server/out/_next/static/chunks/0noal-jqjivtf.js +1 -0
- package/dist/server/out/_next/static/chunks/0spckmsiek0gd.js +1 -0
- package/dist/server/out/_next/static/chunks/103sekujf0rxr.js +1 -0
- package/dist/server/out/_next/static/chunks/10h8kpcnjfe_v.js +1 -0
- package/dist/server/out/_next/static/chunks/16_aurf9162_6.js +1 -0
- package/dist/server/out/_next/static/chunks/1c48yx15nlt6w.js +1 -0
- package/dist/server/out/_next/static/chunks/1jp827_2p_wkf.js +1 -0
- package/dist/server/out/_next/static/chunks/1kdk-viqnjs3j.js +1 -0
- package/dist/server/out/_next/static/chunks/1mlfee105fhl7.js +1 -0
- package/dist/server/out/_next/static/chunks/1q9jpzm9b6zy9.js +1 -0
- package/dist/server/out/_next/static/chunks/1v0-a7pehktp9.js +22 -0
- package/dist/server/out/_next/static/chunks/24qxhh2dqvhaa.js +1 -0
- package/dist/server/out/_next/static/chunks/253gnn8ai3i89.js +1 -0
- package/dist/server/out/_next/static/chunks/27umf0z4povug.js +1 -0
- package/dist/server/out/_next/static/chunks/280w168xxgtwt.js +402 -0
- package/dist/server/out/_next/static/chunks/2a_c2xcjy62fq.css +1 -0
- package/dist/server/out/_next/static/chunks/2bbfbmv0vf3j0.js +1 -0
- package/dist/server/out/_next/static/chunks/2mvlvogrl6o0u.js +1 -0
- package/dist/server/out/_next/static/chunks/2xzrcwr9q6195.js +1 -0
- package/dist/server/out/_next/static/chunks/2yi6lq56xoijl.js +31 -0
- package/dist/server/out/_next/static/chunks/30g0jo299pr8e.js +1 -0
- package/dist/server/out/_next/static/chunks/36tf56rgybjz0.js +3 -0
- package/dist/server/out/_next/static/chunks/39dofrhzg_uju.js +1 -0
- package/dist/server/out/_next/static/chunks/3a8aanmz3kfof.js +1 -0
- package/dist/server/out/_next/static/chunks/3bd3k15tx3lj1.js +1 -0
- package/dist/server/out/_next/static/chunks/3d34pxerfr389.js +1 -0
- package/dist/server/out/_next/static/chunks/3dx108d0g6032.js +55 -0
- package/dist/server/out/_next/static/chunks/3elab9vgx7_ok.js +1 -0
- package/dist/server/out/_next/static/chunks/3gvae9c-5pi5z.js +1 -0
- package/dist/server/out/_next/static/chunks/3hzia782sc9pf.js +1 -0
- package/dist/server/out/_next/static/chunks/3jl4k-15i8847.js +1 -0
- package/dist/server/out/_next/static/chunks/3lb23el6qno6s.js +1 -0
- package/dist/server/out/_next/static/chunks/3prum3lr5470i.js +3 -0
- package/dist/server/out/_next/static/chunks/3prwkrciuqwjg.js +1 -0
- package/dist/server/out/_next/static/chunks/3txmqtuo5xgfd.js +3 -0
- package/dist/server/out/_next/static/chunks/3u7q5w03st-rs.js +1 -0
- package/dist/server/out/_next/static/chunks/turbopack-3-ry682tkyiqk.js +1 -0
- package/dist/server/out/_not-found/__next._full.txt +21 -0
- package/dist/server/out/_not-found/__next._not-found.__PAGE__.txt +27 -0
- package/dist/server/out/_not-found/__next._tree.txt +4 -0
- package/dist/server/out/_not-found/index.html +1 -0
- package/dist/server/out/_not-found/index.txt +21 -0
- package/dist/server/out/accounts/2fa/__next._full.txt +26 -0
- package/dist/server/out/accounts/2fa/__next._tree.txt +5 -0
- package/dist/server/out/accounts/2fa/__next.accounts.2fa.__PAGE__.txt +33 -0
- package/dist/server/out/accounts/2fa/index.html +1 -0
- package/dist/server/out/accounts/2fa/index.txt +26 -0
- package/dist/server/out/accounts/email/__next._full.txt +26 -0
- package/dist/server/out/accounts/email/__next._tree.txt +5 -0
- package/dist/server/out/accounts/email/__next.accounts.email.__PAGE__.txt +33 -0
- package/dist/server/out/accounts/email/index.html +1 -0
- package/dist/server/out/accounts/email/index.txt +26 -0
- package/dist/server/out/accounts/login/__next._full.txt +26 -0
- package/dist/server/out/accounts/login/__next._tree.txt +5 -0
- package/dist/server/out/accounts/login/__next.accounts.login.__PAGE__.txt +33 -0
- package/dist/server/out/accounts/login/index.html +1 -0
- package/dist/server/out/accounts/login/index.txt +26 -0
- package/dist/server/out/accounts/logout/__next._full.txt +26 -0
- package/dist/server/out/accounts/logout/__next._tree.txt +5 -0
- package/dist/server/out/accounts/logout/__next.accounts.logout.__PAGE__.txt +33 -0
- package/dist/server/out/accounts/logout/index.html +1 -0
- package/dist/server/out/accounts/logout/index.txt +26 -0
- package/dist/server/out/accounts/password/change/__next._full.txt +27 -0
- package/dist/server/out/accounts/password/change/__next._tree.txt +6 -0
- package/dist/server/out/accounts/password/change/__next.accounts.password.change.__PAGE__.txt +35 -0
- package/dist/server/out/accounts/password/change/index.html +1 -0
- package/dist/server/out/accounts/password/change/index.txt +27 -0
- package/dist/server/out/accounts/password/reset/__next._full.txt +25 -0
- package/dist/server/out/accounts/password/reset/__next._tree.txt +6 -0
- package/dist/server/out/accounts/password/reset/__next.accounts.password.reset.__PAGE__.txt +33 -0
- package/dist/server/out/accounts/password/reset/index.html +1 -0
- package/dist/server/out/accounts/password/reset/index.txt +25 -0
- package/dist/server/out/accounts/signup/__next._full.txt +26 -0
- package/dist/server/out/accounts/signup/__next._tree.txt +5 -0
- package/dist/server/out/accounts/signup/__next.accounts.signup.__PAGE__.txt +33 -0
- package/dist/server/out/accounts/signup/index.html +1 -0
- package/dist/server/out/accounts/signup/index.txt +26 -0
- package/dist/server/out/actions/__next.!KHdvcmtzcGFjZSk.actions.__PAGE__.txt +44 -0
- package/dist/server/out/actions/__next._full.txt +37 -0
- package/dist/server/out/actions/__next._tree.txt +5 -0
- package/dist/server/out/actions/index.html +1 -0
- package/dist/server/out/actions/index.txt +37 -0
- package/dist/server/out/agents/__next.!KHdvcmtzcGFjZSk.agents.__PAGE__.txt +39 -0
- package/dist/server/out/agents/__next._full.txt +32 -0
- package/dist/server/out/agents/__next._tree.txt +5 -0
- package/dist/server/out/agents/index.html +1 -0
- package/dist/server/out/agents/index.txt +32 -0
- package/dist/server/out/app-icon.svg +7 -0
- package/dist/server/out/apple-touch-icon.png +0 -0
- package/dist/server/out/approvals/__next.!KHdvcmtzcGFjZSk.approvals.__PAGE__.txt +39 -0
- package/dist/server/out/approvals/__next._full.txt +32 -0
- package/dist/server/out/approvals/__next._tree.txt +5 -0
- package/dist/server/out/approvals/index.html +1 -0
- package/dist/server/out/approvals/index.txt +32 -0
- package/dist/server/out/artifacts/__next.!KHdvcmtzcGFjZSk.artifacts.__PAGE__.txt +41 -0
- package/dist/server/out/artifacts/__next._full.txt +34 -0
- package/dist/server/out/artifacts/__next._tree.txt +5 -0
- package/dist/server/out/artifacts/index.html +1 -0
- package/dist/server/out/artifacts/index.txt +34 -0
- package/dist/server/out/audit/__next.!KHdvcmtzcGFjZSk.audit.__PAGE__.txt +36 -0
- package/dist/server/out/audit/__next._full.txt +29 -0
- package/dist/server/out/audit/__next._tree.txt +5 -0
- package/dist/server/out/audit/index.html +1 -0
- package/dist/server/out/audit/index.txt +29 -0
- package/dist/server/out/brand/logo/README.md +92 -0
- package/dist/server/out/brand/logo/app-icon.svg +7 -0
- package/dist/server/out/brand/logo/favicon.svg +8 -0
- package/dist/server/out/brand/logo/fonts/Inter-Bold.ttf +0 -0
- package/dist/server/out/brand/logo/fonts/Inter-Regular.ttf +0 -0
- package/dist/server/out/brand/logo/lockup-dark.svg +11 -0
- package/dist/server/out/brand/logo/lockup-integrated.svg +14 -0
- package/dist/server/out/brand/logo/lockup-light.svg +11 -0
- package/dist/server/out/brand/logo/og-image.svg +20 -0
- package/dist/server/out/brand/logo/primary-solid.svg +6 -0
- package/dist/server/out/brand/logo/primary.svg +7 -0
- package/dist/server/out/brand/logo/raster/banner-1500x500.png +0 -0
- package/dist/server/out/brand/logo/raster/profile-1024.png +0 -0
- package/dist/server/out/brand/logo/raster/profile-512.png +0 -0
- package/dist/server/out/brand/logo/raster/square-1080.png +0 -0
- package/dist/server/out/brand/tokens.md +74 -0
- package/dist/server/out/chat/__next.!KHdvcmtzcGFjZSk.chat.__PAGE__.txt +35 -0
- package/dist/server/out/chat/__next._full.txt +28 -0
- package/dist/server/out/chat/__next._tree.txt +5 -0
- package/dist/server/out/chat/index.html +1 -0
- package/dist/server/out/chat/index.txt +28 -0
- package/dist/server/out/connections/__next.!KHdvcmtzcGFjZSk.connections.__PAGE__.txt +39 -0
- package/dist/server/out/connections/__next._full.txt +32 -0
- package/dist/server/out/connections/__next._tree.txt +5 -0
- package/dist/server/out/connections/index.html +1 -0
- package/dist/server/out/connections/index.txt +32 -0
- package/dist/server/out/credentials/__next.!KHdvcmtzcGFjZSk.credentials.__PAGE__.txt +40 -0
- package/dist/server/out/credentials/__next._full.txt +33 -0
- package/dist/server/out/credentials/__next._tree.txt +5 -0
- package/dist/server/out/credentials/index.html +1 -0
- package/dist/server/out/credentials/index.txt +33 -0
- package/dist/server/out/documents/__next.!KHdvcmtzcGFjZSk.documents.__PAGE__.txt +39 -0
- package/dist/server/out/documents/__next._full.txt +32 -0
- package/dist/server/out/documents/__next._tree.txt +5 -0
- package/dist/server/out/documents/index.html +1 -0
- package/dist/server/out/documents/index.txt +32 -0
- package/dist/server/out/favicon.ico +0 -0
- package/dist/server/out/favicon.svg +8 -0
- package/dist/server/out/index.html +1 -0
- package/dist/server/out/index.txt +29 -0
- package/dist/server/out/logo.svg +12 -0
- package/dist/server/out/monaco/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/dist/server/out/monaco/vs/base/worker/workerMain.js +31 -0
- package/dist/server/out/monaco/vs/basic-languages/abap/abap.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/apex/apex.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/azcli/azcli.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/bat/bat.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/bicep/bicep.js +11 -0
- package/dist/server/out/monaco/vs/basic-languages/cameligo/cameligo.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/clojure/clojure.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/coffee/coffee.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/cpp/cpp.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/csharp/csharp.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/csp/csp.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/css/css.js +12 -0
- package/dist/server/out/monaco/vs/basic-languages/cypher/cypher.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/dart/dart.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/dockerfile/dockerfile.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/ecl/ecl.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/elixir/elixir.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/flow9/flow9.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/freemarker2/freemarker2.js +12 -0
- package/dist/server/out/monaco/vs/basic-languages/fsharp/fsharp.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/go/go.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/graphql/graphql.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/handlebars/handlebars.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/hcl/hcl.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/html/html.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/ini/ini.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/java/java.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/javascript/javascript.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/julia/julia.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/kotlin/kotlin.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/less/less.js +11 -0
- package/dist/server/out/monaco/vs/basic-languages/lexon/lexon.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/liquid/liquid.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/lua/lua.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/m3/m3.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/markdown/markdown.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/mdx/mdx.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/mips/mips.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/msdax/msdax.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/mysql/mysql.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/objective-c/objective-c.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/pascal/pascal.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/pascaligo/pascaligo.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/perl/perl.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/pgsql/pgsql.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/php/php.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/pla/pla.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/postiats/postiats.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/powerquery/powerquery.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/powershell/powershell.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/protobuf/protobuf.js +11 -0
- package/dist/server/out/monaco/vs/basic-languages/pug/pug.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/python/python.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/qsharp/qsharp.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/r/r.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/razor/razor.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/redis/redis.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/redshift/redshift.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/restructuredtext/restructuredtext.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/ruby/ruby.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/rust/rust.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/sb/sb.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/scala/scala.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/scheme/scheme.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/scss/scss.js +12 -0
- package/dist/server/out/monaco/vs/basic-languages/shell/shell.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/solidity/solidity.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/sophia/sophia.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/sparql/sparql.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/sql/sql.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/st/st.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/swift/swift.js +13 -0
- package/dist/server/out/monaco/vs/basic-languages/systemverilog/systemverilog.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/tcl/tcl.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/twig/twig.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/typescript/typescript.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/typespec/typespec.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/vb/vb.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/wgsl/wgsl.js +307 -0
- package/dist/server/out/monaco/vs/basic-languages/xml/xml.js +10 -0
- package/dist/server/out/monaco/vs/basic-languages/yaml/yaml.js +10 -0
- package/dist/server/out/monaco/vs/editor/editor.main.css +8 -0
- package/dist/server/out/monaco/vs/editor/editor.main.js +798 -0
- package/dist/server/out/monaco/vs/language/css/cssMode.js +13 -0
- package/dist/server/out/monaco/vs/language/css/cssWorker.js +77 -0
- package/dist/server/out/monaco/vs/language/html/htmlMode.js +13 -0
- package/dist/server/out/monaco/vs/language/html/htmlWorker.js +454 -0
- package/dist/server/out/monaco/vs/language/json/jsonMode.js +19 -0
- package/dist/server/out/monaco/vs/language/json/jsonWorker.js +42 -0
- package/dist/server/out/monaco/vs/language/typescript/tsMode.js +20 -0
- package/dist/server/out/monaco/vs/language/typescript/tsWorker.js +51328 -0
- package/dist/server/out/monaco/vs/loader.js +11 -0
- package/dist/server/out/monaco/vs/nls.messages.de.js +21 -0
- package/dist/server/out/monaco/vs/nls.messages.es.js +21 -0
- package/dist/server/out/monaco/vs/nls.messages.fr.js +19 -0
- package/dist/server/out/monaco/vs/nls.messages.it.js +19 -0
- package/dist/server/out/monaco/vs/nls.messages.ja.js +21 -0
- package/dist/server/out/monaco/vs/nls.messages.ko.js +19 -0
- package/dist/server/out/monaco/vs/nls.messages.ru.js +21 -0
- package/dist/server/out/monaco/vs/nls.messages.zh-cn.js +21 -0
- package/dist/server/out/monaco/vs/nls.messages.zh-tw.js +19 -0
- package/dist/server/out/og-image.png +0 -0
- package/dist/server/out/people/__next.!KHdvcmtzcGFjZSk.people.__PAGE__.txt +39 -0
- package/dist/server/out/people/__next._full.txt +32 -0
- package/dist/server/out/people/__next._tree.txt +5 -0
- package/dist/server/out/people/index.html +1 -0
- package/dist/server/out/people/index.txt +32 -0
- package/dist/server/out/plugins/__next.!KHdvcmtzcGFjZSk.plugins.__PAGE__.txt +42 -0
- package/dist/server/out/plugins/__next._full.txt +35 -0
- package/dist/server/out/plugins/__next._tree.txt +5 -0
- package/dist/server/out/plugins/index.html +1 -0
- package/dist/server/out/plugins/index.txt +35 -0
- package/dist/server/out/projects/__next.!KHdvcmtzcGFjZSk.projects.__PAGE__.txt +39 -0
- package/dist/server/out/projects/__next._full.txt +32 -0
- package/dist/server/out/projects/__next._tree.txt +5 -0
- package/dist/server/out/projects/index.html +1 -0
- package/dist/server/out/projects/index.txt +32 -0
- package/dist/server/out/runs/__next.!KHdvcmtzcGFjZSk.runs.__PAGE__.txt +41 -0
- package/dist/server/out/runs/__next._full.txt +34 -0
- package/dist/server/out/runs/__next._tree.txt +5 -0
- package/dist/server/out/runs/index.html +1 -0
- package/dist/server/out/runs/index.txt +34 -0
- package/dist/server/out/schedules/__next.!KHdvcmtzcGFjZSk.schedules.__PAGE__.txt +41 -0
- package/dist/server/out/schedules/__next._full.txt +34 -0
- package/dist/server/out/schedules/__next._tree.txt +5 -0
- package/dist/server/out/schedules/index.html +1 -0
- package/dist/server/out/schedules/index.txt +34 -0
- package/dist/server/out/settings/__next.!KHdvcmtzcGFjZSk.settings.__PAGE__.txt +39 -0
- package/dist/server/out/settings/__next._full.txt +32 -0
- package/dist/server/out/settings/__next._tree.txt +5 -0
- package/dist/server/out/settings/index.html +1 -0
- package/dist/server/out/settings/index.txt +32 -0
- package/dist/server/out/setup/__next._full.txt +28 -0
- package/dist/server/out/setup/__next._tree.txt +4 -0
- package/dist/server/out/setup/__next.setup.__PAGE__.txt +34 -0
- package/dist/server/out/setup/index.html +1 -0
- package/dist/server/out/setup/index.txt +28 -0
- package/dist/server/out/tables/__next.!KHdvcmtzcGFjZSk.tables.__PAGE__.txt +36 -0
- package/dist/server/out/tables/__next._full.txt +29 -0
- package/dist/server/out/tables/__next._tree.txt +5 -0
- package/dist/server/out/tables/index.html +1 -0
- package/dist/server/out/tables/index.txt +29 -0
- package/dist/server/out/third-party-licenses/monaco-editor.txt +21 -0
- package/dist/server/out/third-party-licenses/zod.txt +21 -0
- package/dist/server/out/webhooks/__next.!KHdvcmtzcGFjZSk.webhooks.__PAGE__.txt +39 -0
- package/dist/server/out/webhooks/__next._full.txt +32 -0
- package/dist/server/out/webhooks/__next._tree.txt +5 -0
- package/dist/server/out/webhooks/index.html +1 -0
- package/dist/server/out/webhooks/index.txt +32 -0
- package/dist/server/out/workspaces/invite/__next._full.txt +29 -0
- package/dist/server/out/workspaces/invite/__next._tree.txt +5 -0
- package/dist/server/out/workspaces/invite/__next.workspaces.invite.__PAGE__.txt +36 -0
- package/dist/server/out/workspaces/invite/index.html +1 -0
- package/dist/server/out/workspaces/invite/index.txt +29 -0
- package/docs/npm-distribution.md +76 -0
- package/package.json +79 -4
- package/runtime/LICENSE +122 -0
- package/runtime/README.md +112 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Persistent project executor
|
|
2
|
+
|
|
3
|
+
The `@orgsdk/executor` npm package provides `orgsdk-executor`. Install it with `npm install -g @orgsdk/executor@0.1.0` for an independently managed runner. The `@orgsdk/cli` platform package already includes its local executor. Linux with Node 22.22.0+ and npm is required. Bun 1.4 remains an optional source-development runtime; installed JavaScript workers do not require Bun on PATH. Docker execution additionally requires Docker with `--mount volume-subpath` support, a built executor image, and network access to the OrgSDK application.
|
|
4
|
+
|
|
5
|
+
Create an executor identity for the chosen project in the application. Register using its token on stdin (or `EXECUTOR_TOKEN`), without placing the token in command history:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
orgsdk-executor register --url http://localhost:8080 --data /path/to/private-runner
|
|
9
|
+
orgsdk-executor start --data /path/to/private-runner
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Registration saves the token in `registration.json` with mode 0600. Without `--data` or `EXECUTOR_DATA_DIR`, data lives at `$XDG_DATA_HOME/orgsdk/executor` (default `~/.local/share/orgsdk/executor`), independently of the package installation directory. Docker is the default mode. Configure `EXECUTOR_IMAGE`, `EXECUTION_NETWORK`, and `EXECUTOR_DATA_VOLUME`; set `--data` to the mounted volume root so it contains `agents/<agent-id>`. Docker jobs mount only their own agent subdirectory at `/agent`, use `/agent/workspace` as their working directory, and receive only their run capability through stdin. Other agents and registration files are not mounted. The managed installation runs `orgsdk-executor manage` (or `node dist/supervisor.js`) with `DJANGO_URL` and `LOCAL_EXECUTOR_BOOTSTRAP_TOKEN`. Each identity has one serial worker; revoked identities stop and remain stopped while the same revoked registration is advertised. Bootstrap omissions stop active workers; a later explicit re-enable or replacement identity starts a new worker. Transient startup failures retry with a bounded delay.
|
|
13
|
+
|
|
14
|
+
Use `start --mode host` explicitly to run child jobs using the current OS account, its PATH and HOME. Host mode can use installed command-line tools and their account configuration; it is appropriate only for trusted plugins. It filters bootstrap, token, password, API key and credential environment variables from child jobs. Plugin code still receives only snapshot-authorized product credentials through the run capability. Host processes retain OS account filesystem access. Host validation/test workers receive only the allowlisted source, SDK metadata, test fixtures and output schema, run in a disposable directory, and have no product capability or project mount. Their OS account can still access host files; Docker provides the OS isolation boundary. Docker is the default isolation boundary.
|
|
15
|
+
|
|
16
|
+
Project workspace files and installed plugin releases survive runs. No run cleanup deletes the agent folder. Plugins install under `agents/<id>/plugins/<slug>/<sha256>/plugin.mjs`; historical pinned versions remain available to retries. Current enabled configuration is fetched before each claim. External clients own reasoning and coordination. The runtime executes action, code, validation and test jobs only; built-in chat and reasoning delegation are retired. Existing `agents/<id>` storage paths and `--agent` install arguments identify retained project IDs.
|
|
17
|
+
|
|
18
|
+
The separate [execution session module](src/sessions/README.md) supports successive cells in one live worker, stable session IDs, cursor-based events and retained history after close or expiry. It is an internal module and is not connected to the existing executor job loop or public APIs.
|
|
19
|
+
|
|
20
|
+
## External plugins
|
|
21
|
+
|
|
22
|
+
No built-in plugin implementations are shipped. Supply a self-contained ESM JavaScript release URL over HTTPS in `package_url`, its lowercase SHA256 as `digest`, and repository/source links in marketplace metadata. Up to five HTTPS redirects are followed (HTTP downgrades are rejected), streaming downloads are capped at 32 MiB, bytes are verified before import, and cached releases are verified without fetching again. Modules can export `safeFunctions` directly or a default context factory returning `safeFunctions`, optional `onLoad`, and optional Zod config schema. Inline custom plugins continue to accept TypeScript and positional handlers with the authorized secret as the first argument when configured. External factory handlers use the named canonical contract. The factory receives snapshot-scoped credential/config stores; mutation is denied. Bundle dependencies into the release. Raw npm packages and tarballs are not accepted by this version.
|
|
23
|
+
|
|
24
|
+
An administrator can preinstall a local bundle with the same digest checks. Leave `package_url` blank in the catalog for a release available only as a local file; each assigned agent needs its own installed copy:
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
orgsdk-executor install --agent AGENT_ID --manifest manifest.json --file plugin.mjs --data /path/to/private-runner
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Runtime checks: `bun run check`. Run `npm run smoke:node` and `npm run smoke:bun` to pack and install into temporary storage, then exercise the same built-worker, plugin, validation/test, session and shutdown assertions under the selected runtime. The Node check removes Bun from PATH. The Bun check executes the suite and its CLI, job, validation, session and manager child processes with Bun. Both verify the executing runtime and clean their temporary fixtures. Source unit tests use `bun:test` and Bun HTTP/process fixtures, so `bun run check` remains a separate Bun-only gate; the packed behavioral suite supplies the matching Node/Bun coverage. Docker execution remains an opt-in integration check. Build JavaScript with `npm run build`; build a local installable artifact with `npm pack` (which runs the build automatically). Do not publish without separate authorization.
|
|
31
|
+
|
|
32
|
+
For an existing plugin checkout using the canonical `.plugin.json` with `name`, `version`, and `entry`, install its dependencies in that checkout, then run `orgsdk-executor package-plugin --directory CHECKOUT --output RELEASE_DIR`. This adapter uses esbuild to bundle the entry and installed dependencies into one ESM file and emits a manifest preserving the original plugin metadata (including any declared tools/docs/auth/config). The adapter accepts a checkout root containing `plugin/.plugin.json` or the plugin directory itself. It also emits `<slug>.catalog.json`, an array matching the OrgSDK marketplace catalog (tool schemas, documentation, auth metadata and configuration schema). Set the immutable HTTPS `package_url` in that catalog and configure `PLUGIN_CATALOG_PATH` to use it; `release_metadata` is pinned when installed. The companion manifest is for the local install command. The emitted digest pins the exact compiled bytes; reproducing the source build still requires the checkout's own dependency lock. Canonical source `.tgz` packages are not directly installed or executed. Local preinstall via `install --file` avoids a release server for development without weakening digest checks.
|
|
33
|
+
|
|
34
|
+
## Install an optional local Linux service
|
|
35
|
+
|
|
36
|
+
Use this optional systemd service to run a project executor on a local Linux machine.
|
|
37
|
+
The service communicates with the application over HTTP and never accesses the application database.
|
|
38
|
+
Use `http://localhost:8080` when the service runs on the server machine, or the
|
|
39
|
+
server's reachable local network address when using another machine. Docker
|
|
40
|
+
jobs also need a server address reachable from their container; container
|
|
41
|
+
`localhost` refers to the job container itself. Allow outbound access to the
|
|
42
|
+
server, plugin release URLs and configured model providers. No inbound executor
|
|
43
|
+
port is needed. Create one executor identity per agent in the application; a
|
|
44
|
+
service instance uses that identity and processes one run at a time.
|
|
45
|
+
|
|
46
|
+
Build the npm artifact from `runtime/` with `npm pack`, and transfer the
|
|
47
|
+
resulting tarball to the local Linux machine if needed. Install Node 22.22.0+/npm and systemd, with Node in a system-wide path such as `/usr/local/bin/node`.
|
|
48
|
+
Docker mode also needs Docker
|
|
49
|
+
Engine. Extract the installer from the tarball and run it as root:
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
tar -xzf orgsdk-executor-0.1.0.tgz package/scripts/install-service.sh
|
|
53
|
+
sudo bash package/scripts/install-service.sh "$PWD/orgsdk-executor-0.1.0.tgz" researcher docker
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
The installer creates `/opt/orgsdk-executor`, the `orgsdk-researcher` system
|
|
57
|
+
account, `/var/lib/orgsdk-executor/researcher` (0700), the root-only environment
|
|
58
|
+
file `/etc/orgsdk-executor/researcher.env`, and a systemd template. It prints the
|
|
59
|
+
exact registration command with a silent shell token prompt and stdin pipe;
|
|
60
|
+
the token is never a command argument. Registration saves it as 0600 in the
|
|
61
|
+
private data directory. The service starts only after registration and your
|
|
62
|
+
explicit `systemctl enable --now orgsdk-executor@researcher` command. Replace
|
|
63
|
+
the printed `https://YOUR-SERVER` placeholder with your reachable local server URL.
|
|
64
|
+
|
|
65
|
+
For Docker mode, build the job image on the service machine from the repository
|
|
66
|
+
root with `docker build -t orgsdk-executor:local runtime`. When using another
|
|
67
|
+
local build machine, transfer the image with `docker save`/`docker load`. Set
|
|
68
|
+
`EXECUTOR_IMAGE` in the environment file to that image. The default
|
|
69
|
+
`EXECUTION_NETWORK=bridge` supports outbound server access. Each job bind-mounts
|
|
70
|
+
only its agent directory, runs as the service account's numeric UID/GID, and
|
|
71
|
+
receives a run capability through stdin. Registration and environment files
|
|
72
|
+
are outside that mount. Docker group access grants host administration power;
|
|
73
|
+
use a dedicated trusted executor machine.
|
|
74
|
+
|
|
75
|
+
For host execution, pass `host` to the installer explicitly. Host plugins run
|
|
76
|
+
under the instance account and can access its private files, including its
|
|
77
|
+
registration; use this mode only with trusted plugins. Docker is the default.
|
|
78
|
+
No bootstrap token is required for either service mode.
|
|
79
|
+
|
|
80
|
+
Repeat the installer with another instance name and register another agent to
|
|
81
|
+
add independent services and persistent folders. Package files are shared;
|
|
82
|
+
stop all executor services before upgrading the package, rerun the installer,
|
|
83
|
+
then restart them. Existing data and environment files are preserved. Inspect
|
|
84
|
+
logs with `journalctl -u orgsdk-executor@researcher`; stop a runner with
|
|
85
|
+
`systemctl stop orgsdk-executor@researcher`. Stopping does not delete files.
|
|
86
|
+
The artifact includes built JavaScript, workers, SDK declarations, and the embedded plugin loader. npm installs its production dependencies; it is not a standalone executable. Source TypeScript, tests and development fixtures are omitted.
|
|
87
|
+
|
|
88
|
+
## Publishing compatible plugin bundles
|
|
89
|
+
|
|
90
|
+
`package-plugin` creates a standalone ESM release with dependencies bundled. Supply `--license FILE` when publishing to retain that first-party license plus the installed production dependency licenses in the bundle and its `.notices.txt` companion. Missing upstream license files must be supplied from their actual upstream source before publication; the builder never fetches licenses or changes source-repository visibility.
|
|
91
|
+
|
|
92
|
+
Some libraries (such as Playwright) need their original package-file layout. Opt in with `--embed-dependencies playwright`: the package carries a compressed dependency closure, validates every extracted file against its embedded SHA256 before loading, and uses a package-local directory. It does not depend on a checkout or a shared `node_modules` directory. Do not use this to distribute platform-specific native binaries as portable JavaScript.
|
|
93
|
+
|
|
94
|
+
Browser's engine is a runner prerequisite. The optional `Dockerfile.chromium` includes the Chromium version matching Playwright 1.60.0; it adds no plugin implementations to the platform:
|
|
95
|
+
|
|
96
|
+
```sh
|
|
97
|
+
docker build -t orgsdk-job:chromium -f runtime/Dockerfile.chromium runtime
|
|
98
|
+
make EXECUTOR_JOB_IMAGE=orgsdk-job:chromium executor
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Independently managed executors can select that image using `EXECUTOR_IMAGE`. Standard executors remain unchanged. Host-mode runners need matching Chromium at `PLAYWRIGHT_BROWSERS_PATH`.
|
|
102
|
+
|
|
103
|
+
Release acceptance can be repeated without a personal installation or provider API calls:
|
|
104
|
+
|
|
105
|
+
```sh
|
|
106
|
+
bun --no-env-file runtime/scripts/verify-plugin-releases.ts \
|
|
107
|
+
--catalog https://orgsdk.ai/plugins/releases.json
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Use `--catalog /path/releases.json --bundle-root /path/bundles` before publication. Add `--render-pdf` when the matching engine is provisioned to exercise real PDF output. Every package is checksum-verified, installed in temporary `orgsdk-platform-test` project storage, and loaded to compare its exported tools to the catalog. Data Tools is exercised through the VM action interface. This does not prove provider OAuth setup or live external writes.
|
|
111
|
+
|
|
112
|
+
The retained `DJANGO_URL` executor setting is the application base URL for protocol compatibility. Point it at the application server, for example `http://127.0.0.1:8080`. The server binary does not include or start the executor.
|