UNPKG

prompter-framework

Version:

Meta-framework for generating structured AI agent prompts with built-in context switching, validation checkpoints, and failure recovery strategies

132 lines (131 loc) 3.71 kB
{ "name": "prompter-framework", "version": "1.0.0", "description": "Meta-framework for generating structured AI agent prompts with built-in context switching, validation checkpoints, and failure recovery strategies", "keywords": [ "ai", "prompts", "agent", "automation", "cli", "meta-framework", "context-switching", "validation", "failure-recovery" ], "author": "Christopher Filkins <55597792+filchyboy@users.noreply.github.com>", "license": "MIT", "homepage": "https://github.com/filchyboy/prompter-framework#readme", "repository": { "type": "git", "url": "git+https://github.com/filchyboy/prompter-framework.git" }, "bugs": { "url": "https://github.com/filchyboy/prompter-framework/issues" }, "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.mjs", "types": "./lib/index.d.ts", "exports": { ".": { "import": "./lib/index.mjs", "require": "./lib/index.cjs", "types": "./lib/index.d.ts" }, "./cli": { "import": "./lib/cli.mjs", "require": "./lib/cli.cjs", "types": "./lib/cli.d.ts" }, "./web": { "import": "./lib/web.mjs", "require": "./lib/web.cjs", "types": "./lib/web.d.ts" }, "./core": { "import": "./lib/core.mjs", "require": "./lib/core.cjs", "types": "./lib/core.d.ts" }, "./package.json": "./package.json" }, "bin": { "prompter": "./bin/prompter", "prompt-gen": "./bin/prompt-gen" }, "files": [ "lib/", "bin/", "src/", "README.md", "LICENSE", "CHANGELOG.md" ], "engines": { "node": ">=16.0.0" }, "scripts": { "build": "npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:types", "build:clean": "rimraf lib/", "build:esm": "rollup -c rollup.config.esm.js", "build:cjs": "rollup -c rollup.config.cjs.js", "build:types": "tsc --emitDeclarationOnly --outDir lib", "dev": "npm run build:esm -- --watch", "test": "vitest run", "test:coverage": "vitest --coverage", "test:ui": "vitest --ui", "lint": "eslint src/ --ext .js,.ts", "lint:fix": "eslint src/ --ext .js,.ts --fix", "format": "prettier --write src/", "format:check": "prettier --check src/", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run build && npm run test && npm run lint", "release": "npm run prepublishOnly && npm publish", "release:beta": "npm run prepublishOnly && npm publish --tag beta", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs" }, "dependencies": { "commander": "^12.0.0" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-dom": { "optional": true } }, "devDependencies": { "@jest/globals": "^30.0.3", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-typescript": "^11.0.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@vitest/coverage-v8": "^1.0.0", "@vitest/ui": "^1.0.0", "eslint": "^8.0.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^30.0.3", "prettier": "^3.0.0", "rimraf": "^5.0.0", "rollup": "^4.0.0", "typescript": "^5.0.0", "vitepress": "^1.0.0", "vitest": "^1.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }