solco-gitkit

module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2026 License: MIT

README

solco-gitkit

The Git and Files domain shared by Solco (the macOS workspace for coding agents) and Solco Git (the standalone Git + Files app). Two packages, standard library only:

Package What it is
gitworkbench The product's only Git runner (argv calls, timeouts, per-repository serialization, no automatic network fetch, no force push, no clean) and the model behind change snapshots, commits, branches, stashes, tags, worktrees, rebase/merge/cherry-pick, graph, blame and patches
filesview The Files data layer: an ignore-aware tree, preview classification, search and the guarded create / rename / trash operations
go test ./...

Working next to Solco

Solco and Solco Git require this module at a tagged version and never replace it with a relative path, because their CI sees only its own repository. On a machine that has the repositories side by side, an uncommitted go.work in each of them (both files are gitignored) makes the local copy win:

cd ../solco && go work init . && go work edit -replace github.com/thewei/solco-gitkit=../solco-gitkit

This repository is public (github.com/thewei/solco-gitkit, MIT) and v0.1.0 is tagged, so CI in the other repositories resolves the module with no credential. A change reaches them by a new tag, then GOWORK=off go get github.com/thewei/solco-gitkit@vX.Y.Z && GOWORK=off go mod tidy in each of them.

Directories

Path Synopsis
engine module
Package filesview owns the Files tool of the /files page (0.9 P4, N20): lazy direct-directory listing, directories-first stable sort, symlink no-recursive-follow, ignore semantics (fixed names + git-owned paths), bounded local file operations, the 1 MiB preview cap with text/binary classification, and copy-path/reveal helpers.
Package filesview owns the Files tool of the /files page (0.9 P4, N20): lazy direct-directory listing, directories-first stable sort, symlink no-recursive-follow, ignore semantics (fixed names + git-owned paths), bounded local file operations, the 1 MiB preview cap with text/binary classification, and copy-path/reveal helpers.
[INPUT]: Git refs/heads and refs/remotes via Runner.Read; Git's branch validation and mutation semantics.
[INPUT]: Git refs/heads and refs/remotes via Runner.Read; Git's branch validation and mutation semantics.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL