@vanillagreen/pi-claude-bridge 1.0.4 → 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.4",
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",
@@ -127,7 +127,6 @@
127
127
  "bundle/",
128
128
  "src/",
129
129
  "assets/",
130
- "CHANGELOG.md",
131
130
  "LICENSE",
132
131
  "README.md",
133
132
  "package.json"
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 {
package/CHANGELOG.md DELETED
@@ -1,12 +0,0 @@
1
- # Changelog
2
-
3
- ## 1.0.0
4
-
5
- Initial vstack fork of `elidickinson/pi-claude-bridge`.
6
-
7
- - Registers Claude Code as a Pi provider via `claude-bridge/*` models.
8
- - Removes the upstream AskClaude tool; this package is provider-only.
9
- - Adds vstack extension-manager settings.
10
- - Adds opt-in forwarding for `APPEND_SYSTEM.md` and recognized Pi `before_agent_start` prompt hooks (`pi-agents-tmux`, `pi-task-panel`, `pi-caveman`).
11
- - Keeps upstream provider fixes for session sync/rebuild, compact recovery, abort recovery, ID-based tool-result matching, skills forwarding, strict MCP config, cloud MCP suppression, and Opus thinking display.
12
- - Pins and bundles Claude Agent SDK `0.2.128`, with auto-detection of the local `claude` executable for vstack installs without `node_modules`.