habit-hint

《习惯提示小模型》:本地小模型每隔几轮读一次近期对话,生成「习惯 / 重点 / 提示语」并注入系统提示词,训练与模型数据都在本机。需要带 torch/transformers/peft 的 Python 虚拟环境,以及用户自备的 Qwen3-0.6B 基座与 LoRA 适配器(插件不打包);默认只在开启伴侣记忆(companion-memory)的会话里工作,路径没配好时静默不注入。

插件介绍

《习惯提示小模型》:本地小模型每隔几轮读一次近期对话,生成「习惯 / 重点 / 提示语」并注入系统提示词,训练与模型数据都在本机。需要带 torch/transformers/peft 的 Python 虚拟环境,以及用户自备的 Qwen3-0.6B 基座与 LoRA 适配器(插件不打包);默认只在开启伴侣记忆(companion-memory)的会话里工作,路径没配好时静默不注入。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Root-7-KHX/habit-hint

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。