@bunny-agent/daemon 0.9.29 → 0.9.31

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 CHANGED
@@ -84,8 +84,8 @@ incoming HTTP request
84
84
  │ │ │ │ │
85
85
  │ ┌───────────────────────┤ │ │ │
86
86
  │ ▼ ▼ ▼ │ │
87
- │ node:fs/promises spawn git SSE │ │
88
- │ (file ops) (git CLI) stream │ │
87
+ │ node:fs/promises isomorphic-git SSE │ │
88
+ │ (file ops) (git ops) stream │ │
89
89
  │ │ │
90
90
  │ @bunny-agent/ │ │
91
91
  │ runner-core ◄───┘ │
@@ -164,7 +164,7 @@ apps/bunny-agent-daemon/
164
164
  │ ├── health.ts GET /healthz
165
165
  │ ├── fs.ts GET|POST /api/fs/*
166
166
  │ ├── volumes.ts GET|POST /api/volumes/*
167
- │ ├── git.ts POST /api/git/* (spawns git CLI)
167
+ │ ├── git.ts POST /api/git/* (isomorphic-git)
168
168
  │ └── coding.ts POST /api/coding/run (SSE, uses runner-core)
169
169
  └── src/__tests__/
170
170
  └── daemon.test.ts 13 integration tests (no mocks, real fs + git)
@@ -394,6 +394,12 @@ All fs endpoints accept optional `volume` for multi-tenant isolation.
394
394
  | POST | `/api/git/clone` | `{"repo_parent":".","url":"https://...","depth":1}` |
395
395
  | POST | `/api/git/init` | `{"repo":"myrepo","initial_branch":"main"}` |
396
396
 
397
+ Git endpoints are implemented with `isomorphic-git` and return the shared
398
+ `GitCommandResult` envelope exported from `@bunny-agent/daemon/shared/git-types`.
399
+ `/api/git/exec` supports common allowlisted subcommands and returns a nonzero
400
+ command result for flag combinations that cannot be represented through
401
+ `isomorphic-git`.
402
+
397
403
  ### Volumes `/api/volumes/*`
398
404
 
399
405
  | Method | Path | Body |