zinkee 0.1.4 → 0.1.7
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/.claude/settings.local.json +14 -0
- package/AGENTS.md +1 -0
- package/README.md +16 -0
- package/dist/index.js +3419 -454
- package/dist/index.js.map +1 -1
- package/docs/cli-contract.md +41 -0
- package/docs/npm-release.md +95 -0
- package/docs/superpowers/plans/2026-03-24-zinkee-cli-implementation.md +837 -0
- package/docs/superpowers/plans/2026-03-25-cli-backend-error-contract.md +503 -0
- package/docs/superpowers/plans/2026-03-26-display-freeform-create.md +389 -0
- package/docs/superpowers/specs/2026-03-24-zinkee-cli-backend-blockers.md +172 -0
- package/docs/superpowers/specs/2026-03-24-zinkee-cli-design.md +1576 -0
- package/docs/superpowers/specs/2026-03-24-zinkee-cli-e2e-checklist.md +215 -0
- package/docs/superpowers/specs/2026-03-24-zinkee-cli-e2e-design.md +492 -0
- package/docs/superpowers/specs/2026-03-24-zinkee-cli-e2e-status.md +307 -0
- package/package.json +1 -1
- package/src/api/logs.ts +34 -0
- package/src/cli-examples.ts +7 -0
- package/src/command-registry.ts +7 -0
- package/src/commands/logs.test.ts +123 -0
- package/src/commands/logs.ts +159 -0
- package/src/index.test.ts +1 -1
- package/src/parsers/expressions.test.ts +75 -30
- package/src/parsers/expressions.ts +21 -4
- package/src/program.ts +2 -0
- package/src/utils/examples.test.ts +150 -0
- package/src/utils/examples.ts +3121 -138
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(npm test *)",
|
|
5
|
+
"Bash(npm run *)",
|
|
6
|
+
"Bash(pnpm typecheck *)",
|
|
7
|
+
"Bash(pnpm test *)",
|
|
8
|
+
"Bash(npx tsc *)",
|
|
9
|
+
"Read(//home/guillermo/dev/z2-backend/api/src/main/java/com/zinkee/api/domain/model/v2/log/**)",
|
|
10
|
+
"Read(//home/guillermo/dev/z2-backend/**)",
|
|
11
|
+
"Bash(grep *)"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
package/AGENTS.md
CHANGED
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@ Implemented command groups:
|
|
|
12
12
|
- `records`
|
|
13
13
|
- `files`
|
|
14
14
|
- `comments`
|
|
15
|
+
- `logs`
|
|
15
16
|
- `navigation`
|
|
16
17
|
- `teamspace`
|
|
17
18
|
- `displays`
|
|
@@ -35,6 +36,10 @@ npm run typecheck
|
|
|
35
36
|
npm test
|
|
36
37
|
```
|
|
37
38
|
|
|
39
|
+
## Publishing
|
|
40
|
+
|
|
41
|
+
Release steps for npm are documented in [docs/npm-release.md](docs/npm-release.md).
|
|
42
|
+
|
|
38
43
|
## Configuration
|
|
39
44
|
|
|
40
45
|
The CLI uses a TOML config file:
|
|
@@ -274,6 +279,17 @@ zinkee comments list <schema-slug> <record-uuid>
|
|
|
274
279
|
|
|
275
280
|
---
|
|
276
281
|
|
|
282
|
+
## Logs
|
|
283
|
+
|
|
284
|
+
Returns the change history for a record. Only populated for schemas with `auditable: true`.
|
|
285
|
+
|
|
286
|
+
```bash
|
|
287
|
+
zinkee logs list <schema-slug> <record-uuid>
|
|
288
|
+
zinkee --json logs list <schema-slug> <record-uuid>
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
277
293
|
## Navigation
|
|
278
294
|
|
|
279
295
|
Organize schemas into database folders.
|