@arbidocs/client 0.3.131 → 0.3.133

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
@@ -3233,6 +3233,12 @@ interface components {
3233
3233
  * The focus field carries the agent's current focus: what it's zeroing in on.
3234
3234
  * The content field carries extended text (e.g. the research plan).
3235
3235
  *
3236
+ * An index identifies one logical step and is claimed by whatever that turn
3237
+ * resolves into — a tool call or the answer. `step="answering"` is therefore
3238
+ * emitted only once the turn is known to have produced the answer; the
3239
+ * provisional "model is generating" signal is GeneratingEvent, which carries no
3240
+ * index precisely so it can never be claimed by a tool call.
3241
+ *
3236
3242
  * Examples:
3237
3243
  * {"type": "arbi.agent_step", "index": 1, "step": "planning",
3238
3244
  * "content": "1. Search for force majeure clauses across all three contracts\n2. Compare scope and exclusions"}
@@ -4018,7 +4024,7 @@ interface components {
4018
4024
  * "IMAGE": "arbi-sandbox:bookworm-slim",
4019
4025
  * "TIMEOUT_SECONDS": 60,
4020
4026
  * "MEMORY_LIMIT": "512m",
4021
- * "NETWORK": "bridge"
4027
+ * "NETWORK": "arbi-sandbox-net"
4022
4028
  * }
4023
4029
  */
4024
4030
  RunCode: components['schemas']['RunCodeConfig'];
@@ -6343,6 +6349,39 @@ interface components {
6343
6349
  */
6344
6350
  tag_ext_ids: string[];
6345
6351
  };
6352
+ /**
6353
+ * GeneratingEvent
6354
+ * @description The model has started generating free text (event: arbi.generating).
6355
+ *
6356
+ * Emitted on the first content delta of a turn so the client can open its
6357
+ * token channel and show that something is coming. It says only that — NOT
6358
+ * that the text is the answer. A model emits its prose preamble and its
6359
+ * tool-call block in one completion, so at this point the two are
6360
+ * indistinguishable; only the absence of a tool call proves it was the answer,
6361
+ * and that is not known until the turn resolves.
6362
+ *
6363
+ * Deliberately NOT an agent_step: a step needs an `index`, and a tool call
6364
+ * resolving this turn would then claim it, leaving one index tagged both
6365
+ * "answering" and a tool call. This event carries no index, so nothing can
6366
+ * collide with it. The authoritative `step="answering"` is emitted later, once,
6367
+ * by the turn that actually produced the answer.
6368
+ *
6369
+ * Example:
6370
+ * {"type": "arbi.generating", "t": 4.837}
6371
+ */
6372
+ GeneratingEvent: {
6373
+ /**
6374
+ * T
6375
+ * @description Seconds elapsed since stream start.
6376
+ */
6377
+ t?: number | null;
6378
+ /**
6379
+ * Type
6380
+ * @default arbi.generating
6381
+ * @constant
6382
+ */
6383
+ type: 'arbi.generating';
6384
+ };
6346
6385
  /**
6347
6386
  * GetTableOfContentsDetail
6348
6387
  * @description Detail for a get_table_of_contents tool call.
@@ -8980,8 +9019,8 @@ interface components {
8980
9019
  MEMORY_LIMIT: string;
8981
9020
  /**
8982
9021
  * Network
8983
- * @description Container network mode. 'bridge' allows internet (pip/npm install). 'none' for full isolation.
8984
- * @default bridge
9022
+ * @description Container network mode. 'arbi-sandbox-net' is the dedicated bridge created at deploy time (outbound internet works; other sandboxes are unreachable). 'none' for full isolation. Do not use 'bridge' — on the shared default bridge, model-authored code sits alongside every other container on the host.
9023
+ * @default arbi-sandbox-net
8985
9024
  */
8986
9025
  NETWORK: string;
8987
9026
  };
@@ -9021,6 +9060,7 @@ interface components {
9021
9060
  response_content_part_added?: components['schemas']['ResponseContentPartAddedEvent'] | null;
9022
9061
  agent_step?: components['schemas']['AgentStepEvent'] | null;
9023
9062
  agent_step_delta?: components['schemas']['AgentStepDeltaEvent'] | null;
9063
+ generating?: components['schemas']['GeneratingEvent'] | null;
9024
9064
  user_input_request?: components['schemas']['UserInputRequestEvent'] | null;
9025
9065
  probe_answer?: components['schemas']['ProbeAnswerEvent'] | null;
9026
9066
  deferred_interjection?: components['schemas']['DeferredInterjectionEvent'] | null;
@@ -9843,6 +9883,8 @@ interface components {
9843
9883
  progress: number;
9844
9884
  /** Failed Stage */
9845
9885
  failed_stage?: string | null;
9886
+ /** Folder */
9887
+ folder?: string | null;
9846
9888
  };
9847
9889
  /** Thread */
9848
9890
  Thread: {
package/dist/index.d.ts CHANGED
@@ -3233,6 +3233,12 @@ interface components {
3233
3233
  * The focus field carries the agent's current focus: what it's zeroing in on.
3234
3234
  * The content field carries extended text (e.g. the research plan).
3235
3235
  *
3236
+ * An index identifies one logical step and is claimed by whatever that turn
3237
+ * resolves into — a tool call or the answer. `step="answering"` is therefore
3238
+ * emitted only once the turn is known to have produced the answer; the
3239
+ * provisional "model is generating" signal is GeneratingEvent, which carries no
3240
+ * index precisely so it can never be claimed by a tool call.
3241
+ *
3236
3242
  * Examples:
3237
3243
  * {"type": "arbi.agent_step", "index": 1, "step": "planning",
3238
3244
  * "content": "1. Search for force majeure clauses across all three contracts\n2. Compare scope and exclusions"}
@@ -4018,7 +4024,7 @@ interface components {
4018
4024
  * "IMAGE": "arbi-sandbox:bookworm-slim",
4019
4025
  * "TIMEOUT_SECONDS": 60,
4020
4026
  * "MEMORY_LIMIT": "512m",
4021
- * "NETWORK": "bridge"
4027
+ * "NETWORK": "arbi-sandbox-net"
4022
4028
  * }
4023
4029
  */
4024
4030
  RunCode: components['schemas']['RunCodeConfig'];
@@ -6343,6 +6349,39 @@ interface components {
6343
6349
  */
6344
6350
  tag_ext_ids: string[];
6345
6351
  };
6352
+ /**
6353
+ * GeneratingEvent
6354
+ * @description The model has started generating free text (event: arbi.generating).
6355
+ *
6356
+ * Emitted on the first content delta of a turn so the client can open its
6357
+ * token channel and show that something is coming. It says only that — NOT
6358
+ * that the text is the answer. A model emits its prose preamble and its
6359
+ * tool-call block in one completion, so at this point the two are
6360
+ * indistinguishable; only the absence of a tool call proves it was the answer,
6361
+ * and that is not known until the turn resolves.
6362
+ *
6363
+ * Deliberately NOT an agent_step: a step needs an `index`, and a tool call
6364
+ * resolving this turn would then claim it, leaving one index tagged both
6365
+ * "answering" and a tool call. This event carries no index, so nothing can
6366
+ * collide with it. The authoritative `step="answering"` is emitted later, once,
6367
+ * by the turn that actually produced the answer.
6368
+ *
6369
+ * Example:
6370
+ * {"type": "arbi.generating", "t": 4.837}
6371
+ */
6372
+ GeneratingEvent: {
6373
+ /**
6374
+ * T
6375
+ * @description Seconds elapsed since stream start.
6376
+ */
6377
+ t?: number | null;
6378
+ /**
6379
+ * Type
6380
+ * @default arbi.generating
6381
+ * @constant
6382
+ */
6383
+ type: 'arbi.generating';
6384
+ };
6346
6385
  /**
6347
6386
  * GetTableOfContentsDetail
6348
6387
  * @description Detail for a get_table_of_contents tool call.
@@ -8980,8 +9019,8 @@ interface components {
8980
9019
  MEMORY_LIMIT: string;
8981
9020
  /**
8982
9021
  * Network
8983
- * @description Container network mode. 'bridge' allows internet (pip/npm install). 'none' for full isolation.
8984
- * @default bridge
9022
+ * @description Container network mode. 'arbi-sandbox-net' is the dedicated bridge created at deploy time (outbound internet works; other sandboxes are unreachable). 'none' for full isolation. Do not use 'bridge' — on the shared default bridge, model-authored code sits alongside every other container on the host.
9023
+ * @default arbi-sandbox-net
8985
9024
  */
8986
9025
  NETWORK: string;
8987
9026
  };
@@ -9021,6 +9060,7 @@ interface components {
9021
9060
  response_content_part_added?: components['schemas']['ResponseContentPartAddedEvent'] | null;
9022
9061
  agent_step?: components['schemas']['AgentStepEvent'] | null;
9023
9062
  agent_step_delta?: components['schemas']['AgentStepDeltaEvent'] | null;
9063
+ generating?: components['schemas']['GeneratingEvent'] | null;
9024
9064
  user_input_request?: components['schemas']['UserInputRequestEvent'] | null;
9025
9065
  probe_answer?: components['schemas']['ProbeAnswerEvent'] | null;
9026
9066
  deferred_interjection?: components['schemas']['DeferredInterjectionEvent'] | null;
@@ -9843,6 +9883,8 @@ interface components {
9843
9883
  progress: number;
9844
9884
  /** Failed Stage */
9845
9885
  failed_stage?: string | null;
9886
+ /** Folder */
9887
+ folder?: string | null;
9846
9888
  };
9847
9889
  /** Thread */
9848
9890
  Thread: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.3.131",
3
+ "version": "0.3.133",
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
  "main": "dist/index.cjs",