@cubos/agent-sdk 0.0.1161312 → 0.0.1162516

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.
@@ -25,6 +25,8 @@ export declare function aiProvidersApi(t: Transport, tenantSlug: string): {
25
25
  id: string;
26
26
  last_reconcile_error: string | null;
27
27
  last_reconciled_at: string | null;
28
+ last_runtime_error: string | null;
29
+ last_runtime_error_at: string | null;
28
30
  model_count: number;
29
31
  plugin: string;
30
32
  shared: boolean;
@@ -45,6 +47,8 @@ export declare function aiProvidersApi(t: Transport, tenantSlug: string): {
45
47
  id: string;
46
48
  last_reconcile_error: string | null;
47
49
  last_reconciled_at: string | null;
50
+ last_runtime_error: string | null;
51
+ last_runtime_error_at: string | null;
48
52
  model_count: number;
49
53
  plugin: string;
50
54
  shared: boolean;
@@ -65,6 +69,8 @@ export declare function aiProvidersApi(t: Transport, tenantSlug: string): {
65
69
  id: string;
66
70
  last_reconcile_error: string | null;
67
71
  last_reconciled_at: string | null;
72
+ last_runtime_error: string | null;
73
+ last_runtime_error_at: string | null;
68
74
  model_count: number;
69
75
  plugin: string;
70
76
  shared: boolean;
@@ -85,6 +91,8 @@ export declare function aiProvidersApi(t: Transport, tenantSlug: string): {
85
91
  id: string;
86
92
  last_reconcile_error: string | null;
87
93
  last_reconciled_at: string | null;
94
+ last_runtime_error: string | null;
95
+ last_runtime_error_at: string | null;
88
96
  model_count: number;
89
97
  plugin: string;
90
98
  shared: boolean;
@@ -89,6 +89,8 @@ export declare function sharedProvidersApi(t: Transport): {
89
89
  id: string;
90
90
  last_reconcile_error: string | null;
91
91
  last_reconciled_at: string | null;
92
+ last_runtime_error: string | null;
93
+ last_runtime_error_at: string | null;
92
94
  model_count: number;
93
95
  plugin: string;
94
96
  shared: boolean;
@@ -109,6 +111,8 @@ export declare function sharedProvidersApi(t: Transport): {
109
111
  id: string;
110
112
  last_reconcile_error: string | null;
111
113
  last_reconciled_at: string | null;
114
+ last_runtime_error: string | null;
115
+ last_runtime_error_at: string | null;
112
116
  model_count: number;
113
117
  plugin: string;
114
118
  shared: boolean;
@@ -12721,8 +12721,9 @@ export interface components {
12721
12721
  feature_proactive_memory: boolean;
12722
12722
  /**
12723
12723
  * @description Gates the structured-memory subsystem for this agent: `memory_recall` /
12724
- * `memory_write` tool exposure, pre-injection on turn start, and tenant
12725
- * embedding fan-out membership. Off by default.
12724
+ * `memory_write` tool exposure, pre-injection on turn start, tenant
12725
+ * embedding fan-out membership, and the personal-memory nap (on `nap_model`,
12726
+ * else on the agent's `model`). Off by default.
12726
12727
  */
12727
12728
  feature_structured_memory: boolean;
12728
12729
  /**
@@ -12786,7 +12787,8 @@ export interface components {
12786
12787
  nap_model: components["schemas"]["AiProviderModel"] | null;
12787
12788
  /**
12788
12789
  * @description Reasoning / thinking-effort level passed to the nap's extractor and consolidator. `null`
12789
- * ≡ use the nap model default.
12790
+ * ≡ the agent's `reasoning_level` when the nap runs on the agent's own model (no
12791
+ * `nap_model`), else the nap model's default.
12790
12792
  */
12791
12793
  nap_reasoning_level: string | null;
12792
12794
  onboarding_md: string;
@@ -12912,6 +12914,18 @@ export interface components {
12912
12914
  last_reconcile_error: string | null;
12913
12915
  /** Format: date-time */
12914
12916
  last_reconciled_at: string | null;
12917
+ /**
12918
+ * @description The last runtime failure of this provider, when it refused a call for
12919
+ * lack of credit/balance (HTTP 402 / "Insufficient Balance"). Distinct
12920
+ * from `last_reconcile_error`, which is about the model listing.
12921
+ * Cleared by the first call the provider answers again.
12922
+ */
12923
+ last_runtime_error: string | null;
12924
+ /**
12925
+ * Format: date-time
12926
+ * @description When `last_runtime_error` was recorded.
12927
+ */
12928
+ last_runtime_error_at: string | null;
12915
12929
  /** Format: int64 */
12916
12930
  model_count: number;
12917
12931
  /**
@@ -13939,12 +13953,15 @@ export interface components {
13939
13953
  /**
13940
13954
  * Format: uuid
13941
13955
  * @description Provider catalog row id (`provider_models.id`) for the nap's backing chat model. Must
13942
- * reference a non-disappeared chat-capable row in the same tenant.
13956
+ * reference a non-disappeared chat-capable row in the same tenant. Optional: omit/NULL ⇒
13957
+ * the nap runs on the agent's `model_id`. The nap itself runs whenever
13958
+ * `feature_structured_memory` is on.
13943
13959
  */
13944
13960
  nap_model_id?: string | null;
13945
13961
  /**
13946
13962
  * @description Reasoning / thinking-effort level for the nap extractor and consolidator. Omit/NULL ⇒
13947
- * model default.
13963
+ * the agent's `reasoning_level` when the nap runs on the agent's model, else the nap
13964
+ * model's default.
13948
13965
  */
13949
13966
  nap_reasoning_level?: string | null;
13950
13967
  onboarding_md?: string | null;
@@ -16095,10 +16112,14 @@ export interface components {
16095
16112
  model_id?: string | null;
16096
16113
  /**
16097
16114
  * Format: uuid
16098
- * @description Tri-state: absent → leave alone; `null` → clear FK; UUID → set.
16115
+ * @description Tri-state: absent → leave alone; `null` → clear FK (the nap runs on the agent's
16116
+ * `model_id`); UUID → set.
16099
16117
  */
16100
16118
  nap_model_id?: string | null;
16101
- /** @description Tri-state: absent → leave alone; `null` → clear (use the model default); string → set. */
16119
+ /**
16120
+ * @description Tri-state: absent → leave alone; `null` → clear (the agent's `reasoning_level` on the
16121
+ * agent's model, else the nap model's default); string → set.
16122
+ */
16102
16123
  nap_reasoning_level?: string | null;
16103
16124
  onboarding_md?: string | null;
16104
16125
  /** @description Tri-state: absent → leave alone; `null` → clear (use the model default); string → set. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubos/agent-sdk",
3
- "version": "0.0.1161312",
3
+ "version": "0.0.1162516",
4
4
  "type": "module",
5
5
  "description": "Client for the Cubos Agent conversation API. Runs anywhere fetch does.",
6
6
  "license": "SEE LICENSE IN LICENSE",