@muthuishere/ctx-optimize 0.5.1 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -60,6 +60,8 @@ already run.
|
|
|
60
60
|
> packs (`routes add` / `manifests add`, name or GitHub URL) exactly like
|
|
61
61
|
> grammar packs. Exact call edges (x/tools + LSP) are next — see `openspec/`.
|
|
62
62
|
|
|
63
|
+
**Docs:** [`docs/`](docs/) — [CLI reference](docs/cli.md) (every verb: when & why) · [monorepos](docs/monorepos.md) · [share the store over GitHub](docs/remote-github.md) · [native sources](docs/sources.md) · [custom adapters](docs/adapters.md) · [agent integration](docs/agents.md)
|
|
64
|
+
|
|
63
65
|
**Demos, benchmarks, proof:** [`benchmarks/`](benchmarks/) · [`proof/`](proof/) — everything reproducible from this repo.
|
|
64
66
|
— landing page, unedited demos, and the full proof write-up. Everything below
|
|
65
67
|
is reproducible; see [Proof](#proof--reproducible-not-our-word).
|
|
@@ -214,7 +216,7 @@ scheme picks the connector.** One command from zero to "refreshed on every
|
|
|
214
216
|
|
|
215
217
|
```sh
|
|
216
218
|
ctx-optimize adapters help postgres # setup card: value format, credential params, paste-ready commands
|
|
217
|
-
export BILLING_DB_URL='postgres://reader:$PG_PASS@db.internal:5432/billing' # or .
|
|
219
|
+
export BILLING_DB_URL='postgres://reader:$PG_PASS@db.internal:5432/billing' # or root .env / ~/.config/ctx-optimize/.env
|
|
218
220
|
ctx-optimize add BILLING_DB_URL # resolve → dial → capture → merge → recorded in config sources
|
|
219
221
|
```
|
|
220
222
|
|
|
@@ -231,7 +233,7 @@ emits **101 logical tables**.
|
|
|
231
233
|
|
|
232
234
|
Secret hygiene is structural: argv and committed config carry env-var
|
|
233
235
|
**names** only (a literal password in an entry is a hard error), values
|
|
234
|
-
resolve process env → `.
|
|
236
|
+
resolve process env → root `.env` → `~/.config/ctx-optimize/.env` in memory at dial
|
|
235
237
|
time, stored ids are sanitized, and every output is scrubbed. A teammate
|
|
236
238
|
without the credentials still runs `up` cleanly — that source is a one-line
|
|
237
239
|
skip and the nodes arrive via `remote pull`; `--strict` turns skips into CI
|
|
@@ -356,8 +358,9 @@ scored 23/80. One-shot per question beats a continuous loop: same score,
|
|
|
356
358
|
adapters/ drop scripts here — every .js/.py/.sh runs on `add`
|
|
357
359
|
push.js / pull.js your transport scripts (init writes an inert *.sample pair)
|
|
358
360
|
remote.example.md transport recipes: git lane, s3 lane, custom
|
|
359
|
-
|
|
360
|
-
|
|
361
|
+
(no secrets here) source URLs with secrets live in the environment,
|
|
362
|
+
your root .env, or ~/.config/ctx-optimize/.env
|
|
363
|
+
(machine-global, outside the repo) — never in config
|
|
361
364
|
```
|
|
362
365
|
|
|
363
366
|
`config.json`:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muthuishere/ctx-optimize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Gather a codebase (and its world) into one local knowledge store an AI agent answers from — deterministic, no LLM API, no DB.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ctx-optimize": "bin/ctx-optimize.js",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"url": "git+https://github.com/muthuishere/ctx-optimize.git"
|
|
17
17
|
},
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"@muthuishere/ctx-optimize-darwin-arm64": "0.
|
|
20
|
-
"@muthuishere/ctx-optimize-darwin-x64": "0.
|
|
21
|
-
"@muthuishere/ctx-optimize-linux-arm64": "0.
|
|
22
|
-
"@muthuishere/ctx-optimize-linux-x64": "0.
|
|
23
|
-
"@muthuishere/ctx-optimize-windows-x64": "0.
|
|
19
|
+
"@muthuishere/ctx-optimize-darwin-arm64": "0.6.1",
|
|
20
|
+
"@muthuishere/ctx-optimize-darwin-x64": "0.6.1",
|
|
21
|
+
"@muthuishere/ctx-optimize-linux-arm64": "0.6.1",
|
|
22
|
+
"@muthuishere/ctx-optimize-linux-x64": "0.6.1",
|
|
23
|
+
"@muthuishere/ctx-optimize-windows-x64": "0.6.1"
|
|
24
24
|
}
|
|
25
25
|
}
|