Skip to content

Commit e339847

Browse files
authored
Bump pi packages to 0.80.3 (#4073)
1 parent a91f12e commit e339847

5 files changed

Lines changed: 694 additions & 2178 deletions

File tree

‎apps/cli/ai/runtimes/pi/index.ts‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import fs from 'fs';
22
import Anthropic from '@anthropic-ai/sdk';
33
import { type AgentTool } from '@earendil-works/pi-agent-core';
44
import { type Model, type SimpleStreamOptions } from '@earendil-works/pi-ai';
5-
import { streamAnthropic, type AnthropicOptions } from '@earendil-works/pi-ai/anthropic';
5+
import {
6+
stream as streamAnthropic,
7+
type AnthropicOptions,
8+
} from '@earendil-works/pi-ai/api/anthropic-messages';
69
import {
710
AuthStorage,
811
createAgentSession,
@@ -322,6 +325,7 @@ async function createStudioAgentSession(
322325
noThemes: true,
323326
noContextFiles: true,
324327
systemPrompt,
328+
appendSystemPrompt: [],
325329
} );
326330
await resourceLoader.reload();
327331

@@ -459,10 +463,13 @@ function createWpcomAnthropicProviderConfig(
459463
}
460464

461465
function createSettingsManager( _env: Record< string, string > ): SettingsManager {
462-
return SettingsManager.inMemory( {
463-
defaultThinkingLevel: 'high',
464-
compaction: STUDIO_COMPACTION_SETTINGS,
465-
} );
466+
return SettingsManager.inMemory(
467+
{
468+
defaultThinkingLevel: 'high',
469+
compaction: STUDIO_COMPACTION_SETTINGS,
470+
},
471+
{ projectTrusted: false }
472+
);
466473
}
467474

468475
function toToolDefinition(

‎apps/cli/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
},
2424
"dependencies": {
2525
"@anthropic-ai/sdk": "^0.91.1",
26-
"@earendil-works/pi-agent-core": "0.78.0",
27-
"@earendil-works/pi-ai": "0.78.0",
28-
"@earendil-works/pi-coding-agent": "0.78.0",
29-
"@earendil-works/pi-tui": "0.78.0",
26+
"@earendil-works/pi-agent-core": "0.80.3",
27+
"@earendil-works/pi-ai": "0.80.3",
28+
"@earendil-works/pi-coding-agent": "0.80.3",
29+
"@earendil-works/pi-tui": "0.80.3",
3030
"@formatjs/intl-localematcher": "^0.5.4",
3131
"@inquirer/prompts": "^8.5.2",
3232
"@modelcontextprotocol/sdk": "^1.27.1",

‎apps/studio/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@automattic/generate-password": "^0.2.0",
6262
"@automattic/interpolate-components": "^1.2.1",
6363
"@base-ui/react": "^1.3.0",
64-
"@earendil-works/pi-coding-agent": "0.78.0",
64+
"@earendil-works/pi-coding-agent": "0.80.3",
6565
"@electron-forge/cli": "^7.11.2",
6666
"@electron-forge/maker-deb": "^7.11.2",
6767
"@electron-forge/maker-dmg": "^7.11.2",

0 commit comments

Comments
 (0)