Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)

This reverts commit c445f43f8d.
This commit is contained in:
claude-code-best
2026-04-07 15:05:03 +08:00
committed by GitHub
parent ca0c3265e6
commit 88d4c3ba24
645 changed files with 1214 additions and 7255 deletions

View File

@@ -3,9 +3,9 @@ import { useCallback, useEffect, useState } from 'react'
import type { CommandResultDisplay } from '../../commands.js'
import { TEARDROP_ASTERISK } from '../../constants/figures.js'
import { useExitOnCtrlCDWithKeybindings } from '../../hooks/useExitOnCtrlCDWithKeybindings.js'
import { setClipboard } from '@anthropic/ink'
import { setClipboard } from '../../ink/termio/osc.js'
// eslint-disable-next-line custom-rules/prefer-use-keybindings -- enter to copy link
import { Box, Link, Text, useInput } from '@anthropic/ink'
import { Box, Link, Text, useInput } from '../../ink.js'
import { useKeybinding } from '../../keybindings/useKeybinding.js'
import { logEvent } from '../../services/analytics/index.js'
import {
@@ -19,7 +19,7 @@ import type {
} from '../../services/oauth/types.js'
import { count } from '../../utils/array.js'
import { logError } from '../../utils/log.js'
import { Pane } from '@anthropic/ink'
import { Pane } from '../design-system/Pane.js'
type PassStatus = {
passNumber: number