一个记忆,覆盖所有界面
账户记忆会跟随你在 Dropstone Chat、CLI 和 SDK 之间流转,了解哪些共享、哪些不共享,以及如何让集成的学习内容不进入你自己的记忆。
记忆是将 Dropstone 的各个界面联系在一起的纽带。在任何一个界面上教它一次,其他界面上也会出现:每个账户一个记忆,而不是每个工具一个记忆。
哪些界面共享记忆
| 界面 | 运行方式 | 是否共享记忆 |
|---|---|---|
| Dropstone Chat | 已登录 | 是 |
| CLI | 使用 dropstone login 登录 | 是 |
| SDK,本地代理客户端 | 以你的账户启动服务器 | 是 |
| SDK,无头客户端 | 使用 API 密钥访问公共端点 | 否 |
| 隐身聊天 | 读取记忆,不写入 | 只读,不写入 |
表格背后的规则很简单:以你的身份运行的界面拥有你的记忆,为流水线设计的界面则没有,还有一种模式只读不写。无头端点 故意设计为无状态,因此无论你上周教了 Dropstone 什么,相同的输入都会得到相同的答案。隐身聊天 则相反:它使用 Dropstone 已有的知识,但不保留它产生的任何内容。
为什么这在代码中很重要
一个了解你习惯的代理,比每次调用都要你说明的代理更有价值。你在 Chat 中设定的规则,在你应用程序启动的会话中同样生效;SDK 会话记录的事实,下次打开 CLI 时也会在那里。这就是复利效应:你使用 Dropstone 的时间越长,每个界面需要被告知的就越少。参见 代理如何在工作时学习。
保持集成独立
如果某个服务应该拥有自己的记忆而不是你的记忆,请为它创建独立的账户,或使用专门用于该集成的组织成员账户。这样它只会学习与集成相关的内容,而你自己的记忆仍然属于你。参见 记忆与你的隐私。
编辑器和其他集成
编辑器扩展、API 以及其他集成在 CLI 参考文档中有详细说明,该文档是各界面特定设置的归属地:VS Code 扩展 本身、VS Code 设置、IDE 集成 以及 HTTP API。
Related articles
- Memory across chat, CLI, and SDKDropstone memory belongs to your account, not to one app. A rule you set in the CLI applies in chat, and something learned in chat is available to the SDK. One memory, every surface.
- How Dropstone remembers youDropstone keeps a persistent memory that follows your account across chat, the CLI, and the SDK. Correct it once and it should not need correcting again, anywhere you use it.
- Dropstone SDKA typed TypeScript and JavaScript client for the Dropstone agent, with two entry points: one for headless API calls from CI or a serverless function, one that runs the agent locally with the same account memory as the CLI and Chat.
- Using the API with your planCall Dropstone over HTTP with an API key. The endpoint is OpenAI-compatible, billed pay-per-use from your credit balance, and works from any language. Keys, errors, rate limits, and what the API does not carry.
- Dropstone CLI overviewThe Dropstone CLI is an agent for your terminal that reads your codebase, edits files, runs commands, and shares memory with everything else on your account. Install it in one command. The full reference is at docs.dropstone.io.
Ctrl+I