mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
feat: slot system + entries/priority/errorreport + typert generator
This commit is contained in:
@@ -69,6 +69,11 @@ import { GoalError } from '@deepseek-ai/dsh-goal'
|
||||
import type { GoalRef as CoreGoalRef } from '@deepseek-ai/dsh-goal'
|
||||
// Type-only edges: resolve the command-change stream and `ctx.get('skills')`.
|
||||
import type {} from '@deepseek-ai/dsh-commands'
|
||||
// Type-only: the dynamic-package runner's forwarded-event declarations. Its
|
||||
// client-safe `./types` subpath deliberately, not the package root — the root
|
||||
// merges `ctx.dynamicCordisRunner`, and a dependency on that package would
|
||||
// rebuild the api-remotes cycle this direction exists to avoid.
|
||||
import type {} from '@deepseek-ai/dsh-cordis-host-runner/types'
|
||||
import type {} from '@deepseek-ai/dsh-skill'
|
||||
// The settings/credentials seams: brand guards run at this wire boundary; the
|
||||
// service reads stay optional (`ctx.get`) so a composition without either
|
||||
@@ -1044,7 +1049,7 @@ function changedWorkspaceView(workspaceId: string, value: unknown): WorkspaceVie
|
||||
/**
|
||||
* Implement ApiProxy over a composed host context.
|
||||
* @param ctx - a context with the Host spine and Workspace registry mounted.
|
||||
* @param defaults - Agent model and project-directory defaults.
|
||||
* @param defaults - host routing and project-directory defaults.
|
||||
* @returns the ApiProxy implementation.
|
||||
*/
|
||||
export function createApiProxy(ctx: Context, defaults: ApiProxyDefaults): ApiProxy {
|
||||
|
||||
@@ -33,7 +33,11 @@ export interface ApiProxy {
|
||||
llm: LlmApi
|
||||
/** Host-only download surfaces (GET, no wire envelope); absent from IApiClient. */
|
||||
downloads: DownloadsApi
|
||||
/** Response entry for server-requests (client-response, echoing their rpcId); not a domain method (four-quadrant model). */
|
||||
/**
|
||||
* Response entry for server requests; not a domain method.
|
||||
* @param message - Client response carrying the server request's rpcId.
|
||||
* @returns Transport receipt for the response delivery.
|
||||
*/
|
||||
respond(message: ClientResponse): Promise<RpcReceipt>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user