@deepraxis/cli 0.2.0-dev.11a1f3c → 0.2.0-dev.1852173

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/COMMANDS.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Generated by `bun run commands`. DO NOT EDIT.
4
4
 
5
- 435 HTTP operations; 437 commands including aliases.
5
+ 436 HTTP operations; 438 commands including aliases.
6
6
 
7
7
  Environment: `PRAXIS_ENV=develop|production` (dev package defaults to `develop`; stable package defaults to `production`). No `--env` option.
8
8
 
@@ -339,6 +339,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
339
339
  | `praxis api model response get <response_id>` | `model.responses.retrieve` | GET `/model/v1/responses/{response_id}` | |
340
340
  | `praxis api model response input-item list` | `model.responses.inputItems.list` | GET `/model/v1/responses/{response_id}/input_items` | `--response` |
341
341
  | `praxis api model response input-token create` | `model.responses.inputTokens.create` | POST `/model/v1/responses/input_tokens` | |
342
+ | `praxis api model systemone create` | `model.systemone.create` | POST `/model/v1/systemone` | `--model` |
342
343
  | `praxis api model video create` | `model.videos.create` | POST `/model/v1/videos` | `--model`, `--prompt`, `--duration`, `--size`, `--resolution`, `--aspect-ratio`, `--generate-audio`, `--seed`, `--callback-url`, `--quality` |
343
344
  | `praxis api model video delete <video_id>` | `model.videos.delete` | DELETE `/model/v1/videos/{video_id}` | |
344
345
  | `praxis api model video get <video_id>` | `model.videos.retrieve` | GET `/model/v1/videos/{video_id}` | |
package/dist/praxis.js CHANGED
@@ -70,7 +70,7 @@ var operations = [
70
70
  resource: "agent.agents",
71
71
  method: "create",
72
72
  summary: "Create agent",
73
- description: `Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: "custom", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send "latest", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: "agent_toolset_20260401"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: "agent_toolset_20260401", default_config: {enabled: false}, configs: [{name: "codemode", enabled: true}, {name: "bash", enabled: true, permission_policy: {type: "always_ask"}}]}]; every tool not listed, including todo_write, enter_plan_mode, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 "model <id> is not in the model catalog" and an embedding, image or speech model returns 400 "model <id> cannot run an agent". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {"name":"helper","model":{"id":"deepseek-flash"},"tools":[{"type":"agent_toolset_20260401"}]}. For kind assume, provide name and computer_id without model, models, subagent_model, subagents or multiagent; vault_ids are accepted, bindings and environment_id are refused. Drive assume agents over MCP at /agent/v1/agents/{id}/mcp.`,
73
+ description: `Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: "custom", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send "latest", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: "agent_toolset_20260401"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: "agent_toolset_20260401", default_config: {enabled: false}, configs: [{name: "codemode", enabled: true}, {name: "bash", enabled: true, permission_policy: {type: "always_ask"}}]}]; every tool not listed, including todo_write, enter_plan_mode, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 "model <id> is not in the model catalog" and an embedding, image or speech model returns 400 "model <id> cannot run an agent". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {"name":"helper","model":{"id":"deepseek-flash"},"tools":[{"type":"agent_toolset_20260401"}]}. For kind assume, provide name without model, models, subagent_model, subagents or multiagent; omit computer_id to register a new computer named after the agent without starting an instance, or provide an existing computer_id; vault_ids are accepted, bindings and environment_id are refused. Drive assume agents over MCP at /agent/v1/agents/{id}/mcp.`,
74
74
  http: "POST",
75
75
  path: "/agent/v1/agents",
76
76
  streaming: "no",
@@ -12351,7 +12351,8 @@ for more details.`
12351
12351
  "openai.images.edits",
12352
12352
  "openai.images.generations",
12353
12353
  "openai.responses",
12354
- "openai.videos"
12354
+ "openai.videos",
12355
+ "typesafe.systemone"
12355
12356
  ],
12356
12357
  required: false,
12357
12358
  description: "Match any comma-separated declared protocol ID; omitted or empty includes all models. Combined with type and output_modalities using AND. Invalid IDs return 400 with all legal values."
@@ -12926,6 +12927,47 @@ for more details.`
12926
12927
  ],
12927
12928
  query: []
12928
12929
  },
12930
+ {
12931
+ resource: "model.systemone",
12932
+ method: "create",
12933
+ summary: "Ask structured decision questions",
12934
+ description: "Ask typed questions about a state and get calibrated probabilities instead of generated text. Same request and response as TypeSafe System One. Use model ids from model.models.list declaring typesafe.systemone. Send one or more noul, choice or score questions; answers use the same question ids. Input tokens are charged at the catalog input price; output tokens are free. usage.cost and X-Praxis-Cost-Usd expose the same customer charge in USD. box questions and assets are unsupported and return 400: images are not supported. Unknown top-level fields pass unchanged to the native upstream.",
12935
+ http: "POST",
12936
+ path: "/model/v1/systemone",
12937
+ streaming: "no",
12938
+ pagination: false,
12939
+ pathParams: [],
12940
+ query: [],
12941
+ body: {
12942
+ required: true,
12943
+ fields: [
12944
+ {
12945
+ name: "model",
12946
+ type: "string",
12947
+ required: true,
12948
+ description: "Published model id from model.models.list with supported_apis containing typesafe.systemone; returned unchanged in the response."
12949
+ },
12950
+ {
12951
+ name: "state",
12952
+ type: "object",
12953
+ required: true,
12954
+ description: "Shared content evaluated by every question, supplied as text, a JSON object or an array."
12955
+ },
12956
+ {
12957
+ name: "questions",
12958
+ type: "object",
12959
+ required: true,
12960
+ description: "Non-empty map of caller-chosen question ids to typed questions; answers preserve these ids. noul evaluates yes/no, choice selects a named option, score rates ordered levels. box is unsupported."
12961
+ },
12962
+ {
12963
+ name: "assets",
12964
+ type: "object",
12965
+ required: false,
12966
+ description: "Unsupported image assets. Supplying this field, including null or an empty collection, returns 400: images are not supported."
12967
+ }
12968
+ ]
12969
+ }
12970
+ },
12929
12971
  {
12930
12972
  resource: "model.videos",
12931
12973
  method: "list",
@@ -19454,6 +19496,23 @@ var remixVideo = (options) => (options.client ?? client).post({
19454
19496
  url: "/model/v1/videos/{video_id}/remix",
19455
19497
  ...options
19456
19498
  });
19499
+ var createSystemone = (options) => (options.client ?? client).post({
19500
+ security: [{
19501
+ key: "BearerAuth",
19502
+ scheme: "bearer",
19503
+ type: "http"
19504
+ }, {
19505
+ key: "ApiKeyAuth",
19506
+ name: "X-API-Key",
19507
+ type: "apiKey"
19508
+ }],
19509
+ url: "/model/v1/systemone",
19510
+ ...options,
19511
+ headers: {
19512
+ "Content-Type": "application/json",
19513
+ ...options.headers
19514
+ }
19515
+ });
19457
19516
  var createAudioTranscription = (options) => (options.client ?? client).post({
19458
19517
  ...formDataBodySerializer,
19459
19518
  security: [{
@@ -25176,6 +25235,9 @@ function createModel(transport) {
25176
25235
  },
25177
25236
  retrieve: bind(transport, retrieveResponse)
25178
25237
  },
25238
+ systemone: {
25239
+ create: bind(transport, createSystemone)
25240
+ },
25179
25241
  videos: {
25180
25242
  create: bind(transport, (options) => createVideo({ ...options, bodySerializer: multipartBodySerializer, headers: { "Content-Type": null, ...options.headers } })),
25181
25243
  delete: bind(transport, deleteVideo),
@@ -28337,7 +28399,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
28337
28399
  }
28338
28400
 
28339
28401
  // src/main.ts
28340
- var version = "0.2.0-dev.11a1f3c";
28402
+ var version = "0.2.0-dev.1852173";
28341
28403
  var commands = commandTree(operations);
28342
28404
  var manual = [...workflows.map((w) => w.words), [API_WORD]];
28343
28405
  function route(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/cli",
3
- "version": "0.2.0-dev.11a1f3c",
3
+ "version": "0.2.0-dev.1852173",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "praxis": "dist/praxis.js"