Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
4670175
feat(chat): improve prompt queue composer controls
su-fen Jun 24, 2026
b9141ce
fix(webui): restore mobile settings back button
su-fen Jun 24, 2026
3b39d53
fix(chat): advertise only real running chat runs
su-fen Jun 25, 2026
217305e
feat(tunnel): add remote tunnel diagnostics
su-fen Jun 25, 2026
cd94d41
fix(chat): recover WebUI chat state after gateway reconnects
su-fen Jun 25, 2026
6a99d88
fix(chat): refresh streamed tool previews while collapsed
su-fen Jun 25, 2026
d935e80
feat(settings): add auto theme mode
su-fen Jun 25, 2026
426a571
fix(settings): remove settings page top shadow
su-fen Jun 25, 2026
84bdffb
refactor(gateway): consolidate websocket helpers and manager internals
su-fen Jun 29, 2026
1fcdf24
fix(chat): clean up orphaned local draft conversations
su-fen Jun 29, 2026
a822b45
fix(gateway): stabilize chat run replay and recovery
su-fen Jun 29, 2026
94b8fec
fix(chat): stabilize gateway run handoff and idle recovery
su-fen Jun 30, 2026
5ae30dc
fix(chat): stream gateway chat through websocket subscriptions
su-fen Jul 2, 2026
ef974a4
refactor(gateway): extract chat payload shaping into chatwire package
su-fen Jul 2, 2026
a4a9480
feat(gateway): add per-conversation stream core with normalized run l…
su-fen Jul 2, 2026
c0a0521
refactor(gateway): cut chat relay over to conversation streams
su-fen Jul 2, 2026
455057d
feat(webui): add conversation stream transport and transcript stores
su-fen Jul 2, 2026
bd3badc
refactor(webui): rebuild chat orchestration on conversation streams
su-fen Jul 2, 2026
872d208
chore(chat): sweep dead control-event vocabulary
su-fen Jul 2, 2026
0c4d28c
fix(chat): harden stream pipeline against adversarial-review findings
su-fen Jul 2, 2026
9b6b31e
fix(chat): stop queue-bound prompt flash and virtualizer row corruption
su-fen Jul 2, 2026
33c5403
fix(chat): stabilize transcript history and live rendering
su-fen Jul 2, 2026
090184e
fix(chat): prevent file tool previews from regressing
su-fen Jul 2, 2026
401eff9
feat(chat): show live +N/-N line-change badges on Write/Edit previews
su-fen Jul 3, 2026
d010e47
fix(chat): sync edit resend rebases across gateway clients
su-fen Jul 3, 2026
a936a3d
feat(tunnel): add persistent desired-state relay
su-fen Jul 3, 2026
1a1b3b7
fix(project-tools): show project names on tunnel scope badges
su-fen Jul 3, 2026
dedd020
fix(tools): stabilize filesystem path recovery
su-fen Jul 3, 2026
4f498ec
fix(tools): harden streamed tool calls and file writes
su-fen Jul 3, 2026
ce5d743
fix(chat): stabilize chat run reconciliation
su-fen Jul 3, 2026
1461805
fix(settings): preserve UI-only settings during gateway sync
su-fen Jul 3, 2026
ef48fb6
fix(settings): prevent duplicate settings sync side effects
su-fen Jul 3, 2026
ff50987
fix(ssh): place proxy tags after auth method
su-fen Jul 3, 2026
724f3a4
fix(gateway): stabilize remote liveness under stream load
su-fen Jul 4, 2026
51c7d51
docs(gateway): document WebSocket chat streaming flow
su-fen Jul 4, 2026
29f894c
refactor(gui): split Tauri services into modules
su-fen Jul 4, 2026
c483c02
fix(project-tools): keep new terminals active after creation
su-fen Jul 4, 2026
94df186
chore(mirror): establish shared lint/format baseline and mirror check
su-fen Jul 4, 2026
766b45a
fix(tunnel): unify emitted revision domain and surface disconnects
su-fen Jul 4, 2026
620e7d9
feat(workspace): add invalidate-push activity pipeline
su-fen Jul 4, 2026
6236000
refactor(right-dock): derive terminal tabs, rewrite dock state schema
su-fen Jul 4, 2026
73488ed
refactor(right-dock): registry-driven content, DockContext, memo boun…
su-fen Jul 4, 2026
b8e88f1
refactor(right-dock): rewrite content panels on push-based data layer
su-fen Jul 4, 2026
0b8e558
docs(architecture): document mirror manifest and workspace activity p…
su-fen Jul 4, 2026
08b8a9a
feat(memory): extend Rust command surface for memory system rewrite
su-fen Jul 4, 2026
f99be06
feat(memory): shared TS core and structured-evidence MemoryManager
su-fen Jul 4, 2026
79b451e
feat(memory): tool-call extraction engine with per-conversation contr…
su-fen Jul 4, 2026
e3507d4
feat(memory): organizer as plain service with typed v4 run records
su-fen Jul 4, 2026
3fd6e9b
refactor(memory): mirrored settings panel with quota banner, web sync
su-fen Jul 4, 2026
1db3aff
docs(memory): document the rewritten memory architecture
su-fen Jul 4, 2026
302dcc4
fix(chat): keep live transcript pinned across layout jumps
su-fen Jul 4, 2026
d68b1a6
refactor(sidebar): replace history-list scope hooks with mirrored sid…
su-fen Jul 5, 2026
6892780
fix(mcp-hub): truncate long version labels in registry card selector
su-fen Jul 5, 2026
504f57a
refactor(automation): rewrite hooks/cron into a unified automation do…
su-fen Jul 5, 2026
1ee83e0
style(hub): deepen dark-mode contrast on hub chrome and glass panels
su-fen Jul 5, 2026
84ea269
fix(power-activity): bind caffeinate assertion to process pid
su-fen Jul 5, 2026
9767b82
style(remote-settings): tidy Remote page layout and grid alignment
su-fen Jul 5, 2026
41c0137
refactor(subagent): rewrite the Agent built-in tool system end to end
su-fen Jul 5, 2026
e324917
fix(mention-composer): stop IME Enter leaks and stale mention/tooltip…
su-fen Jul 5, 2026
eb4f7e0
fix(git-branch-selector): clamp dropdown height and pin header/footer…
su-fen Jul 5, 2026
39a238e
fix(thinking-levels): centralize reasoning-effort mapping across prov…
su-fen Jul 5, 2026
4c6e52f
style(sidebar): give workspace and recent-conversation menus natural …
su-fen Jul 5, 2026
6b6a6aa
test(ci): align stale frontend tests with automation and subagent rew…
su-fen Jul 5, 2026
a42ca40
chore(tauri): prune unused test imports and gate macos-only helper
su-fen Jul 5, 2026
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
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ jobs:
working-directory: crates/agent-gateway/web
run: pnpm build

- name: Lint WebUI
working-directory: crates/agent-gateway/web
run: pnpm lint

- name: Test WebUI modules
working-directory: crates/agent-gateway
run: node --test test/webui/*.test.mjs web/test/*.test.mjs
Expand All @@ -138,6 +142,14 @@ jobs:
working-directory: crates/agent-gui
run: pnpm install --frozen-lockfile

- name: Typecheck and build GUI frontend
working-directory: crates/agent-gui
run: pnpm build

- name: Lint GUI frontend
working-directory: crates/agent-gui
run: pnpm lint

- name: Test frontend modules
working-directory: crates/agent-gui
run: pnpm test:frontend
Expand Down Expand Up @@ -179,6 +191,19 @@ jobs:
CARGO_TERM_COLOR: always
run: cargo test --manifest-path crates/agent-gui/src-tauri/Cargo.toml chat_history --lib

mirror:
name: GUI/WebUI Mirror Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}

- name: Check mirrored files are byte-identical
run: node scripts/check-mirror.mjs

whitespace:
name: Diff Hygiene
runs-on: ubuntu-latest
Expand Down
78 changes: 78 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 14 additions & 13 deletions crates/agent-gateway/cmd/gateway/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (

"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/keepalive"
"google.golang.org/grpc/reflection"

"github.com/liveagent/agent-gateway/internal/auth"
Expand All @@ -26,19 +27,7 @@ const grpcShutdownTimeout = 3 * time.Second

func main() {
cfg := config.Load()
chatEventStore, err := session.OpenSQLiteChatEventStore(cfg.ChatEventStorePath)
if err != nil {
log.Fatalf("open chat event store: %v", err)
}
defer func() {
if err := chatEventStore.Close(); err != nil {
log.Printf("close chat event store: %v", err)
}
}()
sm, err := session.NewManagerWithChatEventStore(chatEventStore)
if err != nil {
log.Fatalf("initialize session manager: %v", err)
}
sm := session.NewManager()

grpcServer, err := newGRPCServer(cfg, sm)
if err != nil {
Expand Down Expand Up @@ -111,6 +100,18 @@ func newGRPCServer(cfg *config.Config, sm *session.Manager) (*grpc.Server, error
grpc.MaxSendMsgSize(cfg.GRPCMaxMessageBytes),
grpc.UnaryInterceptor(auth.GRPCUnaryInterceptor(cfg.Token)),
grpc.StreamInterceptor(auth.GRPCStreamInterceptor(cfg.Token)),
// Transport-level liveness: h2 PINGs are not subject to application
// queue congestion, so dead links are detected even mid-stream.
grpc.KeepaliveParams(keepalive.ServerParameters{
Time: 30 * time.Second,
Timeout: 10 * time.Second,
}),
// The desktop GUI pings every 10-60s; MinTime must stay below its
// floor or grpc-go answers with a too_many_pings GOAWAY.
grpc.KeepaliveEnforcementPolicy(keepalive.EnforcementPolicy{
MinTime: 5 * time.Second,
PermitWithoutStream: true,
}),
}
if cfg.TLSCert != "" || cfg.TLSKey != "" {
creds, err := credentials.NewServerTLSFromFile(cfg.TLSCert, cfg.TLSKey)
Expand Down
8 changes: 0 additions & 8 deletions crates/agent-gateway/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,7 @@ require (
)

require (
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/ncruces/go-strftime v1.0.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
golang.org/x/sys v0.42.0 // indirect
golang.org/x/text v0.27.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b // indirect
modernc.org/libc v1.72.3 // indirect
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.11.0 // indirect
modernc.org/sqlite v1.52.0 // indirect
)
19 changes: 0 additions & 19 deletions crates/agent-gateway/go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
github.com/doyensec/safeurl v0.2.5 h1:kKu0JNQy0tJ8jkDyB5h6Aml9vWWniq+mpoa12EGLcOQ=
github.com/doyensec/safeurl v0.2.5/go.mod h1:3H0cgRpPYPSpgxRRn5yGD35Ns/LgGX/BVWSBbzUqXtY=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/gabriel-vasile/mimetype v1.4.13 h1:46nXokslUBsAJE/wMsp5gtO500a4F3Nkz9Ufpk2AcUM=
github.com/gabriel-vasile/mimetype v1.4.13/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s=
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
Expand All @@ -16,12 +14,6 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/ncruces/go-strftime v1.0.0 h1:HMFp8mLCTPp341M/ZnA4qaf7ZlsbTc+miZjCLOFAw7w=
github.com/ncruces/go-strftime v1.0.0/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
github.com/tdewolff/parse/v2 v2.8.13 h1:si/8rLw5BZZTWCCiMm9A3f6x+RmqYfrkEeXCgpX5ick=
github.com/tdewolff/parse/v2 v2.8.13/go.mod h1:XdsoSFThlVIRIajAuqz1evNY7bagZS8LBOPA3aVopwQ=
github.com/tdewolff/test v1.0.12 h1:7F21DqIajswxuche0geHdrUZRCWE4oko4b7bcmkkrxk=
Expand All @@ -40,9 +32,6 @@ go.opentelemetry.io/otel/trace v1.37.0 h1:HLdcFNbRQBE2imdSEgm/kwqmQj1Or1l/7bW6mx
go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0=
golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs=
golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA=
golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo=
golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4=
Expand All @@ -55,11 +44,3 @@ google.golang.org/grpc v1.76.0 h1:UnVkv1+uMLYXoIz6o7chp59WfQUYA2ex/BXQ9rHZu7A=
google.golang.org/grpc v1.76.0/go.mod h1:Ju12QI8M6iQJtbcsV+awF5a4hfJMLi4X0JLo94ULZ6c=
google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE=
google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
modernc.org/libc v1.72.3 h1:ZnDF4tXn4NBXFutMMQC4vtbTFSXhhKzR73fv0beZEAU=
modernc.org/libc v1.72.3/go.mod h1:dn0dZNnnn1clLyvRxLxYExxiKRZIRENOfqQ8XEeg4Qs=
modernc.org/mathutil v1.7.1 h1:GCZVGXdaN8gTqB1Mf/usp1Y/hSqgI2vAGGP4jZMCxOU=
modernc.org/mathutil v1.7.1/go.mod h1:4p5IwJITfppl0G4sUEDtCr4DthTaT47/N3aT6MhfgJg=
modernc.org/memory v1.11.0 h1:o4QC8aMQzmcwCK3t3Ux/ZHmwFPzE6hf2Y5LbkRs+hbI=
modernc.org/memory v1.11.0/go.mod h1:/JP4VbVC+K5sU2wZi9bHoq2MAkCnrt2r98UGeSK7Mjw=
modernc.org/sqlite v1.52.0 h1:p4dhYh2tXZCiyaqHwRVJDjIGKWyXayiQpThxgDzJaxo=
modernc.org/sqlite v1.52.0/go.mod h1:tcNzv5p84E0skkmJn038y+hWJbLQXQqEnQfeh5r2JLM=
Loading
Loading