FN-5638: migrate pi-ai and pi-coding-agent packages to @earendil-works scope

Fusion-Task-Id: FN-5638

Fusion-Task-Lineage: 6e99c156-5f6c-42e6-bd26-618e08ffd05f
This commit is contained in:
gsxdsm
2026-05-28 21:23:48 -07:00
parent f258a75162
commit cec191eac3
87 changed files with 1154 additions and 2894 deletions

View File

@@ -27,8 +27,8 @@
"@fusion/plugin-sdk": "workspace:*"
},
"peerDependencies": {
"@mariozechner/pi-ai": "*",
"@mariozechner/pi-coding-agent": "*"
"@earendil-works/pi-ai": "*",
"@earendil-works/pi-coding-agent": "*"
},
"devDependencies": {
"@types/node": "^25.5.2",

View File

@@ -27,8 +27,8 @@
"@fusion/plugin-sdk": "workspace:*"
},
"peerDependencies": {
"@mariozechner/pi-ai": "*",
"@mariozechner/pi-coding-agent": "*"
"@earendil-works/pi-ai": "*",
"@earendil-works/pi-coding-agent": "*"
},
"devDependencies": {
"@types/node": "^25.5.2",

View File

@@ -1,5 +1,5 @@
import type { ClaudeApiEvent, TrackedContentBlock } from "./types.js";
import { calculateCost } from "@mariozechner/pi-ai";
import { calculateCost } from "@earendil-works/pi-ai";
import type {
Api,
AssistantMessage,
@@ -8,7 +8,7 @@ import type {
TextContent,
ThinkingContent,
ToolCall,
} from "@mariozechner/pi-ai";
} from "@earendil-works/pi-ai";
import {
mapDroidToolNameToPi,
translateDroidArgsToPi,

View File

@@ -23,7 +23,7 @@ import {
type TextContent,
type ThinkingContent,
type ToolCall,
} from "@mariozechner/pi-ai";
} from "@earendil-works/pi-ai";
import {
buildPrompt,
buildSystemPrompt,

View File

@@ -8,7 +8,7 @@
* IMPORTANT: The CLI does NOT support --thinking-budget. Only --effort is supported.
*/
import type { ThinkingLevel, ThinkingBudgets } from "@mariozechner/pi-ai";
import type { ThinkingLevel, ThinkingBudgets } from "@earendil-works/pi-ai";
/** CLI effort levels accepted by the --effort flag */
export type CliEffortLevel = "low" | "medium" | "high" | "max";

View File

@@ -2,7 +2,7 @@
* Hermes CLI spawn module.
*
* Drives the local `hermes` binary as a subprocess instead of using the
* @mariozechner/pi-ai SDK. Session continuity is maintained by capturing
* @earendil-works/pi-ai SDK. Session continuity is maintained by capturing
* the `session_id:` line from stdout and passing `--resume <id>` on
* subsequent invocations.
*