@capybara-hq/plugin-sdk 0.1.0-rc.25 → 0.1.0-rc.27

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 (50) hide show
  1. package/agent-docs/extension-points/model-provider.md +3 -1
  2. package/agent-docs/extension-points/object-store.md +2 -0
  3. package/dist/cards.d.ts +17 -8
  4. package/dist/cards.js +21 -10
  5. package/dist/channel.d.ts +91 -47
  6. package/dist/channel.js +10 -5
  7. package/dist/connector-auth.d.ts +5 -2
  8. package/dist/connector-auth.js +14 -8
  9. package/dist/connector.d.ts +67 -32
  10. package/dist/ctx.d.ts +41 -23
  11. package/dist/define-extension.d.ts +21 -11
  12. package/dist/define-extension.js +10 -4
  13. package/dist/device-protocol.d.ts +2 -1
  14. package/dist/extension-point.js +1 -1
  15. package/dist/hooks.d.ts +6 -4
  16. package/dist/identity.d.ts +22 -9
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/model-params.d.ts +41 -22
  20. package/dist/model-params.js +28 -15
  21. package/dist/model.d.ts +121 -70
  22. package/dist/model.js +49 -19
  23. package/dist/permissions.d.ts +6 -6
  24. package/dist/permissions.js +8 -32
  25. package/dist/plugin-package.d.ts +79 -38
  26. package/dist/plugin-package.js +57 -29
  27. package/dist/sandbox-linux-runtime-source.d.ts +15 -0
  28. package/dist/sandbox-linux-runtime-source.js +1412 -0
  29. package/dist/sandbox-runtime-source.d.ts +9 -3
  30. package/dist/sandbox-runtime-source.js +16 -4
  31. package/dist/sandbox.d.ts +4 -1
  32. package/dist/sandbox.js +7 -3
  33. package/dist/secret.d.ts +4 -1
  34. package/dist/secret.js +4 -1
  35. package/dist/setup-guide.d.ts +1 -1
  36. package/dist/setup-guide.js +1 -1
  37. package/dist/skill.d.ts +27 -17
  38. package/dist/skill.js +39 -25
  39. package/dist/storage.d.ts +52 -25
  40. package/dist/tool.d.ts +51 -23
  41. package/dist/tool.js +21 -9
  42. package/dist/ui-resolve.d.ts +2 -7
  43. package/dist/ui-resolve.js +7 -19
  44. package/dist/ui-slots.d.ts +1 -3
  45. package/dist/ui-slots.js +0 -9
  46. package/dist/ui.d.ts +63 -49
  47. package/dist/ui.js +36 -22
  48. package/dist/url.d.ts +4 -1
  49. package/dist/url.js +4 -1
  50. package/package.json +1 -1
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Private Python 3 restricted Linux launcher and syscall broker (`linux-sandbox.py`), staged
3
+ * beside `native-files.py` by a trusted consumer that verifies both digests.
4
+ *
5
+ * Transport: `python3 -I linux-sandbox.py probe` prints the capability report. Otherwise one JSON
6
+ * request on stdin: `{mode: "exec" | "native", roots: {read, write: [{path, fd, dev, ino}]},
7
+ * network: {kind: "none" | "environment"} | {kind: "endpoints", endpoints: [{address, port}]},
8
+ * reportFd, cwd?, env?, argv (exec), timeoutMs? (exec), native (native-files request)}`.
9
+ * Root descriptors are pinned once by the consumer and inherited; the launcher verifies their
10
+ * identity and never reopens a root pathname. Landlock rules, broker metadata checks and the
11
+ * native helper all use those same descriptors. JSON events (`launch`, `exit`, `refused`) go to
12
+ * reportFd, which the restricted child cannot write. SIGTERM cancels the whole owned tree.
13
+ * Full access never uses this launcher: it has no restricted filters.
14
+ */
15
+ export declare const LINUX_SANDBOX_SOURCE: string;