@taico/client 0.2.15 → 0.2.17

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.
@@ -72,6 +72,23 @@ export interface paths {
72
72
  patch?: never;
73
73
  trace?: never;
74
74
  };
75
+ "/api/v1/meta/version": {
76
+ parameters: {
77
+ query?: never;
78
+ header?: never;
79
+ path?: never;
80
+ cookie?: never;
81
+ };
82
+ /** Get version information */
83
+ get: operations["MetaController_getVersion"];
84
+ put?: never;
85
+ post?: never;
86
+ delete?: never;
87
+ options?: never;
88
+ head?: never;
89
+ patch?: never;
90
+ trace?: never;
91
+ };
75
92
  "/api/v1/meta/projects": {
76
93
  parameters: {
77
94
  query?: never;
@@ -1759,6 +1776,26 @@ export interface paths {
1759
1776
  patch?: never;
1760
1777
  trace?: never;
1761
1778
  };
1779
+ "/api/v1/executions/active/{executionId}/unclaim": {
1780
+ parameters: {
1781
+ query?: never;
1782
+ header?: never;
1783
+ path?: never;
1784
+ cookie?: never;
1785
+ };
1786
+ get?: never;
1787
+ put?: never;
1788
+ /**
1789
+ * Unclaim an active task execution and return it to the queue
1790
+ * @description Atomically removes the execution from the active execution table and returns its task to the execution queue. Only the worker that claimed the execution may unclaim it.
1791
+ */
1792
+ post: operations["ActiveTaskExecutionController_unclaimTaskExecution"];
1793
+ delete?: never;
1794
+ options?: never;
1795
+ head?: never;
1796
+ patch?: never;
1797
+ trace?: never;
1798
+ };
1762
1799
  "/api/v1/executions/active/{executionId}/session": {
1763
1800
  parameters: {
1764
1801
  query?: never;
@@ -2112,6 +2149,18 @@ export interface components {
2112
2149
  */
2113
2150
  updatedAt: string;
2114
2151
  };
2152
+ VersionResponseDto: {
2153
+ /**
2154
+ * @description Backend version
2155
+ * @example 0.2.16
2156
+ */
2157
+ backend: string;
2158
+ /**
2159
+ * @description UI version
2160
+ * @example 0.2.16
2161
+ */
2162
+ ui: string;
2163
+ };
2115
2164
  CreateProjectDto: {
2116
2165
  /**
2117
2166
  * @description Project slug (e.g., "taico")
@@ -5309,6 +5358,11 @@ export interface components {
5309
5358
  * @example gpt-5.4
5310
5359
  */
5311
5360
  modelId: string | null;
5361
+ /**
5362
+ * @description Taico worker package version used for this run
5363
+ * @example 0.2.16
5364
+ */
5365
+ workerVersion: string | null;
5312
5366
  /**
5313
5367
  * @description Input token usage when available
5314
5368
  * @example 1200
@@ -5526,6 +5580,11 @@ export interface components {
5526
5580
  * @example gpt-5.4
5527
5581
  */
5528
5582
  modelId?: string | null;
5583
+ /**
5584
+ * @description Taico worker package version used for this execution
5585
+ * @example 0.2.16
5586
+ */
5587
+ workerVersion?: string | null;
5529
5588
  /**
5530
5589
  * @description Input token usage when available
5531
5590
  * @example 1200
@@ -5570,6 +5629,8 @@ export interface components {
5570
5629
  /** Format: uuid */
5571
5630
  id: string;
5572
5631
  oauthClientId: string;
5632
+ /** @example 0.2.16 */
5633
+ workerVersion: string | null;
5573
5634
  /** Format: date-time */
5574
5635
  lastSeenAt: string;
5575
5636
  harnesses: ("claude" | "codex" | "opencode" | "adk" | "githubcopilot" | "other")[];
@@ -6086,6 +6147,26 @@ export interface operations {
6086
6147
  };
6087
6148
  };
6088
6149
  };
6150
+ MetaController_getVersion: {
6151
+ parameters: {
6152
+ query?: never;
6153
+ header?: never;
6154
+ path?: never;
6155
+ cookie?: never;
6156
+ };
6157
+ requestBody?: never;
6158
+ responses: {
6159
+ /** @description Version information for backend and UI */
6160
+ 200: {
6161
+ headers: {
6162
+ [name: string]: unknown;
6163
+ };
6164
+ content: {
6165
+ "application/json": components["schemas"]["VersionResponseDto"];
6166
+ };
6167
+ };
6168
+ };
6169
+ };
6089
6170
  ProjectsController_getAllProjects: {
6090
6171
  parameters: {
6091
6172
  query?: never;
@@ -10224,6 +10305,26 @@ export interface operations {
10224
10305
  };
10225
10306
  };
10226
10307
  };
10308
+ ActiveTaskExecutionController_unclaimTaskExecution: {
10309
+ parameters: {
10310
+ query?: never;
10311
+ header?: never;
10312
+ path: {
10313
+ /** @description Execution ID to unclaim */
10314
+ executionId: string;
10315
+ };
10316
+ cookie?: never;
10317
+ };
10318
+ requestBody?: never;
10319
+ responses: {
10320
+ 204: {
10321
+ headers: {
10322
+ [name: string]: unknown;
10323
+ };
10324
+ content?: never;
10325
+ };
10326
+ };
10327
+ };
10227
10328
  ActiveTaskExecutionController_updateRunnerSessionId: {
10228
10329
  parameters: {
10229
10330
  query?: never;
@@ -145,6 +145,7 @@ export type { UpdateThreadStateDto } from './models/UpdateThreadStateDto.js';
145
145
  export type { UpsertAgentToolPermissionDto } from './models/UpsertAgentToolPermissionDto.js';
146
146
  export { UserResponseDto } from './models/UserResponseDto.js';
147
147
  export { UserWalkthroughStatusResponseDto } from './models/UserWalkthroughStatusResponseDto.js';
148
+ export type { VersionResponseDto } from './models/VersionResponseDto.js';
148
149
  export type { WorkerResponseDto } from './models/WorkerResponseDto.js';
149
150
  export { ActorsService } from './services/ActorsService.js';
150
151
  export { AgentService } from './services/AgentService.js';
@@ -11,6 +11,10 @@ export type ExecutionStatsResponseDto = {
11
11
  * LLM model id resolved for this run
12
12
  */
13
13
  modelId: string | null;
14
+ /**
15
+ * Taico worker package version used for this run
16
+ */
17
+ workerVersion: string | null;
14
18
  /**
15
19
  * Input token usage when available
16
20
  */
@@ -11,6 +11,10 @@ export type UpdateExecutionStatsDto = {
11
11
  * Model id used by the harness
12
12
  */
13
13
  modelId?: string | null;
14
+ /**
15
+ * Taico worker package version used for this execution
16
+ */
17
+ workerVersion?: string | null;
14
18
  /**
15
19
  * Input token usage when available
16
20
  */
@@ -0,0 +1,10 @@
1
+ export type VersionResponseDto = {
2
+ /**
3
+ * Backend version
4
+ */
5
+ backend: string;
6
+ /**
7
+ * UI version
8
+ */
9
+ ui: string;
10
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,7 @@
1
1
  export type WorkerResponseDto = {
2
2
  id: string;
3
3
  oauthClientId: string;
4
+ workerVersion: string | null;
4
5
  lastSeenAt: string;
5
6
  harnesses: Array<'claude' | 'codex' | 'opencode' | 'adk' | 'githubcopilot' | 'other'>;
6
7
  createdAt: string;
@@ -45,6 +45,14 @@ export declare class ExecutionsService {
45
45
  * @throws ApiError
46
46
  */
47
47
  static activeTaskExecutionControllerStopTaskExecution(executionId: string, requestBody: StopActiveTaskExecutionDto, config?: OpenAPIConfig): CancelablePromise<TaskExecutionHistoryResponseDto>;
48
+ /**
49
+ * Unclaim an active task execution and return it to the queue
50
+ * Atomically removes the execution from the active execution table and returns its task to the execution queue. Only the worker that claimed the execution may unclaim it.
51
+ * @param executionId Execution ID to unclaim
52
+ * @returns void
53
+ * @throws ApiError
54
+ */
55
+ static activeTaskExecutionControllerUnclaimTaskExecution(executionId: string, config?: OpenAPIConfig): CancelablePromise<void>;
48
56
  /**
49
57
  * Attach the runner session id to an active execution
50
58
  * Stores the runtime session identifier emitted by the agent harness so it can be propagated to execution history.
@@ -74,6 +74,22 @@ export class ExecutionsService {
74
74
  mediaType: 'application/json',
75
75
  });
76
76
  }
77
+ /**
78
+ * Unclaim an active task execution and return it to the queue
79
+ * Atomically removes the execution from the active execution table and returns its task to the execution queue. Only the worker that claimed the execution may unclaim it.
80
+ * @param executionId Execution ID to unclaim
81
+ * @returns void
82
+ * @throws ApiError
83
+ */
84
+ static activeTaskExecutionControllerUnclaimTaskExecution(executionId, config = OpenAPI) {
85
+ return __request(config, {
86
+ method: 'POST',
87
+ url: '/api/v1/executions/active/{executionId}/unclaim',
88
+ path: {
89
+ 'executionId': executionId,
90
+ },
91
+ });
92
+ }
77
93
  /**
78
94
  * Attach the runner session id to an active execution
79
95
  * Stores the runtime session identifier emitted by the agent harness so it can be propagated to execution history.
@@ -1,5 +1,6 @@
1
1
  import type { CreateTagDto } from '../models/CreateTagDto.js';
2
2
  import type { MetaTagResponseDto } from '../models/MetaTagResponseDto.js';
3
+ import type { VersionResponseDto } from '../models/VersionResponseDto.js';
3
4
  import type { CancelablePromise } from '../core/CancelablePromise.js';
4
5
  import type { OpenAPIConfig } from '../core/OpenAPI.js';
5
6
  export declare class MetaService {
@@ -29,4 +30,10 @@ export declare class MetaService {
29
30
  * @throws ApiError
30
31
  */
31
32
  static metaControllerDeleteTag(tagId: string, config?: OpenAPIConfig): CancelablePromise<void>;
33
+ /**
34
+ * Get version information
35
+ * @returns VersionResponseDto Version information for backend and UI
36
+ * @throws ApiError
37
+ */
38
+ static metaControllerGetVersion(config?: OpenAPIConfig): CancelablePromise<VersionResponseDto>;
32
39
  }
@@ -58,4 +58,15 @@ export class MetaService {
58
58
  },
59
59
  });
60
60
  }
61
+ /**
62
+ * Get version information
63
+ * @returns VersionResponseDto Version information for backend and UI
64
+ * @throws ApiError
65
+ */
66
+ static metaControllerGetVersion(config = OpenAPI) {
67
+ return __request(config, {
68
+ method: 'GET',
69
+ url: '/api/v1/meta/version',
70
+ });
71
+ }
61
72
  }
@@ -26,6 +26,11 @@ export declare class ExecutionsResource extends BaseClient {
26
26
  body: StopActiveTaskExecutionDto;
27
27
  signal?: AbortSignal;
28
28
  }): Promise<TaskExecutionHistoryResponseDto>;
29
+ /** Unclaim an active task execution and return it to the queue */
30
+ ActiveTaskExecutionController_unclaimTaskExecution(params: {
31
+ executionId: string;
32
+ signal?: AbortSignal;
33
+ }): Promise<void>;
29
34
  /** Attach the runner session id to an active execution */
30
35
  ActiveTaskExecutionController_updateRunnerSessionId(params: {
31
36
  executionId: string;
@@ -19,6 +19,10 @@ export class ExecutionsResource extends BaseClient {
19
19
  async ActiveTaskExecutionController_stopTaskExecution(params) {
20
20
  return this.request('POST', `/api/v1/executions/active/${params.executionId}/stop`, { body: params.body, signal: params?.signal });
21
21
  }
22
+ /** Unclaim an active task execution and return it to the queue */
23
+ async ActiveTaskExecutionController_unclaimTaskExecution(params) {
24
+ return this.request('POST', `/api/v1/executions/active/${params.executionId}/unclaim`, { responseType: 'void', signal: params?.signal });
25
+ }
22
26
  /** Attach the runner session id to an active execution */
23
27
  async ActiveTaskExecutionController_updateRunnerSessionId(params) {
24
28
  return this.request('PATCH', `/api/v1/executions/active/${params.executionId}/session`, { body: params.body, responseType: 'void', signal: params?.signal });
@@ -1,5 +1,5 @@
1
1
  import { BaseClient, ClientConfig } from './base-client.js';
2
- import type { CreateTagDto, MetaTagResponseDto } from './types.js';
2
+ import type { CreateTagDto, MetaTagResponseDto, VersionResponseDto } from './types.js';
3
3
  export declare class MetaResource extends BaseClient {
4
4
  constructor(config: ClientConfig);
5
5
  /** Create a new tag */
@@ -20,4 +20,8 @@ export declare class MetaResource extends BaseClient {
20
20
  tagId: string;
21
21
  signal?: AbortSignal;
22
22
  }): Promise<void>;
23
+ /** Get version information */
24
+ MetaController_getVersion(params?: {
25
+ signal?: AbortSignal;
26
+ }): Promise<VersionResponseDto>;
23
27
  }
@@ -19,4 +19,8 @@ export class MetaResource extends BaseClient {
19
19
  async MetaController_deleteTag(params) {
20
20
  return this.request('DELETE', `/api/v1/meta/tags/${params.tagId}`, { responseType: 'void', signal: params?.signal });
21
21
  }
22
+ /** Get version information */
23
+ async MetaController_getVersion(params) {
24
+ return this.request('GET', '/api/v1/meta/version', { signal: params?.signal });
25
+ }
22
26
  }
@@ -8,6 +8,10 @@ export interface MetaTagResponseDto {
8
8
  createdAt: string;
9
9
  updatedAt: string;
10
10
  }
11
+ export interface VersionResponseDto {
12
+ backend: string;
13
+ ui: string;
14
+ }
11
15
  export interface CreateProjectDto {
12
16
  slug: string;
13
17
  description?: string;
@@ -838,6 +842,7 @@ export interface ExecutionStatsResponseDto {
838
842
  harness: string | null;
839
843
  providerId: string | null;
840
844
  modelId: string | null;
845
+ workerVersion: string | null;
841
846
  inputTokens: number | null;
842
847
  outputTokens: number | null;
843
848
  totalTokens: number | null;
@@ -893,6 +898,7 @@ export interface UpdateExecutionStatsDto {
893
898
  harness?: string | null;
894
899
  providerId?: string | null;
895
900
  modelId?: string | null;
901
+ workerVersion?: string | null;
896
902
  inputTokens?: number | null;
897
903
  outputTokens?: number | null;
898
904
  totalTokens?: number | null;
@@ -907,6 +913,7 @@ export interface TaskExecutionHistoryListResponseDto {
907
913
  export interface WorkerResponseDto {
908
914
  id: string;
909
915
  oauthClientId: string;
916
+ workerVersion: string | null;
910
917
  lastSeenAt: string;
911
918
  harnesses: ('claude' | 'codex' | 'opencode' | 'adk' | 'githubcopilot' | 'other')[];
912
919
  createdAt: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taico/client",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "license": "MIT",