@soat/sdk 0.18.3 → 0.18.4
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.d.cts +3 -23
- package/dist/index.d.mts +3 -23
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1597,13 +1597,9 @@ type DiscussionRunRecord = {
|
|
|
1597
1597
|
[key: string]: unknown;
|
|
1598
1598
|
} | null;
|
|
1599
1599
|
/**
|
|
1600
|
-
* Reserved for the generation that
|
|
1600
|
+
* Reserved for the generation that started this run. Not currently populated.
|
|
1601
1601
|
*/
|
|
1602
1602
|
initiator_generation_id?: string | null;
|
|
1603
|
-
/**
|
|
1604
|
-
* Trace of the generation that invoked this run as a tool. Null for runs started directly via POST /discussions/{discussion_id}/runs.
|
|
1605
|
-
*/
|
|
1606
|
-
trace_id?: string | null;
|
|
1607
1603
|
completed_at?: Date | null;
|
|
1608
1604
|
created_at?: Date;
|
|
1609
1605
|
updated_at?: Date;
|
|
@@ -2257,10 +2253,6 @@ type ToolResourceProperties = {
|
|
|
2257
2253
|
pipeline?: {
|
|
2258
2254
|
[key: string]: unknown;
|
|
2259
2255
|
} | null;
|
|
2260
|
-
/**
|
|
2261
|
-
* For `discussion` tools: the ID of the discussion to invoke.
|
|
2262
|
-
*/
|
|
2263
|
-
discussion_id?: string | null;
|
|
2264
2256
|
/**
|
|
2265
2257
|
* Universal JSON Logic mapping applied to the tool's raw result, for every tool type. Evaluated over `{ output: <raw result> }`, e.g. `{ "var": "output.text" }`. For `pipeline` tools this runs after the pipeline's own `output` mapping.
|
|
2266
2258
|
*/
|
|
@@ -4416,7 +4408,7 @@ type Tool = {
|
|
|
4416
4408
|
/**
|
|
4417
4409
|
* Tool type
|
|
4418
4410
|
*/
|
|
4419
|
-
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline'
|
|
4411
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
4420
4412
|
/**
|
|
4421
4413
|
* What the tool does (sent to the model)
|
|
4422
4414
|
*/
|
|
@@ -4460,10 +4452,6 @@ type Tool = {
|
|
|
4460
4452
|
pipeline?: {
|
|
4461
4453
|
[key: string]: unknown;
|
|
4462
4454
|
} | null;
|
|
4463
|
-
/**
|
|
4464
|
-
* For `discussion` tools: the ID of the discussion to invoke. Calling the tool with a `topic` runs that discussion synchronously and returns its outcome + run id as the tool result.
|
|
4465
|
-
*/
|
|
4466
|
-
discussion_id?: string | null;
|
|
4467
4455
|
/**
|
|
4468
4456
|
* Universal JSON Logic mapping applied to the tool's raw result, for every tool type (`http`, `mcp`, `soat`, `pipeline`, `client`). Evaluated over `{ output: <raw result> }`, so `{ "var": "output.text" }` extracts a bare scalar field instead of requiring a wrapping `pipeline` tool. For `pipeline` tools this runs *after* the pipeline's own `output` mapping, over that mapping's result.
|
|
4469
4457
|
*/
|
|
@@ -4489,7 +4477,7 @@ type CreateToolRequest = {
|
|
|
4489
4477
|
/**
|
|
4490
4478
|
* Tool type (default http)
|
|
4491
4479
|
*/
|
|
4492
|
-
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline'
|
|
4480
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
4493
4481
|
/**
|
|
4494
4482
|
* What the tool does
|
|
4495
4483
|
*/
|
|
@@ -4533,10 +4521,6 @@ type CreateToolRequest = {
|
|
|
4533
4521
|
pipeline?: {
|
|
4534
4522
|
[key: string]: unknown;
|
|
4535
4523
|
};
|
|
4536
|
-
/**
|
|
4537
|
-
* For `discussion` tools: the ID of the discussion to invoke.
|
|
4538
|
-
*/
|
|
4539
|
-
discussion_id?: string;
|
|
4540
4524
|
/**
|
|
4541
4525
|
* Universal JSON Logic mapping applied to the tool's raw result. See the `output_mapping` field on the Tool schema for details.
|
|
4542
4526
|
*/
|
|
@@ -4585,10 +4569,6 @@ type UpdateToolRequest = {
|
|
|
4585
4569
|
pipeline?: {
|
|
4586
4570
|
[key: string]: unknown;
|
|
4587
4571
|
} | null;
|
|
4588
|
-
/**
|
|
4589
|
-
* For `discussion` tools: the ID of the discussion to invoke.
|
|
4590
|
-
*/
|
|
4591
|
-
discussion_id?: string | null;
|
|
4592
4572
|
/**
|
|
4593
4573
|
* Universal JSON Logic mapping applied to the tool's raw result. See the `output_mapping` field on the Tool schema for details.
|
|
4594
4574
|
*/
|
package/dist/index.d.mts
CHANGED
|
@@ -1597,13 +1597,9 @@ type DiscussionRunRecord = {
|
|
|
1597
1597
|
[key: string]: unknown;
|
|
1598
1598
|
} | null;
|
|
1599
1599
|
/**
|
|
1600
|
-
* Reserved for the generation that
|
|
1600
|
+
* Reserved for the generation that started this run. Not currently populated.
|
|
1601
1601
|
*/
|
|
1602
1602
|
initiator_generation_id?: string | null;
|
|
1603
|
-
/**
|
|
1604
|
-
* Trace of the generation that invoked this run as a tool. Null for runs started directly via POST /discussions/{discussion_id}/runs.
|
|
1605
|
-
*/
|
|
1606
|
-
trace_id?: string | null;
|
|
1607
1603
|
completed_at?: Date | null;
|
|
1608
1604
|
created_at?: Date;
|
|
1609
1605
|
updated_at?: Date;
|
|
@@ -2257,10 +2253,6 @@ type ToolResourceProperties = {
|
|
|
2257
2253
|
pipeline?: {
|
|
2258
2254
|
[key: string]: unknown;
|
|
2259
2255
|
} | null;
|
|
2260
|
-
/**
|
|
2261
|
-
* For `discussion` tools: the ID of the discussion to invoke.
|
|
2262
|
-
*/
|
|
2263
|
-
discussion_id?: string | null;
|
|
2264
2256
|
/**
|
|
2265
2257
|
* Universal JSON Logic mapping applied to the tool's raw result, for every tool type. Evaluated over `{ output: <raw result> }`, e.g. `{ "var": "output.text" }`. For `pipeline` tools this runs after the pipeline's own `output` mapping.
|
|
2266
2258
|
*/
|
|
@@ -4416,7 +4408,7 @@ type Tool = {
|
|
|
4416
4408
|
/**
|
|
4417
4409
|
* Tool type
|
|
4418
4410
|
*/
|
|
4419
|
-
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline'
|
|
4411
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
4420
4412
|
/**
|
|
4421
4413
|
* What the tool does (sent to the model)
|
|
4422
4414
|
*/
|
|
@@ -4460,10 +4452,6 @@ type Tool = {
|
|
|
4460
4452
|
pipeline?: {
|
|
4461
4453
|
[key: string]: unknown;
|
|
4462
4454
|
} | null;
|
|
4463
|
-
/**
|
|
4464
|
-
* For `discussion` tools: the ID of the discussion to invoke. Calling the tool with a `topic` runs that discussion synchronously and returns its outcome + run id as the tool result.
|
|
4465
|
-
*/
|
|
4466
|
-
discussion_id?: string | null;
|
|
4467
4455
|
/**
|
|
4468
4456
|
* Universal JSON Logic mapping applied to the tool's raw result, for every tool type (`http`, `mcp`, `soat`, `pipeline`, `client`). Evaluated over `{ output: <raw result> }`, so `{ "var": "output.text" }` extracts a bare scalar field instead of requiring a wrapping `pipeline` tool. For `pipeline` tools this runs *after* the pipeline's own `output` mapping, over that mapping's result.
|
|
4469
4457
|
*/
|
|
@@ -4489,7 +4477,7 @@ type CreateToolRequest = {
|
|
|
4489
4477
|
/**
|
|
4490
4478
|
* Tool type (default http)
|
|
4491
4479
|
*/
|
|
4492
|
-
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline'
|
|
4480
|
+
type?: 'http' | 'client' | 'mcp' | 'soat' | 'pipeline';
|
|
4493
4481
|
/**
|
|
4494
4482
|
* What the tool does
|
|
4495
4483
|
*/
|
|
@@ -4533,10 +4521,6 @@ type CreateToolRequest = {
|
|
|
4533
4521
|
pipeline?: {
|
|
4534
4522
|
[key: string]: unknown;
|
|
4535
4523
|
};
|
|
4536
|
-
/**
|
|
4537
|
-
* For `discussion` tools: the ID of the discussion to invoke.
|
|
4538
|
-
*/
|
|
4539
|
-
discussion_id?: string;
|
|
4540
4524
|
/**
|
|
4541
4525
|
* Universal JSON Logic mapping applied to the tool's raw result. See the `output_mapping` field on the Tool schema for details.
|
|
4542
4526
|
*/
|
|
@@ -4585,10 +4569,6 @@ type UpdateToolRequest = {
|
|
|
4585
4569
|
pipeline?: {
|
|
4586
4570
|
[key: string]: unknown;
|
|
4587
4571
|
} | null;
|
|
4588
|
-
/**
|
|
4589
|
-
* For `discussion` tools: the ID of the discussion to invoke.
|
|
4590
|
-
*/
|
|
4591
|
-
discussion_id?: string | null;
|
|
4592
4572
|
/**
|
|
4593
4573
|
* Universal JSON Logic mapping applied to the tool's raw result. See the `output_mapping` field on the Tool schema for details.
|
|
4594
4574
|
*/
|