-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.97 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 2.97 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "omniglyph",
"version": "1.3.1",
"description": "Context-as-image compression proxy for LLMs: renders bulky context (system prompt, tool docs, history) as dense PNG pages with exact per-provider billing math (Anthropic/OpenAI/Gemini). Node and Cloudflare Workers. Part of the OmniRoute family.",
"type": "module",
"bin": {
"omniglyph": "bin/cli.js"
},
"exports": {
".": {
"types": "./dist/core/index.d.ts",
"import": "./dist/core/index.js"
},
"./transform": {
"types": "./dist/core/library.d.ts",
"import": "./dist/core/library.js"
},
"./measurement": {
"types": "./dist/core/measurement.d.ts",
"import": "./dist/core/measurement.js"
},
"./applicability": {
"types": "./dist/core/applicability.d.ts",
"import": "./dist/core/applicability.js"
},
"./proxy": {
"types": "./dist/core/proxy.d.ts",
"import": "./dist/core/proxy.js"
},
"./node": {
"types": "./dist/node.d.ts",
"import": "./dist/node.js"
},
"./worker": {
"types": "./dist/worker.d.ts",
"import": "./dist/worker.js"
}
},
"files": [
"bin/",
"dist/",
"!dist/**/*.map",
"README.md",
"LICENSE"
],
"scripts": {
"build": "node scripts/build.mjs",
"build:atlas": "tsx scripts/gen-atlas.ts",
"dev:node": "tsx watch src/node.ts",
"dev:worker": "wrangler dev",
"deploy:worker": "wrangler deploy",
"restart": "bash scripts/restart.sh",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest",
"test:restart": "bash tests/restart.test.sh",
"prepublishOnly": "pnpm run lint && pnpm run typecheck && pnpm test && pnpm run build",
"vendor:ui": "node scripts/vendor-ui.mjs"
},
"keywords": [
"omniglyph",
"omniroute",
"claude",
"claude-code",
"anthropic",
"openai",
"gemini",
"proxy",
"token-optimization",
"prompt-cache",
"vision-tokens",
"optical-context-compression"
],
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@10.21.0",
"license": "MIT",
"devDependencies": {
"@cloudflare/workers-types": "^4.20240512.0",
"@eslint/js": "^10.0.1",
"@napi-rs/canvas": "^0.1.53",
"@types/node": "^20.12.0",
"esbuild": "^0.28.1",
"eslint": "^10.6.0",
"tsx": "^4.10.0",
"typescript": "^5.4.0",
"typescript-eslint": "^8.63.0",
"vite": "^8.0.16",
"vitest": "^4.1.6",
"wrangler": "^4.92.0"
},
"pnpm": {
"overrides": {
"ws@>=8.0.0 <8.20.1": "^8.20.1",
"vite@>=8.0.0 <8.0.16": "^8.0.16",
"undici@>=7.0.0 <7.28.0": "^7.28.0",
"esbuild@>=0.27.3 <0.28.1": "^0.28.1"
}
},
"dependencies": {
"gpt-tokenizer": "^3.4.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/diegosouzapw/OmniGlyph.git"
},
"homepage": "https://github.com/diegosouzapw/OmniGlyph#readme",
"bugs": {
"url": "https://github.com/diegosouzapw/OmniGlyph/issues"
}
}