b2c94bef1a
- Created new @oh-my-pi/pi-utils workspace package with shared utilities for logging, process management, stream handling, and temporary directory management. - Migrated all packages to use centralized logger from @oh-my-pi/pi-utils instead of local winston implementations. - Replaced custom process spawning and stream reading implementations with standardized cspawn and readLines utilities across all modules. - Converted synchronous file operations and process spawning to async patterns using Bun shell syntax and fs/promises. - Added streaming edit abort functionality with configurable setting to abort on patch preview failures. - Updated test framework from vitest to bun:test across all test suites.
43 lines
865 B
JSON
43 lines
865 B
JSON
{
|
|
"name": "@oh-my-pi/pi-agent-core",
|
|
"version": "6.7.670",
|
|
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"files": [
|
|
"src",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"test": "vitest --run"
|
|
},
|
|
"dependencies": {
|
|
"@oh-my-pi/pi-ai": "workspace:*",
|
|
"@oh-my-pi/pi-tui": "workspace:*",
|
|
"@oh-my-pi/pi-utils": "workspace:*"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"agent",
|
|
"llm",
|
|
"transport",
|
|
"state-management"
|
|
],
|
|
"author": "Mario Zechner",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/can1357/oh-my-pi.git",
|
|
"directory": "packages/agent"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sinclair/typebox": "^0.34.46",
|
|
"@types/node": "^24.3.0",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|