Files
oh-my-pi/packages/agent/package.json
T
can1357 7d2c8efc5a feat(agent): added concurrency modes and parallel tool execution with interrupt handling
- Added `concurrency` option to `AgentTool` interface supporting 'shared' (default, parallel execution) and 'exclusive' (solo execution) modes.
- Implemented parallel execution of shared tools within a single agent turn with ordered result emission.
- Refactored tool execution to support concurrent scheduling with interrupt handling via steering messages and AbortSignal.
- Added steering message checking mechanism that interrupts tool execution when user messages arrive during tool processing.
- Removed HTTP proxy setup code from stream.ts that was conditionally setting up undici global dispatcher.
2026-02-04 08:26:17 +01:00

53 lines
1.0 KiB
JSON

{
"name": "@oh-my-pi/pi-agent-core",
"version": "10.3.2",
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./*": {
"types": "./src/*.ts",
"import": "./src/*.ts"
}
},
"files": [
"src",
"README.md"
],
"scripts": {
"check": "tsgo -p tsconfig.json",
"test": "bun test"
},
"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.3.7"
},
"devDependencies": {
"@sinclair/typebox": "^0.34.48",
"@types/node": "^25.2.0"
}
}