@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.
- package/dist/generated/call.gen.js +1 -1
- package/dist/generated/server.gen.d.ts +7 -0
- package/dist/generated/server.gen.js +1 -1
- package/dist/generated/surface.gen.js +1 -1
- package/dist/generated/tools.gen.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from cmdop/crates/tools/tools.schema.json (sha256
|
|
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
|
|
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
|
|
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
|
|
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
package/dist/version.js
CHANGED