@sayknow-cli/coding-agent 0.7.1 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.7.3] - 2026-09-30
6
+
7
+ ## [0.7.2] - 2026-09-29
8
+
9
+ ### Changed
10
+
11
+ - The launch card is text-only: the wordmark starts at the left margin with model and workspace underneath. Removed its Sayo image, pixel/ASCII fallback, and idle dance after the mascot's kitty Unicode placeholders appeared as raw glyphs in a real terminal. The composer pet is unchanged.
12
+
5
13
  ## [0.7.1] - 2026-09-29
6
14
 
7
15
  ### Added
@@ -1,5 +1,5 @@
1
1
  import type { ThinkingLevel } from "@sayknow-cli/agent-core";
2
- import { type Component, type PetSkinId, type SayknowPixelFrameName } from "@sayknow-cli/tui";
2
+ import { type Component } from "@sayknow-cli/tui";
3
3
  import { type KeyDisplayContext } from "../../config/keybindings";
4
4
  export interface RecentSession {
5
5
  name: string;
@@ -39,30 +39,12 @@ export interface WelcomeComponentOptions {
39
39
  resumeKey?: string;
40
40
  /** Key bound to `app.session.continue`, which resumes the first session on the card. */
41
41
  continueKey?: string;
42
- /** Which Sayknow pet stands on the card (default red). */
43
- petSkin?: PetSkinId;
44
- /**
45
- * Sayo as an image in the card's text (kitty Unicode placeholders, already uploaded):
46
- * the rows of each pose. Without it the card draws the pixel octopus in half blocks.
47
- */
48
- petImage?: {
49
- rows: number;
50
- line(pose: SayknowPixelFrameName, row: number): string;
51
- };
52
42
  /** Called when a session row is opened by click or Enter. */
53
43
  onOpenSession?: (session: RecentSession) => void;
54
- /**
55
- * Whether a line of this card is on screen right now. When given, the pet keeps
56
- * dancing after the intro for as long as its top row is visible, and stops for good
57
- * once it scrolls away (changing a line above the viewport forces a full redraw).
58
- */
59
- isLineVisible?: (line: number) => boolean;
60
44
  }
61
45
  /**
62
- * Sayknow-CLI launch card: the wordmark with the pet beside it, who and where you are
63
- * (version, model and reasoning, project and branch), the release line after an update,
64
- * the three most recent sessions — which can be opened from the card with a click or
65
- * ↓ then Enter — and a single row of keys.
46
+ * Sayknow-CLI launch card: the wordmark, model and workspace, release note,
47
+ * recent sessions and shortcuts. The composer pet does not appear on this card.
66
48
  */
67
49
  export declare class WelcomeComponent implements Component {
68
50
  #private;
@@ -74,13 +56,8 @@ export declare class WelcomeComponent implements Component {
74
56
  private readonly options;
75
57
  constructor(version: string, modelName: string, providerName: string, recentSessions?: RecentSession[], logoMode?: WelcomeLogoMode, options?: WelcomeComponentOptions);
76
58
  invalidate(): void;
77
- /**
78
- * Play the short launch intro. Content is fully readable from the first frame;
79
- * only color and the tentacles move. Safe to call again — it restarts.
80
- */
59
+ /** Briefly reveal section colors without moving the card's content. */
81
60
  playIntro(requestRender: () => void): void;
82
- /** True while the pet is dancing after the intro. */
83
- get dancing(): boolean;
84
61
  dispose(): void;
85
62
  setModel(modelName: string, providerName: string): void;
86
63
  setRecentSessions(sessions: RecentSession[]): void;
@@ -22,7 +22,7 @@ import type { EvalExecutionComponent } from "./components/eval-execution";
22
22
  import type { HookEditorComponent } from "./components/hook-editor";
23
23
  import type { HookInputComponent } from "./components/hook-input";
24
24
  import type { HookSelectorComponent } from "./components/hook-selector";
25
- import { type PetMode, type PetSkinId, SayknowPetWidget } from "./components/sayknow-pet-widget";
25
+ import { type PetMode, SayknowPetWidget } from "./components/sayknow-pet-widget";
26
26
  import type { ToolExecutionHandle } from "./components/tool-execution";
27
27
  import { StatusLineComponent } from "./components/tool-status-header";
28
28
  import { type WelcomeLogoMode } from "./components/welcome";
@@ -41,7 +41,6 @@ export declare function getComposerPlaceholder(keybindings: Pick<KeybindingsMana
41
41
  readonly busyPromptMode: "steer" | "queue";
42
42
  }): string;
43
43
  export declare function getWelcomeTranscriptReservedRows(chatContainer: Container, width: number): number;
44
- export declare function resolveWelcomePetSkin(petMode: PetMode, themeName: string | undefined): PetSkinId;
45
44
  export declare function configureDefaultComposerChrome(editor: CustomEditor): void;
46
45
  export type WelcomeBannerSettingMode = "auto" | "unicode" | "square" | "ascii";
47
46
  export declare function resolveWelcomeLogoMode(mode: WelcomeBannerSettingMode, env?: Record<string, string | undefined>, platform?: NodeJS.Platform): WelcomeLogoMode;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@sayknow-cli/coding-agent",
4
- "version": "0.7.1",
4
+ "version": "0.7.3",
5
5
  "description": "Sayknow-CLI CLI with read, bash, edit, write tools and session management",
6
6
  "homepage": "https://sayknow-cli.com",
7
7
  "author": "jaybeyond",
@@ -54,12 +54,12 @@
54
54
  "@agentclientprotocol/sdk": "1.3.0",
55
55
  "@babel/parser": "^7.29.3",
56
56
  "@mozilla/readability": "^0.6.0",
57
- "@sayknow-cli/stats": "0.7.1",
58
- "@sayknow-cli/agent-core": "0.7.1",
59
- "@sayknow-cli/ai": "0.7.1",
60
- "@sayknow-cli/natives": "0.7.1",
61
- "@sayknow-cli/tui": "0.7.1",
62
- "@sayknow-cli/utils": "0.7.1",
57
+ "@sayknow-cli/stats": "0.7.3",
58
+ "@sayknow-cli/agent-core": "0.7.3",
59
+ "@sayknow-cli/ai": "0.7.3",
60
+ "@sayknow-cli/natives": "0.7.3",
61
+ "@sayknow-cli/tui": "0.7.3",
62
+ "@sayknow-cli/utils": "0.7.3",
63
63
  "@puppeteer/browsers": "^2.13.0",
64
64
  "@types/turndown": "5.0.6",
65
65
  "@xterm/headless": "^6.0.0",
@@ -1,14 +1,5 @@
1
1
  import type { ThinkingLevel } from "@sayknow-cli/agent-core";
2
- import {
3
- type Component,
4
- PARA_PARA_STEPS,
5
- type PetSkinId,
6
- padding,
7
- renderPetHalfBlocks,
8
- type SayknowPixelFrameName,
9
- truncateToWidth,
10
- visibleWidth,
11
- } from "@sayknow-cli/tui";
2
+ import { type Component, padding, truncateToWidth, visibleWidth } from "@sayknow-cli/tui";
12
3
  import { formatBuildLabel } from "../../build-metadata";
13
4
  import { formatKeyHint, type KeyDisplayContext } from "../../config/keybindings";
14
5
  import { type MsgKey, t } from "../../i18n";
@@ -50,28 +41,13 @@ export interface WelcomeComponentOptions {
50
41
  resumeKey?: string;
51
42
  /** Key bound to `app.session.continue`, which resumes the first session on the card. */
52
43
  continueKey?: string;
53
- /** Which Sayknow pet stands on the card (default red). */
54
- petSkin?: PetSkinId;
55
- /**
56
- * Sayo as an image in the card's text (kitty Unicode placeholders, already uploaded):
57
- * the rows of each pose. Without it the card draws the pixel octopus in half blocks.
58
- */
59
- petImage?: { rows: number; line(pose: SayknowPixelFrameName, row: number): string };
60
44
  /** Called when a session row is opened by click or Enter. */
61
45
  onOpenSession?: (session: RecentSession) => void;
62
- /**
63
- * Whether a line of this card is on screen right now. When given, the pet keeps
64
- * dancing after the intro for as long as its top row is visible, and stops for good
65
- * once it scrolls away (changing a line above the viewport forces a full redraw).
66
- */
67
- isLineVisible?: (line: number) => boolean;
68
46
  }
69
47
 
70
48
  /** Left margin of the card, and the widest the card grows on wide terminals. */
71
49
  const MARGIN = 2;
72
50
  const MAX_CARD_WIDTH = 76;
73
- /** Gap between the pet and the wordmark. */
74
- const MARK_GAP = 3;
75
51
  /** Recent sessions on the card; the resume picker has the rest. */
76
52
  const SESSION_ROWS = 3;
77
53
 
@@ -88,21 +64,9 @@ const WORDMARK: ReadonlyArray<readonly [string, string]> = [
88
64
  const WORDMARK_GAP = 2;
89
65
  const WORDMARK_WIDTH = 21 + WORDMARK_GAP + 7;
90
66
 
91
- /** ASCII-safe stand-in for the pet when the banner must avoid block glyphs. */
92
- const MARK_ASCII = [" .--. ", "( oo )", " ) ( ", "/\\/\\/\\"] as const;
93
- const MARK_ASCII_WAVE = "\\/\\/\\/";
94
-
95
- /**
96
- * Intro: the pet does a short para-para (tentacles sway left, right, left) and
97
- * lands on its resting pose while color spreads down the card.
98
- */
99
- const INTRO_POSES: readonly SayknowPixelFrameName[] = ["danceL", "danceR", "danceL", "base"];
100
67
  const SECTION_STAGGER_MS = 55;
101
68
  const SECTION_SETTLE_MS = 90;
102
- const WAVE_STEP_MS = 140;
103
- const INTRO_MS = INTRO_POSES.length * WAVE_STEP_MS;
104
- /** After the intro the pet does the composer pet's working dance, on loop. */
105
- const DANCE_LOOP_MS = PARA_PARA_STEPS.reduce((sum, [, ms]) => sum + ms, 0);
69
+ const INTRO_MS = SECTION_SETTLE_MS + 4 * SECTION_STAGGER_MS;
106
70
 
107
71
  /** A block of rows that takes its colors together during the intro. */
108
72
  interface Section {
@@ -114,18 +78,12 @@ interface Section {
114
78
  }
115
79
 
116
80
  /**
117
- * Sayknow-CLI launch card: the wordmark with the pet beside it, who and where you are
118
- * (version, model and reasoning, project and branch), the release line after an update,
119
- * the three most recent sessions — which can be opened from the card with a click or
120
- * ↓ then Enter — and a single row of keys.
81
+ * Sayknow-CLI launch card: the wordmark, model and workspace, release note,
82
+ * recent sessions and shortcuts. The composer pet does not appear on this card.
121
83
  */
122
84
  export class WelcomeComponent implements Component {
123
85
  #animStart: number | null = null;
124
86
  #animTimer: NodeJS.Timeout | null = null;
125
- #danceStart: number | null = null;
126
- #danceTimer: NodeJS.Timeout | null = null;
127
- /** Card line holding the pet's top row in the last frame; undefined when no pet is drawn. */
128
- #markLine: number | undefined;
129
87
  #snapshot: WelcomeSnapshot;
130
88
  /** Highlighted session row while picking with the keyboard; undefined when not picking. */
131
89
  #selected: number | undefined;
@@ -146,10 +104,7 @@ export class WelcomeComponent implements Component {
146
104
 
147
105
  invalidate(): void {}
148
106
 
149
- /**
150
- * Play the short launch intro. Content is fully readable from the first frame;
151
- * only color and the tentacles move. Safe to call again — it restarts.
152
- */
107
+ /** Briefly reveal section colors without moving the card's content. */
153
108
  playIntro(requestRender: () => void): void {
154
109
  this.#stopAnimation();
155
110
  if (this.options.skipLogoAnimation) {
@@ -160,72 +115,14 @@ export class WelcomeComponent implements Component {
160
115
  requestRender();
161
116
  this.#animTimer = setInterval(() => {
162
117
  const elapsed = performance.now() - (this.#animStart ?? 0);
163
- if (elapsed >= INTRO_MS) {
164
- this.#stopAnimation();
165
- this.#startDance(requestRender);
166
- }
118
+ if (elapsed >= INTRO_MS) this.#stopAnimation();
167
119
  requestRender();
168
120
  }, INTRO_TICK_MS);
169
121
  this.#animTimer.unref?.();
170
122
  }
171
123
 
172
- /** True while the pet is dancing after the intro. */
173
- get dancing(): boolean {
174
- return this.#danceTimer !== null;
175
- }
176
-
177
- /**
178
- * Loop the working dance while the pet is on screen. Timers land on frame changes
179
- * only (five per 1.6 s loop), so an idle card costs a handful of renders per second.
180
- */
181
- #startDance(requestRender: () => void): void {
182
- if (!this.options.isLineVisible || this.#markLine === undefined) return;
183
- this.#danceStart = performance.now();
184
- const next = (): void => {
185
- if (this.#markLine === undefined || !this.options.isLineVisible?.(this.#markLine)) {
186
- this.#stopDance();
187
- requestRender();
188
- return;
189
- }
190
- requestRender();
191
- this.#danceTimer = setTimeout(next, this.#msToNextDanceFrame());
192
- this.#danceTimer.unref?.();
193
- };
194
- this.#danceTimer = setTimeout(next, this.#msToNextDanceFrame());
195
- this.#danceTimer.unref?.();
196
- }
197
-
198
- #stopDance(): void {
199
- if (this.#danceTimer !== null) clearTimeout(this.#danceTimer);
200
- this.#danceTimer = null;
201
- this.#danceStart = null;
202
- }
203
-
204
- #danceOffset(): number {
205
- return this.#danceStart === null ? 0 : (performance.now() - this.#danceStart) % DANCE_LOOP_MS;
206
- }
207
-
208
- #msToNextDanceFrame(): number {
209
- let t = this.#danceOffset();
210
- for (const [, ms] of PARA_PARA_STEPS) {
211
- if (t < ms) return Math.max(16, ms - t);
212
- t -= ms;
213
- }
214
- return 16;
215
- }
216
-
217
- #dancePose(): SayknowPixelFrameName {
218
- let t = this.#danceOffset();
219
- for (const [frame, ms] of PARA_PARA_STEPS) {
220
- if (t < ms) return frame;
221
- t -= ms;
222
- }
223
- return "base";
224
- }
225
-
226
124
  dispose(): void {
227
125
  this.#stopAnimation();
228
- this.#stopDance();
229
126
  }
230
127
 
231
128
  #stopAnimation(): void {
@@ -323,14 +220,13 @@ export class WelcomeComponent implements Component {
323
220
 
324
221
  render(termWidth: number): string[] {
325
222
  this.#lineSessions = [];
326
- this.#markLine = undefined;
327
223
  const gutterWidth = this.#rightGutterWidth(termWidth);
328
224
  const width = Math.max(0, termWidth - gutterWidth);
329
225
  if (width < 4) return [];
330
226
 
331
227
  const targetRows = this.#targetRows(termWidth);
332
228
  if (targetRows !== undefined && targetRows <= 0) return [];
333
- if (targetRows === 1) return this.#withRightGutter([this.#fit(this.#titleLine(true), width)], gutterWidth);
229
+ if (targetRows === 1) return this.#withRightGutter([this.#fit(this.#titleLine(), width)], gutterWidth);
334
230
 
335
231
  const cardWidth = Math.max(1, Math.min(MAX_CARD_WIDTH, width - MARGIN));
336
232
  const sections = this.#sections(cardWidth);
@@ -397,44 +293,23 @@ export class WelcomeComponent implements Component {
397
293
  return { identity: this.#identityLines(cardWidth), others };
398
294
  }
399
295
 
400
- // ── Identity: pet + wordmark, then who and where ────────────────────────
296
+ // ── Identity: wordmark, model and workspace ───────────────────────────────
401
297
 
402
298
  #identityLines(cardWidth: number): string[] {
403
- const mark = this.#markRows();
404
- const markWidth = Math.max(0, ...mark.map(row => visibleWidth(row)));
405
- const withMark = cardWidth >= markWidth + MARK_GAP + WORDMARK_WIDTH;
406
- // The card opens with one blank row, so the pet's top row is card line 1.
407
- this.#markLine = withMark ? 1 : undefined;
408
299
  const withWordmark = this.logoMode !== "ascii" && cardWidth >= WORDMARK_WIDTH;
409
- const indent = withMark ? markWidth + MARK_GAP : 0;
410
- const infoWidth = Math.max(1, cardWidth - indent);
411
-
412
- const head: string[] = withWordmark
300
+ const head = withWordmark
413
301
  ? WORDMARK.map(
414
302
  ([word, suffix]) =>
415
303
  `${theme.bold(theme.fg("accent", word))}${padding(WORDMARK_GAP)}${theme.fg("text", suffix)}`,
416
304
  )
417
- : [this.#truncate(this.#titleLine(!withMark), infoWidth)];
305
+ : [this.#truncate(this.#titleLine(), cardWidth)];
418
306
  const versionLine = this.#spread(
419
307
  theme.fg("muted", t("welcome.tagline")),
420
308
  theme.fg("dim", this.#versionLabel()),
421
- infoWidth,
309
+ cardWidth,
422
310
  );
423
311
  const info = [...head, withWordmark ? versionLine : theme.fg("muted", t("welcome.tagline"))];
424
-
425
- // Model and place sit under the wordmark, in the same column — starting beside the
426
- // pet's last rows when the pet is taller than the wordmark, so no blank row opens.
427
- const text = [...info, ...this.#statusLines(infoWidth)];
428
- const rows: string[] = [];
429
- if (withMark) {
430
- const count = Math.max(mark.length, text.length);
431
- for (let row = 0; row < count; row++) {
432
- const art = mark[row] ?? padding(markWidth);
433
- const line = text[row] ?? "";
434
- rows.push(line ? `${art}${padding(MARK_GAP)}${line}` : art);
435
- }
436
- } else rows.push(...text);
437
- return rows;
312
+ return [...info, ...this.#statusLines(cardWidth)];
438
313
  }
439
314
 
440
315
  #versionLabel(): string {
@@ -442,33 +317,9 @@ export class WelcomeComponent implements Component {
442
317
  return `v${this.version} · ${buildLabel}`;
443
318
  }
444
319
 
445
- /** The Sayknow pet (its own sprite at three quarters size), in half blocks; the pose follows the intro. */
446
- #markRows(): string[] {
447
- const step = this.#animStart == null ? -1 : Math.floor((performance.now() - this.#animStart) / WAVE_STEP_MS);
448
- if (this.logoMode === "ascii") {
449
- const rows: string[] = [...MARK_ASCII];
450
- const wave =
451
- step >= 0
452
- ? step < INTRO_POSES.length - 1 && step % 2 === 1
453
- : this.#danceStart !== null && this.#dancePose() === "danceR";
454
- if (wave) rows[3] = MARK_ASCII_WAVE;
455
- return rows.map(row => theme.fg("accent", row));
456
- }
457
- const pose =
458
- step >= 0 && step < INTRO_POSES.length
459
- ? INTRO_POSES[step]!
460
- : this.#danceStart !== null
461
- ? this.#dancePose()
462
- : "base";
463
- const image = this.options.petImage;
464
- if (image) return Array.from({ length: image.rows }, (_, row) => image.line(pose, row));
465
- return renderPetHalfBlocks(pose, this.options.petSkin ?? "orange", theme.getColorMode(), { scale: "compact" });
466
- }
467
-
468
320
  /** One-line title for layouts without room for the wordmark. */
469
- #titleLine(withIcon = false): string {
470
- const mark = withIcon && this.logoMode !== "ascii" && theme.icon.pi ? `${theme.icon.pi} ` : "";
471
- return `${mark}${theme.bold(theme.fg("accent", "Sayknow-CLI"))}${theme.fg("dim", ` ${this.#versionLabel()}`)}`;
321
+ #titleLine(): string {
322
+ return `${theme.bold(theme.fg("accent", "Sayknow-CLI"))}${theme.fg("dim", ` ${this.#versionLabel()}`)}`;
472
323
  }
473
324
 
474
325
  /**
@@ -7,17 +7,13 @@ import type { Component, EditorTheme, SlashCommand } from "@sayknow-cli/tui";
7
7
  import {
8
8
  Container,
9
9
  clearRenderCache,
10
- getCellDimensions,
11
10
  getRenderCacheRetainedBytes,
12
11
  isKeyRelease,
13
- isUnderTmux,
14
12
  Loader,
15
13
  matchesKey,
16
14
  onImageProtocolChanged,
17
15
  ProcessTerminal,
18
- prepareSayoPlaceholderImages,
19
16
  Spacer,
20
- TERMINAL_ID,
21
17
  Text,
22
18
  TUI,
23
19
  } from "@sayknow-cli/tui";
@@ -72,24 +68,17 @@ import type { HookInputComponent } from "./components/hook-input";
72
68
  import type { HookSelectorComponent } from "./components/hook-selector";
73
69
  import { computeIrcSplitWidths, getIrcSidebarSemanticToken, IrcSplitViewComponent } from "./components/irc-sidebar";
74
70
  import {
75
- getPetPixelProtocol,
76
71
  getPetUnavailableWarning,
77
72
  isPetAvailable,
78
73
  isPetCapabilityProbePending,
79
74
  warnWhenPetCapabilitySettled,
80
75
  } from "./components/pet-capability";
81
- import { type PetMode, type PetSkinId, SayknowPetWidget } from "./components/sayknow-pet-widget";
76
+ import { type PetMode, SayknowPetWidget } from "./components/sayknow-pet-widget";
82
77
  import { resolveCurrentBranch } from "./components/status-line/git-utils";
83
78
  import type { ToolExecutionHandle } from "./components/tool-execution";
84
79
  import { StatusLineComponent } from "./components/tool-status-header";
85
80
  import { composeToolText } from "./components/tool-transcript-format";
86
- import {
87
- type RecentSession,
88
- WelcomeComponent,
89
- type WelcomeComponentOptions,
90
- type WelcomeLogoMode,
91
- type WelcomeSnapshot,
92
- } from "./components/welcome";
81
+ import { type RecentSession, WelcomeComponent, type WelcomeLogoMode, type WelcomeSnapshot } from "./components/welcome";
93
82
  import { BtwController } from "./controllers/btw-controller";
94
83
  import { CommandController } from "./controllers/command-controller";
95
84
  import { EventController } from "./controllers/event-controller";
@@ -112,14 +101,7 @@ import { shouldShowExtensionCommand } from "./slash-command-visibility";
112
101
  import { TasksAggregator } from "./tasks-aggregator";
113
102
  import { type ShimmerPalette, shimmerSegments, shimmerText } from "./theme/shimmer";
114
103
  import type { Theme } from "./theme/theme";
115
- import {
116
- getCurrentThemeName,
117
- getEditorTheme,
118
- getSymbolTheme,
119
- onTerminalAppearanceChange,
120
- onThemeChange,
121
- theme,
122
- } from "./theme/theme";
104
+ import { getEditorTheme, getSymbolTheme, onTerminalAppearanceChange, onThemeChange, theme } from "./theme/theme";
123
105
  import { type RegisterTranscriptItem, TranscriptItemRegistry, transcriptItemId } from "./transcript-item-registry";
124
106
  import {
125
107
  type CompactionQueuedMessage,
@@ -223,20 +205,6 @@ function getShellInputPrefix(isNoContext: boolean): string {
223
205
  return `${shellLabel} `;
224
206
  }
225
207
 
226
- /**
227
- * The pet on the launch card: the one the user keeps beside the composer, or —
228
- * with the pet off — the skin that matches the theme (blue for blue-octopus).
229
- */
230
- /** Height of Sayo on the launch card in terminal rows (the wordmark block is 5 rows). */
231
- const WELCOME_PET_IMAGE_ROWS = 5;
232
- /** Kitty image ids for the launch card poses ("SY" + index; 24-bit, carried as a color). */
233
- const WELCOME_PET_IMAGE_ID_BASE = 0x535901;
234
-
235
- export function resolveWelcomePetSkin(petMode: PetMode, themeName: string | undefined): PetSkinId {
236
- if (petMode !== "off") return petMode;
237
- return themeName?.startsWith("blue") ? "blue" : "orange";
238
- }
239
-
240
208
  /**
241
209
  * The composer is an open rail, not a box: every input row starts with the same
242
210
  * rail glyph a submitted prompt keeps in the transcript, colored by the editor's
@@ -803,16 +771,7 @@ export class InteractiveMode implements InteractiveModeContext {
803
771
  snapshot: this.#buildWelcomeSnapshot(),
804
772
  resumeKey: this.keybindings.getKeys("app.session.resume")[0],
805
773
  continueKey: this.keybindings.getKeys("app.session.continue")[0],
806
- petSkin: resolveWelcomePetSkin(settings.get("pet.mode"), getCurrentThemeName()),
807
- petImage:
808
- welcomeLogoMode === "unicode"
809
- ? this.#prepareWelcomePetImage(
810
- resolveWelcomePetSkin(settings.get("pet.mode"), getCurrentThemeName()),
811
- )
812
- : undefined,
813
774
  onOpenSession: session => void this.#openWelcomeSession(session),
814
- isLineVisible: line =>
815
- this.#welcomeComponent !== undefined && this.ui.isChildLineVisible(this.#welcomeComponent, line),
816
775
  },
817
776
  );
818
777
 
@@ -2239,34 +2198,6 @@ export class InteractiveMode implements InteractiveModeContext {
2239
2198
  this.#selectorController.showSessionSelector();
2240
2199
  }
2241
2200
 
2242
- /**
2243
- * Sayo as an image on the launch card, where the terminal draws kitty Unicode
2244
- * placeholders (Ghostty, kitty outside a multiplexer: the placeholder carries the
2245
- * image id as a 24-bit color, which tmux may not pass through). Uploads the card's
2246
- * poses once; the card's text then refers to them. Undefined keeps the pixel octopus.
2247
- */
2248
- #prepareWelcomePetImage(skin: PetSkinId): WelcomeComponentOptions["petImage"] {
2249
- if (getPetPixelProtocol() !== "kitty") return undefined;
2250
- if (TERMINAL_ID !== "ghostty" && TERMINAL_ID !== "kitty") return undefined;
2251
- if (isUnderTmux()) return undefined;
2252
- try {
2253
- const cell = getCellDimensions();
2254
- const images = prepareSayoPlaceholderImages({
2255
- tint: skin,
2256
- rows: WELCOME_PET_IMAGE_ROWS,
2257
- cellWidthPx: cell.widthPx,
2258
- cellHeightPx: cell.heightPx,
2259
- poses: ["base", "danceL", "danceR", "flex"],
2260
- idBase: WELCOME_PET_IMAGE_ID_BASE,
2261
- });
2262
- this.ui.terminal.write(images.upload);
2263
- return images;
2264
- } catch (error) {
2265
- logger.debug("Launch card pet image unavailable", { error: String(error) });
2266
- return undefined;
2267
- }
2268
- }
2269
-
2270
2201
  #currentSessionFileCanonical(): string | undefined {
2271
2202
  const currentFile = this.sessionManager.getSessionFile();
2272
2203
  return currentFile ? canonicalPath(currentFile) : undefined;