@taico/client 0.2.16 → 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.
- package/dist/contracts/types.d.ts +61 -0
- package/dist/src/v1/client/index.d.ts +1 -0
- package/dist/src/v1/client/models/ExecutionStatsResponseDto.d.ts +4 -0
- package/dist/src/v1/client/models/UpdateExecutionStatsDto.d.ts +4 -0
- package/dist/src/v1/client/models/VersionResponseDto.d.ts +10 -0
- package/dist/src/v1/client/models/VersionResponseDto.js +1 -0
- package/dist/src/v1/client/models/WorkerResponseDto.d.ts +1 -0
- package/dist/src/v1/client/services/MetaService.d.ts +7 -0
- package/dist/src/v1/client/services/MetaService.js +11 -0
- package/dist/src/v2/meta-resource.d.ts +5 -1
- package/dist/src/v2/meta-resource.js +4 -0
- package/dist/src/v2/types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -2132,6 +2149,18 @@ export interface components {
|
|
|
2132
2149
|
*/
|
|
2133
2150
|
updatedAt: string;
|
|
2134
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
|
+
};
|
|
2135
2164
|
CreateProjectDto: {
|
|
2136
2165
|
/**
|
|
2137
2166
|
* @description Project slug (e.g., "taico")
|
|
@@ -5329,6 +5358,11 @@ export interface components {
|
|
|
5329
5358
|
* @example gpt-5.4
|
|
5330
5359
|
*/
|
|
5331
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;
|
|
5332
5366
|
/**
|
|
5333
5367
|
* @description Input token usage when available
|
|
5334
5368
|
* @example 1200
|
|
@@ -5546,6 +5580,11 @@ export interface components {
|
|
|
5546
5580
|
* @example gpt-5.4
|
|
5547
5581
|
*/
|
|
5548
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;
|
|
5549
5588
|
/**
|
|
5550
5589
|
* @description Input token usage when available
|
|
5551
5590
|
* @example 1200
|
|
@@ -5590,6 +5629,8 @@ export interface components {
|
|
|
5590
5629
|
/** Format: uuid */
|
|
5591
5630
|
id: string;
|
|
5592
5631
|
oauthClientId: string;
|
|
5632
|
+
/** @example 0.2.16 */
|
|
5633
|
+
workerVersion: string | null;
|
|
5593
5634
|
/** Format: date-time */
|
|
5594
5635
|
lastSeenAt: string;
|
|
5595
5636
|
harnesses: ("claude" | "codex" | "opencode" | "adk" | "githubcopilot" | "other")[];
|
|
@@ -6106,6 +6147,26 @@ export interface operations {
|
|
|
6106
6147
|
};
|
|
6107
6148
|
};
|
|
6108
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
|
+
};
|
|
6109
6170
|
ProjectsController_getAllProjects: {
|
|
6110
6171
|
parameters: {
|
|
6111
6172
|
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
package/dist/src/v2/types.d.ts
CHANGED
|
@@ -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;
|