@cmdop/sdk 3.7.5 → 3.8.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.
@@ -1,4 +1,4 @@
1
- // Generated from cmdop/crates/tools/tools.schema.json (sha256 2da8acbfcb79ee4f, cmdop 0.1.21) by exports/sdk/gen/gen.ts. Do not edit.
1
+ // Generated from cmdop/crates/tools/tools.schema.json (sha256 74d267a7b8e73b08, cmdop 0.1.23) by exports/sdk/gen/gen.ts. Do not edit.
2
2
  /** Every error code, in the order Rust declares them. */
3
3
  export const ERROR_CODES = ["other", "denied", "unknown_tool", "bad_args", "not_found", "busy", "permission_missing", "screen_locked", "stale_capture", "element_gone", "app_not_allowed", "lease_paused", "paused", "offline", "rate_limited", "quota_exceeded", "not_dispatched", "display_gone", "timed_out", "cancelled", "too_large", "hash_required", "failed", "needs_presence", "unauthorized", "tool_refused", "sandbox_unavailable"];
4
4
  /** The size limits every carrier keeps. */
@@ -128,6 +128,11 @@ export type MachineRow = {
128
128
  dirty: boolean;
129
129
  epoch: number;
130
130
  id: string;
131
+ /**
132
+ * What kind of computer it is (`container`, `vm`, `laptop`, `desktop`, `server`), as it said
133
+ * on its last link. Left out when it did not say: an older program, or it could not tell.
134
+ */
135
+ kind?: MachineKind | null;
131
136
  /** The name its owner gave it on the page; null when none, and `name` is `own_name`. */
132
137
  label?: string | null;
133
138
  /** Unix seconds of the last message from the machine. */
@@ -241,6 +246,8 @@ export type DockRunView = {
241
246
  /** Unix milliseconds. */
242
247
  started: number;
243
248
  };
249
+ /** The kind of computer a machine runs on. */
250
+ export type MachineKind = ("laptop" | "desktop") | "container" | "vm" | "server";
244
251
  /**
245
252
  * Whether a machine can take a call now, the one answer the page, the app, MCP, the SDK and the
246
253
  * refusals give (machine-presence V1). It is derived from the time of the machine's last
@@ -1,4 +1,4 @@
1
- // Generated from cmdop/crates/tools/tools.schema.json (sha256 2da8acbfcb79ee4f, cmdop 0.1.21) by exports/sdk/gen/gen.ts. Do not edit.
1
+ // Generated from cmdop/crates/tools/tools.schema.json (sha256 74d267a7b8e73b08, cmdop 0.1.23) by exports/sdk/gen/gen.ts. Do not edit.
2
2
  /** Title and description of every server tool, as the server lists them. */
3
3
  export const SERVER_TOOLS = {
4
4
  docs_read: { title: "Read the docs", description: "Call before answering how CMDOP works, is set up or is priced: no `path` lists every page of docs.cmdop.ai (path and title); a `path` returns that page as Markdown." },
@@ -1,4 +1,4 @@
1
- // Generated from cmdop/crates/tools/tools.schema.json (sha256 2da8acbfcb79ee4f, cmdop 0.1.21) by exports/sdk/gen/gen.ts. Do not edit.
1
+ // Generated from cmdop/crates/tools/tools.schema.json (sha256 74d267a7b8e73b08, cmdop 0.1.23) by exports/sdk/gen/gen.ts. Do not edit.
2
2
  /** Group, then method, then the tool it calls. */
3
3
  export const GROUPS = {
4
4
  agent: { cancel: "agent_cancel", list: "agent_list", prompt: "agent_prompt", sessions: "agent_sessions" },
@@ -1,4 +1,4 @@
1
- // Generated from cmdop/crates/tools/tools.schema.json (sha256 2da8acbfcb79ee4f, cmdop 0.1.21) by exports/sdk/gen/gen.ts. Do not edit.
1
+ // Generated from cmdop/crates/tools/tools.schema.json (sha256 74d267a7b8e73b08, cmdop 0.1.23) by exports/sdk/gen/gen.ts. Do not edit.
2
2
  /** Risk class, version and description of every tool, as the server lists them. */
3
3
  export const TOOLS = {
4
4
  agent_cancel: { risk: "agent", added: "0.1.13", timeoutSecs: 15, description: "Stops a running agent_prompt by its task. What the agent did until then stays done." },
package/dist/version.d.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  * record shows which SDK made a call. The release tool rewrites it together with `package.json`; a test keeps the two
4
4
  * equal.
5
5
  */
6
- export declare const VERSION = "3.7.5";
6
+ export declare const VERSION = "3.8.0";
package/dist/version.js CHANGED
@@ -3,4 +3,4 @@
3
3
  * record shows which SDK made a call. The release tool rewrites it together with `package.json`; a test keeps the two
4
4
  * equal.
5
5
  */
6
- export const VERSION = "3.7.5";
6
+ export const VERSION = "3.8.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmdop/sdk",
3
- "version": "3.7.5",
3
+ "version": "3.8.0",
4
4
  "description": "Your machines' tools from a program: the same tools agents use through MCP, typed from Rust.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://cmdop.ai",