@vladpazych/dexter 0.1.0 → 0.1.10
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 +66 -0
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# @vladpazych/dexter
|
|
2
|
+
|
|
3
|
+
Agentic development toolkit for Bun monorepos. Powers Claude Code hooks, quality-gated commits, and structured CLI output across projects.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
bun add @vladpazych/dexter
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Subpath exports
|
|
12
|
+
|
|
13
|
+
| Import | Purpose |
|
|
14
|
+
| :------------------------------ | :------------------------------------------------ |
|
|
15
|
+
| `@vladpazych/dexter/meta` | `createCLI` factory, hook protocol, domain commands |
|
|
16
|
+
| `@vladpazych/dexter/output` | Polymorphic structured output (CLI, JSON, XML, MD) |
|
|
17
|
+
| `@vladpazych/dexter/env` | Env file loading, typed config, validation |
|
|
18
|
+
| `@vladpazych/dexter/pipe` | Subprocess piping, log parsing, formatting |
|
|
19
|
+
| `@vladpazych/dexter/terminal` | ANSI colors with NO_COLOR support |
|
|
20
|
+
|
|
21
|
+
## Quick start
|
|
22
|
+
|
|
23
|
+
Create `meta/index.ts` in your repo:
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
import { createCLI } from "@vladpazych/dexter/meta"
|
|
27
|
+
|
|
28
|
+
await createCLI({
|
|
29
|
+
// Custom commands and hook extensions go here
|
|
30
|
+
}).run()
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Wire it to Claude Code hooks via `.claude/settings.json`:
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"hooks": {
|
|
38
|
+
"PreToolUse": [{ "matcher": "Bash", "hooks": ["$CLAUDE_PROJECT_DIR/meta/run on-pre-bash"] }],
|
|
39
|
+
"PostToolUse": [
|
|
40
|
+
{ "matcher": "Write", "hooks": ["$CLAUDE_PROJECT_DIR/meta/run on-post-write"] },
|
|
41
|
+
{ "matcher": "Read", "hooks": ["$CLAUDE_PROJECT_DIR/meta/run on-post-read"] }
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Built-in commands
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
commit "message" file1 file2 Quality-gated atomic commit
|
|
51
|
+
rules <scope> CLAUDE.md cascade for scopes
|
|
52
|
+
diff <scope> Git status + diff
|
|
53
|
+
commits <scope> Recent commit history
|
|
54
|
+
lint [scope] ESLint across workspace
|
|
55
|
+
typecheck [scope] TypeScript checking
|
|
56
|
+
test [scope] Run tests
|
|
57
|
+
blame <file> Structured git blame
|
|
58
|
+
pickaxe <pattern> Find commits by pattern
|
|
59
|
+
bisect <test-cmd> Binary search for bad commit
|
|
60
|
+
eval Sandboxed TypeScript REPL
|
|
61
|
+
packages List workspace packages
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Requirements
|
|
65
|
+
|
|
66
|
+
- [Bun](https://bun.sh) runtime — exports point to TypeScript source, no build step
|
package/package.json
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "0.1.
|
|
1
|
+
export const version = "0.1.10"
|