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.
- package/README.md +24 -0
- package/dist/chunk-HBBUFPJG.js +4585 -0
- package/dist/chunk-HBBUFPJG.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-SNTLRTQ2.js +34 -0
- package/dist/chunk-SNTLRTQ2.js.map +1 -0
- package/dist/chunk-SSRUN6G5.js +524 -0
- package/dist/chunk-SSRUN6G5.js.map +1 -0
- package/dist/chunk-XWVFKUUD.js +22 -0
- package/dist/chunk-XWVFKUUD.js.map +1 -0
- package/dist/chunk-YY2VGJ5N.js +114 -0
- package/dist/chunk-YY2VGJ5N.js.map +1 -0
- package/dist/cli.js +88 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/_app.js +11 -0
- package/dist/commands/_app.js.map +1 -0
- package/dist/commands/coderoom/index.js +24 -0
- package/dist/commands/coderoom/index.js.map +1 -0
- package/dist/commands/coderoom/join.js +29 -0
- package/dist/commands/coderoom/join.js.map +1 -0
- package/dist/commands/coderoom/share.js +29 -0
- package/dist/commands/coderoom/share.js.map +1 -0
- package/dist/commands/index.js +19 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/knowledges/audiences.js +26 -0
- package/dist/commands/knowledges/audiences.js.map +1 -0
- package/dist/commands/knowledges/files.js +44 -0
- package/dist/commands/knowledges/files.js.map +1 -0
- package/dist/commands/knowledges/glob.js +38 -0
- package/dist/commands/knowledges/glob.js.map +1 -0
- package/dist/commands/knowledges/grep.js +61 -0
- package/dist/commands/knowledges/grep.js.map +1 -0
- package/dist/commands/knowledges/index.js +24 -0
- package/dist/commands/knowledges/index.js.map +1 -0
- package/dist/commands/knowledges/list.js +29 -0
- package/dist/commands/knowledges/list.js.map +1 -0
- package/dist/commands/knowledges/read.js +44 -0
- package/dist/commands/knowledges/read.js.map +1 -0
- package/dist/commands/knowledges/search.js +29 -0
- package/dist/commands/knowledges/search.js.map +1 -0
- package/dist/commands/knowledges/status.js +26 -0
- package/dist/commands/knowledges/status.js.map +1 -0
- package/dist/commands/login.js +26 -0
- package/dist/commands/login.js.map +1 -0
- package/dist/commands/scrub.js +42 -0
- package/dist/commands/scrub.js.map +1 -0
- package/dist/commands/transcripts.js +60 -0
- package/dist/commands/transcripts.js.map +1 -0
- package/package.json +15 -9
- package/dist/cli.cjs +0 -25247
- package/dist/cli.cjs.map +0 -1
- 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
|