@crossworks/client-types 0.238.16 → 0.238.18
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/package.json +1 -1
- package/src/dto/agents.ts +12 -2
package/package.json
CHANGED
package/src/dto/agents.ts
CHANGED
|
@@ -41,8 +41,11 @@ export interface AgentAvatarDTO {
|
|
|
41
41
|
|
|
42
42
|
/** Memory/budget tuning (jsonb). All fields optional — empty = runtime defaults.
|
|
43
43
|
* Replicated standalone (NOT re-exported from @mantle/db) to keep this package
|
|
44
|
-
* zero-dep;
|
|
45
|
-
* a compile error.
|
|
44
|
+
* zero-dep; server/web/lib/agent-memory-config-schema.ts checks the key sets
|
|
45
|
+
* against `AgentMemoryConfig` so drift is a compile error.
|
|
46
|
+
*
|
|
47
|
+
* Writes (agents PATCH) MERGE onto the stored value: an omitted key keeps
|
|
48
|
+
* its value, a key sent as `null` is removed (back to the default). */
|
|
46
49
|
export interface AgentMemoryConfigDTO {
|
|
47
50
|
history_limit?: number;
|
|
48
51
|
history_window_hours?: number | null;
|
|
@@ -50,6 +53,11 @@ export interface AgentMemoryConfigDTO {
|
|
|
50
53
|
fact_limit?: number;
|
|
51
54
|
content_hit_limit?: number;
|
|
52
55
|
chunk_limit?: number;
|
|
56
|
+
/** Corpus-map entries considered per turn. Default 300; 0 = no map. */
|
|
57
|
+
corpus_map_limit?: number;
|
|
58
|
+
/** Character budget of the rendered corpus map. Default 6,500 (about 2k
|
|
59
|
+
* tokens); 1,000 to 50,000. */
|
|
60
|
+
corpus_map_chars?: number;
|
|
53
61
|
inject_journal?: boolean;
|
|
54
62
|
inject_working_notes?: boolean;
|
|
55
63
|
journal_tiers?: 'off' | 'shadow' | 'live';
|
|
@@ -63,6 +71,8 @@ export interface AgentMemoryConfigDTO {
|
|
|
63
71
|
extract_cost_cap_micro_usd?: number | null;
|
|
64
72
|
delegate_to?: string[];
|
|
65
73
|
max_iterations?: number;
|
|
74
|
+
max_tool_calls?: number;
|
|
75
|
+
max_calls_per_tool?: number;
|
|
66
76
|
result_handling?: {
|
|
67
77
|
inline_max_kb?: number;
|
|
68
78
|
embed_min_kb?: number;
|