Skip to content
dsh.fish
Bundle

@dshx/working-activity

dshX live model working-status line (fork of dsh-working-activity): standard enterprise copy, running tool, turn elapsed — for the dshX TUI prompt.

Source
NoNshiranai
License
BSD-3-Clause
Updated
Updated 2 days ago

Readme

# @dshx/working-activity

dshX 的模型工作状态行——**dsh-working-activity** 的分叉,将俏皮/口语化措辞替换为
企业级标准中文,并简化 done 行指标格式。

## 与 dsh-working-activity 的差异

- **措辞池**(`src/phrases.ts`):全部换成标准措辞——思考/等待/工具动作/失败/完成,
  无 `翻了个身`、`工单关闭`、`拿下`、`交差` 等俏皮口语。
- **done 行格式**(`src/status.ts`):`工具调用 N 次 · 思考 Xs · 执行 Ys · N tokens`
  (原为 `N 工具 · 想Xs 干Ys · 🔥 N`)。
- **移除 web client**:本 fork 仅保留服务端插件(供 TUI 消费 `activity/status` 事件),
  不含 `./client` 导出与 `dsh.bundle.client` 元数据。

## 使用

作为 [`@dshx/tui`](https://www.npmjs.com/package/@dshx/tui) 的依赖安装;TUI 通过
`@dshx/tui/working-activity` 重导出挂载工作行。

## 开发 / 发布

```sh
pnpm install
pnpm build          # tsc → lib/types/
pnpm publish --registry=https://registry.npmjs.org/
```

## 许可

BSD-3-Clause(fork 自 `dsh-working-activity`)。

Install

dsh plugin --profile web add github:NoNshiranai/dshx-working-activity#f83bb0c0b72630380a24b4896d843c4b01dac7bd

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
Source