@deepseek-harness-tui/dsh-tui 0.20.1 → 0.20.2
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.md +14 -3
- package/guide/dsh-tui-guide/configuration.en.md +26 -12
- package/guide/dsh-tui-guide/configuration.md +18 -9
- package/guide/dsh-tui-guide/getting-started.en.md +17 -9
- package/guide/dsh-tui-guide/getting-started.md +11 -7
- package/guide/dsh-tui-guide/interaction.en.md +1 -0
- package/guide/dsh-tui-guide/interaction.md +1 -0
- package/guide/dsh-tui-guide/themes.en.md +1 -1
- package/guide/dsh-tui-guide/themes.md +1 -1
- package/guide/dsh-tui-guide/user-guide.en.md +8 -2
- package/guide/dsh-tui-guide/user-guide.md +8 -2
- package/lib/settings.json +19 -3
- package/lib/types/adapter/ports/channel-settings.d.ts +6 -0
- package/lib/types/adapter/ports/channel-settings.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-view.d.ts +28 -2
- package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
- package/lib/types/backends/claude/session/lifecycle.d.ts.map +1 -1
- package/lib/types/backends/claude/session/lifecycle.js +11 -9
- package/lib/types/backends/claude/side-query.d.ts +2 -0
- package/lib/types/backends/claude/side-query.d.ts.map +1 -1
- package/lib/types/backends/claude/side-query.js +30 -13
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +228 -27
- package/lib/types/components/messages/presentCardBackground.d.ts +28 -0
- package/lib/types/components/messages/presentCardBackground.d.ts.map +1 -0
- package/lib/types/components/messages/presentCardBackground.js +23 -0
- package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/translate.js +28 -1
- package/lib/types/dsh-adapter/channel/core/compose.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/files.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/file-actions.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/file-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/file-actions.js +11 -4
- package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/settings-host.js +78 -12
- package/lib/types/dsh-adapter/channel/state.d.ts +4 -3
- package/lib/types/dsh-adapter/channel/state.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/state.js +4 -3
- package/lib/types/dsh-adapter/channel/types.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/types.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel.d.ts +1 -1
- package/lib/types/dsh-adapter/channel.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.d.ts +18 -7
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +20 -7
- package/lib/types/dsh-adapter/host-contract.d.ts +1 -1
- package/lib/types/dsh-adapter/host-contract.js +1 -1
- package/lib/types/dsh-adapter/host-entry.js +4 -2
- package/lib/types/dsh-adapter/host-service-diagnostics.d.ts +61 -0
- package/lib/types/dsh-adapter/host-service-diagnostics.d.ts.map +1 -0
- package/lib/types/dsh-adapter/host-service-diagnostics.js +103 -0
- package/lib/types/dsh-adapter/index.d.ts +5 -0
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +1 -0
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +39 -2
- package/lib/types/dsh-adapter/present-tool.d.ts +20 -0
- package/lib/types/dsh-adapter/present-tool.d.ts.map +1 -0
- package/lib/types/dsh-adapter/present-tool.js +96 -0
- package/lib/types/i18n.d.ts +15 -0
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +6 -0
- package/lib/types/ink/components/ScrollBox.d.ts.map +1 -1
- package/lib/types/ink/components/ScrollBox.js +13 -0
- package/lib/types/ink/dom.d.ts +3 -0
- package/lib/types/ink/dom.d.ts.map +1 -1
- package/lib/types/ink/ink.d.ts.map +1 -1
- package/lib/types/ink/ink.js +30 -34
- package/lib/types/ink/render-node-to-output.d.ts +3 -0
- package/lib/types/ink/render-node-to-output.d.ts.map +1 -1
- package/lib/types/ink/render-node-to-output.js +54 -40
- package/lib/types/ink/selection.d.ts +38 -28
- package/lib/types/ink/selection.d.ts.map +1 -1
- package/lib/types/ink/selection.js +201 -130
- package/lib/types/kernelPrefs.d.ts +5 -2
- package/lib/types/kernelPrefs.d.ts.map +1 -1
- package/lib/types/kernelPrefs.js +5 -2
- package/lib/types/settings/definitions.d.ts +12 -0
- package/lib/types/settings/definitions.d.ts.map +1 -1
- package/lib/types/settings/definitions.js +10 -2
- package/lib/types/theme.d.ts +4 -0
- package/lib/types/theme.d.ts.map +1 -1
- package/lib/types/theme.js +20 -2
- package/lib/types/tuiDisplayPrefs.d.ts +3 -0
- package/lib/types/tuiDisplayPrefs.d.ts.map +1 -1
- package/lib/types/tuiDisplayPrefs.js +10 -0
- package/lib/types/update.d.ts +74 -5
- package/lib/types/update.d.ts.map +1 -1
- package/lib/types/update.js +297 -46
- package/lib/types/updateHost.d.ts.map +1 -1
- package/lib/types/updateHost.js +16 -5
- package/lib/types/usageStats.d.ts +6 -0
- package/lib/types/usageStats.d.ts.map +1 -1
- package/lib/types/usageStats.js +8 -0
- package/lib/types/utils/colorMix.d.ts +19 -0
- package/lib/types/utils/colorMix.d.ts.map +1 -0
- package/lib/types/utils/colorMix.js +51 -0
- package/lib/types/utils/commandLine.d.ts +8 -0
- package/lib/types/utils/commandLine.d.ts.map +1 -0
- package/lib/types/utils/commandLine.js +37 -0
- package/lib/types/utils/desktopEntry.d.ts +32 -0
- package/lib/types/utils/desktopEntry.d.ts.map +1 -0
- package/lib/types/utils/desktopEntry.js +302 -0
- package/lib/types/utils/externalEditor.d.ts +2 -5
- package/lib/types/utils/externalEditor.d.ts.map +1 -1
- package/lib/types/utils/externalEditor.js +4 -36
- package/lib/types/utils/openExternal.d.ts +9 -0
- package/lib/types/utils/openExternal.d.ts.map +1 -1
- package/lib/types/utils/openExternal.js +87 -3
- package/lib/types/utils/terminalLaunch.d.ts +16 -0
- package/lib/types/utils/terminalLaunch.d.ts.map +1 -0
- package/lib/types/utils/terminalLaunch.js +121 -0
- package/package.json +112 -111
- package/tui-profile/feed/README.md +1 -1
- package/tui-profile/feed/first-party.json +1 -1
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Explain a missing Host-scope service when the row that would provide it is
|
|
3
|
+
* disabled in the profile (issue #1842).
|
|
4
|
+
*
|
|
5
|
+
* dsh's compatibility gate can disable every row of an incompatible plugin,
|
|
6
|
+
* print one `disabling profile plugin row` line on stderr, and keep booting.
|
|
7
|
+
* A preset that switched the capability on then fails inside `agents.create`
|
|
8
|
+
* naming only the missing service — never the plugin. The Loader still holds
|
|
9
|
+
* the disabled row (or several rows sharing one specifier), but it does not
|
|
10
|
+
* record *why* a row was disabled, so the diagnostic states only what it can
|
|
11
|
+
* see and gives each cause its own fix.
|
|
12
|
+
*
|
|
13
|
+
* Failure diagnostics, not policy: this never re-evaluates compatibility and
|
|
14
|
+
* never suppresses the original error — including when reading the row itself
|
|
15
|
+
* fails, because `Entry.disabled` evaluates `!!js` expressions. The long text is
|
|
16
|
+
* only guaranteed on the stderr boot-failure path; the startup notice renders a
|
|
17
|
+
* truncated first line plus `StartupOpenError.hint`, and the `/new` toast renders
|
|
18
|
+
* only the first line of `message` — so callers build their own one-line hint
|
|
19
|
+
* from {@link MissingHostService.packageName} through the i18n dictionary
|
|
20
|
+
* (`startup-host-row-disabled-hint`) instead of reusing the English text.
|
|
21
|
+
*/
|
|
22
|
+
import { readFileSync } from 'node:fs';
|
|
23
|
+
import { findPackageJSON } from 'node:module';
|
|
24
|
+
const HOST_SCOPE_REQUIREMENT = /requires (\S+) in the Host scope/u;
|
|
25
|
+
/** The package a specifier belongs to: `@scope/pkg/sub` → `@scope/pkg`, `pkg/sub` → `pkg`. */
|
|
26
|
+
export function packageNameOf(specifier) {
|
|
27
|
+
const [head, second] = specifier.split('/');
|
|
28
|
+
return specifier.startsWith('@') && second !== undefined ? `${head}/${second}` : head;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The version installed where the profile resolves it, undefined when unreadable.
|
|
32
|
+
* `findPackageJSON` walks node_modules instead of the exports map, so a package
|
|
33
|
+
* that hides `./package.json` still reports its version.
|
|
34
|
+
*/
|
|
35
|
+
export function installedVersion(ctx, packageName) {
|
|
36
|
+
try {
|
|
37
|
+
const manifestPath = findPackageJSON(packageName, ctx.baseUrl ?? import.meta.url);
|
|
38
|
+
if (manifestPath === undefined)
|
|
39
|
+
return undefined;
|
|
40
|
+
const manifest = JSON.parse(readFileSync(manifestPath, 'utf8'));
|
|
41
|
+
return typeof manifest === 'object' && manifest !== null && 'version' in manifest
|
|
42
|
+
&& typeof manifest.version === 'string' ? manifest.version : undefined;
|
|
43
|
+
}
|
|
44
|
+
catch {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Explain a missing Host-scope service when the row naming it is disabled.
|
|
50
|
+
*
|
|
51
|
+
* One Loader walk per call: `disabled` is a getter that re-evaluates the row's
|
|
52
|
+
* `!!js` expression, so the row list and the disabled state are read once and
|
|
53
|
+
* both the long text and the caller's hint are derived from that result.
|
|
54
|
+
* @param ctx - the TUI plugin context (profile resolution base + Loader service).
|
|
55
|
+
* @param message - the original failure message; left untouched otherwise.
|
|
56
|
+
* @returns the diagnostic and owning package, or undefined when this is not the case.
|
|
57
|
+
*/
|
|
58
|
+
export function describeMissingHostService(ctx, message) {
|
|
59
|
+
const specifier = HOST_SCOPE_REQUIREMENT.exec(message)?.[1];
|
|
60
|
+
if (specifier === undefined)
|
|
61
|
+
return undefined;
|
|
62
|
+
let rows;
|
|
63
|
+
try {
|
|
64
|
+
const loader = ctx.get('loader');
|
|
65
|
+
rows = [...(loader?.entries() ?? [])].filter(row => row.options?.name === specifier);
|
|
66
|
+
if (rows.length === 0)
|
|
67
|
+
return undefined;
|
|
68
|
+
// Reading `disabled` evaluates the row's `!!js` expression and walks its
|
|
69
|
+
// parents; a throwing expression must not replace the failure being explained.
|
|
70
|
+
if (rows.some(row => row.disabled !== true))
|
|
71
|
+
return undefined;
|
|
72
|
+
}
|
|
73
|
+
catch {
|
|
74
|
+
return undefined;
|
|
75
|
+
}
|
|
76
|
+
// Same-name rows are a real configuration — the patch row and the official row
|
|
77
|
+
// can share one specifier — so name every disabled one: pointing at the first
|
|
78
|
+
// would send the user to the wrong row. `options.id` is the id the user edits
|
|
79
|
+
// in the profile (the Loader's qualified `Entry.id` can gain a subtree prefix
|
|
80
|
+
// and would not match the yml); the current Loader always fills it in, and the
|
|
81
|
+
// unnamed fallback only guards a future shape change.
|
|
82
|
+
const ids = [...new Set(rows.flatMap(row => typeof row.options?.id === 'string' ? [row.options.id] : []))].sort();
|
|
83
|
+
const pkg = packageNameOf(specifier);
|
|
84
|
+
const named = ids.length === 0
|
|
85
|
+
? `the Host row for "${specifier}"`
|
|
86
|
+
: ids.length === 1
|
|
87
|
+
? `the Host row "${ids[0]}" ("${specifier}")`
|
|
88
|
+
: `the Host rows ${ids.map(id => `"${id}"`).join(', ')} ("${specifier}")`;
|
|
89
|
+
const subject = `${named} ${ids.length > 1 ? 'are' : 'is'}`;
|
|
90
|
+
const version = installedVersion(ctx, pkg);
|
|
91
|
+
// The Loader does not record why the row was disabled, so never assert a cause
|
|
92
|
+
// or an installation the profile could not resolve.
|
|
93
|
+
const installed = version === undefined
|
|
94
|
+
? 'Its installed version could not be read.'
|
|
95
|
+
: `${pkg}@${version} is installed there.`;
|
|
96
|
+
const detail = `dsh-tui: ${subject} disabled in this profile, so nothing provides that service. `
|
|
97
|
+
+ `${installed} `
|
|
98
|
+
+ `Align ${pkg} with the running dsh first: upgrade the plugin, or upgrade dsh if the installed plugin is newer. `
|
|
99
|
+
+ 'If dsh\'s compatibility gate disabled it, the "disabling profile plugin row" line above names the mismatch, '
|
|
100
|
+
+ 'and re-enabling the row alone will be rejected again. '
|
|
101
|
+
+ 'If the profile disabled the row itself, re-enable it only once the condition its row checks no longer fails.';
|
|
102
|
+
return { detail, packageName: pkg };
|
|
103
|
+
}
|
|
@@ -190,6 +190,11 @@ export interface Config {
|
|
|
190
190
|
* than the viewport or of an unsupported type keeps the fenced source.
|
|
191
191
|
* On by default; off always shows the source. */
|
|
192
192
|
mermaidDiagrams?: boolean;
|
|
193
|
+
/** Nerd Font file icons (settings `dsh-tui.nerdFontIcons`): the `present`
|
|
194
|
+
* delivery card renders file-type icons instead of four-cell badges.
|
|
195
|
+
* Off by default; requires a Nerd Font Mono, otherwise the glyphs are
|
|
196
|
+
* boxes. */
|
|
197
|
+
nerdFontIcons?: boolean;
|
|
193
198
|
/** Code-frame shape (settings `dsh-tui.codeFrameStyle`): `light`
|
|
194
199
|
* (default) is the open rail frame — corner + language label on top,
|
|
195
200
|
* a left rail with one padding column per row, no right wall or
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,MAAM,MAAM,0BAA0B,CAAA;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAE5F,OAAO,EAAkB,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxE,OAAO,EAA2Q,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAA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,7 @@ export const Config = editableConfig(Schema.object({
|
|
|
91
91
|
// config.jumpBack ?? false` at the read site.
|
|
92
92
|
jumpBack: Schema.boolean(),
|
|
93
93
|
mermaidDiagrams: Schema.boolean().default(true),
|
|
94
|
+
nerdFontIcons: Schema.boolean().default(false),
|
|
94
95
|
codeFrameStyle: Schema.union(['light', 'full']),
|
|
95
96
|
mathRendering: Schema.union(['auto', 'image', 'unicode', 'source']),
|
|
96
97
|
mathImageScale: Schema.union(['auto', 'large', 'xlarge']),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAA;AAGhE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAGlD,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACnC,OAAO,EAA+D,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAatH,OAAO,KAAK,EAAc,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAA;AAGhE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAGlD,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACnC,OAAO,EAA+D,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAatH,OAAO,KAAK,EAAc,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAW3E,OAAO,EAAmE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC3H,OAAO,EAAmB,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE7E,OAAO,EAAwB,sBAAsB,EAAoB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,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;IACvD,QAAQ,CAAC,oBAAoB,EAAE,MAAM,IAAI,CAAA;CAC1C,GAAG,IAAI,CAeP;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE;IACpC,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,KAAK,GAAG,SAAS,CAAA;IAC5B;+BAC2B;IAC3B,YAAY,EAAE,KAAK,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAUV;AAgBD;;;GAGG;AACH,wBAAsB,UAAU,CAC9B,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,GAAG,SAAS,EACxD,UAAU,EAAE,OAAO,EACnB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,IAAI,EAAE,MAAM,IAAI,EAChB,OAAO,GAAE;IACP,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,aAAa,CAAA;CACzB,GACL,OAAO,CAAC,IAAI,CAAC,CAuGf;AAiND,gFAAgF;AAChF,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAIrE"}
|
|
@@ -24,6 +24,7 @@ import { mountChannelUi } from './channel-ui.js';
|
|
|
24
24
|
import { bindChannelCommands } from './channel/commands.js';
|
|
25
25
|
import { registerTuiChannel } from '../adapter/channel/host-registry.js';
|
|
26
26
|
import { createChildStderrReporter, installChildStderrGuard } from './childStderr.js';
|
|
27
|
+
import { describeMissingHostService } from './host-service-diagnostics.js';
|
|
27
28
|
import { removeClipboardImageDir } from '../utils/clipboard.js';
|
|
28
29
|
import { appendCrashLog, serializeCrashDetail, unserializableCrashDetail } from '../utils/crashDetail.js';
|
|
29
30
|
import { pluginManagerOf } from './plugin-manager.js';
|
|
@@ -62,7 +63,7 @@ import { shouldOfferOnboarding } from '../onboardingPrefs.js';
|
|
|
62
63
|
import { resolveSessionCwd } from '../utils/workspaceRoot.js';
|
|
63
64
|
import { LAUNCH_PROMPT_SENT_ENV, beginRestartAttempt, blockedUpdateMessages, checkForTuiUpdate, describeHostStepReason, describeLauncherStepReason, deliverEngineSkipReport, idleReportMessages, installedTuiVersion, isBootDeadlockTarget, isStandaloneRuntime, isVersionNewer, logRestartEvent, resolveDshProfileName, resolveUpdatePlan, restartTui, updatePlanLayers, updatePlanState, updatePlanSuite, updateTuiAndRestart, writeHandoffNotice, writeLastRunRecord } from '../update.js';
|
|
64
65
|
import { getLang, isLang, resolveStartupLang, setLang, t, writeLangPref } from '../i18n.js';
|
|
65
|
-
import { applyBtwContextBudget, applyBtwContextTurns, applyCodeFrameStyle, applyCompanionSkin, applyImageBacking, applyMathImageBacking, applyMathImageScale, applyMathRendering, applyMermaidDiagrams, applyPageMargin, applySidePanelOpen, applySidePanelPanels, applySidePanelRatio, applySidePanelSplitEnabled, ALL_SIDE_PANELS, BTW_CONTEXT_BUDGET_MAX, BTW_CONTEXT_BUDGET_MIN, BTW_CONTEXT_TURNS_MAX, BTW_CONTEXT_TURNS_MIN, DEFAULT_PAGE_MARGIN, DEFAULT_STATUS_BAR, isPageMarginMode, normalizeJobGroupFold, normalizePageMargin, normalizeScrollGutter, normalizeSidePanelPanels, normalizePluginFieldsOrder, normalizeStatusBar, normalizeToolBackground, parsePageMarginSpec, parsePluginFieldsOrder, parseSidePanelPanels, resolveMathRendering } from '../tuiDisplayPrefs.js';
|
|
66
|
+
import { applyBtwContextBudget, applyBtwContextTurns, applyCodeFrameStyle, applyCompanionSkin, applyImageBacking, applyMathImageBacking, applyMathImageScale, applyMathRendering, applyMermaidDiagrams, applyNerdFontIcons, applyPageMargin, applySidePanelOpen, applySidePanelPanels, applySidePanelRatio, applySidePanelSplitEnabled, ALL_SIDE_PANELS, BTW_CONTEXT_BUDGET_MAX, BTW_CONTEXT_BUDGET_MIN, BTW_CONTEXT_TURNS_MAX, BTW_CONTEXT_TURNS_MIN, DEFAULT_PAGE_MARGIN, DEFAULT_STATUS_BAR, isPageMarginMode, normalizeJobGroupFold, normalizePageMargin, normalizeScrollGutter, normalizeSidePanelPanels, normalizePluginFieldsOrder, normalizeStatusBar, normalizeToolBackground, parsePageMarginSpec, parsePluginFieldsOrder, parseSidePanelPanels, resolveMathRendering } from '../tuiDisplayPrefs.js';
|
|
66
67
|
import { draftComboConflicts, effectiveComboString, parseComboDraft, setKeymapOverrides, SHORTCUT_ACTIONS, } from '../utils/keymap.js';
|
|
67
68
|
import { attachHerdrIntegration } from '../herdr.js';
|
|
68
69
|
import { logMouseDebug } from '../utils/debug.js';
|
|
@@ -1746,6 +1747,7 @@ export async function apply(ctx, runtimeConfig, configOwner = ctx, runtimeOption
|
|
|
1746
1747
|
applyBtwContextTurns(config.btw?.contextTurns);
|
|
1747
1748
|
applyBtwContextBudget(config.btw?.contextBudget);
|
|
1748
1749
|
applyMermaidDiagrams(config.mermaidDiagrams);
|
|
1750
|
+
applyNerdFontIcons(config.nerdFontIcons);
|
|
1749
1751
|
applyCodeFrameStyle(config.codeFrameStyle);
|
|
1750
1752
|
applyMathRendering(resolveMathRendering({}, config));
|
|
1751
1753
|
applyMathImageScale(config.mathImageScale ?? 'auto');
|
|
@@ -1833,6 +1835,8 @@ export async function apply(ctx, runtimeConfig, configOwner = ctx, runtimeOption
|
|
|
1833
1835
|
jumpBack: Schema.boolean(),
|
|
1834
1836
|
// Same no-default rule: applyDisplay resolves `?? config.mermaidDiagrams ?? true`.
|
|
1835
1837
|
mermaidDiagrams: Schema.boolean(),
|
|
1838
|
+
// Same no-default rule: applyDisplay resolves `?? config.nerdFontIcons ?? false`.
|
|
1839
|
+
nerdFontIcons: Schema.boolean(),
|
|
1836
1840
|
// Code-frame shape; unset keeps the light rail frame.
|
|
1837
1841
|
codeFrameStyle: Schema.union(['light', 'full']),
|
|
1838
1842
|
// Same no-default rule: resolveMathRendering falls back to cordis.yml.
|
|
@@ -2027,6 +2031,7 @@ export async function apply(ctx, runtimeConfig, configOwner = ctx, runtimeOption
|
|
|
2027
2031
|
warmJumpBackHelper();
|
|
2028
2032
|
});
|
|
2029
2033
|
applyMermaidDiagrams(value.mermaidDiagrams ?? config.mermaidDiagrams);
|
|
2034
|
+
applyNerdFontIcons(value.nerdFontIcons ?? config.nerdFontIcons);
|
|
2030
2035
|
applyCodeFrameStyle(value.codeFrameStyle ?? config.codeFrameStyle);
|
|
2031
2036
|
applyMathRendering(resolveMathRendering(value, config));
|
|
2032
2037
|
applyMathImageScale(value.mathImageScale ?? config.mathImageScale ?? 'auto');
|
|
@@ -2329,6 +2334,13 @@ export async function apply(ctx, runtimeConfig, configOwner = ctx, runtimeOption
|
|
|
2329
2334
|
return String(typeof value === 'boolean' ? value : config.mermaidDiagrams !== false);
|
|
2330
2335
|
},
|
|
2331
2336
|
},
|
|
2337
|
+
{
|
|
2338
|
+
...settingField('nerdFontIcons'),
|
|
2339
|
+
format(value) {
|
|
2340
|
+
// Unset in settings.yaml: the effective default is off.
|
|
2341
|
+
return String(typeof value === 'boolean' ? value : config.nerdFontIcons === true);
|
|
2342
|
+
},
|
|
2343
|
+
},
|
|
2332
2344
|
{
|
|
2333
2345
|
...settingField('taskNotifications'),
|
|
2334
2346
|
format: value => String(value ?? config.taskNotifications ?? 'unfocused'),
|
|
@@ -3676,6 +3688,18 @@ async function resolveAgent(ctx, requestedSessionId, configuredRoute, startupRou
|
|
|
3676
3688
|
// terminal). Fail the boot loudly instead; the loader surfaces this to
|
|
3677
3689
|
// stderr. The in-session /resume picker has its own error path.
|
|
3678
3690
|
const reason = error instanceof Error ? error.message : String(error);
|
|
3691
|
+
// The preset's setup also runs inside `agents.resume`, so the same disabled
|
|
3692
|
+
// Host row fails here; name it instead of blaming the session log (#1842).
|
|
3693
|
+
const hostService = describeMissingHostService(ctx, reason);
|
|
3694
|
+
if (hostService !== undefined) {
|
|
3695
|
+
// The diagnostic goes first: the startup notice (`onOpenFailed` in
|
|
3696
|
+
// channel/core/compose.ts) keeps only the first line, so a diagnostic
|
|
3697
|
+
// appended after the cause would never reach the TUI (issue #1842).
|
|
3698
|
+
// The recovery hint rides the second notice row via StartupOpenError.
|
|
3699
|
+
// It leads with both exits, so a narrow window truncates the package
|
|
3700
|
+
// name instead of /kernel and /quit.
|
|
3701
|
+
throw new StartupOpenError(`${hostService.detail}\ndsh-tui: cannot resume session "${requestedSessionId}": ${reason}`, t('startup-host-row-disabled-hint', { pkg: hostService.packageName }), { cause: error });
|
|
3702
|
+
}
|
|
3679
3703
|
throw new Error(`dsh-tui: cannot resume session "${requestedSessionId}": ${reason} — ` +
|
|
3680
3704
|
'the stored log is unreadable or corrupt; no fresh session was started instead. ' +
|
|
3681
3705
|
'Drop --resume to start fresh, or repair the session log first.', { cause: error });
|
|
@@ -3737,7 +3761,20 @@ async function resolveAgent(ctx, requestedSessionId, configuredRoute, startupRou
|
|
|
3737
3761
|
// Fail loud with the reason on stderr — a dead TUI with no message is
|
|
3738
3762
|
// the worst outcome for a misconfigured leaf (unknown provider/model).
|
|
3739
3763
|
const message = error instanceof Error ? error.message : String(error);
|
|
3740
|
-
|
|
3764
|
+
// When the row providing a Host service is disabled, the preset fails here
|
|
3765
|
+
// naming only the service; point at the disabled row and how to bring it
|
|
3766
|
+
// back instead (issue #1842).
|
|
3767
|
+
const hostService = describeMissingHostService(ctx, message);
|
|
3768
|
+
const failure = `dsh-tui: failed to create agent (provider=${route.provider}, model=${route.model}): ${message}`;
|
|
3769
|
+
// The diagnostic goes first: the in-session `/new` path (openDshSession)
|
|
3770
|
+
// surfaces this message in a one-line toast, which would otherwise show only
|
|
3771
|
+
// the wrapped cause and drop the row name. `/new` never reads the hint; only
|
|
3772
|
+
// the startup path renders `StartupOpenError.hint`, as the second notice row
|
|
3773
|
+
// (`onOpenFailed` in channel/core/compose.ts). The hint leads with both
|
|
3774
|
+
// exits, so a narrow window truncates the package name instead.
|
|
3775
|
+
throw hostService === undefined
|
|
3776
|
+
? new Error(failure, { cause: error })
|
|
3777
|
+
: new StartupOpenError(`${hostService.detail}\n${failure}`, t('startup-host-row-disabled-hint', { pkg: hostService.packageName }), { cause: error });
|
|
3741
3778
|
}
|
|
3742
3779
|
bootReservation?.settle();
|
|
3743
3780
|
return { agent: created.agent, handle: created, agentPreset: composed.agentPreset, route };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ToolPresentedFile } from '../adapter/ports/channel-view.js';
|
|
2
|
+
/** The `present` card shape; assignable to both call and result unions. */
|
|
3
|
+
export interface PresentToolView {
|
|
4
|
+
readonly card: 'files';
|
|
5
|
+
readonly files: readonly ToolPresentedFile[];
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Render `present` as its delivery card. Returns undefined for any other tool
|
|
9
|
+
* or an argument set without files, so the registry/raw-text path still owns
|
|
10
|
+
* everything else.
|
|
11
|
+
* @param name - Model-facing tool name.
|
|
12
|
+
* @param rawArgs - The call's raw JSON arguments.
|
|
13
|
+
* @param cwd - Session working directory (the result's `meta.cwd`), used as a
|
|
14
|
+
* fallback to resolve relative paths for size/mtime metadata.
|
|
15
|
+
* @param resultPaths - Absolute paths parsed from the settled result's
|
|
16
|
+
* `Presented <path>` lines, in call order; used for the click target and
|
|
17
|
+
* metadata when present.
|
|
18
|
+
*/
|
|
19
|
+
export declare function presentToolView(name: string, rawArgs: string, cwd?: string, resultPaths?: readonly string[]): PresentToolView | undefined;
|
|
20
|
+
//# sourceMappingURL=present-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"present-tool.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/present-tool.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,2EAA2E;AAC3E,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,SAAS,iBAAiB,EAAE,CAAA;CAC7C;AA+DD;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,GAAG,CAAC,EAAE,MAAM,EACZ,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,GAC9B,eAAe,GAAG,SAAS,CAI7B"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `present` tool's transcript card. `present` declares final deliverables
|
|
3
|
+
* (`{ files: [{ path, description? }] }`) and appends a durable
|
|
4
|
+
* `deliverables/presented` session event, but registers no dsh-tools
|
|
5
|
+
* `presentCall`/`presentResult` presenter — without this local card the
|
|
6
|
+
* transcript dumps the raw argument JSON and a `Presented <path>` text line.
|
|
7
|
+
*
|
|
8
|
+
* The settled result carries the same files as plain text, so both sides read
|
|
9
|
+
* the call arguments: that survives replay from the durable log and needs no
|
|
10
|
+
* deliverable event. The result text also lists the absolute path the tool
|
|
11
|
+
* resolved each file to; matching those lines by position gives relative
|
|
12
|
+
* paths a stable click target and the size/mtime shown next to each name.
|
|
13
|
+
* The result's `meta.cwd` is a fallback for hosts that attach one; a failed
|
|
14
|
+
* stat only drops that metadata. The card is language-neutral on purpose; the
|
|
15
|
+
* card component localizes its count title and formats times at render time.
|
|
16
|
+
*/
|
|
17
|
+
import { statSync } from 'node:fs';
|
|
18
|
+
import { isAbsolute, resolve } from 'node:path';
|
|
19
|
+
const TOOL_NAME = 'present';
|
|
20
|
+
function parseArgs(rawArgs) {
|
|
21
|
+
try {
|
|
22
|
+
return JSON.parse(rawArgs);
|
|
23
|
+
}
|
|
24
|
+
catch {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
/** Size/mtime when the path resolves and still names a regular file. */
|
|
29
|
+
function fileMeta(path, cwd) {
|
|
30
|
+
const absolute = isAbsolute(path) ? path : cwd === undefined ? undefined : resolve(cwd, path);
|
|
31
|
+
// A relative path without the result's cwd cannot be resolved here.
|
|
32
|
+
if (absolute === undefined)
|
|
33
|
+
return {};
|
|
34
|
+
try {
|
|
35
|
+
const info = statSync(absolute);
|
|
36
|
+
return info.isFile() ? { size: info.size, mtimeMs: info.mtimeMs } : {};
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
return {};
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
/** Validate the declared files; anything malformed contributes nothing. */
|
|
43
|
+
function declaredFiles(value, cwd, resultPaths) {
|
|
44
|
+
if (value === null || typeof value !== 'object')
|
|
45
|
+
return undefined;
|
|
46
|
+
const files = value.files;
|
|
47
|
+
if (!Array.isArray(files))
|
|
48
|
+
return undefined;
|
|
49
|
+
// The tool renders one `Presented <absolute>` line per declared file, in
|
|
50
|
+
// call order. Use them only when the result has exactly the same count, so
|
|
51
|
+
// a truncated/foreign result can never shift a path onto the wrong file.
|
|
52
|
+
const targets = resultPaths?.length === files.length ? resultPaths : undefined;
|
|
53
|
+
const out = [];
|
|
54
|
+
for (let index = 0; index < files.length; index += 1) {
|
|
55
|
+
const entry = files[index];
|
|
56
|
+
if (entry === null || typeof entry !== 'object')
|
|
57
|
+
continue;
|
|
58
|
+
const record = entry;
|
|
59
|
+
if (typeof record.path !== 'string' || record.path.trim() === '')
|
|
60
|
+
continue;
|
|
61
|
+
const description = typeof record.description === 'string' ? record.description.trim() : '';
|
|
62
|
+
const resultTarget = targets?.[index];
|
|
63
|
+
// Prefer the path the tool resolved; otherwise resolve against the
|
|
64
|
+
// result cwd so both the row action and the metadata name one file.
|
|
65
|
+
const target = resultTarget !== undefined && isAbsolute(resultTarget)
|
|
66
|
+
? resultTarget
|
|
67
|
+
: cwd !== undefined && !isAbsolute(record.path)
|
|
68
|
+
? resolve(cwd, record.path)
|
|
69
|
+
: undefined;
|
|
70
|
+
out.push({
|
|
71
|
+
path: record.path,
|
|
72
|
+
...(target !== undefined && target !== record.path ? { target } : {}),
|
|
73
|
+
...(description === '' ? {} : { description }),
|
|
74
|
+
...fileMeta(target ?? record.path, cwd),
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
return out.length === 0 ? undefined : out;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Render `present` as its delivery card. Returns undefined for any other tool
|
|
81
|
+
* or an argument set without files, so the registry/raw-text path still owns
|
|
82
|
+
* everything else.
|
|
83
|
+
* @param name - Model-facing tool name.
|
|
84
|
+
* @param rawArgs - The call's raw JSON arguments.
|
|
85
|
+
* @param cwd - Session working directory (the result's `meta.cwd`), used as a
|
|
86
|
+
* fallback to resolve relative paths for size/mtime metadata.
|
|
87
|
+
* @param resultPaths - Absolute paths parsed from the settled result's
|
|
88
|
+
* `Presented <path>` lines, in call order; used for the click target and
|
|
89
|
+
* metadata when present.
|
|
90
|
+
*/
|
|
91
|
+
export function presentToolView(name, rawArgs, cwd, resultPaths) {
|
|
92
|
+
if (name !== TOOL_NAME)
|
|
93
|
+
return undefined;
|
|
94
|
+
const files = declaredFiles(parseArgs(rawArgs), cwd, resultPaths);
|
|
95
|
+
return files === undefined ? undefined : { card: 'files', files };
|
|
96
|
+
}
|
package/lib/types/i18n.d.ts
CHANGED
|
@@ -1146,6 +1146,10 @@ declare const dict: {
|
|
|
1146
1146
|
readonly zh: "启动日志:{{path}} · /kernel 切换内核 · /quit 退出";
|
|
1147
1147
|
readonly en: "Startup log: {{path}} · /kernel to switch kernel · /quit to exit";
|
|
1148
1148
|
};
|
|
1149
|
+
readonly 'startup-host-row-disabled-hint': {
|
|
1150
|
+
readonly zh: "/kernel · /quit · 让 {{pkg}} 与 dsh 对齐";
|
|
1151
|
+
readonly en: "/kernel · /quit · align {{pkg}} with dsh";
|
|
1152
|
+
};
|
|
1149
1153
|
readonly 'status-starting': {
|
|
1150
1154
|
readonly zh: "正在启动 {{backend}}…";
|
|
1151
1155
|
readonly en: "Starting {{backend}}…";
|
|
@@ -3467,6 +3471,17 @@ declare const dict: {
|
|
|
3467
3471
|
readonly zh: "子代理";
|
|
3468
3472
|
readonly en: "Task";
|
|
3469
3473
|
};
|
|
3474
|
+
readonly 'tool-name-present': {
|
|
3475
|
+
readonly zh: "交付";
|
|
3476
|
+
readonly en: "Present";
|
|
3477
|
+
};
|
|
3478
|
+
readonly 'tool-present-files': {
|
|
3479
|
+
readonly zh: "{{count}} 个文件";
|
|
3480
|
+
readonly en: {
|
|
3481
|
+
readonly one: "{{count}} file";
|
|
3482
|
+
readonly other: "{{count}} files";
|
|
3483
|
+
};
|
|
3484
|
+
};
|
|
3470
3485
|
readonly 'tool-name-team-message': {
|
|
3471
3486
|
readonly zh: "团队消息";
|
|
3472
3487
|
readonly en: "Message";
|
package/lib/types/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AAOH,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAI9B,+DAA+D;AAC/D,eAAO,MAAM,KAAK,uBAAwB,CAAA;AAE1C;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;GASG;AACH,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAE,UAAe,GAAG,MAAM,CAGlF;AAED,4EAA4E;AAC5E,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,EAAE,CAAC,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC,CAAQ,CAAA;AAI1G;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAS5D;AAED,wEAAwE;AACxE,wBAAgB,YAAY,CAAC,GAAG,GAAE,MAAkB,GAAG,IAAI,GAAG,SAAS,CAMtE;AAED,iDAAiD;AACjD,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,GAAE,MAAkB,GAAG,OAAO,CAU1E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAWvC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAIzC"}
|
package/lib/types/i18n.js
CHANGED
|
@@ -384,6 +384,9 @@ const dict = {
|
|
|
384
384
|
'startup-open-failed-hint': { zh: '/new 重试 · /kernel 切换内核 · /quit 退出', en: '/new to retry · /kernel to switch kernel · /quit to exit' },
|
|
385
385
|
'startup-compose-failed-hint': { zh: 'DSH 没能启动 · /kernel 切换内核 · /quit 退出', en: 'DSH did not start · /kernel to switch kernel · /quit to exit' },
|
|
386
386
|
'startup-compose-failed-hint-log': { zh: '启动日志:{{path}} · /kernel 切换内核 · /quit 退出', en: 'Startup log: {{path}} · /kernel to switch kernel · /quit to exit' },
|
|
387
|
+
// Leads with both exits: the notice row truncates from the right, and the
|
|
388
|
+
// package name is the only variable-length part.
|
|
389
|
+
'startup-host-row-disabled-hint': { zh: '/kernel · /quit · 让 {{pkg}} 与 dsh 对齐', en: '/kernel · /quit · align {{pkg}} with dsh' },
|
|
387
390
|
'status-starting': { zh: '正在启动 {{backend}}…', en: 'Starting {{backend}}…' },
|
|
388
391
|
'host-dsh-unavailable': { zh: '没有用上已安装的 dsh:{{reason}}', en: 'Not using the installed dsh: {{reason}}' },
|
|
389
392
|
'resume-raced': { zh: '会话打开期间当前会话开始了新的回合,已取消恢复;该回合在当前会话中继续', en: 'The current session started a turn while the other one was opening — the resume was cancelled; the turn continues here' },
|
|
@@ -1127,6 +1130,9 @@ const dict = {
|
|
|
1127
1130
|
'tool-name-write': { zh: '写入', en: 'Write' },
|
|
1128
1131
|
'tool-name-todo_write': { zh: '待办清单', en: 'TodoWrite' },
|
|
1129
1132
|
'tool-name-subagent': { zh: '子代理', en: 'Task' },
|
|
1133
|
+
// `present` 的交付卡:工具名 + 文件计数标题(卡头 `交付(2 个文件)`)。
|
|
1134
|
+
'tool-name-present': { zh: '交付', en: 'Present' },
|
|
1135
|
+
'tool-present-files': { zh: '{{count}} 个文件', en: { one: '{{count}} file', other: '{{count}} files' } },
|
|
1130
1136
|
// Agent Teams tools (dsh-adapter/team-tools.ts supplies these as displayKey).
|
|
1131
1137
|
'tool-name-team-message': { zh: '团队消息', en: 'Message' },
|
|
1132
1138
|
'tool-name-team-roster': { zh: '团队成员', en: 'Team' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollBox.d.ts","sourceRoot":"","sources":["../../../../src/ink/components/ScrollBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,GAAG,EAAsD,MAAM,OAAO,CAAC;AACpH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAM5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,eAAe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;;;;;OAOG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAC,GAAG;IACjG,GAAG,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAC;IAC3B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;;;;;;;;GASG;AACH,iBAAS,SAAS,CAAC,EACjB,QAAQ,EACR,GAAG,EACH,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,SAAS,CAgUrD;AACD,eAAe,SAAS,CAAC"}
|
|
@@ -110,6 +110,10 @@ function ScrollBox({ children, ref, stickyScroll, ...style }) {
|
|
|
110
110
|
// breaks stickiness. Render code checks ?? precedence.
|
|
111
111
|
el.stickyScroll = false;
|
|
112
112
|
el.pendingScrollDelta = undefined;
|
|
113
|
+
el.scrollFollowPending = false;
|
|
114
|
+
// The next paint establishes a new follow baseline at the jump target,
|
|
115
|
+
// so a wheel in the same input batch cannot include the jump distance.
|
|
116
|
+
el.scrollPaintedTop = undefined;
|
|
113
117
|
el.scrollAnchor = undefined;
|
|
114
118
|
el.scrollTop = Math.max(0, Math.floor(y));
|
|
115
119
|
scrollMutated(el);
|
|
@@ -120,6 +124,8 @@ function ScrollBox({ children, ref, stickyScroll, ...style }) {
|
|
|
120
124
|
return;
|
|
121
125
|
box.stickyScroll = false;
|
|
122
126
|
box.pendingScrollDelta = undefined;
|
|
127
|
+
box.scrollFollowPending = false;
|
|
128
|
+
box.scrollPaintedTop = undefined;
|
|
123
129
|
box.scrollAnchor = {
|
|
124
130
|
el,
|
|
125
131
|
offset
|
|
@@ -185,6 +191,8 @@ function ScrollBox({ children, ref, stickyScroll, ...style }) {
|
|
|
185
191
|
const viewportH = el.scrollViewportHeight ?? 0;
|
|
186
192
|
const maxScroll = Math.max(0, (el.scrollHeight ?? 0) - viewportH);
|
|
187
193
|
el.pendingScrollDelta = undefined;
|
|
194
|
+
el.scrollFollowPending = false;
|
|
195
|
+
el.scrollPaintedTop = undefined;
|
|
188
196
|
el.stickyScroll = true;
|
|
189
197
|
// Jump intent is not wheel debt: mounting the union of the current
|
|
190
198
|
// position and a far pending delta defeats virtualization. MessageList's
|
|
@@ -252,6 +260,11 @@ function ScrollBox({ children, ref, stickyScroll, ...style }) {
|
|
|
252
260
|
if (next === current)
|
|
253
261
|
return;
|
|
254
262
|
el.scrollTop = next;
|
|
263
|
+
// Keep the painted baseline in the same content coordinates without
|
|
264
|
+
// consuming the wheel remainder still waiting behind a mount clamp.
|
|
265
|
+
if (el.scrollPaintedTop !== undefined) {
|
|
266
|
+
el.scrollPaintedTop += next - current;
|
|
267
|
+
}
|
|
255
268
|
// This moves content coordinates, not user intent. Translate the trusted
|
|
256
269
|
// bottom by the applied delta so a positive remeasurement cannot look
|
|
257
270
|
// like scrolling past the old max and accidentally restore sticky.
|
package/lib/types/ink/dom.d.ts
CHANGED
|
@@ -41,6 +41,9 @@ export type DOMElement = {
|
|
|
41
41
|
scrollHeight?: number;
|
|
42
42
|
scrollViewportHeight?: number;
|
|
43
43
|
scrollViewportTop?: number;
|
|
44
|
+
scrollBoxY?: number;
|
|
45
|
+
scrollPaintedTop?: number;
|
|
46
|
+
scrollFollowPending?: boolean;
|
|
44
47
|
scrollPrevMax?: number;
|
|
45
48
|
stickyScroll?: boolean;
|
|
46
49
|
onStickyRestore?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../../src/ink/dom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAOlD,OAAO,KAAK,EAAE,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