跨聊天、CLI 和 SDK 的 Dropstone 记忆
跟随你跨越 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