Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Questions, setup help, configuration

Ask in [GitHub Discussions](https://github.com/Gitlawb/zero/discussions). Use
[Q&A](https://github.com/Gitlawb/zero/discussions/categories/q-a) so answers can
Ask in [GitHub Discussions](https://github.com/Twigpine/zero/discussions). Use
[Q&A](https://github.com/Twigpine/zero/discussions/categories/q-a) so answers can
be marked and found by the next person.

The fastest way to a useful answer is to include:
Expand All @@ -18,19 +18,19 @@ The fastest way to a useful answer is to include:
## Bugs

If Zero does something wrong (crashes, wrong output, broken behavior), file a
[bug report](https://github.com/Gitlawb/zero/issues/new/choose). If you are not
[bug report](https://github.com/Twigpine/zero/issues/new/choose). If you are not
sure whether it is a bug or a setup problem, start in Discussions and we will
promote it to an issue if it is one.

## Feature ideas

Start a thread in
[Ideas](https://github.com/Gitlawb/zero/discussions/categories/ideas). Zero is
[Ideas](https://github.com/Twigpine/zero/discussions/categories/ideas). Zero is
in controlled development (see CONTRIBUTING.md), so discussing an idea first is
also the path to getting a PR accepted.

## Security issues

Never file a public issue or discussion. Report privately via
[GitHub Security Advisories](https://github.com/Gitlawb/zero/security/advisories/new)
[GitHub Security Advisories](https://github.com/Twigpine/zero/security/advisories/new)
(see SECURITY.md).
2 changes: 1 addition & 1 deletion cmd/zero-linux-sandbox/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package main
import (
"os"

"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/sandbox"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/zero-perf-bench/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strconv"
"strings"

"github.com/Gitlawb/zero/internal/perfbench"
"github.com/Twigpine/zero/internal/perfbench"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/zero-perf-bench/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/Gitlawb/zero/internal/perfbench"
"github.com/Twigpine/zero/internal/perfbench"
)

func TestParseArgsUsesCliAndEnvOverrides(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/zero-perf-bench/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
"strings"

"github.com/Gitlawb/zero/internal/perfbench"
"github.com/Twigpine/zero/internal/perfbench"
)

// taskOptions configures the `zero-perf-bench tasks` subcommand: the reproducible
Expand Down
4 changes: 2 additions & 2 deletions cmd/zero-perf-bench/turn.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"path/filepath"
"strings"

"github.com/Gitlawb/zero/internal/execprofile"
"github.com/Gitlawb/zero/internal/perfbench"
"github.com/Twigpine/zero/internal/execprofile"
"github.com/Twigpine/zero/internal/perfbench"
)

// turnOptions configures the `zero-perf-bench turn` subcommand: the per-turn
Expand Down
2 changes: 1 addition & 1 deletion cmd/zero-pr-review/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"strings"

"github.com/Gitlawb/zero/internal/review"
"github.com/Twigpine/zero/internal/review"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/zero-release/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"

"github.com/Gitlawb/zero/internal/release"
"github.com/Twigpine/zero/internal/release"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/zero-seccomp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"os/exec"
"syscall"

"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/sandbox"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/zero-windows-command-runner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/sandbox"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/zero-windows-sandbox-setup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/sandbox"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/zero/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"os"

"github.com/Gitlawb/zero/internal/cli"
"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/cli"
"github.com/Twigpine/zero/internal/sandbox"
)

func main() {
Expand Down
5 changes: 5 additions & 0 deletions docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ describe a version that is no longer on disk. Prefer `mise upgrade`.
go install github.com/Gitlawb/zero/cmd/zero@latest
```

Every release so far declares the module path `github.com/Gitlawb/zero`, so
`go install` has to use that path; `github.com/Twigpine/zero/cmd/zero@latest`
fails with "module declares its path as" until a release is tagged with the new
module path.

This builds from source, so it needs Go 1.26.9+ and it does not go through the
release archives. Two consequences worth knowing before you pick it:

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Gitlawb/zero
module github.com/Twigpine/zero

go 1.26.9

Expand Down
24 changes: 12 additions & 12 deletions internal/acp/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ import (
"strings"
"sync"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Gitlawb/zero/internal/config"
"github.com/Gitlawb/zero/internal/modelregistry"
"github.com/Gitlawb/zero/internal/providercatalog"
"github.com/Gitlawb/zero/internal/providermodelcatalog"
"github.com/Gitlawb/zero/internal/providermodeldiscovery"
"github.com/Gitlawb/zero/internal/redaction"
"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Gitlawb/zero/internal/sessions"
"github.com/Gitlawb/zero/internal/tools"
"github.com/Gitlawb/zero/internal/usage"
"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/agent"
"github.com/Twigpine/zero/internal/config"
"github.com/Twigpine/zero/internal/modelregistry"
"github.com/Twigpine/zero/internal/providercatalog"
"github.com/Twigpine/zero/internal/providermodelcatalog"
"github.com/Twigpine/zero/internal/providermodeldiscovery"
"github.com/Twigpine/zero/internal/redaction"
"github.com/Twigpine/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/sessions"
"github.com/Twigpine/zero/internal/tools"
"github.com/Twigpine/zero/internal/usage"
"github.com/Twigpine/zero/internal/zeroruntime"
)

// Deps are the ZERO capabilities the ACP Agent drives. The CLI fills these with
Expand Down
14 changes: 7 additions & 7 deletions internal/acp/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ import (
"testing"
"time"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Gitlawb/zero/internal/config"
"github.com/Gitlawb/zero/internal/providermodeldiscovery"
"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Gitlawb/zero/internal/sessions"
"github.com/Gitlawb/zero/internal/tools"
"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/agent"
"github.com/Twigpine/zero/internal/config"
"github.com/Twigpine/zero/internal/providermodeldiscovery"
"github.com/Twigpine/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/sessions"
"github.com/Twigpine/zero/internal/tools"
"github.com/Twigpine/zero/internal/zeroruntime"
)

// fakeProvider streams a canned assistant message and ends the turn — enough to
Expand Down
2 changes: 1 addition & 1 deletion internal/acp/desktopinterop_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"fmt"
"testing"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Twigpine/zero/internal/agent"
)

// ---- an offered option is an acceptable answer ----
Expand Down
6 changes: 3 additions & 3 deletions internal/acp/mode_persistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"testing"
"time"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Gitlawb/zero/internal/sessions"
"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/agent"
"github.com/Twigpine/zero/internal/sessions"
"github.com/Twigpine/zero/internal/zeroruntime"
)

// captureAgentOptions makes every turn record the agent.Options it was built
Expand Down
2 changes: 1 addition & 1 deletion internal/acp/permission.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package acp
import (
"encoding/json"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Twigpine/zero/internal/agent"
)

// permission.go maps ZERO's permission prompt model onto ACP's
Expand Down
2 changes: 1 addition & 1 deletion internal/acp/permission_escalation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"testing"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Twigpine/zero/internal/agent"
)

func escalationRequest(escalates bool) agent.PermissionRequest {
Expand Down
2 changes: 1 addition & 1 deletion internal/acp/permission_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package acp
import (
"testing"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Twigpine/zero/internal/agent"
)

func TestBuildPermissionOptions(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions internal/acp/translate.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"unicode"
"unicode/utf8"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Gitlawb/zero/internal/tools"
"github.com/Twigpine/zero/internal/agent"
"github.com/Twigpine/zero/internal/tools"
)

// translate.go maps ZERO's agent events onto ACP session/update payloads. The
Expand Down Expand Up @@ -83,7 +83,7 @@ func browserToolDetails(name string) (*BrowserToolDetails, bool) {
}
}

const zeroBrowserMetaKey = "github.com/Gitlawb/zero/browser"
const zeroBrowserMetaKey = "github.com/Twigpine/zero/browser"

// attachBrowserToolDetails stores ZERO's browser descriptor in ACP's reserved
// extension channel. Keeping this in one helper prevents start, result, and
Expand Down
4 changes: 2 additions & 2 deletions internal/acp/translate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"unicode"
"unicode/utf8"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Gitlawb/zero/internal/tools"
"github.com/Twigpine/zero/internal/agent"
"github.com/Twigpine/zero/internal/tools"
)

func browserDescriptor(t *testing.T, update ToolCallUpdate) BrowserToolDetails {
Expand Down
6 changes: 3 additions & 3 deletions internal/acp/usage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"testing"
"time"

"github.com/Gitlawb/zero/internal/agent"
"github.com/Gitlawb/zero/internal/sessions"
"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/agent"
"github.com/Twigpine/zero/internal/sessions"
"github.com/Twigpine/zero/internal/zeroruntime"
)

// `zero exec` persists every provider usage report as a session usage event, so
Expand Down
4 changes: 2 additions & 2 deletions internal/agent/acceptance_gate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"
"testing"

"github.com/Gitlawb/zero/internal/tools"
"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/tools"
"github.com/Twigpine/zero/internal/zeroruntime"
)

func enabledSelfCorrector(t *testing.T) *SelfCorrector {
Expand Down
4 changes: 2 additions & 2 deletions internal/agent/additional_permissions_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"
"testing"

"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Gitlawb/zero/internal/tools"
"github.com/Twigpine/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/tools"
)

type normalizationRecordingShellTool struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/agent/ask_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"testing"

"github.com/Gitlawb/zero/internal/tools"
"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/tools"
"github.com/Twigpine/zero/internal/zeroruntime"
)

// providerCallingAskUserThenAnswer returns a mock provider whose first turn calls
Expand Down
6 changes: 3 additions & 3 deletions internal/agent/async_diagnostics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"testing"
"time"

"github.com/Gitlawb/zero/internal/testutil"
"github.com/Gitlawb/zero/internal/tools"
"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/testutil"
"github.com/Twigpine/zero/internal/tools"
"github.com/Twigpine/zero/internal/zeroruntime"
)

func TestAsyncDiagnosticsNilCollectorNoOps(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions internal/agent/command_prefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"runtime"
"strings"

"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Gitlawb/zero/internal/tools"
"github.com/Twigpine/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/tools"
"mvdan.cc/sh/v3/syntax"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/agent/command_prefix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"runtime"
"testing"

"github.com/Gitlawb/zero/internal/sandbox"
"github.com/Gitlawb/zero/internal/tools"
"github.com/Twigpine/zero/internal/sandbox"
"github.com/Twigpine/zero/internal/tools"
)

func TestProposedCommandPrefixUsesSafeSimpleCommands(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions internal/agent/compaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"strings"
"unicode/utf8"

"github.com/Gitlawb/zero/internal/trace"
"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/trace"
"github.com/Twigpine/zero/internal/zeroruntime"
)

// Session compaction.
Expand Down Expand Up @@ -721,7 +721,7 @@
// working when the elided middle is bigger than the summarizer's own context.
// Non-context-limit errors (and a single message that still won't fit) surface
// to the caller unchanged.
func summarizeWithFallback(ctx context.Context, provider Provider, messages []zeroruntime.Message, onUsage func(Usage)) (string, error) {

Check failure on line 724 in internal/agent/compaction.go

View workflow job for this annotation

GitHub Actions / Code Quality & Lint

unreachable func: summarizeWithFallback
return summarizeWithPlanner(ctx, provider, messages, onUsage, newContextPlanner(contextPlannerConfig{}), nil)
}

Expand Down
4 changes: 2 additions & 2 deletions internal/agent/compaction_cheap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"testing"

"github.com/Gitlawb/zero/internal/tools"
"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/tools"
"github.com/Twigpine/zero/internal/zeroruntime"
)

// compactableHistory returns a history whose middle is large enough to trip
Expand Down
2 changes: 1 addition & 1 deletion internal/agent/compaction_metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"testing"

"github.com/Gitlawb/zero/internal/zeroruntime"
"github.com/Twigpine/zero/internal/zeroruntime"
)

func TestCompactMessagesReturnsMetadataForManualCompaction(t *testing.T) {
Expand Down
Loading
Loading