mirror of
https://github.com/only-cli/oc.git
synced 2026-09-15 10:40:56 +02:00
The compact view was all or nothing: an agent that needed more than the 500 token budget had only oc raw, ten to twenty times the price. Now open saves the distilled page, next continues it where the view stopped, and read <n> prints one region in full. Headings and text blocks long enough to be cut are numbered so they can be addressed, and the marker prices what it left behind. On one Reddit thread: open 475 tokens, next 455, read 88, raw 9,670.
52 lines
1004 B
JSON
52 lines
1004 B
JSON
{
|
|
"name": "@only-cli/oc",
|
|
"version": "0.2.0-beta.2",
|
|
"description": "Turn websites into a compact CLI so AI agents can browse without burning tokens.",
|
|
"type": "module",
|
|
"bin": {
|
|
"oc": "src/cli.js"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"clis",
|
|
"skills"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"test": "node --test"
|
|
},
|
|
"keywords": [
|
|
"cli",
|
|
"ai-agents",
|
|
"web-browsing",
|
|
"token-efficient",
|
|
"claude",
|
|
"claude-code",
|
|
"chatgpt",
|
|
"codex",
|
|
"llm",
|
|
"scraping",
|
|
"html-to-markdown",
|
|
"agent-tools"
|
|
],
|
|
"author": "only-cli (https://github.com/only-cli)",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/only-cli/oc.git"
|
|
},
|
|
"homepage": "https://github.com/only-cli/oc#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/only-cli/oc/issues"
|
|
},
|
|
"dependencies": {
|
|
"linkedom": "^0.18.12",
|
|
"turndown": "^7.2.4"
|
|
},
|
|
"optionalDependencies": {
|
|
"impers": "^0.1.0"
|
|
}
|
|
}
|