@theokit/agents 16.1.1 → 16.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @theokit/agents
2
2
 
3
+ ## 16.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - dee6684: `@theokit/agents/sandbox` re-exports `shellEscapePosix` and the `SandboxNetworkPolicy` type, and `SandboxBackend` now carries an optional `dispose()` and an optional `networkPolicy`. A backend for a VM or a container can stop what it holds and state what it can reach (`LocalSandbox` says `unrestricted`), and code that builds a command line outside a backend subclass can quote an argument. The layer requires `@theokit/sdk` ^5.13.0, the release that adds them; on an older SDK the re-export of `shellEscapePosix` would not resolve (#1130, #1131).
8
+
3
9
  ## 16.1.1
4
10
 
5
11
  ### Patch Changes
package/dist/sandbox.d.ts CHANGED
@@ -1 +1 @@
1
- export { BwrapArgvOptions, BwrapDetection, BwrapProbes, CreateSandboxBackendOptions, ExecuteResult, InteractiveWrapOptions, LinuxSandbox, LocalSandbox, ProvisionRepoOptions, RepoProvisionError, SandboxBackend, SandboxConfig, SandboxMode, SandboxNotAvailableError, SandboxPosture, SandboxProvider, SandboxSecurityError, SeccompOptions, allowlistedEnv, buildBwrapArgv, buildSeccompFilter, createSandboxBackend, detectBwrap, detectBwrapMemoized, interactiveWrapCommand, provisionRepo, realProbeCount, realProbes, resetBwrapMemo, resetInteractiveWarnLatch, resetSandboxWarnLatch, resolveSandbox, resolveSandboxPosture, restrictedSeccompPath, seccompPathForArch, wrapCommandForSandbox, writableRootsFor } from '@theokit/sdk/sandbox';
1
+ export { BwrapArgvOptions, BwrapDetection, BwrapProbes, CreateSandboxBackendOptions, ExecuteResult, InteractiveWrapOptions, LinuxSandbox, LocalSandbox, ProvisionRepoOptions, RepoProvisionError, SandboxBackend, SandboxConfig, SandboxMode, SandboxNetworkPolicy, SandboxNotAvailableError, SandboxPosture, SandboxProvider, SandboxSecurityError, SeccompOptions, allowlistedEnv, buildBwrapArgv, buildSeccompFilter, createSandboxBackend, detectBwrap, detectBwrapMemoized, interactiveWrapCommand, provisionRepo, realProbeCount, realProbes, resetBwrapMemo, resetInteractiveWarnLatch, resetSandboxWarnLatch, resolveSandbox, resolveSandboxPosture, restrictedSeccompPath, seccompPathForArch, shellEscapePosix, wrapCommandForSandbox, writableRootsFor } from '@theokit/sdk/sandbox';
package/dist/sandbox.js CHANGED
@@ -25,6 +25,7 @@ import {
25
25
  SandboxNotAvailableError,
26
26
  SandboxSecurityError,
27
27
  seccompPathForArch,
28
+ shellEscapePosix,
28
29
  wrapCommandForSandbox,
29
30
  writableRootsFor
30
31
  } from "@theokit/sdk/sandbox";
@@ -52,6 +53,7 @@ export {
52
53
  resolveSandboxPosture,
53
54
  restrictedSeccompPath,
54
55
  seccompPathForArch,
56
+ shellEscapePosix,
55
57
  wrapCommandForSandbox,
56
58
  writableRootsFor
57
59
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/sandbox-entry.ts"],"mappings":";;;AA0DA;EACEA;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EAIAC;OACK;","names":["allowlistedEnv","buildBwrapArgv","buildSeccompFilter","createSandboxBackend","detectBwrap","detectBwrapMemoized","interactiveWrapCommand","LinuxSandbox","LocalSandbox","provisionRepo","realProbeCount","realProbes","RepoProvisionError","resetBwrapMemo","resetInteractiveWarnLatch","resetSandboxWarnLatch","resolveSandbox","resolveSandboxPosture","restrictedSeccompPath","SandboxBackend","SandboxNotAvailableError","SandboxSecurityError","seccompPathForArch","wrapCommandForSandbox","writableRootsFor"]}
1
+ {"version":3,"sources":["../src/sandbox-entry.ts"],"mappings":";;;AA8DA;EACEA;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EACAC;EAIAC;OACK;","names":["allowlistedEnv","buildBwrapArgv","buildSeccompFilter","createSandboxBackend","detectBwrap","detectBwrapMemoized","interactiveWrapCommand","LinuxSandbox","LocalSandbox","provisionRepo","realProbeCount","realProbes","RepoProvisionError","resetBwrapMemo","resetInteractiveWarnLatch","resetSandboxWarnLatch","resolveSandbox","resolveSandboxPosture","restrictedSeccompPath","SandboxBackend","SandboxNotAvailableError","SandboxSecurityError","seccompPathForArch","shellEscapePosix","wrapCommandForSandbox","writableRootsFor"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theokit/agents",
3
- "version": "16.1.1",
3
+ "version": "16.2.0",
4
4
  "description": "AI agents as first-class citizens of the TheoKit pipeline. The AgentBuilder.create() authoring chain compiles to the @theokit/sdk runtime.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -134,15 +134,15 @@
134
134
  "ai": "7.0.14",
135
135
  "tsup": "^8.5.1",
136
136
  "typescript": "^5.9.3",
137
- "vitest": "^4.1.9",
137
+ "vitest": "^4.1.12",
138
138
  "zod": "^4.4.3",
139
- "@theokit/http": "2.3.0"
139
+ "@theokit/http": "2.3.1"
140
140
  },
141
141
  "engines": {
142
142
  "node": ">=22.12.0"
143
143
  },
144
144
  "dependencies": {
145
- "@theokit/sdk": "^5.11.0",
145
+ "@theokit/sdk": "^5.13.0",
146
146
  "@theokit/sdk-tools": "^0.27.1",
147
147
  "@theokit/presenter": "0.10.0"
148
148
  },