Skip to content

Commit 4ff31cf

Browse files
committed
Merge branch 'main' into feat/1232-benchmark-repo-sync
2 parents be1565b + 9ddc127 commit 4ff31cf

9 files changed

Lines changed: 204 additions & 43 deletions

File tree

apps/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@github/copilot-sdk": "^0.1.25",
3333
"@hono/node-server": "^1.19.11",
3434
"@inquirer/prompts": "^8.2.1",
35-
"@mariozechner/pi-ai": "^0.72.1",
35+
"@earendil-works/pi-ai": "^0.74.0",
3636
"@openai/codex-sdk": "^0.104.0",
3737
"cmd-ts": "^0.14.3",
3838
"dotenv": "^16.4.5",
@@ -44,10 +44,10 @@
4444
"yaml": "^2.8.3"
4545
},
4646
"peerDependencies": {
47-
"@mariozechner/pi-coding-agent": "^0.62.0"
47+
"@earendil-works/pi-coding-agent": "^0.74.0"
4848
},
4949
"peerDependenciesMeta": {
50-
"@mariozechner/pi-coding-agent": {
50+
"@earendil-works/pi-coding-agent": {
5151
"optional": true
5252
}
5353
},

apps/cli/tsup.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ export default defineConfig({
1515
noExternal: [/^@agentv\//, 'cmd-ts'],
1616
external: [
1717
'micromatch',
18-
'@mariozechner/pi-agent-core',
19-
'@mariozechner/pi-ai',
20-
'@mariozechner/pi-coding-agent',
18+
'@earendil-works/pi-agent-core',
19+
'@earendil-works/pi-ai',
20+
'@earendil-works/pi-coding-agent',
2121
'@github/copilot-sdk',
2222
'@openai/codex-sdk',
2323
'@anthropic-ai/claude-agent-sdk',

bun.lock

Lines changed: 182 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,22 @@
3838
"diagnostics:azure": "bun src/diagnostics/azure-deployment-diag.ts",
3939
"generate:schema": "bun scripts/generate-eval-schema.ts"
4040
},
41-
"files": ["dist", "README.md"],
41+
"files": [
42+
"dist",
43+
"README.md"
44+
],
4245
"dependencies": {
4346
"@agentclientprotocol/sdk": "^0.14.1",
4447
"@agentv/eval": "workspace:*",
4548
"@github/copilot-sdk": "^0.1.25",
46-
"@mariozechner/pi-ai": "^0.72.1",
49+
"@earendil-works/pi-ai": "^0.74.0",
4750
"@openai/codex-sdk": "^0.104.0",
4851
"fast-glob": "^3.3.3",
4952
"json5": "^2.2.3",
5053
"micromatch": "^4.0.8",
5154
"yaml": "^2.8.3",
52-
"zod": "^3.23.8"
55+
"zod": "^3.23.8",
56+
"@earendil-works/pi-coding-agent": "^0.74.0"
5357
},
5458
"optionalDependencies": {
5559
"@opentelemetry/api": "^1.9.0",
@@ -60,15 +64,11 @@
6064
"@opentelemetry/semantic-conventions": "^1.39.0"
6165
},
6266
"peerDependencies": {
63-
"@anthropic-ai/claude-agent-sdk": "^0.2.88",
64-
"@mariozechner/pi-coding-agent": "^0.62.0"
67+
"@anthropic-ai/claude-agent-sdk": "^0.2.88"
6568
},
6669
"peerDependenciesMeta": {
6770
"@anthropic-ai/claude-agent-sdk": {
6871
"optional": true
69-
},
70-
"@mariozechner/pi-coding-agent": {
71-
"optional": true
7272
}
7373
},
7474
"devDependencies": {

packages/core/src/evaluation/providers/llm-providers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LLM provider classes for the five direct-API providers AgentV supports:
33
* OpenAI, Azure OpenAI, OpenRouter, Anthropic, Google (Gemini).
44
*
5-
* All five route through @mariozechner/pi-ai. Each provider class:
5+
* All five route through @earendil-works/pi-ai. Each provider class:
66
* 1. Resolves a pi-ai Model in its constructor (registry lookup + field
77
* merges; one-time work).
88
* 2. Implements invoke() by delegating to invokePiAi(), which runs the
@@ -29,7 +29,7 @@ import {
2929
complete as piComplete,
3030
getModel as piGetModel,
3131
registerBuiltInApiProviders,
32-
} from '@mariozechner/pi-ai';
32+
} from '@earendil-works/pi-ai';
3333

3434
// Pi-ai's `Model<TApi>` is generic over the api id. Every site that passes a
3535
// model around treats it as `Model<Api>` (the runtime-string variant), so

packages/core/src/types/pi-sdk.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
// target). It is not always installed, so we declare a minimal type stub
44
// here to keep TypeScript happy in the common path.
55
//
6-
// Do NOT add a parallel `declare module '@mariozechner/pi-ai'` block —
6+
// Do NOT add a parallel `declare module '@earendil-works/pi-ai'` block —
77
// pi-ai is a regular dependency with proper published types, and a stub
88
// here would shadow them and break named imports.
99

10-
declare module '@mariozechner/pi-coding-agent' {
10+
declare module '@earendil-works/pi-coding-agent' {
1111
interface PiEvent {
1212
type: string;
1313
toolCallId: string;

packages/core/test/evaluation/providers/agentv-provider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const piCompleteMock = vi.fn(async () => ({
3232
timestamp: Date.now(),
3333
}));
3434

35-
vi.mock('@mariozechner/pi-ai', () => ({
35+
vi.mock('@earendil-works/pi-ai', () => ({
3636
complete: (...args: unknown[]) => piCompleteMock(...(args as [])),
3737
getModel: (provider: string, modelId: string) => piGetModelMock(provider, modelId),
3838
registerBuiltInApiProviders: () => undefined,

packages/core/test/evaluation/providers/targets.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const piGetModelMock = mock((provider: string, modelId: string) => ({
3131
}));
3232
const piRegisterMock = mock(() => {});
3333

34-
mock.module('@mariozechner/pi-ai', () => ({
34+
mock.module('@earendil-works/pi-ai', () => ({
3535
complete: (...args: unknown[]) => piCompleteMock(...(args as [{ provider: string }])),
3636
getModel: (provider: string, modelId: string) => piGetModelMock(provider, modelId),
3737
registerBuiltInApiProviders: () => piRegisterMock(),

packages/core/tsup.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export default defineConfig({
2020
'@opentelemetry/resources',
2121
'@opentelemetry/sdk-trace-node',
2222
'@opentelemetry/semantic-conventions',
23-
'@mariozechner/pi-coding-agent',
24-
'@mariozechner/pi-ai',
23+
'@earendil-works/pi-coding-agent',
24+
'@earendil-works/pi-ai',
2525
],
2626
outExtension({ format }) {
2727
return {

0 commit comments

Comments
 (0)