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-agent",
"version": "0.9.0",
"name": "@mariozechner/pi-agent-core",
"version": "0.9.1",
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
"type": "module",
"main": "./dist/index.js",
@ -18,8 +18,8 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@mariozechner/pi-ai": "^0.9.0",
"@mariozechner/pi-tui": "^0.9.0"
"@mariozechner/pi-ai": "^0.9.1",
"@mariozechner/pi-tui": "^0.9.1"
},
"keywords": [
"ai",

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi-ai",
"version": "0.9.0",
"version": "0.9.1",
"description": "Unified LLM API with automatic model discovery and provider configuration",
"type": "module",
"main": "./dist/index.js",

View file

@ -4278,8 +4278,8 @@ export const MODELS = {
reasoning: false,
input: ["text", "image"],
cost: {
input: 0.049999999999999996,
output: 0.22,
input: 0.03,
output: 0.11,
cacheRead: 0,
cacheWrite: 0,
},

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 {

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi",
"version": "0.9.0",
"version": "0.9.1",
"description": "CLI tool for managing vLLM deployments on GPU pods",
"type": "module",
"bin": {
@ -34,7 +34,7 @@
"node": ">=20.0.0"
},
"dependencies": {
"@mariozechner/pi-agent": "^0.9.0",
"@mariozechner/pi-agent-core": "^0.9.1",
"chalk": "^5.5.0"
},
"devDependencies": {}

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi-proxy",
"version": "0.9.0",
"version": "0.9.1",
"type": "module",
"description": "CORS and authentication proxy for pi-ai",
"main": "dist/index.js",

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi-tui",
"version": "0.9.0",
"version": "0.9.1",
"description": "Terminal User Interface library with differential rendering for efficient text-based applications",
"type": "module",
"main": "dist/index.js",

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi-web-ui",
"version": "0.9.0",
"version": "0.9.1",
"description": "Reusable web UI components for AI chat interfaces powered by @mariozechner/pi-ai",
"type": "module",
"main": "dist/index.js",
@ -18,8 +18,8 @@
},
"dependencies": {
"@lmstudio/sdk": "^1.5.0",
"@mariozechner/pi-ai": "^0.9.0",
"@mariozechner/pi-tui": "^0.9.0",
"@mariozechner/pi-ai": "^0.9.1",
"@mariozechner/pi-tui": "^0.9.1",
"docx-preview": "^0.3.7",
"jszip": "^3.10.1",
"lucide": "^0.544.0",