@arbidocs/client 0.5.103 → 0.5.105

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
@@ -10224,6 +10224,27 @@ interface components {
10224
10224
  * namespaced `arbi` field, so a standard Responses client ignores it (unknown
10225
10225
  * field) while ours reads it. The item itself stays byte-for-byte standard.
10226
10226
  */
10227
+ RoutingDecision: {
10228
+ status: 'applied' | 'fallback';
10229
+ router_model: string;
10230
+ selected_model: string;
10231
+ model_recommendation?: string | null;
10232
+ elapsed_seconds: number;
10233
+ input_tokens?: number | null;
10234
+ output_tokens?: number | null;
10235
+ cost_usd?: number | null;
10236
+ retained_message_ext_ids: string[];
10237
+ recommended_history_keep_count?: number | null;
10238
+ history_retained_by_policy?: boolean;
10239
+ document_titles: {
10240
+ [key: string]: string;
10241
+ };
10242
+ selected_doc_ext_ids: string[];
10243
+ selected_tool_names?: string[] | null;
10244
+ always_available_tool_names: string[];
10245
+ recommended_tool_names?: string[] | null;
10246
+ fallback_reason?: string | null;
10247
+ };
10227
10248
  ArbiItemMeta: {
10228
10249
  /**
10229
10250
  * Step
@@ -10315,6 +10336,7 @@ interface components {
10315
10336
  * Kept Doc Ext Ids
10316
10337
  * @description Goal step only: documents the planner kept for this turn.
10317
10338
  */
10339
+ routing?: components['schemas']['RoutingDecision'] | null;
10318
10340
  kept_doc_ext_ids?: string[] | null;
10319
10341
  /**
10320
10342
  * Dropped Doc Ext Ids
package/dist/index.d.ts CHANGED
@@ -10224,6 +10224,27 @@ interface components {
10224
10224
  * namespaced `arbi` field, so a standard Responses client ignores it (unknown
10225
10225
  * field) while ours reads it. The item itself stays byte-for-byte standard.
10226
10226
  */
10227
+ RoutingDecision: {
10228
+ status: 'applied' | 'fallback';
10229
+ router_model: string;
10230
+ selected_model: string;
10231
+ model_recommendation?: string | null;
10232
+ elapsed_seconds: number;
10233
+ input_tokens?: number | null;
10234
+ output_tokens?: number | null;
10235
+ cost_usd?: number | null;
10236
+ retained_message_ext_ids: string[];
10237
+ recommended_history_keep_count?: number | null;
10238
+ history_retained_by_policy?: boolean;
10239
+ document_titles: {
10240
+ [key: string]: string;
10241
+ };
10242
+ selected_doc_ext_ids: string[];
10243
+ selected_tool_names?: string[] | null;
10244
+ always_available_tool_names: string[];
10245
+ recommended_tool_names?: string[] | null;
10246
+ fallback_reason?: string | null;
10247
+ };
10227
10248
  ArbiItemMeta: {
10228
10249
  /**
10229
10250
  * Step
@@ -10315,6 +10336,7 @@ interface components {
10315
10336
  * Kept Doc Ext Ids
10316
10337
  * @description Goal step only: documents the planner kept for this turn.
10317
10338
  */
10339
+ routing?: components['schemas']['RoutingDecision'] | null;
10318
10340
  kept_doc_ext_ids?: string[] | null;
10319
10341
  /**
10320
10342
  * Dropped Doc Ext Ids
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.5.103",
3
+ "version": "0.5.105",
4
4
  "description": "TypeScript SDK for the ARBI API — zero-knowledge auth, E2E encryption, and type-safe REST client",
5
5
  "type": "module",
6
6
  "sideEffects": false,