@vanillagreen/pi-claude-bridge 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanillagreen/pi-claude-bridge",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Pi provider bridge that runs Claude Code through the Claude Agent SDK, with opt-in forwarding for Pi prompt context.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -104,19 +104,19 @@
104
104
  "change-case": "^5.4.4"
105
105
  },
106
106
  "peerDependencies": {
107
- "@mariozechner/pi-ai": "*",
108
- "@mariozechner/pi-coding-agent": "*"
107
+ "@earendil-works/pi-ai": "*",
108
+ "@earendil-works/pi-coding-agent": "*"
109
109
  },
110
110
  "devDependencies": {
111
- "@mariozechner/pi-ai": "^0.72.1",
112
- "@mariozechner/pi-coding-agent": "^0.72.1",
111
+ "@earendil-works/pi-ai": "^0.74.0",
112
+ "@earendil-works/pi-coding-agent": "^0.74.0",
113
113
  "@types/node": "^24.3.0",
114
114
  "esbuild": "^0.28.0",
115
115
  "tsx": "^4.21.0",
116
116
  "typescript": "^6.0.3"
117
117
  },
118
118
  "scripts": {
119
- "build": "esbuild src/index.ts --bundle --platform=node --format=esm --target=node20 --outfile=bundle/index.js --external:@mariozechner/pi-ai --external:@mariozechner/pi-coding-agent",
119
+ "build": "esbuild src/index.ts --bundle --platform=node --format=esm --target=node20 --outfile=bundle/index.js --external:@earendil-works/pi-ai --external:@earendil-works/pi-coding-agent",
120
120
  "prepack": "npm run build",
121
121
  "test:unit": "node --import tsx --test tests/unit-*.mjs",
122
122
  "test": "set -a && [ -f .env.test ] && . .env.test; set +a && npm run test:unit && tests/int-smoke.sh && tests/int-multi-turn.sh && tests/int-cache.sh && node --import tsx --test tests/int-*.mjs",
package/src/convert.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Pure pi→Anthropic message conversion helpers.
2
2
  // Extracted so they can be tested without pulling in the full extension runtime.
3
3
 
4
- import type { Message as PiMessage } from "@mariozechner/pi-ai";
4
+ import type { Message as PiMessage } from "@earendil-works/pi-ai";
5
5
  import type { Message as SessionMessage } from "cc-session-io";
6
6
  import { pascalCase } from "change-case";
7
7
 
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { calculateCost, getModels, type AssistantMessage, type AssistantMessageEventStream, type Context, type Model, type SimpleStreamOptions, type Tool } from "@mariozechner/pi-ai";
2
- import * as piAi from "@mariozechner/pi-ai";
3
- import { type ExtensionAPI, type ExtensionUIContext } from "@mariozechner/pi-coding-agent";
1
+ import { calculateCost, getModels, type AssistantMessage, type AssistantMessageEventStream, type Context, type Model, type SimpleStreamOptions, type Tool } from "@earendil-works/pi-ai";
2
+ import * as piAi from "@earendil-works/pi-ai";
3
+ import { type ExtensionAPI, type ExtensionUIContext } from "@earendil-works/pi-coding-agent";
4
4
  import { createSdkMcpServer, query, type EffortLevel, type SDKMessage, type SDKUserMessage, type SettingSource } from "@anthropic-ai/claude-agent-sdk";
5
5
  import type { Base64ImageSource, ContentBlockParam, MessageParam } from "@anthropic-ai/sdk/resources";
6
6
  import { createSession, deleteSession, repairToolPairing } from "cc-session-io";
@@ -6,7 +6,7 @@
6
6
  //
7
7
  // Extracted from index.ts so tests can import without activating the extension.
8
8
 
9
- import type { AssistantMessage, AssistantMessageEventStream, Model } from "@mariozechner/pi-ai";
9
+ import type { AssistantMessage, AssistantMessageEventStream, Model } from "@earendil-works/pi-ai";
10
10
  import type { McpResult } from "./extract-tool-results.js";
11
11
 
12
12
  export interface PendingToolCall {