package.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. "bun": ">=1.0.0"
  42. },
  43. "scripts": {
  44. "prepublishOnly": "npm run typecheck -w packages/cli && npm run build -w packages/cli && node -e \"require('fs').existsSync('packages/cli/dist/index.js') || (console.error('Build output missing: packages/cli/dist/index.js'), process.exit(1))\"",
  45. "test": "npm run test:all",
  46. "test:all": "cd evals/framework && npm run eval:sdk",
  47. "test:core": "npm run test:openagent:core",
  48. "test:openagent": "cd evals/framework && npm run eval:sdk -- --agent=openagent",
  49. "test:openagent:core": "cd evals/framework && npm run eval:sdk:core -- --agent=openagent",
  50. "test:opencoder": "cd evals/framework && npm run eval:sdk -- --agent=opencoder",
  51. "test:openagent:grok": "npm run test:openagent -- --model=opencode/grok-code-fast",
  52. "test:openagent:claude": "npm run test:openagent -- --model=anthropic/claude-3-5-sonnet-20241022",
  53. "test:openagent:gpt4": "npm run test:openagent -- --model=openai/gpt-4-turbo",
  54. "test:opencoder:grok": "npm run test:opencoder -- --model=opencode/grok-code-fast",
  55. "test:opencoder:claude": "npm run test:opencoder -- --model=anthropic/claude-3-5-sonnet-20241022",
  56. "test:opencoder:gpt4": "npm run test:opencoder -- --model=openai/gpt-4-turbo",
  57. "test:all:grok": "npm run test:all -- --model=opencode/grok-code-fast",
  58. "test:all:claude": "npm run test:all -- --model=anthropic/claude-3-5-sonnet-20241022",
  59. "test:all:gpt4": "npm run test:all -- --model=openai/gpt-4-turbo",
  60. "test:pattern": "cd evals/framework && npm run eval:sdk -- --pattern",
  61. "test:debug": "cd evals/framework && npm run eval:sdk -- --debug",
  62. "test:openagent:developer": "npm run test:openagent -- --pattern='developer/*.yaml'",
  63. "test:openagent:context": "npm run test:openagent -- --pattern='context-loading/*.yaml'",
  64. "test:openagent:business": "npm run test:openagent -- --pattern='business/*.yaml'",
  65. "test:opencoder:developer": "npm run test:opencoder -- --pattern='developer/*.yaml'",
  66. "test:opencoder:bash": "npm run test:opencoder -- --pattern='developer/bash-*.yaml'",
  67. "test:ci": "npm run test:ci:openagent && npm run test:ci:opencoder",
  68. "test:ci:openagent": "npm run test:openagent -- --pattern='smoke-test.yaml' --no-evaluators",
  69. "test:ci:opencoder": "npm run test:opencoder -- --pattern='developer/simple-bash-test.yaml' --no-evaluators",
  70. "dashboard": "cd evals/results && ./serve.sh",
  71. "dashboard:open": "npm run dashboard && open http://localhost:8000",
  72. "results:openagent": "echo 'OpenAgent results:' && ls -lh evals/results/history/*openagent*.json 2>/dev/null | tail -5 || echo 'No results yet'",
  73. "results:opencoder": "echo 'OpenCoder results:' && ls -lh evals/results/history/*opencoder*.json 2>/dev/null | tail -5 || echo 'No results yet'",
  74. "results:latest": "cat evals/results/latest.json 2>/dev/null | jq '.agent, .passed, .failed' || echo 'No results yet'",
  75. "version": "node -p \"require('./package.json').version\"",
  76. "version:bump": "./scripts/versioning/bump-version.sh",
  77. "version:bump:patch": "npm version patch --no-git-tag-version && node scripts/sync-version.js && node -p \"require('./package.json').version\" > VERSION",
  78. "version:bump:minor": "npm version minor --no-git-tag-version && node scripts/sync-version.js && node -p \"require('./package.json').version\" > VERSION",
  79. "version:bump:major": "npm version major --no-git-tag-version && node scripts/sync-version.js && node -p \"require('./package.json').version\" > VERSION",
  80. "version:bump:alpha": "npm version prerelease --preid=alpha --no-git-tag-version && node -p \"require('./package.json').version\" > VERSION",
  81. "version:bump:beta": "npm version prerelease --preid=beta --no-git-tag-version && node -p \"require('./package.json').version\" > VERSION",
  82. "version:bump:rc": "npm version prerelease --preid=rc --no-git-tag-version && node -p \"require('./package.json').version\" > VERSION",
  83. "dev:setup": "cd evals/framework && npm install",
  84. "dev:build": "cd evals/framework && npm run build",
  85. "dev:test": "cd evals/framework && npm test",
  86. "dev:clean": "cd evals/framework && rm -rf dist node_modules && npm install",
  87. "validate:registry": "bun run scripts/registry/validate-registry.ts",
  88. "validate:context-links": "bun run scripts/validation/validate-markdown-links.ts",
  89. "validate:registry:verbose": "bun run scripts/registry/validate-registry.ts -v",
  90. "validate:registry:fix": "bun run scripts/registry/validate-registry.ts -f"
  91. },
  92. "keywords": [
  93. "opencode",
  94. "openagents",
  95. "ai-agents",
  96. "code-generation",
  97. "development-workflow",
  98. "plan-first",
  99. "context-aware",
  100. "typescript",
  101. "python",
  102. "go",
  103. "rust",
  104. "cli",
  105. "automation"
  106. ],
  107. "author": "Darren Hinde",
  108. "license": "MIT",
  109. "publishConfig": {
  110. "access": "public"
  111. },
  112. "repository": {
  113. "type": "git",
  114. "url": "https://github.com/darrenhinde/OpenAgentsControl.git",
  115. "directory": "."
  116. },
  117. "bugs": {
  118. "url": "https://github.com/darrenhinde/OpenAgentsControl/issues"
  119. },
  120. "homepage": "https://github.com/darrenhinde/OpenAgentsControl#readme",
  121. "devDependencies": {
  122. "glob": "^13.0.0"
  123. }
  124. }