@soat/cli 0.38.0 → 0.38.1

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/index.mjs +9 -3
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ import * as os from "node:os";
13
13
  import { createHmac, timingSafeEqual } from "node:crypto";
14
14
 
15
15
  //#region package.json
16
- var version = "0.38.0";
16
+ var version = "0.38.1";
17
17
 
18
18
  //#endregion
19
19
  //#region src/cli-wrappers/wrappers/formations.ts
@@ -2987,12 +2987,18 @@ var routes = {
2987
2987
  "create-embeddings": {
2988
2988
  serviceClass: "Embeddings",
2989
2989
  operationId: "createEmbeddings",
2990
- description: "Generates embedding vectors for one or more text inputs using the server's configured embedding model. Provide `input` for a single text or `inputs` for a batch. At least one is required. Returns `embedding` when `input` is used, and `embeddings` when `inputs` is used.",
2990
+ description: "Generates embedding vectors for one or more text inputs using the server's configured embedding model. Provide `input` for a single text or `inputs` for a batch. At least one is required. Returns `embedding` when `input` is used, and `embeddings` when `inputs` is used. `project_id` names the project the call's token usage is metered against, so embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens` quotas. A project-scoped credential supplies its own project; a call that names none and is bound to none is served but not metered.",
2991
2991
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/embeddings",
2992
2992
  httpMethod: "post",
2993
2993
  pathParams: [],
2994
2994
  queryParams: [],
2995
2995
  flags: [{
2996
+ "name": "project_id",
2997
+ "description": "Project the call's usage is billed to. Optional; a project-scoped credential supplies its own. Requires write access to the named project.",
2998
+ "required": false,
2999
+ "type": "string",
3000
+ "in": "body"
3001
+ }, {
2996
3002
  "name": "input",
2997
3003
  "description": "Single text to embed.",
2998
3004
  "required": false,
@@ -7774,7 +7780,7 @@ var routes = {
7774
7780
  "in": "query"
7775
7781
  }, {
7776
7782
  "name": "source",
7777
- "description": "Filter by what the spend was incurred for. `eval` is an eval run's item generations and `eval_judge` an `llm_judge` scorer's own completion, so verification spend is `source` in (`eval`, `eval_judge`). Ordinary agent traffic carries no source and is matched by neither.\n",
7783
+ "description": "Filter by what the spend was incurred for. `eval` is an eval run's item generations and `eval_judge` an `llm_judge` scorer's own completion, so verification spend is `source` in (`eval`, `eval_judge`); `embedding` is any embedding call. Ordinary agent traffic carries no source and is matched by none of them.\n",
7778
7784
  "required": false,
7779
7785
  "type": "string",
7780
7786
  "in": "query"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "description": "CLI for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@inquirer/input": "^5.1.2",
24
24
  "@inquirer/password": "^5.1.1",
25
- "@soat/sdk": "0.38.0",
25
+ "@soat/sdk": "0.38.1",
26
26
  "@ttoss/logger": "^0.8.19",
27
27
  "commander": "^15.0.0",
28
28
  "js-yaml": "^5.2.1"