@einsia/agent-git 0.2.24 → 0.2.26

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 +72 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -8,6 +8,78 @@ its [GitHub Release](https://github.com/Einsia/agent-git/releases), and the
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.2.26] - 2026-10-25
12
+
13
+ ### Fixed
14
+
15
+ - The first push of a newly imported session no longer fails with `HTTP 422 provenance_rejected:
16
+ refs/heads/publication: session/meta.json unreadable (cwd is empty)`. Since 0.2.25 publishes new
17
+ sessions in plain mode, the Hub verifies every commit of the branch, including the commit that
18
+ claims it, and that commit recorded an empty working directory. A branch claimed by 0.2.25 keeps
19
+ its empty claim and still cannot be pushed; import the session into a new branch instead.
20
+
21
+ ## [0.2.25] - 2026-10-25
22
+
23
+ ### Added
24
+
25
+ - `agit privacy mode OWNER/REPO@BRANCH plain` selects unencrypted publication before a session's
26
+ first remote registration. The choice follows the logical session across branches, keeps source
27
+ history unchanged, and is separate from repository visibility. Use `encrypted` to opt into
28
+ encryption before registration, or omit the mode to inspect the local choice and registered mode.
29
+
30
+ - `agit privacy policy tool [NAME] --omit true|false` controls calls and results together, with
31
+ exact tool-name and runtime-qualified overrides. `--reset` removes a named override.
32
+ - `agit privacy policy attachment omit|metadata|original` controls recorded attachments in
33
+ encrypted public views, privacy exports and shares. Plain push retains its existing path.
34
+
35
+ ### Changed
36
+
37
+ - New sessions, first imports and independent forks default to plain publication again.
38
+ 0.2.24 created them with encrypted publication by default, which its release notes did not
39
+ mention. Existing recorded and registered modes are preserved, including those of sessions
40
+ 0.2.24 created. Select `privacy mode OWNER/REPO@BRANCH encrypted` before registration to
41
+ enable encryption.
42
+ - Privacy projections default to visible tools and original attachments, including when an
43
+ existing policy omits the new fields. Configure omission explicitly to hide them. Captured
44
+ file-tool content no longer requires a workspace/include match; explicit and mandatory file
45
+ exclusions remain effective. Readable text remains sanitized; recorded binary carriers are retained.
46
+
47
+ ### Fixed
48
+
49
+ - A privacy dictionary upload that the Hub, or a network policy in front of it, refuses is no
50
+ longer sent again on every push, fetch, clone and login. agit retries it after a delay that
51
+ starts at 10 minutes and grows to 6 hours, and keeps downloading dictionaries from other
52
+ devices meanwhile. `agit push` and `agit doctor` say whether a network policy or the Hub
53
+ refused it; `agit login` retries at once.
54
+
55
+ - Publication notices distinguish configured hiding, attachment handling, unsupported formats
56
+ and unverifiable sources. Omitted tools preserve call/result classification instead of opening
57
+ user turns, and activity summaries exclude both legacy and specific omission notices.
58
+
59
+ - Encrypted publication restores originals against a frozen dictionary across all batches and
60
+ resolves evidence references independently of LOG order. Repeated events no longer fail with
61
+ "hydration has ambiguous evidence provenance" after partial foreground hydration or forward
62
+ evidence references; unavailable mappings stop preparation before upload.
63
+
64
+ - Raise the sanitized public projection budget to 64 MiB to match the private ciphertext budget,
65
+ so large session displays can be published alongside their encrypted originals. The complete
66
+ envelope remains bounded to 128 MiB.
67
+
68
+ - `agit push` previews session branches with a long plain history instead of failing with
69
+ "plain preview exceeds its content budget", and prepares them substantially faster. The
70
+ preview shows each distinct file version once and an append-only file as the bytes it adds.
71
+ - After a macOS restart, `agit rc status`, `agit upgrade` and daemon startup
72
+ recognize the control socket a stopped daemon left behind and reclaim it,
73
+ instead of asking for a manual `agit rc local recover`.
74
+ - Loading earlier messages of a remote conversation whose saved archive could not
75
+ be applied no longer fails as an expired history snapshot; the page kept
76
+ spinning on "Loading the latest conversation" while it retried.
77
+ - A conversation taken over from a registered runtime source keeps the name the
78
+ device shows for it, instead of appearing as an untitled session in its
79
+ project.
80
+ - Encrypted publication preserves Git authors, committers, timestamps, message encoding and
81
+ commit messages. Existing published snapshots remain compatible when history continues.
82
+
11
83
  ## [0.2.24] - 2026-10-21
12
84
 
13
85
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@einsia/agent-git",
3
- "version": "0.2.24",
3
+ "version": "0.2.26",
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.24",
53
- "@einsia/agent-git-linux-arm64": "0.2.24",
54
- "@einsia/agent-git-darwin-x64": "0.2.24",
55
- "@einsia/agent-git-darwin-arm64": "0.2.24",
56
- "@einsia/agent-git-win32-x64": "0.2.24"
52
+ "@einsia/agent-git-linux-x64": "0.2.26",
53
+ "@einsia/agent-git-linux-arm64": "0.2.26",
54
+ "@einsia/agent-git-darwin-x64": "0.2.26",
55
+ "@einsia/agent-git-darwin-arm64": "0.2.26",
56
+ "@einsia/agent-git-win32-x64": "0.2.26"
57
57
  }
58
58
  }