test: migrated test imports to package subpath exports

- Replaced relative `../src` imports with `@oh-my-pi/pi-ai` and `@oh-my-pi/pi-agent-core` subpaths.
This commit is contained in:
can1357
2026-06-08 18:53:15 +02:00
parent e79415e78b
commit 9d457f73d9
458 changed files with 1531 additions and 1181 deletions
@@ -1,6 +1,6 @@
import { describe, expect, it } from "bun:test";
import type { ToolSession } from "../src/tools";
import { BashTool } from "../src/tools/bash";
import type { ToolSession } from "@oh-my-pi/pi-coding-agent/tools";
import { BashTool } from "@oh-my-pi/pi-coding-agent/tools/bash";
function makeSession(): ToolSession {
return {