@capybara-hq/plugin-sdk 0.1.0-rc.72 → 0.1.0-rc.74

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.
@@ -40,6 +40,15 @@ export declare const DEVICE_SERVICE_WORKSPACE_ENV = "CAPYBARA_SERVICE_WORKSPACE"
40
40
  export declare const DEVICE_SERVICE_INSTALL_ENV = "CAPYBARA_SERVICE_INSTALL";
41
41
  /** The file that seals a service's install directory ({@link DEVICE_SERVICE_INSTALL_ENV}). */
42
42
  export declare const DEVICE_SERVICE_INSTALL_SEAL = ".sealed";
43
+ /**
44
+ * Names the Mach service allowances the provider's sandbox gives the service (macOS: device-local
45
+ * sets it, a spec cannot). Its value {@link DEVICE_SERVICE_MACH_CHROMIUM} means the full Chromium
46
+ * build can start there (its `MachPortRendezvousServer` check-in is allowed); absent, a service
47
+ * must not count on it (an older capybara-device refuses it).
48
+ */
49
+ export declare const DEVICE_SERVICE_MACH_ENV = "CAPYBARA_SERVICE_MACH";
50
+ /** {@link DEVICE_SERVICE_MACH_ENV}'s value for the full Chromium build's Mach services. */
51
+ export declare const DEVICE_SERVICE_MACH_CHROMIUM = "chromium";
43
52
  /** The largest message body, in bytes, either side may send on a service connection. */
44
53
  export declare const DEVICE_SERVICE_MAX_MESSAGE: number;
45
54
  /** The kinds a connection's first message may name. */
@@ -40,6 +40,15 @@ export const DEVICE_SERVICE_WORKSPACE_ENV = "CAPYBARA_SERVICE_WORKSPACE";
40
40
  export const DEVICE_SERVICE_INSTALL_ENV = "CAPYBARA_SERVICE_INSTALL";
41
41
  /** The file that seals a service's install directory ({@link DEVICE_SERVICE_INSTALL_ENV}). */
42
42
  export const DEVICE_SERVICE_INSTALL_SEAL = ".sealed";
43
+ /**
44
+ * Names the Mach service allowances the provider's sandbox gives the service (macOS: device-local
45
+ * sets it, a spec cannot). Its value {@link DEVICE_SERVICE_MACH_CHROMIUM} means the full Chromium
46
+ * build can start there (its `MachPortRendezvousServer` check-in is allowed); absent, a service
47
+ * must not count on it (an older capybara-device refuses it).
48
+ */
49
+ export const DEVICE_SERVICE_MACH_ENV = "CAPYBARA_SERVICE_MACH";
50
+ /** {@link DEVICE_SERVICE_MACH_ENV}'s value for the full Chromium build's Mach services. */
51
+ export const DEVICE_SERVICE_MACH_CHROMIUM = "chromium";
43
52
  /** The largest message body, in bytes, either side may send on a service connection. */
44
53
  export const DEVICE_SERVICE_MAX_MESSAGE = 8 * 1024 * 1024;
45
54
  /** The kinds a connection's first message may name. */
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "0.1.0-rc.72";
1
+ export declare const SDK_VERSION = "0.1.0-rc.74";
2
2
  export * from "./agent-template.js";
3
3
  export * from "./avatar-presets.js";
4
4
  export * from "./bootstrap.js";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = "0.1.0-rc.72";
1
+ export const SDK_VERSION = "0.1.0-rc.74";
2
2
  export * from "./agent-template.js";
3
3
  export * from "./avatar-presets.js";
4
4
  export * from "./bootstrap.js";
package/dist/model.d.ts CHANGED
@@ -69,7 +69,7 @@ export interface ModelInfo {
69
69
  * Whether `document` blocks are accepted (default false). Images are governed by `vision`. When
70
70
  * the model does not support them the kernel replaces media blocks with English text
71
71
  * placeholders
72
- * (e.g. `[Attached image "<name>" — this model cannot view images. Read with file_id <id> sends it to the organization's vision model, if one is set.]`; `text/*` documents are
72
+ * (e.g. `[Attached image "<name>" — this model cannot view images. If Read is available to you, Read with file_id <id> sends it to the organization's vision model, if one is set.]`; `text/*` documents are
73
73
  * inlined as truncated text instead),
74
74
  * and never sends the bytes to it.
75
75
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capybara-hq/plugin-sdk",
3
- "version": "0.1.0-rc.72",
3
+ "version": "0.1.0-rc.74",
4
4
  "description": "Capybara plugin SDK: the types and pure functions plugins are written against",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {