Skip to content

Backend/frontend: session env, agent CLI, and title refresh fixes#31

Open
kcosr wants to merge 10 commits into
mainfrom
kevin/session-token-and-agents-list-json
Open

Backend/frontend: session env, agent CLI, and title refresh fixes#31
kcosr wants to merge 10 commits into
mainfrom
kevin/session-token-and-agents-list-json

Conversation

@kcosr
Copy link
Copy Markdown
Owner

@kcosr kcosr commented Mar 20, 2026

Summary

  • inject SESSION_TOK and SESSIONS_API_BASE_URL into isolation_mode=none sessions, including route-created and auto-started sessions
  • extend agents.js list --json with expanded session metadata
  • add agents.js create --workspace, AGENTS_WORKSPACE, --title, and SESSION_TITLE support, defaulting workspace to Default
  • make agents.js create/send read stdin only when passed the explicit - sentinel, so omitted messages no longer hang on non-TTY stdin
  • restrict mobile foreground reattach/history reload behavior to actual mobile runtimes
  • suppress explicit-title OSC churn and add a frontend fast path for dynamic-title-only updates to avoid broad rerenders

Testing

  • cd backend && npm test
  • node --check frontend/public/js/modules/terminal/manager.js
  • node --check frontend/public/js/modules/terminal/session-list.js
  • node --check frontend/public/js/modules/terminal/session-tabs-manager.js
  • node --check frontend/public/js/utils/window-title.js
  • node --check frontend/public/js/utils/dynamic-title-updates.js
  • node --test frontend/tests/dynamic-title-updates.test.js frontend/tests/window-title.test.js frontend/tests/mobile-detection.test.js frontend/tests/terminal-auto-copy.test.js frontend/tests/workspace-recency.test.js frontend/tests/notes-model.test.js frontend/tests/theme-persistence.test.js

@kcosr kcosr changed the title Backend: set SESSION_TOK for isolation none and extend agents list JSON Backend/frontend: session env, agent CLI, and title refresh fixes Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant