Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@github/copilot-sdk": "^0.1.25",
"@hono/node-server": "^1.19.11",
"@inquirer/prompts": "^8.2.1",
"@mariozechner/pi-ai": "^0.72.1",
"@earendil-works/pi-ai": "^0.74.0",
"@openai/codex-sdk": "^0.104.0",
"cmd-ts": "^0.14.3",
"dotenv": "^16.4.5",
Expand All @@ -44,10 +44,10 @@
"yaml": "^2.8.3"
},
"peerDependencies": {
"@mariozechner/pi-coding-agent": "^0.62.0"
"@earendil-works/pi-coding-agent": "^0.74.0"
},
"peerDependenciesMeta": {
"@mariozechner/pi-coding-agent": {
"@earendil-works/pi-coding-agent": {
"optional": true
}
},
Expand Down
6 changes: 3 additions & 3 deletions apps/cli/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export default defineConfig({
noExternal: [/^@agentv\//, 'cmd-ts'],
external: [
'micromatch',
'@mariozechner/pi-agent-core',
'@mariozechner/pi-ai',
'@mariozechner/pi-coding-agent',
'@earendil-works/pi-agent-core',
'@earendil-works/pi-ai',
'@earendil-works/pi-coding-agent',
'@github/copilot-sdk',
'@openai/codex-sdk',
'@anthropic-ai/claude-agent-sdk',
Expand Down
22 changes: 11 additions & 11 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@agentclientprotocol/sdk": "^0.14.1",
"@agentv/eval": "workspace:*",
"@github/copilot-sdk": "^0.1.25",
"@mariozechner/pi-ai": "^0.72.1",
"@earendil-works/pi-ai": "^0.74.0",
"@openai/codex-sdk": "^0.104.0",
"fast-glob": "^3.3.3",
"json5": "^2.2.3",
Expand All @@ -61,13 +61,13 @@
},
"peerDependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.88",
"@mariozechner/pi-coding-agent": "^0.62.0"
"@earendil-works/pi-coding-agent": "^0.74.0"
},
"peerDependenciesMeta": {
"@anthropic-ai/claude-agent-sdk": {
"optional": true
},
"@mariozechner/pi-coding-agent": {
"@earendil-works/pi-coding-agent": {
"optional": true
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/evaluation/providers/llm-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* LLM provider classes for the five direct-API providers AgentV supports:
* OpenAI, Azure OpenAI, OpenRouter, Anthropic, Google (Gemini).
*
* All five route through @mariozechner/pi-ai. Each provider class:
* All five route through @earendil-works/pi-ai. Each provider class:
* 1. Resolves a pi-ai Model in its constructor (registry lookup + field
* merges; one-time work).
* 2. Implements invoke() by delegating to invokePiAi(), which runs the
Expand All @@ -29,7 +29,7 @@ import {
complete as piComplete,
getModel as piGetModel,
registerBuiltInApiProviders,
} from '@mariozechner/pi-ai';
} from '@earendil-works/pi-ai';

// Pi-ai's `Model<TApi>` is generic over the api id. Every site that passes a
// model around treats it as `Model<Api>` (the runtime-string variant), so
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/types/pi-sdk.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
// target). It is not always installed, so we declare a minimal type stub
// here to keep TypeScript happy in the common path.
//
// Do NOT add a parallel `declare module '@mariozechner/pi-ai'` block —
// Do NOT add a parallel `declare module '@earendil-works/pi-ai'` block —
// pi-ai is a regular dependency with proper published types, and a stub
// here would shadow them and break named imports.

declare module '@mariozechner/pi-coding-agent' {
declare module '@earendil-works/pi-coding-agent' {
interface PiEvent {
type: string;
toolCallId: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const piCompleteMock = vi.fn(async () => ({
timestamp: Date.now(),
}));

vi.mock('@mariozechner/pi-ai', () => ({
vi.mock('@earendil-works/pi-ai', () => ({
complete: (...args: unknown[]) => piCompleteMock(...(args as [])),
getModel: (provider: string, modelId: string) => piGetModelMock(provider, modelId),
registerBuiltInApiProviders: () => undefined,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/test/evaluation/providers/targets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const piGetModelMock = mock((provider: string, modelId: string) => ({
}));
const piRegisterMock = mock(() => {});

mock.module('@mariozechner/pi-ai', () => ({
mock.module('@earendil-works/pi-ai', () => ({
complete: (...args: unknown[]) => piCompleteMock(...(args as [{ provider: string }])),
getModel: (provider: string, modelId: string) => piGetModelMock(provider, modelId),
registerBuiltInApiProviders: () => piRegisterMock(),
Expand Down
4 changes: 2 additions & 2 deletions packages/core/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export default defineConfig({
'@opentelemetry/resources',
'@opentelemetry/sdk-trace-node',
'@opentelemetry/semantic-conventions',
'@mariozechner/pi-coding-agent',
'@mariozechner/pi-ai',
'@earendil-works/pi-coding-agent',
'@earendil-works/pi-ai',
],
outExtension({ format }) {
return {
Expand Down
Loading