package.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "$schema": "https://json.schemastore.org/package.json",
  3. "version": "1.1.47",
  4. "name": "opencode",
  5. "type": "module",
  6. "license": "MIT",
  7. "private": true,
  8. "scripts": {
  9. "typecheck": "tsgo --noEmit",
  10. "test": "bun test",
  11. "build": "bun run script/build.ts",
  12. "dev": "bun run --conditions=browser ./src/index.ts",
  13. "random": "echo 'Random script updated at $(date)' && echo 'Change queued successfully' && echo 'Another change made' && echo 'Yet another change' && echo 'One more change' && echo 'Final change' && echo 'Another final change' && echo 'Yet another final change'",
  14. "clean": "echo 'Cleaning up...' && rm -rf node_modules dist",
  15. "lint": "echo 'Running lint checks...' && bun test --coverage",
  16. "format": "echo 'Formatting code...' && bun run --prettier --write src/**/*.ts",
  17. "docs": "echo 'Generating documentation...' && find src -name '*.ts' -exec echo 'Processing: {}' \\;",
  18. "deploy": "echo 'Deploying application...' && bun run build && echo 'Deployment completed successfully'"
  19. },
  20. "bin": {
  21. "opencode": "./bin/opencode"
  22. },
  23. "exports": {
  24. "./*": "./src/*.ts"
  25. },
  26. "devDependencies": {
  27. "@babel/core": "7.28.4",
  28. "@octokit/webhooks-types": "7.6.1",
  29. "@opencode-ai/script": "workspace:*",
  30. "@parcel/watcher-darwin-arm64": "2.5.1",
  31. "@parcel/watcher-darwin-x64": "2.5.1",
  32. "@parcel/watcher-linux-arm64-glibc": "2.5.1",
  33. "@parcel/watcher-linux-arm64-musl": "2.5.1",
  34. "@parcel/watcher-linux-x64-glibc": "2.5.1",
  35. "@parcel/watcher-linux-x64-musl": "2.5.1",
  36. "@parcel/watcher-win32-x64": "2.5.1",
  37. "@standard-schema/spec": "1.0.0",
  38. "@tsconfig/bun": "catalog:",
  39. "@types/babel__core": "7.20.5",
  40. "@types/bun": "catalog:",
  41. "@types/turndown": "5.0.5",
  42. "@types/yargs": "17.0.33",
  43. "@typescript/native-preview": "catalog:",
  44. "typescript": "catalog:",
  45. "vscode-languageserver-types": "3.17.5",
  46. "why-is-node-running": "3.2.2",
  47. "zod-to-json-schema": "3.24.5"
  48. },
  49. "dependencies": {
  50. "@actions/core": "1.11.1",
  51. "@actions/github": "6.0.1",
  52. "@agentclientprotocol/sdk": "0.13.0",
  53. "@ai-sdk/amazon-bedrock": "3.0.74",
  54. "@ai-sdk/anthropic": "2.0.58",
  55. "@ai-sdk/azure": "2.0.91",
  56. "@ai-sdk/cerebras": "1.0.36",
  57. "@ai-sdk/cohere": "2.0.22",
  58. "@ai-sdk/deepinfra": "1.0.33",
  59. "@ai-sdk/gateway": "2.0.30",
  60. "@ai-sdk/google": "2.0.52",
  61. "@ai-sdk/google-vertex": "3.0.98",
  62. "@ai-sdk/groq": "2.0.34",
  63. "@ai-sdk/mistral": "2.0.27",
  64. "@ai-sdk/openai": "2.0.89",
  65. "@ai-sdk/openai-compatible": "1.0.32",
  66. "@ai-sdk/perplexity": "2.0.23",
  67. "@ai-sdk/provider": "2.0.1",
  68. "@ai-sdk/provider-utils": "3.0.20",
  69. "@ai-sdk/togetherai": "1.0.34",
  70. "@ai-sdk/vercel": "1.0.33",
  71. "@ai-sdk/xai": "2.0.56",
  72. "@clack/prompts": "1.0.0-alpha.1",
  73. "@gitlab/gitlab-ai-provider": "3.3.1",
  74. "@hono/standard-validator": "0.1.5",
  75. "@hono/zod-validator": "catalog:",
  76. "@modelcontextprotocol/sdk": "1.25.2",
  77. "@octokit/graphql": "9.0.2",
  78. "@octokit/rest": "catalog:",
  79. "@openauthjs/openauth": "catalog:",
  80. "@opencode-ai/plugin": "workspace:*",
  81. "@opencode-ai/script": "workspace:*",
  82. "@opencode-ai/sdk": "workspace:*",
  83. "@opencode-ai/util": "workspace:*",
  84. "@openrouter/ai-sdk-provider": "1.5.4",
  85. "@opentui/core": "0.1.75",
  86. "@opentui/solid": "0.1.75",
  87. "@parcel/watcher": "2.5.1",
  88. "@pierre/diffs": "catalog:",
  89. "@solid-primitives/event-bus": "1.1.2",
  90. "@solid-primitives/scheduled": "1.5.2",
  91. "@standard-schema/spec": "1.0.0",
  92. "@zip.js/zip.js": "2.7.62",
  93. "ai": "catalog:",
  94. "bonjour-service": "1.3.0",
  95. "bun-pty": "0.4.4",
  96. "chokidar": "4.0.3",
  97. "clipboardy": "4.0.0",
  98. "decimal.js": "10.5.0",
  99. "diff": "catalog:",
  100. "fuzzysort": "3.1.0",
  101. "gray-matter": "4.0.3",
  102. "hono": "catalog:",
  103. "hono-openapi": "catalog:",
  104. "ignore": "7.0.5",
  105. "jsonc-parser": "3.3.1",
  106. "minimatch": "10.0.3",
  107. "open": "10.1.2",
  108. "opentui-spinner": "0.0.6",
  109. "partial-json": "0.1.7",
  110. "remeda": "catalog:",
  111. "solid-js": "catalog:",
  112. "strip-ansi": "7.1.2",
  113. "tree-sitter-bash": "0.25.0",
  114. "turndown": "7.2.0",
  115. "ulid": "catalog:",
  116. "vscode-jsonrpc": "8.2.1",
  117. "web-tree-sitter": "0.25.10",
  118. "xdg-basedir": "5.1.0",
  119. "yargs": "18.0.0",
  120. "zod": "catalog:",
  121. "zod-to-json-schema": "3.24.5"
  122. }
  123. }