difftab 0.5.0 → 0.5.1
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.md +11 -11
- package/README.zh-CN.md +4 -4
- package/dist/web/app.js +30 -30
- package/package.json +10 -5
package/README.md
CHANGED
|
@@ -34,8 +34,8 @@ at the tree, check the branch, and close it again.
|
|
|
34
34
|
|
|
35
35
|
difftab is that half of the editor without the editor. One command, one tab, and only the
|
|
36
36
|
three things you actually looked at. It only reads git, so it works with any agent, any
|
|
37
|
-
language and any repository
|
|
38
|
-
|
|
37
|
+
language and any repository. And if an agent now writes all your code, you can uninstall
|
|
38
|
+
the IDE.
|
|
39
39
|
|
|
40
40
|
## Features
|
|
41
41
|
|
|
@@ -116,17 +116,17 @@ of those checks.
|
|
|
116
116
|
|
|
117
117
|
## FAQ
|
|
118
118
|
|
|
119
|
-
**Does it work with my agent?** — Yes
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
**Does it work with my agent?** — Yes. difftab never talks to the agent — it only reads
|
|
120
|
+
git — so anything that writes files into a git working tree looks the same to it: Claude
|
|
121
|
+
Code, Codex, OpenCode, Aider, a human with vim.
|
|
122
122
|
|
|
123
|
-
**Can I stage, commit or discard from it?** — No, and it will
|
|
124
|
-
product's core promise; see [Non-goals](#non-goals).
|
|
123
|
+
**Can I stage, commit or discard from it?** — No, and it never will be. Read-only is the
|
|
124
|
+
product's core promise, not a missing feature; see [Non-goals](#non-goals).
|
|
125
125
|
|
|
126
|
-
**The UI says "Polling" — is something wrong?** — No.
|
|
127
|
-
|
|
128
|
-
inotify quota
|
|
129
|
-
refreshes; it may
|
|
126
|
+
**The UI says "Polling" — is something wrong?** — No. It means difftab could not use native
|
|
127
|
+
file watching here: Node older than 24.14 on Linux, a repository on a network drive or a
|
|
128
|
+
Docker volume, or an exhausted inotify quota. It runs `git status` every 1.5 seconds
|
|
129
|
+
instead, so everything still refreshes; it may just land a second or two later.
|
|
130
130
|
|
|
131
131
|
## Non-goals
|
|
132
132
|
|
package/README.zh-CN.md
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
你在终端里跑 Claude Code、Codex、OpenCode 之类的 agent。它做完一件事,你想看看它到底改了什么。agent 自带的 diff 在终端里刷过去,那不是读一份三百行补丁的地方——于是你打开 VS Code,或者手边为此留着的随便哪个 IDE,什么都不编辑,只是看看 diff、瞄一眼目录树、确认下分支,然后关掉。
|
|
28
28
|
|
|
29
|
-
difftab 就是编辑器里的这一半,去掉编辑器。一条命令、一个标签页,只装你真正会看的那三样。它只读 git,所以配哪个 agent
|
|
29
|
+
difftab 就是编辑器里的这一半,去掉编辑器。一条命令、一个标签页,只装你真正会看的那三样。它只读 git,所以配哪个 agent、哪种语言、哪个仓库都一样。如果现在代码全由 agent 来写,IDE 就可以卸了。
|
|
30
30
|
|
|
31
31
|
## 特性
|
|
32
32
|
|
|
@@ -86,11 +86,11 @@ difftab
|
|
|
86
86
|
|
|
87
87
|
## 常见问题
|
|
88
88
|
|
|
89
|
-
**能配我用的 agent
|
|
89
|
+
**能配我用的 agent 吗?**——能。difftab 从不与 agent 打交道,它只读 git,所以凡是往 git 工作区里写文件的东西在它眼里都一样:Claude Code、Codex、OpenCode、Aider、拿着 vim 的人。
|
|
90
90
|
|
|
91
|
-
**能在里面 stage、commit 或 discard
|
|
91
|
+
**能在里面 stage、commit 或 discard 吗?**——不能,将来也不会。只读是产品的核心承诺,不是还没做的功能;见[明确不做](#明确不做)。
|
|
92
92
|
|
|
93
|
-
**界面上写着「Polling
|
|
93
|
+
**界面上写着「Polling」,是出问题了吗?**——没有。它表示 difftab 在这里用不了原生文件监听:Linux 上低于 24.14 的 Node、放在网络盘或 Docker 卷上的仓库、或 inotify 配额耗尽。于是改成每 1.5 秒跑一次 `git status`,一切照常刷新,只是可能晚一两秒。
|
|
94
94
|
|
|
95
95
|
## 明确不做
|
|
96
96
|
|