{ "name": "@typeagent/action-grammar", "version": "0.0.1", "description": "Grammar for typeagent actions.", "homepage": "https://github.com/microsoft/TypeAgent#readme", "repository": { "type": "git", "url": "https://github.com/microsoft/TypeAgent.git", "directory": "ts/packages/actionGrammar" }, "license": "MIT", "author": "Microsoft", "type": "module", "exports": { ".": "./dist/index.js", "./completion": "./dist/completion.js", "./rules": "./dist/indexRules.js", "./generation": "./dist/generation/index.js" }, "bin": { "generate-grammar": "./bin/generate-grammar.js", "test-grammar": "./bin/test-grammar.js" }, "files": [ "dist", "!dist/test", "!dist/bench", "!dist/fuzz" ], "scripts": { "bench": "npm run bench:synthetic && npm run bench:real && npm run bench:dfa", "bench:dfa": "node --expose-gc ./dist/bench/dfaBenchmark.js", "bench:real": "node ./dist/bench/grammarOptimizerBenchmark.js", "bench:synthetic": "node ./dist/bench/grammarOptimizerSyntheticBenchmark.js", "build": "npm run tsc", "clean": "rimraf --glob dist *.tsbuildinfo *.done.build.log", "fuzz": "node ./dist/fuzz/fuzzRunner.js", "jest-esm": "node --no-warnings --experimental-vm-modules ./node_modules/jest/bin/jest.js", "prettier": "prettier --check . --ignore-path ../../.prettierignore", "prettier:fix": "prettier --write . --ignore-path ../../.prettierignore", "test": "npm run test:local", "test:integration": "pnpm run jest-esm --testPathPattern=\"grammarGenerator.spec.js\"", "test:local": "pnpm run jest-esm --testPathPattern=\".*[.]spec[.]js\"", "test:local:debug": "node --inspect-brk --no-warnings --experimental-vm-modules ./node_modules/jest/bin/jest.js --testPathPattern=\".*\\.spec\\.js\" --testPathIgnorePatterns=\"grammarGenerator.spec.js\"", "tsc": "tsc -b" }, "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.3.150", "@typeagent/action-schema": "workspace:*", "@typeagent/common-utils": "workspace:*", "@typeagent/config": "workspace:*", "debug": "^4.4.0", "dotenv": "^16.4.5", "regexp.escape": "^2.0.1" }, "devDependencies": { "@types/async": "^3.2.24", "@types/debug": "^4.1.12", "@types/jest": "^29.5.7", "@types/regexp.escape": "^2.0.0", "chalk": "^5.4.1", "jest": "^29.7.0", "prettier": "^3.5.3", "rimraf": "^6.0.1", "typescript": "~5.4.5" } }