Files
oh-my-pi/packages/utils/package.json
T
can1357 a21a542afd refactor(prompt-templates): migrated prompt utilities to pi-utils package
- Extracted prompt rendering and formatting utilities from coding-agent to centralized pi-utils package with new API surface (prompt.render, prompt.format, prompt.registerHelper).
- Migrated parseFrontmatter utility from coding-agent to pi-utils package; updated 8 files to import from @oh-my-pi/pi-utils.
- Removed 170-line prompt-format.ts module and consolidated 192 lines of Handlebars helper registrations into pi-utils prompt module.
- Updated 60+ files across coding-agent and typescript-edit-benchmark to use new prompt.render() and prompt.format() API from pi-utils.
- Simplified prompt-templates.ts by delegating core functionality to pi-utils while retaining custom helper registrations (jtdToTypeScript, jsonStringify, etc.).
2026-04-08 05:47:35 +02:00

55 lines
1.0 KiB
JSON

{
"type": "module",
"name": "@oh-my-pi/pi-utils",
"version": "13.19.0",
"description": "Shared utilities for pi packages",
"homepage": "https://github.com/can1357/oh-my-pi",
"author": "Can Boluk",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/can1357/oh-my-pi.git",
"directory": "packages/utils"
},
"bugs": {
"url": "https://github.com/can1357/oh-my-pi/issues"
},
"keywords": [
"utilities",
"cli",
"logging",
"streams"
],
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"check": "tsgo -p tsconfig.json",
"test": "bun test"
},
"dependencies": {
"beautiful-mermaid": "^1.1",
"handlebars": "^4.7.9",
"winston": "^3.19",
"winston-daily-rotate-file": "^5.0"
},
"devDependencies": {
"@types/bun": "^1.3"
},
"engines": {
"bun": ">=1.3.7"
},
"files": [
"src"
],
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./*": {
"types": "./src/*.ts",
"import": "./src/*.ts"
}
}
}