@deepseek-harness-tui/dsh-tui 0.17.0 → 0.18.0
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 +10 -8
- package/cli/adapters/dsh/index.mjs +2 -2
- package/guide/dsh-tui-guide/cli.en.md +1 -1
- package/guide/dsh-tui-guide/cli.md +1 -1
- package/guide/dsh-tui-guide/configuration.en.md +3 -2
- package/guide/dsh-tui-guide/configuration.md +3 -2
- package/guide/dsh-tui-guide/getting-started.en.md +6 -2
- package/guide/dsh-tui-guide/getting-started.md +4 -1
- package/guide/dsh-tui-guide/interaction.en.md +28 -7
- package/guide/dsh-tui-guide/interaction.md +17 -5
- package/guide/dsh-tui-guide/plugins.en.md +28 -7
- package/guide/dsh-tui-guide/plugins.md +18 -5
- package/guide/dsh-tui-guide/user-guide.en.md +29 -15
- package/guide/dsh-tui-guide/user-guide.md +20 -10
- package/lib/settings.json +3 -3
- package/lib/types/adapter/channel/ui-policy.d.ts +1 -0
- package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
- package/lib/types/adapter/channel/ui-policy.js +1 -0
- package/lib/types/adapter/ports/channel-ui.d.ts +5 -0
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-view.d.ts +3 -0
- package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
- package/lib/types/adapter/standard/grants.d.ts +60 -0
- package/lib/types/adapter/standard/grants.d.ts.map +1 -1
- package/lib/types/adapter/standard/grants.js +74 -0
- package/lib/types/agent/events.d.ts +7 -1
- package/lib/types/agent/events.d.ts.map +1 -1
- package/lib/types/commands.js +1 -1
- package/lib/types/components/GoalTodoPanel.d.ts +71 -6
- package/lib/types/components/GoalTodoPanel.d.ts.map +1 -1
- package/lib/types/components/GoalTodoPanel.js +165 -17
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +3 -2
- package/lib/types/components/PluginGrantList.d.ts +45 -0
- package/lib/types/components/PluginGrantList.d.ts.map +1 -0
- package/lib/types/components/PluginGrantList.js +126 -0
- package/lib/types/components/PluginInstallPane.d.ts.map +1 -1
- package/lib/types/components/PluginInstallPane.js +35 -6
- package/lib/types/components/PluginManagePane.d.ts.map +1 -1
- package/lib/types/components/PluginManagePane.js +65 -8
- package/lib/types/components/PromptInput.js +2 -2
- package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
- package/lib/types/components/SubagentDashboard.js +10 -0
- package/lib/types/components/SubagentDetailScene.d.ts.map +1 -1
- package/lib/types/components/SubagentDetailScene.js +12 -0
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +2 -1
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +11 -5
- package/lib/types/components/onboardingModel.d.ts +2 -2
- package/lib/types/components/onboardingModel.js +3 -3
- package/lib/types/components/onboardingProviderPlan.d.ts +110 -0
- package/lib/types/components/onboardingProviderPlan.d.ts.map +1 -0
- package/lib/types/components/onboardingProviderPlan.js +78 -0
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts +7 -0
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwComposer.js +16 -0
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.js +8 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts +7 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.js +8 -1
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.d.ts +30 -0
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.d.ts.map +1 -0
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.js +94 -0
- package/lib/types/components/sidePanel/builtinPanels.d.ts.map +1 -1
- package/lib/types/components/sidePanel/builtinPanels.js +14 -2
- package/lib/types/components/sidePanel/types.d.ts +2 -0
- package/lib/types/components/sidePanel/types.d.ts.map +1 -1
- package/lib/types/components/sidePanel/useSidePanel.d.ts.map +1 -1
- package/lib/types/components/sidePanel/useSidePanel.js +15 -1
- package/lib/types/dsh-adapter/backend/session.d.ts +7 -1
- package/lib/types/dsh-adapter/backend/session.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/session.js +62 -6
- package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/translate.js +9 -5
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/agent-view-projection.js +3 -1
- package/lib/types/dsh-adapter/channel/composer-images.d.ts +2 -0
- package/lib/types/dsh-adapter/channel/composer-images.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-images.js +10 -2
- package/lib/types/dsh-adapter/channel/composer-mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-mentions.js +22 -7
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/context-bookkeeping.js +9 -5
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts +6 -0
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/binding-feed.js +35 -1
- package/lib/types/dsh-adapter/channel/core/compose.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/core/compose.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/compose.js +5 -0
- package/lib/types/dsh-adapter/channel/input-actions.d.ts +2 -2
- package/lib/types/dsh-adapter/channel/input-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-actions.js +30 -0
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-delivery.js +8 -4
- package/lib/types/dsh-adapter/channel/mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/mentions.js +21 -7
- package/lib/types/dsh-adapter/channel/paths.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/paths.js +11 -9
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.js +6 -1
- package/lib/types/dsh-adapter/channel/session-reset.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.js +3 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.js +10 -3
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-rewind.js +3 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.js +3 -1
- package/lib/types/dsh-adapter/contract.d.ts +4 -3
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +6 -3
- package/lib/types/dsh-adapter/entry-slot.d.ts +6 -0
- package/lib/types/dsh-adapter/entry-slot.d.ts.map +1 -1
- package/lib/types/dsh-adapter/experimental-bundles.d.ts +3 -0
- package/lib/types/dsh-adapter/experimental-bundles.d.ts.map +1 -1
- package/lib/types/dsh-adapter/experimental-bundles.js +4 -0
- package/lib/types/dsh-adapter/grant-file.d.ts +70 -0
- package/lib/types/dsh-adapter/grant-file.d.ts.map +1 -0
- package/lib/types/dsh-adapter/grant-file.js +178 -0
- package/lib/types/dsh-adapter/host-access.d.ts +4 -0
- package/lib/types/dsh-adapter/host-access.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-access.js +54 -4
- package/lib/types/dsh-adapter/host-contract.d.ts +1 -1
- package/lib/types/dsh-adapter/host-contract.js +2 -2
- package/lib/types/dsh-adapter/host-dsh.js +3 -3
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +8 -5
- package/lib/types/dsh-adapter/panels.d.ts +7 -1
- package/lib/types/dsh-adapter/panels.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-declaration.d.ts +28 -0
- package/lib/types/dsh-adapter/plugin-declaration.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-declaration.js +43 -1
- package/lib/types/dsh-adapter/plugin-install.d.ts +28 -1
- package/lib/types/dsh-adapter/plugin-install.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-install.js +160 -13
- package/lib/types/dsh-adapter/plugin-manage.d.ts +53 -10
- package/lib/types/dsh-adapter/plugin-manage.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-manage.js +240 -51
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +64 -18
- package/lib/types/dsh-adapter/plugins-info.d.ts +6 -7
- package/lib/types/dsh-adapter/plugins-info.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugins-info.js +34 -21
- package/lib/types/dsh-adapter/presets.d.ts +6 -2
- package/lib/types/dsh-adapter/presets.d.ts.map +1 -1
- package/lib/types/dsh-adapter/presets.js +23 -5
- package/lib/types/dsh-adapter/process-exit.d.ts +1 -1
- package/lib/types/dsh-adapter/process-exit.js +1 -1
- package/lib/types/dsh-adapter/providerWizard.d.ts +2 -0
- package/lib/types/dsh-adapter/providerWizard.d.ts.map +1 -1
- package/lib/types/dsh-adapter/providerWizard.js +11 -5
- package/lib/types/dsh-adapter/row-attachment.d.ts +30 -0
- package/lib/types/dsh-adapter/row-attachment.d.ts.map +1 -0
- package/lib/types/dsh-adapter/row-attachment.js +29 -0
- package/lib/types/dsh-adapter/worktree-tool.d.ts +27 -0
- package/lib/types/dsh-adapter/worktree-tool.d.ts.map +1 -0
- package/lib/types/dsh-adapter/worktree-tool.js +87 -0
- package/lib/types/heldInputs.d.ts +36 -0
- package/lib/types/heldInputs.d.ts.map +1 -0
- package/lib/types/heldInputs.js +173 -0
- package/lib/types/i18n.d.ts +352 -25
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +171 -18
- package/lib/types/onboardingDraft.d.ts +143 -0
- package/lib/types/onboardingDraft.d.ts.map +1 -0
- package/lib/types/onboardingDraft.js +71 -0
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +90 -30
- package/lib/types/screens/Onboarding.d.ts +22 -3
- package/lib/types/screens/Onboarding.d.ts.map +1 -1
- package/lib/types/screens/Onboarding.js +606 -36
- package/lib/types/settings/definitions.js +2 -2
- package/lib/types/utils/paths.d.ts +15 -0
- package/lib/types/utils/paths.d.ts.map +1 -1
- package/lib/types/utils/paths.js +25 -0
- package/package.json +111 -108
- package/tui-profile/feed/README.md +1 -1
- package/tui-profile/feed/first-party.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-access.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/host-access.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAS,MAAM,qBAAqB,CAAA;AAmLpD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,IAAI,CAKlE;AAWD;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAE1D;AAkID;;uEAEuE;AACvE,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,GAAG,CAAC,CAE9D;
|
|
1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,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAehH;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAmBlG"}
|
|
@@ -352,6 +352,12 @@ function currentActivationIsPlugin(root) {
|
|
|
352
352
|
export function withHostRootCapability(callback) {
|
|
353
353
|
return hostCapabilityStorage.run(true, callback);
|
|
354
354
|
}
|
|
355
|
+
/** Run host code outside the plugin activation that triggered it: an action
|
|
356
|
+
* the entry owns, which a row only sets off (the screen reopening its session
|
|
357
|
+
* when the dsh-tui row applies again), acts as the entry, not as that row. */
|
|
358
|
+
export function outsideActivation(callback) {
|
|
359
|
+
return activationStorage.exit(callback);
|
|
360
|
+
}
|
|
355
361
|
function rejectRootCapability(root, capability) {
|
|
356
362
|
if (currentActivationIsPlugin(root)) {
|
|
357
363
|
throw new Error(`dsh-tui: ${capability} is unavailable from a plugin activation`);
|
|
@@ -379,12 +385,15 @@ function guardRootCapabilities(root) {
|
|
|
379
385
|
const registry = concreteService(root.registry);
|
|
380
386
|
if (!guardedRootRegistries.has(registry)) {
|
|
381
387
|
guardedRootRegistries.add(registry);
|
|
388
|
+
// Mutations only. Reads move nothing, and `root.registry` should behave
|
|
389
|
+
// like `ctx.registry`, which the guard never inspected: `getTraceable`
|
|
390
|
+
// rebinds a service to its caller's context, so only the `root.` alias
|
|
391
|
+
// ever resolved to the root receiver. Cordis itself reads through this
|
|
392
|
+
// alias too — `ReflectService.notify` calls `this.ctx.registry.values()`
|
|
393
|
+
// after a `provide()` (cordis lib/index.js).
|
|
382
394
|
guardServiceMethod(registry, 'inject', root, 'root.inject', true);
|
|
383
395
|
guardServiceMethod(registry, 'plugin', root, 'root.plugin', true);
|
|
384
396
|
guardServiceMethod(registry, 'delete', root, 'root.registry.delete', true);
|
|
385
|
-
for (const method of ['resolve', 'get', 'has', 'keys', 'values', 'entries', 'forEach']) {
|
|
386
|
-
guardServiceMethod(registry, method, root, `root.registry.${method}`, true);
|
|
387
|
-
}
|
|
388
397
|
}
|
|
389
398
|
}
|
|
390
399
|
catch {
|
|
@@ -394,7 +403,18 @@ function guardRootCapabilities(root) {
|
|
|
394
403
|
const events = concreteService(root.events);
|
|
395
404
|
if (!guardedRootEvents.has(events)) {
|
|
396
405
|
guardedRootEvents.add(events);
|
|
397
|
-
|
|
406
|
+
// Dispatch stays open; subscribing stays closed. `waterfall` also carries
|
|
407
|
+
// Cordis' own `internal/get` / `internal/set` resolution, so treating it
|
|
408
|
+
// as a hook surface would put the service system behind the guard. What
|
|
409
|
+
// #1765 actually hit was the config-reload `emit` that `recompose()`
|
|
410
|
+
// performs on the root context at the end of a web-originated save: a
|
|
411
|
+
// property read on `root` short-circuits before `internal/get`, so the
|
|
412
|
+
// emit is the only stop that failed. Subscribing stays refused —
|
|
413
|
+
// `on`/`once`/`register`/`unregister` pin a listener to the root past
|
|
414
|
+
// the activation that added it. That covers the direct subscription
|
|
415
|
+
// methods only; Cordis' own `internal/listener` channel predates this
|
|
416
|
+
// guard and can still park a hook on the root fiber through `emit`.
|
|
417
|
+
for (const method of ['on', 'once', 'register', 'unregister']) {
|
|
398
418
|
guardServiceMethod(events, method, root, `root.events.${method}`, true);
|
|
399
419
|
}
|
|
400
420
|
}
|
|
@@ -413,6 +433,36 @@ function guardRootCapabilities(root) {
|
|
|
413
433
|
// Fall through when a minimal embedder omits reflection internals.
|
|
414
434
|
}
|
|
415
435
|
admitRootProjectionRegistrations(root);
|
|
436
|
+
installRootInvocationAccessor(root);
|
|
437
|
+
}
|
|
438
|
+
const invocationAccessorRoots = new WeakSet();
|
|
439
|
+
/**
|
|
440
|
+
* `dsh-typert-protocol` registers the `invocation` accessor on the root the
|
|
441
|
+
* first time any Remote service is constructed — "on the root, where it
|
|
442
|
+
* outlives any one Service". When that first Remote service activates after
|
|
443
|
+
* the guard (a dsh-base row resuming once the first TUI row installed it,
|
|
444
|
+
* #1616), the registration is refused and every later Remote service retries
|
|
445
|
+
* and fails the same way. The host installs that same root-owned property when
|
|
446
|
+
* it installs the guard, so the protocol finds it where it looks for it.
|
|
447
|
+
*
|
|
448
|
+
* This admits no activation: nothing here is owned by a plugin or released on
|
|
449
|
+
* its unload (the upstream contract puts the accessor on the root), a plugin
|
|
450
|
+
* gains no capability it lacked, and `root.accessor` from a plugin activation
|
|
451
|
+
* is still refused by the guard. A root without a reflection service keeps
|
|
452
|
+
* typert's own registration path and its refusal.
|
|
453
|
+
*/
|
|
454
|
+
function installRootInvocationAccessor(root) {
|
|
455
|
+
if (invocationAccessorRoots.has(root))
|
|
456
|
+
return;
|
|
457
|
+
invocationAccessorRoots.add(root);
|
|
458
|
+
try {
|
|
459
|
+
if (Object.hasOwn(root.reflect.props, 'invocation'))
|
|
460
|
+
return;
|
|
461
|
+
withHostRootCapability(() => root.accessor('invocation', { get: () => undefined }));
|
|
462
|
+
}
|
|
463
|
+
catch {
|
|
464
|
+
// A minimal embedder without a reflection service keeps the plain guard.
|
|
465
|
+
}
|
|
416
466
|
}
|
|
417
467
|
const projectionRegistryRoots = new WeakSet();
|
|
418
468
|
const guardedProjectionRegistries = new WeakSet();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/** The host CLI package whose installation the entry loads. */
|
|
8
8
|
export declare const HOST_PACKAGE = "@deepseek-ai/dsh";
|
|
9
9
|
/** The host line the reproduced pieces were checked against (host-replica.snapshot.json). */
|
|
10
|
-
export declare const HOST_REPLICA_VERSION = "0.2.1-rc.
|
|
10
|
+
export declare const HOST_REPLICA_VERSION = "0.2.1-rc.5";
|
|
11
11
|
/** Where the entry resolves a host module from. */
|
|
12
12
|
export type HostModuleVia =
|
|
13
13
|
/** The host package's own `createRequire` (its nested node_modules). */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/** The host CLI package whose installation the entry loads. */
|
|
8
8
|
export const HOST_PACKAGE = '@deepseek-ai/dsh';
|
|
9
9
|
/** The host line the reproduced pieces were checked against (host-replica.snapshot.json). */
|
|
10
|
-
export const HOST_REPLICA_VERSION = '0.2.1-rc.
|
|
10
|
+
export const HOST_REPLICA_VERSION = '0.2.1-rc.5';
|
|
11
11
|
/** The host modules the entry loads, all from one installation, in load order. */
|
|
12
12
|
export const HOST_MODULES = [
|
|
13
13
|
{ key: 'cordis', specifier: '@deepseek-ai/cordis', via: 'host', exports: ['Context'] },
|
|
@@ -70,7 +70,7 @@ export const HOST_DEVIATIONS = [
|
|
|
70
70
|
{ id: 'startup-report-always', what: 'bin.js saves a report for a StartupError only and lets other startup errors crash; the entry saves one for every composition failure (HostComposeError carries the path) because the screen stays up' },
|
|
71
71
|
{ id: 'startup-report-no-terminal', what: 'reportStartupFailure\'s terminal half is not reproduced: the screen is up, the failure row names the report' },
|
|
72
72
|
{ id: 'no-overlays', what: '--patch overlays, --from-default-profile and resolvedProfile are not reproduced (the launcher passes none)' },
|
|
73
|
-
{ id: 'defer-root-guard', what: 'deferRootCapabilityGuard(root) (host-access.ts) keeps the TUI\'s root-capability guard off from the entry\'s binding of the root through the screen\'s mount; armRootCapabilityGuard then lets the first TUI row activation install it, as on the profile path, and the composition\'s settling installs it if no TUI row activated' },
|
|
73
|
+
{ id: 'defer-root-guard', what: 'deferRootCapabilityGuard(root) (host-access.ts) keeps the TUI\'s root-capability guard off from the entry\'s binding of the root through the screen\'s mount; armRootCapabilityGuard then lets the first TUI row activation install it, as on the profile path, and the composition\'s settling installs it if no TUI row activated. Installing the guard also materializes the root-owned `invocation` accessor dsh-typert-protocol otherwise registers from the first Remote service, so a dsh-base row that resumes after the first TUI row (issue #1616) still activates; the guard itself is unchanged (verify-plugin-lifecycle)' },
|
|
74
74
|
{ id: 'report-exclude-network', what: 'host-entry.ts sets process.report.excludeNetwork = true for the process: DSH\'s flock libc probe (process.report.getReport) otherwise blocked ~10s on reverse lookups of sockets the mounted screen already opened' },
|
|
75
75
|
{ id: 'hijack-before-tui', what: 'the host\'s PluginPackages resolution is installed before any TUI module loads, for both kernels; runProfile installs it inside boot()\'s prepare' },
|
|
76
76
|
{ id: 'kernel-after-discovery', what: 'prepareHostRoot first supplies only the neutral Loader/resolution root; after backend assembly, HostRoot.selectKernel prepares DSH-only proxy, failure handlers and services from the same final kernel the entry uses for its slot and composition' },
|
|
@@ -391,7 +391,7 @@ function hostVersion(host) {
|
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
/**
|
|
394
|
-
* dsh `bin.js` reportStartupFailure (0.2.1-rc.
|
|
394
|
+
* dsh `bin.js` reportStartupFailure (0.2.1-rc.5), the file half only: the
|
|
395
395
|
* screen is up, so never stderr. Undefined when it could not be written.
|
|
396
396
|
*/
|
|
397
397
|
async function writeStartupReport(error, context) {
|
|
@@ -425,7 +425,7 @@ async function writeStartupReport(error, context) {
|
|
|
425
425
|
}
|
|
426
426
|
return logPath;
|
|
427
427
|
}
|
|
428
|
-
/** dsh `profile-boot` createAppReady (0.2.1-rc.
|
|
428
|
+
/** dsh `profile-boot` createAppReady (0.2.1-rc.5). */
|
|
429
429
|
function createAppReady() {
|
|
430
430
|
let ready = false;
|
|
431
431
|
const listeners = new Set();
|
|
@@ -450,7 +450,7 @@ function createAppReady() {
|
|
|
450
450
|
},
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
|
-
/** dsh `process-shutdown` createProcessShutdown (0.2.1-rc.
|
|
453
|
+
/** dsh `process-shutdown` createProcessShutdown (0.2.1-rc.5), the `shutdown` half only. */
|
|
454
454
|
function createProcessShutdown(dispose, timeoutMs = PROCESS_SHUTDOWN_TIMEOUT_MS) {
|
|
455
455
|
let pending;
|
|
456
456
|
let settled = false;
|
|
@@ -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,M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,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CA+BtF;AAqCD,OAAO,EACL,OAAO,EACP,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,oBAAoB,EACzB,KAAK,WAAW,GACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC3G,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -203,17 +203,20 @@ export async function apply(ctx, config) {
|
|
|
203
203
|
/** The row under the entry's screen: the DSH side in its own runtime fiber
|
|
204
204
|
* once the Loader settled, never a second render; a recompose stays idle. */
|
|
205
205
|
function attachToEntry(ctx, config) {
|
|
206
|
-
const attach = takeEntryAttach();
|
|
207
|
-
if (attach === undefined) {
|
|
208
|
-
ctx.logger.warn('dsh-tui: the entry\'s screen already holds a DSH session; this dsh-tui row stays idle');
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
206
|
let disposed = false;
|
|
212
207
|
ctx.effect(() => () => { disposed = true; });
|
|
213
208
|
const loader = ctx.get('loader');
|
|
214
209
|
void (loader?.await() ?? ctx.fiber.await()).then(() => {
|
|
215
210
|
if (disposed)
|
|
216
211
|
return;
|
|
212
|
+
// Taken only now: a row that unloads before the Loader settled leaves the
|
|
213
|
+
// first attach to the next row. A later row takes over only once the
|
|
214
|
+
// previous one unloaded (#1651).
|
|
215
|
+
const attach = takeEntryAttach() ?? peekEntrySlot()?.reattachDsh?.();
|
|
216
|
+
if (attach === undefined) {
|
|
217
|
+
ctx.logger.warn('dsh-tui: the entry\'s screen already holds a DSH session; this dsh-tui row stays idle');
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
217
220
|
return ctx.plugin({
|
|
218
221
|
name: 'dsh-tui-runtime',
|
|
219
222
|
apply: (runtimeCtx) => attach(runtimeCtx, config, ctx),
|
|
@@ -86,7 +86,13 @@ export interface TuiPanelUi {
|
|
|
86
86
|
}
|
|
87
87
|
export type TuiPanelBadgeLevel = 'info' | 'warning' | 'error';
|
|
88
88
|
export type TuiPanelMode = 'split' | 'zoom' | 'fullscreen';
|
|
89
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* v2.1 键盘契约的插件视图:preventDefault() = 阻止宿主回退键。
|
|
91
|
+
*
|
|
92
|
+
* 分栏渲染时 keymap 可重映射的 `paste` 组合(默认 Ctrl+V / Alt+V,macOS 上
|
|
93
|
+
* 还接受 Cmd+V)会先投递给活动面板;只看 `input` 字符的字母快捷键必须先
|
|
94
|
+
* 排除 `ctrl`/`meta`/`super`,否则粘贴键会误触自己的快捷键。
|
|
95
|
+
*/
|
|
90
96
|
export interface TuiPanelKeyEvent {
|
|
91
97
|
readonly input: string;
|
|
92
98
|
readonly key: import('../components/sidePanel/types.js').SidePanelKeyFlags;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panels.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/panels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAetD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAS3D,2DAA2D;AAC3D,eAAO,MAAM,qBAAqB,IAAI,CAAA;AAQtC,2BAA2B;AAC3B,eAAO,MAAM,qBAAqB,IAAI,CAAA;AACtC,8BAA8B;AAC9B,eAAO,MAAM,uBAAuB,KAAK,CAAA;AACzC,gCAAgC;AAChC,eAAO,MAAM,wBAAwB,OAAQ,CAAA;AAI7C,KAAK,yBAAyB,GAC1B,KAAK,GACL,UAAU,GACV,WAAW,GACX,eAAe,GACf,SAAS,GACT,gBAAgB,GAChB,QAAQ,GACR,eAAe,GACf,WAAW,GACX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,OAAO;QACf,SAAS,EAAE,eAAe,CAAA;KAC3B;CACF;AAED,eAAO,MAAM,IAAI,mBAAmB,CAAA;AAiCpC;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,OAAO;gBAC9B,GAAG,EAAE,OAAO;IA+CxB;;;;OAIG;IACH,QAAQ,CAAC,UAAU,EAAE,kBAAkB,EAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;IA4KtF,+BAA+B;IAC/B,IAAI,IAAI,SAAS,eAAe,EAAE;IAclC;;;;OAIG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAyBzB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAa1B,6BAA6B;IAC7B,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,KAAK,EAAE,kBAAkB,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,GAAG,OAAO;IA0BvF;6EACyE;IACzE,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,GAAG,MAAM,IAAI;CAoBhE;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,eAAe,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,CAOlG;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -63,6 +63,34 @@ export declare function declaredBackendsOf(record: unknown): DeclaredBackends;
|
|
|
63
63
|
* something this host cannot read.
|
|
64
64
|
*/
|
|
65
65
|
export declare function declaredBackendsIn(source: string): DeclaredBackends;
|
|
66
|
+
/**
|
|
67
|
+
* The permissions one package declares, and the component id they belong to.
|
|
68
|
+
*
|
|
69
|
+
* Grants are keyed by the declaration's `id`, never by the bundle/package name:
|
|
70
|
+
* the two are different identities, and a rule written under the package name
|
|
71
|
+
* would never authorize anything. Consumers share this one reader — the
|
|
72
|
+
* install confirmation, the lifecycle flows and the residual-footprint check —
|
|
73
|
+
* so no surface can disagree about which permissions a package declares.
|
|
74
|
+
*/
|
|
75
|
+
export interface DeclaredGrants {
|
|
76
|
+
readonly id: string;
|
|
77
|
+
readonly permissions: readonly {
|
|
78
|
+
readonly name: string;
|
|
79
|
+
readonly scope: string;
|
|
80
|
+
}[];
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The grants one `dsh-plugin.json` record declares, or `undefined` when the
|
|
84
|
+
* record is not a declaration this profile accepts. Parsing and projection are
|
|
85
|
+
* the same pair the admission path and `/plugin check` use (`parseManifest` +
|
|
86
|
+
* `projectManifest`), so "declared" means the same thing everywhere. A record
|
|
87
|
+
* that validates but declares no permissions answers `{ id, permissions: [] }`.
|
|
88
|
+
*/
|
|
89
|
+
export declare function declaredGrantsOf(record: unknown): DeclaredGrants | undefined;
|
|
90
|
+
/** {@link declaredGrantsOf} over a declaration's raw bytes. */
|
|
91
|
+
export declare function declaredGrantsIn(source: string): DeclaredGrants | undefined;
|
|
92
|
+
/** The grants of the package installed in this composition; `undefined` when unreadable. */
|
|
93
|
+
export declare function declaredGrantsAt(ctx: Context, packageName: string): DeclaredGrants | undefined;
|
|
66
94
|
/** This application's own package: the composition, never a plugin of it. */
|
|
67
95
|
export declare const COMPOSITION_PACKAGE = "@deepseek-harness-tui/dsh-tui";
|
|
68
96
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-declaration.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/plugin-declaration.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAgC,KAAK,WAAW,EAAE,MAAM,sCAAsC,CAAA;AAIrG,2EAA2E;AAC3E,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAED;;;;GAIG;AACH,wBAAg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;CACnF;AAUD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,cAAc,GAAG,SAAS,CAS5E;AAED,+DAA+D;AAC/D,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAQ3E;AAED,4FAA4F;AAC5F,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAG9F;AAED,6EAA6E;AAC7E,eAAO,MAAM,mBAAmB,kCAAkC,CAAA;AAElE;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAQpF;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,mBAAmB;AAC7B,0DAA0D;AACxD;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAAE;AAC/B,qEAAqE;GACnE;IAAE,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;CAAE;AACjC;;;;;;GAMG;GACD;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE;AACtD,wEAAwE;GACtE;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAAE,CAAA"}
|
|
@@ -17,7 +17,7 @@ import { existsSync, readFileSync } from 'node:fs';
|
|
|
17
17
|
import { findPackageJSON } from 'node:module';
|
|
18
18
|
import { dirname, join } from 'node:path';
|
|
19
19
|
import { BACKEND, validateBackendSpec } from '../adapter/spec/tui-contributions.js';
|
|
20
|
-
import { projectManifest } from '../adapter/standard/protocols.js';
|
|
20
|
+
import { parseManifest, projectManifest } from '../adapter/standard/protocols.js';
|
|
21
21
|
/**
|
|
22
22
|
* The package-root `dsh-plugin.json` of `packageName`, or `undefined` when the
|
|
23
23
|
* package is not resolvable from this composition or ships no declaration.
|
|
@@ -149,6 +149,48 @@ export function declaredBackendsIn(source) {
|
|
|
149
149
|
}
|
|
150
150
|
return declaredBackendsOf(parsed);
|
|
151
151
|
}
|
|
152
|
+
/** The projection's answer for one already-validated manifest. */
|
|
153
|
+
function declaredGrantsFrom(manifest) {
|
|
154
|
+
return {
|
|
155
|
+
id: manifest.id,
|
|
156
|
+
permissions: manifest.permissions.map(permission => ({ name: permission.name, scope: permission.scope })),
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* The grants one `dsh-plugin.json` record declares, or `undefined` when the
|
|
161
|
+
* record is not a declaration this profile accepts. Parsing and projection are
|
|
162
|
+
* the same pair the admission path and `/plugin check` use (`parseManifest` +
|
|
163
|
+
* `projectManifest`), so "declared" means the same thing everywhere. A record
|
|
164
|
+
* that validates but declares no permissions answers `{ id, permissions: [] }`.
|
|
165
|
+
*/
|
|
166
|
+
export function declaredGrantsOf(record) {
|
|
167
|
+
if (record === null || typeof record !== 'object' || Array.isArray(record))
|
|
168
|
+
return undefined;
|
|
169
|
+
try {
|
|
170
|
+
const manifest = parseManifest(JSON.stringify(record));
|
|
171
|
+
projectManifest(manifest);
|
|
172
|
+
return declaredGrantsFrom(manifest);
|
|
173
|
+
}
|
|
174
|
+
catch {
|
|
175
|
+
return undefined;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
/** {@link declaredGrantsOf} over a declaration's raw bytes. */
|
|
179
|
+
export function declaredGrantsIn(source) {
|
|
180
|
+
try {
|
|
181
|
+
const manifest = parseManifest(source);
|
|
182
|
+
projectManifest(manifest);
|
|
183
|
+
return declaredGrantsFrom(manifest);
|
|
184
|
+
}
|
|
185
|
+
catch {
|
|
186
|
+
return undefined;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
/** The grants of the package installed in this composition; `undefined` when unreadable. */
|
|
190
|
+
export function declaredGrantsAt(ctx, packageName) {
|
|
191
|
+
const declaration = pluginDeclarationOf(ctx, packageName);
|
|
192
|
+
return declaration === undefined ? undefined : declaredGrantsIn(declaration.source);
|
|
193
|
+
}
|
|
152
194
|
/** This application's own package: the composition, never a plugin of it. */
|
|
153
195
|
export const COMPOSITION_PACKAGE = '@deepseek-harness-tui/dsh-tui';
|
|
154
196
|
/**
|
|
@@ -28,7 +28,9 @@
|
|
|
28
28
|
*/
|
|
29
29
|
import type { Context } from '@deepseek-ai/cordis';
|
|
30
30
|
import type { ChangeResult, IncompatiblePlugin, InstallSpecKind, PluginInstallRequestId, Registry } from '@deepseek-ai/dsh-plugin-manager/types';
|
|
31
|
-
import { type
|
|
31
|
+
import { type GrantStore } from '../adapter/standard/grants.js';
|
|
32
|
+
import { type DeclaredGrants, type PluginInstallNotice } from './plugin-declaration.js';
|
|
33
|
+
import { type GrantPlan } from './grant-file.js';
|
|
32
34
|
import { type FirstPartyFeedLoad, type FirstPartyVerdict } from './plugin-feed.js';
|
|
33
35
|
import { type PluginInstallEvents, type PluginManagerView } from './plugin-manager.js';
|
|
34
36
|
/** How many lines of pnpm's output the failure report keeps. */
|
|
@@ -59,6 +61,21 @@ export type PluginInstallStep = {
|
|
|
59
61
|
readonly trust: FirstPartyVerdict;
|
|
60
62
|
/** Gate 1: what could be read about the package's declarations, before it lands. */
|
|
61
63
|
readonly notice: PluginInstallNotice;
|
|
64
|
+
/**
|
|
65
|
+
* The permissions this install would grant, when the declaration was
|
|
66
|
+
* readable before it landed. `undefined` covers "nothing declared" and
|
|
67
|
+
* "not readable yet" — the pane then shows no list.
|
|
68
|
+
*/
|
|
69
|
+
readonly grants: GrantPlan | undefined;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* A registry package landed with declared permissions that are not granted
|
|
73
|
+
* yet. The declaration only becomes readable once the package is on disk, so
|
|
74
|
+
* this is the point where the person can see the list and grant it.
|
|
75
|
+
*/
|
|
76
|
+
| {
|
|
77
|
+
readonly kind: 'grant';
|
|
78
|
+
readonly plan: GrantPlan;
|
|
62
79
|
}
|
|
63
80
|
/** pnpm was blocked by build scripts this profile has not approved. */
|
|
64
81
|
| {
|
|
@@ -112,6 +129,14 @@ export interface PluginInstallFlowOptions {
|
|
|
112
129
|
readonly profileName?: string | undefined;
|
|
113
130
|
/** The registry asked first. */
|
|
114
131
|
readonly registry?: Registry | undefined;
|
|
132
|
+
/** The live grant store: evaluates what is granted, and which names this host knows. */
|
|
133
|
+
readonly grants?: GrantStore | undefined;
|
|
134
|
+
/** The declaration of a package that is still a directory on this machine, by directory. */
|
|
135
|
+
readonly declaredGrantsOf?: ((directory: string) => DeclaredGrants | undefined) | undefined;
|
|
136
|
+
/** The declaration of a package that just landed, by package/bundle name. */
|
|
137
|
+
readonly installedGrantsOf?: ((packageName: string) => DeclaredGrants | undefined) | undefined;
|
|
138
|
+
/** Test override for the grants file's directory. */
|
|
139
|
+
readonly grantsDataDir?: string | undefined;
|
|
115
140
|
/** Injectable for a regression; a fresh process-unique id otherwise. */
|
|
116
141
|
readonly requestId?: PluginInstallRequestId | undefined;
|
|
117
142
|
}
|
|
@@ -121,6 +146,8 @@ export interface PluginInstallFlow {
|
|
|
121
146
|
begin(): Promise<PluginInstallStep>;
|
|
122
147
|
/** Answer a `confirm` step: proceed. */
|
|
123
148
|
confirm(): Promise<PluginInstallStep>;
|
|
149
|
+
/** Answer a `grant` step: write the declared permissions, then finish. */
|
|
150
|
+
grant(): Promise<PluginInstallStep>;
|
|
124
151
|
/** Answer a `build-blocked` step: allow these scripts and retry. */
|
|
125
152
|
approve(builds: readonly string[]): Promise<PluginInstallStep>;
|
|
126
153
|
/** Answer an `incompatible` step: exempt these exact versions and retry. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-install.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/plugin-install.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,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