package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "oh-my-opencode-slim",
  3. "version": "1.0.6",
  4. "description": "Lightweight agent orchestration plugin for OpenCode - a slimmed-down fork of oh-my-opencode",
  5. "main": "dist/index.js",
  6. "types": "dist/index.d.ts",
  7. "exports": {
  8. ".": {
  9. "import": "./dist/index.js",
  10. "types": "./dist/index.d.ts"
  11. },
  12. "./tui": {
  13. "import": "./dist/tui.js",
  14. "types": "./dist/tui.d.ts"
  15. }
  16. },
  17. "bin": {
  18. "oh-my-opencode-slim": "./dist/cli/index.js"
  19. },
  20. "type": "module",
  21. "license": "MIT",
  22. "keywords": [
  23. "opencode",
  24. "opencode-plugin",
  25. "ai",
  26. "agents",
  27. "orchestration",
  28. "llm",
  29. "claude",
  30. "gpt",
  31. "gemini"
  32. ],
  33. "repository": {
  34. "type": "git",
  35. "url": "https://github.com/alvinunreal/oh-my-opencode-slim"
  36. },
  37. "bugs": {
  38. "url": "https://github.com/alvinunreal/oh-my-opencode-slim/issues"
  39. },
  40. "homepage": "https://github.com/alvinunreal/oh-my-opencode-slim#readme",
  41. "files": [
  42. "dist",
  43. "src/skills",
  44. "oh-my-opencode-slim.schema.json",
  45. "README.md",
  46. "LICENSE"
  47. ],
  48. "scripts": {
  49. "build:plugin": "bun build src/index.ts src/tui.ts --outdir dist --target node --format esm --external @ast-grep/napi --external @opencode-ai/plugin --external @opencode-ai/sdk --external @opentui/core --external @opentui/solid --external jsdom --external zod",
  50. "build:cli": "bun build src/cli/index.ts --outdir dist/cli --target node --format esm --external @ast-grep/napi --external @opencode-ai/plugin --external @opencode-ai/sdk --external jsdom --external zod",
  51. "copy:divoom-assets": "bun run scripts/copy-divoom-assets.ts",
  52. "build": "bun run build:plugin && bun run build:cli && bun run copy:divoom-assets && tsc --emitDeclarationOnly && bun run generate-schema",
  53. "prepare": "bun run build",
  54. "contributors:add": "all-contributors add",
  55. "contributors:check": "all-contributors check",
  56. "contributors:generate": "all-contributors generate",
  57. "generate-schema": "bun run scripts/generate-schema.ts",
  58. "verify:release": "bun run scripts/verify-release-artifact.ts",
  59. "verify:host-smoke": "bun run scripts/verify-opencode-host-smoke.ts",
  60. "typecheck": "tsc --noEmit",
  61. "test": "bun test",
  62. "lint": "biome lint .",
  63. "format": "biome format . --write",
  64. "check": "biome check --write .",
  65. "check:ci": "biome check .",
  66. "dev": "bun run build && opencode",
  67. "prepublishOnly": "bun run build",
  68. "release:patch": "npm version patch && git push --follow-tags && npm publish",
  69. "release:minor": "npm version minor && git push --follow-tags && npm publish",
  70. "release:major": "npm version major && git push --follow-tags && npm publish"
  71. },
  72. "dependencies": {
  73. "@ast-grep/cli": "^0.42.1",
  74. "@modelcontextprotocol/sdk": "^1.29.0",
  75. "@mozilla/readability": "^0.6.0",
  76. "@opencode-ai/plugin": "^1.3.17",
  77. "@opencode-ai/sdk": "^1.3.17",
  78. "jsdom": "^26.1.0",
  79. "lru-cache": "^11.3.3",
  80. "turndown": "^7.2.4"
  81. },
  82. "optionalDependencies": {
  83. "@opentui/solid": "^0.1.97"
  84. },
  85. "devDependencies": {
  86. "@biomejs/biome": "2.4.11",
  87. "@types/jsdom": "^21.1.7",
  88. "@types/node": "^24.6.1",
  89. "@types/turndown": "^5.0.6",
  90. "all-contributors-cli": "^6.26.1",
  91. "bun-types": "1.3.12",
  92. "typescript": "^5.9.3",
  93. "zod": "^4.3.6"
  94. },
  95. "peerDependencies": {
  96. "zod": "^4.0.0"
  97. },
  98. "trustedDependencies": [
  99. "@ast-grep/cli"
  100. ]
  101. }