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 { Effort, getBundledModel } from "@oh-my-pi/pi-ai";
import { resolvePrimaryModel, resolveSmolModel } from "../src/commit/model-selection";
import { resolvePrimaryModel, resolveSmolModel } from "@oh-my-pi/pi-coding-agent/commit/model-selection";
function getModelOrThrow(id: string) {
const model = getBundledModel("anthropic", id);