@arbidocs/client 0.5.54 → 0.5.56

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
@@ -3382,7 +3382,7 @@ interface paths {
3382
3382
  *
3383
3383
  * This is how people talk to each other in a shared conversation:
3384
3384
  * the message is stored and shown, and no LLM run starts. To get an answer,
3385
- * @mention the assistant and send through ``POST /v1/assistant/query`` instead
3385
+ * @mention the assistant and send through ``POST /v1/responses`` instead
3386
3386
  * (with ``mentions``); that endpoint keeps streaming the reply as today.
3387
3387
  *
3388
3388
  * - ``mentions`` of people must name current members of the workspace (422
@@ -3715,33 +3715,6 @@ interface paths {
3715
3715
  patch?: never;
3716
3716
  trace?: never;
3717
3717
  };
3718
- '/v1/assistant/query': {
3719
- parameters: {
3720
- query?: never;
3721
- header?: never;
3722
- path?: never;
3723
- cookie?: never;
3724
- };
3725
- get?: never;
3726
- put?: never;
3727
- /**
3728
- * Query
3729
- * @description Process a user query against documents in a workspace.
3730
- * Performs retrieval augmented generation with streaming response.
3731
- *
3732
- * An agent can call this with its own session token. An owning human can also
3733
- * select its designated native session using ``agent_ext_id``; execution then
3734
- * uses the agent's token, sandbox and RLS identity through the same pipeline.
3735
- *
3736
- * Requires active project if Stripe is configured.
3737
- */
3738
- post: operations['generate'];
3739
- delete?: never;
3740
- options?: never;
3741
- head?: never;
3742
- patch?: never;
3743
- trace?: never;
3744
- };
3745
3718
  '/v1/assistant/interject': {
3746
3719
  parameters: {
3747
3720
  query?: never;
@@ -8396,6 +8369,9 @@ interface paths {
8396
8369
  * - ``stream=false, background=false``: blocks, returns completed JSON
8397
8370
  * - ``stream=true, background=false``: SSE stream (resilient to disconnect)
8398
8371
  * - ``background=true``: 202 immediately, task runs to completion
8372
+ *
8373
+ * An owning human can select a native agent session with ``agent_ext_id``.
8374
+ * Follow-ups retain the agent's identity, workspace and sandbox.
8399
8375
  */
8400
8376
  post: operations['create_response'];
8401
8377
  delete?: never;
@@ -18608,7 +18584,7 @@ interface components {
18608
18584
  * - neither: start a new conversation in ``assistant_mode`` (default ``mentioned``).
18609
18585
  *
18610
18586
  * Only valid in a ``mentioned`` conversation: an ``always`` conversation promises
18611
- * a reply to every message, so its messages go through ``POST /v1/assistant/query``.
18587
+ * a reply to every message, so its messages go through ``POST /v1/responses``.
18612
18588
  * Mentioning the assistant is rejected here for the same reason: that message is
18613
18589
  * meant to run it, so send it through the query endpoint (with ``mentions``).
18614
18590
  */
@@ -22739,7 +22715,7 @@ interface components {
22739
22715
  };
22740
22716
  /**
22741
22717
  * TaskOptions
22742
- * @description Make the conversation an assistant query starts a task: ``POST /v1/assistant/query`` with ``task`` set.
22718
+ * @description Make the conversation an assistant query starts a task: ``POST /v1/responses`` with ``task`` set.
22743
22719
  *
22744
22720
  * The query IS the run (as the person asking, with their own access). The conversation gets a status of
22745
22721
  * ``generating`` while the assistant works and ``todo`` again when it finishes; every field here is optional.
@@ -30912,39 +30888,6 @@ interface operations {
30912
30888
  };
30913
30889
  };
30914
30890
  };
30915
- generate: {
30916
- parameters: {
30917
- query?: never;
30918
- header?: never;
30919
- path?: never;
30920
- cookie?: never;
30921
- };
30922
- requestBody: {
30923
- content: {
30924
- 'application/json': components['schemas']['MessageInput'];
30925
- };
30926
- };
30927
- responses: {
30928
- /** @description Successful Response */
30929
- 200: {
30930
- headers: {
30931
- [name: string]: unknown;
30932
- };
30933
- content: {
30934
- 'text/event-stream': unknown;
30935
- };
30936
- };
30937
- /** @description Validation Error */
30938
- 422: {
30939
- headers: {
30940
- [name: string]: unknown;
30941
- };
30942
- content: {
30943
- 'application/json': components['schemas']['HTTPValidationError'];
30944
- };
30945
- };
30946
- };
30947
- };
30948
30891
  interject: {
30949
30892
  parameters: {
30950
30893
  query?: never;
@@ -39263,6 +39206,7 @@ interface operations {
39263
39206
  [name: string]: unknown;
39264
39207
  };
39265
39208
  content: {
39209
+ 'application/json': components['schemas']['ResponsesAPIResponse'];
39266
39210
  'text/event-stream': unknown;
39267
39211
  };
39268
39212
  };
package/dist/index.d.ts CHANGED
@@ -3382,7 +3382,7 @@ interface paths {
3382
3382
  *
3383
3383
  * This is how people talk to each other in a shared conversation:
3384
3384
  * the message is stored and shown, and no LLM run starts. To get an answer,
3385
- * @mention the assistant and send through ``POST /v1/assistant/query`` instead
3385
+ * @mention the assistant and send through ``POST /v1/responses`` instead
3386
3386
  * (with ``mentions``); that endpoint keeps streaming the reply as today.
3387
3387
  *
3388
3388
  * - ``mentions`` of people must name current members of the workspace (422
@@ -3715,33 +3715,6 @@ interface paths {
3715
3715
  patch?: never;
3716
3716
  trace?: never;
3717
3717
  };
3718
- '/v1/assistant/query': {
3719
- parameters: {
3720
- query?: never;
3721
- header?: never;
3722
- path?: never;
3723
- cookie?: never;
3724
- };
3725
- get?: never;
3726
- put?: never;
3727
- /**
3728
- * Query
3729
- * @description Process a user query against documents in a workspace.
3730
- * Performs retrieval augmented generation with streaming response.
3731
- *
3732
- * An agent can call this with its own session token. An owning human can also
3733
- * select its designated native session using ``agent_ext_id``; execution then
3734
- * uses the agent's token, sandbox and RLS identity through the same pipeline.
3735
- *
3736
- * Requires active project if Stripe is configured.
3737
- */
3738
- post: operations['generate'];
3739
- delete?: never;
3740
- options?: never;
3741
- head?: never;
3742
- patch?: never;
3743
- trace?: never;
3744
- };
3745
3718
  '/v1/assistant/interject': {
3746
3719
  parameters: {
3747
3720
  query?: never;
@@ -8396,6 +8369,9 @@ interface paths {
8396
8369
  * - ``stream=false, background=false``: blocks, returns completed JSON
8397
8370
  * - ``stream=true, background=false``: SSE stream (resilient to disconnect)
8398
8371
  * - ``background=true``: 202 immediately, task runs to completion
8372
+ *
8373
+ * An owning human can select a native agent session with ``agent_ext_id``.
8374
+ * Follow-ups retain the agent's identity, workspace and sandbox.
8399
8375
  */
8400
8376
  post: operations['create_response'];
8401
8377
  delete?: never;
@@ -18608,7 +18584,7 @@ interface components {
18608
18584
  * - neither: start a new conversation in ``assistant_mode`` (default ``mentioned``).
18609
18585
  *
18610
18586
  * Only valid in a ``mentioned`` conversation: an ``always`` conversation promises
18611
- * a reply to every message, so its messages go through ``POST /v1/assistant/query``.
18587
+ * a reply to every message, so its messages go through ``POST /v1/responses``.
18612
18588
  * Mentioning the assistant is rejected here for the same reason: that message is
18613
18589
  * meant to run it, so send it through the query endpoint (with ``mentions``).
18614
18590
  */
@@ -22739,7 +22715,7 @@ interface components {
22739
22715
  };
22740
22716
  /**
22741
22717
  * TaskOptions
22742
- * @description Make the conversation an assistant query starts a task: ``POST /v1/assistant/query`` with ``task`` set.
22718
+ * @description Make the conversation an assistant query starts a task: ``POST /v1/responses`` with ``task`` set.
22743
22719
  *
22744
22720
  * The query IS the run (as the person asking, with their own access). The conversation gets a status of
22745
22721
  * ``generating`` while the assistant works and ``todo`` again when it finishes; every field here is optional.
@@ -30912,39 +30888,6 @@ interface operations {
30912
30888
  };
30913
30889
  };
30914
30890
  };
30915
- generate: {
30916
- parameters: {
30917
- query?: never;
30918
- header?: never;
30919
- path?: never;
30920
- cookie?: never;
30921
- };
30922
- requestBody: {
30923
- content: {
30924
- 'application/json': components['schemas']['MessageInput'];
30925
- };
30926
- };
30927
- responses: {
30928
- /** @description Successful Response */
30929
- 200: {
30930
- headers: {
30931
- [name: string]: unknown;
30932
- };
30933
- content: {
30934
- 'text/event-stream': unknown;
30935
- };
30936
- };
30937
- /** @description Validation Error */
30938
- 422: {
30939
- headers: {
30940
- [name: string]: unknown;
30941
- };
30942
- content: {
30943
- 'application/json': components['schemas']['HTTPValidationError'];
30944
- };
30945
- };
30946
- };
30947
- };
30948
30891
  interject: {
30949
30892
  parameters: {
30950
30893
  query?: never;
@@ -39263,6 +39206,7 @@ interface operations {
39263
39206
  [name: string]: unknown;
39264
39207
  };
39265
39208
  content: {
39209
+ 'application/json': components['schemas']['ResponsesAPIResponse'];
39266
39210
  'text/event-stream': unknown;
39267
39211
  };
39268
39212
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.5.54",
3
+ "version": "0.5.56",
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,