@einsia/agent-git 0.2.25 → 0.2.27

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -8,6 +8,54 @@ its [GitHub Release](https://github.com/Einsia/agent-git/releases), and the
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.2.27] - 2026-10-25
12
+
13
+ ### Added
14
+
15
+ - `agit import … --milestone <text> [--milestone-turn <n>]` marks a milestone on turn `#n` of the
16
+ imported branch, or on its last settled turn. A turn the import does not land is refused before
17
+ anything is written.
18
+
19
+ ### Changed
20
+
21
+ - Captured content has only high-confidence credentials replaced with reversible placeholders:
22
+ provider tokens, private keys, credential assignments and values you explicitly block. Runtime
23
+ identifiers, hashes, beta-feature lists, document tokens, code and other values whose only
24
+ evidence is high entropy or a key-like name stay unchanged; run
25
+ `agit config privacy.entropy replace` to replace them too. PostHog personal API keys are now
26
+ recognized. Protocol identifiers such as Codex
27
+ `call_id`, Claude Code tool-use IDs, thinking signatures and encrypted reasoning are never
28
+ rewritten, so a resumed session keeps its call pairing and verified reasoning.
29
+
30
+ - Hub requests no longer fail after a fixed 30 seconds. agit bounds connecting to the Hub and each
31
+ wait for data once connected, so a large upload or a busy Hub keeps going while data moves. A Hub
32
+ that sends nothing for 150 seconds is reported as stalled, with a note that the request may still
33
+ complete on the Hub. Upgrade and large-file transfers use the same bounds, and Hub JSON responses
34
+ may be up to 64 MiB.
35
+
36
+ ### Fixed
37
+
38
+ - Claude Code 2.1.3xx sessions save again. Those versions write request snapshots that repeat tool
39
+ calls already answered, and agit read them as calls still running, so `agit commit` and the Stop
40
+ hook reported "the current turn is still in flight" and saved nothing.
41
+ - Historical imports date each turn at its last recorded event instead of the import time.
42
+ `agit show` reports when a turn was recorded and, if it was imported later, when it was imported.
43
+ - A failed `agit import` onto a new branch can be retried onto the same branch. The retry failed
44
+ with `checkout refresh failed: refusing to overwrite index path "session/meta.json"`.
45
+ - `agit branch rm` on a claimed branch names the sessions it still claims and the
46
+ `agit import … --independent` command that moves each claim. `agit doctor` reports a claimed
47
+ branch that no longer exists instead of "local Git inspection did not complete".
48
+
49
+ ## [0.2.26] - 2026-10-25
50
+
51
+ ### Fixed
52
+
53
+ - The first push of a newly imported session no longer fails with `HTTP 422 provenance_rejected:
54
+ refs/heads/publication: session/meta.json unreadable (cwd is empty)`. Since 0.2.25 publishes new
55
+ sessions in plain mode, the Hub verifies every commit of the branch, including the commit that
56
+ claims it, and that commit recorded an empty working directory. A branch claimed by 0.2.25 keeps
57
+ its empty claim and still cannot be pushed; import the session into a new branch instead.
58
+
11
59
  ## [0.2.25] - 2026-10-25
12
60
 
13
61
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@einsia/agent-git",
3
- "version": "0.2.25",
3
+ "version": "0.2.27",
4
4
  "description": "Version control for agent sessions — the agit CLI plus skills/hooks/MCP wiring for Claude Code, Codex, OpenCode and Cursor. The AgentGit hub deploys separately.",
5
5
  "keywords": [
6
6
  "agit",
@@ -49,10 +49,10 @@
49
49
  "access": "public"
50
50
  },
51
51
  "optionalDependencies": {
52
- "@einsia/agent-git-linux-x64": "0.2.25",
53
- "@einsia/agent-git-linux-arm64": "0.2.25",
54
- "@einsia/agent-git-darwin-x64": "0.2.25",
55
- "@einsia/agent-git-darwin-arm64": "0.2.25",
56
- "@einsia/agent-git-win32-x64": "0.2.25"
52
+ "@einsia/agent-git-linux-x64": "0.2.27",
53
+ "@einsia/agent-git-linux-arm64": "0.2.27",
54
+ "@einsia/agent-git-darwin-x64": "0.2.27",
55
+ "@einsia/agent-git-darwin-arm64": "0.2.27",
56
+ "@einsia/agent-git-win32-x64": "0.2.27"
57
57
  }
58
58
  }