diff --git a/apps/web/src/components/sidebar/SidebarChrome.tsx b/apps/web/src/components/sidebar/SidebarChrome.tsx index 4516e18d57d5a..b5fd7e255a93f 100644 --- a/apps/web/src/components/sidebar/SidebarChrome.tsx +++ b/apps/web/src/components/sidebar/SidebarChrome.tsx @@ -238,7 +238,7 @@ function SidebarBrandMark({ product = "Code", }: { onBackdrop: boolean; - product?: "Code" | "Kin"; + product?: string; }) { return ( diff --git a/branding/drift-baseline.txt b/branding/drift-baseline.txt index c2c956c9ad9c5..591bb2095d8d1 100644 --- a/branding/drift-baseline.txt +++ b/branding/drift-baseline.txt @@ -17,6 +17,11 @@ apps/desktop/src/app/DesktopAppActivationBroker.ts "T3 Code is shutting down." apps/desktop/src/app/DesktopAppActivationBroker.ts "T3 Code is shutting down." apps/desktop/src/app/DesktopAppActivationBroker.ts "The T3 Code window closed before it opened the project…" apps/desktop/src/app/DesktopAppActivationBroker.ts "The command closed before T3 Code was ready." +apps/desktop/src/app/DesktopCliCommand.ts " runs first; T3 Code leaves it in place." +apps/desktop/src/app/DesktopCliCommand.ts "# Added by T3 Code" +apps/desktop/src/app/DesktopCliCommand.ts "T3 Code cannot add t3 to this shell's PATH." +apps/desktop/src/app/DesktopCliCommand.ts "T3 Code cannot put " +apps/desktop/src/app/DesktopCliCommand.ts "left another T3 Code app's t3 command in place" apps/desktop/src/app/DesktopObservability.ts "t3code" apps/desktop/src/app/DesktopObservability.ts "t3code-desktop" apps/desktop/src/app/DesktopStartupRecovery.ts ". T3 Code restarts when the download is done." @@ -45,7 +50,7 @@ apps/desktop/src/preview/PickPreload.ts "data-t3code-annotation-ui" apps/desktop/src/preview/PickPreload.ts "html[data-t3code-annotation-tool] body, html[data-t3code-ann…" apps/desktop/src/preview/RecordingCursor.ts "data-t3code-recording-agent-cursor" apps/desktop/src/preview/RecordingCursor.ts "data-t3code-recording-cursor" -apps/desktop/src/preview/RecordingCursor.ts "…prefers-reduced-motion: reduce) { [data-t3code-recording-agent-cursor] { transition: none …" +apps/desktop/src/preview/RecordingCursor.ts "…ml * { cursor: none !important; } [data-t3code-recording-cursor]::backdrop, [data-t3code-r…" apps/desktop/src/snapShot/DesktopSnapShot.ts "The compositor could not activate T3 Code after the snapshot" apps/desktop/src/snapShot/DesktopSnapShot.ts "… capture endpoint disconnected. Restart T3 Code." apps/desktop/src/snapShot/DesktopSnapShot.ts "…bility in System Settings, then restart T3 Code." @@ -86,6 +91,7 @@ apps/mobile/plugins/withIosCocoaPodsUuidCache.cjs "# t3code: repair cached Cocoa apps/mobile/src/connection/catalog-store.ts "t3code.connection-catalog.v1" apps/mobile/src/connection/catalog-store.ts "t3code.connections" apps/mobile/src/features/agent-awareness/remoteRegistration.ts "T3 Code" +apps/mobile/src/features/chats/approvals/approverKeyRecord.ts "t3code.kin.approval-key" apps/mobile/src/features/cloud/dpop.ts "t3code.cloud.dpop-proof-key" apps/mobile/src/features/cloud/managedRelayTokenStore.ts "t3code.cloud.relay-access-tokens" apps/mobile/src/features/connection/permissionUpdateNotice.ts "t3code.permission-update.v1" @@ -126,12 +132,17 @@ apps/mobile/src/persistence/mobile-storage.ts "t3code.agent-awareness.device-id" apps/mobile/src/persistence/mobile-storage.ts "t3code.agent-awareness.registration" apps/mobile/src/persistence/mobile-storage.ts "t3code.recent-thread-shortcuts" apps/mobile/src/state/use-thread-composer-state.ts "Update this environment's T3 Code server to use side chats." +apps/mobile/src/widgets/AgentActivityWidget.tsx "Open T3 Code to load agent activity" +apps/mobile/src/widgets/AgentActivityWidget.tsx "T3 Code" +apps/mobile/src/widgets/agentActivityWidgetTimeline.ts "T3 Code" apps/server/integration/TransferBudgetReport.integration.ts "# T3 Code thread transfer budget" apps/server/package.json "https://github.com/pingdotgg/t3code" apps/server/scripts/acp-mock-agent.ts "T3 Code page" apps/server/scripts/acp-mock-agent.ts "T3 Code page" apps/server/scripts/acp-mock-agent.ts "https://github.com/pingdotgg/t3code" apps/server/scripts/codexReplayRecordingRecords.ts "/home/replay-user/t3code" +apps/server/scripts/kin-shadow-dry-run.ts ".t3" +apps/server/scripts/kin-shadow-dry-run.ts ".t3" apps/server/src/binCli.ts "Run T3 Code in this terminal and open it in your brows…" apps/server/src/cli/acpMcpBridge.ts "Bridge T3 Code's MCP endpoint to stdio for ACP agents." apps/server/src/cli/acpMcpBridge.ts "Call one T3 Code MCP tool from an ACP agent terminal." @@ -238,6 +249,9 @@ apps/server/src/device/AgentDeviceShim.ts "…t-device command is out of date be apps/server/src/device/EasDeviceHost.ts "T3 Code · " apps/server/src/device/SshDeviceHost.ts "…nux. To use this machine's devices, run T3 Code on it and connect to that environment." apps/server/src/git/GitManager.ts "t3code-pr-body-" +apps/server/src/kin/github/__fixtures__/github-app.json "https://github.com/GLDRoger/t3code" +apps/server/src/kin/github/appSetup.ts "https://github.com/GLDRoger/t3code" +apps/server/src/kin/github/testFakes.ts "GLDRoger/t3code" apps/server/src/mcp/AcpMcpStdioBridge.ts "T3 Code MCP " apps/server/src/mcp/AcpMcpStdioBridge.ts "T3 Code MCP bridge request failed: " apps/server/src/mcp/AcpMcpStdioBridge.ts "T3 Code MCP endpoint responded with HTTP " @@ -271,6 +285,8 @@ apps/server/src/peer/PeerLinks.ts "http://127.0.0.1/t3code-peer-link" apps/server/src/peer/PeerMcpClient.ts "t3code-peer" apps/server/src/persistence/DatabaseMaintenance.ts "No existing T3 Code database was found in this data directory." apps/server/src/persistence/DatabaseMaintenance.ts "Stop the T3 Code server and desktop app, including any vers…" +apps/server/src/persistence/DatabaseMaintenance.ts "…ram kept the database open. Close other T3 Code apps and t3 commands on this machine, then…" +apps/server/src/persistence/DatabaseStorage.ts "Stop T3 Code on this machine, then run: " apps/server/src/persistence/Sqlite.ts "t3code-server" apps/server/src/policy/policyTemplates.ts "Configures T3 Code for every user on this Mac." apps/server/src/policy/policyTemplates.ts "Disabled stops T3 Code from sending product usage data and relay …" @@ -321,6 +337,7 @@ apps/server/src/serviceLauncher.ts "[service-launcher] Another T3 Code server ow apps/server/src/startupAccess.ts "T3 Code server is ready." apps/server/src/textGeneration/ClaudeTextGeneration.ts "t3code-claude-title-" apps/server/src/textGeneration/CodexTextGeneration.ts "t3code-" +apps/server/src/textGeneration/textGeneratorDrivers.ts " returned a reply T3 Code couldn't read." apps/server/src/triage/TriageService.ts "https://github.com/pingdotgg/t3code" apps/server/src/vcs/GitVcsDriverCore.ts "t3code-commit-index-" apps/server/src/vcs/GitVcsDriverCore.ts "t3code-git-trace2-" @@ -329,6 +346,7 @@ apps/web/src/cloud/linkEnvironment.ts "T3 Code cannot install the relay client a apps/web/src/cloud/linkEnvironment.ts "T3 Code cannot install the relay client automatica…" apps/web/src/components/ChatView.tsx "Update this environment's T3 Code server to use side chats." apps/web/src/components/CommandPalette.tsx "An agent investigates a T3 Code problem and helps file an issue" +apps/web/src/components/CommandPalette.tsx "Use T3 Code in another app (MCP)" apps/web/src/components/DiffPanel.tsx "t3code.diffFileTreeOpen" apps/web/src/components/EnvironmentContextChip.tsx "T3 Code environment" apps/web/src/components/GitHubStarPrompt.tsx "Enjoying T3 Code?" @@ -338,6 +356,7 @@ apps/web/src/components/HostedEmptyState.tsx "Your agents run on your computer. apps/web/src/components/RightPanelTabs.tsx "…wser previews are only available in the T3 Code desktop app." apps/web/src/components/ServerUpdateAction.tsx "Update the T3 Code desktop app that runs the " apps/web/src/components/ServerUpdateAction.tsx "Update the T3 Code desktop apps on " +apps/web/src/components/auth/ConnectAgentSurface.tsx "Get one from Use T3 Code in another app (MCP), Settings → Sharing" apps/web/src/components/chat/QueuedRunsControl.tsx "Sent by T3 Code" apps/web/src/components/chat/QueuedRunsControl.tsx "t3code" apps/web/src/components/chat/RightPanelSurfaceContent.tsx "Update this environment's T3 Code server to browse pull requests." @@ -368,7 +387,20 @@ apps/web/src/components/files/FilePreviewPanel.tsx "t3code.renderBrowserFile" apps/web/src/components/files/FilePreviewPanel.tsx "t3code.renderMarkdown" apps/web/src/components/files/FilePreviewPanel.tsx "t3code.renderMermaid" apps/web/src/components/files/FilePreviewPanel.tsx "t3code.renderTable" +apps/web/src/components/mcp/UseInAnotherAppDialog.tsx "Restart T3 Code on" +apps/web/src/components/mcp/UseInAnotherAppDialog.tsx "T3 Code" +apps/web/src/components/mcp/UseInAnotherAppDialog.tsx "Update T3 Code on " +apps/web/src/components/mcp/UseInAnotherAppDialog.tsx "Use T3 Code in another app (MCP) · " +apps/web/src/components/mcp/mcpApps.ts "Add t3code under mcp_servers in ~/.hermes/config.yaml,…" +apps/web/src/components/mcp/mcpApps.ts "Run hermes mcp login t3code." +apps/web/src/components/mcp/mcpApps.ts "hermes mcp add t3code --url " +apps/web/src/components/mcp/mcpApps.ts "openclaw mcp add t3code --url " +apps/web/src/components/mcp/mcpApps.ts "openclaw mcp login t3code" apps/web/src/components/onboarding/FirstRunGate.tsx "T3 Code could not confirm this workspace." +apps/web/src/components/onboarding/WelcomePage.tsx "T3 Code app for iPhone and Android" +apps/web/src/components/onboarding/WelcomePage.tsx "T3 Code collects anonymous usage data to improve t…" +apps/web/src/components/onboarding/WelcomePage.tsx "Use T3 Code on your phone" +apps/web/src/components/onboarding/WelcomePage.tsx "Welcome to T3 Code" apps/web/src/components/preview/PreviewPanel.tsx "Preview is only available in the T3 Code desktop app." apps/web/src/components/preview/PreviewView.tsx "This tab is open in the T3 Code desktop app." apps/web/src/components/promptLinks/HostedPromptLinkLanding.tsx "Get T3 Code" @@ -402,6 +434,9 @@ apps/web/src/components/settings/ConnectionsSettings.tsx "T3 Code will restart t apps/web/src/components/settings/ConnectionsSettings.tsx "T3 Code will restart the local backend without Tai…" apps/web/src/components/settings/ConnectionsSettings.tsx "…e distro, but they'll be unavailable in T3 Code until you re-enable WSL." apps/web/src/components/settings/ConnectionsSettings.tsx "…nnect or Tailscale HTTPS, keep working. T3 Code will restart." +apps/web/src/components/settings/DatabaseStorageNotice.tsx "Restarts T3 Code there. It will be offline for about " +apps/web/src/components/settings/DatabaseStorageNotice.tsx "T3 Code on" +apps/web/src/components/settings/DatabaseStorageNotice.tsx "T3 Code there restarts and is back in about " apps/web/src/components/settings/IntegrationsSettings.tsx "Open pull requests in T3 Code" apps/web/src/components/settings/IntegrationsSettings.tsx "T3 Code" apps/web/src/components/settings/IntegrationsSettings.tsx "open pull requests in T3 Code" @@ -417,6 +452,7 @@ apps/web/src/components/settings/MobileAppSettingsRow.tsx "…//play.google.com/ apps/web/src/components/settings/MultipleAccountsNote.tsx "accounts in T3 Code." apps/web/src/components/settings/MultipleAccountsNote.tsx "https://github.com/pingdotgg/t3code/blob/main/docs/user/faq.md#can-i-add-a-bunc…" apps/web/src/components/settings/NotificationSettings.tsx "… approval. Applies to this device while T3 Code is open." +apps/web/src/components/settings/SavedEnvironmentRows.tsx "…connect link` on the host, then restart T3 Code there." apps/web/src/components/settings/ScheduledTasksSettings.tsx "This environment runs an older T3 Code. Update it to schedule a one-time task, or…" apps/web/src/components/settings/SecretsSettings.tsx "Update T3 Code on" apps/web/src/components/settings/SettingsFontPreviews.tsx "\\x1b[1;32m→\\x1b[0m \\x1b[1;36mt3code\\x1b[0m \\x1b[1;34mgit:(\\x1b[1;31mmain\\x1b[1;…" @@ -551,7 +587,9 @@ packages/provider-opencode/src/server/v2/textGeneration.ts "T3 Code " packages/provider-opencode/src/server/versionProbe.ts " output. T3 Code requires OpenCode v" packages/provider-opencode/src/server/versionProbe.ts "…er did not identify itself as OpenCode. T3 Code requires OpenCode v" packages/provider-opencode/src/settings.ts "Leave blank to let T3 Code spawn the server when needed." +packages/provider-pi/src/server/adapter.ts "T3 Code's Pi extension did not apply the service t…" packages/provider-pi/src/server/mcpExtensionSource.ts "{event.toolName} was declined in T3 Code." +packages/provider-pi/src/server/mcpExtensionSource.ts "…\n description: \"Set the service tier T3 Code sends with provider requests\",\n handler…" packages/provider-pi/src/server/mcpExtensionSource.ts "…d --approve to Pi's launch arguments in T3 Code settings; to keep them off without this no…" packages/provider-pi/src/server/mcpInjection.ts "' is controlled by T3 Code and cannot be overridden." packages/provider-pi/src/server/mcpInjection.ts "' is not supported by T3 Code." diff --git a/branding/rules.yaml b/branding/rules.yaml index dda4a3c770182..304dd24279a26 100644 --- a/branding/rules.yaml +++ b/branding/rules.yaml @@ -86,7 +86,8 @@ text: to: "--scheme kin" # Mobile: links the app opens and builds, and the names it shows. - - files: [apps/mobile/src/widgets/AgentActivity.tsx] + - files: + [apps/mobile/src/widgets/AgentActivity.tsx, apps/mobile/src/widgets/AgentActivityWidget.tsx] from: "t3code://" to: "kin://" - files: [apps/mobile/src/App.tsx] @@ -615,12 +616,16 @@ leaks: files: [apps/server/src/project/AgentSessionScanner.ts] - reason: >- The Kin host runs the server from source with `--base-dir ~/.t3` (ops/kin/host), and the - shadow dry run refuses that live state directory; both name the host's real path. + worker environment keeps its state in the kin-worker user's ~/.t3 the same way. The host + scripts read, pair and link those homes, and the shadow dry run refuses the live state + directory; all name the host's real paths. leak: t3-home files: - apps/server/scripts/kin-shadow-dry-run.ts - ops/kin/host/backup.sh - ops/kin/host/kin-server.service + - ops/kin/host/kin-worker.sh + - ops/kin/host/update.sh - reason: Message attribution enum on the wire; peers and stored threads use this value. leak: scheme-name text: "^t3code$" @@ -683,6 +688,13 @@ leaks: leak: bundle-id text: "play\\.google\\.com/store/apps/details\\?id=com\\.t3tools\\.t3code$" files: [apps/web/src/components/settings/MobileAppSettingsRow.tsx] + - reason: >- + The store redirect for T3 Code's mobile app, read only by the Welcome page's Phone + section, which a guard makes render nothing (scripts/lib/kinBrandGuards.ts). Kin's builds + go to TestFlight (see the eas.json rule) and have no public listing to link instead. + leak: t3-domain + text: "^https://t3\\.codes/mobile$" + files: [apps/web/src/branding.ts] - reason: >- Kin has no hosted web app, so links that need one (copied thread links, hosted pairing, prompt links, MCP thread links) use upstream's app.t3.codes. An empty default would break @@ -694,6 +706,14 @@ leaks: leak: t3-domain text: "^https://app\\.t3\\.codes$" files: [packages/shared/src/connectAuth.ts] + - reason: >- + Nightly builds' default for approving agent sign-ins on the T3 Connect address. Kin has + no hosted web app (see the connectAuth.ts entry), so approval uses upstream's nightly + hosted app the way stable uses app.t3.codes; T3CODE_HOSTED_APP_URL points it at Kin's own + once it has one. + leak: t3-domain + text: "^https://nightly\\.app\\.t3\\.codes$" + files: [apps/server/src/cloud/publicConfig.ts] - reason: >- Text that names the hosted app those links use: a log line, a policy label, triage's surface label and a comment in the example env file. @@ -846,5 +866,18 @@ leaks: and the copy's `t3 service install` refuses to install one (kinBrandGuards.ts). leak: t3-domain files: [apps/server/src/cloud/servicePreflight.ts] + - reason: >- + T3's installers, named as the fix when `t3 install` runs outside a standalone runtime. + Kin publishes no standalone runtime, and the copy's `t3 install` refuses before reaching + this text (kinBrandGuards.ts). + leak: t3-domain + text: "^(irm https://t3\\.codes/install\\.ps1 \\| iex|curl -fsSL https://t3\\.codes/install\\.sh \\| sh)$" + files: [apps/server/src/cli/install.ts] + - reason: >- + T3's installers in setup steps shown only by the hosted app's empty state (hosted-static + mode, on a hosted app deployment). Kin deploys no hosted app, so no Kin client shows them. + leak: t3-domain + text: "^(irm https://t3\\.codes/install\\.ps1 \\| iex|curl -fsSL https://t3\\.codes/install\\.sh \\| sh)$" + files: [apps/web/src/components/InstallT3Commands.tsx] - reason: The dev-only mock ACP agent's fixture URLs; no build ships it. files: [apps/server/scripts/acp-mock-agent.ts] diff --git a/scripts/lib/kinBrandGuards.ts b/scripts/lib/kinBrandGuards.ts index 598db4e565c9f..e8e8c9abdcb5e 100644 --- a/scripts/lib/kinBrandGuards.ts +++ b/scripts/lib/kinBrandGuards.ts @@ -35,6 +35,14 @@ export const GUARDS: ReadonlyArray = [ span: "cli.update.run", error: `new CliUpdateError({ reason: ${JSON.stringify(NO_RELEASES)} })`, }, + { + file: "apps/server/src/cli/install.ts", + reason: + "`t3 install` links a standalone runtime from T3 Code's installers or npm launcher, and " + + "without one it points at T3's install scripts.", + span: "cli.install.install", + error: `new CliInstallError({ reason: ${JSON.stringify(NO_RELEASES)} })`, + }, { file: "apps/server/src/cloud/pinnedRuntime.ts", reason: @@ -130,6 +138,13 @@ export const GUARDS: ReadonlyArray = [ "Its store links install T3 Code's mobile app, which can't open Kin's kin:// pairing links.", function: "MobileAppSettingsRow", }, + { + file: "apps/web/src/components/onboarding/WelcomePage.tsx", + reason: + "The Welcome page's Phone section shows a QR code for T3 Code's mobile app, which can't " + + "open Kin's kin:// pairing links.", + function: "PhoneSection", + }, ]; /** Where the guard goes: after a function body's `{`, or after an Effect.fn's last argument. */