@agentick/sandbox-local 0.2.1

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 (87) hide show
  1. package/README.md +211 -0
  2. package/dist/executor/base.d.ts +15 -0
  3. package/dist/executor/base.d.ts.map +1 -0
  4. package/dist/executor/base.js +20 -0
  5. package/dist/executor/base.js.map +1 -0
  6. package/dist/executor/darwin.d.ts +16 -0
  7. package/dist/executor/darwin.d.ts.map +1 -0
  8. package/dist/executor/darwin.js +44 -0
  9. package/dist/executor/darwin.js.map +1 -0
  10. package/dist/executor/linux.d.ts +22 -0
  11. package/dist/executor/linux.d.ts.map +1 -0
  12. package/dist/executor/linux.js +50 -0
  13. package/dist/executor/linux.js.map +1 -0
  14. package/dist/executor/select.d.ts +12 -0
  15. package/dist/executor/select.d.ts.map +1 -0
  16. package/dist/executor/select.js +23 -0
  17. package/dist/executor/select.js.map +1 -0
  18. package/dist/executor/types.d.ts +29 -0
  19. package/dist/executor/types.d.ts.map +1 -0
  20. package/dist/executor/types.js +4 -0
  21. package/dist/executor/types.js.map +1 -0
  22. package/dist/index.d.ts +12 -0
  23. package/dist/index.d.ts.map +1 -0
  24. package/dist/index.js +12 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/linux/bwrap.d.ts +11 -0
  27. package/dist/linux/bwrap.d.ts.map +1 -0
  28. package/dist/linux/bwrap.js +46 -0
  29. package/dist/linux/bwrap.js.map +1 -0
  30. package/dist/linux/cgroup.d.ts +27 -0
  31. package/dist/linux/cgroup.d.ts.map +1 -0
  32. package/dist/linux/cgroup.js +80 -0
  33. package/dist/linux/cgroup.js.map +1 -0
  34. package/dist/linux/unshare.d.ts +11 -0
  35. package/dist/linux/unshare.d.ts.map +1 -0
  36. package/dist/linux/unshare.js +22 -0
  37. package/dist/linux/unshare.js.map +1 -0
  38. package/dist/local-sandbox.d.ts +42 -0
  39. package/dist/local-sandbox.d.ts.map +1 -0
  40. package/dist/local-sandbox.js +235 -0
  41. package/dist/local-sandbox.js.map +1 -0
  42. package/dist/network/ca.d.ts +38 -0
  43. package/dist/network/ca.d.ts.map +1 -0
  44. package/dist/network/ca.js +143 -0
  45. package/dist/network/ca.js.map +1 -0
  46. package/dist/network/proxy.d.ts +46 -0
  47. package/dist/network/proxy.d.ts.map +1 -0
  48. package/dist/network/proxy.js +144 -0
  49. package/dist/network/proxy.js.map +1 -0
  50. package/dist/network/rules.d.ts +23 -0
  51. package/dist/network/rules.d.ts.map +1 -0
  52. package/dist/network/rules.js +64 -0
  53. package/dist/network/rules.js.map +1 -0
  54. package/dist/paths.d.ts +29 -0
  55. package/dist/paths.d.ts.map +1 -0
  56. package/dist/paths.js +129 -0
  57. package/dist/paths.js.map +1 -0
  58. package/dist/platform/detect.d.ts +17 -0
  59. package/dist/platform/detect.d.ts.map +1 -0
  60. package/dist/platform/detect.js +114 -0
  61. package/dist/platform/detect.js.map +1 -0
  62. package/dist/platform/types.d.ts +16 -0
  63. package/dist/platform/types.d.ts.map +1 -0
  64. package/dist/platform/types.js +4 -0
  65. package/dist/platform/types.js.map +1 -0
  66. package/dist/provider.d.ts +33 -0
  67. package/dist/provider.d.ts.map +1 -0
  68. package/dist/provider.js +137 -0
  69. package/dist/provider.js.map +1 -0
  70. package/dist/resources.d.ts +30 -0
  71. package/dist/resources.d.ts.map +1 -0
  72. package/dist/resources.js +94 -0
  73. package/dist/resources.js.map +1 -0
  74. package/dist/seatbelt/profile.d.ts +30 -0
  75. package/dist/seatbelt/profile.d.ts.map +1 -0
  76. package/dist/seatbelt/profile.js +106 -0
  77. package/dist/seatbelt/profile.js.map +1 -0
  78. package/dist/testing.d.ts +22 -0
  79. package/dist/testing.d.ts.map +1 -0
  80. package/dist/testing.js +39 -0
  81. package/dist/testing.js.map +1 -0
  82. package/dist/workspace.d.ts +30 -0
  83. package/dist/workspace.d.ts.map +1 -0
  84. package/dist/workspace.js +68 -0
  85. package/dist/workspace.js.map +1 -0
  86. package/package.json +64 -0
  87. package/src/index.ts +17 -0
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@agentick/sandbox-local",
3
+ "version": "0.2.1",
4
+ "description": "Local sandbox provider for Agentick — OS-level process isolation via macOS seatbelt and Linux bubblewrap",
5
+ "keywords": [
6
+ "agent",
7
+ "ai",
8
+ "bubblewrap",
9
+ "sandbox",
10
+ "seatbelt"
11
+ ],
12
+ "license": "MIT",
13
+ "author": "Ryan Lindgren",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/agenticklabs/agentick.git",
17
+ "directory": "packages/sandbox-local"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "type": "module",
23
+ "main": "src/index.ts",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./src/index.ts",
27
+ "import": "./dist/index.js"
28
+ },
29
+ "./testing": {
30
+ "types": "./src/testing.ts",
31
+ "import": "./dist/testing.js"
32
+ }
33
+ },
34
+ "publishConfig": {
35
+ "access": "public",
36
+ "exports": {
37
+ ".": {
38
+ "types": "./dist/index.d.ts",
39
+ "import": "./dist/index.js"
40
+ },
41
+ "./testing": {
42
+ "types": "./dist/testing.d.ts",
43
+ "import": "./dist/testing.js"
44
+ }
45
+ },
46
+ "main": "./dist/index.js",
47
+ "types": "./dist/index.d.ts"
48
+ },
49
+ "scripts": {
50
+ "build": "tsc -p tsconfig.build.json",
51
+ "typecheck": "tsc -p tsconfig.build.json --noEmit",
52
+ "lint": "oxlint src/",
53
+ "format:check": "oxfmt --check src/",
54
+ "clean": "rm -rf dist",
55
+ "dev": "tsc --watch"
56
+ },
57
+ "dependencies": {
58
+ "@agentick/sandbox": "workspace:*"
59
+ },
60
+ "devDependencies": {
61
+ "typescript": "^5.7.3",
62
+ "vitest": "^4.0.18"
63
+ }
64
+ }
package/src/index.ts ADDED
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @agentick/sandbox-local — Local sandbox provider
3
+ *
4
+ * OS-level process isolation using macOS seatbelt and Linux bubblewrap/unshare.
5
+ */
6
+
7
+ // ── Provider ────────────────────────────────────────────────────────────────
8
+ export { localProvider } from "./provider";
9
+ export type { LocalProviderConfig } from "./provider";
10
+
11
+ // ── Platform Detection ──────────────────────────────────────────────────────
12
+ export { detectCapabilities } from "./platform/detect";
13
+ export type { PlatformCapabilities, SandboxStrategy } from "./platform/types";
14
+
15
+ // ── Network Proxy ───────────────────────────────────────────────────────────
16
+ export { NetworkProxyServer } from "./network/proxy";
17
+ export type { ProxyServerConfig } from "./network/proxy";