fix: rename pi-agent to pi-agent-core (npm deprecation issue)

This commit is contained in:
Mario Zechner 2025-11-21 22:20:00 +01:00
parent 56450a4f19
commit e1856daf57
16 changed files with 37 additions and 53 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi-coding-agent",
"version": "0.9.0",
"version": "0.9.1",
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
"type": "module",
"bin": {
@ -22,9 +22,9 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@mariozechner/pi-agent": "^0.9.0",
"@mariozechner/pi-ai": "^0.9.0",
"@mariozechner/pi-tui": "^0.9.0",
"@mariozechner/pi-agent-core": "^0.9.1",
"@mariozechner/pi-ai": "^0.9.1",
"@mariozechner/pi-tui": "^0.9.1",
"chalk": "^5.5.0",
"diff": "^8.0.2",
"glob": "^11.0.3"

View file

@ -1,4 +1,4 @@
import type { AgentState } from "@mariozechner/pi-agent";
import type { AgentState } from "@mariozechner/pi-agent-core";
import type { AssistantMessage, Message, ToolResultMessage, UserMessage } from "@mariozechner/pi-ai";
import { readFileSync, writeFileSync } from "fs";
import { homedir } from "os";

View file

@ -1,4 +1,4 @@
import { Agent, ProviderTransport, type ThinkingLevel } from "@mariozechner/pi-agent";
import { Agent, ProviderTransport, type ThinkingLevel } from "@mariozechner/pi-agent-core";
import type { Api, KnownProvider, Model } from "@mariozechner/pi-ai";
import { ProcessTerminal, TUI } from "@mariozechner/pi-tui";
import chalk from "chalk";

View file

@ -1,4 +1,4 @@
import type { AgentState } from "@mariozechner/pi-agent";
import type { AgentState } from "@mariozechner/pi-agent-core";
import { randomBytes } from "crypto";
import { appendFileSync, existsSync, mkdirSync, readdirSync, readFileSync, statSync } from "fs";
import { homedir } from "os";

View file

@ -1,4 +1,4 @@
import type { AgentState } from "@mariozechner/pi-agent";
import type { AgentState } from "@mariozechner/pi-agent-core";
import type { AssistantMessage } from "@mariozechner/pi-ai";
import { type Component, visibleWidth } from "@mariozechner/pi-tui";
import { theme } from "../theme/theme.js";

View file

@ -1,4 +1,4 @@
import type { ThinkingLevel } from "@mariozechner/pi-agent";
import type { ThinkingLevel } from "@mariozechner/pi-agent-core";
import { Container, type SelectItem, SelectList } from "@mariozechner/pi-tui";
import { getSelectListTheme } from "../theme/theme.js";
import { DynamicBorder } from "./dynamic-border.js";

View file

@ -1,4 +1,4 @@
import type { Agent, AgentEvent, AgentState, ThinkingLevel } from "@mariozechner/pi-agent";
import type { Agent, AgentEvent, AgentState, ThinkingLevel } from "@mariozechner/pi-agent-core";
import type { AssistantMessage, Message, Model } from "@mariozechner/pi-ai";
import type { SlashCommand } from "@mariozechner/pi-tui";
import {