@celljs/ta-memory 0.0.0-stage → 4.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md ADDED
@@ -0,0 +1,15 @@
1
+ # @celljs/ta-memory
2
+
3
+ [中文](./README.md)
4
+
5
+ Ta's memory: it remembers you and your work across conversations. Design: [docs/design/ta-memory.md](../../docs/design/ta-memory.md).
6
+
7
+ - **One memory for every agent**: each turn's system prompt has the `<ta-memory>` index, bodies read with `memory_read` when needed; `memory_save` and `memory_forget` keep and forget. External agents used in Ta read and write the same one through Ta's notes and MCP tools.
8
+ - **A copy on this computer, one that follows you**: conversations read the copy on this computer (offline too); `entries` is declared in `pi.sync`, so computers with device sync keep it the same, end to end encrypted, unreadable to the relay. What is kept in a private directory goes to `local` and never leaves this computer.
9
+ - **By boundary**: what is kept in a work directory shows only within it, a private one's only there; guests and conversations with others neither read nor write it.
10
+ - **Seen and changed**: Settings → Memory lists it as About you, How you work, Behind the work and Where to look; an entry opened says where it came from (you said it or it was learned, in which conversation), and can be edited or forgotten; forgotten ones come back for 30 days. Turn off "Keep what Ta learns" to keep only what you ask it to remember.
11
+ - **Brought over from other agents**: Settings → Memory → Import from other agents lists what Claude Code and others noted on this computer, by project, to tick and import; each is then read in its project only (what is about you, everywhere), says which agent it came from, and is not imported twice. For notes kept as one long text, as Codex does, say "bring in Codex's memory" in a conversation.
12
+ - **Tidied weekly**: in the weekly review Ta merges what repeats, corrects what recent conversations show is out of date, lifts what holds in several projects to everywhere, and takes in what Claude Code and others newly noted. One computer does it; Claude Code's own dreaming tidies its own memory, which Ta reads and never writes.
13
+ - **No secret values**: what looks like a key is refused; only where it is kept is remembered.
14
+
15
+ With the package off (Settings → Extensions → Built-in) Ta is as without memory; what was kept stays in the data of the package.
package/README.md CHANGED
@@ -1,3 +1,15 @@
1
- # Temporary Holding Version
1
+ # @celljs/ta-memory
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [English](./README.en.md)
4
+
5
+ Ta 的记忆:在对话之间记得你和你的事。设计见 [docs/design/ta-memory.md](../../docs/design/ta-memory.md)。
6
+
7
+ - **一份记忆,所有 Agent 共用**:每轮对话的系统提示里有 `<ta-memory>` 索引,正文按需用 `memory_read` 读;`memory_save`、`memory_forget` 记下和忘掉。在 Ta 里用的外部 Agent 经 Ta 的提示段和 MCP 工具读写同一份。
8
+ - **本机一份,跟着你走一份**:对话只读本机这一份(离线可用);`entries` 声明在 `pi.sync` 里,开了设备同步的电脑之间端到端加密地保持一致,中继读不到。私密目录里记下的存在 `local`,永不离开这台电脑。
9
+ - **按边界取用**:公司目录记下的只在那个边界里出现,私密的只在私密目录里,访客和与别人的对话既不读也不写。
10
+ - **看得见、改得了**:设置 → 记忆 按"关于你 / 做事方式 / 项目背景 / 去哪找"列出,点开看来源(你说的还是学到的、哪次对话),可改、可忘;忘掉的 30 天内能找回。可以关掉"自己记下",只记你明说要记住的。
11
+ - **从其他 Agent 搬过来**:设置 → 记忆 →"从其他 Agent 导入",列出这台电脑上 Claude Code 等按项目记下的,勾选导入;导入后只在原来的项目里读到(关于你本人的处处可见),来源写着那个 Agent,再导入不重复。Codex 那种整篇笔记,在对话里说"把 Codex 的记忆整理进来"。
12
+ - **每周整理**:每周回顾时,Ta 合并重复的、对照最近的对话改正过时的、把在多个项目都成立的提为处处可见,并收进 Claude Code 等新记下的。只由一台电脑做;Claude Code 自己的做梦整理它自己那份,Ta 只读不改。
13
+ - **不记机密的值**:像密钥的内容直接拒绝,只记它放在哪。
14
+
15
+ 关掉这个包(设置 → 扩展 → 内置)后 Ta 回到没有记忆的样子,已记下的留在包数据里。