Commit Graph

29 Commits

Author SHA1 Message Date
Alexandru Macocian 84958c7ef3 Support for local agents
Release / release (push) Successful in 17s
v0.1.8
2026-06-15 19:03:56 +02:00
Alexandru Macocian f6e8186b46 Support for custom browser
Release / release (push) Successful in 26s
v0.1.7
2026-06-15 17:19:22 +02:00
amacocian c943b1f4fb Fix staticcheck
Release / release (push) Successful in 19s
v0.1.6
2026-06-14 21:39:21 +02:00
amacocian 59eaf9e47d SearXNG support
Release / release (push) Failing after 6s
2026-06-14 21:33:22 +02:00
amacocian a96f2afe6f Move to downstream fixes
Release / release (push) Successful in 3m48s
v0.1.5
2026-06-13 19:49:52 +02:00
amacocian 31829b9733 Replace grafana-mcp with patched fork
Release / release (push) Successful in 25s
v0.1.4
2026-06-13 16:41:17 +02:00
amacocian 46e1e0d8ef Cleanup docs
Release / release (push) Successful in 14s
2026-06-13 15:08:52 +02:00
amacocian d178b048b4 Completion for updates
Release / release (push) Successful in 16s
v0.1.3
2026-06-13 14:50:53 +02:00
amacocian 53b0d025f5 Shared infra for installer
Release / release (push) Successful in 24s
v0.1.2
2026-06-13 14:25:40 +02:00
amacocian 1c2108dd2b Fix fmt
Release / tag (push) Successful in 2s
CI / build (push) Successful in 3m5s
v0.1.1
2026-06-13 13:40:24 +02:00
amacocian 40a779d4a8 Fix login lock
CI / build (push) Failing after 1s
2026-06-13 13:06:07 +02:00
amacocian a0071f147b Add support for completions
CI / build (push) Failing after 1s
2026-06-13 12:58:11 +02:00
amacocian 7c75f2d961 Installation proc
CI / build (push) Failing after 1s
2026-06-13 12:08:21 +02:00
amacocian 28dcd5b8e6 Grafana MCP
CI / build (push) Failing after 1s
2026-06-13 11:43:26 +02:00
amacocian 22ca6b3dc7 Setup gssh-mcp
CI / build (push) Failing after 0s
2026-05-30 14:11:01 +02:00
amacocian 8d159a9bcd Gitea tools improvement
CI / build (push) Failing after 1s
2026-05-28 16:05:07 +02:00
amacocian 454f42771e Gitea-mcp
CI / build (push) Successful in 10s
2026-05-28 15:47:55 +02:00
amacocian f5109abfad Gitea mcp pre-release
CI / build (push) Successful in 19s
2026-05-25 15:22:30 +02:00
amacocian e6d29e9710 Setup wallet model
CI / build (push) Successful in 1m25s
2026-05-25 14:15:13 +02:00
amacocian ae311f474b Keyring adjustments
CI / build (push) Successful in 6s
2026-05-25 10:57:24 +02:00
amacocian c9081ee2da Remove broker
CI / build (push) Successful in 6s
2026-05-25 10:37:21 +02:00
amacocian 154412b0a7 Drop profiles
CI / build (push) Successful in 7s
2026-05-25 10:14:39 +02:00
amacocian fe71a4e60c Code fixes
CI / build (push) Successful in 1m5s
2026-05-25 09:51:14 +02:00
amacocian 24f77e7b74 Phase 1: login broker + agent-agnostic wrapper
Lock and implement Phase 1 decisions:

- #8 token storage: OS keyring (zalando/go-keyring) with strict probe at
  startup of both sherlock and sherlock-broker; fail fast with exit 3
  and a per-OS hint if Secret Service / Keychain / Credential Manager
  is missing.
- #9 RPC framing: JSON-over-newline on the UDS at
  $XDG_RUNTIME_DIR/sherlock.sock, debuggable with socat.
- #10 broker lifecycle: forked child process (setsid-detached), per-user
  PID-file flock prevents double-start, auto-exit after
  SHERLOCK_BROKER_IDLE (default 1h). No systemd.
- #11 loopback port: 127.0.0.1:6990 for the Authentik PKCE callback.
  Actual Authentik provider creation deferred; login_start returns a
  clean 'not_configured' error mentioning the env vars to set, and the
  full OIDC path is exercised by an integration test against a stub
  Authentik (httptest + go-jose ES256 signer).

New packages (all green under `go test -race`):
- internal/xdg, internal/rpc, internal/socket — primitives
- internal/keyring (+ fake/) — Probe, Store, TokenSet
- internal/authn — discovery, PKCE, loopback flow, single-flight refresh
- internal/broker — lifecycle, server, spawn, RPC methods
- internal/agent — TOML profile loader (embedded + user overlay),
  MCP-config renderer, argv/env builder, syscall.Exec wrapper

CLI:
- cmd/sherlock: login / logout [--shutdown] / status / run <agent> /
  <agent-name> alias dispatch
- cmd/sherlock-broker: daemon subcommand wiring all of the above

Deps: zalando/go-keyring, BurntSushi/toml, coreos/go-oidc/v3,
golang.org/x/oauth2, golang.org/x/sync. go directive bumped to 1.25;
CI Go version bumped to 1.26.3 to match.

Docs: new docs/storage.md and docs/rpc.md; auth-model, conventions,
README, plan.md all updated to reflect the locked decisions.

End-to-end verified locally: auto-spawn broker, status, login refused
with not_configured, agent alias execs through with the rendered MCP
config path, logout --shutdown brings the socket down.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-24 22:39:34 +02:00
amacocian 2eb0be7707 Install more deps
CI / build (push) Successful in 22s
2026-05-24 22:07:10 +02:00
amacocian 025b7d71dd Fix token
CI / build (push) Failing after 6s
2026-05-24 22:04:44 +02:00
amacocian fa70211272 Remove actions deps
CI / build (push) Failing after 8s
2026-05-24 22:02:01 +02:00
amacocian 801bbcec09 Phase 0
CI / build (push) Has been cancelled
2026-05-24 21:53:20 +02:00
Alexandru Macocian 3508cb970c Initial plan 2026-05-22 16:45:10 +02:00