fix: remove pi-tool-utils.ts, fix executor.test.ts imports
- Remove pi-tool-utils.ts (too many dependencies on pi-runtime internals) - Fix executor.test.ts to import from extracted modules - Remove pi-tool-utils from index.ts exports - Build verified green
This commit is contained in:
parent
a570e9e71b
commit
afba3cef5a
@ -7,14 +7,13 @@ import {
|
|||||||
createRunExecutor,
|
createRunExecutor,
|
||||||
createRunWorkspaceCheckpoint,
|
createRunWorkspaceCheckpoint,
|
||||||
loadCurrentTurnImages,
|
loadCurrentTurnImages,
|
||||||
missingTurnImagesInstruction,
|
|
||||||
runNotificationsEnabled,
|
runNotificationsEnabled,
|
||||||
selectBuiltinToolsForRun,
|
selectBuiltinToolsForRun,
|
||||||
settleSteeringAttachmentLoads,
|
|
||||||
threadContextForRun,
|
|
||||||
toolCompletionAuditPayload,
|
toolCompletionAuditPayload,
|
||||||
toolCompletionFromResult,
|
toolCompletionFromResult,
|
||||||
} from "./executor.js";
|
} from "./executor.js";
|
||||||
|
import { missingTurnImagesInstruction, settleSteeringAttachmentLoads } from "./executor-attachments.js";
|
||||||
|
import { threadContextForRun } from "./executor-completion.js";
|
||||||
import { serializeModelSecret } from "./pi-oauth.js";
|
import { serializeModelSecret } from "./pi-oauth.js";
|
||||||
|
|
||||||
describe("tool completion audit", () => {
|
describe("tool completion audit", () => {
|
||||||
|
|||||||
@ -91,7 +91,6 @@ export * from "./pi-oauth.js";
|
|||||||
export * from "./pi-openai-compatible-provider.js";
|
export * from "./pi-openai-compatible-provider.js";
|
||||||
export * from "./pi-runtime.js";
|
export * from "./pi-runtime.js";
|
||||||
export * from "./pi-session.js";
|
export * from "./pi-session.js";
|
||||||
export * from "./pi-tool-utils.js";
|
|
||||||
export * from "./pipedream-connector.js";
|
export * from "./pipedream-connector.js";
|
||||||
export * from "./realtime.js";
|
export * from "./realtime.js";
|
||||||
export * from "./release-watch.js";
|
export * from "./release-watch.js";
|
||||||
|
|||||||
@ -550,12 +550,3 @@ export {
|
|||||||
ToolCallBudget,
|
ToolCallBudget,
|
||||||
ToolHost,
|
ToolHost,
|
||||||
} from "./pi-model-config.js";
|
} from "./pi-model-config.js";
|
||||||
export {
|
|
||||||
toAgentTools,
|
|
||||||
normalizeAgentToolName,
|
|
||||||
describeToolActivity,
|
|
||||||
normalizeAgentToolNames,
|
|
||||||
toAgentTool,
|
|
||||||
executeSubagent,
|
|
||||||
parametersFor,
|
|
||||||
} from "./pi-tool-utils.js";
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user