@taico/client 0.2.9 → 0.2.12
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 +828 -595
- 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/ChatProviderResponseDto.d.ts +2 -1
- package/dist/src/v1/client/models/ChatProviderResponseDto.js +1 -0
- package/dist/src/v1/client/models/CreateChatProviderDto.d.ts +2 -1
- package/dist/src/v1/client/models/CreateChatProviderDto.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 +4 -2
- package/dist/src/v2/client.js +6 -3
- package/dist/src/v2/types.d.ts +92 -50
- package/dist/src/v2/walkthrough-resource.d.ts +13 -0
- package/dist/src/v2/walkthrough-resource.js +14 -0
- package/package.json +1 -1
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;
|
|
@@ -659,55 +690,6 @@ export interface AgentExecutionTokenResponseDto {
|
|
|
659
690
|
agentSlug: string;
|
|
660
691
|
requestedByClientId: string;
|
|
661
692
|
}
|
|
662
|
-
export interface CreateChatProviderDto {
|
|
663
|
-
name: string;
|
|
664
|
-
type: 'openai';
|
|
665
|
-
secretId?: string;
|
|
666
|
-
}
|
|
667
|
-
export interface ChatProviderResponseDto {
|
|
668
|
-
id: string;
|
|
669
|
-
name: string;
|
|
670
|
-
type: 'openai';
|
|
671
|
-
secretId?: string | null;
|
|
672
|
-
isActive: boolean;
|
|
673
|
-
isConfigured: boolean;
|
|
674
|
-
rowVersion: number;
|
|
675
|
-
createdAt: string;
|
|
676
|
-
updatedAt: string;
|
|
677
|
-
}
|
|
678
|
-
export interface UpdateChatProviderDto {
|
|
679
|
-
name?: string;
|
|
680
|
-
secretId?: string;
|
|
681
|
-
apiKey?: string;
|
|
682
|
-
}
|
|
683
|
-
export interface SetActiveChatProviderDto {
|
|
684
|
-
providerId: string;
|
|
685
|
-
}
|
|
686
|
-
export interface CreateSecretDto {
|
|
687
|
-
name: string;
|
|
688
|
-
description?: string;
|
|
689
|
-
value: string;
|
|
690
|
-
}
|
|
691
|
-
export interface SecretResponseDto {
|
|
692
|
-
id: string;
|
|
693
|
-
name: string;
|
|
694
|
-
description?: string | null;
|
|
695
|
-
createdByActorId: string;
|
|
696
|
-
createdBy?: string | null;
|
|
697
|
-
rowVersion: number;
|
|
698
|
-
createdAt: string;
|
|
699
|
-
updatedAt: string;
|
|
700
|
-
}
|
|
701
|
-
export interface SecretValueResponseDto {
|
|
702
|
-
id: string;
|
|
703
|
-
name: string;
|
|
704
|
-
value: string;
|
|
705
|
-
}
|
|
706
|
-
export interface UpdateSecretDto {
|
|
707
|
-
name?: string;
|
|
708
|
-
description?: string | null;
|
|
709
|
-
value?: string;
|
|
710
|
-
}
|
|
711
693
|
export interface CreateBlockDto {
|
|
712
694
|
title: string;
|
|
713
695
|
content: string;
|
|
@@ -780,6 +762,55 @@ export interface ReorderBlockDto {
|
|
|
780
762
|
export interface MoveBlockDto {
|
|
781
763
|
newParentId: Record<string, any> | null;
|
|
782
764
|
}
|
|
765
|
+
export interface CreateChatProviderDto {
|
|
766
|
+
name: string;
|
|
767
|
+
type: 'openai' | 'adk';
|
|
768
|
+
secretId?: string;
|
|
769
|
+
}
|
|
770
|
+
export interface ChatProviderResponseDto {
|
|
771
|
+
id: string;
|
|
772
|
+
name: string;
|
|
773
|
+
type: 'openai' | 'adk';
|
|
774
|
+
secretId?: string | null;
|
|
775
|
+
isActive: boolean;
|
|
776
|
+
isConfigured: boolean;
|
|
777
|
+
rowVersion: number;
|
|
778
|
+
createdAt: string;
|
|
779
|
+
updatedAt: string;
|
|
780
|
+
}
|
|
781
|
+
export interface UpdateChatProviderDto {
|
|
782
|
+
name?: string;
|
|
783
|
+
secretId?: string;
|
|
784
|
+
apiKey?: string;
|
|
785
|
+
}
|
|
786
|
+
export interface SetActiveChatProviderDto {
|
|
787
|
+
providerId: string;
|
|
788
|
+
}
|
|
789
|
+
export interface CreateSecretDto {
|
|
790
|
+
name: string;
|
|
791
|
+
description?: string;
|
|
792
|
+
value: string;
|
|
793
|
+
}
|
|
794
|
+
export interface SecretResponseDto {
|
|
795
|
+
id: string;
|
|
796
|
+
name: string;
|
|
797
|
+
description?: string | null;
|
|
798
|
+
createdByActorId: string;
|
|
799
|
+
createdBy?: string | null;
|
|
800
|
+
rowVersion: number;
|
|
801
|
+
createdAt: string;
|
|
802
|
+
updatedAt: string;
|
|
803
|
+
}
|
|
804
|
+
export interface SecretValueResponseDto {
|
|
805
|
+
id: string;
|
|
806
|
+
name: string;
|
|
807
|
+
value: string;
|
|
808
|
+
}
|
|
809
|
+
export interface UpdateSecretDto {
|
|
810
|
+
name?: string;
|
|
811
|
+
description?: string | null;
|
|
812
|
+
value?: string;
|
|
813
|
+
}
|
|
783
814
|
export interface TaskExecutionQueueEntryResponseDto {
|
|
784
815
|
taskId: string;
|
|
785
816
|
taskName: string | null;
|
|
@@ -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
|
+
}
|