cngkit 1.1.3 → 1.1.4

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 (53) hide show
  1. package/README.md +24 -0
  2. package/dist/chunk-HBBUFPJG.js +4585 -0
  3. package/dist/chunk-HBBUFPJG.js.map +1 -0
  4. package/dist/chunk-PZ5AY32C.js +10 -0
  5. package/dist/chunk-PZ5AY32C.js.map +1 -0
  6. package/dist/chunk-SNTLRTQ2.js +34 -0
  7. package/dist/chunk-SNTLRTQ2.js.map +1 -0
  8. package/dist/chunk-SSRUN6G5.js +524 -0
  9. package/dist/chunk-SSRUN6G5.js.map +1 -0
  10. package/dist/chunk-XWVFKUUD.js +22 -0
  11. package/dist/chunk-XWVFKUUD.js.map +1 -0
  12. package/dist/chunk-YY2VGJ5N.js +114 -0
  13. package/dist/chunk-YY2VGJ5N.js.map +1 -0
  14. package/dist/cli.js +88 -0
  15. package/dist/cli.js.map +1 -0
  16. package/dist/commands/_app.js +11 -0
  17. package/dist/commands/_app.js.map +1 -0
  18. package/dist/commands/coderoom/index.js +24 -0
  19. package/dist/commands/coderoom/index.js.map +1 -0
  20. package/dist/commands/coderoom/join.js +29 -0
  21. package/dist/commands/coderoom/join.js.map +1 -0
  22. package/dist/commands/coderoom/share.js +29 -0
  23. package/dist/commands/coderoom/share.js.map +1 -0
  24. package/dist/commands/index.js +19 -0
  25. package/dist/commands/index.js.map +1 -0
  26. package/dist/commands/knowledges/audiences.js +26 -0
  27. package/dist/commands/knowledges/audiences.js.map +1 -0
  28. package/dist/commands/knowledges/files.js +44 -0
  29. package/dist/commands/knowledges/files.js.map +1 -0
  30. package/dist/commands/knowledges/glob.js +38 -0
  31. package/dist/commands/knowledges/glob.js.map +1 -0
  32. package/dist/commands/knowledges/grep.js +61 -0
  33. package/dist/commands/knowledges/grep.js.map +1 -0
  34. package/dist/commands/knowledges/index.js +24 -0
  35. package/dist/commands/knowledges/index.js.map +1 -0
  36. package/dist/commands/knowledges/list.js +29 -0
  37. package/dist/commands/knowledges/list.js.map +1 -0
  38. package/dist/commands/knowledges/read.js +44 -0
  39. package/dist/commands/knowledges/read.js.map +1 -0
  40. package/dist/commands/knowledges/search.js +29 -0
  41. package/dist/commands/knowledges/search.js.map +1 -0
  42. package/dist/commands/knowledges/status.js +26 -0
  43. package/dist/commands/knowledges/status.js.map +1 -0
  44. package/dist/commands/login.js +26 -0
  45. package/dist/commands/login.js.map +1 -0
  46. package/dist/commands/scrub.js +42 -0
  47. package/dist/commands/scrub.js.map +1 -0
  48. package/dist/commands/transcripts.js +60 -0
  49. package/dist/commands/transcripts.js.map +1 -0
  50. package/package.json +15 -9
  51. package/dist/cli.cjs +0 -25247
  52. package/dist/cli.cjs.map +0 -1
  53. package/dist/cli.d.cts +0 -1
package/README.md CHANGED
@@ -14,6 +14,9 @@ the Cloudflare-backed Harness knowledges catalog:
14
14
  - `cngkit coderoom join <room-code>` joins another developer's shared code room.
15
15
  - `cngkit scrub [path]` scans a file or directory with TruffleHog and prints a redacted report.
16
16
  - `cngkit scrub [path] --yes` rewrites detected secret values inline with `[CNGKIT_SECRET:<detector>:<verified|unverified>]` placeholders.
17
+ - `cngkit transcripts list [--source all|codex|claude] [--limit n]` lists recent local Claude/Codex transcript files.
18
+ - `cngkit transcripts read <path-or-session-id> [--limit n]` prints normalized user/assistant transcript entries.
19
+ - `cngkit transcripts grep <query> [--limit n] [--file-limit n]` searches recent local transcript entries.
17
20
  - `cngkit knowledges status` prints the remote catalog state.
18
21
  - `cngkit knowledges audiences` lists available audience filters.
19
22
  - `cngkit knowledges search <query> [--limit n]` runs semantic search against Cloudflare Vectorize (default limit 5).
@@ -30,6 +33,7 @@ Help is baked into the CLI as Markdown with progressive disclosure:
30
33
  ```bash
31
34
  cngkit --help
32
35
  cngkit scrub --help
36
+ cngkit transcripts --help
33
37
  cngkit knowledges --help
34
38
  cngkit knowledges read --help
35
39
  cngkit knowledges grep --help
@@ -46,6 +50,11 @@ The canonical CLI spec lives at `docs/superpowers/specs/2026-06-25-cngkit-cli-sp
46
50
  in the repository. The baked help source lives in `src/help-specs.ts`; keep both
47
51
  aligned when changing command behavior.
48
52
 
53
+ Command routing is implemented with Pastel route files under `src/commands/`, rendered
54
+ through Ink. `tsup` emits a file-preserving ESM build so the published package contains
55
+ `dist/cli.js` plus `dist/commands/**`; the private workspace client stays bundled while
56
+ public runtime packages remain normal package dependencies.
57
+
49
58
  `scrub` requires the `trufflehog` binary on `PATH`. On macOS, install it with:
50
59
 
51
60
  ```bash
@@ -54,6 +63,21 @@ brew install trufflehog
54
63
 
55
64
  Inline masking is intentionally gated behind `--yes` because it rewrites files in place.
56
65
 
66
+ ## Local Agent Transcripts
67
+
68
+ The `transcripts` command reads local JSONL logs from `~/.codex/sessions`,
69
+ `~/.codex/archived_sessions`, `~/.claude/projects`, and `~/.claude/history.jsonl`.
70
+ It is local-only operator tooling: transcript contents are not uploaded to the Curly backend.
71
+
72
+ ```bash
73
+ cngkit transcripts list --limit 12
74
+ cngkit transcripts read <path-or-session-id> --source codex --limit 80
75
+ cngkit transcripts grep "deploy failed" --source all --file-limit 60 --limit 20
76
+ ```
77
+
78
+ By default, `read` and `grep` print only user/assistant text and skip internal prompt,
79
+ hook, and tool noise. Use `--include-internal` when debugging transcript plumbing.
80
+
57
81
  ## Coderoom
58
82
 
59
83
  Coderoom is for quickly uniting developers around one working tree. One developer starts