Merge branch 'worktree/process-plugin-streaming-72f9b3' into worktree/job-kill-delivery
# Conflicts: # apps/web/tests/background-job-list.e2e.ts # apps/web/tests/live-job-stream.e2e.ts # docs/config-catalog.i18n.yaml # docs/config-catalog.md # docs/config-catalog.zh.md # docs/event-producer-consumer.i18n.yaml # docs/event-producer-consumer.md # packages/client/ui-activity/README.md # packages/client/ui-activity/README.zh.md # packages/client/ui-activity/src/client/index.ts # packages/client/ui-jobs/README.i18n.yaml # packages/client/ui-jobs/src/client/JobListAction.tsx # packages/client/ui-jobs/tests/browser-plugin.client.spec.ts # packages/client/ui-jobs/tests/job-list-action.client.spec.tsx # packages/jobs/jobs-local/src/index.ts # packages/jobs/jobs/README.i18n.yaml # packages/jobs/jobs/README.md # packages/jobs/jobs/README.zh.md # packages/jobs/jobs/src/index.ts # packages/shell/tool-bash/src/index.ts # packages/shell/tool-bash/tests/observe.spec.ts # packages/shell/tool-pwsh/src/index.ts # packages/shell/tool-pwsh/tests/observe.spec.ts # packages/workflow/tool-workflow/tests/activity-mirror.spec.ts # pnpm-lock.yaml
This commit is contained in:
commit
a2fb67d06c
187 files changed
+3599
-7085
No files matched your search
@@ -109,8 +109,6 @@ export const SERVICE_PAGE: Record<string, string> = {
|
||||
subprocess: 'subprocess.md',
|
||||
systemPrompt: 'system-prompt.md',
|
||||
jobs: 'jobs.md',
|
||||
activities: 'activity.md',
|
||||
activityController: 'activity.md',
|
||||
sessionTelemetry: 'session-telemetry.md',
|
||||
agentTeams: 'agent-team.md',
|
||||
tokenMeter: 'token-meter.md',
|
||||
@@ -175,7 +173,7 @@ export const SERVICE_WALK_EXEMPTIONS: Record<string, string> = {
|
||||
slots: 'client-side interface-typed browser service — packages/client/ui-renderer/README.md owns the API',
|
||||
theme: 'client-side interface-typed browser service — packages/client/ui-theme/README.md owns the API',
|
||||
workspaces: 'client-side interface-typed browser service — packages/api/workspace-controller/README.md owns the API',
|
||||
activityFeed: 'client-side interface-typed browser service — packages/api/activity-controller/README.md owns the API',
|
||||
jobOutput: 'client-side interface-typed browser service — packages/api/session-controller/README.md owns the API',
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -324,6 +322,8 @@ export const LINK_MAP: Readonly<Record<string, string>> = {
|
||||
SessionId: 'core.md',
|
||||
SessionListRequest: 'session.md',
|
||||
SessionListValue: 'session.md',
|
||||
SessionObserveJobFrame: 'session.md',
|
||||
SessionObserveJobRequest: 'session.md',
|
||||
ModelCatalog: 'session.md',
|
||||
SessionOpenWorkspacePathRequest: 'session.md',
|
||||
SessionOpenWorkspacePathValue: 'session.md',
|
||||
@@ -505,16 +505,6 @@ export const LINK_MAP: Readonly<Record<string, string>> = {
|
||||
PromptSectionOrderName: 'system-prompt.md',
|
||||
SystemPrompt: 'system-prompt.md',
|
||||
ToolProviderResult: 'system-prompt.md',
|
||||
ActivitiesChangedListener: 'activity.md',
|
||||
ActivityHandle: 'activity.md',
|
||||
ActivityId: 'activity.md',
|
||||
ActivityOpen: 'activity.md',
|
||||
ActivityOutputListener: 'activity.md',
|
||||
ActivityRead: 'activity.md',
|
||||
ActivitySnapshot: 'activity.md',
|
||||
ActivityControlFrame: 'activity.md',
|
||||
ActivityObserveFrame: 'activity.md',
|
||||
ActivityObserveRequest: 'activity.md',
|
||||
JobDoneListener: 'jobs.md',
|
||||
JobId: 'jobs.md',
|
||||
JobKillOptions: 'jobs.md',
|
||||
@@ -522,6 +512,12 @@ export const LINK_MAP: Readonly<Record<string, string>> = {
|
||||
JobSnapshot: 'jobs.md',
|
||||
JobStart: 'jobs.md',
|
||||
JobsChangedListener: 'jobs.md',
|
||||
JobAppendOptions: 'jobs.md',
|
||||
JobChannel: 'jobs.md',
|
||||
JobOutputListener: 'jobs.md',
|
||||
JobRecordChunk: 'jobs.md',
|
||||
JobRecordRead: 'jobs.md',
|
||||
RunningJob: 'jobs.md',
|
||||
CreateTeamTaskRequest: 'agent-team.md',
|
||||
SendTeamMessageRequest: 'agent-team.md',
|
||||
SendTeamMessageResult: 'agent-team.md',
|
||||
|
||||
@@ -198,13 +198,6 @@ const SERVICE_ROLES: ServiceRole[] = [
|
||||
mode: 'core',
|
||||
note: 'Carries the picking seam onto the wire: capability gating, cancellation, and the seam-coded failures a browser directory flow discriminates on.',
|
||||
},
|
||||
{
|
||||
key: 'activityController',
|
||||
pkg: 'api-activity-controller',
|
||||
title: 'Host Activity Remote controller',
|
||||
mode: 'core',
|
||||
note: 'Owns the live-activity roster stream and per-activity non-consuming output observation through the generated Remote namespace.',
|
||||
},
|
||||
{
|
||||
key: 'invariants',
|
||||
pkg: 'invariants',
|
||||
@@ -583,17 +576,8 @@ const SERVICE_ROLES: ServiceRole[] = [
|
||||
title: 'Background job registry',
|
||||
mode: 'seam',
|
||||
implementations: ['jobs-local'],
|
||||
consumers: ['tool-bash', 'tool-terminal', 'tool-subagent', 'tool-jobs'],
|
||||
note: 'Producers (background bash, PTY sends, and subagent delegations) register running work; tool-jobs is the model-facing controller that reads, lists, and kills it; jobs-local is the process-local registry.',
|
||||
},
|
||||
{
|
||||
key: 'activities',
|
||||
pkg: 'activity',
|
||||
title: 'Live activity observation registry',
|
||||
mode: 'seam',
|
||||
implementations: ['activity-local'],
|
||||
consumers: ['tool-bash', 'tool-pwsh', 'tool-workflow', 'activity-controller'],
|
||||
note: 'Producers mirror live output and status into non-consuming offset-addressed streams; activity-controller serves them to browsers, and the model-facing paths (jobs cursors, tool results) stay untouched.',
|
||||
consumers: ['tool-bash', 'tool-pwsh', 'tool-terminal', 'tool-subagent', 'tool-jobs'],
|
||||
note: 'Producers (background bash/pwsh, PTY sends, and subagent delegations) register running work; record-declaring jobs additionally stream raw output for non-consuming observers; tool-jobs is the model-facing controller that reads, lists, and kills it; jobs-local is the process-local registry.',
|
||||
},
|
||||
{
|
||||
key: 'web',
|
||||
|
||||
@@ -5,7 +5,6 @@ const CLIENT_FACE_INCLUDE: readonly string[] = []
|
||||
|
||||
/** Packages exempted from automatic Client/Host treatment despite declaring `dsh.client`. */
|
||||
const CLIENT_FACE_EXCLUDE: readonly string[] = [
|
||||
'@deepseek-ai/dsh-api-activity-controller',
|
||||
'@deepseek-ai/dsh-api-session-controller',
|
||||
'@deepseek-ai/dsh-api-workspace-controller',
|
||||
]
|
||||
|
||||
@@ -1016,6 +1016,21 @@
|
||||
"symbol": "JobRead",
|
||||
"source": "packages/jobs/jobs/src/types.ts"
|
||||
},
|
||||
{
|
||||
"doc": "docs/subsystems/jobs.md",
|
||||
"symbol": "RunningJob",
|
||||
"source": "packages/jobs/jobs/src/types.ts"
|
||||
},
|
||||
{
|
||||
"doc": "docs/subsystems/jobs.md",
|
||||
"symbol": "JobRecordChunk",
|
||||
"source": "packages/jobs/jobs/src/types.ts"
|
||||
},
|
||||
{
|
||||
"doc": "docs/subsystems/jobs.md",
|
||||
"symbol": "JobRecordRead",
|
||||
"source": "packages/jobs/jobs/src/types.ts"
|
||||
},
|
||||
{
|
||||
"doc": "docs/subsystems/terminal.md",
|
||||
"symbol": "TerminalWaitReason",
|
||||
|
||||
@@ -123,7 +123,6 @@ function hostRuntimeFixture(): {
|
||||
describe('package dependency scope', () => {
|
||||
it('keeps the measured Host relay roster explicit', () => {
|
||||
expect(PACKAGE_DEPENDENCY_POLICY.clientFaceExclude).toEqual([
|
||||
'@deepseek-ai/dsh-api-activity-controller',
|
||||
'@deepseek-ai/dsh-api-session-controller',
|
||||
'@deepseek-ai/dsh-api-workspace-controller',
|
||||
])
|
||||
|
||||
@@ -46,10 +46,7 @@ const NO_MODEL_EXPERIENCE_SECTION: Readonly<Record<string, string>> = {
|
||||
const SENTENCE_MODEL_EXPERIENCE: Readonly<Record<string, SentenceContract>> = {
|
||||
'packages/attachment/attachment': { kind: 'indirect', reason: 'The storage seam delegates model request rendering to provider adapters.' },
|
||||
'packages/attachment/attachment-local': { kind: 'indirect', reason: 'The local backend delegates model request rendering to provider adapters.' },
|
||||
'packages/activity/activity': { kind: 'none', reason: 'Pure observation seam for humans; activity output becomes model-visible only through producers\' existing tool results and jobs reads.' },
|
||||
'packages/activity/activity-local': { kind: 'none', reason: 'In-memory observation provider; producers own every model-visible surface.' },
|
||||
'packages/api/activity-controller': { kind: 'none', reason: 'Browser/Host observation transport; registers no prompt, tool, or session event.' },
|
||||
'packages/client/ui-activity': { kind: 'none', reason: 'Browser-side presentation of host-observed output; touches no prompt, message, schema, stream, or tool result.' },
|
||||
'packages/client/ui-jobs': { kind: 'none', reason: 'Browser-side presentation of host-observed output; touches no prompt, message, schema, stream, or tool result.' },
|
||||
'packages/shell/shell': { kind: 'indirect', reason: 'The service interface delegates all model rendering to dsh-tool-bash.' },
|
||||
'packages/shell/shell-env': { kind: 'indirect', reason: 'The env service exposes managed DSH_* facts through the shell tools (dsh-tool-bash/dsh-tool-pwsh); it registers no prompt or schema of its own.' },
|
||||
'packages/shell/bash-local': { kind: 'indirect', reason: 'The executor backend delegates model rendering to dsh-tool-bash.' },
|
||||
|
||||
Reference in new issue
Block a user