@soat/cli 0.17.0 → 0.17.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.
- package/dist/index.mjs +48 -8
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { load } from "js-yaml";
|
|
|
13
13
|
import * as os from "node:os";
|
|
14
14
|
|
|
15
15
|
//#region package.json
|
|
16
|
-
var version = "0.17.
|
|
16
|
+
var version = "0.17.1";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -338,6 +338,46 @@ var resolveClient = profileName => {
|
|
|
338
338
|
//#endregion
|
|
339
339
|
//#region src/generated/routes.ts
|
|
340
340
|
var routes = {
|
|
341
|
+
"list-activity": {
|
|
342
|
+
serviceClass: "Activity",
|
|
343
|
+
operationId: "listActivity",
|
|
344
|
+
description: "Returns activity entries for a project, newest first, filterable by kind and severity. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.",
|
|
345
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/activity",
|
|
346
|
+
httpMethod: "get",
|
|
347
|
+
pathParams: [],
|
|
348
|
+
queryParams: ["project_id", "kind", "severity", "cursor", "limit"],
|
|
349
|
+
flags: [{
|
|
350
|
+
"name": "project_id",
|
|
351
|
+
"description": "Project ID (required if not using project key auth)",
|
|
352
|
+
"required": false,
|
|
353
|
+
"type": "string",
|
|
354
|
+
"in": "query"
|
|
355
|
+
}, {
|
|
356
|
+
"name": "kind",
|
|
357
|
+
"description": "Filter by activity kind",
|
|
358
|
+
"required": false,
|
|
359
|
+
"type": "string",
|
|
360
|
+
"in": "query"
|
|
361
|
+
}, {
|
|
362
|
+
"name": "severity",
|
|
363
|
+
"description": "Filter by severity",
|
|
364
|
+
"required": false,
|
|
365
|
+
"type": "string",
|
|
366
|
+
"in": "query"
|
|
367
|
+
}, {
|
|
368
|
+
"name": "cursor",
|
|
369
|
+
"description": "Opaque cursor from a previous page's `next_cursor`",
|
|
370
|
+
"required": false,
|
|
371
|
+
"type": "string",
|
|
372
|
+
"in": "query"
|
|
373
|
+
}, {
|
|
374
|
+
"name": "limit",
|
|
375
|
+
"description": "Maximum number of results to return",
|
|
376
|
+
"required": false,
|
|
377
|
+
"type": "integer",
|
|
378
|
+
"in": "query"
|
|
379
|
+
}]
|
|
380
|
+
},
|
|
341
381
|
"list-actors": {
|
|
342
382
|
serviceClass: "Actors",
|
|
343
383
|
operationId: "listActors",
|
|
@@ -1094,7 +1134,7 @@ var routes = {
|
|
|
1094
1134
|
"in": "body"
|
|
1095
1135
|
}, {
|
|
1096
1136
|
"name": "tool_context",
|
|
1097
|
-
"description": "Key-value pairs forwarded as `X-Soat-Context-<
|
|
1137
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this generation. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
1098
1138
|
"required": false,
|
|
1099
1139
|
"type": "object",
|
|
1100
1140
|
"in": "body"
|
|
@@ -2164,7 +2204,7 @@ var routes = {
|
|
|
2164
2204
|
"in": "body"
|
|
2165
2205
|
}, {
|
|
2166
2206
|
"name": "tool_context",
|
|
2167
|
-
"description": "Key-value pairs forwarded as `X-Soat-Context-<
|
|
2207
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this generation. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased and keys are never case-converted, so they round-trip exactly as sent. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
2168
2208
|
"required": false,
|
|
2169
2209
|
"type": "object",
|
|
2170
2210
|
"in": "body"
|
|
@@ -5070,7 +5110,7 @@ var routes = {
|
|
|
5070
5110
|
"in": "body"
|
|
5071
5111
|
}, {
|
|
5072
5112
|
"name": "scope_ref",
|
|
5073
|
-
"description": "Public id of the api key / agent the quota applies to. NULL means all entities of that scope type in the project.",
|
|
5113
|
+
"description": "Public id of the api key / agent / actor the quota applies to. For `api_key` and `agent` scope, NULL means all entities of that scope type in the project. For `actor` scope, NULL means one budget *per* actor — each end user gets their own allowance — rather than a pooled total across all actors.",
|
|
5074
5114
|
"required": false,
|
|
5075
5115
|
"type": "string",
|
|
5076
5116
|
"in": "body"
|
|
@@ -5350,7 +5390,7 @@ var routes = {
|
|
|
5350
5390
|
"in": "body"
|
|
5351
5391
|
}, {
|
|
5352
5392
|
"name": "tool_context",
|
|
5353
|
-
"description": "Key-value pairs forwarded as `X-Soat-Context-<
|
|
5393
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this session. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. A key that is not a valid HTTP header name, or two keys that map to the same header, are rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
5354
5394
|
"required": false,
|
|
5355
5395
|
"type": "object",
|
|
5356
5396
|
"in": "body"
|
|
@@ -5418,7 +5458,7 @@ var routes = {
|
|
|
5418
5458
|
"in": "body"
|
|
5419
5459
|
}, {
|
|
5420
5460
|
"name": "tool_context",
|
|
5421
|
-
"description": "Key-value pairs forwarded as `X-Soat-Context-<
|
|
5461
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this session. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. A key that is not a valid HTTP header name, or two keys that map to the same header, are rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
5422
5462
|
"required": false,
|
|
5423
5463
|
"type": "object",
|
|
5424
5464
|
"in": "body"
|
|
@@ -5474,7 +5514,7 @@ var routes = {
|
|
|
5474
5514
|
"in": "body"
|
|
5475
5515
|
}, {
|
|
5476
5516
|
"name": "tool_context",
|
|
5477
|
-
"description": "Key-value pairs forwarded as `X-Soat-Context-<
|
|
5517
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this generation. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
5478
5518
|
"required": false,
|
|
5479
5519
|
"type": "object",
|
|
5480
5520
|
"in": "body"
|
|
@@ -5520,7 +5560,7 @@ var routes = {
|
|
|
5520
5560
|
"in": "body"
|
|
5521
5561
|
}, {
|
|
5522
5562
|
"name": "tool_context",
|
|
5523
|
-
"description": "Key-value pairs forwarded as `X-Soat-Context-<
|
|
5563
|
+
"description": "Key-value pairs forwarded as `X-Soat-Context-<key>` headers on every `http`, `mcp` and `soat` tool call in this generation. The header name is `X-Soat-Context-` plus the key verbatim — no character is re-cased. Keys are never case-converted — they round-trip exactly as sent. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY`.",
|
|
5524
5564
|
"required": false,
|
|
5525
5565
|
"type": "object",
|
|
5526
5566
|
"in": "body"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@inquirer/input": "^5.1.2",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@ttoss/logger": "^0.8.19",
|
|
9
9
|
"commander": "^15.0.0",
|
|
10
10
|
"js-yaml": "^5.2.1",
|
|
11
|
-
"@soat/sdk": "0.17.
|
|
11
|
+
"@soat/sdk": "0.17.1"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.17",
|