@arbidocs/client 0.3.126 → 0.3.127

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
@@ -2419,6 +2419,31 @@ interface paths {
2419
2419
  patch: operations['update_task'];
2420
2420
  trace?: never;
2421
2421
  };
2422
+ '/v1/tasks/{task_id}/runs': {
2423
+ parameters: {
2424
+ query?: never;
2425
+ header?: never;
2426
+ path?: never;
2427
+ cookie?: never;
2428
+ };
2429
+ /**
2430
+ * List Task Runs
2431
+ * @description A task's run history, newest first — derived from its bookend notifications.
2432
+ *
2433
+ * There is no runs table: each ``task_completed`` notification tagged with this
2434
+ * task IS a run record, carrying the run's conversation (open it to watch/read)
2435
+ * and status. The current in-flight run (if any) is prepended from the task's
2436
+ * live pointers.
2437
+ */
2438
+ get: operations['list_task_runs'];
2439
+ put?: never;
2440
+ post?: never;
2441
+ delete?: never;
2442
+ options?: never;
2443
+ head?: never;
2444
+ patch?: never;
2445
+ trace?: never;
2446
+ };
2422
2447
  '/v1/tasks/{task_id}/run': {
2423
2448
  parameters: {
2424
2449
  query?: never;
@@ -7270,6 +7295,8 @@ interface components {
7270
7295
  workspace_ext_id?: string | null;
7271
7296
  /** Content */
7272
7297
  content?: string | null;
7298
+ /** Conversation Ext Id */
7299
+ conversation_ext_id?: string | null;
7273
7300
  /**
7274
7301
  * Read
7275
7302
  * @default false
@@ -9750,6 +9777,28 @@ interface components {
9750
9777
  */
9751
9778
  updated_at: string;
9752
9779
  };
9780
+ /**
9781
+ * TaskRunResponse
9782
+ * @description One execution of a task, derived from its run bookend notifications.
9783
+ *
9784
+ * There is no runs table: history comes from the ``task_started`` /
9785
+ * ``task_completed`` notifications tagged with this task. Each entry links to the
9786
+ * run's conversation (``conversation_ext_id``) — open it to watch/read the run.
9787
+ */
9788
+ TaskRunResponse: {
9789
+ /** Run Id */
9790
+ run_id?: string | null;
9791
+ /** Conversation Ext Id */
9792
+ conversation_ext_id?: string | null;
9793
+ /** Status */
9794
+ status: string;
9795
+ /** Error */
9796
+ error?: string | null;
9797
+ /** Started At */
9798
+ started_at?: string | null;
9799
+ /** Finished At */
9800
+ finished_at?: string | null;
9801
+ };
9753
9802
  /**
9754
9803
  * TaskStatus
9755
9804
  * @enum {string}
@@ -14677,6 +14726,37 @@ interface operations {
14677
14726
  };
14678
14727
  };
14679
14728
  };
14729
+ list_task_runs: {
14730
+ parameters: {
14731
+ query?: never;
14732
+ header?: never;
14733
+ path: {
14734
+ task_id: string;
14735
+ };
14736
+ cookie?: never;
14737
+ };
14738
+ requestBody?: never;
14739
+ responses: {
14740
+ /** @description Successful Response */
14741
+ 200: {
14742
+ headers: {
14743
+ [name: string]: unknown;
14744
+ };
14745
+ content: {
14746
+ 'application/json': components['schemas']['TaskRunResponse'][];
14747
+ };
14748
+ };
14749
+ /** @description Validation Error */
14750
+ 422: {
14751
+ headers: {
14752
+ [name: string]: unknown;
14753
+ };
14754
+ content: {
14755
+ 'application/json': components['schemas']['HTTPValidationError'];
14756
+ };
14757
+ };
14758
+ };
14759
+ };
14680
14760
  run_task: {
14681
14761
  parameters: {
14682
14762
  query?: never;
package/dist/index.d.ts CHANGED
@@ -2419,6 +2419,31 @@ interface paths {
2419
2419
  patch: operations['update_task'];
2420
2420
  trace?: never;
2421
2421
  };
2422
+ '/v1/tasks/{task_id}/runs': {
2423
+ parameters: {
2424
+ query?: never;
2425
+ header?: never;
2426
+ path?: never;
2427
+ cookie?: never;
2428
+ };
2429
+ /**
2430
+ * List Task Runs
2431
+ * @description A task's run history, newest first — derived from its bookend notifications.
2432
+ *
2433
+ * There is no runs table: each ``task_completed`` notification tagged with this
2434
+ * task IS a run record, carrying the run's conversation (open it to watch/read)
2435
+ * and status. The current in-flight run (if any) is prepended from the task's
2436
+ * live pointers.
2437
+ */
2438
+ get: operations['list_task_runs'];
2439
+ put?: never;
2440
+ post?: never;
2441
+ delete?: never;
2442
+ options?: never;
2443
+ head?: never;
2444
+ patch?: never;
2445
+ trace?: never;
2446
+ };
2422
2447
  '/v1/tasks/{task_id}/run': {
2423
2448
  parameters: {
2424
2449
  query?: never;
@@ -7270,6 +7295,8 @@ interface components {
7270
7295
  workspace_ext_id?: string | null;
7271
7296
  /** Content */
7272
7297
  content?: string | null;
7298
+ /** Conversation Ext Id */
7299
+ conversation_ext_id?: string | null;
7273
7300
  /**
7274
7301
  * Read
7275
7302
  * @default false
@@ -9750,6 +9777,28 @@ interface components {
9750
9777
  */
9751
9778
  updated_at: string;
9752
9779
  };
9780
+ /**
9781
+ * TaskRunResponse
9782
+ * @description One execution of a task, derived from its run bookend notifications.
9783
+ *
9784
+ * There is no runs table: history comes from the ``task_started`` /
9785
+ * ``task_completed`` notifications tagged with this task. Each entry links to the
9786
+ * run's conversation (``conversation_ext_id``) — open it to watch/read the run.
9787
+ */
9788
+ TaskRunResponse: {
9789
+ /** Run Id */
9790
+ run_id?: string | null;
9791
+ /** Conversation Ext Id */
9792
+ conversation_ext_id?: string | null;
9793
+ /** Status */
9794
+ status: string;
9795
+ /** Error */
9796
+ error?: string | null;
9797
+ /** Started At */
9798
+ started_at?: string | null;
9799
+ /** Finished At */
9800
+ finished_at?: string | null;
9801
+ };
9753
9802
  /**
9754
9803
  * TaskStatus
9755
9804
  * @enum {string}
@@ -14677,6 +14726,37 @@ interface operations {
14677
14726
  };
14678
14727
  };
14679
14728
  };
14729
+ list_task_runs: {
14730
+ parameters: {
14731
+ query?: never;
14732
+ header?: never;
14733
+ path: {
14734
+ task_id: string;
14735
+ };
14736
+ cookie?: never;
14737
+ };
14738
+ requestBody?: never;
14739
+ responses: {
14740
+ /** @description Successful Response */
14741
+ 200: {
14742
+ headers: {
14743
+ [name: string]: unknown;
14744
+ };
14745
+ content: {
14746
+ 'application/json': components['schemas']['TaskRunResponse'][];
14747
+ };
14748
+ };
14749
+ /** @description Validation Error */
14750
+ 422: {
14751
+ headers: {
14752
+ [name: string]: unknown;
14753
+ };
14754
+ content: {
14755
+ 'application/json': components['schemas']['HTTPValidationError'];
14756
+ };
14757
+ };
14758
+ };
14759
+ };
14680
14760
  run_task: {
14681
14761
  parameters: {
14682
14762
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.3.126",
3
+ "version": "0.3.127",
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",