-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.07 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "opencode-analyze-image",
"version": "0.1.2",
"description": "OpenCode plugin that lets text-only models analyze image attachments, URLs, files, and directories through an auxiliary vision model.",
"author": "cipherTing",
"repository": {
"type": "git",
"url": "git+https://github.com/cipherTing/opencode-analyze-image.git"
},
"homepage": "https://github.com/cipherTing/opencode-analyze-image#readme",
"bugs": {
"url": "https://github.com/cipherTing/opencode-analyze-image/issues"
},
"type": "module",
"main": "./dist/index.js",
"exports": {
".": "./dist/index.js",
"./server": "./dist/index.js",
"./tui": "./dist/tui.js"
},
"oc-plugin": [
"server",
"tui"
],
"files": [
"dist",
"config.example.json",
"README.md",
"docs",
"LICENSE"
],
"scripts": {
"build": "npm run build:server && npm run build:tui",
"build:server": "esbuild src/index.ts --bundle --platform=node --target=node20 --format=esm --external:@opencode-ai/plugin --outfile=dist/index.js",
"build:tui": "esbuild src/tui.tsx --bundle --platform=node --target=node20 --format=esm --jsx=automatic --jsx-import-source=@opentui/solid --external:@opentui/solid --external:solid-js --outfile=dist/tui.js",
"install:local": "npm run build && node scripts/install-local.mjs",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"check": "npm run typecheck && npm run build && npm test",
"prepack": "npm run build",
"prepublishOnly": "npm run check"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.115.0",
"@opencode-ai/plugin": "^1.18.14",
"@opentui/core": "0.4.5",
"@opentui/solid": "0.4.5",
"openai": "^7.4.0",
"solid-js": "^1.9.12"
},
"devDependencies": {
"@types/node": "^22.15.0",
"esbuild": "^0.25.0",
"typescript": "^5.9.3",
"vitest": "^3.2.0"
},
"engines": {
"node": ">=20",
"opencode": ">=1.18.14"
},
"keywords": [
"opencode",
"opencode-plugin",
"vision",
"image-analysis",
"multimodal",
"openai",
"anthropic"
],
"license": "MIT"
}