@taico/client 0.2.9 → 0.2.11
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 +236 -3
- package/dist/src/v1/client/index.d.ts +6 -0
- package/dist/src/v1/client/index.js +4 -0
- package/dist/src/v1/client/models/AgentTemplateCatalogResponseDto.d.ts +6 -0
- package/dist/src/v1/client/models/AgentTemplateCatalogResponseDto.js +1 -0
- package/dist/src/v1/client/models/AgentTemplateDto.d.ts +63 -0
- package/dist/src/v1/client/models/AgentTemplateDto.js +15 -0
- package/dist/src/v1/client/models/AgentTemplateHarnessDto.d.ts +29 -0
- package/dist/src/v1/client/models/AgentTemplateHarnessDto.js +15 -0
- package/dist/src/v1/client/models/AgentTemplateModelOptionDto.d.ts +22 -0
- package/dist/src/v1/client/models/AgentTemplateModelOptionDto.js +1 -0
- package/dist/src/v1/client/models/UserResponseDto.d.ts +10 -2
- package/dist/src/v1/client/models/UserResponseDto.js +9 -0
- package/dist/src/v1/client/models/UserWalkthroughStatusResponseDto.d.ts +18 -0
- package/dist/src/v1/client/models/UserWalkthroughStatusResponseDto.js +9 -0
- package/dist/src/v1/client/services/AgentService.d.ts +7 -0
- package/dist/src/v1/client/services/AgentService.js +11 -0
- package/dist/src/v1/client/services/WalkthroughService.d.ts +17 -0
- package/dist/src/v1/client/services/WalkthroughService.js +26 -0
- package/dist/src/v2/agent-resource.d.ts +5 -1
- package/dist/src/v2/agent-resource.js +4 -0
- package/dist/src/v2/client.d.ts +2 -0
- package/dist/src/v2/client.js +3 -0
- package/dist/src/v2/types.d.ts +43 -1
- package/dist/src/v2/walkthrough-resource.d.ts +13 -0
- package/dist/src/v2/walkthrough-resource.js +14 -0
- package/package.json +1 -1
|
@@ -1209,6 +1209,23 @@ export interface paths {
|
|
|
1209
1209
|
patch?: never;
|
|
1210
1210
|
trace?: never;
|
|
1211
1211
|
};
|
|
1212
|
+
"/api/v1/agents/templates": {
|
|
1213
|
+
parameters: {
|
|
1214
|
+
query?: never;
|
|
1215
|
+
header?: never;
|
|
1216
|
+
path?: never;
|
|
1217
|
+
cookie?: never;
|
|
1218
|
+
};
|
|
1219
|
+
/** List available agent creation templates */
|
|
1220
|
+
get: operations["AgentsController_listAgentTemplates"];
|
|
1221
|
+
put?: never;
|
|
1222
|
+
post?: never;
|
|
1223
|
+
delete?: never;
|
|
1224
|
+
options?: never;
|
|
1225
|
+
head?: never;
|
|
1226
|
+
patch?: never;
|
|
1227
|
+
trace?: never;
|
|
1228
|
+
};
|
|
1212
1229
|
"/api/v1/agents/{slug}": {
|
|
1213
1230
|
parameters: {
|
|
1214
1231
|
query?: never;
|
|
@@ -1983,6 +2000,40 @@ export interface paths {
|
|
|
1983
2000
|
patch?: never;
|
|
1984
2001
|
trace?: never;
|
|
1985
2002
|
};
|
|
2003
|
+
"/api/v1/walkthrough/acknowledge": {
|
|
2004
|
+
parameters: {
|
|
2005
|
+
query?: never;
|
|
2006
|
+
header?: never;
|
|
2007
|
+
path?: never;
|
|
2008
|
+
cookie?: never;
|
|
2009
|
+
};
|
|
2010
|
+
get?: never;
|
|
2011
|
+
put?: never;
|
|
2012
|
+
/** Acknowledge walkthrough — transitions FULL_PAGE display mode to BANNER */
|
|
2013
|
+
post: operations["WalkthroughController_acknowledge"];
|
|
2014
|
+
delete?: never;
|
|
2015
|
+
options?: never;
|
|
2016
|
+
head?: never;
|
|
2017
|
+
patch?: never;
|
|
2018
|
+
trace?: never;
|
|
2019
|
+
};
|
|
2020
|
+
"/api/v1/walkthrough/status": {
|
|
2021
|
+
parameters: {
|
|
2022
|
+
query?: never;
|
|
2023
|
+
header?: never;
|
|
2024
|
+
path?: never;
|
|
2025
|
+
cookie?: never;
|
|
2026
|
+
};
|
|
2027
|
+
/** Get walkthrough status for the current user */
|
|
2028
|
+
get: operations["WalkthroughController_getStatus"];
|
|
2029
|
+
put?: never;
|
|
2030
|
+
post?: never;
|
|
2031
|
+
delete?: never;
|
|
2032
|
+
options?: never;
|
|
2033
|
+
head?: never;
|
|
2034
|
+
patch?: never;
|
|
2035
|
+
trace?: never;
|
|
2036
|
+
};
|
|
1986
2037
|
}
|
|
1987
2038
|
export type webhooks = Record<string, never>;
|
|
1988
2039
|
export interface components {
|
|
@@ -2594,10 +2645,11 @@ export interface components {
|
|
|
2594
2645
|
*/
|
|
2595
2646
|
actorId: string;
|
|
2596
2647
|
/**
|
|
2597
|
-
* @description
|
|
2598
|
-
* @example
|
|
2648
|
+
* @description How onboarding UI should be shown for this user (full page, banner, or off)
|
|
2649
|
+
* @example FULL_PAGE
|
|
2650
|
+
* @enum {string}
|
|
2599
2651
|
*/
|
|
2600
|
-
|
|
2652
|
+
onboardingDisplayMode: "FULL_PAGE" | "BANNER" | "OFF";
|
|
2601
2653
|
};
|
|
2602
2654
|
LoginResponseDto: {
|
|
2603
2655
|
/** @description Authenticated user information */
|
|
@@ -4242,6 +4294,107 @@ export interface components {
|
|
|
4242
4294
|
*/
|
|
4243
4295
|
totalPages: number;
|
|
4244
4296
|
};
|
|
4297
|
+
AgentTemplateDto: {
|
|
4298
|
+
/**
|
|
4299
|
+
* @description Stable template identifier.
|
|
4300
|
+
* @example developer
|
|
4301
|
+
*/
|
|
4302
|
+
id: string;
|
|
4303
|
+
/**
|
|
4304
|
+
* @description Human-readable template name.
|
|
4305
|
+
* @example Developer
|
|
4306
|
+
*/
|
|
4307
|
+
label: string;
|
|
4308
|
+
/**
|
|
4309
|
+
* @description Short explanation of what this template configures.
|
|
4310
|
+
* @example Picks up queued implementation tasks and brings them to review.
|
|
4311
|
+
*/
|
|
4312
|
+
description: string;
|
|
4313
|
+
/**
|
|
4314
|
+
* @description Default harness type for this template.
|
|
4315
|
+
* @example opencode
|
|
4316
|
+
* @enum {string}
|
|
4317
|
+
*/
|
|
4318
|
+
type?: "claude" | "codex" | "opencode" | "adk" | "githubcopilot" | "other";
|
|
4319
|
+
/**
|
|
4320
|
+
* @description Default provider ID for this template.
|
|
4321
|
+
* @example openai
|
|
4322
|
+
*/
|
|
4323
|
+
providerId?: string;
|
|
4324
|
+
/**
|
|
4325
|
+
* @description Default model ID for this template.
|
|
4326
|
+
* @example gpt-5.3-codex
|
|
4327
|
+
*/
|
|
4328
|
+
modelId?: string;
|
|
4329
|
+
/** @description Default system prompt for this template. */
|
|
4330
|
+
systemPrompt: string;
|
|
4331
|
+
/** @description Default agent description. */
|
|
4332
|
+
agentDescription?: string;
|
|
4333
|
+
/** @description Default statuses that trigger the agent. */
|
|
4334
|
+
statusTriggers: ("NOT_STARTED" | "IN_PROGRESS" | "FOR_REVIEW" | "DONE")[];
|
|
4335
|
+
/** @description Default tag names that filter agent triggers. */
|
|
4336
|
+
tagTriggers: string[];
|
|
4337
|
+
/**
|
|
4338
|
+
* @description Default avatar URL for this template.
|
|
4339
|
+
* @example /icons/cockatoo.png
|
|
4340
|
+
*/
|
|
4341
|
+
avatarUrl?: string;
|
|
4342
|
+
/**
|
|
4343
|
+
* @description Default concurrency limit for this template.
|
|
4344
|
+
* @example 1
|
|
4345
|
+
*/
|
|
4346
|
+
concurrencyLimit?: number;
|
|
4347
|
+
};
|
|
4348
|
+
AgentTemplateModelOptionDto: {
|
|
4349
|
+
/**
|
|
4350
|
+
* @description Stable option identifier used by the UI.
|
|
4351
|
+
* @example openai:gpt-5.3-codex
|
|
4352
|
+
*/
|
|
4353
|
+
id: string;
|
|
4354
|
+
/**
|
|
4355
|
+
* @description Human-readable model option label.
|
|
4356
|
+
* @example GPT-5.3 Codex
|
|
4357
|
+
*/
|
|
4358
|
+
label: string;
|
|
4359
|
+
/**
|
|
4360
|
+
* @description Provider ID submitted when this option is selected.
|
|
4361
|
+
* @example openai
|
|
4362
|
+
*/
|
|
4363
|
+
providerId?: string;
|
|
4364
|
+
/**
|
|
4365
|
+
* @description Model ID submitted when this option is selected.
|
|
4366
|
+
* @example gpt-5.3-codex
|
|
4367
|
+
*/
|
|
4368
|
+
modelId?: string;
|
|
4369
|
+
/**
|
|
4370
|
+
* @description Whether this represents the runtime default model.
|
|
4371
|
+
* @example false
|
|
4372
|
+
*/
|
|
4373
|
+
isDefault: boolean;
|
|
4374
|
+
};
|
|
4375
|
+
AgentTemplateHarnessDto: {
|
|
4376
|
+
/**
|
|
4377
|
+
* @description Agent harness type.
|
|
4378
|
+
* @example claude
|
|
4379
|
+
* @enum {string}
|
|
4380
|
+
*/
|
|
4381
|
+
type: "claude" | "codex" | "opencode" | "adk" | "githubcopilot" | "other";
|
|
4382
|
+
/**
|
|
4383
|
+
* @description Human-readable harness name.
|
|
4384
|
+
* @example Claude Code
|
|
4385
|
+
*/
|
|
4386
|
+
label: string;
|
|
4387
|
+
/**
|
|
4388
|
+
* @description Short explanation of when to use this harness.
|
|
4389
|
+
* @example Run tasks through the Claude Code harness.
|
|
4390
|
+
*/
|
|
4391
|
+
description: string;
|
|
4392
|
+
modelOptions: components["schemas"]["AgentTemplateModelOptionDto"][];
|
|
4393
|
+
};
|
|
4394
|
+
AgentTemplateCatalogResponseDto: {
|
|
4395
|
+
templates: components["schemas"]["AgentTemplateDto"][];
|
|
4396
|
+
harnesses: components["schemas"]["AgentTemplateHarnessDto"][];
|
|
4397
|
+
};
|
|
4245
4398
|
PatchAgentDto: {
|
|
4246
4399
|
/**
|
|
4247
4400
|
* @description Updated actor slug for the agent
|
|
@@ -5580,6 +5733,29 @@ export interface components {
|
|
|
5580
5733
|
*/
|
|
5581
5734
|
url: string;
|
|
5582
5735
|
};
|
|
5736
|
+
UserWalkthroughStatusResponseDto: {
|
|
5737
|
+
/** @example true */
|
|
5738
|
+
workerConfigured: boolean;
|
|
5739
|
+
/** @example true */
|
|
5740
|
+
agentCreated: boolean;
|
|
5741
|
+
/** @example true */
|
|
5742
|
+
taskCreated: boolean;
|
|
5743
|
+
/** @example true */
|
|
5744
|
+
projectCreated: boolean;
|
|
5745
|
+
/** @example true */
|
|
5746
|
+
projectConfigured: boolean;
|
|
5747
|
+
/** @example true */
|
|
5748
|
+
contextBlockCreated: boolean;
|
|
5749
|
+
/** @example true */
|
|
5750
|
+
threadConfigured: boolean;
|
|
5751
|
+
/** @example true */
|
|
5752
|
+
taskWithProjectCreated: boolean;
|
|
5753
|
+
/**
|
|
5754
|
+
* @example FULL_PAGE
|
|
5755
|
+
* @enum {string}
|
|
5756
|
+
*/
|
|
5757
|
+
onboardingDisplayMode: "FULL_PAGE" | "BANNER" | "OFF";
|
|
5758
|
+
};
|
|
5583
5759
|
};
|
|
5584
5760
|
responses: never;
|
|
5585
5761
|
parameters: never;
|
|
@@ -8643,6 +8819,25 @@ export interface operations {
|
|
|
8643
8819
|
};
|
|
8644
8820
|
};
|
|
8645
8821
|
};
|
|
8822
|
+
AgentsController_listAgentTemplates: {
|
|
8823
|
+
parameters: {
|
|
8824
|
+
query?: never;
|
|
8825
|
+
header?: never;
|
|
8826
|
+
path?: never;
|
|
8827
|
+
cookie?: never;
|
|
8828
|
+
};
|
|
8829
|
+
requestBody?: never;
|
|
8830
|
+
responses: {
|
|
8831
|
+
200: {
|
|
8832
|
+
headers: {
|
|
8833
|
+
[name: string]: unknown;
|
|
8834
|
+
};
|
|
8835
|
+
content: {
|
|
8836
|
+
"application/json": components["schemas"]["AgentTemplateCatalogResponseDto"];
|
|
8837
|
+
};
|
|
8838
|
+
};
|
|
8839
|
+
};
|
|
8840
|
+
};
|
|
8646
8841
|
AgentsController_getAgentBySlug: {
|
|
8647
8842
|
parameters: {
|
|
8648
8843
|
query?: never;
|
|
@@ -10343,4 +10538,42 @@ export interface operations {
|
|
|
10343
10538
|
};
|
|
10344
10539
|
};
|
|
10345
10540
|
};
|
|
10541
|
+
WalkthroughController_acknowledge: {
|
|
10542
|
+
parameters: {
|
|
10543
|
+
query?: never;
|
|
10544
|
+
header?: never;
|
|
10545
|
+
path?: never;
|
|
10546
|
+
cookie?: never;
|
|
10547
|
+
};
|
|
10548
|
+
requestBody?: never;
|
|
10549
|
+
responses: {
|
|
10550
|
+
/** @description Acknowledged */
|
|
10551
|
+
200: {
|
|
10552
|
+
headers: {
|
|
10553
|
+
[name: string]: unknown;
|
|
10554
|
+
};
|
|
10555
|
+
content?: never;
|
|
10556
|
+
};
|
|
10557
|
+
};
|
|
10558
|
+
};
|
|
10559
|
+
WalkthroughController_getStatus: {
|
|
10560
|
+
parameters: {
|
|
10561
|
+
query?: never;
|
|
10562
|
+
header?: never;
|
|
10563
|
+
path?: never;
|
|
10564
|
+
cookie?: never;
|
|
10565
|
+
};
|
|
10566
|
+
requestBody?: never;
|
|
10567
|
+
responses: {
|
|
10568
|
+
/** @description Current walkthrough progress and display mode */
|
|
10569
|
+
200: {
|
|
10570
|
+
headers: {
|
|
10571
|
+
[name: string]: unknown;
|
|
10572
|
+
};
|
|
10573
|
+
content: {
|
|
10574
|
+
"application/json": components["schemas"]["UserWalkthroughStatusResponseDto"];
|
|
10575
|
+
};
|
|
10576
|
+
};
|
|
10577
|
+
};
|
|
10578
|
+
};
|
|
10346
10579
|
}
|
|
@@ -11,6 +11,10 @@ export type { AgentListResponseDto } from './models/AgentListResponseDto.js';
|
|
|
11
11
|
export { AgentResponseDto } from './models/AgentResponseDto.js';
|
|
12
12
|
export type { AgentRunListResponseDto } from './models/AgentRunListResponseDto.js';
|
|
13
13
|
export type { AgentRunResponseDto } from './models/AgentRunResponseDto.js';
|
|
14
|
+
export type { AgentTemplateCatalogResponseDto } from './models/AgentTemplateCatalogResponseDto.js';
|
|
15
|
+
export { AgentTemplateDto } from './models/AgentTemplateDto.js';
|
|
16
|
+
export { AgentTemplateHarnessDto } from './models/AgentTemplateHarnessDto.js';
|
|
17
|
+
export type { AgentTemplateModelOptionDto } from './models/AgentTemplateModelOptionDto.js';
|
|
14
18
|
export type { AgentToolPermissionResponseDto } from './models/AgentToolPermissionResponseDto.js';
|
|
15
19
|
export type { AgentToolPermissionScopeResponseDto } from './models/AgentToolPermissionScopeResponseDto.js';
|
|
16
20
|
export { AgentToolPermissionServerResponseDto } from './models/AgentToolPermissionServerResponseDto.js';
|
|
@@ -134,6 +138,7 @@ export type { UpdateThreadDto } from './models/UpdateThreadDto.js';
|
|
|
134
138
|
export type { UpdateThreadStateDto } from './models/UpdateThreadStateDto.js';
|
|
135
139
|
export type { UpsertAgentToolPermissionDto } from './models/UpsertAgentToolPermissionDto.js';
|
|
136
140
|
export { UserResponseDto } from './models/UserResponseDto.js';
|
|
141
|
+
export { UserWalkthroughStatusResponseDto } from './models/UserWalkthroughStatusResponseDto.js';
|
|
137
142
|
export type { WorkerResponseDto } from './models/WorkerResponseDto.js';
|
|
138
143
|
export { ActorsService } from './services/ActorsService.js';
|
|
139
144
|
export { AgentService } from './services/AgentService.js';
|
|
@@ -157,5 +162,6 @@ export { TaskService } from './services/TaskService.js';
|
|
|
157
162
|
export { TaskBlueprintsService } from './services/TaskBlueprintsService.js';
|
|
158
163
|
export { ThreadsService } from './services/ThreadsService.js';
|
|
159
164
|
export { ToolsService } from './services/ToolsService.js';
|
|
165
|
+
export { WalkthroughService } from './services/WalkthroughService.js';
|
|
160
166
|
export { WebAuthenticationService } from './services/WebAuthenticationService.js';
|
|
161
167
|
export { WorkersService } from './services/WorkersService.js';
|
|
@@ -8,6 +8,8 @@ export { OpenAPI } from './core/OpenAPI.js';
|
|
|
8
8
|
export { ActiveTaskExecutionResponseDto } from './models/ActiveTaskExecutionResponseDto.js';
|
|
9
9
|
export { ActorResponseDto } from './models/ActorResponseDto.js';
|
|
10
10
|
export { AgentResponseDto } from './models/AgentResponseDto.js';
|
|
11
|
+
export { AgentTemplateDto } from './models/AgentTemplateDto.js';
|
|
12
|
+
export { AgentTemplateHarnessDto } from './models/AgentTemplateHarnessDto.js';
|
|
11
13
|
export { AgentToolPermissionServerResponseDto } from './models/AgentToolPermissionServerResponseDto.js';
|
|
12
14
|
export { AuthJourneyResponseDto } from './models/AuthJourneyResponseDto.js';
|
|
13
15
|
export { ChangeTaskStatusDto } from './models/ChangeTaskStatusDto.js';
|
|
@@ -35,6 +37,7 @@ export { TokenRequestDto } from './models/TokenRequestDto.js';
|
|
|
35
37
|
export { TokenResponseDto } from './models/TokenResponseDto.js';
|
|
36
38
|
export { UpdateServerDto } from './models/UpdateServerDto.js';
|
|
37
39
|
export { UserResponseDto } from './models/UserResponseDto.js';
|
|
40
|
+
export { UserWalkthroughStatusResponseDto } from './models/UserWalkthroughStatusResponseDto.js';
|
|
38
41
|
export { ActorsService } from './services/ActorsService.js';
|
|
39
42
|
export { AgentService } from './services/AgentService.js';
|
|
40
43
|
export { AgentExecutionTokensService } from './services/AgentExecutionTokensService.js';
|
|
@@ -57,5 +60,6 @@ export { TaskService } from './services/TaskService.js';
|
|
|
57
60
|
export { TaskBlueprintsService } from './services/TaskBlueprintsService.js';
|
|
58
61
|
export { ThreadsService } from './services/ThreadsService.js';
|
|
59
62
|
export { ToolsService } from './services/ToolsService.js';
|
|
63
|
+
export { WalkthroughService } from './services/WalkthroughService.js';
|
|
60
64
|
export { WebAuthenticationService } from './services/WebAuthenticationService.js';
|
|
61
65
|
export { WorkersService } from './services/WorkersService.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AgentTemplateDto } from './AgentTemplateDto.js';
|
|
2
|
+
import type { AgentTemplateHarnessDto } from './AgentTemplateHarnessDto.js';
|
|
3
|
+
export type AgentTemplateCatalogResponseDto = {
|
|
4
|
+
templates: Array<AgentTemplateDto>;
|
|
5
|
+
harnesses: Array<AgentTemplateHarnessDto>;
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export type AgentTemplateDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Stable template identifier.
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Human-readable template name.
|
|
8
|
+
*/
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* Short explanation of what this template configures.
|
|
12
|
+
*/
|
|
13
|
+
description: string;
|
|
14
|
+
/**
|
|
15
|
+
* Default harness type for this template.
|
|
16
|
+
*/
|
|
17
|
+
type?: AgentTemplateDto.type;
|
|
18
|
+
/**
|
|
19
|
+
* Default provider ID for this template.
|
|
20
|
+
*/
|
|
21
|
+
providerId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Default model ID for this template.
|
|
24
|
+
*/
|
|
25
|
+
modelId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Default system prompt for this template.
|
|
28
|
+
*/
|
|
29
|
+
systemPrompt: string;
|
|
30
|
+
/**
|
|
31
|
+
* Default agent description.
|
|
32
|
+
*/
|
|
33
|
+
agentDescription?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Default statuses that trigger the agent.
|
|
36
|
+
*/
|
|
37
|
+
statusTriggers: Array<'NOT_STARTED' | 'IN_PROGRESS' | 'FOR_REVIEW' | 'DONE'>;
|
|
38
|
+
/**
|
|
39
|
+
* Default tag names that filter agent triggers.
|
|
40
|
+
*/
|
|
41
|
+
tagTriggers: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Default avatar URL for this template.
|
|
44
|
+
*/
|
|
45
|
+
avatarUrl?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Default concurrency limit for this template.
|
|
48
|
+
*/
|
|
49
|
+
concurrencyLimit?: number;
|
|
50
|
+
};
|
|
51
|
+
export declare namespace AgentTemplateDto {
|
|
52
|
+
/**
|
|
53
|
+
* Default harness type for this template.
|
|
54
|
+
*/
|
|
55
|
+
enum type {
|
|
56
|
+
CLAUDE = "claude",
|
|
57
|
+
CODEX = "codex",
|
|
58
|
+
OPENCODE = "opencode",
|
|
59
|
+
ADK = "adk",
|
|
60
|
+
GITHUBCOPILOT = "githubcopilot",
|
|
61
|
+
OTHER = "other"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export var AgentTemplateDto;
|
|
2
|
+
(function (AgentTemplateDto) {
|
|
3
|
+
/**
|
|
4
|
+
* Default harness type for this template.
|
|
5
|
+
*/
|
|
6
|
+
let type;
|
|
7
|
+
(function (type) {
|
|
8
|
+
type["CLAUDE"] = "claude";
|
|
9
|
+
type["CODEX"] = "codex";
|
|
10
|
+
type["OPENCODE"] = "opencode";
|
|
11
|
+
type["ADK"] = "adk";
|
|
12
|
+
type["GITHUBCOPILOT"] = "githubcopilot";
|
|
13
|
+
type["OTHER"] = "other";
|
|
14
|
+
})(type = AgentTemplateDto.type || (AgentTemplateDto.type = {}));
|
|
15
|
+
})(AgentTemplateDto || (AgentTemplateDto = {}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AgentTemplateModelOptionDto } from './AgentTemplateModelOptionDto.js';
|
|
2
|
+
export type AgentTemplateHarnessDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Agent harness type.
|
|
5
|
+
*/
|
|
6
|
+
type: AgentTemplateHarnessDto.type;
|
|
7
|
+
/**
|
|
8
|
+
* Human-readable harness name.
|
|
9
|
+
*/
|
|
10
|
+
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Short explanation of when to use this harness.
|
|
13
|
+
*/
|
|
14
|
+
description: string;
|
|
15
|
+
modelOptions: Array<AgentTemplateModelOptionDto>;
|
|
16
|
+
};
|
|
17
|
+
export declare namespace AgentTemplateHarnessDto {
|
|
18
|
+
/**
|
|
19
|
+
* Agent harness type.
|
|
20
|
+
*/
|
|
21
|
+
enum type {
|
|
22
|
+
CLAUDE = "claude",
|
|
23
|
+
CODEX = "codex",
|
|
24
|
+
OPENCODE = "opencode",
|
|
25
|
+
ADK = "adk",
|
|
26
|
+
GITHUBCOPILOT = "githubcopilot",
|
|
27
|
+
OTHER = "other"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export var AgentTemplateHarnessDto;
|
|
2
|
+
(function (AgentTemplateHarnessDto) {
|
|
3
|
+
/**
|
|
4
|
+
* Agent harness type.
|
|
5
|
+
*/
|
|
6
|
+
let type;
|
|
7
|
+
(function (type) {
|
|
8
|
+
type["CLAUDE"] = "claude";
|
|
9
|
+
type["CODEX"] = "codex";
|
|
10
|
+
type["OPENCODE"] = "opencode";
|
|
11
|
+
type["ADK"] = "adk";
|
|
12
|
+
type["GITHUBCOPILOT"] = "githubcopilot";
|
|
13
|
+
type["OTHER"] = "other";
|
|
14
|
+
})(type = AgentTemplateHarnessDto.type || (AgentTemplateHarnessDto.type = {}));
|
|
15
|
+
})(AgentTemplateHarnessDto || (AgentTemplateHarnessDto = {}));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type AgentTemplateModelOptionDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Stable option identifier used by the UI.
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Human-readable model option label.
|
|
8
|
+
*/
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* Provider ID submitted when this option is selected.
|
|
12
|
+
*/
|
|
13
|
+
providerId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Model ID submitted when this option is selected.
|
|
16
|
+
*/
|
|
17
|
+
modelId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Whether this represents the runtime default model.
|
|
20
|
+
*/
|
|
21
|
+
isDefault: boolean;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -20,9 +20,9 @@ export type UserResponseDto = {
|
|
|
20
20
|
*/
|
|
21
21
|
actorId: string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* How onboarding UI should be shown for this user (full page, banner, or off)
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
onboardingDisplayMode: UserResponseDto.onboardingDisplayMode;
|
|
26
26
|
};
|
|
27
27
|
export declare namespace UserResponseDto {
|
|
28
28
|
/**
|
|
@@ -32,4 +32,12 @@ export declare namespace UserResponseDto {
|
|
|
32
32
|
ADMIN = "admin",
|
|
33
33
|
STANDARD = "standard"
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* How onboarding UI should be shown for this user (full page, banner, or off)
|
|
37
|
+
*/
|
|
38
|
+
enum onboardingDisplayMode {
|
|
39
|
+
FULL_PAGE = "FULL_PAGE",
|
|
40
|
+
BANNER = "BANNER",
|
|
41
|
+
OFF = "OFF"
|
|
42
|
+
}
|
|
35
43
|
}
|
|
@@ -8,4 +8,13 @@ export var UserResponseDto;
|
|
|
8
8
|
role["ADMIN"] = "admin";
|
|
9
9
|
role["STANDARD"] = "standard";
|
|
10
10
|
})(role = UserResponseDto.role || (UserResponseDto.role = {}));
|
|
11
|
+
/**
|
|
12
|
+
* How onboarding UI should be shown for this user (full page, banner, or off)
|
|
13
|
+
*/
|
|
14
|
+
let onboardingDisplayMode;
|
|
15
|
+
(function (onboardingDisplayMode) {
|
|
16
|
+
onboardingDisplayMode["FULL_PAGE"] = "FULL_PAGE";
|
|
17
|
+
onboardingDisplayMode["BANNER"] = "BANNER";
|
|
18
|
+
onboardingDisplayMode["OFF"] = "OFF";
|
|
19
|
+
})(onboardingDisplayMode = UserResponseDto.onboardingDisplayMode || (UserResponseDto.onboardingDisplayMode = {}));
|
|
11
20
|
})(UserResponseDto || (UserResponseDto = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type UserWalkthroughStatusResponseDto = {
|
|
2
|
+
workerConfigured: boolean;
|
|
3
|
+
agentCreated: boolean;
|
|
4
|
+
taskCreated: boolean;
|
|
5
|
+
projectCreated: boolean;
|
|
6
|
+
projectConfigured: boolean;
|
|
7
|
+
contextBlockCreated: boolean;
|
|
8
|
+
threadConfigured: boolean;
|
|
9
|
+
taskWithProjectCreated: boolean;
|
|
10
|
+
onboardingDisplayMode: UserWalkthroughStatusResponseDto.onboardingDisplayMode;
|
|
11
|
+
};
|
|
12
|
+
export declare namespace UserWalkthroughStatusResponseDto {
|
|
13
|
+
enum onboardingDisplayMode {
|
|
14
|
+
FULL_PAGE = "FULL_PAGE",
|
|
15
|
+
BANNER = "BANNER",
|
|
16
|
+
OFF = "OFF"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var UserWalkthroughStatusResponseDto;
|
|
2
|
+
(function (UserWalkthroughStatusResponseDto) {
|
|
3
|
+
let onboardingDisplayMode;
|
|
4
|
+
(function (onboardingDisplayMode) {
|
|
5
|
+
onboardingDisplayMode["FULL_PAGE"] = "FULL_PAGE";
|
|
6
|
+
onboardingDisplayMode["BANNER"] = "BANNER";
|
|
7
|
+
onboardingDisplayMode["OFF"] = "OFF";
|
|
8
|
+
})(onboardingDisplayMode = UserWalkthroughStatusResponseDto.onboardingDisplayMode || (UserWalkthroughStatusResponseDto.onboardingDisplayMode = {}));
|
|
9
|
+
})(UserWalkthroughStatusResponseDto || (UserWalkthroughStatusResponseDto = {}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AgentListResponseDto } from '../models/AgentListResponseDto.js';
|
|
2
2
|
import type { AgentResponseDto } from '../models/AgentResponseDto.js';
|
|
3
|
+
import type { AgentTemplateCatalogResponseDto } from '../models/AgentTemplateCatalogResponseDto.js';
|
|
3
4
|
import type { AgentToolPermissionResponseDto } from '../models/AgentToolPermissionResponseDto.js';
|
|
4
5
|
import type { CreateAgentDto } from '../models/CreateAgentDto.js';
|
|
5
6
|
import type { PatchAgentDto } from '../models/PatchAgentDto.js';
|
|
@@ -23,6 +24,12 @@ export declare class AgentService {
|
|
|
23
24
|
* @throws ApiError
|
|
24
25
|
*/
|
|
25
26
|
static agentsControllerListAgents(isActive?: boolean, page?: number, limit?: number, config?: OpenAPIConfig): CancelablePromise<AgentListResponseDto>;
|
|
27
|
+
/**
|
|
28
|
+
* List available agent creation templates
|
|
29
|
+
* @returns AgentTemplateCatalogResponseDto
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static agentsControllerListAgentTemplates(config?: OpenAPIConfig): CancelablePromise<AgentTemplateCatalogResponseDto>;
|
|
26
33
|
/**
|
|
27
34
|
* Get an agent by slug
|
|
28
35
|
* @param slug Agent slug
|
|
@@ -34,6 +34,17 @@ export class AgentService {
|
|
|
34
34
|
},
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* List available agent creation templates
|
|
39
|
+
* @returns AgentTemplateCatalogResponseDto
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
static agentsControllerListAgentTemplates(config = OpenAPI) {
|
|
43
|
+
return __request(config, {
|
|
44
|
+
method: 'GET',
|
|
45
|
+
url: '/api/v1/agents/templates',
|
|
46
|
+
});
|
|
47
|
+
}
|
|
37
48
|
/**
|
|
38
49
|
* Get an agent by slug
|
|
39
50
|
* @param slug Agent slug
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { UserWalkthroughStatusResponseDto } from '../models/UserWalkthroughStatusResponseDto.js';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
3
|
+
import type { OpenAPIConfig } from '../core/OpenAPI.js';
|
|
4
|
+
export declare class WalkthroughService {
|
|
5
|
+
/**
|
|
6
|
+
* Acknowledge walkthrough — transitions FULL_PAGE display mode to BANNER
|
|
7
|
+
* @returns any Acknowledged
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static walkthroughControllerAcknowledge(config?: OpenAPIConfig): CancelablePromise<any>;
|
|
11
|
+
/**
|
|
12
|
+
* Get walkthrough status for the current user
|
|
13
|
+
* @returns UserWalkthroughStatusResponseDto Current walkthrough progress and display mode
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
static walkthroughControllerGetStatus(config?: OpenAPIConfig): CancelablePromise<UserWalkthroughStatusResponseDto>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
|
+
import { request as __request } from '../core/request.js';
|
|
3
|
+
export class WalkthroughService {
|
|
4
|
+
/**
|
|
5
|
+
* Acknowledge walkthrough — transitions FULL_PAGE display mode to BANNER
|
|
6
|
+
* @returns any Acknowledged
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static walkthroughControllerAcknowledge(config = OpenAPI) {
|
|
10
|
+
return __request(config, {
|
|
11
|
+
method: 'POST',
|
|
12
|
+
url: '/api/v1/walkthrough/acknowledge',
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Get walkthrough status for the current user
|
|
17
|
+
* @returns UserWalkthroughStatusResponseDto Current walkthrough progress and display mode
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static walkthroughControllerGetStatus(config = OpenAPI) {
|
|
21
|
+
return __request(config, {
|
|
22
|
+
method: 'GET',
|
|
23
|
+
url: '/api/v1/walkthrough/status',
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseClient, ClientConfig } from './base-client.js';
|
|
2
|
-
import type { AgentListResponseDto, AgentResponseDto, AgentToolPermissionResponseDto, CreateAgentDto, PatchAgentDto, UpsertAgentToolPermissionDto } from './types.js';
|
|
2
|
+
import type { AgentListResponseDto, AgentResponseDto, AgentTemplateCatalogResponseDto, AgentToolPermissionResponseDto, CreateAgentDto, PatchAgentDto, UpsertAgentToolPermissionDto } from './types.js';
|
|
3
3
|
export declare class AgentResource extends BaseClient {
|
|
4
4
|
constructor(config: ClientConfig);
|
|
5
5
|
/** Create a new agent */
|
|
@@ -14,6 +14,10 @@ export declare class AgentResource extends BaseClient {
|
|
|
14
14
|
limit?: number;
|
|
15
15
|
signal?: AbortSignal;
|
|
16
16
|
}): Promise<AgentListResponseDto>;
|
|
17
|
+
/** List available agent creation templates */
|
|
18
|
+
AgentsController_listAgentTemplates(params?: {
|
|
19
|
+
signal?: AbortSignal;
|
|
20
|
+
}): Promise<AgentTemplateCatalogResponseDto>;
|
|
17
21
|
/** Get an agent by slug */
|
|
18
22
|
AgentsController_getAgentBySlug(params: {
|
|
19
23
|
slug: string;
|
|
@@ -11,6 +11,10 @@ export class AgentResource extends BaseClient {
|
|
|
11
11
|
async AgentsController_listAgents(params) {
|
|
12
12
|
return this.request('GET', '/api/v1/agents', { params: { isActive: params?.isActive, page: params?.page, limit: params?.limit }, signal: params?.signal });
|
|
13
13
|
}
|
|
14
|
+
/** List available agent creation templates */
|
|
15
|
+
async AgentsController_listAgentTemplates(params) {
|
|
16
|
+
return this.request('GET', '/api/v1/agents/templates', { signal: params?.signal });
|
|
17
|
+
}
|
|
14
18
|
/** Get an agent by slug */
|
|
15
19
|
async AgentsController_getAgentBySlug(params) {
|
|
16
20
|
return this.request('GET', `/api/v1/agents/${params.slug}`, { signal: params?.signal });
|
package/dist/src/v2/client.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { TaskBlueprintsResource } from './task-blueprints-resource.js';
|
|
|
23
23
|
import { ScheduledTasksResource } from './scheduled-tasks-resource.js';
|
|
24
24
|
import { DiscoveryResource } from './discovery-resource.js';
|
|
25
25
|
import { SearchResource } from './search-resource.js';
|
|
26
|
+
import { WalkthroughResource } from './walkthrough-resource.js';
|
|
26
27
|
export declare class ApiClient {
|
|
27
28
|
readonly app: AppResource;
|
|
28
29
|
readonly meta: MetaResource;
|
|
@@ -48,5 +49,6 @@ export declare class ApiClient {
|
|
|
48
49
|
readonly scheduledTasks: ScheduledTasksResource;
|
|
49
50
|
readonly discovery: DiscoveryResource;
|
|
50
51
|
readonly search: SearchResource;
|
|
52
|
+
readonly walkthrough: WalkthroughResource;
|
|
51
53
|
constructor(config: ClientConfig);
|
|
52
54
|
}
|
package/dist/src/v2/client.js
CHANGED
|
@@ -22,6 +22,7 @@ import { TaskBlueprintsResource } from './task-blueprints-resource.js';
|
|
|
22
22
|
import { ScheduledTasksResource } from './scheduled-tasks-resource.js';
|
|
23
23
|
import { DiscoveryResource } from './discovery-resource.js';
|
|
24
24
|
import { SearchResource } from './search-resource.js';
|
|
25
|
+
import { WalkthroughResource } from './walkthrough-resource.js';
|
|
25
26
|
export class ApiClient {
|
|
26
27
|
app;
|
|
27
28
|
meta;
|
|
@@ -47,6 +48,7 @@ export class ApiClient {
|
|
|
47
48
|
scheduledTasks;
|
|
48
49
|
discovery;
|
|
49
50
|
search;
|
|
51
|
+
walkthrough;
|
|
50
52
|
constructor(config) {
|
|
51
53
|
this.app = new AppResource(config);
|
|
52
54
|
this.meta = new MetaResource(config);
|
|
@@ -72,5 +74,6 @@ export class ApiClient {
|
|
|
72
74
|
this.scheduledTasks = new ScheduledTasksResource(config);
|
|
73
75
|
this.discovery = new DiscoveryResource(config);
|
|
74
76
|
this.search = new SearchResource(config);
|
|
77
|
+
this.walkthrough = new WalkthroughResource(config);
|
|
75
78
|
}
|
|
76
79
|
}
|
package/dist/src/v2/types.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ export interface UserResponseDto {
|
|
|
148
148
|
displayName: string;
|
|
149
149
|
role: 'admin' | 'standard';
|
|
150
150
|
actorId: string;
|
|
151
|
-
|
|
151
|
+
onboardingDisplayMode: 'FULL_PAGE' | 'BANNER' | 'OFF';
|
|
152
152
|
}
|
|
153
153
|
export interface LoginResponseDto {
|
|
154
154
|
user: UserResponseDto;
|
|
@@ -585,6 +585,37 @@ export interface AgentListResponseDto {
|
|
|
585
585
|
limit: number;
|
|
586
586
|
totalPages: number;
|
|
587
587
|
}
|
|
588
|
+
export interface AgentTemplateDto {
|
|
589
|
+
id: string;
|
|
590
|
+
label: string;
|
|
591
|
+
description: string;
|
|
592
|
+
type?: 'claude' | 'codex' | 'opencode' | 'adk' | 'githubcopilot' | 'other';
|
|
593
|
+
providerId?: string;
|
|
594
|
+
modelId?: string;
|
|
595
|
+
systemPrompt: string;
|
|
596
|
+
agentDescription?: string;
|
|
597
|
+
statusTriggers: ('NOT_STARTED' | 'IN_PROGRESS' | 'FOR_REVIEW' | 'DONE')[];
|
|
598
|
+
tagTriggers: string[];
|
|
599
|
+
avatarUrl?: string;
|
|
600
|
+
concurrencyLimit?: number;
|
|
601
|
+
}
|
|
602
|
+
export interface AgentTemplateModelOptionDto {
|
|
603
|
+
id: string;
|
|
604
|
+
label: string;
|
|
605
|
+
providerId?: string;
|
|
606
|
+
modelId?: string;
|
|
607
|
+
isDefault: boolean;
|
|
608
|
+
}
|
|
609
|
+
export interface AgentTemplateHarnessDto {
|
|
610
|
+
type: 'claude' | 'codex' | 'opencode' | 'adk' | 'githubcopilot' | 'other';
|
|
611
|
+
label: string;
|
|
612
|
+
description: string;
|
|
613
|
+
modelOptions: AgentTemplateModelOptionDto[];
|
|
614
|
+
}
|
|
615
|
+
export interface AgentTemplateCatalogResponseDto {
|
|
616
|
+
templates: AgentTemplateDto[];
|
|
617
|
+
harnesses: AgentTemplateHarnessDto[];
|
|
618
|
+
}
|
|
588
619
|
export interface PatchAgentDto {
|
|
589
620
|
slug?: string;
|
|
590
621
|
name?: string;
|
|
@@ -920,3 +951,14 @@ export interface GlobalSearchResultDto {
|
|
|
920
951
|
score: number;
|
|
921
952
|
url: string;
|
|
922
953
|
}
|
|
954
|
+
export interface UserWalkthroughStatusResponseDto {
|
|
955
|
+
workerConfigured: boolean;
|
|
956
|
+
agentCreated: boolean;
|
|
957
|
+
taskCreated: boolean;
|
|
958
|
+
projectCreated: boolean;
|
|
959
|
+
projectConfigured: boolean;
|
|
960
|
+
contextBlockCreated: boolean;
|
|
961
|
+
threadConfigured: boolean;
|
|
962
|
+
taskWithProjectCreated: boolean;
|
|
963
|
+
onboardingDisplayMode: 'FULL_PAGE' | 'BANNER' | 'OFF';
|
|
964
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseClient, ClientConfig } from './base-client.js';
|
|
2
|
+
import type { UserWalkthroughStatusResponseDto } from './types.js';
|
|
3
|
+
export declare class WalkthroughResource extends BaseClient {
|
|
4
|
+
constructor(config: ClientConfig);
|
|
5
|
+
/** Acknowledge walkthrough — transitions FULL_PAGE display mode to BANNER */
|
|
6
|
+
WalkthroughController_acknowledge(params?: {
|
|
7
|
+
signal?: AbortSignal;
|
|
8
|
+
}): Promise<void>;
|
|
9
|
+
/** Get walkthrough status for the current user */
|
|
10
|
+
WalkthroughController_getStatus(params?: {
|
|
11
|
+
signal?: AbortSignal;
|
|
12
|
+
}): Promise<UserWalkthroughStatusResponseDto>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseClient } from './base-client.js';
|
|
2
|
+
export class WalkthroughResource extends BaseClient {
|
|
3
|
+
constructor(config) {
|
|
4
|
+
super(config);
|
|
5
|
+
}
|
|
6
|
+
/** Acknowledge walkthrough — transitions FULL_PAGE display mode to BANNER */
|
|
7
|
+
async WalkthroughController_acknowledge(params) {
|
|
8
|
+
return this.request('POST', '/api/v1/walkthrough/acknowledge', { responseType: 'void', signal: params?.signal });
|
|
9
|
+
}
|
|
10
|
+
/** Get walkthrough status for the current user */
|
|
11
|
+
async WalkthroughController_getStatus(params) {
|
|
12
|
+
return this.request('GET', '/api/v1/walkthrough/status', { signal: params?.signal });
|
|
13
|
+
}
|
|
14
|
+
}
|