package.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "name": "@nextsystems/oac",
  3. "version": "0.7.1",
  4. "description": "AI agent framework for plan-first development workflows with approval-based execution. Multi-language support for TypeScript, Python, Go, Rust and more.",
  5. "workspaces": [
  6. "evals/framework",
  7. "packages/cli",
  8. "packages/compatibility-layer"
  9. ],
  10. "bin": {
  11. "oac": "./bin/oac.js"
  12. },
  13. "files": [
  14. ".opencode/agent/",
  15. ".opencode/command/",
  16. ".opencode/context/",
  17. ".opencode/plugin/",
  18. ".opencode/profiles/",
  19. ".opencode/prompts/",
  20. ".opencode/scripts/",
  21. ".opencode/skills/",
  22. ".opencode/tool/",
  23. ".opencode/config.json",
  24. ".opencode/opencode.json",
  25. "!.opencode/tool/node_modules/",
  26. "!.opencode/node_modules/",
  27. "!**/node_modules/",
  28. "scripts/",
  29. "bin/",
  30. "registry.json",
  31. "install.sh",
  32. "VERSION",
  33. "LICENSE",
  34. "README.md",
  35. "CHANGELOG.md",
  36. "CONTEXT_SYSTEM_GUIDE.md",
  37. "packages/cli/dist/"
  38. ],
  39. "engines": {
  40. "node": ">=18.0.0"
  41. },
  42. "scripts": {
  43. "test": "npm run test:all",
  44. "test:all": "cd evals/framework && npm run eval:sdk",
  45. "test:core": "npm run test:openagent:core",
  46. "test:openagent": "cd evals/framework && npm run eval:sdk -- --agent=openagent",
  47. "test:openagent:core": "cd evals/framework && npm run eval:sdk:core -- --agent=openagent",
  48. "test:opencoder": "cd evals/framework && npm run eval:sdk -- --agent=opencoder",
  49. "test:openagent:grok": "npm run test:openagent -- --model=opencode/grok-code-fast",
  50. "test:openagent:claude": "npm run test:openagent -- --model=anthropic/claude-3-5-sonnet-20241022",
  51. "test:openagent:gpt4": "npm run test:openagent -- --model=openai/gpt-4-turbo",
  52. "test:opencoder:grok": "npm run test:opencoder -- --model=opencode/grok-code-fast",
  53. "test:opencoder:claude": "npm run test:opencoder -- --model=anthropic/claude-3-5-sonnet-20241022",
  54. "test:opencoder:gpt4": "npm run test:opencoder -- --model=openai/gpt-4-turbo",
  55. "test:all:grok": "npm run test:all -- --model=opencode/grok-code-fast",
  56. "test:all:claude": "npm run test:all -- --model=anthropic/claude-3-5-sonnet-20241022",
  57. "test:all:gpt4": "npm run test:all -- --model=openai/gpt-4-turbo",
  58. "test:pattern": "cd evals/framework && npm run eval:sdk -- --pattern",
  59. "test:debug": "cd evals/framework && npm run eval:sdk -- --debug",
  60. "test:openagent:developer": "npm run test:openagent -- --pattern='developer/*.yaml'",
  61. "test:openagent:context": "npm run test:openagent -- --pattern='context-loading/*.yaml'",
  62. "test:openagent:business": "npm run test:openagent -- --pattern='business/*.yaml'",
  63. "test:opencoder:developer": "npm run test:opencoder -- --pattern='developer/*.yaml'",
  64. "test:opencoder:bash": "npm run test:opencoder -- --pattern='developer/bash-*.yaml'",
  65. "test:ci": "npm run test:ci:openagent && npm run test:ci:opencoder",
  66. "test:ci:openagent": "npm run test:openagent -- --pattern='smoke-test.yaml' --no-evaluators",
  67. "test:ci:opencoder": "npm run test:opencoder -- --pattern='developer/simple-bash-test.yaml' --no-evaluators",
  68. "dashboard": "cd evals/results && ./serve.sh",
  69. "dashboard:open": "npm run dashboard && open http://localhost:8000",
  70. "results:openagent": "echo 'OpenAgent results:' && ls -lh evals/results/history/*openagent*.json 2>/dev/null | tail -5 || echo 'No results yet'",
  71. "results:opencoder": "echo 'OpenCoder results:' && ls -lh evals/results/history/*opencoder*.json 2>/dev/null | tail -5 || echo 'No results yet'",
  72. "results:latest": "cat evals/results/latest.json 2>/dev/null | jq '.agent, .passed, .failed' || echo 'No results yet'",
  73. "version": "node -p \"require('./package.json').version\"",
  74. "version:bump": "./scripts/versioning/bump-version.sh",
  75. "version:bump:patch": "npm version patch --no-git-tag-version && node -p \"require('./package.json').version\" > VERSION",
  76. "version:bump:minor": "npm version minor --no-git-tag-version && node -p \"require('./package.json').version\" > VERSION",
  77. "version:bump:major": "npm version major --no-git-tag-version && node -p \"require('./package.json').version\" > VERSION",
  78. "version:bump:alpha": "npm version prerelease --preid=alpha --no-git-tag-version && node -p \"require('./package.json').version\" > VERSION",
  79. "version:bump:beta": "npm version prerelease --preid=beta --no-git-tag-version && node -p \"require('./package.json').version\" > VERSION",
  80. "version:bump:rc": "npm version prerelease --preid=rc --no-git-tag-version && node -p \"require('./package.json').version\" > VERSION",
  81. "dev:setup": "cd evals/framework && npm install",
  82. "dev:build": "cd evals/framework && npm run build",
  83. "dev:test": "cd evals/framework && npm test",
  84. "dev:clean": "cd evals/framework && rm -rf dist node_modules && npm install",
  85. "validate:registry": "bun run scripts/registry/validate-registry.ts",
  86. "validate:context-links": "bun run scripts/validation/validate-markdown-links.ts",
  87. "validate:registry:verbose": "bun run scripts/registry/validate-registry.ts -v",
  88. "validate:registry:fix": "bun run scripts/registry/validate-registry.ts -f"
  89. },
  90. "keywords": [
  91. "opencode",
  92. "openagents",
  93. "ai-agents",
  94. "code-generation",
  95. "development-workflow",
  96. "plan-first",
  97. "context-aware",
  98. "typescript",
  99. "python",
  100. "go",
  101. "rust",
  102. "cli",
  103. "automation"
  104. ],
  105. "author": "Darren Hinde",
  106. "license": "MIT",
  107. "repository": {
  108. "type": "git",
  109. "url": "https://github.com/darrenhinde/OpenAgentsControl.git"
  110. },
  111. "bugs": {
  112. "url": "https://github.com/darrenhinde/OpenAgentsControl/issues"
  113. },
  114. "homepage": "https://github.com/darrenhinde/OpenAgentsControl#readme",
  115. "devDependencies": {
  116. "glob": "^13.0.0"
  117. }
  118. }