package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "$schema": "https://json.schemastore.org/package.json",
  3. "name": "@opencode-ai/plugin",
  4. "version": "1.17.18",
  5. "type": "module",
  6. "license": "MIT",
  7. "scripts": {
  8. "test": "bun test --timeout 5000",
  9. "typecheck": "tsgo --noEmit",
  10. "build": "tsc -p tsconfig.build.json"
  11. },
  12. "exports": {
  13. ".": "./src/index.ts",
  14. "./tool": "./src/tool.ts",
  15. "./tui": "./src/tui.ts",
  16. "./v2/effect": "./src/v2/effect/index.ts",
  17. "./v2/effect/*": "./src/v2/effect/*.ts",
  18. "./v2/tui": "./src/v2/tui/index.ts",
  19. "./v2": "./src/v2/promise/index.ts",
  20. "./v2/*": "./src/v2/promise/*.ts"
  21. },
  22. "files": [
  23. "dist"
  24. ],
  25. "dependencies": {
  26. "@ai-sdk/provider": "3.0.8",
  27. "@opencode-ai/client": "workspace:*",
  28. "@opencode-ai/schema": "workspace:*",
  29. "@opencode-ai/sdk": "workspace:*",
  30. "effect": "catalog:",
  31. "zod": "catalog:"
  32. },
  33. "peerDependencies": {
  34. "@opentui/core": ">=0.4.3",
  35. "@opentui/keymap": ">=0.4.3",
  36. "@opentui/solid": ">=0.4.3"
  37. },
  38. "peerDependenciesMeta": {
  39. "@opentui/core": {
  40. "optional": true
  41. },
  42. "@opentui/keymap": {
  43. "optional": true
  44. },
  45. "@opentui/solid": {
  46. "optional": true
  47. }
  48. },
  49. "devDependencies": {
  50. "@opentui/core": "catalog:",
  51. "@opentui/keymap": "catalog:",
  52. "@opentui/solid": "catalog:",
  53. "@tsconfig/bun": "catalog:",
  54. "@tsconfig/node22": "catalog:",
  55. "@types/node": "catalog:",
  56. "typescript": "catalog:",
  57. "@typescript/native-preview": "catalog:"
  58. }
  59. }