@deepraxis/cli 0.2.0-dev.671bb9b → 0.2.0-dev.a2a19cd

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
@@ -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.671bb9b";
28402
+ var version = "0.2.0-dev.a2a19cd";
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.671bb9b",
3
+ "version": "0.2.0-dev.a2a19cd",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "praxis": "dist/praxis.js"