Skip to content

refactor: focus docs on tailnet access and terminal sessions#134

Merged
gricha merged 6 commits into
mainfrom
feature/tailscale-docs-sessions
Jan 16, 2026
Merged

refactor: focus docs on tailnet access and terminal sessions#134
gricha merged 6 commits into
mainfrom
feature/tailscale-docs-sessions

Conversation

@gricha
Copy link
Copy Markdown
Owner

@gricha gricha commented Jan 16, 2026

Summary

  • remove mobile app references from public docs and refocus messaging on tailnet-registered workspaces
  • update landing copy to highlight Tailscale access and synced CLI/web/SSH flows
  • open agent sessions directly in the web terminal with run-specific caching

Testing

  • not run (docs/UI copy changes only)

Comment thread web/src/components/Terminal.tsx Outdated
Comment on lines +198 to +199
cached.initialCommandSent = false
cached.runId = runId

This comment was marked as outdated.

- Add missing comma in docs/index.tsx feature list
- Only reset initialCommandSent when runId changes to prevent
  duplicate command sends on terminal remount
Comment on lines +757 to +761
key={`agent-${name}`}
workspaceName={name!}
initialCommand={terminalMode.command}
runId={terminalMode.command}
/>

This comment was marked as outdated.

New sessions now get a timestamp-based runId to prevent cache
collisions when starting multiple sessions with the same agent type.
- Remove unused handleSessionId callback
- Update tests to expect "New Session" instead of "New Chat"
- Update tests to check for terminal UI instead of chat UI
Comment on lines 538 to +541

const handleNewChat = (agentType: AgentType = 'claude-code') => {
setProjectPathOverride(undefined)
if (agentType === 'claude-code' || agentType === 'opencode') {
setChatMode({ type: 'chat', agentType })
} else {
setChatMode({ type: 'terminal', command: 'codex' })
}
const handleNewSession = (agentType: AgentType = 'claude-code') => {
const sessionId = `${agentType}-${Date.now()}`
setTerminalMode({ type: 'terminal', command: agentType, runId: sessionId })

This comment was marked as outdated.

Comment on lines +539 to +541
const handleNewSession = (agentType: AgentType = 'claude-code') => {
const sessionId = `${agentType}-${Date.now()}`
setTerminalMode({ type: 'terminal', command: agentType, runId: sessionId })

This comment was marked as outdated.

Store the unique runId in URL search params so it survives
component re-renders, preventing duplicate session initialization.
@gricha gricha merged commit 04f964d into main Jan 16, 2026
8 checks passed
@gricha gricha deleted the feature/tailscale-docs-sessions branch January 16, 2026 23:07
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