@muthuishere/ctx-optimize 0.5.0 → 0.6.0

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.
Files changed (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -214,7 +214,7 @@ scheme picks the connector.** One command from zero to "refreshed on every
214
214
 
215
215
  ```sh
216
216
  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 .ctxoptimize/.env (gitignored by construction)
217
+ export BILLING_DB_URL='postgres://reader:$PG_PASS@db.internal:5432/billing' # or root .env / ~/.config/ctx-optimize/.env
218
218
  ctx-optimize add BILLING_DB_URL # resolve → dial → capture → merge → recorded in config sources
219
219
  ```
220
220
 
@@ -231,7 +231,7 @@ emits **101 logical tables**.
231
231
 
232
232
  Secret hygiene is structural: argv and committed config carry env-var
233
233
  **names** only (a literal password in an entry is a hard error), values
234
- resolve process env → `.ctxoptimize/.env` → root `.env` in memory at dial
234
+ resolve process env → root `.env` → `~/.config/ctx-optimize/.env` in memory at dial
235
235
  time, stored ids are sanitized, and every output is scrubbed. A teammate
236
236
  without the credentials still runs `up` cleanly — that source is a one-line
237
237
  skip and the nodes arrive via `remote pull`; `--strict` turns skips into CI
@@ -356,8 +356,9 @@ scored 23/80. One-shot per question beats a continuous loop: same score,
356
356
  adapters/ drop scripts here — every .js/.py/.sh runs on `add`
357
357
  push.js / pull.js your transport scripts (init writes an inert *.sample pair)
358
358
  remote.example.md transport recipes: git lane, s3 lane, custom
359
- .gitignore covers .env* by construction put source URLs with
360
- secrets in .ctxoptimize/.env, never in config
359
+ (no secrets here) source URLs with secrets live in the environment,
360
+ your root .env, or ~/.config/ctx-optimize/.env
361
+ (machine-global, outside the repo) — never in config
361
362
  ```
362
363
 
363
364
  `config.json`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muthuishere/ctx-optimize",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
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.5.0",
20
- "@muthuishere/ctx-optimize-darwin-x64": "0.5.0",
21
- "@muthuishere/ctx-optimize-linux-arm64": "0.5.0",
22
- "@muthuishere/ctx-optimize-linux-x64": "0.5.0",
23
- "@muthuishere/ctx-optimize-windows-x64": "0.5.0"
19
+ "@muthuishere/ctx-optimize-darwin-arm64": "0.6.0",
20
+ "@muthuishere/ctx-optimize-darwin-x64": "0.6.0",
21
+ "@muthuishere/ctx-optimize-linux-arm64": "0.6.0",
22
+ "@muthuishere/ctx-optimize-linux-x64": "0.6.0",
23
+ "@muthuishere/ctx-optimize-windows-x64": "0.6.0"
24
24
  }
25
25
  }