refactor: point agent sdk imports at ts source

This commit is contained in:
2026-04-03 13:30:57 +08:00
parent 20523234e0
commit 9410e2f394
51 changed files with 52 additions and 52 deletions

View File

@@ -7,7 +7,7 @@ import { c as _c } from "react/compiler-runtime";
* confirmation.
*/
import * as React from 'react';
import type { HookEvent } from 'src/entrypoints/agentSdkTypes.js';
import type { HookEvent } from 'src/entrypoints/agentSdkTypes.ts';
import type { HookEventMetadata } from 'src/utils/hooks/hooksConfigManager.js';
import { Box, Text } from '../../ink.js';
import { getHookDisplayText, hookSourceHeaderDisplayString, type IndividualHookConfig } from '../../utils/hooks/hooksSettings.js';