@deepraxis/cli 0.1.1-dev.07df50c → 0.1.1-dev.0bd6238
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/praxis.js +6 -5
- package/package.json +1 -1
package/dist/praxis.js
CHANGED
|
@@ -1973,7 +1973,7 @@ clears to null; an empty string is stored as an empty string.`
|
|
|
1973
1973
|
resource: "agent.sessions",
|
|
1974
1974
|
method: "create",
|
|
1975
1975
|
summary: "Create session",
|
|
1976
|
-
description: `Create a session: one conversation with an agent. Pass agent as an agent id or {type:"agent", id, version?}; an id alone, or an object without version, pins the agent's active_version (the version chosen with agents.versions.apply, not necessarily the newest saved one). Unlike Anthropic Managed Agents, omit environment_id to use the default environment saved in the agent version (light for a new agent), unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. For service agents, 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. Unlike Anthropic Managed Agents, the only inline agent override is system ({type:"agent_with_overrides", id, system}); to change the model, tools, MCP servers or skills, save a version instead. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. budget is {type:"limit", max_list_cost:{amount, currency:"USD"}} where amount is a positive
|
|
1976
|
+
description: `Create a session: one conversation with an agent. Pass agent as an agent id or {type:"agent", id, version?}; an id alone, or an object without version, pins the agent's active_version (the version chosen with agents.versions.apply, not necessarily the newest saved one). Unlike Anthropic Managed Agents, omit environment_id to use the default environment saved in the agent version (light for a new agent), unless computer_id (explicit, or the agent's default) selects a Computer; pass an environment id for a sandbox recipe. For service agents, 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. Unlike Anthropic Managed Agents, the only inline agent override is system ({type:"agent_with_overrides", id, system}); to change the model, tools, MCP servers or skills, save a version instead. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. budget is {type:"limit", max_list_cost:{amount, currency:"USD"}} where amount is a positive decimal string of US dollars with at most 2 decimal places ("20.00" is USD 20.00); omitted budget defaults to "20.00" and null removes the limit. 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.`,
|
|
1977
1977
|
http: "POST",
|
|
1978
1978
|
path: "/agent/v1/sessions",
|
|
1979
1979
|
streaming: "no",
|
|
@@ -2549,9 +2549,9 @@ Available only on /agent/v1. Use the message_id field from own-face events, not
|
|
|
2549
2549
|
query: [
|
|
2550
2550
|
{
|
|
2551
2551
|
name: "limit",
|
|
2552
|
-
type: "
|
|
2552
|
+
type: "integer",
|
|
2553
2553
|
required: false,
|
|
2554
|
-
description: "Number of
|
|
2554
|
+
description: "Number of resources per page, from 1 to 100; defaults to 100."
|
|
2555
2555
|
},
|
|
2556
2556
|
{
|
|
2557
2557
|
name: "page",
|
|
@@ -9610,7 +9610,8 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
9610
9610
|
{
|
|
9611
9611
|
name: "file_id",
|
|
9612
9612
|
type: "string",
|
|
9613
|
-
required: true
|
|
9613
|
+
required: true,
|
|
9614
|
+
description: "File ID to copy into this library; passed as the upload source instead of file bytes."
|
|
9614
9615
|
},
|
|
9615
9616
|
{
|
|
9616
9617
|
name: "public_id",
|
|
@@ -27082,7 +27083,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
|
|
|
27082
27083
|
}
|
|
27083
27084
|
|
|
27084
27085
|
// src/main.ts
|
|
27085
|
-
var version = "0.1.1-dev.
|
|
27086
|
+
var version = "0.1.1-dev.0bd6238";
|
|
27086
27087
|
var commands = commandTree(operations);
|
|
27087
27088
|
var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
|
|
27088
27089
|
function route(argv) {
|