@agi-fans/oh-my-dsh 0.27.0 → 0.29.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 CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **Into the Unknown**
8
8
 
9
- oh-my-dsh aims to be the best TUI companion for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). It brings Harness to the terminal with familiar behavior and interactions, careful visual design, and a focus on making everyday coding feel clear and fluid. Built on the published Harness plugin runtime, it runs as `omdsh`.
9
+ oh-my-dsh is a terminal coding agent built on [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). Launched as `omdsh`, it focuses on clear visual hierarchy, smooth keyboard-and-mouse controls, and reliable long-session workflows.
10
10
 
11
11
  [![CI](https://github.com/agi-fans/oh-my-dsh/actions/workflows/ci.yml/badge.svg)](https://github.com/agi-fans/oh-my-dsh/actions/workflows/ci.yml) [![npm version](https://img.shields.io/npm/v/%40agi-fans%2Foh-my-dsh?style=flat-square&logo=npm)](https://www.npmjs.com/package/@agi-fans/oh-my-dsh) [![npm downloads](https://img.shields.io/npm/dm/%40agi-fans%2Foh-my-dsh?style=flat-square&logo=npm)](https://www.npmjs.com/package/@agi-fans/oh-my-dsh) [![Node.js ^22.19 or >=24](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24-339933?style=flat-square&logo=node.js)](https://nodejs.org/) [![MIT License](https://img.shields.io/npm/l/%40agi-fans%2Foh-my-dsh?style=flat-square)](https://github.com/agi-fans/oh-my-dsh/blob/main/LICENSE)
12
12
 
@@ -16,79 +16,52 @@ oh-my-dsh aims to be the best TUI companion for [DeepSeek Harness](https://githu
16
16
 
17
17
  [![omdsh in Kaku — reading the README, replying, and folding completed work](https://raw.githubusercontent.com/agi-fans/oh-my-dsh/main/apps/site/public/omdsh-demo.gif)](https://github.com/agi-fans/oh-my-dsh/blob/main/apps/site/public/omdsh-demo.mp4)
18
18
 
19
- A 26-second terminal recording, captured with v0.22.0, shows omdsh reading the repository README and replying, folding the completed process into `Worked for 7s · Ctrl+O to expand`, then reopening the thinking and tool rows for review. The composer and footer stay at the bottom, showing context usage, cache hits, first-token latency, and token throughput. Click the preview for the full-resolution video.
19
+ A 26-second terminal recording (captured with v0.22.0) shows omdsh reading the repository README and replying, folding the completed work into a duration summary, then reopening thinking and tool rows for review. The input box and status footer stay anchored at the bottom, showing context usage, cache hits, first-token latency, and token throughput. Click the preview for the full-resolution video.
20
20
 
21
21
  <!-- User-recorded demo from iShot_2026-11-06_19.46.27.mp4, supplied on 2026-11-06. The video shows v0.22.0, deepseek-flash, and high reasoning. Original MP4 preserved at 1810 × 1276, 30 fps, 26.3 seconds. GIF and poster are derived from that recording. -->
22
22
 
23
23
  ## Quick start
24
24
 
25
- Requirements: Node.js 22.19 or later in the 22.x line, or Node.js 24 or newer, plus a DeepSeek account or API key for live model turns.
25
+ Requirements: Node.js 22.19+ (22.x) or Node.js 24+, plus a DeepSeek account or API key.
26
26
 
27
27
  ```sh
28
28
  npm install --global @agi-fans/oh-my-dsh
29
29
  omdsh
30
30
  ```
31
31
 
32
- Inside omdsh, run `/login` to sign in with a DeepSeek account or save an API key, then use `/model` to select your model. Account users choose a model under `deepseek-account`. Send a request to begin. You can also try `npx @agi-fans/oh-my-dsh` without a global installation. The [first-task tutorial](https://omdsh.agi.fans/docs/tutorials/first-task/) walks through sign-in and a project inspection.
32
+ Inside omdsh, run `/login` to sign in with a DeepSeek account or save an API key, then run `/model` to pick your model (account users choose a model under `deepseek-account`). You can also try `npx @agi-fans/oh-my-dsh` without a global install. Follow the [quick-start tutorial](https://omdsh.agi.fans/docs/tutorials/first-task/) to complete your first code edit and diff review in a few minutes.
33
33
 
34
- ## What makes omdsh different
34
+ ## Highlights
35
35
 
36
- - **A clear view of the work.** Thinking and tool calls begin as compact rows you can expand with the keyboard or a click on the disclosure arrow. Completed work folds into a duration summary, with replies and failure facts still visible. Full inputs and results are within reach.
37
- - **Careful terminal design.** Markdown, code, tables, and diffs have deliberate spacing and visual hierarchy. Dark and light palettes adapt Catppuccin Mocha and Latte, with a System option to follow terminal colors. Layout accounts for CJK text and emoji.
38
- - **Keyboard and mouse together.** Navigate with keys, scroll and open details with the mouse, select and copy text, or quote a selection into your draft. The composer and status footer stay anchored while you read.
39
- - **Familiar Harness controls.** Sign in with a DeepSeek account or API key, choose a model and reasoning effort, investigate in Plan mode, and set Access for the session. Harness plugins supply the underlying behavior and reusable Skills, MCP tools, and agent presets.
40
- - **A workflow that lasts beyond one turn.** Attach files and images, queue follow-ups, steer continuable child agents, and search or resume earlier sessions. Rewind, compact, and export as work grows, with native terminal scrollback preserved.
41
- - **Details when you need them.** Inspect context usage in `/context`, the execution history in `/trajectory`, and changed files in `/diff`. A configurable footer keeps useful telemetry close to the prompt.
36
+ - **Clear process, easy diff review.** Thinking and tool calls start compact and fold into a duration summary when finished, keeping answers and errors visible. Review edits side by side in `/diff`, quote lines straight back into your prompt, or press `Ctrl+O` anytime to inspect full tool details.
37
+ - **Careful terminal typography.** Markdown, code blocks, tables, and diffs have deliberate spacing and Catppuccin Dark, Light, or System palettes. Borders stay aligned with CJK text and emoji while preserving native terminal scrollback.
38
+ - **Fast context and side queries.** Reference files or past sessions with `@`, paste screenshots, run persistent shell commands directly from the input box with `!command`, or ask quick side questions with `/btw` without cluttering the main thread.
39
+ - **Stay in control of complex and multi-agent work.** Review plans with `/plan` before editing, queue, steer, or interrupt active turns, track long tasks with `/goal`, `/jobs`, and `/schedule`, and coordinate subagents, Codex/Claude Code integrations, or `/team` Agent Teams.
40
+ - **Branchable sessions and safe file recovery.** Search and resume earlier sessions, press `Esc` twice to explore conversation branches, restore file snapshots with `Alt+R` when an edit goes wrong, and check `/context`, `/trajectory`, and the live status footer anytime.
41
+ - **Extend without friction.** Capture team workflows in project `SKILL.md` files, add and probe MCP servers live in `/mcp` without restarting, connect local language servers (LSP) for accurate code navigation, and manage plugins or built-in integrations in `/plugins`.
42
42
 
43
43
  ## Find your way through the docs
44
44
 
45
- Start with the [tutorial guide](https://omdsh.agi.fans/docs/tutorials/), then follow the route that matches your work.
45
+ New to omdsh? Start with the [tutorial guide](https://omdsh.agi.fans/docs/tutorials/) in order, or jump straight to what you need:
46
46
 
47
47
  | You want to | Start here |
48
48
  |---|---|
49
- | Try omdsh and understand the interface | [Complete your first task](https://omdsh.agi.fans/docs/tutorials/first-task/), then [tune the working environment](https://omdsh.agi.fans/docs/tutorials/environment/) |
50
- | Use it for everyday coding | [Give precise context](https://omdsh.agi.fans/docs/tutorials/precise-context/), [guide an active turn](https://omdsh.agi.fans/docs/tutorials/guide-a-turn/), and [manage long sessions](https://omdsh.agi.fans/docs/tutorials/long-session/) |
51
- | Look up a control or diagnose a problem | [Commands](https://omdsh.agi.fans/docs/commands/), [keyboard and mouse](https://omdsh.agi.fans/docs/keyboard/), [settings](https://omdsh.agi.fans/docs/settings/), and [troubleshooting](https://omdsh.agi.fans/docs/troubleshooting/) |
52
- | Add project knowledge or capabilities | [Skills and MCP](https://omdsh.agi.fans/docs/tutorials/skills-and-mcp/), [language servers](https://omdsh.agi.fans/docs/language-servers/), and [user plugins](https://omdsh.agi.fans/docs/plugins/) |
53
- | Develop an integration | [Write a plugin](https://omdsh.agi.fans/docs/tutorials/write-a-plugin/), [plugin internals](https://omdsh.agi.fans/docs/plugin-internals/), and [architecture](https://omdsh.agi.fans/docs/architecture/) |
49
+ | Install, sign in, and complete your first code change | [Complete your first change](https://omdsh.agi.fans/docs/tutorials/first-task/), [Tune your terminal and models](https://omdsh.agi.fans/docs/tutorials/environment/) |
50
+ | Level up your everyday coding workflow | [Give precise context](https://omdsh.agi.fans/docs/tutorials/precise-context/), [Steer long tasks](https://omdsh.agi.fans/docs/tutorials/guide-a-turn/), [Subagents and Agent Teams](https://omdsh.agi.fans/docs/tutorials/multi-agent/), [Manage long sessions](https://omdsh.agi.fans/docs/tutorials/long-session/) |
51
+ | Add Skills, MCP, LSP, or plugins | [Skills and MCP tutorial](https://omdsh.agi.fans/docs/tutorials/skills-and-mcp/), [Install plugins and integrations](https://omdsh.agi.fans/docs/tutorials/install-plugin/), [Language servers](https://omdsh.agi.fans/docs/language-servers/) |
52
+ | Look up a command, shortcut, setting, or fix an issue | [Commands](https://omdsh.agi.fans/docs/commands/), [Keyboard and mouse](https://omdsh.agi.fans/docs/keyboard/), [Settings](https://omdsh.agi.fans/docs/settings/), [Status and diagnostics](https://omdsh.agi.fans/docs/observability/), [Troubleshooting](https://omdsh.agi.fans/docs/troubleshooting/) |
53
+ | Build a plugin or understand internals | [Write and publish a plugin](https://omdsh.agi.fans/docs/tutorials/write-a-plugin/), [Plugin internals](https://omdsh.agi.fans/docs/plugin-internals/), [Architecture](https://omdsh.agi.fans/docs/architecture/) |
54
54
 
55
- The bilingual Markdown under `apps/site/content/` is the documentation source of truth. To report a problem or suggest an improvement, use the [issue forms](https://github.com/agi-fans/oh-my-dsh/issues/new/choose).
55
+ The bilingual Markdown under `apps/site/content/` is the documentation source of truth. To report a bug or suggest an improvement, use the [issue forms](https://github.com/agi-fans/oh-my-dsh/issues/new/choose).
56
56
 
57
- ## How it fits with Harness
57
+ ## Everyday configuration
58
58
 
59
- DeepSeek Harness supplies the agent runtime and its “everything is a plugin” architecture. omdsh composes those published packages into a community terminal application. Harness owns sessions, models, tools, permissions, and their lifecycle. omdsh owns how you read, navigate, and interact with that work in a terminal.
59
+ Most configuration happens right inside the terminal—no manual config editing required:
60
60
 
61
- Alignment means carrying familiar Harness concepts and behavior into the constraints of terminal cells, keyboard input, and native scrollback. omdsh develops its own presentation around those constraints, with progressive disclosure, readable output, and consistent controls as its priorities. Current coverage and limitations are documented in the feature references.
62
-
63
- ## Architecture
64
-
65
- ```text
66
- DeepSeek Harness plugins and services
67
- │
68
- ▼
69
- @agi-fans/dsh-tui — terminal capability seam
70
- │
71
- ▼
72
- @agi-fans/oh-my-dsh — boot and plugin composition
73
- ```
74
-
75
- The TUI package is split into a service definition, local terminal Provider, session and interaction adapters, tool-presentation bridge, command contributions, and interactive Runner. This isolates terminal ownership from Harness domain state and exposes plugin seams only where a capability has an independent lifecycle or owner. See the [architecture overview](https://omdsh.agi.fans/docs/architecture/) for the current boundaries and data flow.
76
-
77
- ## Performance
78
-
79
- Performance work covers session replay, cached transcript layout, streaming Markdown, and long-file readers. In the November 6, 2026 Apple M5 Pro CPU benchmarks, a 10,000-turn lifecycle projection took a median 2.567 ms, scrolling a 109,500-character Markdown preview took 0.383 ms, and horizontal panning in a 10,000-line source reader took 0.212 ms. The measurements isolate local processing and exclude model latency, disk I/O, and terminal drawing.
80
-
81
- See the reproducible [TUI performance report](https://omdsh.agi.fans/docs/performance/) or run `pnpm benchmark:tui` locally.
82
-
83
- ## Configuration
84
-
85
- Run `/login` to configure a provider. DeepSeek opens the official key dashboard, validates the key, and stores it in the shared Harness credential store under `DEEPSEEK_API_KEY`; an environment-owned value is left untouched. A DeepSeek account can be signed in from `/login`: the TUI listens on a loopback callback for the browser flow and reuses any grant already established by DSH Web/Desktop. The account route (`deepseek-account`) then appears in `/model` beside the API-key route; sign-out is available from `/logout` or the same account prompt. When a mounted provider registers a Harness authorization flow, `/login` lists that flow and its methods and the terminal only renders the notices and prompts the flow asks for. The same command can also activate a catalog API-key provider or add a custom provider with its own id, base URL, protocol, and model ids. `/logout` removes only file-stored credentials and falls back to the environment when available.
86
-
87
- Model settings and the rest of the plugin config persist into the active Profile's Cordis patch, `$OMDSH_HOME/profiles/omdsh/cordis.patch.yml`; a `settings.yaml` left by an earlier release is imported once at startup and renamed to `settings.yaml.imported`. Use `/model favorite` and `/model unfavorite` to maintain a small local cycle list, then use `Ctrl+P`/`Alt+P` to move through it and `Shift+Tab` to change reasoning effort (`Ctrl+T` toggles thinking visibility). Skills and MCP configuration are documented in [Skills and MCP](https://omdsh.agi.fans/docs/skills-and-mcp/).
88
-
89
- After an upgrade, omdsh can show release notes once at startup. Use `/changelog` for recent entries or `/changelog full` for the complete packaged history. A cached daily npm check reports newer versions without installing anything automatically; both behaviors can be customized in `/settings`. Terminal notifications for completed long turns and human prompts are also configured there and remain off by default. Every setting, its allowed values, and its default are listed in [Settings](https://omdsh.agi.fans/docs/settings/).
90
-
91
- Generate shell integration without starting the TUI or making network requests:
61
+ - **Accounts and models:** Run `/login` to sign in with a DeepSeek account, store an API key, or add a custom provider. Use `/model` to switch models, `/model favorite` to maintain a fast cycle list (`Ctrl+P` / `Alt+P`), and `Shift+Tab` to change reasoning effort.
62
+ - **Interface and preferences:** Run `/settings` to open the bottom-docked settings panel for themes, language, live status-line customization, permissions, and built-in integrations. See [Settings](https://omdsh.agi.fans/docs/settings/) for every option.
63
+ - **Extensions and diagnostics:** Manage MCP servers live in `/mcp`, install or toggle extensions in `/plugins`, and run `omdsh doctor` to check your local setup.
64
+ - **Shell completions** (runs locally without starting the TUI or touching the network):
92
65
 
93
66
  ```sh
94
67
  omdsh completions bash
@@ -96,6 +69,12 @@ omdsh completions zsh
96
69
  omdsh completions fish
97
70
  ```
98
71
 
72
+ ## Relationship to DeepSeek Harness and performance
73
+
74
+ [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) provides the underlying agent runtime, plugin system, sessions, models, tools, and permissions. omdsh composes those published packages into a community terminal application focused on terminal readability, keyboard-and-mouse interaction, and progressive disclosure. See [Architecture](https://omdsh.agi.fans/docs/architecture/) for package boundaries and design details.
75
+
76
+ Targeted optimizations for long session replay, streaming Markdown, and large file readers keep the terminal responsive on big repositories (November 6, 2026 Apple M5 Pro local CPU medians: 2.567 ms to replay 10,000 turns, 0.383 ms to scroll a 109,500-character Markdown preview, 0.212 ms to pan a 10,000-line source preview). See [Performance](https://omdsh.agi.fans/docs/performance/) for methodology and practical limits, or run `pnpm benchmark:tui` locally.
77
+
99
78
  ## Development
100
79
 
101
80
  ```sh
package/config/cordis.yml CHANGED
@@ -66,17 +66,17 @@
66
66
  fallbackMaxBytes: 80
67
67
  maxTitleBytes: 120
68
68
 
69
- # LLM title provider over the first prompt — the row the harness base ships,
70
- # so omdsh sessions get a summarized title instead of the deterministic
71
- # fallback (first words or the cwd basename) that the recent-session list
72
- # and the web sidebar currently show.
69
+ # LLM title provider across user prompts — summarizes the first prompt and
70
+ # refreshes automatic titles only when later messages materially shift topic,
71
+ # leaving manual renames intact. maxOutputTokens matches dsh-base (4096) so
72
+ # reasoning models whose thinking tokens count against the cap do not truncate.
73
73
  - id: session-title-llm
74
- name: '@deepseek-ai/dsh-session-title-first-prompt-llm'
74
+ name: '@deepseek-ai/dsh-session-title-all-prompts-llm'
75
75
  config:
76
76
  targetWords: 5
77
77
  targetCjkCharacters: 10
78
78
  maxInputBytes: 4096
79
- maxOutputTokens: 64
79
+ maxOutputTokens: 4096
80
80
  timeoutMs: 60000
81
81
 
82
82
  - id: session-stats
@@ -173,6 +173,9 @@
173
173
  config:
174
174
  dshHome: !!js process.env.OMDSH_HOME || process.env.DSH_HOME || undefined
175
175
 
176
+ - id: tmux-context
177
+ name: '@agi-fans/dsh-tui/tmux-settings'
178
+
176
179
  # User settings and credential sources (inherited env, managed
177
180
  # .credentials.yaml, project/user .env) — the same rows the harness base
178
181
  # mounts, so omdsh honors the user's existing model route and API key setup
@@ -492,6 +495,9 @@
492
495
  - id: tool-present
493
496
  name: '@deepseek-ai/dsh-tool-present'
494
497
 
498
+ - id: deliverable-file-references
499
+ name: '@deepseek-ai/dsh-deliverable-file-references'
500
+
495
501
  # Hosted search and fetch avoid local fake-IP resolution and auxiliary model
496
502
  # turns. Direct HTTP and Messages search remain selectable alternatives.
497
503
  # The adapter projects public provider registrations for the settings list;
@@ -507,8 +513,6 @@
507
513
 
508
514
  - id: web-deepseek-api
509
515
  name: '@deepseek-ai/dsh-web-deepseek-api'
510
- config:
511
- apiKeyEnv: DEEPSEEK_API_KEY
512
516
 
513
517
  - id: web-search-deepseek
514
518
  name: '@deepseek-ai/dsh-web-search-deepseek'
@@ -526,6 +530,13 @@
526
530
  fetch: true
527
531
  searchTimeoutMs: 60000
528
532
 
533
+ # Live MCP server fleet managed through /mcp and Settings → Integrations,
534
+ # coexisting alongside static `.dsh/mcp.json` and `$OMDSH_HOME/mcp.json` rows.
535
+ - id: mcp-manager
536
+ name: '@deepseek-ai/dsh-mcp-manager'
537
+ inject:
538
+ - credentials
539
+
529
540
  # MCP resources: the three shared list/read tools appear only for callers whose
530
541
  # scope has a connected MCP server, so a profile with no `mcp.json` pays no
531
542
  # catalog cost. Resource text enters the conversation; binary payloads stay
@@ -584,6 +595,16 @@
584
595
  - id: subagent
585
596
  name: '@deepseek-ai/dsh-subagent'
586
597
 
598
+ # Opt-in shared Compare-and-Set task board over the session's continuable
599
+ # subagent tree (`defaultEnabled: false`). Toggled per session via `/team`.
600
+ - id: agent-team
601
+ name: '@deepseek-ai/dsh-agent-team'
602
+ config:
603
+ maxTasks: 256
604
+
605
+ - id: tool-agent-team
606
+ name: '@deepseek-ai/dsh-tool-agent-team'
607
+
587
608
  - id: btw
588
609
  name: '@agi-fans/dsh-tui/btw'
589
610
  config:
@@ -636,10 +657,13 @@
636
657
  OMDSH_HOME: !!js process.env.OMDSH_HOME || process.env.DSH_HOME || undefined
637
658
  DEEPSEEK_API_KEY: !!js process.env.DEEPSEEK_API_KEY || undefined
638
659
 
639
- # One row now registers send_message, interrupt_agent, and list_agents; the
640
- # former `/list-agents` subpath is no longer an entry point.
660
+ # One row registers send_message, wait_agent, and list_agents; model-initiated
661
+ # interrupt_agent stays off by default so human Ctrl+C owns subagent cancellation
662
+ # unless a profile or preset opts in.
641
663
  - id: subagent-control
642
664
  name: '@deepseek-ai/dsh-tool-subagent-control'
665
+ config:
666
+ interrupt: false
643
667
 
644
668
  - id: tool-subagent
645
669
  name: '@deepseek-ai/dsh-tool-subagent'
@@ -760,6 +784,9 @@
760
784
  - id: tui-command-integrations
761
785
  name: '@agi-fans/dsh-tui/command-integrations'
762
786
 
787
+ - id: tui-command-team
788
+ name: '@agi-fans/dsh-tui/command-team'
789
+
763
790
  - id: tui-command-jobs
764
791
  name: '@agi-fans/dsh-tui/command-jobs'
765
792
 
@@ -35,3 +35,5 @@ export declare class AgentBehaviorPrompt {
35
35
  variable(context: AssembleContext, current: AgentLanguage): string;
36
36
  }
37
37
  export declare function apply(ctx: Context, config: Config): void;
38
+ /** Seed `retainOnArchive: true` once when the optional worktree bundle activates live. */
39
+ export declare function seedWorktreeArchiveDefault(ctx: Context, home?: string): Promise<boolean>;
@@ -4,6 +4,8 @@
4
4
  */
5
5
  import z from '@deepseek-ai/schemastery';
6
6
  import { resolveUiLanguage } from '@agi-fans/dsh-tui';
7
+ import { omdshHome } from "./config-paths.js";
8
+ import { hasBundleDefault, recordBundleDefault } from "./profile.js";
7
9
  export const name = 'omdsh-agent-behavior';
8
10
  export const inject = ['settings', 'systemPrompt'];
9
11
  /** Profile entry id whose volatile config carries the language preference. */
@@ -74,5 +76,25 @@ export function apply(ctx, config) {
74
76
  };
75
77
  tuiCtx.effect(() => tuiCtx.tui.bindAgentBehaviorSettings?.(binding) ?? (() => { }), 'bind Agent behavior settings to TUI');
76
78
  });
79
+ const worktreeServices = ['worktrees'];
80
+ ctx.inject(worktreeServices, (worktreeCtx) => {
81
+ void seedWorktreeArchiveDefault(worktreeCtx).catch(error => worktreeCtx.logger.warn(error));
82
+ });
83
+ }
84
+ /** Seed `retainOnArchive: true` once when the optional worktree bundle activates live. */
85
+ export async function seedWorktreeArchiveDefault(ctx, home = omdshHome()) {
86
+ if (hasBundleDefault(home, 'worktree') || !ctx.settings.writable)
87
+ return false;
88
+ const section = ctx.settings.describe().find(row => String(row.ns) === 'worktree');
89
+ if (section === undefined)
90
+ return false;
91
+ const user = section.user;
92
+ if (typeof user === 'object' && user !== null && Object.hasOwn(user, 'retainOnArchive')) {
93
+ recordBundleDefault(home, 'worktree');
94
+ return false;
95
+ }
96
+ await ctx.settings.mutate('worktree', [{ op: 'set', path: ['retainOnArchive'], value: true }], section.revision);
97
+ recordBundleDefault(home, 'worktree');
98
+ return true;
77
99
  }
78
100
  //# sourceMappingURL=agent-behavior.js.map
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { type ConfigDumpLayer } from '@deepseek-ai/dsh-app-boot';
7
7
  import type { LaunchEnvironmentSnapshot } from '@deepseek-ai/dsh-launch-environment';
8
- export { homePatchPath, INSTALL_ANCHOR, NAME, PRODUCT_BUNDLE, PROFILE_NAME, PROFILE_PATCH_LABEL, } from './profile.ts';
8
+ export { AUTO_REVIEW_BUNDLE, DEFAULT_PROFILE_BUNDLES, homePatchPath, INSTALL_ANCHOR, NAME, PRODUCT_BUNDLE, PROFILE_NAME, PROFILE_PATCH_LABEL, WORKTREE_BUNDLE, } from './profile.ts';
9
9
  /**
10
10
  * Materialize the same inherited > project `.env` > home `.env` snapshot
11
11
  * that live boot uses, so dump, plugin, and mount see one process environment.
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { loadLayeredEnv, renderConfigDump, } from '@deepseek-ai/dsh-app-boot';
7
7
  import { composeLaunch, NAME } from "./profile.js";
8
- export { homePatchPath, INSTALL_ANCHOR, NAME, PRODUCT_BUNDLE, PROFILE_NAME, PROFILE_PATCH_LABEL, } from "./profile.js";
8
+ export { AUTO_REVIEW_BUNDLE, DEFAULT_PROFILE_BUNDLES, homePatchPath, INSTALL_ANCHOR, NAME, PRODUCT_BUNDLE, PROFILE_NAME, PROFILE_PATCH_LABEL, WORKTREE_BUNDLE, } from "./profile.js";
9
9
  /**
10
10
  * Materialize the same inherited > project `.env` > home `.env` snapshot
11
11
  * that live boot uses, so dump, plugin, and mount see one process environment.
package/lib/doctor.js CHANGED
@@ -6,7 +6,7 @@ import { bundlePatchPaths, composeEntries, createRuntimeResolution, evaluatePlug
6
6
  import { CREDENTIALS_FILENAME, parseCredentialsDocument } from '@deepseek-ai/dsh-credentials-local';
7
7
  import { imageProtocol } from '@agi-fans/dsh-tui';
8
8
  import { omdshHome } from "./config-paths.js";
9
- import { INSTALL_ANCHOR, NAME, PRODUCT_BUNDLE, PROFILE_NAME } from "./profile.js";
9
+ import { DEFAULT_PROFILE_BUNDLES, INSTALL_ANCHOR, NAME, PRODUCT_BUNDLE, PROFILE_NAME } from "./profile.js";
10
10
  import { loadLspPatches } from "./lsp-config.js";
11
11
  import { loadMcpPatches } from "./mcp-config.js";
12
12
  function object(value) {
@@ -79,6 +79,7 @@ export async function runDoctor(options) {
79
79
  let bundles = [];
80
80
  let profileReadable = true;
81
81
  if (!existsSync(join(dir, 'package.json'))) {
82
+ bundles = [...DEFAULT_PROFILE_BUNDLES];
82
83
  add('profile', 'not-configured', 'Profile is not initialized; shipped defaults are inspected.', 'Start omdsh to initialize the Profile.');
83
84
  }
84
85
  else {
@@ -22,10 +22,33 @@ export async function executeAgent(ctx, request, output, signal) {
22
22
  let text = '', resultError, requiresInput = false;
23
23
  let terminalReason;
24
24
  const owned = new Set();
25
+ const knownSessionIds = new Set();
25
26
  const stopped = new AbortController();
26
27
  const lifetime = AbortSignal.any([signal, stopped.signal]);
27
28
  const off = [];
28
- const belongs = (agent) => owned.has(agent);
29
+ const isTreeMember = (agent) => {
30
+ if (root === undefined || agent === root)
31
+ return false;
32
+ try {
33
+ return ctx.get('subagents')?.rootOf(agent) === root;
34
+ }
35
+ catch {
36
+ return false;
37
+ }
38
+ };
39
+ const claim = (agent) => {
40
+ if (owned.has(agent))
41
+ return true;
42
+ const parentId = agent.session.header.parentSession;
43
+ if ((parentId !== undefined && (parentId === root?.id || knownSessionIds.has(String(parentId))))
44
+ || isTreeMember(agent)) {
45
+ owned.add(agent);
46
+ knownSessionIds.add(String(agent.id));
47
+ return true;
48
+ }
49
+ return false;
50
+ };
51
+ const belongs = (agent) => claim(agent);
29
52
  const cancel = () => { root?.cancel({ kind: 'user' }); };
30
53
  lifetime.addEventListener('abort', cancel, { once: true });
31
54
  const needInput = (kind, data) => {
@@ -34,13 +57,14 @@ export async function executeAgent(ctx, request, output, signal) {
34
57
  stopped.abort(new Error('Execution requires human input.'));
35
58
  };
36
59
  off.push(ctx.on('agent/created', ({ agent }) => {
37
- // Runtime tree membership publishes after the created edge, so follow the
38
- // durable creator link the child already carries; unrelated roots stay out.
39
- const parentId = agent.session.header.parentSession;
40
- if (parentId === undefined)
60
+ claim(agent);
61
+ }));
62
+ off.push(ctx.on('subagent/start', (info) => {
63
+ if (!info.local)
41
64
  return;
42
- if (parentId === root?.id || [...owned].some(owner => owner.id === parentId))
43
- owned.add(agent);
65
+ const child = agents.get(info.id);
66
+ if (child !== undefined)
67
+ claim(child);
44
68
  }));
45
69
  off.push(ctx.on('agent/disposed', ({ agent }) => { if (agent !== root)
46
70
  owned.delete(agent); }));
@@ -53,7 +77,12 @@ export async function executeAgent(ctx, request, output, signal) {
53
77
  resultError = failure(error);
54
78
  }));
55
79
  off.push(ctx.on('session/event', (session, event) => {
56
- const owner = [...owned].find(agent => agent.session === session);
80
+ let owner = [...owned].find(agent => agent.session === session);
81
+ if (owner === undefined) {
82
+ const candidate = agents.get(session.id);
83
+ if (candidate?.session === session && claim(candidate))
84
+ owner = candidate;
85
+ }
57
86
  if (owner === undefined)
58
87
  return;
59
88
  const identity = { sessionId: String(session.id), root: owner === root, eventSequence: event.seq, time: event.time };
@@ -96,6 +125,7 @@ export async function executeAgent(ctx, request, output, signal) {
96
125
  const setup = async (agentCtx, agent) => {
97
126
  root = agent;
98
127
  owned.add(agent);
128
+ knownSessionIds.add(String(agent.id));
99
129
  await configureAgentContext(agentCtx, agent);
100
130
  };
101
131
  if (request.resume !== undefined) {
package/lib/profile.d.ts CHANGED
@@ -11,8 +11,18 @@ type PatchOptions = ConfigDumpLayer['patches'][number];
11
11
  export declare const NAME = "omdsh";
12
12
  export declare const PROFILE_NAME = "omdsh";
13
13
  export declare const PRODUCT_BUNDLE = "@agi-fans/oh-my-dsh";
14
+ export declare const AUTO_REVIEW_BUNDLE = "@deepseek-ai/dsh-experimental-auto-review";
15
+ export declare const WORKTREE_BUNDLE = "@deepseek-ai/dsh-experimental-tool-worktree";
16
+ export declare const DEFAULT_PROFILE_BUNDLES: readonly ["@agi-fans/oh-my-dsh", "@deepseek-ai/dsh-experimental-auto-review", "@deepseek-ai/dsh-experimental-tool-worktree"];
14
17
  export declare const PROFILE_ROOT_FILENAME = "cordis.yml";
15
18
  export declare const PROFILE_PATCH_LABEL = "profiles/omdsh/cordis.patch.yml";
19
+ interface BundleDefaults {
20
+ readonly autoReviewBundle?: boolean;
21
+ readonly worktreeBundle?: boolean;
22
+ readonly worktree?: boolean;
23
+ }
24
+ export declare function hasBundleDefault(home: string, key: keyof BundleDefaults): boolean;
25
+ export declare function recordBundleDefault(home: string, key: keyof BundleDefaults): void;
16
26
  /** Absolute path of this installation's package.json (src/ and lib/ both sit one level under apps/omdsh). */
17
27
  export declare const INSTALL_ANCHOR: string;
18
28
  /** Absolute path of the machine-local user patch layer. */
package/lib/profile.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * Loader write-back can otherwise bake composed rows into it.
7
7
  * @module @agi-fans/oh-my-dsh
8
8
  */
9
- import { existsSync, writeFileSync } from 'node:fs';
9
+ import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
10
10
  import { join } from 'node:path';
11
11
  import { fileURLToPath } from 'node:url';
12
12
  import { initProfile, loadOptionalPatches, loadProfile, PROFILE_PATCH_FILENAME, readProfileManifest, resolveProfileDir, writeProfileManifest, } from '@deepseek-ai/dsh-app-boot';
@@ -16,8 +16,99 @@ import { loadMcpPatches } from "./mcp-config.js";
16
16
  export const NAME = 'omdsh';
17
17
  export const PROFILE_NAME = 'omdsh';
18
18
  export const PRODUCT_BUNDLE = '@agi-fans/oh-my-dsh';
19
+ export const AUTO_REVIEW_BUNDLE = '@deepseek-ai/dsh-experimental-auto-review';
20
+ export const WORKTREE_BUNDLE = '@deepseek-ai/dsh-experimental-tool-worktree';
21
+ export const DEFAULT_PROFILE_BUNDLES = [
22
+ PRODUCT_BUNDLE,
23
+ AUTO_REVIEW_BUNDLE,
24
+ WORKTREE_BUNDLE,
25
+ ];
19
26
  export const PROFILE_ROOT_FILENAME = 'cordis.yml';
20
27
  export const PROFILE_PATCH_LABEL = 'profiles/omdsh/cordis.patch.yml';
28
+ const SEEDED_BUNDLES = [
29
+ { key: 'autoReviewBundle', bundle: AUTO_REVIEW_BUNDLE },
30
+ { key: 'worktreeBundle', bundle: WORKTREE_BUNDLE },
31
+ ];
32
+ const WORKTREE_RETENTION_PATCH = `- id: worktree\n name: '@deepseek-ai/dsh-experimental-worktree'\n config:\n retainOnArchive: true\n`;
33
+ function bundleDefaultsPath(home) {
34
+ return join(home, NAME, 'bundle-defaults.json');
35
+ }
36
+ function readBundleDefaults(home) {
37
+ const path = bundleDefaultsPath(home);
38
+ if (!existsSync(path))
39
+ return {};
40
+ try {
41
+ const parsed = JSON.parse(readFileSync(path, 'utf8'));
42
+ return typeof parsed === 'object' && parsed !== null && !Array.isArray(parsed)
43
+ ? parsed
44
+ : {};
45
+ }
46
+ catch {
47
+ return {};
48
+ }
49
+ }
50
+ export function hasBundleDefault(home, key) {
51
+ return readBundleDefaults(home)[key] === true;
52
+ }
53
+ function recordBundleDefaults(home, keys) {
54
+ if (keys.length === 0)
55
+ return;
56
+ const next = { ...readBundleDefaults(home) };
57
+ for (const key of keys)
58
+ next[key] = true;
59
+ mkdirSync(join(home, NAME), { recursive: true });
60
+ writeFileSync(bundleDefaultsPath(home), JSON.stringify(next, undefined, 2) + '\n');
61
+ }
62
+ export function recordBundleDefault(home, key) {
63
+ recordBundleDefaults(home, [key]);
64
+ }
65
+ /** Seed product defaults once for shipped bundles without overriding user edits. */
66
+ function seedOptionalBundleDefaults(home, dir) {
67
+ const defaults = readBundleDefaults(home);
68
+ let manifest = readProfileManifest(NAME, dir);
69
+ const missing = SEEDED_BUNDLES.filter(entry => defaults[entry.key] !== true);
70
+ if (missing.length > 0) {
71
+ const shippedSet = new Set(DEFAULT_PROFILE_BUNDLES);
72
+ const current = [...(manifest.dsh?.profile?.bundles ?? [PRODUCT_BUNDLE])];
73
+ const toInsert = missing.map(entry => entry.bundle).filter(bundle => !current.includes(bundle));
74
+ if (toInsert.length > 0) {
75
+ const wantedShipped = new Set([
76
+ PRODUCT_BUNDLE,
77
+ ...current.filter(bundle => shippedSet.has(bundle)),
78
+ ...toInsert,
79
+ ]);
80
+ const next = [
81
+ ...DEFAULT_PROFILE_BUNDLES.filter(bundle => wantedShipped.has(bundle)),
82
+ ...current.filter(bundle => !shippedSet.has(bundle)),
83
+ ];
84
+ manifest = {
85
+ ...manifest,
86
+ dsh: { ...manifest.dsh, profile: { ...manifest.dsh?.profile, bundles: next } },
87
+ };
88
+ writeProfileManifest(dir, manifest);
89
+ }
90
+ recordBundleDefaults(home, missing.map(entry => entry.key));
91
+ }
92
+ if (!manifest.dsh?.profile?.bundles?.includes(WORKTREE_BUNDLE) || hasBundleDefault(home, 'worktree'))
93
+ return;
94
+ const patchPath = join(dir, PROFILE_PATCH_FILENAME);
95
+ const before = existsSync(patchPath) ? readFileSync(patchPath, 'utf8') : '';
96
+ const existing = loadOptionalPatches(NAME, patchPath);
97
+ if (existing?.some(patch => patch.id === 'worktree')) {
98
+ recordBundleDefault(home, 'worktree');
99
+ return;
100
+ }
101
+ if (existing === undefined || existing.length === 0) {
102
+ const comments = before.split('\n').filter(line => line.trimStart().startsWith('#')).join('\n');
103
+ writeFileSync(patchPath, `${comments === '' ? '' : `${comments}\n`}${WORKTREE_RETENTION_PATCH}`);
104
+ recordBundleDefault(home, 'worktree');
105
+ return;
106
+ }
107
+ if (!before.trimStart().startsWith('[')) {
108
+ writeFileSync(patchPath, `${before}${before.endsWith('\n') ? '' : '\n'}${WORKTREE_RETENTION_PATCH}`);
109
+ recordBundleDefault(home, 'worktree');
110
+ }
111
+ }
21
112
  /** Absolute path of this installation's package.json (src/ and lib/ both sit one level under apps/omdsh). */
22
113
  export const INSTALL_ANCHOR = fileURLToPath(new URL('../package.json', import.meta.url));
23
114
  /** The empty root entry list every Profile tree patches over. */
@@ -52,7 +143,8 @@ export function ensureOmdshProfile(home) {
52
143
  if (!existsSync(join(dir, 'package.json'))) {
53
144
  // Only fresh profiles adopt Follow UI. An existing patch may predate its manifest.
54
145
  const hasPatch = existsSync(join(dir, PROFILE_PATCH_FILENAME));
55
- initProfile(dir, [PRODUCT_BUNDLE]);
146
+ initProfile(dir, [...DEFAULT_PROFILE_BUNDLES]);
147
+ recordBundleDefaults(home, ['autoReviewBundle', 'worktreeBundle']);
56
148
  if (!hasPatch)
57
149
  writeFileSync(join(dir, PROFILE_PATCH_FILENAME), '# Response language for this profile; UI language is configured separately.\n- id: agent-behavior\n config:\n language: follow-ui\n');
58
150
  }
@@ -65,7 +157,9 @@ export function ensureOmdshProfile(home) {
65
157
  * resolved Profile after this function returns.
66
158
  */
67
159
  export function prepareProfile(home, userLayer = true) {
68
- ensureOmdshProfile(home);
160
+ const dir = ensureOmdshProfile(home);
161
+ if (userLayer)
162
+ seedOptionalBundleDefaults(home, dir);
69
163
  const profile = loadProfile(NAME, PROFILE_NAME, INSTALL_ANCHOR, home, { userLayer });
70
164
  writeFileSync(join(profile.dir, PROFILE_ROOT_FILENAME), PROFILE_ROOT_CONFIG);
71
165
  return profile;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agi-fans/oh-my-dsh",
3
3
  "description": "omdsh: a keyboard-first DeepSeek TUI coding agent on the DeepSeek Harness runtime",
4
- "version": "0.27.0",
4
+ "version": "0.29.0",
5
5
  "homepage": "https://omdsh.agi.fans/",
6
6
  "keywords": [
7
7
  "omdsh",
@@ -70,146 +70,154 @@
70
70
  "dependencies": {
71
71
  "@deepseek-ai/cordis-plugin-loader": "1.1.0",
72
72
  "@deepseek-ai/cordis-plugin-timer": "1.2.0",
73
- "@deepseek-ai/dsh-agent": "0.2.2-rc.3",
74
- "@deepseek-ai/dsh-agent-default-model": "0.2.2-rc.3",
75
- "@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.3",
76
- "@deepseek-ai/dsh-tool-executor-ptc": "0.2.2-rc.3",
77
- "@deepseek-ai/dsh-agent-instructions": "0.2.2-rc.3",
78
- "@deepseek-ai/dsh-agent-loop": "0.2.2-rc.3",
79
- "@deepseek-ai/dsh-agent-preset": "0.2.2-rc.3",
80
- "@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.3",
81
- "@deepseek-ai/dsh-app-boot": "0.2.2-rc.3",
82
- "@deepseek-ai/dsh-atomic-write": "0.2.2-rc.3",
83
- "@deepseek-ai/dsh-attachment-local": "0.2.2-rc.3",
84
- "@deepseek-ai/dsh-authorization": "0.2.2-rc.3",
85
- "@deepseek-ai/dsh-bash-sandbox": "0.2.2-rc.3",
86
- "@deepseek-ai/dsh-cmdline": "0.2.2-rc.3",
87
- "@deepseek-ai/dsh-command-compact": "0.2.2-rc.3",
88
- "@deepseek-ai/dsh-command-feedback": "0.2.2-rc.3",
89
- "@deepseek-ai/dsh-command-goal": "0.2.2-rc.3",
90
- "@deepseek-ai/dsh-commands": "0.2.2-rc.3",
91
- "@deepseek-ai/dsh-compaction-basic": "0.2.2-rc.3",
92
- "@deepseek-ai/dsh-compaction-image-offload": "0.2.2-rc.3",
93
- "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.2.2-rc.3",
94
- "@deepseek-ai/dsh-config-editor": "0.2.2-rc.3",
95
- "@deepseek-ai/dsh-cordis-host-runner": "0.2.2-rc.3",
96
- "@deepseek-ai/dsh-credentials": "0.2.2-rc.3",
97
- "@deepseek-ai/dsh-credentials-local": "0.2.2-rc.3",
98
- "@deepseek-ai/dsh-deepseek-account": "0.2.2-rc.3",
99
- "@deepseek-ai/dsh-experimental-tool-worktree": "0.2.2-rc.3",
100
- "@deepseek-ai/dsh-file-reference": "0.2.2-rc.3",
101
- "@deepseek-ai/dsh-file-reference-local": "0.2.2-rc.3",
102
- "@deepseek-ai/dsh-fs-local": "0.2.2-rc.3",
103
- "@deepseek-ai/dsh-fs-observation-policy": "0.2.2-rc.3",
104
- "@deepseek-ai/dsh-fs-sandbox": "0.2.2-rc.3",
105
- "@deepseek-ai/dsh-goal": "0.2.2-rc.3",
106
- "@deepseek-ai/dsh-goal-round-driver": "0.2.2-rc.3",
107
- "@deepseek-ai/dsh-hmr": "0.2.2-rc.3",
108
- "@deepseek-ai/dsh-host-plugin-inventory": "0.2.2-rc.3",
109
- "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.3",
110
- "@deepseek-ai/dsh-http-proxy": "0.2.2-rc.3",
111
- "@deepseek-ai/dsh-jobs-local": "0.2.2-rc.3",
112
- "@deepseek-ai/dsh-launch-environment": "0.2.2-rc.3",
113
- "@deepseek-ai/dsh-llm": "0.2.2-rc.3",
114
- "@deepseek-ai/dsh-llm-deepseek-account": "0.2.2-rc.3",
115
- "@deepseek-ai/dsh-llm-deepseek-api-key": "0.2.2-rc.3",
116
- "@deepseek-ai/dsh-llm-pi-ai": "0.2.2-rc.3",
117
- "@deepseek-ai/dsh-llm-retry": "0.2.2-rc.3",
118
- "@deepseek-ai/dsh-lsp": "0.2.2-rc.3",
119
- "@deepseek-ai/dsh-lsp-stdio": "0.2.2-rc.3",
120
- "@deepseek-ai/dsh-mcp-client": "0.2.2-rc.3",
121
- "@deepseek-ai/dsh-mcp-resources": "0.2.2-rc.3",
122
- "@deepseek-ai/dsh-message-feedback": "0.2.2-rc.3",
123
- "@deepseek-ai/dsh-output-retention": "0.2.2-rc.3",
124
- "@deepseek-ai/dsh-permission-presets": "0.2.2-rc.3",
125
- "@deepseek-ai/dsh-persona": "0.2.2-rc.3",
126
- "@deepseek-ai/dsh-plan-mode": "0.2.2-rc.3",
127
- "@deepseek-ai/dsh-plugin-manager": "0.2.2-rc.3",
128
- "@deepseek-ai/dsh-plugin-market": "0.2.2-rc.3",
129
- "@deepseek-ai/dsh-ptc-runtime-node": "0.2.2-rc.3",
130
- "@deepseek-ai/dsh-pwsh-local": "0.2.2-rc.3",
131
- "@deepseek-ai/dsh-pwsh-sandbox": "0.2.2-rc.3",
132
- "@deepseek-ai/dsh-repeat-tool-reminder": "0.2.2-rc.3",
133
- "@deepseek-ai/dsh-sandbox": "0.2.2-rc.3",
134
- "@deepseek-ai/dsh-sandbox-local": "0.2.2-rc.3",
135
- "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.3",
136
- "@deepseek-ai/dsh-schedule": "0.2.2-rc.3",
137
- "@deepseek-ai/dsh-scope": "0.2.2-rc.3",
138
- "@deepseek-ai/dsh-session": "0.2.2-rc.3",
139
- "@deepseek-ai/dsh-session-checkpoint-policy": "0.2.2-rc.3",
140
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.3",
141
- "@deepseek-ai/dsh-session-projection": "0.2.2-rc.3",
142
- "@deepseek-ai/dsh-session-projection-cache": "0.2.2-rc.3",
143
- "@deepseek-ai/dsh-session-query": "0.2.2-rc.3",
144
- "@deepseek-ai/dsh-session-query-sqlite": "0.2.2-rc.3",
145
- "@deepseek-ai/dsh-session-reference": "0.2.2-rc.3",
146
- "@deepseek-ai/dsh-session-stats": "0.2.2-rc.3",
147
- "@deepseek-ai/dsh-session-title": "0.2.2-rc.3",
148
- "@deepseek-ai/dsh-session-title-first-prompt-llm": "0.2.2-rc.3",
149
- "@deepseek-ai/dsh-settings": "0.2.2-rc.3",
150
- "@deepseek-ai/dsh-shell-env": "0.2.2-rc.3",
151
- "@deepseek-ai/dsh-skill": "0.2.2-rc.3",
152
- "@deepseek-ai/dsh-skill-filesystem": "0.2.2-rc.3",
153
- "@deepseek-ai/dsh-spill": "0.2.2-rc.3",
154
- "@deepseek-ai/dsh-spill-local": "0.2.2-rc.3",
155
- "@deepseek-ai/dsh-spill-policy": "0.2.2-rc.3",
156
- "@deepseek-ai/dsh-storage": "0.2.2-rc.3",
157
- "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.3",
158
- "@deepseek-ai/dsh-storage-json": "0.2.2-rc.3",
159
- "@deepseek-ai/dsh-subagent": "0.2.2-rc.3",
160
- "@deepseek-ai/dsh-subagent-acp": "0.2.2-rc.3",
161
- "@deepseek-ai/dsh-subagent-claude-code": "0.2.2-rc.3",
162
- "@deepseek-ai/dsh-subagent-codex": "0.2.2-rc.3",
163
- "@deepseek-ai/dsh-subagent-fork-in-process": "0.2.2-rc.3",
164
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.3",
165
- "@deepseek-ai/dsh-subprocess": "0.2.2-rc.3",
166
- "@deepseek-ai/dsh-subprocess-local": "0.2.2-rc.3",
167
- "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.3",
168
- "@deepseek-ai/dsh-terminal": "0.2.2-rc.3",
169
- "@deepseek-ai/dsh-terminal-bash": "0.2.2-rc.3",
170
- "@deepseek-ai/dsh-time-context": "0.2.2-rc.3",
171
- "@deepseek-ai/dsh-timeout": "0.2.2-rc.3",
172
- "@deepseek-ai/dsh-token-meter": "0.2.2-rc.3",
173
- "@deepseek-ai/dsh-tool-ask-user": "0.2.2-rc.3",
174
- "@deepseek-ai/dsh-tool-bash": "0.2.2-rc.3",
175
- "@deepseek-ai/dsh-tool-bash-persistent": "0.2.2-rc.3",
176
- "@deepseek-ai/dsh-tool-call-timeout-policy": "0.2.2-rc.3",
177
- "@deepseek-ai/dsh-tool-cordis": "0.2.2-rc.3",
178
- "@deepseek-ai/dsh-tool-fs": "0.2.2-rc.3",
179
- "@deepseek-ai/dsh-tool-fs-search": "0.2.2-rc.3",
180
- "@deepseek-ai/dsh-tool-goal": "0.2.2-rc.3",
181
- "@deepseek-ai/dsh-tool-jobs": "0.2.2-rc.3",
182
- "@deepseek-ai/dsh-tool-lsp": "0.2.2-rc.3",
183
- "@deepseek-ai/dsh-tool-present": "0.2.2-rc.3",
184
- "@deepseek-ai/dsh-tool-pwsh": "0.2.2-rc.3",
185
- "@deepseek-ai/dsh-tool-pwsh-persistent": "0.2.2-rc.3",
186
- "@deepseek-ai/dsh-tool-ralph": "0.2.2-rc.3",
187
- "@deepseek-ai/dsh-tool-schedule": "0.2.2-rc.3",
188
- "@deepseek-ai/dsh-tool-session-query": "0.2.2-rc.3",
189
- "@deepseek-ai/dsh-tool-skill": "0.2.2-rc.3",
190
- "@deepseek-ai/dsh-tool-str-replace-editor": "0.2.2-rc.3",
191
- "@deepseek-ai/dsh-tool-subagent": "0.2.2-rc.3",
192
- "@deepseek-ai/dsh-tool-subagent-control": "0.2.2-rc.3",
193
- "@deepseek-ai/dsh-tool-terminal": "0.2.2-rc.3",
194
- "@deepseek-ai/dsh-tool-todo": "0.2.2-rc.3",
195
- "@deepseek-ai/dsh-tool-web": "0.2.2-rc.3",
196
- "@deepseek-ai/dsh-tool-workflow": "0.2.2-rc.3",
197
- "@deepseek-ai/dsh-tool-working-directory": "0.2.2-rc.3",
198
- "@deepseek-ai/dsh-tools": "0.2.2-rc.3",
199
- "@deepseek-ai/dsh-user-approval": "0.2.2-rc.3",
200
- "@deepseek-ai/dsh-user-questions": "0.2.2-rc.3",
201
- "@deepseek-ai/dsh-web": "0.2.2-rc.3",
202
- "@deepseek-ai/dsh-web-deepseek-api": "0.2.2-rc.3",
203
- "@deepseek-ai/dsh-web-fetch-http": "0.2.2-rc.3",
204
- "@deepseek-ai/dsh-web-search-deepseek": "0.2.2-rc.3",
205
- "@deepseek-ai/dsh-workflow": "0.2.2-rc.3",
206
- "@deepseek-ai/dsh-workflow-ptc": "0.2.2-rc.3",
207
- "@deepseek-ai/dsh-working-directory": "0.2.2-rc.3",
208
- "@deepseek-ai/dsh-workspace": "0.2.2-rc.3",
209
- "@deepseek-ai/dsh-workspace-changes": "0.2.2-rc.3",
73
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.5",
74
+ "@deepseek-ai/dsh-agent-default-model": "0.2.2-rc.5",
75
+ "@deepseek-ai/dsh-agent-team": "0.2.2-rc.5",
76
+ "@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.5",
77
+ "@deepseek-ai/dsh-tool-executor-ptc": "0.2.2-rc.5",
78
+ "@deepseek-ai/dsh-agent-instructions": "0.2.2-rc.5",
79
+ "@deepseek-ai/dsh-agent-loop": "0.2.2-rc.5",
80
+ "@deepseek-ai/dsh-agent-preset": "0.2.2-rc.5",
81
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.5",
82
+ "@deepseek-ai/dsh-app-boot": "0.2.2-rc.5",
83
+ "@deepseek-ai/dsh-atomic-write": "0.2.2-rc.5",
84
+ "@deepseek-ai/dsh-attachment-local": "0.2.2-rc.5",
85
+ "@deepseek-ai/dsh-authorization": "0.2.2-rc.5",
86
+ "@deepseek-ai/dsh-bash-sandbox": "0.2.2-rc.5",
87
+ "@deepseek-ai/dsh-cmdline": "0.2.2-rc.5",
88
+ "@deepseek-ai/dsh-command-compact": "0.2.2-rc.5",
89
+ "@deepseek-ai/dsh-command-goal": "0.2.2-rc.5",
90
+ "@deepseek-ai/dsh-commands": "0.2.2-rc.5",
91
+ "@deepseek-ai/dsh-compaction-basic": "0.2.2-rc.5",
92
+ "@deepseek-ai/dsh-compaction-image-offload": "0.2.2-rc.5",
93
+ "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.2.2-rc.5",
94
+ "@deepseek-ai/dsh-config-editor": "0.2.2-rc.5",
95
+ "@deepseek-ai/dsh-cordis-host-runner": "0.2.2-rc.5",
96
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.5",
97
+ "@deepseek-ai/dsh-credentials-local": "0.2.2-rc.5",
98
+ "@deepseek-ai/dsh-deepseek-account": "0.2.2-rc.5",
99
+ "@deepseek-ai/dsh-deliverable-file-references": "0.2.2-rc.5",
100
+ "@deepseek-ai/dsh-experimental-auto-review": "0.2.2-rc.5",
101
+ "@deepseek-ai/dsh-experimental-tool-worktree": "0.2.2-rc.5",
102
+ "@deepseek-ai/dsh-file-reference": "0.2.2-rc.5",
103
+ "@deepseek-ai/dsh-file-reference-local": "0.2.2-rc.5",
104
+ "@deepseek-ai/dsh-fs-local": "0.2.2-rc.5",
105
+ "@deepseek-ai/dsh-fs-observation-policy": "0.2.2-rc.5",
106
+ "@deepseek-ai/dsh-fs-sandbox": "0.2.2-rc.5",
107
+ "@deepseek-ai/dsh-goal": "0.2.2-rc.5",
108
+ "@deepseek-ai/dsh-goal-round-driver": "0.2.2-rc.5",
109
+ "@deepseek-ai/dsh-hmr": "0.2.2-rc.5",
110
+ "@deepseek-ai/dsh-host-plugin-inventory": "0.2.2-rc.5",
111
+ "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.5",
112
+ "@deepseek-ai/dsh-http-proxy": "0.2.2-rc.5",
113
+ "@deepseek-ai/dsh-jobs-local": "0.2.2-rc.5",
114
+ "@deepseek-ai/dsh-launch-environment": "0.2.2-rc.5",
115
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.5",
116
+ "@deepseek-ai/dsh-llm-deepseek-account": "0.2.2-rc.5",
117
+ "@deepseek-ai/dsh-llm-deepseek-api-key": "0.2.2-rc.5",
118
+ "@deepseek-ai/dsh-llm-pi-ai": "0.2.2-rc.5",
119
+ "@deepseek-ai/dsh-llm-retry": "0.2.2-rc.5",
120
+ "@deepseek-ai/dsh-lsp": "0.2.2-rc.5",
121
+ "@deepseek-ai/dsh-lsp-stdio": "0.2.2-rc.5",
122
+ "@deepseek-ai/dsh-mcp-client": "0.2.2-rc.5",
123
+ "@deepseek-ai/dsh-mcp-manager": "0.2.2-rc.5",
124
+ "@deepseek-ai/dsh-mcp-resources": "0.2.2-rc.5",
125
+ "@deepseek-ai/dsh-output-retention": "0.2.2-rc.5",
126
+ "@deepseek-ai/dsh-permission-presets": "0.2.2-rc.5",
127
+ "@deepseek-ai/dsh-persona": "0.2.2-rc.5",
128
+ "@deepseek-ai/dsh-plan-mode": "0.2.2-rc.5",
129
+ "@deepseek-ai/dsh-plugin-manager": "0.2.2-rc.5",
130
+ "@deepseek-ai/dsh-plugin-market": "0.2.2-rc.5",
131
+ "@deepseek-ai/dsh-ptc-runtime-node": "0.2.2-rc.5",
132
+ "@deepseek-ai/dsh-pwsh-local": "0.2.2-rc.5",
133
+ "@deepseek-ai/dsh-pwsh-sandbox": "0.2.2-rc.5",
134
+ "@deepseek-ai/dsh-repeat-tool-reminder": "0.2.2-rc.5",
135
+ "@deepseek-ai/dsh-sandbox": "0.2.2-rc.5",
136
+ "@deepseek-ai/dsh-sandbox-local": "0.2.2-rc.5",
137
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.5",
138
+ "@deepseek-ai/dsh-schedule": "0.2.2-rc.5",
139
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.5",
140
+ "@deepseek-ai/dsh-session": "0.2.2-rc.5",
141
+ "@deepseek-ai/dsh-session-checkpoint-policy": "0.2.2-rc.5",
142
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.5",
143
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.5",
144
+ "@deepseek-ai/dsh-session-projection-cache": "0.2.2-rc.5",
145
+ "@deepseek-ai/dsh-session-query": "0.2.2-rc.5",
146
+ "@deepseek-ai/dsh-session-query-sqlite": "0.2.2-rc.5",
147
+ "@deepseek-ai/dsh-session-reference": "0.2.2-rc.5",
148
+ "@deepseek-ai/dsh-session-stats": "0.2.2-rc.5",
149
+ "@deepseek-ai/dsh-session-title": "0.2.2-rc.5",
150
+ "@deepseek-ai/dsh-session-title-all-prompts-llm": "0.2.2-rc.5",
151
+ "@deepseek-ai/dsh-session-title-llm": "0.2.2-rc.5",
152
+ "@deepseek-ai/dsh-settings": "0.2.2-rc.5",
153
+ "@deepseek-ai/dsh-shell": "0.2.2-rc.5",
154
+ "@deepseek-ai/dsh-shell-env": "0.2.2-rc.5",
155
+ "@deepseek-ai/dsh-skill": "0.2.2-rc.5",
156
+ "@deepseek-ai/dsh-skill-filesystem": "0.2.2-rc.5",
157
+ "@deepseek-ai/dsh-spill": "0.2.2-rc.5",
158
+ "@deepseek-ai/dsh-spill-local": "0.2.2-rc.5",
159
+ "@deepseek-ai/dsh-spill-policy": "0.2.2-rc.5",
160
+ "@deepseek-ai/dsh-storage": "0.2.2-rc.5",
161
+ "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.5",
162
+ "@deepseek-ai/dsh-storage-json": "0.2.2-rc.5",
163
+ "@deepseek-ai/dsh-subagent": "0.2.2-rc.5",
164
+ "@deepseek-ai/dsh-subagent-acp": "0.2.2-rc.5",
165
+ "@deepseek-ai/dsh-subagent-claude-code": "0.2.2-rc.5",
166
+ "@deepseek-ai/dsh-subagent-codex": "0.2.2-rc.5",
167
+ "@deepseek-ai/dsh-subagent-fork-in-process": "0.2.2-rc.5",
168
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.5",
169
+ "@deepseek-ai/dsh-subprocess": "0.2.2-rc.5",
170
+ "@deepseek-ai/dsh-subprocess-local": "0.2.2-rc.5",
171
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.5",
172
+ "@deepseek-ai/dsh-terminal": "0.2.2-rc.5",
173
+ "@deepseek-ai/dsh-terminal-bash": "0.2.2-rc.5",
174
+ "@deepseek-ai/dsh-time-context": "0.2.2-rc.5",
175
+ "@deepseek-ai/dsh-timeout": "0.2.2-rc.5",
176
+ "@deepseek-ai/dsh-tmux-context": "0.2.2-rc.5",
177
+ "@deepseek-ai/dsh-token-meter": "0.2.2-rc.5",
178
+ "@deepseek-ai/dsh-tool-agent-team": "0.2.2-rc.5",
179
+ "@deepseek-ai/dsh-tool-ask-user": "0.2.2-rc.5",
180
+ "@deepseek-ai/dsh-tool-bash": "0.2.2-rc.5",
181
+ "@deepseek-ai/dsh-tool-bash-persistent": "0.2.2-rc.5",
182
+ "@deepseek-ai/dsh-tool-call-timeout-policy": "0.2.2-rc.5",
183
+ "@deepseek-ai/dsh-tool-cordis": "0.2.2-rc.5",
184
+ "@deepseek-ai/dsh-tool-fs": "0.2.2-rc.5",
185
+ "@deepseek-ai/dsh-tool-fs-search": "0.2.2-rc.5",
186
+ "@deepseek-ai/dsh-tool-goal": "0.2.2-rc.5",
187
+ "@deepseek-ai/dsh-tool-jobs": "0.2.2-rc.5",
188
+ "@deepseek-ai/dsh-tool-lsp": "0.2.2-rc.5",
189
+ "@deepseek-ai/dsh-tool-present": "0.2.2-rc.5",
190
+ "@deepseek-ai/dsh-tool-pwsh": "0.2.2-rc.5",
191
+ "@deepseek-ai/dsh-tool-pwsh-persistent": "0.2.2-rc.5",
192
+ "@deepseek-ai/dsh-tool-ralph": "0.2.2-rc.5",
193
+ "@deepseek-ai/dsh-tool-schedule": "0.2.2-rc.5",
194
+ "@deepseek-ai/dsh-tool-session-query": "0.2.2-rc.5",
195
+ "@deepseek-ai/dsh-tool-skill": "0.2.2-rc.5",
196
+ "@deepseek-ai/dsh-tool-str-replace-editor": "0.2.2-rc.5",
197
+ "@deepseek-ai/dsh-tool-subagent": "0.2.2-rc.5",
198
+ "@deepseek-ai/dsh-tool-subagent-control": "0.2.2-rc.5",
199
+ "@deepseek-ai/dsh-tool-terminal": "0.2.2-rc.5",
200
+ "@deepseek-ai/dsh-tool-todo": "0.2.2-rc.5",
201
+ "@deepseek-ai/dsh-tool-web": "0.2.2-rc.5",
202
+ "@deepseek-ai/dsh-tool-workflow": "0.2.2-rc.5",
203
+ "@deepseek-ai/dsh-tool-working-directory": "0.2.2-rc.5",
204
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.5",
205
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.5",
206
+ "@deepseek-ai/dsh-user-approval": "0.2.2-rc.5",
207
+ "@deepseek-ai/dsh-user-questions": "0.2.2-rc.5",
208
+ "@deepseek-ai/dsh-util-values": "0.2.2-rc.5",
209
+ "@deepseek-ai/dsh-web": "0.2.2-rc.5",
210
+ "@deepseek-ai/dsh-web-deepseek-api": "0.2.2-rc.5",
211
+ "@deepseek-ai/dsh-web-fetch-http": "0.2.2-rc.5",
212
+ "@deepseek-ai/dsh-web-search-deepseek": "0.2.2-rc.5",
213
+ "@deepseek-ai/dsh-workflow": "0.2.2-rc.5",
214
+ "@deepseek-ai/dsh-workflow-ptc": "0.2.2-rc.5",
215
+ "@deepseek-ai/dsh-working-directory": "0.2.2-rc.5",
216
+ "@deepseek-ai/dsh-workspace": "0.2.2-rc.5",
217
+ "@deepseek-ai/dsh-workspace-changes": "0.2.2-rc.5",
210
218
  "@deepseek-ai/schemastery": "3.19.0",
211
219
  "node-addon-require-builtin": "^0.1.9",
212
- "@agi-fans/dsh-tui": "^0.27.0"
220
+ "@agi-fans/dsh-tui": "^0.29.0"
213
221
  },
214
222
  "peerDependencies": {
215
223
  "@deepseek-ai/cordis": "~4.1.0"