@soat/sdk 0.9.0 → 0.9.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.d.cts CHANGED
@@ -444,6 +444,27 @@ type Agent = {
444
444
  * Public ID of the memory the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
445
445
  */
446
446
  write_memory_id?: string | null;
447
+ /**
448
+ * Automatic fact extraction from completed generation turns (requires write_memory_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory through the standard dedup/merge/skip algorithm.
449
+ */
450
+ extraction?: boolean | {
451
+ /**
452
+ * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
453
+ */
454
+ enabled?: boolean;
455
+ /**
456
+ * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
457
+ */
458
+ ai_provider_id?: string;
459
+ /**
460
+ * Model override for extraction calls.
461
+ */
462
+ model?: string;
463
+ /**
464
+ * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
465
+ */
466
+ prompt?: string;
467
+ };
447
468
  } | null;
448
469
  /**
449
470
  * Maximum number of recent messages to include in the context window sent to the model. When null, all messages are included.
@@ -496,6 +517,27 @@ type CreateAgentRequest = {
496
517
  * Public ID of the memory the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
497
518
  */
498
519
  write_memory_id?: string | null;
520
+ /**
521
+ * Automatic fact extraction from completed generation turns (requires write_memory_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory through the standard dedup/merge/skip algorithm.
522
+ */
523
+ extraction?: boolean | {
524
+ /**
525
+ * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
526
+ */
527
+ enabled?: boolean;
528
+ /**
529
+ * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
530
+ */
531
+ ai_provider_id?: string;
532
+ /**
533
+ * Model override for extraction calls.
534
+ */
535
+ model?: string;
536
+ /**
537
+ * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
538
+ */
539
+ prompt?: string;
540
+ };
499
541
  };
500
542
  /**
501
543
  * Maximum number of recent messages included in the context window. Null means no limit.
@@ -539,6 +581,27 @@ type UpdateAgentRequest = {
539
581
  * Public ID of the memory the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
540
582
  */
541
583
  write_memory_id?: string | null;
584
+ /**
585
+ * Automatic fact extraction from completed generation turns (requires write_memory_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory through the standard dedup/merge/skip algorithm.
586
+ */
587
+ extraction?: boolean | {
588
+ /**
589
+ * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
590
+ */
591
+ enabled?: boolean;
592
+ /**
593
+ * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
594
+ */
595
+ ai_provider_id?: string;
596
+ /**
597
+ * Model override for extraction calls.
598
+ */
599
+ model?: string;
600
+ /**
601
+ * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
602
+ */
603
+ prompt?: string;
604
+ };
542
605
  } | null;
543
606
  /**
544
607
  * Maximum number of recent messages included in the context window. Null means no limit.
@@ -1222,6 +1285,27 @@ type AgentResourceProperties = {
1222
1285
  * Public ID of the memory the agent can write to. When set, a `write_memory` tool is automatically available to the agent.
1223
1286
  */
1224
1287
  write_memory_id?: string | null;
1288
+ /**
1289
+ * Automatic fact extraction from completed generation turns (requires write_memory_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion.
1290
+ */
1291
+ extraction?: boolean | {
1292
+ /**
1293
+ * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
1294
+ */
1295
+ enabled?: boolean;
1296
+ /**
1297
+ * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
1298
+ */
1299
+ ai_provider_id?: string;
1300
+ /**
1301
+ * Model override for extraction calls.
1302
+ */
1303
+ model?: string;
1304
+ /**
1305
+ * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
1306
+ */
1307
+ prompt?: string;
1308
+ };
1225
1309
  } | null;
1226
1310
  };
1227
1311
  /**
package/dist/index.d.mts CHANGED
@@ -444,6 +444,27 @@ type Agent = {
444
444
  * Public ID of the memory the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
445
445
  */
446
446
  write_memory_id?: string | null;
447
+ /**
448
+ * Automatic fact extraction from completed generation turns (requires write_memory_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory through the standard dedup/merge/skip algorithm.
449
+ */
450
+ extraction?: boolean | {
451
+ /**
452
+ * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
453
+ */
454
+ enabled?: boolean;
455
+ /**
456
+ * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
457
+ */
458
+ ai_provider_id?: string;
459
+ /**
460
+ * Model override for extraction calls.
461
+ */
462
+ model?: string;
463
+ /**
464
+ * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
465
+ */
466
+ prompt?: string;
467
+ };
447
468
  } | null;
448
469
  /**
449
470
  * Maximum number of recent messages to include in the context window sent to the model. When null, all messages are included.
@@ -496,6 +517,27 @@ type CreateAgentRequest = {
496
517
  * Public ID of the memory the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
497
518
  */
498
519
  write_memory_id?: string | null;
520
+ /**
521
+ * Automatic fact extraction from completed generation turns (requires write_memory_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory through the standard dedup/merge/skip algorithm.
522
+ */
523
+ extraction?: boolean | {
524
+ /**
525
+ * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
526
+ */
527
+ enabled?: boolean;
528
+ /**
529
+ * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
530
+ */
531
+ ai_provider_id?: string;
532
+ /**
533
+ * Model override for extraction calls.
534
+ */
535
+ model?: string;
536
+ /**
537
+ * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
538
+ */
539
+ prompt?: string;
540
+ };
499
541
  };
500
542
  /**
501
543
  * Maximum number of recent messages included in the context window. Null means no limit.
@@ -539,6 +581,27 @@ type UpdateAgentRequest = {
539
581
  * Public ID of the memory the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
540
582
  */
541
583
  write_memory_id?: string | null;
584
+ /**
585
+ * Automatic fact extraction from completed generation turns (requires write_memory_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory through the standard dedup/merge/skip algorithm.
586
+ */
587
+ extraction?: boolean | {
588
+ /**
589
+ * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
590
+ */
591
+ enabled?: boolean;
592
+ /**
593
+ * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
594
+ */
595
+ ai_provider_id?: string;
596
+ /**
597
+ * Model override for extraction calls.
598
+ */
599
+ model?: string;
600
+ /**
601
+ * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
602
+ */
603
+ prompt?: string;
604
+ };
542
605
  } | null;
543
606
  /**
544
607
  * Maximum number of recent messages included in the context window. Null means no limit.
@@ -1222,6 +1285,27 @@ type AgentResourceProperties = {
1222
1285
  * Public ID of the memory the agent can write to. When set, a `write_memory` tool is automatically available to the agent.
1223
1286
  */
1224
1287
  write_memory_id?: string | null;
1288
+ /**
1289
+ * Automatic fact extraction from completed generation turns (requires write_memory_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion.
1290
+ */
1291
+ extraction?: boolean | {
1292
+ /**
1293
+ * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
1294
+ */
1295
+ enabled?: boolean;
1296
+ /**
1297
+ * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
1298
+ */
1299
+ ai_provider_id?: string;
1300
+ /**
1301
+ * Model override for extraction calls.
1302
+ */
1303
+ model?: string;
1304
+ /**
1305
+ * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
1306
+ */
1307
+ prompt?: string;
1308
+ };
1225
1309
  } | null;
1226
1310
  };
1227
1311
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "TypeScript SDK for the SOAT API",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",