@coltonkirsten/a12s 0.2.0 → 0.3.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/dist/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
- // The default entry (browsers, Deno, workers): no node: imports. Node resolves "a12s" to ./node.ts instead, through
2
- // the "node" export condition, so `import { connect } from "a12s"` works everywhere.
1
+ // The default entry (browsers, Deno, workers): no node: imports. Node resolves "@coltonkirsten/a12s" to ./node.ts instead, through
2
+ // the "node" export condition, so `import { connect } from "@coltonkirsten/a12s"` works everywhere.
3
3
  import { A12sClient } from "./client.js";
4
4
  export * from "./client.js";
5
5
  export * from "./types.js";
@@ -20,6 +20,8 @@ export interface Lock {
20
20
  bundles: Record<string, string>;
21
21
  presets: Record<string, string>;
22
22
  services?: Record<string, string>;
23
+ /** Each security.seccomp profile's digest, by its path in the Fleet file. */
24
+ seccomp?: Record<string, string>;
23
25
  }
24
26
  export interface PutFleetRequest {
25
27
  fleet: Fleet;
@@ -30,6 +32,8 @@ export interface PutFleetRequest {
30
32
  refresh?: string[];
31
33
  /** Home presets as base64 tar streams, keyed by their path in the Fleet. */
32
34
  presets?: Record<string, string>;
35
+ /** security.seccomp profiles (JSON text), keyed by their path in the Fleet. */
36
+ seccomp?: Record<string, string>;
33
37
  }
34
38
  export interface ServiceChanges {
35
39
  created: string[] | null;
@@ -97,6 +101,8 @@ export interface ComputerStatus {
97
101
  activeTurn?: string;
98
102
  harness: Harness;
99
103
  image: string;
104
+ /** The Fleet's security.seccomp path, when the Computer runs with a custom seccomp profile. */
105
+ seccomp?: string;
100
106
  autonomy: string;
101
107
  generation: number;
102
108
  stagedGeneration?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coltonkirsten/a12s",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "TypeScript client for a12s: send work to agent Computers, stream their events and Turns, in Node or the browser",
5
5
  "license": "MIT",
6
6
  "type": "module",