chore: remove desktop command, force condensed logo, update tip copy
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
41d1f88356
commit
55dd7fbba1
|
|
@ -10,7 +10,7 @@ import clear from './commands/clear/index.js'
|
||||||
import color from './commands/color/index.js'
|
import color from './commands/color/index.js'
|
||||||
import commit from './commands/commit.js'
|
import commit from './commands/commit.js'
|
||||||
import copy from './commands/copy/index.js'
|
import copy from './commands/copy/index.js'
|
||||||
import desktop from './commands/desktop/index.js'
|
// import desktop from './commands/desktop/index.js'
|
||||||
import commitPushPr from './commands/commit-push-pr.js'
|
import commitPushPr from './commands/commit-push-pr.js'
|
||||||
import compact from './commands/compact/index.js'
|
import compact from './commands/compact/index.js'
|
||||||
import config from './commands/config/index.js'
|
import config from './commands/config/index.js'
|
||||||
|
|
@ -310,7 +310,7 @@ const COMMANDS = memoize((): Command[] => [
|
||||||
compact,
|
compact,
|
||||||
config,
|
config,
|
||||||
copy,
|
copy,
|
||||||
desktop,
|
// desktop,
|
||||||
context,
|
context,
|
||||||
contextNonInteractive,
|
contextNonInteractive,
|
||||||
cost,
|
cost,
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ export function LogoV2(): React.ReactNode {
|
||||||
// In condensed mode (early-return below renders <CondensedLogo/>),
|
// In condensed mode (early-return below renders <CondensedLogo/>),
|
||||||
// CondensedLogo's own useEffect handles the impression count. Skipping
|
// CondensedLogo's own useEffect handles the impression count. Skipping
|
||||||
// here avoids double-counting since hooks fire before the early return.
|
// here avoids double-counting since hooks fire before the early return.
|
||||||
const isCondensedMode = !hasReleaseNotes && !showOnboarding && !isEnvTruthy(process.env.CLAUDE_CODE_FORCE_FULL_LOGO);
|
const isCondensedMode = true;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (showGuestPassesUpsell && !showOnboarding && !isCondensedMode) {
|
if (showGuestPassesUpsell && !showOnboarding && !isCondensedMode) {
|
||||||
|
|
@ -149,7 +149,7 @@ export function LogoV2(): React.ReactNode {
|
||||||
const modelDisplayName = truncate(fullModelDisplayName + effortSuffix, LEFT_PANEL_MAX_WIDTH - 20);
|
const modelDisplayName = truncate(fullModelDisplayName + effortSuffix, LEFT_PANEL_MAX_WIDTH - 20);
|
||||||
|
|
||||||
// Show condensed logo if no new changelog and not showing onboarding and not forcing full logo
|
// Show condensed logo if no new changelog and not showing onboarding and not forcing full logo
|
||||||
if (!hasReleaseNotes && !showOnboarding && !isEnvTruthy(process.env.CLAUDE_CODE_FORCE_FULL_LOGO)) {
|
if (true) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<CondensedLogo />
|
<CondensedLogo />
|
||||||
|
|
|
||||||
|
|
@ -437,7 +437,7 @@ const externalTips: Tip[] = [
|
||||||
{
|
{
|
||||||
id: 'desktop-app',
|
id: 'desktop-app',
|
||||||
content: async () =>
|
content: async () =>
|
||||||
'Run CoStrict locally or remotely using the Claude desktop app: clau.de/desktop',
|
'Run CoStrict locally Or remotely using the CoStrict Web',
|
||||||
cooldownSessions: 15,
|
cooldownSessions: 15,
|
||||||
isRelevant: async () => getPlatform() !== 'linux',
|
isRelevant: async () => getPlatform() !== 'linux',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user