dsh-agent-team-presets 0.2.0 → 0.2.1
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/README.md +20 -12
- package/README.zh.md +19 -11
- package/lib/client.js +7998 -2007
- package/lib/index.js +2626 -1214
- package/lib/typert.host.js +7090 -1648
- package/lib/typert.remote-client.d.ts +4 -1
- package/lib/typert.remote-client.d.ts.map +1 -0
- package/lib/typert.remote-client.js +7171 -1729
- package/lib/types/application.d.ts +24 -1
- package/lib/types/application.js +77 -34
- package/lib/types/builtin-skill.js +7 -13
- package/lib/types/client/ComposerTeamSelect.d.ts +1 -1
- package/lib/types/client/ComposerTeamSelect.js +100 -7
- package/lib/types/client/TeamImportDialog.js +1 -1
- package/lib/types/client/TeamListView.js +8 -7
- package/lib/types/client/TeamRosterAction.d.ts +15 -0
- package/lib/types/client/TeamRosterAction.js +205 -0
- package/lib/types/client/index.js +33 -2
- package/lib/types/client/locales.d.ts +1 -1
- package/lib/types/client/locales.js +60 -12
- package/lib/types/client/team-presets-controller.d.ts +18 -0
- package/lib/types/client/team-presets-controller.js +15 -0
- package/lib/types/execution.d.ts +2 -2
- package/lib/types/execution.js +13 -11
- package/lib/types/index.js +89 -22
- package/lib/types/member-runtime.d.ts +32 -2
- package/lib/types/member-runtime.js +55 -2
- package/lib/types/presentation.d.ts +12 -5
- package/lib/types/presentation.js +63 -10
- package/lib/types/preset-tools.js +3 -9
- package/lib/types/team-runtime.d.ts +25 -0
- package/lib/types/team-runtime.js +50 -0
- package/lib/types/tool-catalog.d.ts +17 -1
- package/lib/types/tool-catalog.js +16 -0
- package/lib/types/types.d.ts +29 -0
- package/package.json +51 -49
|
@@ -5,12 +5,13 @@ import type {
|
|
|
5
5
|
TypertRemoteInfo,
|
|
6
6
|
TypertRemoteMethod,
|
|
7
7
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
8
|
-
import type { TeamExecutionSnapshot, TeamSkillDeleteView, TeamSkillDependencies, TeamSkillDetailView, TeamSkillImportFile, TeamSkillImportFolderView, TeamSkillLibraryView, TeamSkillRefusalView, TeamSkillScanView, ToolCatalogValue } from 'dsh-agent-team-presets/types'
|
|
8
|
+
import type { TeamExecutionSnapshot, TeamRosterValue, TeamSkillDeleteView, TeamSkillDependencies, TeamSkillDetailView, TeamSkillImportFile, TeamSkillImportFolderView, TeamSkillLibraryView, TeamSkillRefusalView, TeamSkillScanView, ToolCatalogValue } from 'dsh-agent-team-presets/types'
|
|
9
9
|
|
|
10
10
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
11
11
|
interface TypertRemoteNamespace$7465616d50726573657473 {
|
|
12
12
|
catalog: () => Promise<RemoteResult<ToolCatalogValue>>
|
|
13
13
|
execution: (signal?: AbortSignal) => RemoteStreamHandle<TeamExecutionSnapshot, never>
|
|
14
|
+
roster: (sessionId: string) => Promise<RemoteResult<TeamRosterValue>>
|
|
14
15
|
}
|
|
15
16
|
interface TypertRemoteNamespace$7465616d536b696c6c73 {
|
|
16
17
|
assignRole: (teamId: string, roleId: string, assetId: string) => Promise<RemoteResult<{ ok: boolean; detail: string; unverified?: readonly string[]; library: TeamSkillLibraryView; }>>
|
|
@@ -32,6 +33,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
32
33
|
interface TypertRemoteMap {
|
|
33
34
|
'teamPresets/catalog': () => Promise<RemoteResult<ToolCatalogValue>>
|
|
34
35
|
'teamPresets/execution': (signal?: AbortSignal) => RemoteStreamHandle<TeamExecutionSnapshot, never>
|
|
36
|
+
'teamPresets/roster': (sessionId: string) => Promise<RemoteResult<TeamRosterValue>>
|
|
35
37
|
'teamSkills/assignRole': (teamId: string, roleId: string, assetId: string) => Promise<RemoteResult<{ ok: boolean; detail: string; unverified?: readonly string[]; library: TeamSkillLibraryView; }>>
|
|
36
38
|
'teamSkills/createSkill': (skillId: string, description: string) => Promise<RemoteResult<TeamSkillDetailView | TeamSkillRefusalView>>
|
|
37
39
|
'teamSkills/deleteAsset': (assetId: string) => Promise<RemoteResult<TeamSkillDeleteView>>
|
|
@@ -57,6 +59,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
57
59
|
export declare const TYPERT_REMOTE: TypertRemoteInfo<{
|
|
58
60
|
readonly 'teamPresets/catalog': TypertRemoteMethod<{ }, ToolCatalogValue>
|
|
59
61
|
readonly 'teamPresets/execution': TypertRemoteMethod<{ }, TeamExecutionSnapshot, 'stream'>
|
|
62
|
+
readonly 'teamPresets/roster': TypertRemoteMethod<{ readonly 'sessionId': string }, TeamRosterValue>
|
|
60
63
|
readonly 'teamSkills/assignRole': TypertRemoteMethod<{ readonly 'teamId': string; readonly 'roleId': string; readonly 'assetId': string }, { ok: boolean; detail: string; unverified?: readonly string[]; library: TeamSkillLibraryView; }>
|
|
61
64
|
readonly 'teamSkills/createSkill': TypertRemoteMethod<{ readonly 'skillId': string; readonly 'description': string }, TeamSkillDetailView | TeamSkillRefusalView>
|
|
62
65
|
readonly 'teamSkills/deleteAsset': TypertRemoteMethod<{ readonly 'assetId': string }, TeamSkillDeleteView>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typert.remote-client.d.ts","names":["catalog","execution","roster","assignRole","createSkill","deleteAsset","detail","importSkill","library","overrideSkill","prepareImportFolder","readFile","resetSkill","restoreBuiltinBindings","scanImportFolder","unassignRole","updateDependencies","writeFile"],"sources":["../src/tool-catalog.ts","../src/team-skills/service.ts"],"sourcesContent":[null,null],"mappings":";;;;;;;;;;;IAmJQA,O;IA6DNC,S;IALMC,M;;;ICqOAC,U;IA1MAC,W;IA6KAC,W;IAjPAC,M;IAwFAC,W;IA9GAC,O;IAuNAC,a;IA5EAC,mB;IAtFAC,Q;IAgMAC,U;IAmFAC,sB;IArKAC,gB;IAuJAC,Y;IApFAC,kB;IA/JAC,S;;;IDhEAjB,qB;IA6DNC,uB;IALMC,oB;ICqOAC,uB;IA1MAC,wB;IA6KAC,wB;IAjPAC,mB;IAwFAC,wB;IA9GAC,oB;IAuNAC,0B;IA5EAC,gC;IAtFAC,qB;IAgMAC,uB;IAmFAC,mC;IArKAC,6B;IAuJAC,yB;IApFAC,+B;IA/JAC,sB","ignoreList":[]}
|