microsoft/TypeAgent

Public

mirrored fromhttps://github.com/microsoft/TypeAgentAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-shell-and-cli-windows-job

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

ts/packages/actionGrammar/package.json

66lines · modecode

1{
2 "name": "action-grammar",
3 "version": "0.0.1",
4 "private": true,
5 "description": "Grammar for typeagent actions.",
6 "homepage": "https://github.com/microsoft/TypeAgent#readme",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/microsoft/TypeAgent.git",
10 "directory": "ts/packages/actionGrammar"
11 },
12 "license": "MIT",
13 "author": "Microsoft",
14 "type": "module",
15 "exports": {
16 ".": "./dist/index.js",
17 "./completion": "./dist/completion.js",
18 "./rules": "./dist/indexRules.js",
19 "./generation": "./dist/generation/index.js"
20 },
21 "bin": {
22 "generate-grammar": "./dist/generation/generate-grammar-cli.js",
23 "test-grammar": "./dist/generation/test-grammar-cli.js"
24 },
25 "files": [
26 "dist",
27 "!dist/test",
28 "!dist/bench",
29 "!dist/fuzz"
30 ],
31 "scripts": {
32 "bench": "npm run bench:synthetic && npm run bench:real && npm run bench:dfa",
33 "bench:dfa": "node ./dist/bench/dfaBenchmark.js",
34 "bench:real": "node ./dist/bench/grammarOptimizerBenchmark.js",
35 "bench:synthetic": "node ./dist/bench/grammarOptimizerSyntheticBenchmark.js",
36 "build": "npm run tsc",
37 "clean": "rimraf --glob dist *.tsbuildinfo *.done.build.log",
38 "fuzz": "node ./dist/fuzz/fuzzRunner.js",
39 "jest-esm": "node --no-warnings --experimental-vm-modules ./node_modules/jest/bin/jest.js",
40 "prettier": "prettier --check . --ignore-path ../../.prettierignore",
41 "prettier:fix": "prettier --write . --ignore-path ../../.prettierignore",
42 "test": "npm run test:local",
43 "test:integration": "pnpm run jest-esm --testPathPattern=\"grammarGenerator.spec.js\"",
44 "test:local": "pnpm run jest-esm --testPathPattern=\".*[.]spec[.]js\"",
45 "test:local:debug": "node --inspect-brk --no-warnings --experimental-vm-modules ./node_modules/jest/bin/jest.js --testPathPattern=\".*\\.spec\\.js\" --testPathIgnorePatterns=\"grammarGenerator.spec.js\"",
46 "tsc": "tsc -b"
47 },
48 "dependencies": {
49 "@anthropic-ai/claude-agent-sdk": "^0.2.101",
50 "@typeagent/action-schema": "workspace:*",
51 "debug": "^4.4.0",
52 "dotenv": "^16.4.5",
53 "regexp.escape": "^2.0.1"
54 },
55 "devDependencies": {
56 "@types/async": "^3.2.24",
57 "@types/debug": "^4.1.12",
58 "@types/jest": "^29.5.7",
59 "@types/regexp.escape": "^2.0.0",
60 "chalk": "^5.4.1",
61 "jest": "^29.7.0",
62 "prettier": "^3.5.3",
63 "rimraf": "^6.0.1",
64 "typescript": "~5.4.5"
65 }
66}
67