Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ DeepSeek Harness(DSH)で、プロンプトキャッシュが切れた古い
- **入力禁止(`block`)**:セッションは開いて読めるまま、あなたの送信だけを止めます。エージェントが進めている作業(ツールの実行・ジョブ・サブエージェント・ゴール・リマインダー)は止めません。続けて送りたいときは、入力欄の上のボタンか `/unlock` コマンドで次の 1 回だけを許可できます。
- **自動アーカイブ(`archive`)**:しばらく更新のないセッションを自動でアーカイブし、サイドバーから隠して開けないようにします。

両方を組み合わせる `both` モード(60 分で入力禁止、24 時間でアーカイブ)や、一時的に機能を止める `off` モードへ、チャットの `/sentinel` コマンドからいつでも切り替えられます(公式 Web UI では、引数つきの `/sentinel` は現在入力欄から実行できません。[#36](https://github.com/AliceSaikawa/cache-sentinel/issues/36))。
両方を組み合わせる `both` モード(60 分で入力禁止、24 時間でアーカイブ)や、一時的に機能を止める `off` モードへ、チャットの `/sentinel` コマンドからいつでも切り替えられます。

## 導入

Expand Down Expand Up @@ -67,7 +67,6 @@ DeepSeek Harness(DSH)で、プロンプトキャッシュが切れた古い
- `/sentinel`:現在の実効モードとその出どころ(`/sentinel` で設定 / YAML の設定)、しきい値、このセッションの最終応答からの経過分、`dryRun` の状態を表示します。
- `/sentinel block` | `archive` | `both` | `off`:実効モードを切り替えます。`$DSH_HOME/cache-sentinel/profiles/<プロファイル名>/state.json`(プロファイルごと)に保存され、DSH 再起動後も維持されます(YAML の `mode` より優先)。
- `/sentinel default`:`/sentinel` で保存したモードを消去し、YAML の `mode` 設定に戻します。
- 注意:公式 Web UI では、引数つきの `/sentinel`(`block`・`archive`・`both`・`off`・`default`)は現在入力欄から実行できず、普通のメッセージとして送られます([#36](https://github.com/AliceSaikawa/cache-sentinel/issues/36))。引数なしの `/sentinel` と `/unlock` は使えます。修正されるまでは、モードは YAML の `mode` で切り替えてください。

引数は任意です。入力欄に `/sentinel ` と打つと、引数を入力するまで候補がプレースホルダとして表示されます。

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For sessions where the prompt cache lifetime has passed, this plugin prevents ac
- **Input blocking (`block`)**: Keeps the session open and readable while stopping the messages you send to the model. Work the agent is already doing (tool runs, jobs, subagents, goals, reminders) keeps going. When you want to continue sending, you can allow just the next send using the button above the input box or the `/unlock` command.
- **Auto-archiving (`archive`)**: Automatically archives sessions that have not been updated for a while, hiding them from the sidebar so they cannot be opened.

You can switch at any time from the chat `/sentinel` command to `both` mode, which combines both (input blocking after 60 minutes, archiving after 24 hours), or `off` mode, which temporarily disables the feature. (In the official Web UI, `/sentinel` with an argument currently cannot be run from the input box: [#36](https://github.com/AliceSaikawa/cache-sentinel/issues/36).)
You can switch at any time from the chat `/sentinel` command to `both` mode, which combines both (input blocking after 60 minutes, archiving after 24 hours), or `off` mode, which temporarily disables the feature.

## Installation

Expand Down Expand Up @@ -67,7 +67,6 @@ You can check the current status and switch modes from the chat input box.
- `/sentinel`: Shows the current effective mode and its source (set via `/sentinel` / set in YAML), thresholds, elapsed minutes since the last response in this session, and `dryRun` status.
- `/sentinel block` | `archive` | `both` | `off`: Switches the effective mode. It is saved to `$DSH_HOME/cache-sentinel/profiles/<profile>/state.json` (per profile) and preserved across DSH restarts (takes precedence over `mode` in YAML).
- `/sentinel default`: Clears the mode saved via `/sentinel` and reverts to the `mode` setting in YAML.
- Note: in the official Web UI, `/sentinel` with an argument (`block`, `archive`, `both`, `off`, `default`) currently cannot be run from the input box. It is sent as a normal message instead ([#36](https://github.com/AliceSaikawa/cache-sentinel/issues/36)). `/sentinel` without an argument and `/unlock` work. Until this is fixed, switch modes with `mode` in YAML.

The argument is optional. After you type `/sentinel ` in the input box, the choices are shown as placeholder text until you type an argument.

Expand Down
3 changes: 1 addition & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ DeepSeek Harness(DSH)插件,用于防止误向提示缓存(Prompt Cache
- **禁止输入(`block`)**:保持会话可打开和阅读,仅阻止你的发送。代理正在进行的工作(工具执行、作业、子代理、目标、提醒)不会被阻止。若希望继续发送,可通过输入框上方的按钮或 `/unlock` 命令仅允许下一次发送。
- **自动归档(`archive`)**:自动归档一段时间未更新的会话,将其从侧边栏隐藏并设为不可打开。

您可以随时在聊天输入框中通过 `/sentinel` 命令切换到结合两者的 `both` 模式(60 分钟后禁止输入,24 小时后归档),或暂时停用功能的 `off` 模式。(在官方 Web UI 中,带参数的 `/sentinel` 目前无法从输入框执行:[#36](https://github.com/AliceSaikawa/cache-sentinel/issues/36)。)
您可以随时在聊天输入框中通过 `/sentinel` 命令切换到结合两者的 `both` 模式(60 分钟后禁止输入,24 小时后归档),或暂时停用功能的 `off` 模式。

## 安装

Expand Down Expand Up @@ -67,7 +67,6 @@ DeepSeek Harness(DSH)插件,用于防止误向提示缓存(Prompt Cache
- `/sentinel`:显示当前生效模式及其来源(通过 `/sentinel` 设置 / YAML 设置)、阈值、当前会话距最后一次响应的经过分钟数,以及 `dryRun` 状态。
- `/sentinel block` | `archive` | `both` | `off`:切换生效模式。保存在 `$DSH_HOME/cache-sentinel/profiles/<配置文件>/state.json` 中(按配置文件分开),DSH 重启后依然保持(优先于 YAML 中的 `mode`)。
- `/sentinel default`:清除通过 `/sentinel` 保存的模式,恢复为 YAML 中的 `mode` 设置。
- 注意:在官方 Web UI 中,带参数的 `/sentinel`(`block`、`archive`、`both`、`off`、`default`)目前无法从输入框执行,会作为普通消息发送([#36](https://github.com/AliceSaikawa/cache-sentinel/issues/36))。不带参数的 `/sentinel` 和 `/unlock` 可以使用。在修复之前,请通过 YAML 中的 `mode` 切换模式。

参数可选。在输入框中输入 `/sentinel ` 后,在输入参数之前,候选项会以占位文字的形式显示。

Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
- [spike.md](spike.md): DSH 本体の型定義・API・イベント仕様の調査記録
- [dsh-version-check.md](dsh-version-check.md): 対応範囲の両端(DSH 0.2.0-rc.2・0.2.1-rc.1)での実機確認記録(Issue #12、2026-10-18)。範囲はその後 #31 で 0.2.1-rc.2 まで拡大(rc.2 は実機未確認)。0.2.1-rc.3 まで広げたときの実機確認(2026-10-26)も同じ文書にある。0.2.1-rc.4・rc.5・0.2.2-alpha.2 は実機未確認(2026-11-01、spike.md に比較の記録)
- [rdsh-check.md](rdsh-check.md): rustdsh 環境(Desktop・同梱プラグイン)での動作確認記録(Issue #16、2026-10-17)
- [rdsh-proposal.md](rdsh-proposal.md): rustdsh の推奨プラグインへの追加の提案の下書きと、判断が要る点(Issue #17、2026-11-02)
- [feasibility.md](feasibility.md): 初期の実現可能性調査メモ
- [implementation-plan.md](implementation-plan.md): タスク分割と各バージョンの実装・実機検証記録
Loading
Loading