@taico/client 0.2.6 → 0.2.9

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.
Files changed (48) hide show
  1. package/dist/contracts/types.d.ts +268 -187
  2. package/dist/src/v1/client/index.d.ts +4 -3
  3. package/dist/src/v1/client/index.js +1 -2
  4. package/dist/src/v1/client/models/ActiveTaskExecutionResponseDto.d.ts +8 -0
  5. package/dist/src/v1/client/models/ImportBlocksResponseDto.d.ts +6 -0
  6. package/dist/src/v1/client/models/TaskExecutionHistoryResponseDto.d.ts +8 -0
  7. package/dist/src/v1/client/models/UpdateRunnerSessionIdDto.d.ts +6 -0
  8. package/dist/src/v1/client/models/UpdateRunnerSessionIdDto.js +1 -0
  9. package/dist/src/v1/client/models/WorkerResponseDto.d.ts +8 -0
  10. package/dist/src/v1/client/models/WorkerResponseDto.js +1 -0
  11. package/dist/src/v1/client/services/AgentRunService.d.ts +2 -2
  12. package/dist/src/v1/client/services/AgentRunService.js +2 -2
  13. package/dist/src/v1/client/services/ContextService.d.ts +19 -0
  14. package/dist/src/v1/client/services/ContextService.js +28 -0
  15. package/dist/src/v1/client/services/ExecutionsService.d.ts +57 -10
  16. package/dist/src/v1/client/services/ExecutionsService.js +97 -15
  17. package/dist/src/v1/client/services/WorkersService.d.ts +11 -0
  18. package/dist/src/v1/client/services/WorkersService.js +15 -0
  19. package/dist/src/v2/agent-resource.js +2 -2
  20. package/dist/src/v2/authorization-server-resource.js +3 -3
  21. package/dist/src/v2/base-client.d.ts +4 -0
  22. package/dist/src/v2/base-client.js +51 -7
  23. package/dist/src/v2/chat-providers-resource.js +2 -2
  24. package/dist/src/v2/client.d.ts +4 -4
  25. package/dist/src/v2/client.js +6 -6
  26. package/dist/src/v2/context-resource.d.ts +10 -1
  27. package/dist/src/v2/context-resource.js +16 -8
  28. package/dist/src/v2/executions-resource.d.ts +35 -10
  29. package/dist/src/v2/executions-resource.js +27 -3
  30. package/dist/src/v2/meta---projects-resource.js +1 -1
  31. package/dist/src/v2/meta-resource.js +1 -1
  32. package/dist/src/v2/scheduled-tasks-resource.js +1 -1
  33. package/dist/src/v2/secrets-resource.js +1 -1
  34. package/dist/src/v2/task-blueprints-resource.js +1 -1
  35. package/dist/src/v2/task-resource.js +8 -8
  36. package/dist/src/v2/threads-resource.js +1 -1
  37. package/dist/src/v2/types.d.ts +18 -28
  38. package/dist/src/v2/workers-resource.d.ts +9 -0
  39. package/dist/src/v2/workers-resource.js +10 -0
  40. package/package.json +1 -1
  41. package/dist/src/v1/client/models/ExecutionListResponseDto.d.ts +0 -23
  42. package/dist/src/v1/client/models/ExecutionResponseDto.d.ts +0 -93
  43. package/dist/src/v1/client/models/ExecutionResponseDto.js +0 -17
  44. package/dist/src/v1/client/services/ExecutionsV2Service.d.ts +0 -46
  45. package/dist/src/v1/client/services/ExecutionsV2Service.js +0 -75
  46. package/dist/src/v2/executions-v2-resource.d.ts +0 -28
  47. package/dist/src/v2/executions-v2-resource.js +0 -26
  48. /package/dist/src/v1/client/models/{ExecutionListResponseDto.js → ImportBlocksResponseDto.js} +0 -0
@@ -951,7 +951,7 @@ export interface paths {
951
951
  /**
952
952
  * Create a new agent run
953
953
  * @deprecated
954
- * @description DEPRECATED: This endpoint is a legacy compatibility facade. New workers should use the execution-centric model (TaskExecution) instead of creating AgentRuns. This endpoint will be removed once all workers migrate to execution-id. See /docs/AGENT_RUN_DEPRECATION.md for details.
954
+ * @description Compatibility endpoint for contexts that still create AgentRun records. Execution id is the authoritative runtime identity.
955
955
  */
956
956
  post: operations["AgentRunsController_createAgentRun"];
957
957
  delete?: never;
@@ -977,7 +977,7 @@ export interface paths {
977
977
  /**
978
978
  * Update an agent run
979
979
  * @deprecated
980
- * @description DEPRECATED: This endpoint is a legacy compatibility facade. Workers should update execution state via TaskExecution instead. See /docs/AGENT_RUN_DEPRECATION.md for migration details.
980
+ * @description Compatibility endpoint for updating AgentRun records. Execution lifecycle state is owned by executions.
981
981
  */
982
982
  patch: operations["AgentRunsController_updateAgentRun"];
983
983
  trace?: never;
@@ -1508,6 +1508,40 @@ export interface paths {
1508
1508
  patch?: never;
1509
1509
  trace?: never;
1510
1510
  };
1511
+ "/api/v1/context/blocks/export": {
1512
+ parameters: {
1513
+ query?: never;
1514
+ header?: never;
1515
+ path?: never;
1516
+ cookie?: never;
1517
+ };
1518
+ /** Export all context blocks as markdown zip */
1519
+ get: operations["ContextController_exportBlocks"];
1520
+ put?: never;
1521
+ post?: never;
1522
+ delete?: never;
1523
+ options?: never;
1524
+ head?: never;
1525
+ patch?: never;
1526
+ trace?: never;
1527
+ };
1528
+ "/api/v1/context/blocks/import": {
1529
+ parameters: {
1530
+ query?: never;
1531
+ header?: never;
1532
+ path?: never;
1533
+ cookie?: never;
1534
+ };
1535
+ get?: never;
1536
+ put?: never;
1537
+ /** Import context blocks from markdown zip */
1538
+ post: operations["ContextController_importBlocks"];
1539
+ delete?: never;
1540
+ options?: never;
1541
+ head?: never;
1542
+ patch?: never;
1543
+ trace?: never;
1544
+ };
1511
1545
  "/api/v1/context/blocks/{id}": {
1512
1546
  parameters: {
1513
1547
  query?: never;
@@ -1628,7 +1662,7 @@ export interface paths {
1628
1662
  patch: operations["ContextController_handleMcp_patch"];
1629
1663
  trace?: never;
1630
1664
  };
1631
- "/api/v1/executions-v2/queue": {
1665
+ "/api/v1/executions/queue": {
1632
1666
  parameters: {
1633
1667
  query?: never;
1634
1668
  header?: never;
@@ -1637,7 +1671,7 @@ export interface paths {
1637
1671
  };
1638
1672
  /**
1639
1673
  * List the current task execution work queue
1640
- * @description Returns the tasks currently present in the v2 execution queue. Presence means the task is ready to be picked by the executor.
1674
+ * @description Returns the tasks currently present in the execution queue. Presence means the task is ready to be picked by the executor.
1641
1675
  */
1642
1676
  get: operations["TaskExecutionQueueController_listQueue"];
1643
1677
  put?: never;
@@ -1648,7 +1682,7 @@ export interface paths {
1648
1682
  patch?: never;
1649
1683
  trace?: never;
1650
1684
  };
1651
- "/api/v1/executions-v2/queue/{taskId}/claim": {
1685
+ "/api/v1/executions/queue/{taskId}/claim": {
1652
1686
  parameters: {
1653
1687
  query?: never;
1654
1688
  header?: never;
@@ -1668,7 +1702,7 @@ export interface paths {
1668
1702
  patch?: never;
1669
1703
  trace?: never;
1670
1704
  };
1671
- "/api/v1/executions-v2/active": {
1705
+ "/api/v1/executions/active": {
1672
1706
  parameters: {
1673
1707
  query?: never;
1674
1708
  header?: never;
@@ -1677,7 +1711,7 @@ export interface paths {
1677
1711
  };
1678
1712
  /**
1679
1713
  * List active task executions
1680
- * @description Returns the tasks currently being worked on in the v2 execution system.
1714
+ * @description Returns the tasks currently being worked on in the execution system.
1681
1715
  */
1682
1716
  get: operations["ActiveTaskExecutionController_listActiveExecutions"];
1683
1717
  put?: never;
@@ -1688,7 +1722,7 @@ export interface paths {
1688
1722
  patch?: never;
1689
1723
  trace?: never;
1690
1724
  };
1691
- "/api/v1/executions-v2/active/{executionId}/stop": {
1725
+ "/api/v1/executions/active/{executionId}/stop": {
1692
1726
  parameters: {
1693
1727
  query?: never;
1694
1728
  header?: never;
@@ -1708,7 +1742,47 @@ export interface paths {
1708
1742
  patch?: never;
1709
1743
  trace?: never;
1710
1744
  };
1711
- "/api/v1/executions-v2/history": {
1745
+ "/api/v1/executions/active/{executionId}/session": {
1746
+ parameters: {
1747
+ query?: never;
1748
+ header?: never;
1749
+ path?: never;
1750
+ cookie?: never;
1751
+ };
1752
+ get?: never;
1753
+ put?: never;
1754
+ post?: never;
1755
+ delete?: never;
1756
+ options?: never;
1757
+ head?: never;
1758
+ /**
1759
+ * Attach the runner session id to an active execution
1760
+ * @description Stores the runtime session identifier emitted by the agent harness so it can be propagated to execution history.
1761
+ */
1762
+ patch: operations["ActiveTaskExecutionController_updateRunnerSessionId"];
1763
+ trace?: never;
1764
+ };
1765
+ "/api/v1/executions/active/{executionId}/tool-calls/increment": {
1766
+ parameters: {
1767
+ query?: never;
1768
+ header?: never;
1769
+ path?: never;
1770
+ cookie?: never;
1771
+ };
1772
+ get?: never;
1773
+ put?: never;
1774
+ post?: never;
1775
+ delete?: never;
1776
+ options?: never;
1777
+ head?: never;
1778
+ /**
1779
+ * Increment tool call count for an active execution
1780
+ * @description Atomically increments the active execution tool-call counter without touching other mutable execution fields.
1781
+ */
1782
+ patch: operations["ActiveTaskExecutionController_incrementToolCallCount"];
1783
+ trace?: never;
1784
+ };
1785
+ "/api/v1/executions/history": {
1712
1786
  parameters: {
1713
1787
  query?: never;
1714
1788
  header?: never;
@@ -1717,7 +1791,7 @@ export interface paths {
1717
1791
  };
1718
1792
  /**
1719
1793
  * List task execution history
1720
- * @description Returns the persisted execution history rows in the v2 execution system.
1794
+ * @description Returns the persisted execution history rows in the execution system.
1721
1795
  */
1722
1796
  get: operations["TaskExecutionHistoryController_listHistory"];
1723
1797
  put?: never;
@@ -1728,6 +1802,23 @@ export interface paths {
1728
1802
  patch?: never;
1729
1803
  trace?: never;
1730
1804
  };
1805
+ "/api/v1/workers": {
1806
+ parameters: {
1807
+ query?: never;
1808
+ header?: never;
1809
+ path?: never;
1810
+ cookie?: never;
1811
+ };
1812
+ /** List all workers */
1813
+ get: operations["WorkersController_listWorkers"];
1814
+ put?: never;
1815
+ post?: never;
1816
+ delete?: never;
1817
+ options?: never;
1818
+ head?: never;
1819
+ patch?: never;
1820
+ trace?: never;
1821
+ };
1731
1822
  "/api/v1/task-blueprints": {
1732
1823
  parameters: {
1733
1824
  query?: never;
@@ -1875,26 +1966,6 @@ export interface paths {
1875
1966
  patch?: never;
1876
1967
  trace?: never;
1877
1968
  };
1878
- "/api/v1/executions": {
1879
- parameters: {
1880
- query?: never;
1881
- header?: never;
1882
- path?: never;
1883
- cookie?: never;
1884
- };
1885
- /**
1886
- * List task executions with optional filtering and pagination
1887
- * @description Returns the backend-tracked work queue showing all TaskExecution records. Useful for debugging the execution reconciler and understanding which tasks are ready to run.
1888
- */
1889
- get: operations["ExecutionsController_listExecutions"];
1890
- put?: never;
1891
- post?: never;
1892
- delete?: never;
1893
- options?: never;
1894
- head?: never;
1895
- patch?: never;
1896
- trace?: never;
1897
- };
1898
1969
  "/api/v1/search/query": {
1899
1970
  parameters: {
1900
1971
  query?: never;
@@ -4895,6 +4966,13 @@ export interface components {
4895
4966
  */
4896
4967
  updatedAt: string;
4897
4968
  };
4969
+ ImportBlocksResponseDto: {
4970
+ /**
4971
+ * @description Number of context blocks imported from the archive
4972
+ * @example 12
4973
+ */
4974
+ importedCount: number;
4975
+ };
4898
4976
  UpdateBlockDto: {
4899
4977
  /**
4900
4978
  * @description Updated title of the context block
@@ -5006,6 +5084,16 @@ export interface components {
5006
5084
  * @example 2026-04-03T08:25:10.000Z
5007
5085
  */
5008
5086
  lastHeartbeatAt: string | null;
5087
+ /**
5088
+ * @description Agent runtime session identifier associated with this execution
5089
+ * @example session_01JZ0SMM85FBFA8Y82M8VREY2A
5090
+ */
5091
+ runnerSessionId: string | null;
5092
+ /**
5093
+ * @description Number of tool calls made during this execution so far
5094
+ * @example 7
5095
+ */
5096
+ toolCallCount: number;
5009
5097
  /**
5010
5098
  * @description Task status before the task was claimed
5011
5099
  * @enum {string}
@@ -5089,6 +5177,16 @@ export interface components {
5089
5177
  * @example 24f52f295c990c1d6cdc6034fa3d1900
5090
5178
  */
5091
5179
  workerClientId: string;
5180
+ /**
5181
+ * @description Agent runtime session identifier associated with this execution
5182
+ * @example session_01JZ0SMM85FBFA8Y82M8VREY2A
5183
+ */
5184
+ runnerSessionId: string | null;
5185
+ /**
5186
+ * @description Number of tool calls made during the execution
5187
+ * @example 12
5188
+ */
5189
+ toolCallCount: number;
5092
5190
  /**
5093
5191
  * @description Terminal execution status
5094
5192
  * @enum {string}
@@ -5105,6 +5203,25 @@ export interface components {
5105
5203
  */
5106
5204
  errorMessage: string | null;
5107
5205
  };
5206
+ UpdateRunnerSessionIdDto: {
5207
+ /**
5208
+ * @description Agent runtime session identifier for this execution
5209
+ * @example session_01JZ0SMM85FBFA8Y82M8VREY2A
5210
+ */
5211
+ sessionId: string;
5212
+ };
5213
+ WorkerResponseDto: {
5214
+ /** Format: uuid */
5215
+ id: string;
5216
+ oauthClientId: string;
5217
+ /** Format: date-time */
5218
+ lastSeenAt: string;
5219
+ harnesses: ("claude" | "codex" | "opencode" | "adk" | "githubcopilot" | "other")[];
5220
+ /** Format: date-time */
5221
+ createdAt: string;
5222
+ /** Format: date-time */
5223
+ updatedAt: string;
5224
+ };
5108
5225
  CreateTaskBlueprintDto: {
5109
5226
  /**
5110
5227
  * @description Name of the task blueprint
@@ -5435,133 +5552,6 @@ export interface components {
5435
5552
  */
5436
5553
  resource_name: string;
5437
5554
  };
5438
- ExecutionResponseDto: {
5439
- /**
5440
- * @description Unique execution identifier
5441
- * @example 123e4567-e89b-12d3-a456-426614174000
5442
- */
5443
- id: string;
5444
- /**
5445
- * @description Task ID
5446
- * @example 123e4567-e89b-12d3-a456-426614174001
5447
- */
5448
- taskId: string;
5449
- /**
5450
- * @description Task name
5451
- * @example Implement feature X
5452
- */
5453
- taskName?: string | null;
5454
- /**
5455
- * @description Agent actor ID
5456
- * @example 123e4567-e89b-12d3-a456-426614174002
5457
- */
5458
- agentActorId: string;
5459
- /**
5460
- * @description Agent slug
5461
- * @example claude-dev
5462
- */
5463
- agentSlug?: string | null;
5464
- /**
5465
- * @description Agent name
5466
- * @example Claude Developer
5467
- */
5468
- agentName?: string | null;
5469
- /**
5470
- * @description Execution status
5471
- * @example READY
5472
- * @enum {string}
5473
- */
5474
- status: "READY" | "CLAIMED" | "RUNNING" | "STOP_REQUESTED" | "COMPLETED" | "FAILED" | "CANCELLED" | "STALE";
5475
- /**
5476
- * @description When the execution was requested
5477
- * @example 2026-03-28T10:30:00.000Z
5478
- */
5479
- requestedAt: string;
5480
- /**
5481
- * Format: date-time
5482
- * @description When the execution was claimed by a worker
5483
- * @example 2026-03-28T10:31:00.000Z
5484
- */
5485
- claimedAt?: string | null;
5486
- /**
5487
- * Format: date-time
5488
- * @description When the execution started running
5489
- * @example 2026-03-28T10:31:05.000Z
5490
- */
5491
- startedAt?: string | null;
5492
- /**
5493
- * Format: date-time
5494
- * @description When the execution finished
5495
- * @example 2026-03-28T10:35:00.000Z
5496
- */
5497
- finishedAt?: string | null;
5498
- /**
5499
- * @description Worker session ID that claimed this execution
5500
- * @example 123e4567-e89b-12d3-a456-426614174003
5501
- */
5502
- workerSessionId?: string | null;
5503
- /**
5504
- * Format: date-time
5505
- * @description When the worker lease expires
5506
- * @example 2026-03-28T10:36:00.000Z
5507
- */
5508
- leaseExpiresAt?: string | null;
5509
- /**
5510
- * Format: date-time
5511
- * @description When a stop was requested
5512
- * @example 2026-03-28T10:34:00.000Z
5513
- */
5514
- stopRequestedAt?: string | null;
5515
- /**
5516
- * @description Failure reason if execution failed
5517
- * @example Worker disconnected
5518
- */
5519
- failureReason?: string | null;
5520
- /**
5521
- * @description Why this execution was triggered
5522
- * @example Task is eligible for execution
5523
- */
5524
- triggerReason?: string | null;
5525
- /**
5526
- * @description Row version for optimistic locking
5527
- * @example 1
5528
- */
5529
- rowVersion: number;
5530
- /**
5531
- * @description Execution creation timestamp
5532
- * @example 2026-03-28T10:30:00.000Z
5533
- */
5534
- createdAt: string;
5535
- /**
5536
- * @description Execution last update timestamp
5537
- * @example 2026-03-28T10:30:00.000Z
5538
- */
5539
- updatedAt: string;
5540
- };
5541
- ExecutionListResponseDto: {
5542
- /** @description Array of task executions */
5543
- items: components["schemas"]["ExecutionResponseDto"][];
5544
- /**
5545
- * @description Total number of executions matching the filter
5546
- * @example 100
5547
- */
5548
- total: number;
5549
- /**
5550
- * @description Current page number (1-indexed)
5551
- * @example 1
5552
- */
5553
- page: number;
5554
- /**
5555
- * @description Number of items per page
5556
- * @example 50
5557
- */
5558
- limit: number;
5559
- /**
5560
- * @description Total number of pages
5561
- * @example 2
5562
- */
5563
- totalPages: number;
5564
- };
5565
5555
  GlobalSearchResultDto: {
5566
5556
  /**
5567
5557
  * @description Result ID
@@ -9339,6 +9329,63 @@ export interface operations {
9339
9329
  };
9340
9330
  };
9341
9331
  };
9332
+ ContextController_exportBlocks: {
9333
+ parameters: {
9334
+ query?: never;
9335
+ header?: never;
9336
+ path?: never;
9337
+ cookie?: never;
9338
+ };
9339
+ requestBody?: never;
9340
+ responses: {
9341
+ /** @description Context blocks archive downloaded successfully */
9342
+ 200: {
9343
+ headers: {
9344
+ [name: string]: unknown;
9345
+ };
9346
+ content: {
9347
+ "application/zip": string;
9348
+ };
9349
+ };
9350
+ };
9351
+ };
9352
+ ContextController_importBlocks: {
9353
+ parameters: {
9354
+ query?: never;
9355
+ header?: never;
9356
+ path?: never;
9357
+ cookie?: never;
9358
+ };
9359
+ requestBody: {
9360
+ content: {
9361
+ "multipart/form-data": {
9362
+ /**
9363
+ * Format: binary
9364
+ * @description Zip file exported from context blocks
9365
+ */
9366
+ file: string;
9367
+ };
9368
+ };
9369
+ };
9370
+ responses: {
9371
+ /** @description Context blocks imported successfully */
9372
+ 201: {
9373
+ headers: {
9374
+ [name: string]: unknown;
9375
+ };
9376
+ content: {
9377
+ "application/json": components["schemas"]["ImportBlocksResponseDto"];
9378
+ };
9379
+ };
9380
+ /** @description No archive file uploaded or invalid file type */
9381
+ 400: {
9382
+ headers: {
9383
+ [name: string]: unknown;
9384
+ };
9385
+ content?: never;
9386
+ };
9387
+ };
9388
+ };
9342
9389
  ContextController_getBlock: {
9343
9390
  parameters: {
9344
9391
  query?: never;
@@ -9767,6 +9814,50 @@ export interface operations {
9767
9814
  };
9768
9815
  };
9769
9816
  };
9817
+ ActiveTaskExecutionController_updateRunnerSessionId: {
9818
+ parameters: {
9819
+ query?: never;
9820
+ header?: never;
9821
+ path: {
9822
+ /** @description Execution ID to update */
9823
+ executionId: string;
9824
+ };
9825
+ cookie?: never;
9826
+ };
9827
+ requestBody: {
9828
+ content: {
9829
+ "application/json": components["schemas"]["UpdateRunnerSessionIdDto"];
9830
+ };
9831
+ };
9832
+ responses: {
9833
+ 204: {
9834
+ headers: {
9835
+ [name: string]: unknown;
9836
+ };
9837
+ content?: never;
9838
+ };
9839
+ };
9840
+ };
9841
+ ActiveTaskExecutionController_incrementToolCallCount: {
9842
+ parameters: {
9843
+ query?: never;
9844
+ header?: never;
9845
+ path: {
9846
+ /** @description Execution ID to update */
9847
+ executionId: string;
9848
+ };
9849
+ cookie?: never;
9850
+ };
9851
+ requestBody?: never;
9852
+ responses: {
9853
+ 204: {
9854
+ headers: {
9855
+ [name: string]: unknown;
9856
+ };
9857
+ content?: never;
9858
+ };
9859
+ };
9860
+ };
9770
9861
  TaskExecutionHistoryController_listHistory: {
9771
9862
  parameters: {
9772
9863
  query?: never;
@@ -9786,6 +9877,26 @@ export interface operations {
9786
9877
  };
9787
9878
  };
9788
9879
  };
9880
+ WorkersController_listWorkers: {
9881
+ parameters: {
9882
+ query?: never;
9883
+ header?: never;
9884
+ path?: never;
9885
+ cookie?: never;
9886
+ };
9887
+ requestBody?: never;
9888
+ responses: {
9889
+ /** @description List of all registered workers */
9890
+ 200: {
9891
+ headers: {
9892
+ [name: string]: unknown;
9893
+ };
9894
+ content: {
9895
+ "application/json": components["schemas"]["WorkerResponseDto"][];
9896
+ };
9897
+ };
9898
+ };
9899
+ };
9789
9900
  TaskBlueprintsController_listTaskBlueprints: {
9790
9901
  parameters: {
9791
9902
  query?: {
@@ -10205,36 +10316,6 @@ export interface operations {
10205
10316
  };
10206
10317
  };
10207
10318
  };
10208
- ExecutionsController_listExecutions: {
10209
- parameters: {
10210
- query?: {
10211
- /** @description Filter by execution status */
10212
- status?: "READY" | "CLAIMED" | "RUNNING" | "STOP_REQUESTED" | "COMPLETED" | "FAILED" | "CANCELLED" | "STALE";
10213
- /** @description Filter by agent actor ID */
10214
- agentActorId?: string;
10215
- /** @description Filter by task ID */
10216
- taskId?: string;
10217
- /** @description Page number (1-indexed) */
10218
- page?: number;
10219
- /** @description Number of items per page */
10220
- limit?: number;
10221
- };
10222
- header?: never;
10223
- path?: never;
10224
- cookie?: never;
10225
- };
10226
- requestBody?: never;
10227
- responses: {
10228
- 200: {
10229
- headers: {
10230
- [name: string]: unknown;
10231
- };
10232
- content: {
10233
- "application/json": components["schemas"]["ExecutionListResponseDto"];
10234
- };
10235
- };
10236
- };
10237
- };
10238
10319
  GlobalSearchController_search: {
10239
10320
  parameters: {
10240
10321
  query: {
@@ -60,12 +60,11 @@ export type { DeleteConnectionResponseDto } from './models/DeleteConnectionRespo
60
60
  export type { DeleteMappingResponseDto } from './models/DeleteMappingResponseDto.js';
61
61
  export type { DeleteScopeResponseDto } from './models/DeleteScopeResponseDto.js';
62
62
  export type { DeleteServerResponseDto } from './models/DeleteServerResponseDto.js';
63
- export type { ExecutionListResponseDto } from './models/ExecutionListResponseDto.js';
64
- export { ExecutionResponseDto } from './models/ExecutionResponseDto.js';
65
63
  export type { FlowClientDto } from './models/FlowClientDto.js';
66
64
  export type { FlowServerDto } from './models/FlowServerDto.js';
67
65
  export { GetConsentMetadataResponseDto } from './models/GetConsentMetadataResponseDto.js';
68
66
  export { GlobalSearchResultDto } from './models/GlobalSearchResultDto.js';
67
+ export type { ImportBlocksResponseDto } from './models/ImportBlocksResponseDto.js';
69
68
  export type { InputRequestResponseDto } from './models/InputRequestResponseDto.js';
70
69
  export { IntrospectTokenRequestDto } from './models/IntrospectTokenRequestDto.js';
71
70
  export { IntrospectTokenResponseDto } from './models/IntrospectTokenResponseDto.js';
@@ -125,6 +124,7 @@ export type { UpdateAgentRunDto } from './models/UpdateAgentRunDto.js';
125
124
  export type { UpdateBlockDto } from './models/UpdateBlockDto.js';
126
125
  export type { UpdateChatProviderDto } from './models/UpdateChatProviderDto.js';
127
126
  export type { UpdateConnectionDto } from './models/UpdateConnectionDto.js';
127
+ export type { UpdateRunnerSessionIdDto } from './models/UpdateRunnerSessionIdDto.js';
128
128
  export type { UpdateScheduledTaskDto } from './models/UpdateScheduledTaskDto.js';
129
129
  export type { UpdateSecretDto } from './models/UpdateSecretDto.js';
130
130
  export { UpdateServerDto } from './models/UpdateServerDto.js';
@@ -134,6 +134,7 @@ export type { UpdateThreadDto } from './models/UpdateThreadDto.js';
134
134
  export type { UpdateThreadStateDto } from './models/UpdateThreadStateDto.js';
135
135
  export type { UpsertAgentToolPermissionDto } from './models/UpsertAgentToolPermissionDto.js';
136
136
  export { UserResponseDto } from './models/UserResponseDto.js';
137
+ export type { WorkerResponseDto } from './models/WorkerResponseDto.js';
137
138
  export { ActorsService } from './services/ActorsService.js';
138
139
  export { AgentService } from './services/AgentService.js';
139
140
  export { AgentExecutionTokensService } from './services/AgentExecutionTokensService.js';
@@ -146,7 +147,6 @@ export { ChatProvidersService } from './services/ChatProvidersService.js';
146
147
  export { ContextService } from './services/ContextService.js';
147
148
  export { DiscoveryService } from './services/DiscoveryService.js';
148
149
  export { ExecutionsService } from './services/ExecutionsService.js';
149
- export { ExecutionsV2Service } from './services/ExecutionsV2Service.js';
150
150
  export { JwksService } from './services/JwksService.js';
151
151
  export { MetaService } from './services/MetaService.js';
152
152
  export { MetaProjectsService } from './services/MetaProjectsService.js';
@@ -158,3 +158,4 @@ export { TaskBlueprintsService } from './services/TaskBlueprintsService.js';
158
158
  export { ThreadsService } from './services/ThreadsService.js';
159
159
  export { ToolsService } from './services/ToolsService.js';
160
160
  export { WebAuthenticationService } from './services/WebAuthenticationService.js';
161
+ export { WorkersService } from './services/WorkersService.js';
@@ -17,7 +17,6 @@ export { ConnectionFlowResponseDto } from './models/ConnectionFlowResponseDto.js
17
17
  export { CreateAgentDto } from './models/CreateAgentDto.js';
18
18
  export { CreateChatProviderDto } from './models/CreateChatProviderDto.js';
19
19
  export { CreateServerDto } from './models/CreateServerDto.js';
20
- export { ExecutionResponseDto } from './models/ExecutionResponseDto.js';
21
20
  export { GetConsentMetadataResponseDto } from './models/GetConsentMetadataResponseDto.js';
22
21
  export { GlobalSearchResultDto } from './models/GlobalSearchResultDto.js';
23
22
  export { IntrospectTokenRequestDto } from './models/IntrospectTokenRequestDto.js';
@@ -48,7 +47,6 @@ export { ChatProvidersService } from './services/ChatProvidersService.js';
48
47
  export { ContextService } from './services/ContextService.js';
49
48
  export { DiscoveryService } from './services/DiscoveryService.js';
50
49
  export { ExecutionsService } from './services/ExecutionsService.js';
51
- export { ExecutionsV2Service } from './services/ExecutionsV2Service.js';
52
50
  export { JwksService } from './services/JwksService.js';
53
51
  export { MetaService } from './services/MetaService.js';
54
52
  export { MetaProjectsService } from './services/MetaProjectsService.js';
@@ -60,3 +58,4 @@ export { TaskBlueprintsService } from './services/TaskBlueprintsService.js';
60
58
  export { ThreadsService } from './services/ThreadsService.js';
61
59
  export { ToolsService } from './services/ToolsService.js';
62
60
  export { WebAuthenticationService } from './services/WebAuthenticationService.js';
61
+ export { WorkersService } from './services/WorkersService.js';
@@ -24,6 +24,14 @@ export type ActiveTaskExecutionResponseDto = {
24
24
  * Latest worker heartbeat received for this active execution
25
25
  */
26
26
  lastHeartbeatAt: string | null;
27
+ /**
28
+ * Agent runtime session identifier associated with this execution
29
+ */
30
+ runnerSessionId: string | null;
31
+ /**
32
+ * Number of tool calls made during this execution so far
33
+ */
34
+ toolCallCount: number;
27
35
  /**
28
36
  * Task status before the task was claimed
29
37
  */
@@ -0,0 +1,6 @@
1
+ export type ImportBlocksResponseDto = {
2
+ /**
3
+ * Number of context blocks imported from the archive
4
+ */
5
+ importedCount: number;
6
+ };