@sparkelf/dsh-plus 0.2.9-alpha.80 → 0.2.9-alpha.82

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.
Files changed (37) hide show
  1. package/LICENSE +21 -0
  2. package/lib/apply-DycMqLJO.js +852 -0
  3. package/lib/apply.js +1 -1
  4. package/lib/bin.js +1 -1
  5. package/lib/types/apply.js +37 -2
  6. package/package.json +495 -516
  7. package/patches/approval-allow-policy.patch +3 -3
  8. package/patches/atomic-write-zombie-lock-holder.patch +1 -1
  9. package/patches/bootstrap-exempt-names.patch +6 -6
  10. package/patches/browser-auth-mode.patch +3 -3
  11. package/patches/composer-popover-boundaries.patch +33 -69
  12. package/patches/diagram-preview.patch +3 -3
  13. package/patches/image-offload-hoist-replay.patch +6 -6
  14. package/patches/input-trigger-source-label.patch +4 -4
  15. package/patches/legacy-code-preset.patch +5 -5
  16. package/patches/llm-pi-ai-transport-truncation.patch +4 -4
  17. package/patches/mobile-journal-generation.patch +2 -2
  18. package/patches/office-preview-stable-load.patch +1 -1
  19. package/patches/officecli-deliverables.patch +2 -2
  20. package/patches/ptc-mcp-schema-types.patch +3 -3
  21. package/patches/resource-ref-chip-mentions.patch +34 -32
  22. package/patches/responses-reasoning-status.patch +208 -49
  23. package/patches/session-controller-image-downgrade-and-tool-visibility.patch +16 -14
  24. package/patches/session-envelope-ignorable.patch +57 -28
  25. package/patches/session-export-chinese.patch +11 -11
  26. package/patches/session-format-legacy-restart.patch +1 -1
  27. package/patches/sidebar-right-tab-menu.patch +10 -8
  28. package/patches/state-dot-brand-blue.patch +2 -2
  29. package/patches/ui-schedule-plaza-tab.patch +1 -1
  30. package/patches/ui-settings-compact-phone.patch +2 -9
  31. package/patches/ui-sidebar-right-global-panel.patch +3 -3
  32. package/patches/visibility-filters.patch +10 -10
  33. package/patches/web-runtime-compat.patch +1 -1
  34. package/patches/workspace-hide-group-rooms.patch +2 -2
  35. package/patches/workspace-storage-restore.patch +5 -5
  36. package/patches/wsl-native-open.patch +8 -8
  37. package/patches/session-log-trajectory-toolbar.patch +0 -352
@@ -1,19 +1,22 @@
1
- --- a/packages/api/session-controller/src/commands.ts 2026-11-03 00:40:46.207711920 +0800
2
- +++ b/packages/api/session-controller/src/commands.ts 2026-11-03 00:40:46.209868821 +0800
3
- @@ -83,6 +83,9 @@
1
+ diff --git a/packages/api/session-controller/src/commands.ts b/packages/api/session-controller/src/commands.ts
2
+ index 921d71cd..5e6d7938 100644
3
+ --- a/packages/api/session-controller/src/commands.ts
4
+ +++ b/packages/api/session-controller/src/commands.ts
5
+ @@ -86,6 +86,9 @@ function latestCompletedPrefixBoundary(events: readonly SessionEvent[]): Session
4
6
 
5
7
  /** Implements Session business commands delegated by the Session Controller Remote service. */
6
8
  export class SessionCommandController {
7
9
  + /** 每个 agent 当前生效的工具可见性限制的撤销函数(按模型能力同步)。 */
8
10
  + private readonly toolVisibility = new WeakMap<Agent, () => void>()
9
11
  +
10
- /**
11
- * @param ctx - Host context carrying Agent, model, attachment, title, and Workspace services.
12
- * @param agents - sole owner of create, resume, and Agent composition.
13
- @@ -142,6 +145,31 @@
12
+ /** First-insertion facts cached per exact Session; the log remains the recovery source. */
13
+ private readonly promptReceipts = new WeakMap<Session, {
14
+ offset: SessionLogOffset
15
+ @@ -158,6 +161,31 @@ export class SessionCommandController {
16
+ return { sessionId, ...(created.agentPreset === undefined ? {} : { agentPreset: created.agentPreset }) }
14
17
  }
15
18
 
16
- /**
19
+ + /**
17
20
  + * 按当前模型的输入能力裁剪工具面。
18
21
  + *
19
22
  + * `read_image` 会把像素作为图像内容送进对话;纯文本模型即使被允许调用也消费不了,
@@ -38,11 +41,10 @@
38
41
  + }
39
42
  + }
40
43
  +
41
- + /**
44
+ /**
42
45
  * Validate and record one Session model selection; save the default in the background.
43
46
  * @param request - Session identity and requested model selection.
44
- * @returns the normalized selection recorded for the Session, without waiting for default persistence.
45
- @@ -160,6 +188,7 @@
47
+ @@ -177,6 +205,7 @@ export class SessionCommandController {
46
48
  }
47
49
  await this.ctx.llm.resolveCallConfig(selected)
48
50
  agent.model.select(selected)
@@ -50,10 +52,10 @@
50
52
  void this.ctx.agentDefaultModel.saveSelection(selected).catch((error: unknown) => {
51
53
  this.ctx.logger.warn(
52
54
  `session-controller: model selection changed for the Session but the default was not saved: ${String(error)}`,
53
- @@ -312,20 +341,24 @@
54
- const hasImage = admission.content.some(part => part.type === 'image')
55
+ @@ -346,20 +375,24 @@ export class SessionCommandController {
55
56
  const admit = async (): Promise<SessionPromptValue> => {
56
57
  try {
58
+ if (this.hasPromptRequest(agent.session, request.requestId)) return { accepted: true }
57
59
  + let promptContent = admission.content
58
60
  if (hasImage) {
59
61
  const current = agent.model.current()
@@ -78,6 +80,6 @@
78
80
  }
79
81
  - const content = await this.ctx.attachments.admitPromptContent(admission.content)
80
82
  + const content = await this.ctx.attachments.admitPromptContent(promptContent)
83
+ if (this.hasPromptRequest(agent.session, request.requestId)) return { accepted: true }
81
84
  const message: UserMessage = createUserMessage({ content, source })
82
85
  if (this.ctx.agents.get(agent.id) !== agent) {
83
- throw new RemoteError(
@@ -1,50 +1,79 @@
1
1
  diff --git a/packages/core/session/src/index.ts b/packages/core/session/src/index.ts
2
- index e9baee1b82..fcf26d713a 100644
2
+ index ea6c337f..82d57f11 100644
3
3
  --- a/packages/core/session/src/index.ts
4
4
  +++ b/packages/core/session/src/index.ts
5
5
  @@ -15,7 +15,7 @@ import type { Scoped } from '@deepseek-ai/dsh-scope'
6
6
  import type { Message } from '@deepseek-ai/dsh-llm'
7
7
  import { SESSION_FORMAT_VERSION, SessionLogOffset, SessionSeq } from './types.ts'
8
8
  import type { TypertLookup } from '@deepseek-ai/dsh-typert-protocol'
9
- -import type { CreateSessionOptions, EpochHeader, PluginRecord, PluginRecordMap, PluginRecordType, PrepareSessionOptions, RequestContext, SessionEvent, SessionEventMap, SessionEventType, SessionHeader, SessionId, SessionSeedEventState, SurfaceIntent, SurfaceEventType } from './types.ts'
10
- +import type { CreateSessionOptions, EpochHeader, PluginRecord, PluginRecordMap, PluginRecordType, PrepareSessionOptions, RequestContext, SessionEvent, SessionEventMap, SessionEventType, SessionHeader, SessionId, SessionSeedEventState, SurfaceIntent, EnvelopeIntent, SurfaceEventType } from './types.ts'
9
+ -import type { CreateSessionOptions, EpochHeader, PluginRecord, PluginRecordMap, PluginRecordType, PrepareSessionOptions, RequestContext, SessionEvent, SessionEventInput, SessionEventMap, SessionEventType, SessionHeader, SessionId, SessionSeedEventState, SurfaceIntent, SurfaceEventType } from './types.ts'
10
+ +import type { CreateSessionOptions, EpochHeader, PluginRecord, PluginRecordMap, PluginRecordType, PrepareSessionOptions, RequestContext, SessionEvent, SessionEventInput, SessionEventMap, SessionEventType, SessionHeader, SessionId, SessionSeedEventState, SurfaceIntent, EnvelopeIntent, SurfaceEventType } from './types.ts'
11
11
  import { SurfaceManager, validateSessionEventData, validateSurfaceMetadata } from './surface.ts'
12
12
  import type { SessionSurface, SessionMessageProjection } from './surface.ts'
13
13
  import { foldRequestHeader } from './request-header.ts'
14
- @@ -806,10 +806,13 @@ export class Session {
14
+ @@ -521,11 +521,14 @@ export function pluginRecordOf(event: SessionEvent): PluginRecord | undefined {
15
+ function snapshotAppend(
16
+ type: SessionEventType,
17
+ data: SessionEventMap[SessionEventType] | undefined,
18
+ - opts: SurfaceIntent | undefined,
19
+ + opts: SurfaceIntent | EnvelopeIntent | undefined,
20
+ subject: string,
21
+ ) {
22
+ - const surfaceOp = opts?.surfaceOp
23
+ - const sourceEventSeqs = opts?.sourceEventSeqs
24
+ + // A surface event's option object is a `SurfaceIntent`; a log-only event's is an
25
+ + // `EnvelopeIntent`. The two never share a field, so one object serves both.
26
+ + const intent = opts as (SurfaceIntent & EnvelopeIntent) | undefined
27
+ + const surfaceOp = intent?.surfaceOp
28
+ + const sourceEventSeqs = intent?.sourceEventSeqs
29
+ const dataSnapshot = snapshotJsonValue(data)
30
+ if (dataSnapshot === undefined) throw new Error(`${subject} carries non-JSON-serializable data`)
31
+ const surface = snapshotJsonValue({
32
+ @@ -533,13 +536,19 @@ function snapshotAppend(
33
+ ...surfaceOp === undefined ? {} : { surfaceOp },
34
+ })
35
+ if (surface === undefined) throw new Error(`${subject} carries non-JSON-serializable surface metadata`)
36
+ - return { type, data: dataSnapshot, surface }
37
+ + return { type, data: dataSnapshot, surface, ignorable: intent?.ignorable === true }
38
+ }
39
+
40
+ /** Construct and validate one live event from detached inputs. */
41
+ function createAppendEvent(snapshot: ReturnType<typeof snapshotAppend>, seq: SessionSeq): SessionEvent {
42
+ - const { type, data, surface } = snapshot
43
+ - const event = deepFreeze({ type, seq, time: Date.now(), data, ...surface } as SessionEvent)
44
+ + const { type, data, surface, ignorable } = snapshot
45
+ + // A log-only producer declares that a reader without its event type may skip the record.
46
+ + // Only `true` is admitted: the field's absence means required, and an explicit falsy value
47
+ + // would be indistinguishable from a producer that meant the opposite.
48
+ + const event = deepFreeze({
49
+ + type, seq, time: Date.now(), data, ...surface,
50
+ + ...ignorable ? { ignorable: true } : {},
51
+ + } as SessionEvent)
52
+ validateSessionEventData(event, `session event "${type}" at seq ${seq}`)
53
+ return event
54
+ }
55
+ @@ -853,12 +862,12 @@ export class Session {
15
56
  append<T extends SessionEventType>(
16
57
  type: T,
17
58
  data: SessionEventMap[T],
18
59
  - ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent<T>] : []
19
60
  + ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent<T>] : [opts?: EnvelopeIntent]
20
- ): SessionEvent<T> {
61
+ ): SessionEvent<T>
62
+ append(
63
+ type: SessionEventType | readonly SessionEventInput[],
64
+ data?: SessionEventMap[SessionEventType],
65
+ - ...opts: [opts?: SurfaceIntent]
66
+ + ...opts: [opts?: SurfaceIntent | EnvelopeIntent]
67
+ ): SessionEvent | readonly SessionEvent[] {
68
+ if (typeof type !== 'string') return this.#appendEvents(type)
21
69
  this.publicationEntry()
22
- - const surfaceOpts: SurfaceIntent | undefined = opts[0]
23
- + // A surface event's single option object is a `SurfaceIntent`; a log-only event's is an
24
- + // `EnvelopeIntent`. The two never share a field, so one object serves both.
25
- + const intent: SurfaceIntent & EnvelopeIntent = (opts[0] ?? {}) as SurfaceIntent & EnvelopeIntent
26
- + const surfaceOpts: SurfaceIntent | undefined = opts[0] as SurfaceIntent | undefined
27
- const surfaceMetadata = {
28
- ...surfaceOpts?.sourceEventSeqs === undefined ? {} : { sourceEventSeqs: surfaceOpts.sourceEventSeqs },
29
- ...surfaceOpts?.surfaceOp === undefined ? {} : { surfaceOp: surfaceOpts.surfaceOp },
30
- @@ -830,6 +833,10 @@ export class Session {
31
- time: Date.now(),
32
- data: dataSnapshot,
33
- ...(surfaceMetadataSnapshot as { surfaceOp?: unknown; sourceEventSeqs?: unknown }),
34
- + // A log-only producer declares that a reader without its event type may skip the record.
35
- + // Only `true` is admitted: the field's absence means required, and an explicit falsy value
36
- + // would be indistinguishable from a producer that meant the opposite.
37
- + ...(intent.ignorable === true ? { ignorable: true } : {}),
38
- } as unknown as SessionEvent<T>)
39
- validateSessionEventData(event, `session event "${type}" at seq ${event.seq}`)
40
- this.commit(event as SessionEvent, entry)
41
70
  diff --git a/packages/core/session/src/types.ts b/packages/core/session/src/types.ts
42
- index 7787dd9bd0..af11a41635 100644
71
+ index 0cf13c86..0f350a41 100644
43
72
  --- a/packages/core/session/src/types.ts
44
73
  +++ b/packages/core/session/src/types.ts
45
- @@ -485,6 +485,18 @@ export type SurfaceIntent<T extends SurfaceEventType = SurfaceEventType> = {
46
- sourceEventSeqs?: SessionSeq[]
47
- })
74
+ @@ -490,6 +490,18 @@ export type SessionEventInput = {
75
+ [K in SessionEventType]: readonly [type: K, data: SessionEventMap[K], ...opts: K extends SurfaceEventType ? [opts: SurfaceIntent<K>] : []]
76
+ }[SessionEventType]
48
77
 
49
78
  +/**
50
79
  + * Envelope markers a log-only event may declare at {@link Session.append}.
@@ -1,11 +1,11 @@
1
1
  diff --git a/packages/session-query/session-log-export/src/client/locales.ts b/packages/session-query/session-log-export/src/client/locales.ts
2
- index 516950f70c..def3d97fb4 100644
2
+ index b1a6a528..4deeaa74 100644
3
3
  --- a/packages/session-query/session-log-export/src/client/locales.ts
4
4
  +++ b/packages/session-query/session-log-export/src/client/locales.ts
5
- @@ -4,24 +4,26 @@ export const NS = 'session-log-download'
5
+ @@ -3,24 +3,26 @@ export const NS = 'session-log-download'
6
+
6
7
  /** Simplified-Chinese Session export strings. */
7
8
  export const zh = {
8
- 'header.more': '更多操作',
9
9
  + 'header.action': '会话日志',
10
10
  'menu.copyMarkdown': '复制会话为 Markdown',
11
11
  - 'menu.download': '下载 Session 日志',
@@ -14,8 +14,9 @@ index 516950f70c..def3d97fb4 100644
14
14
  'toast.copied': 'Session 已复制为 Markdown',
15
15
  'toast.preparationFailed': '无法读取 Session 进行复制,请重试',
16
16
  'toast.clipboardFailed': '无法写入剪贴板,请检查剪贴板权限后重试',
17
+ 'dialog.session': 'Session:{sessionId}',
17
18
  - 'dialog.preparingTitle': '正在导出 Session',
18
- - 'dialog.preparingDescription': '正在准备包含当前 Session、子 Session 和附件的 ZIP 文件。',
19
+ - 'dialog.preparingDescription': '正在准备包含指定 Session、子 Session 和附件的 ZIP 文件',
19
20
  - 'dialog.successTitle': 'Session 导出已开始下载',
20
21
  - 'dialog.successDescription': '浏览器正在下载 Session ZIP 文件。',
21
22
  + 'dialog.preparingTitle': '正在导出会话',
@@ -30,7 +31,6 @@ index 516950f70c..def3d97fb4 100644
30
31
 
31
32
  /** English Session export strings. */
32
33
  export const en: Record<keyof typeof zh, string> = {
33
- 'header.more': 'More actions',
34
34
  + 'header.action': 'Session log',
35
35
  'menu.copyMarkdown': 'Copy Session as Markdown',
36
36
  'menu.download': 'Download session log',
@@ -40,46 +40,46 @@ index 516950f70c..def3d97fb4 100644
40
40
  /** Japanese copy, checked against the English keys. */
41
41
  export const ja = {
42
42
  + 'header.action': 'セッションログ',
43
- 'header.more': 'その他の操作',
44
43
  'menu.copyMarkdown': 'セッションを Markdown としてコピー',
45
44
  'menu.download': 'セッションログをダウンロード',
45
+ 'menu.feedback': 'フィードバック',
46
46
  @@ -60,6 +63,7 @@ export const ja = {
47
47
 
48
48
  /** Spanish dictionary, checked against the English keys. */
49
49
  export const es = {
50
50
  + 'header.action': 'Registro de sesión',
51
- 'header.more': 'Más acciones',
52
51
  'menu.copyMarkdown': 'Copiar sesión como Markdown',
53
52
  'menu.download': 'Descargar registro de sesión',
53
+ 'menu.feedback': 'Comentarios',
54
54
  @@ -78,6 +82,7 @@ export const es = {
55
55
 
56
56
  /** French dictionary, checked against the English keys. */
57
57
  export const fr = {
58
58
  + 'header.action': 'Journal de session',
59
- 'header.more': 'Autres actions',
60
59
  'menu.copyMarkdown': 'Copier la session sous Markdown',
61
60
  'menu.download': 'Télécharger le journal de session',
61
+ 'menu.feedback': 'Commentaires',
62
62
  @@ -96,6 +101,7 @@ export const fr = {
63
63
 
64
64
  /** German dictionary, checked against the English keys. */
65
65
  export const de = {
66
66
  + 'header.action': 'Sitzungsprotokoll',
67
- 'header.more': 'Weitere Aktionen',
68
67
  'menu.copyMarkdown': 'Kopieren Sie die Sitzung als Markdown',
69
68
  'menu.download': 'Sitzungsprotokoll herunterladen',
69
+ 'menu.feedback': 'Rückmeldung',
70
70
  @@ -114,6 +120,7 @@ export const de = {
71
71
 
72
72
  /** Russian dictionary, checked against the English keys. */
73
73
  export const ru = {
74
74
  + 'header.action': 'Журнал сеанса',
75
- 'header.more': 'Другие действия',
76
75
  'menu.copyMarkdown': 'Скопировать сеанс как Markdown',
77
76
  'menu.download': 'Скачать журнал сеанса',
77
+ 'menu.feedback': 'Обратная связь',
78
78
  @@ -132,6 +139,7 @@ export const ru = {
79
79
 
80
80
  /** Portuguese dictionary, checked against the English keys. */
81
81
  export const pt = {
82
82
  + 'header.action': 'Registro da sessão',
83
- 'header.more': 'Mais ações',
84
83
  'menu.copyMarkdown': 'Copiar sessão como Markdown',
85
84
  'menu.download': 'Baixar registro da sessão',
85
+ 'menu.feedback': 'Comentários',
@@ -1,5 +1,5 @@
1
1
  diff --git a/packages/session/session-format-v0-to-v1/src/relationships.ts b/packages/session/session-format-v0-to-v1/src/relationships.ts
2
- index ddd1a4b71d..5cf0c7c0c7 100644
2
+ index ddd1a4b7..5cf0c7c0 100644
3
3
  --- a/packages/session/session-format-v0-to-v1/src/relationships.ts
4
4
  +++ b/packages/session/session-format-v0-to-v1/src/relationships.ts
5
5
  @@ -35,7 +35,7 @@ export interface ReleasedRelationshipExtensions {
@@ -1,4 +1,5 @@
1
1
  diff --git a/packages/client/ui-sidebar-right/src/client/index.ts b/packages/client/ui-sidebar-right/src/client/index.ts
2
+ index 1f3d3781..2c56ebc9 100644
2
3
  --- a/packages/client/ui-sidebar-right/src/client/index.ts
3
4
  +++ b/packages/client/ui-sidebar-right/src/client/index.ts
4
5
  @@ -1,5 +1,4 @@
@@ -7,7 +8,7 @@ diff --git a/packages/client/ui-sidebar-right/src/client/index.ts b/packages/cli
7
8
  import { TabMenuContent } from './shell/TabMenuContent.tsx'
8
9
  import type {} from '@deepseek-ai/dsh-client-ui-context-menu/client'
9
10
  /**
10
- @@ -138,24 +137,6 @@
11
+ @@ -138,24 +137,6 @@ export function apply(ctx: ClientContext): void {
11
12
  ctx.effect(() => ctx.slots.inject('contextMenu.icon', () => ctx.slots.register({
12
13
  name: 'contextMenu.icon', key: 'sidebar.close',
13
14
  }, IconCloseOutlineRegular)), 'sidebar: menu icon')
@@ -33,6 +34,7 @@ diff --git a/packages/client/ui-sidebar-right/src/client/index.ts b/packages/cli
33
34
  name: 'contextMenu.content', key: 'tab',
34
35
  children: { 'sidebar.right.tab.menu.item': { kind: 'list', scope: 'session' } },
35
36
  diff --git a/packages/client/ui-sidebar-right/src/client/locales.ts b/packages/client/ui-sidebar-right/src/client/locales.ts
37
+ index 44b137b2..1f4b1904 100644
36
38
  --- a/packages/client/ui-sidebar-right/src/client/locales.ts
37
39
  +++ b/packages/client/ui-sidebar-right/src/client/locales.ts
38
40
  @@ -8,9 +8,6 @@
@@ -45,7 +47,7 @@ diff --git a/packages/client/ui-sidebar-right/src/client/locales.ts b/packages/c
45
47
  'command.close': '关闭当前页面/窗口',
46
48
  'command.refresh': '刷新当前页面',
47
49
  'command.noRefresh': '当前页面不支持刷新',
48
- @@ -53,9 +50,6 @@
50
+ @@ -53,9 +50,6 @@ export type SidebarRightKey = keyof typeof zh
49
51
 
50
52
  /** English dictionary, checked against the Chinese key set. */
51
53
  export const en = {
@@ -55,7 +57,7 @@ diff --git a/packages/client/ui-sidebar-right/src/client/locales.ts b/packages/c
55
57
  'command.close': 'Close current page or window',
56
58
  'command.refresh': 'Refresh current page',
57
59
  'command.noRefresh': 'This page cannot be refreshed',
58
- @@ -95,9 +89,6 @@
60
+ @@ -95,9 +89,6 @@ export const en = {
59
61
 
60
62
  /** Japanese copy, checked against the English keys. */
61
63
  export const ja = {
@@ -65,7 +67,7 @@ diff --git a/packages/client/ui-sidebar-right/src/client/locales.ts b/packages/c
65
67
  'command.close': '現在のページまたはウィンドウを閉じる',
66
68
  'command.refresh': '現在のページを更新',
67
69
  'command.noRefresh': 'このページは更新できません',
68
- @@ -137,9 +128,6 @@
70
+ @@ -137,9 +128,6 @@ export const ja = {
69
71
 
70
72
  /** Spanish dictionary, checked against the English keys. */
71
73
  export const es = {
@@ -75,7 +77,7 @@ diff --git a/packages/client/ui-sidebar-right/src/client/locales.ts b/packages/c
75
77
  'command.close': 'Cerrar la página o ventana actual',
76
78
  'command.refresh': 'Actualizar la página actual',
77
79
  'command.noRefresh': 'Esta página no se puede actualizar',
78
- @@ -179,9 +167,6 @@
80
+ @@ -179,9 +167,6 @@ export const es = {
79
81
 
80
82
  /** French dictionary, checked against the English keys. */
81
83
  export const fr = {
@@ -85,7 +87,7 @@ diff --git a/packages/client/ui-sidebar-right/src/client/locales.ts b/packages/c
85
87
  'command.close': 'Fermer la page ou la fenêtre actuelle',
86
88
  'command.refresh': 'Actualiser la page actuelle',
87
89
  'command.noRefresh': 'Cette page ne peut pas être actualisée',
88
- @@ -221,9 +206,6 @@
90
+ @@ -221,9 +206,6 @@ export const fr = {
89
91
 
90
92
  /** German dictionary, checked against the English keys. */
91
93
  export const de = {
@@ -95,7 +97,7 @@ diff --git a/packages/client/ui-sidebar-right/src/client/locales.ts b/packages/c
95
97
  'command.close': 'Aktuelle Seite oder Fenster schließen',
96
98
  'command.refresh': 'Aktuelle Seite aktualisieren',
97
99
  'command.noRefresh': 'Diese Seite kann nicht aktualisiert werden',
98
- @@ -263,9 +245,6 @@
100
+ @@ -263,9 +245,6 @@ export const de = {
99
101
 
100
102
  /** Russian dictionary, checked against the English keys. */
101
103
  export const ru = {
@@ -105,7 +107,7 @@ diff --git a/packages/client/ui-sidebar-right/src/client/locales.ts b/packages/c
105
107
  'command.close': 'Закрыть текущую страницу или окно',
106
108
  'command.refresh': 'Обновить текущую страницу',
107
109
  'command.noRefresh': 'Эту страницу невозможно обновить',
108
- @@ -305,9 +284,6 @@
110
+ @@ -305,9 +284,6 @@ export const ru = {
109
111
 
110
112
  /** Portuguese dictionary, checked against the English keys. */
111
113
  export const pt = {
@@ -1,5 +1,5 @@
1
1
  diff --git a/packages/client/ui-primitives/src/StateDot.module.css b/packages/client/ui-primitives/src/StateDot.module.css
2
- index 1a692c6..3aa3186 100644
2
+ index 1a692c68..3aa3186b 100644
3
3
  --- a/packages/client/ui-primitives/src/StateDot.module.css
4
4
  +++ b/packages/client/ui-primitives/src/StateDot.module.css
5
5
  @@ -1,4 +1,12 @@
@@ -105,7 +105,7 @@ index 1a692c6..3aa3186 100644
105
105
  +.step[data-state='warning'] { border-color: var(--dsw-alias-state-warn-primary); }
106
106
 
107
107
  diff --git a/packages/client/ui-primitives/src/StateDot.tsx b/packages/client/ui-primitives/src/StateDot.tsx
108
- index ec480c6..f54ebdd 100644
108
+ index ec480c69..f54ebddf 100644
109
109
  --- a/packages/client/ui-primitives/src/StateDot.tsx
110
110
  +++ b/packages/client/ui-primitives/src/StateDot.tsx
111
111
  @@ -3,35 +3,15 @@ import css from './StateDot.module.css'
@@ -1,5 +1,5 @@
1
1
  diff --git a/packages/client/ui-schedule/src/client/TaskManagerPage.tsx b/packages/client/ui-schedule/src/client/TaskManagerPage.tsx
2
- index 53a53fe9..b1f3e39c 100644
2
+ index 53a53fe9..ddb8d05f 100644
3
3
  --- a/packages/client/ui-schedule/src/client/TaskManagerPage.tsx
4
4
  +++ b/packages/client/ui-schedule/src/client/TaskManagerPage.tsx
5
5
  @@ -6,7 +6,7 @@ import {
@@ -1,7 +1,8 @@
1
1
  diff --git a/packages/client/ui-settings-general/src/client/SettingsRoot.module.css b/packages/client/ui-settings-general/src/client/SettingsRoot.module.css
2
+ index 29c3d52c..b4a456e9 100644
2
3
  --- a/packages/client/ui-settings-general/src/client/SettingsRoot.module.css
3
4
  +++ b/packages/client/ui-settings-general/src/client/SettingsRoot.module.css
4
- @@ -246,3 +246,64 @@
5
+ @@ -340,3 +340,64 @@
5
6
  ui-web base.css's `body > :not(#root)` subtraction covers it wherever it
6
7
  overlaps a chrome row's drag — including above every column, which an in-root
7
8
  overlay could not promise once a chrome row declares drag itself. */
@@ -66,11 +67,3 @@ diff --git a/packages/client/ui-settings-general/src/client/SettingsRoot.module.
66
67
  +
67
68
  + /* Takes the space the rail leaves and scrolls its own options. */
68
69
  + .content {
69
- + flex: 1;
70
- + min-height: 0;
71
- + }
72
- +
73
- + .options {
74
- + padding-bottom: env(safe-area-inset-bottom);
75
- + }
76
- +}
@@ -1,8 +1,8 @@
1
1
  diff --git a/packages/client/ui-sidebar-right/src/client/index.ts b/packages/client/ui-sidebar-right/src/client/index.ts
2
- index 99b800b6c8..9b317464e1 100644
2
+ index 2c56ebc9..99a31883 100644
3
3
  --- a/packages/client/ui-sidebar-right/src/client/index.ts
4
4
  +++ b/packages/client/ui-sidebar-right/src/client/index.ts
5
- @@ -138,7 +138,10 @@ export function apply(ctx: ClientContext): void {
5
+ @@ -149,7 +149,10 @@ export function apply(ctx: ClientContext): void {
6
6
  ctx.effect(() => {
7
7
  const sync = (): void => {
8
8
  const selected = views.source.getSnapshot().find(view => view.selected)
@@ -15,7 +15,7 @@ index 99b800b6c8..9b317464e1 100644
15
15
  const unsubscribeViews = views.source.subscribe(sync)
16
16
  const unsubscribePanel = layout.panelInfo.subscribe(sync)
17
17
  diff --git a/packages/client/ui-sidebar-right/src/client/shell/RightbarRoot.tsx b/packages/client/ui-sidebar-right/src/client/shell/RightbarRoot.tsx
18
- index 26bedb1d18..bebc73706d 100644
18
+ index 26bedb1d..bebc7370 100644
19
19
  --- a/packages/client/ui-sidebar-right/src/client/shell/RightbarRoot.tsx
20
20
  +++ b/packages/client/ui-sidebar-right/src/client/shell/RightbarRoot.tsx
21
21
  @@ -31,8 +31,12 @@ function SessionView({ view, visible, SessionProvider, renderSlot, mountView, wi
@@ -1,8 +1,8 @@
1
1
  diff --git a/packages/core/session/src/index.ts b/packages/core/session/src/index.ts
2
- index e9baee1b..8ec2134e 100644
2
+ index 82d57f11..e3d8a856 100644
3
3
  --- a/packages/core/session/src/index.ts
4
4
  +++ b/packages/core/session/src/index.ts
5
- @@ -542,6 +542,15 @@ export class Session {
5
+ @@ -582,6 +582,15 @@ export class Session {
6
6
  */
7
7
  readonly header: SessionHeader
8
8
 
@@ -18,7 +18,7 @@ index e9baee1b..8ec2134e 100644
18
18
  /** Number of leading events inherited from this Session's fork parent. */
19
19
  readonly inheritedEventCount: SessionLogOffset
20
20
 
21
- @@ -1177,6 +1186,7 @@ export class SessionStore extends Service {
21
+ @@ -1266,6 +1275,7 @@ export class SessionStore extends Service {
22
22
  eventState,
23
23
  this.projections,
24
24
  )
@@ -26,7 +26,7 @@ index e9baee1b..8ec2134e 100644
26
26
  attachments.set(session, null)
27
27
  return session
28
28
  }
29
- @@ -1201,6 +1211,7 @@ export class SessionStore extends Service {
29
+ @@ -1290,6 +1300,7 @@ export class SessionStore extends Service {
30
30
  ...meta?.agentPreset === undefined ? {} : { agentPreset: meta.agentPreset },
31
31
  }
32
32
  const session = Session.create(sessionId, seed, header, options?.inheritedEventCount, this.projections)
@@ -35,7 +35,7 @@ index e9baee1b..8ec2134e 100644
35
35
  return session
36
36
  }
37
37
  diff --git a/packages/core/session/src/types.ts b/packages/core/session/src/types.ts
38
- index 7787dd9b..7f9211dd 100644
38
+ index 0f350a41..023601e9 100644
39
39
  --- a/packages/core/session/src/types.ts
40
40
  +++ b/packages/core/session/src/types.ts
41
41
  @@ -141,6 +141,15 @@ export interface SessionHeader {
@@ -64,10 +64,10 @@ index 7787dd9b..7f9211dd 100644
64
64
 
65
65
  /** Inputs accepted while constructing an unpublished Session. */
66
66
  diff --git a/packages/core/tools/src/contracts.ts b/packages/core/tools/src/contracts.ts
67
- index 089dc094..8699be42 100644
67
+ index 51597b41..9694b613 100644
68
68
  --- a/packages/core/tools/src/contracts.ts
69
69
  +++ b/packages/core/tools/src/contracts.ts
70
- @@ -3,7 +3,7 @@ import { HarnessError } from '@deepseek-ai/dsh-llm'
70
+ @@ -4,7 +4,7 @@ import { TOOL_CONTEXT_UNAVAILABLE } from './error-codes.ts'
71
71
  import type { ToolCallId, ContentBlock, ToolSchema } from '@deepseek-ai/dsh-llm'
72
72
  import type { Agent, ModelSelection } from '@deepseek-ai/dsh-agent'
73
73
  import type { ScopeKey } from '@deepseek-ai/dsh-scope'
@@ -76,7 +76,7 @@ index 089dc094..8699be42 100644
76
76
  import type { JsonValue } from '@deepseek-ai/dsh-util-values'
77
77
  import type { JsonSchemaNode } from './json-schema.ts'
78
78
  import type { ToolCallView, ToolResultView } from './presentation.ts'
79
- @@ -111,6 +111,32 @@ export interface ToolActivationContext {
79
+ @@ -112,6 +112,32 @@ export interface ToolActivationContext {
80
80
  readonly signal: AbortSignal
81
81
  }
82
82
 
@@ -110,7 +110,7 @@ index 089dc094..8699be42 100644
110
110
  export interface ToolRegistrationOptions {
111
111
  /**
112
112
  diff --git a/packages/core/tools/src/index.ts b/packages/core/tools/src/index.ts
113
- index d2d10d6b..a187d37d 100644
113
+ index 0cb307d1..bc1f3611 100644
114
114
  --- a/packages/core/tools/src/index.ts
115
115
  +++ b/packages/core/tools/src/index.ts
116
116
  @@ -3,6 +3,7 @@ import { Context, Service } from '@deepseek-ai/cordis'
@@ -124,7 +124,7 @@ index d2d10d6b..a187d37d 100644
124
124
  @@ -12,7 +13,7 @@ import { assertSupportedJsonSchema } from './json-schema.ts'
125
125
  import { RUN_CODE_NAME, ToolActivationError } from './contracts.ts'
126
126
  import type {
127
- ToolDefinition, ToolRestriction, ToolExecution, ToolGuard,
127
+ ToolDefinition, ToolRestriction, ToolExecution, ToolGuard, ToolGuardDenial,
128
128
  - ResolvedToolSet, ToolActivationContext, ToolRegistrationOptions,
129
129
  + ResolvedToolSet, ToolActivationContext, ToolRegistrationOptions, ToolVisibilityFilter,
130
130
  } from './contracts.ts'
@@ -1,5 +1,5 @@
1
1
  diff --git a/packages/bundle/web-app/src/index.ts b/packages/bundle/web-app/src/index.ts
2
- index b93b559620..8b40aae24d 100644
2
+ index b93b5596..8b40aae2 100644
3
3
  --- a/packages/bundle/web-app/src/index.ts
4
4
  +++ b/packages/bundle/web-app/src/index.ts
5
5
  @@ -14,13 +14,14 @@
@@ -1,11 +1,11 @@
1
1
  diff --git a/packages/client/ui-workspace/src/client/tree.ts b/packages/client/ui-workspace/src/client/tree.ts
2
- index 054c584..4c2bf0d 100644
2
+ index 054c584d..4c2bf0d7 100644
3
3
  --- a/packages/client/ui-workspace/src/client/tree.ts
4
4
  +++ b/packages/client/ui-workspace/src/client/tree.ts
5
5
  @@ -17,6 +17,17 @@ import { workspaceTitleOf } from '@deepseek-ai/dsh-util-workspace-path'
6
6
  /** Group key for Sessions outside every Workspace. */
7
7
  export const UNGROUPED_KEY = ''
8
-
8
+
9
9
  +/**
10
10
  + * Group-chat rooms own a Workspace and a Session only so the room stays selectable. Those rows
11
11
  + * belong to the group-chat section: the Workspace browser must not list them as folders or as
@@ -1,5 +1,5 @@
1
1
  diff --git a/packages/workspace/workspace/src/index.ts b/packages/workspace/workspace/src/index.ts
2
- index 00eaf0030c..b6e761e1cb 100644
2
+ index 825cb049..e4dc7be7 100644
3
3
  --- a/packages/workspace/workspace/src/index.ts
4
4
  +++ b/packages/workspace/workspace/src/index.ts
5
5
  @@ -10,7 +10,7 @@ import { mkdir, stat } from 'node:fs/promises'
@@ -11,7 +11,7 @@ index 00eaf0030c..b6e761e1cb 100644
11
11
  import { WorkspaceEntity } from './entity.ts'
12
12
  import type { WorkspaceEntityHost } from './entity.ts'
13
13
 
14
- @@ -170,6 +170,7 @@ const compareHeaders = (left: SessionHeader, right: SessionHeader): number =>
14
+ @@ -186,6 +186,7 @@ const compareHeaders = (left: SessionHeader, right: SessionHeader): number =>
15
15
  export class WorkspaceRegistry extends Service {
16
16
  static inject = ['storageDomain', 'sessionPersistence']
17
17
 
@@ -19,7 +19,7 @@ index 00eaf0030c..b6e761e1cb 100644
19
19
  private table?: KvTable<WorkspaceId, WorkspaceRecord>
20
20
  private global?: DomainGlobal<WorkspaceDomainState>
21
21
  private state?: WorkspaceDomainState
22
- @@ -195,8 +196,53 @@ export class WorkspaceRegistry extends Service {
22
+ @@ -213,8 +214,53 @@ export class WorkspaceRegistry extends Service {
23
23
 
24
24
  /** Open the domain, finish bootstrap when required, and rebuild the ordered cache. */
25
25
  protected async [Service.init](): Promise<void> {
@@ -75,10 +75,10 @@ index 00eaf0030c..b6e761e1cb 100644
75
75
  this.global = domain.global
76
76
  this.state = domain.global.get()
77
77
  diff --git a/packages/workspace/workspace/tests/workspace.spec.ts b/packages/workspace/workspace/tests/workspace.spec.ts
78
- index ef3116b3d7..67721e6474 100644
78
+ index 7c0a9e99..31aed1a6 100644
79
79
  --- a/packages/workspace/workspace/tests/workspace.spec.ts
80
80
  +++ b/packages/workspace/workspace/tests/workspace.spec.ts
81
- @@ -1378,6 +1378,105 @@ describe('first-use Workspace preparation', () => {
81
+ @@ -1538,6 +1538,105 @@ describe('first-use Workspace preparation', () => {
82
82
  })
83
83
  })
84
84
 
@@ -1,5 +1,5 @@
1
1
  diff --git a/packages/host/open-in-app/src/icons.ts b/packages/host/open-in-app/src/icons.ts
2
- index 4b07441c8c..519ba1344b 100644
2
+ index 4b07441c..519ba134 100644
3
3
  --- a/packages/host/open-in-app/src/icons.ts
4
4
  +++ b/packages/host/open-in-app/src/icons.ts
5
5
  @@ -98,6 +98,41 @@ const EXTRACT_ICON_PS1 = [
@@ -73,7 +73,7 @@ index 4b07441c8c..519ba1344b 100644
73
73
  return desktopId === undefined ? null : extractLinuxIcon(desktopId, completed)
74
74
  }
75
75
  diff --git a/packages/host/open-in-app/src/resolver.ts b/packages/host/open-in-app/src/resolver.ts
76
- index 970118e22a..ad8d176da4 100644
76
+ index 8ad0cbec..6b3c75e0 100644
77
77
  --- a/packages/host/open-in-app/src/resolver.ts
78
78
  +++ b/packages/host/open-in-app/src/resolver.ts
79
79
  @@ -14,10 +14,11 @@
@@ -165,11 +165,11 @@ index 970118e22a..ad8d176da4 100644
165
165
  return found === null
166
166
  ? null
167
167
  diff --git a/packages/util/native-command/src/index.ts b/packages/util/native-command/src/index.ts
168
- index 9ad8e0883c..3377ddcb6f 100644
168
+ index 0aa0125d..3890e445 100644
169
169
  --- a/packages/util/native-command/src/index.ts
170
170
  +++ b/packages/util/native-command/src/index.ts
171
- @@ -6,6 +6,7 @@
172
- export { runNativeCommand } from './runner.ts'
171
+ @@ -8,6 +8,7 @@ export { isWsl } from './host-environment.ts'
172
+ export type { HostEnvironmentFacts } from './host-environment.ts'
173
173
  export type { NativeCommandRunner } from './runner.ts'
174
174
  export {
175
175
  + canOpenLinuxDesktop,
@@ -177,10 +177,10 @@ index 9ad8e0883c..3377ddcb6f 100644
177
177
  nativeFileManager,
178
178
  revealNativePath,
179
179
  diff --git a/packages/util/native-command/src/path-opener.ts b/packages/util/native-command/src/path-opener.ts
180
- index 67bbc35902..dd062cc003 100644
180
+ index abd9bcba..4ddb2a13 100644
181
181
  --- a/packages/util/native-command/src/path-opener.ts
182
182
  +++ b/packages/util/native-command/src/path-opener.ts
183
- @@ -150,8 +150,55 @@ async function runExplorer(args: readonly string[], signal: AbortSignal, run: Pa
183
+ @@ -144,8 +144,55 @@ async function runExplorer(args: readonly string[], signal: AbortSignal, run: Pa
184
184
  * @param signal - caller lifetime; abort terminates the command.
185
185
  * @param run - shell-free command runner.
186
186
  */
@@ -237,7 +237,7 @@ index 67bbc35902..dd062cc003 100644
237
237
  }
238
238
 
239
239
  /** Translate a WSL path before handing it to the Windows desktop. */
240
- @@ -200,6 +247,25 @@ async function openNativePathWithIntent(
240
+ @@ -194,6 +241,25 @@ async function openNativePathWithIntent(
241
241
  throw new Error(`native path opener is unsupported on ${platform}`)
242
242
  }
243
243