catenext 0.6.2 → 0.7.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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,20 @@ tag yang versinya belum ada di file ini. Perbarui juga [docs/STATUS.md](docs/STA
10
10
 
11
11
  ## [Belum dirilis]
12
12
 
13
+ ## [0.7.0] - 2026-11-27
14
+
15
+ ### Ditambahkan
16
+ - MCP tool `search_code` dengan cuplikan kode kontekstual (`context_lines`), plus dukungan `workspace_roots` pada `catenext index` dan fallback Node.js saat `rg` tidak tersedia.
17
+ - Metadata worktree pada lease (`worktree.session`, `worktree.branch`, `worktree.base_branch`, `integrated_commit`), pembersihan otomatis lease kedaluwarsa, serta peringatan dirty tree saat handoff.
18
+ - SQLite `WAL` mode, `busy_timeout = 5000`, `foreign_keys = ON`, permission file `0o600` (`.sqlite`, `-wal`, `-shm`), recovery lock stale berbasis PID + timestamp + symlink/hardlink check, path baca read-only tanpa `.lock`, partial diff write (`saveProjectDiff`), serta migrasi skema idempoten (`v1 -> v2 -> v3`).
19
+ - Tabel audit `task_events` di SQLite untuk mencatat `claim`, `release`, `block`, `handoff`, `manage_task`, `review_pull_request`, dan `lease_expired`, beserta perintah CLI `catenext log [task_id] [-n/--limit] [--json]`.
20
+ - Subcommand CLI `catenext permission` (`list`, `set`, `grant`, `revoke`) untuk mengelola matriks permission lokal, serta pemeriksaan mode `0o600` file SQLite pada `catenext verify` di POSIX.
21
+
22
+ ### Diubah
23
+ - Perbaikan code graph: resolusi ekstensi `.js`/`.ts`/`.tsx`/`.jsx` dan `index.*`, `graph_neighbors` depth=2 yang akurat, incremental re-index berdasarkan mtime/hash, dan ekstraksi simbol multi-bahasa (TS/JS, Python, Go, Rust).
24
+ - `scrubber.ts`: sensor nilai secret pada key JSON/objek terpetik (`"api_key": "..."`, `'token': '...'`) tanpa merusak JSON valid atau melakukan redaksi ganda; penyatuan `SCRUB_TOOL_FIELDS` dan `DEFAULT_SCRUB_SKIP_KEYS` (termasuk `path` dan `query`) di MCP server dan `LocalService`.
25
+ - Penegakan matriks permission pada `upsert_persona` dan pengaturan via agent, serta validasi `manage_roots add` agar hanya menerima direktori nyata non-symlink.
26
+
13
27
  ## [0.6.2] - 2026-11-27
14
28
 
15
29
  ### Ditambahkan
package/README.md CHANGED
@@ -344,7 +344,7 @@ catenext index
344
344
  catenext search "login handler" --code
345
345
  ```
346
346
 
347
- MCP: `graph_neighbors`, `symbol_search` (hasil ringkas).
347
+ MCP: `graph_neighbors`, `symbol_search`, `search_code` (hasil ringkas).
348
348
 
349
349
  ## Data lokal
350
350
 
@@ -377,7 +377,9 @@ Backup SQLite terpisah jika perlu. Data Cloud lama **tidak** dimigrasi otomatis.
377
377
  | `epic` / `task create` | `list_epics` / `create_epic` / `create_tasks` | Rencana (masuk DRAFT) |
378
378
  | `review …` | `review_pull_request` | Antrean review lokal |
379
379
  | `skill load` | `load_skill` / `save_repo_skill` | Skill repo |
380
- | `index` / `search` | `graph_neighbors` / `symbol_search` / `search_context` | Graf & pencarian lokal |
380
+ | `index` / `search` | `graph_neighbors` / `symbol_search` / `search_code` / `search_context` | Graf & pencarian lokal |
381
+ | `log` | - | Audit log event task (`task_events`) |
382
+ | `permission list\|set\|grant\|revoke` | - | Matriks permission lokal |
381
383
  | `mcp` | - | Server MCP stdio |
382
384
  | - | `interview_setup` | Kartu opsi setup untuk interview |
383
385