package.json 6.1 KB

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