From 12277cf9821252406dcbf5bed7d3c574f57f6d09 Mon Sep 17 00:00:00 2001 From: can1357 Date: Wed, 28 Jan 2026 11:29:13 +0100 Subject: [PATCH] refactor(coding-agent/task): simplified import path for subagent system prompt template to relative - Simplified import path for subagent system prompt template from absolute to relative path. --- packages/coding-agent/src/task/executor.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/coding-agent/src/task/executor.ts b/packages/coding-agent/src/task/executor.ts index 73577e888..fe580e90a 100644 --- a/packages/coding-agent/src/task/executor.ts +++ b/packages/coding-agent/src/task/executor.ts @@ -14,9 +14,6 @@ import type { CustomTool } from "@oh-my-pi/pi-coding-agent/extensibility/custom- import type { Skill } from "@oh-my-pi/pi-coding-agent/extensibility/skills"; import { callTool } from "@oh-my-pi/pi-coding-agent/mcp/client"; import type { MCPManager } from "@oh-my-pi/pi-coding-agent/mcp/manager"; -import subagentSystemPromptTemplate from "@oh-my-pi/pi-coding-agent/prompts/system/subagent-system-prompt.md" with { - type: "text", -}; import { createAgentSession, discoverAuthStorage, discoverModels } from "@oh-my-pi/pi-coding-agent/sdk"; import type { AgentSession, AgentSessionEvent } from "@oh-my-pi/pi-coding-agent/session/agent-session"; import type { AuthStorage } from "@oh-my-pi/pi-coding-agent/session/auth-storage"; @@ -28,6 +25,7 @@ import type { EventBus } from "@oh-my-pi/pi-coding-agent/utils/event-bus"; import { logger, untilAborted } from "@oh-my-pi/pi-utils"; import type { TSchema } from "@sinclair/typebox"; import Ajv, { type ValidateFunction } from "ajv"; +import subagentSystemPromptTemplate from "../prompts/system/subagent-system-prompt.md" with { type: "text" }; import { subprocessToolRegistry } from "./subprocess-tool-registry"; import { type AgentDefinition,