@deepseek-ai/dsh-api-session-controller 0.2.1-alpha.1 → 0.2.1-alpha.3
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.i18n.yaml +2 -2
- package/README.md +6 -2
- package/README.zh.md +6 -2
- package/lib/client.js +55 -26
- package/lib/index.js +265 -110
- package/lib/typert.host.js +1328 -590
- package/lib/typert.remote-client.d.ts +25 -2
- package/lib/typert.remote-client.js +1102 -561
- package/lib/types/agent.d.ts +61 -17
- package/lib/types/agent.js +148 -84
- package/lib/types/client/contract/sessions.d.ts +10 -5
- package/lib/types/client/sessions/lineage.d.ts +2 -0
- package/lib/types/client/sessions/manager.d.ts +10 -7
- package/lib/types/client/sessions/manager.js +42 -14
- package/lib/types/client/sessions/projection-store.d.ts +3 -3
- package/lib/types/client/sessions/projection-store.js +1 -1
- package/lib/types/client/sessions/service.d.ts +11 -6
- package/lib/types/client/sessions/service.js +9 -5
- package/lib/types/client/sessions/session.js +1 -1
- package/lib/types/commands.d.ts +20 -6
- package/lib/types/commands.js +28 -34
- package/lib/types/index.d.ts +11 -8
- package/lib/types/index.js +105 -25
- package/lib/types/list.js +6 -4
- package/lib/types/skill-catalog.js +7 -6
- package/lib/types/types.d.ts +28 -5
- package/locale/en.json +5 -0
- package/locale/zh.json +6 -0
- package/package.json +83 -77
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import type {
|
|
3
3
|
RemoteResult,
|
|
4
4
|
RemoteStreamHandle,
|
|
5
|
-
|
|
5
|
+
TypertRemoteInfo,
|
|
6
|
+
TypertRemoteMethod,
|
|
6
7
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
7
8
|
import type { ModelCatalog, SessionAttachmentRequest, SessionAttachmentValue, SessionCancelRequest, SessionCancelValue, SessionControlFrame, SessionCreateRequest, SessionCreateValue, SessionFollowFrame, SessionFollowRequest, SessionForkRequest, SessionForkValue, SessionListRequest, SessionListValue, SessionOpenWorkspacePathRequest, SessionOpenWorkspacePathValue, SessionPage, SessionPageRequest, SessionProjectionsRequest, SessionProjectionsValue, SessionPromptRequest, SessionPromptValue, SessionRenameRequest, SessionRenameValue, SessionSearchRequest, SessionSearchValue, SessionSelectModelRequest, SessionSelectModelValue, SessionUpdateQueueRequest, SessionUpdateQueueValue, SessionWorkspacePathApplication, SkillListRequest, SkillListValue } from '@deepseek-ai/dsh-api-session-controller/types'
|
|
8
9
|
import type { FileReferenceCandidate } from '@deepseek-ai/dsh-file-reference/types'
|
|
@@ -69,6 +70,28 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
|
|
72
|
-
export declare const TYPERT_REMOTE:
|
|
73
|
+
export declare const TYPERT_REMOTE: TypertRemoteInfo<{
|
|
74
|
+
readonly 'fileReferences/list': TypertRemoteMethod<{ readonly 'agentId': SessionId; readonly 'query': string }, FileReferenceCandidate[]>
|
|
75
|
+
readonly 'session/attachment': TypertRemoteMethod<{ readonly 'request': SessionAttachmentRequest }, SessionAttachmentValue>
|
|
76
|
+
readonly 'session/cancel': TypertRemoteMethod<{ readonly 'request': SessionCancelRequest }, SessionCancelValue>
|
|
77
|
+
readonly 'session/canOpenWorkspacePath': TypertRemoteMethod<{ }, boolean>
|
|
78
|
+
readonly 'session/control': TypertRemoteMethod<{ }, SessionControlFrame, 'stream'>
|
|
79
|
+
readonly 'session/create': TypertRemoteMethod<{ readonly 'request': SessionCreateRequest }, SessionCreateValue>
|
|
80
|
+
readonly 'session/follow': TypertRemoteMethod<{ readonly 'request': SessionFollowRequest }, SessionFollowFrame, 'stream'>
|
|
81
|
+
readonly 'session/fork': TypertRemoteMethod<{ readonly 'request': SessionForkRequest }, SessionForkValue>
|
|
82
|
+
readonly 'session/initializeDefaultModel': TypertRemoteMethod<{ }, void>
|
|
83
|
+
readonly 'session/list': TypertRemoteMethod<{ readonly '_request': SessionListRequest }, SessionListValue>
|
|
84
|
+
readonly 'session/modelCatalog': TypertRemoteMethod<{ }, ModelCatalog>
|
|
85
|
+
readonly 'session/openWorkspacePath': TypertRemoteMethod<{ readonly 'request': SessionOpenWorkspacePathRequest }, SessionOpenWorkspacePathValue>
|
|
86
|
+
readonly 'session/page': TypertRemoteMethod<{ readonly 'request': SessionPageRequest }, SessionPage>
|
|
87
|
+
readonly 'session/projections': TypertRemoteMethod<{ readonly 'request': SessionProjectionsRequest }, SessionProjectionsValue>
|
|
88
|
+
readonly 'session/prompt': TypertRemoteMethod<{ readonly 'request': SessionPromptRequest }, SessionPromptValue>
|
|
89
|
+
readonly 'session/rename': TypertRemoteMethod<{ readonly 'request': SessionRenameRequest }, SessionRenameValue>
|
|
90
|
+
readonly 'session/search': TypertRemoteMethod<{ readonly 'request': SessionSearchRequest }, SessionSearchValue>
|
|
91
|
+
readonly 'session/selectModel': TypertRemoteMethod<{ readonly 'request': SessionSelectModelRequest }, SessionSelectModelValue>
|
|
92
|
+
readonly 'session/updateQueue': TypertRemoteMethod<{ readonly 'request': SessionUpdateQueueRequest }, SessionUpdateQueueValue>
|
|
93
|
+
readonly 'session/workspacePathApplications': TypertRemoteMethod<{ readonly 'request': { readonly path: string; } }, readonly SessionWorkspacePathApplication[]>
|
|
94
|
+
readonly 'skills/list': TypertRemoteMethod<{ readonly 'request': SkillListRequest }, SkillListValue>
|
|
95
|
+
}>
|
|
73
96
|
export default TYPERT_REMOTE
|
|
74
97
|
//# sourceMappingURL=typert.remote-client.d.ts.map
|