@einsia/agent-git 0.2.0 → 0.2.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/CHANGELOG.md CHANGED
@@ -6,6 +6,45 @@ Every notable change to agit, the AgentGit CLI, by release. The format follows
6
6
  its [GitHub Release](https://github.com/Einsia/agent-git/releases), and the
7
7
  `@einsia/agent-git` npm package ships this file.
8
8
 
9
+ ## [0.2.1] - 2026-09-17
10
+
11
+ ### Added
12
+
13
+ - **Native Windows peer remote control.** Windows supports the same controller,
14
+ executor and Cloud tunnel protocol as Linux and macOS, using a current-user
15
+ named pipe for local owner RPC.
16
+ - **Bundled Git and Git LFS.** Official distribution binaries include their Git
17
+ runtime, so session version control does not require a separate Git installation.
18
+
19
+ ### Changed
20
+
21
+ - **Owner-only Cloud access by default.** Run `agit login`, then
22
+ `agit rc start --detach`. Startup registers the device and enables remote control
23
+ for the signed-in owner, without a separate enrollment command. Use the same Hub
24
+ account in Web Workspaces or the desktop app. This does not grant public access.
25
+ - **Remove the paired RC transport.** Startup and device management use peer/Cloud
26
+ only. Users of the paired default in 0.2.0 must upgrade; the existing Linux 0.2.0
27
+ peer/Cloud protocol remains supported. Server retirement follows verification of
28
+ the new Windows and Linux release artifacts.
29
+ - Reuse Cloud HTTP connections, overlap admission checks with tunnel setup, and
30
+ race resolved TCP addresses to avoid waiting on a slow address before trying another.
31
+ - Reduce repeated repository checks and keep repository preparation and background
32
+ metadata work off the native session command loop. Record startup phase timings
33
+ without logging prompt contents.
34
+
35
+ ### Fixed
36
+
37
+ - Prevent detached Windows daemon helpers from opening console windows; release
38
+ inherited caller pipes when starting in the background.
39
+ - Preserve tunnel failure details and renew Cloud authority without repeatedly
40
+ reconnecting healthy idle sessions.
41
+ - Recover a revoked device registration when its owner explicitly starts RC again;
42
+ background reconnects do not undo revocation.
43
+ - Read history and goals from fresh Codex sessions before a transcript file exists,
44
+ and isolate history readers from snapshot capture and session control.
45
+ - Preserve native history identity and snapshot consistency, and protect generated
46
+ session observations with repository secret rules before settlement.
47
+
9
48
  ## [0.2.0] - 2026-09-16
10
49
 
11
50
  ### Added
@@ -162,6 +201,7 @@ First public release.
162
201
  per-platform packages for Linux and macOS on x64 and arm64, and GitHub Release
163
202
  artifacts with `SHA256SUMS`.
164
203
 
204
+ [0.2.1]: https://github.com/Einsia/agent-git/releases/tag/agit-v0.2.1
165
205
  [0.2.0]: https://github.com/Einsia/agent-git/releases/tag/agit-v0.2.0
166
206
  [0.1.2]: https://github.com/Einsia/agent-git/releases/tag/agit-v0.1.2
167
207
  [0.1.1]: https://github.com/Einsia/agent-git/releases/tag/agit-v0.1.1
package/README.md CHANGED
@@ -69,9 +69,10 @@ picks the platform sub-package matching your `os`/`cpu`; on platforms with no
69
69
  prebuilt binary (e.g. FreeBSD) running `agit` prints the source-build recipe.
70
70
  Details and environment variables: [`npm/README.md`](npm/README.md).
71
71
 
72
- Windows x64 packages include the local RC daemon. Its control channel uses a local named
73
- pipe restricted to the current Windows user. RC state requires a private, user-owned
74
- directory; shared or redirected RC paths are rejected.
72
+ Windows x64 packages include the native peer RC daemon. On Windows, Linux and macOS, run
73
+ `agit login` followed by `agit rc start --detach` to register the device and allow your own
74
+ account to control it from Workspaces. Windows owner RPC uses a local named pipe restricted
75
+ to the current user. RC state requires a private, user-owned directory.
75
76
 
76
77
  pnpm (v10+) does not run dependency install scripts by default, so the
77
78
  automatic `agit setup` is skipped there — run `agit setup` once yourself
@@ -81,8 +82,10 @@ The Linux artifact is **musl static-linked**, so no minimum glibc — the
81
82
  release pipeline runs every Linux binary inside an Alpine / Amazon Linux /
82
83
  Debian / Ubuntu container matrix before publishing.
83
84
 
84
- You also need **git >= 2.28** (repo init uses `git init --initial-branch`).
85
- Ubuntu 20.04 ships 2.25 the installer prints a warning.
85
+ Prebuilt binaries include Git and Git LFS, extracted into a private cache on first
86
+ use. Your shell PATH and global Git configuration stay unchanged. Source builds
87
+ use system Git; `AGIT_USE_SYSTEM_GIT=1` selects it in a prebuilt binary too.
88
+ See [runtime configuration and source prerequisites](docs/01_setup.md).
86
89
 
87
90
  > Do not install `@einsia/agentgit` (no hyphen) — that is the pre-rewrite
88
91
  > CLI; its protocol does not match this branch and it will not work.
package/npm/README.md CHANGED
@@ -26,6 +26,13 @@ the platform sub-package matching your `os`/`cpu` via `optionalDependencies`
26
26
  that execs that binary with argv/stdio/exit-code forwarded, and `postinstall`
27
27
  runs `agit setup` once to wire skills, hooks, MCP and AGENTS.md.
28
28
 
29
+ The executable contains Git and Git LFS. On first use it extracts them under
30
+ `$AGIT_HOME/git-runtime` (default `~/.agit/git-runtime`), with no runtime download.
31
+ Only AgentGit's child processes use that private runtime; your shell PATH and
32
+ global Git configuration are unchanged. Copying or upgrading the single executable
33
+ also carries its Git runtime. External credential helpers and extensions may still
34
+ need your local tools; `AGIT_USE_SYSTEM_GIT=1` uses your system Git installation.
35
+
29
36
  pnpm (v10+) blocks dependency install scripts unless approved, so under pnpm
30
37
  the automatic `agit setup` does not run — run it once yourself after
31
38
  installing (or `pnpm approve-builds -g` and reinstall).
@@ -68,6 +75,7 @@ Unsupported operating system and architecture pairs get no prebuilt binary: runn
68
75
  | `AGIT_FORCE_INSTALL` | Also run postinstall inside the source checkout (CI smoke tests). |
69
76
  | `AGIT_HUB_URL` | Point the CLI at another hub (default `https://agent-git.com`). |
70
77
  | `AGIT_NPM_REGISTRY` | Registry `agit upgrade` downloads platform packages from. |
78
+ | `AGIT_USE_SYSTEM_GIT` | Set to `1` to use system Git and Git LFS instead of the bundled runtime. |
71
79
 
72
80
  ## Upgrading
73
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@einsia/agent-git",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
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.0",
53
- "@einsia/agent-git-linux-arm64": "0.2.0",
54
- "@einsia/agent-git-darwin-x64": "0.2.0",
55
- "@einsia/agent-git-darwin-arm64": "0.2.0",
56
- "@einsia/agent-git-win32-x64": "0.2.0"
52
+ "@einsia/agent-git-linux-x64": "0.2.1",
53
+ "@einsia/agent-git-linux-arm64": "0.2.1",
54
+ "@einsia/agent-git-darwin-x64": "0.2.1",
55
+ "@einsia/agent-git-darwin-arm64": "0.2.1",
56
+ "@einsia/agent-git-win32-x64": "0.2.1"
57
57
  }
58
58
  }