mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
feat(remotes): expose workspace file operations to the Client
This commit is contained in:
@@ -82,6 +82,7 @@
|
||||
"@deepseek-ai/dsh-typert-protocol": "workspace:^",
|
||||
"@deepseek-ai/dsh-scope": "workspace:^",
|
||||
"@deepseek-ai/dsh-api-session-controller": "workspace:^",
|
||||
"@deepseek-ai/dsh-api-workspace-files": "workspace:^",
|
||||
"zod": "^4.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ import sessionReferencesRemote from '@deepseek-ai/dsh-session-reference/remote'
|
||||
import subagentsRemote from '@deepseek-ai/dsh-subagent/remote'
|
||||
import sessionRemote from '@deepseek-ai/dsh-api-session-controller/remote'
|
||||
import workspaceRemote from '@deepseek-ai/dsh-api-workspace-controller/remote'
|
||||
import workspaceFilesRemote from '@deepseek-ai/dsh-api-workspace-files/remote'
|
||||
import type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client'
|
||||
|
||||
export type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client'
|
||||
@@ -33,6 +34,8 @@ export type {} from '@deepseek-ai/dsh-api-session-controller/remote'
|
||||
export type * from '@deepseek-ai/dsh-api-session-controller/types'
|
||||
export type {} from '@deepseek-ai/dsh-api-workspace-controller/remote'
|
||||
export type * from '@deepseek-ai/dsh-api-workspace-controller/types'
|
||||
export type {} from '@deepseek-ai/dsh-api-workspace-files/remote'
|
||||
export type * from '@deepseek-ai/dsh-api-workspace-files/types'
|
||||
export type { SessionJob as JobView } from '@deepseek-ai/dsh-api-session-controller/types'
|
||||
// The forwarded-event allowlist's selection seat: without it in the consumer's
|
||||
// compilation face `TypertRemoteEvent` is `never` and every `$on` call fails.
|
||||
@@ -148,7 +151,7 @@ export async function apply(ctx: Context): Promise<() => Promise<void>> {
|
||||
for (const contribution of [
|
||||
agentPresetsRemote, commandsRemote, settingsControllerRemote, goalsRemote, llmRemote, dynamicRemote,
|
||||
pluginInventoryRemote, messageFeedbackRemote, fileUploadsRemote, sessionReferencesRemote,
|
||||
subagentsRemote, sessionRemote, workspaceRemote,
|
||||
subagentsRemote, sessionRemote, workspaceRemote, workspaceFilesRemote,
|
||||
]) {
|
||||
disposers.push(await ctx.remote.$mount(contribution))
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
},
|
||||
{
|
||||
"path": "../../credentials/credentials"
|
||||
|
||||
},
|
||||
{
|
||||
"path": "../../context/file-reference"
|
||||
@@ -69,6 +68,9 @@
|
||||
{
|
||||
"path": "../session-controller/tsconfig.client.json"
|
||||
},
|
||||
{
|
||||
"path": "../workspace-files/tsconfig.client.json"
|
||||
},
|
||||
{
|
||||
"path": "../settings-controller"
|
||||
},
|
||||
|
||||
@@ -56,6 +56,9 @@
|
||||
{
|
||||
"path": "../session-controller/tsconfig.host.json"
|
||||
},
|
||||
{
|
||||
"path": "../workspace-files/tsconfig.host.json"
|
||||
},
|
||||
{
|
||||
"path": "../workspace-controller/tsconfig.host.json"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user