@deepraxis/cli 0.1.0-dev.4cbfc1f → 0.1.0-dev.5e0f28e

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 (2) hide show
  1. package/dist/praxis.js +46 -4
  2. package/package.json +1 -1
package/dist/praxis.js CHANGED
@@ -136,6 +136,27 @@ var operations = [
136
136
  description: `Tool configurations available to the agent. Maximum of 128 tools
137
137
  across all toolsets allowed.`
138
138
  },
139
+ {
140
+ name: "databases",
141
+ type: "array",
142
+ itemType: "object",
143
+ required: false,
144
+ description: "Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings."
145
+ },
146
+ {
147
+ name: "vector_stores",
148
+ type: "array",
149
+ itemType: "object",
150
+ required: false,
151
+ description: "Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings."
152
+ },
153
+ {
154
+ name: "files",
155
+ type: "array",
156
+ itemType: "object",
157
+ required: false,
158
+ description: "File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings."
159
+ },
139
160
  {
140
161
  name: "kind",
141
162
  type: "string",
@@ -312,6 +333,27 @@ Obtain this value from a create or retrieve response. Must be at least 1 if
312
333
  specified. When supplied, the request fails if it does not match the server's
313
334
  current version; omit to apply the update unconditionally.`
314
335
  },
336
+ {
337
+ name: "databases",
338
+ type: "array",
339
+ itemType: "object",
340
+ required: false,
341
+ description: "Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings."
342
+ },
343
+ {
344
+ name: "vector_stores",
345
+ type: "array",
346
+ itemType: "object",
347
+ required: false,
348
+ description: "Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings."
349
+ },
350
+ {
351
+ name: "files",
352
+ type: "array",
353
+ itemType: "object",
354
+ required: false,
355
+ description: "Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings."
356
+ },
315
357
  {
316
358
  name: "kind",
317
359
  type: "string",
@@ -804,7 +846,7 @@ Own-face superset: Managed Agents has no persistent Computer attachment director
804
846
 
805
847
  Own-face extension: Managed Agents has no persistent Computer connection. Returns the public SDK sandbox_id, envd_access_token and template_id, plus the machine tier the computer is on now (light or heavy) and the lease that keeps it there (lease_id, lease_expires_at; lease_id is null when no lease exists). Keep the lease while the connection stays open: renew it about every 20 seconds (POST .../leases/{lease_id}/renew) and release it on close (DELETE .../leases/{lease_id}). An unrenewed lease simply expires, and the full machine is reclaimed only after that. Archived computers remain accessible; foreign or absent computers return 404. Never cache credentials.
806
848
 
807
- Connect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {"need":"heavy"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy. Heavy running time counts toward the daily budget in seconds. Renew the lease while using the connection and release it with DELETE when finished. If the daily budget is exhausted, 429 COMPUTER_BUDGET_EXHAUSTED allows you to continue with need light.`,
849
+ Connect to a computer with a caller-held lease. Omit the body or send {} to request light: the lightweight shell, or the heavy instance while it is running. Send {"need":"heavy"} to request full Linux for interactive programs; files are synchronized before the heavy connection is returned with tier heavy. Renew the lease while using the connection and release it with DELETE when finished.`,
808
850
  http: "POST",
809
851
  path: "/agent/v1/computers/{computer_id}/connect",
810
852
  streaming: "no",
@@ -1877,7 +1919,7 @@ owning account only.`
1877
1919
  resource: "agent.sessions",
1878
1920
  method: "create",
1879
1921
  summary: "Create session",
1880
- description: `Create a session: one conversation with an agent, running on a machine. Pass agent as an agent id (latest version) or {id, version, type:"agent"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass environment_id for a sandbox recipe. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.`,
1922
+ description: `Create a session: one conversation with an agent. Pass agent as an agent id (latest version) or {id, version, type:"agent"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. For service agents, omission returns environment_id=light; explicit null allocates no machine, so codemode, bash and other machine tools are unavailable. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.`,
1881
1923
  http: "POST",
1882
1924
  path: "/agent/v1/sessions",
1883
1925
  streaming: "no",
@@ -1897,7 +1939,7 @@ owning account only.`
1897
1939
  name: "environment_id",
1898
1940
  type: "string",
1899
1941
  required: false,
1900
- description: "ID of the `environment` defining the container configuration for\nthis session."
1942
+ description: "Execution environment id from agent.environments.list or agent.environments.create. For a service agent, omission selects the built-in light environment and returns session.environment_id=light; explicit null allocates no machine and makes machine tools, including codemode and bash, unavailable. Personal agents use their selected Computer."
1901
1943
  },
1902
1944
  {
1903
1945
  name: "budget",
@@ -23492,7 +23534,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
23492
23534
  }
23493
23535
 
23494
23536
  // src/main.ts
23495
- var version = "0.1.0-dev.4cbfc1f";
23537
+ var version = "0.1.0-dev.5e0f28e";
23496
23538
  var commands = commandTree(operations);
23497
23539
  var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
23498
23540
  function route(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/cli",
3
- "version": "0.1.0-dev.4cbfc1f",
3
+ "version": "0.1.0-dev.5e0f28e",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "praxis": "dist/praxis.js"