Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
32483a3
feat: add multichat support - allow multiple sessions in same window
zanesq Jan 9, 2026
ec06f7b
update new chat icon and add LRU eviction
zanesq Jan 9, 2026
8a724b3
restore naming code from main
zanesq Jan 9, 2026
44e60fd
cleanup
zanesq Jan 9, 2026
180e459
get latest session even without messages
zanesq Jan 9, 2026
b45f072
final cleanup and testing
zanesq Jan 9, 2026
f4e8078
Merge branch 'main' of github.com:block/goose into zane/multichat-reb…
zanesq Jan 9, 2026
796ebe2
sync delete and rename with sidebar
zanesq Jan 9, 2026
4a3ff0b
cleanup
zanesq Jan 12, 2026
5ce46fd
Merge branch 'main' of github.com:block/goose into zane/multichat-reb…
zanesq Jan 12, 2026
c960f91
put back tooltip triggers on send button
zanesq Jan 12, 2026
789ad7a
fix dark mode color for separaters
zanesq Jan 12, 2026
f546c36
remove empty state and loading wasn't needed
zanesq Jan 12, 2026
b4c3c2a
Merge branch 'main' of github.com:block/goose into zane/multichat-reb…
zanesq Jan 13, 2026
8056368
optimizations and remove spinner
zanesq Jan 13, 2026
2a2678f
added comment about resumeSessionId in page navigation
zanesq Jan 13, 2026
bd7d4f0
refactored new session and autosubmit logic
zanesq Jan 13, 2026
e7332a7
remove sessionstatuscontext and refactor to hook for sidebar
zanesq Jan 13, 2026
78b50e5
remove comment
zanesq Jan 13, 2026
0a78efb
Merge branch 'main' of github.com:block/goose into zane/multichat-reb…
zanesq Jan 14, 2026
58435ed
update package-lock from main
zanesq Jan 14, 2026
2d31a38
change new chat key command to launch new chat instead of home
zanesq Jan 14, 2026
11d0a4f
wire up launcher view with new chat and fix duplicate views/chats bei…
zanesq Jan 14, 2026
8fb0879
fix duplicate new chats from keyboard command
zanesq Jan 14, 2026
9fcbaff
add quick launcher to menu
zanesq Jan 14, 2026
1007407
cleanup
zanesq Jan 14, 2026
7c2afcd
Merge branch 'main' of github.com:block/goose into zane/multichat-reb…
zanesq Jan 15, 2026
588193c
put back popular topics
zanesq Jan 15, 2026
d2efefb
Merge origin/main into zane/multichat-rebased
zanesq Jan 16, 2026
c162547
Merge origin/main into zane/multichat-rebased
zanesq Jan 16, 2026
68f2c0c
Fix sidebar not updating session name after stream finish
zanesq Jan 16, 2026
0f3c4b3
change event listeners to constants and remove initial message modifi…
zanesq Jan 16, 2026
2ff6642
merge in main
zanesq Jan 21, 2026
0963e15
make isActiveSession required
zanesq Jan 21, 2026
5f94381
update LRU code
zanesq Jan 21, 2026
835978b
move typing for events
zanesq Jan 21, 2026
9937725
update optional types
zanesq Jan 21, 2026
f24df59
remove comments
zanesq Jan 21, 2026
e49c72c
remove comment
zanesq Jan 21, 2026
4bbd371
remove unused error
zanesq Jan 21, 2026
335c104
fix event types
zanesq Jan 21, 2026
b97c717
remove comment
zanesq Jan 21, 2026
404393a
move goose branding logo from sidebar to top right
zanesq Jan 21, 2026
c2af6e3
Merge branch 'main' of github.com:block/goose into zane/multichat-reb…
zanesq Jan 21, 2026
b1e4755
poll for name sooner while streaming
zanesq Jan 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions crates/goose-server/src/routes/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ use serde::{Deserialize, Serialize};
use serde_json::Value;
use std::collections::HashMap;
use std::path::PathBuf;
use std::sync::atomic::Ordering;
use std::sync::Arc;
use tokio_util::sync::CancellationToken;
use tracing::{error, warn};
Expand Down Expand Up @@ -209,8 +208,7 @@ async fn start_agent(
}
}

let counter = state.session_counter.fetch_add(1, Ordering::SeqCst) + 1;
let name = format!("New session {}", counter);
let name = "New Chat".to_string();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the naming and numbering was mainly for debugging it made sense to unify it with what we want to display in the ui sidebar rather than trying to detect and paper over it in the display.


let manager = state.session_manager();

Expand Down
3 changes: 0 additions & 3 deletions crates/goose-server/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use goose::scheduler_trait::SchedulerTrait;
use goose::session::SessionManager;
use std::collections::{HashMap, HashSet};
use std::path::PathBuf;
use std::sync::atomic::AtomicUsize;
use std::sync::Arc;
use tokio::sync::Mutex;
use tokio::task::JoinHandle;
Expand All @@ -19,7 +18,6 @@ type ExtensionLoadingTasks =
pub struct AppState {
pub(crate) agent_manager: Arc<AgentManager>,
pub recipe_file_hash_map: Arc<Mutex<HashMap<String, PathBuf>>>,
pub session_counter: Arc<AtomicUsize>,
/// Tracks sessions that have already emitted recipe telemetry to prevent double counting.
recipe_session_tracker: Arc<Mutex<HashSet<String>>>,
pub tunnel_manager: Arc<TunnelManager>,
Expand All @@ -34,7 +32,6 @@ impl AppState {
Ok(Arc::new(Self {
agent_manager,
recipe_file_hash_map: Arc::new(Mutex::new(HashMap::new())),
session_counter: Arc::new(AtomicUsize::new(0)),
recipe_session_tracker: Arc::new(Mutex::new(HashSet::new())),
tunnel_manager,
extension_loading_tasks: Arc::new(Mutex::new(HashMap::new())),
Expand Down
Loading
Loading