refactor(core): update production type imports from coreToolScheduler (#23498)

This commit is contained in:
Abhi
2026-03-23 15:48:38 -04:00
committed by GitHub
parent d5b78dbeea
commit 153f2630b9
6 changed files with 5 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ import {
type ConversationOffered,
type StreamingLatency,
} from './types.js';
import type { CompletedToolCall } from '../core/coreToolScheduler.js';
import type { CompletedToolCall } from '../scheduler/types.js';
import type { Config } from '../config/config.js';
import { debugLogger } from '../utils/debugLogger.js';
import { getCodeAssistServer } from './codeAssist.js';

View File

@@ -32,7 +32,7 @@ import {
} from '../config/models.js';
import { hasCycleInSchema } from '../tools/tools.js';
import type { StructuredError } from './turn.js';
import type { CompletedToolCall } from './coreToolScheduler.js';
import type { CompletedToolCall } from '../scheduler/types.js';
import {
logContentRetry,
logContentRetryFailure,

View File

@@ -43,7 +43,6 @@ export * from './core/prompts.js';
export * from './core/tokenLimits.js';
export * from './core/turn.js';
export * from './core/geminiRequest.js';
export * from './core/coreToolScheduler.js';
export * from './scheduler/scheduler.js';
export * from './scheduler/types.js';
export * from './scheduler/tool-executor.js';

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import { type Status } from '../core/coreToolScheduler.js';
import { type Status } from '../scheduler/types.js';
import { type ThoughtSummary } from '../utils/thoughtUtils.js';
import { getProjectHash } from '../utils/paths.js';
import { sanitizeFilenamePart } from '../utils/fileUtils.js';

View File

@@ -12,11 +12,11 @@ import { describe, it, expect } from 'vitest';
import { logToolCall } from './loggers.js';
import { ToolCallEvent } from './types.js';
import type { Config } from '../config/config.js';
import type { CompletedToolCall } from '../core/coreToolScheduler.js';
import {
CoreToolCallStatus,
type ToolCallRequestInfo,
type ToolCallResponseInfo,
type CompletedToolCall,
} from '../scheduler/types.js';
import { MockTool } from '../test-utils/mock-tool.js';

View File

@@ -13,7 +13,7 @@ import type {
import type { Config } from '../config/config.js';
import type { ApprovalMode } from '../policy/types.js';
import type { CompletedToolCall } from '../core/coreToolScheduler.js';
import type { CompletedToolCall } from '../scheduler/types.js';
import { CoreToolCallStatus } from '../scheduler/types.js';
import { DiscoveredMCPTool } from '../tools/mcp-tool.js';
import { AuthType } from '../core/contentGenerator.js';