dino-spec 11.6.0 → 12.0.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/README.md +19 -12
- package/bin/dino-hud.js +1 -1
- package/bin/dino.js +4 -4
- package/dist/cli/index.d.ts +14 -17
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +67 -396
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/hooks/registry.d.ts +5 -1
- package/dist/commands/hooks/registry.d.ts.map +1 -1
- package/dist/commands/hooks/registry.js +29 -10
- package/dist/commands/hooks/registry.js.map +1 -1
- package/dist/commands/hooks/types.d.ts +1 -0
- package/dist/commands/hooks/types.d.ts.map +1 -1
- package/dist/commands/init.d.ts +7 -9
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +47 -38
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/refresh.d.ts +2 -2
- package/dist/commands/refresh.d.ts.map +1 -1
- package/dist/commands/refresh.js +6 -8
- package/dist/commands/refresh.js.map +1 -1
- package/dist/commands/session.d.ts +16 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +68 -1
- package/dist/commands/session.js.map +1 -1
- package/dist/core/checkpoints/git-recovery.d.ts.map +1 -1
- package/dist/core/checkpoints/git-recovery.js +13 -46
- package/dist/core/checkpoints/git-recovery.js.map +1 -1
- package/dist/core/config/optional-commands.d.ts +36 -0
- package/dist/core/config/optional-commands.d.ts.map +1 -0
- package/dist/core/config/optional-commands.js +96 -0
- package/dist/core/config/optional-commands.js.map +1 -0
- package/dist/core/ralph/git-integration.d.ts.map +1 -1
- package/dist/core/ralph/git-integration.js +29 -83
- package/dist/core/ralph/git-integration.js.map +1 -1
- package/dist/core/session/roadmap-sync.d.ts.map +1 -1
- package/dist/core/session/roadmap-sync.js +10 -16
- package/dist/core/session/roadmap-sync.js.map +1 -1
- package/dist/hooks/index.d.ts +5 -4
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +6 -4
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/post-edit.d.ts +3 -1
- package/dist/hooks/post-edit.d.ts.map +1 -1
- package/dist/hooks/post-edit.js +32 -87
- package/dist/hooks/post-edit.js.map +1 -1
- package/dist/hooks/post-execution.d.ts +17 -0
- package/dist/hooks/post-execution.d.ts.map +1 -0
- package/dist/hooks/post-execution.js +443 -0
- package/dist/hooks/post-execution.js.map +1 -0
- package/dist/hooks/pre-compact.d.ts.map +1 -1
- package/dist/hooks/pre-compact.js +10 -15
- package/dist/hooks/pre-compact.js.map +1 -1
- package/dist/hooks/pre-tool-use.d.ts.map +1 -1
- package/dist/hooks/pre-tool-use.js +11 -17
- package/dist/hooks/pre-tool-use.js.map +1 -1
- package/dist/hooks/pre-validate.d.ts.map +1 -1
- package/dist/hooks/pre-validate.js +11 -17
- package/dist/hooks/pre-validate.js.map +1 -1
- package/dist/hooks/session-end.d.ts +1 -3
- package/dist/hooks/session-end.d.ts.map +1 -1
- package/dist/hooks/session-end.js +16 -64
- package/dist/hooks/session-end.js.map +1 -1
- package/dist/hooks/session-start-verify.d.ts.map +1 -1
- package/dist/hooks/session-start-verify.js +7 -25
- package/dist/hooks/session-start-verify.js.map +1 -1
- package/dist/hooks/session-start.d.ts +3 -4
- package/dist/hooks/session-start.d.ts.map +1 -1
- package/dist/hooks/session-start.js +51 -77
- package/dist/hooks/session-start.js.map +1 -1
- package/dist/hooks/shared/index.d.ts +64 -0
- package/dist/hooks/shared/index.d.ts.map +1 -0
- package/dist/hooks/shared/index.js +164 -0
- package/dist/hooks/shared/index.js.map +1 -0
- package/dist/hooks/shared/paths.d.ts +64 -0
- package/dist/hooks/shared/paths.d.ts.map +1 -0
- package/dist/hooks/shared/paths.js +153 -0
- package/dist/hooks/shared/paths.js.map +1 -0
- package/dist/hooks/shared/session.d.ts +57 -0
- package/dist/hooks/shared/session.d.ts.map +1 -0
- package/dist/hooks/shared/session.js +173 -0
- package/dist/hooks/shared/session.js.map +1 -0
- package/dist/hooks/shared/utils.d.ts +104 -0
- package/dist/hooks/shared/utils.d.ts.map +1 -0
- package/dist/hooks/shared/utils.js +266 -0
- package/dist/hooks/shared/utils.js.map +1 -0
- package/dist/hooks/subagent-start.d.ts.map +1 -1
- package/dist/hooks/subagent-start.js +13 -19
- package/dist/hooks/subagent-start.js.map +1 -1
- package/dist/hooks/subagent-stop.d.ts.map +1 -1
- package/dist/hooks/subagent-stop.js +13 -19
- package/dist/hooks/subagent-stop.js.map +1 -1
- package/dist/hooks/user-prompt-submit.d.ts +3 -1
- package/dist/hooks/user-prompt-submit.d.ts.map +1 -1
- package/dist/hooks/user-prompt-submit.js +19 -31
- package/dist/hooks/user-prompt-submit.js.map +1 -1
- package/dist/hud/index.d.ts +1 -0
- package/dist/hud/index.d.ts.map +1 -1
- package/dist/hud/index.js +1 -0
- package/dist/hud/index.js.map +1 -1
- package/dist/hud/render/git-status.d.ts.map +1 -1
- package/dist/hud/render/git-status.js +11 -15
- package/dist/hud/render/git-status.js.map +1 -1
- package/dist/hud/usage-rotation.d.ts +59 -0
- package/dist/hud/usage-rotation.d.ts.map +1 -0
- package/dist/hud/usage-rotation.js +227 -0
- package/dist/hud/usage-rotation.js.map +1 -0
- package/dist/hud/usage-tracker.d.ts.map +1 -1
- package/dist/hud/usage-tracker.js +3 -0
- package/dist/hud/usage-tracker.js.map +1 -1
- package/dist/mcp/setup.d.ts.map +1 -1
- package/dist/mcp/setup.js +28 -38
- package/dist/mcp/setup.js.map +1 -1
- package/dist/plugin/loader.d.ts +86 -0
- package/dist/plugin/loader.d.ts.map +1 -0
- package/dist/plugin/loader.js +175 -0
- package/dist/plugin/loader.js.map +1 -0
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/index.js +108 -74
- package/dist/rules/index.js.map +1 -1
- package/dist/skills/index.d.ts.map +1 -1
- package/dist/skills/index.js +1 -62
- package/dist/skills/index.js.map +1 -1
- package/dist/store/remote.d.ts.map +1 -1
- package/dist/store/remote.js +7 -8
- package/dist/store/remote.js.map +1 -1
- package/dist/utils/exec.d.ts +46 -0
- package/dist/utils/exec.d.ts.map +1 -0
- package/dist/utils/exec.js +111 -0
- package/dist/utils/exec.js.map +1 -0
- package/dist/utils/file-system.d.ts +7 -0
- package/dist/utils/file-system.d.ts.map +1 -1
- package/dist/utils/file-system.js +12 -0
- package/dist/utils/file-system.js.map +1 -1
- package/package.json +10 -9
- package/dist/commands/cache/analyze.d.ts +0 -26
- package/dist/commands/cache/analyze.d.ts.map +0 -1
- package/dist/commands/cache/analyze.js +0 -56
- package/dist/commands/cache/analyze.js.map +0 -1
- package/dist/commands/cache/clear.d.ts +0 -17
- package/dist/commands/cache/clear.d.ts.map +0 -1
- package/dist/commands/cache/clear.js +0 -34
- package/dist/commands/cache/clear.js.map +0 -1
- package/dist/commands/cache/index.d.ts +0 -7
- package/dist/commands/cache/index.d.ts.map +0 -1
- package/dist/commands/cache/index.js +0 -7
- package/dist/commands/cache/index.js.map +0 -1
- package/dist/commands/cache/status.d.ts +0 -17
- package/dist/commands/cache/status.d.ts.map +0 -1
- package/dist/commands/cache/status.js +0 -46
- package/dist/commands/cache/status.js.map +0 -1
- package/dist/commands/checkpoint/create.d.ts +0 -15
- package/dist/commands/checkpoint/create.d.ts.map +0 -1
- package/dist/commands/checkpoint/create.js +0 -42
- package/dist/commands/checkpoint/create.js.map +0 -1
- package/dist/commands/checkpoint/index.d.ts +0 -9
- package/dist/commands/checkpoint/index.d.ts.map +0 -1
- package/dist/commands/checkpoint/index.js +0 -9
- package/dist/commands/checkpoint/index.js.map +0 -1
- package/dist/commands/checkpoint/list.d.ts +0 -14
- package/dist/commands/checkpoint/list.d.ts.map +0 -1
- package/dist/commands/checkpoint/list.js +0 -42
- package/dist/commands/checkpoint/list.js.map +0 -1
- package/dist/commands/checkpoint/restore.d.ts +0 -13
- package/dist/commands/checkpoint/restore.d.ts.map +0 -1
- package/dist/commands/checkpoint/restore.js +0 -67
- package/dist/commands/checkpoint/restore.js.map +0 -1
- package/dist/commands/context/audit.d.ts +0 -25
- package/dist/commands/context/audit.d.ts.map +0 -1
- package/dist/commands/context/audit.js +0 -56
- package/dist/commands/context/audit.js.map +0 -1
- package/dist/commands/context/index.d.ts +0 -6
- package/dist/commands/context/index.d.ts.map +0 -1
- package/dist/commands/context/index.js +0 -6
- package/dist/commands/context/index.js.map +0 -1
- package/dist/commands/context/status.d.ts +0 -14
- package/dist/commands/context/status.d.ts.map +0 -1
- package/dist/commands/context/status.js +0 -76
- package/dist/commands/context/status.js.map +0 -1
- package/dist/commands/failures/add.d.ts +0 -18
- package/dist/commands/failures/add.d.ts.map +0 -1
- package/dist/commands/failures/add.js +0 -66
- package/dist/commands/failures/add.js.map +0 -1
- package/dist/commands/failures/check.d.ts +0 -13
- package/dist/commands/failures/check.d.ts.map +0 -1
- package/dist/commands/failures/check.js +0 -59
- package/dist/commands/failures/check.js.map +0 -1
- package/dist/commands/failures/index.d.ts +0 -14
- package/dist/commands/failures/index.d.ts.map +0 -1
- package/dist/commands/failures/index.js +0 -14
- package/dist/commands/failures/index.js.map +0 -1
- package/dist/commands/failures/list.d.ts +0 -13
- package/dist/commands/failures/list.d.ts.map +0 -1
- package/dist/commands/failures/list.js +0 -68
- package/dist/commands/failures/list.js.map +0 -1
- package/dist/commands/failures/remove.d.ts +0 -13
- package/dist/commands/failures/remove.d.ts.map +0 -1
- package/dist/commands/failures/remove.js +0 -58
- package/dist/commands/failures/remove.js.map +0 -1
- package/dist/commands/features/add.d.ts +0 -16
- package/dist/commands/features/add.d.ts.map +0 -1
- package/dist/commands/features/add.js +0 -31
- package/dist/commands/features/add.js.map +0 -1
- package/dist/commands/features/complete.d.ts +0 -13
- package/dist/commands/features/complete.d.ts.map +0 -1
- package/dist/commands/features/complete.js +0 -76
- package/dist/commands/features/complete.js.map +0 -1
- package/dist/commands/features/index.d.ts +0 -11
- package/dist/commands/features/index.d.ts.map +0 -1
- package/dist/commands/features/index.js +0 -11
- package/dist/commands/features/index.js.map +0 -1
- package/dist/commands/features/list.d.ts +0 -14
- package/dist/commands/features/list.d.ts.map +0 -1
- package/dist/commands/features/list.js +0 -47
- package/dist/commands/features/list.js.map +0 -1
- package/dist/commands/features/remove.d.ts +0 -13
- package/dist/commands/features/remove.d.ts.map +0 -1
- package/dist/commands/features/remove.js +0 -37
- package/dist/commands/features/remove.js.map +0 -1
- package/dist/commands/features/start.d.ts +0 -12
- package/dist/commands/features/start.d.ts.map +0 -1
- package/dist/commands/features/start.js +0 -28
- package/dist/commands/features/start.js.map +0 -1
- package/dist/commands/handoff.d.ts +0 -39
- package/dist/commands/handoff.d.ts.map +0 -1
- package/dist/commands/handoff.js +0 -196
- package/dist/commands/handoff.js.map +0 -1
- package/dist/commands/playbook.d.ts +0 -46
- package/dist/commands/playbook.d.ts.map +0 -1
- package/dist/commands/playbook.js +0 -264
- package/dist/commands/playbook.js.map +0 -1
- package/dist/commands/retrieve/index.d.ts +0 -8
- package/dist/commands/retrieve/index.d.ts.map +0 -1
- package/dist/commands/retrieve/index.js +0 -8
- package/dist/commands/retrieve/index.js.map +0 -1
- package/dist/commands/retrieve/retrieve.d.ts +0 -28
- package/dist/commands/retrieve/retrieve.d.ts.map +0 -1
- package/dist/commands/retrieve/retrieve.js +0 -205
- package/dist/commands/retrieve/retrieve.js.map +0 -1
- package/dist/commands/trace.d.ts +0 -35
- package/dist/commands/trace.d.ts.map +0 -1
- package/dist/commands/trace.js +0 -187
- package/dist/commands/trace.js.map +0 -1
- package/dist/commands/watch.d.ts +0 -41
- package/dist/commands/watch.d.ts.map +0 -1
- package/dist/commands/watch.js +0 -149
- package/dist/commands/watch.js.map +0 -1
- package/dist/hooks/post-build.d.ts +0 -13
- package/dist/hooks/post-build.d.ts.map +0 -1
- package/dist/hooks/post-build.js +0 -529
- package/dist/hooks/post-build.js.map +0 -1
- package/dist/hooks/post-lint.d.ts +0 -12
- package/dist/hooks/post-lint.d.ts.map +0 -1
- package/dist/hooks/post-lint.js +0 -552
- package/dist/hooks/post-lint.js.map +0 -1
- package/dist/hooks/post-test.d.ts +0 -16
- package/dist/hooks/post-test.d.ts.map +0 -1
- package/dist/hooks/post-test.js +0 -634
- package/dist/hooks/post-test.js.map +0 -1
package/README.md
CHANGED
|
@@ -97,6 +97,11 @@
|
|
|
97
97
|
|
|
98
98
|
## Installation
|
|
99
99
|
|
|
100
|
+
```bash
|
|
101
|
+
bun add -g dino-spec
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Or with npm:
|
|
100
105
|
```bash
|
|
101
106
|
npm install -g dino-spec
|
|
102
107
|
```
|
|
@@ -154,11 +159,11 @@ Use in Claude Code with `/dino.<phase>`:
|
|
|
154
159
|
| Aging | `/dino.aging` | Verify with tests |
|
|
155
160
|
| Fossil | `/dino.fossil` | Archive and commit |
|
|
156
161
|
|
|
157
|
-
Utilities: `/dino.status
|
|
162
|
+
Utilities: `/dino.status` (includes --next, --focus, --tips), `/dino.handoff` (v9.1.0), `/dino.release` (v9.4.0)
|
|
158
163
|
|
|
159
164
|
Spec-Kit: `/dino.spec` (v10.5.0) - Intelligent prompt analysis before implementation
|
|
160
165
|
|
|
161
|
-
|
|
166
|
+
Research: `/research` (v9.7.0)
|
|
162
167
|
|
|
163
168
|
## MCP Resources
|
|
164
169
|
|
|
@@ -225,18 +230,11 @@ Key tools available via Claude Code:
|
|
|
225
230
|
|
|
226
231
|
## Memory System
|
|
227
232
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
| Type | Half-Life | Purpose |
|
|
231
|
-
|------|-----------|---------|
|
|
232
|
-
| Decisions | 30 days | Architectural choices |
|
|
233
|
-
| Patterns | 14 days | Coding preferences |
|
|
234
|
-
| Learnings | 7 days | Session discoveries |
|
|
233
|
+
Semantic memory retrieval via MCP tools:
|
|
235
234
|
|
|
236
235
|
```bash
|
|
237
236
|
dino memory list # View all memories
|
|
238
237
|
dino memory search "auth" # Search memories
|
|
239
|
-
dino memory decay # Clean stale memories
|
|
240
238
|
```
|
|
241
239
|
|
|
242
240
|
## Project Structure
|
|
@@ -253,18 +251,27 @@ your-project/
|
|
|
253
251
|
├── structure.json # Codebase analysis
|
|
254
252
|
├── tasks/ # Task registry
|
|
255
253
|
├── checkpoints/ # Agent checkpoints
|
|
256
|
-
└──
|
|
254
|
+
└── archive/ # Archived handoffs/research
|
|
257
255
|
```
|
|
258
256
|
|
|
259
257
|
## Requirements
|
|
260
258
|
|
|
261
|
-
- Node.js >= 20.0.0
|
|
259
|
+
- Bun >= 1.0.0 (recommended) or Node.js >= 20.0.0
|
|
262
260
|
- Claude Code CLI
|
|
263
261
|
|
|
264
262
|
## Troubleshooting
|
|
265
263
|
|
|
266
264
|
### MCP not showing in `/mcp`
|
|
267
265
|
|
|
266
|
+
```bash
|
|
267
|
+
# Windows
|
|
268
|
+
claude mcp add-json --scope user dino '{"command":"cmd","args":["/c","bunx","dino-spec","mcp","serve"]}'
|
|
269
|
+
|
|
270
|
+
# macOS/Linux
|
|
271
|
+
claude mcp add --scope user dino -- bunx dino-spec mcp serve
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
Or with npx (Node.js):
|
|
268
275
|
```bash
|
|
269
276
|
# Windows
|
|
270
277
|
claude mcp add-json --scope user dino '{"command":"cmd","args":["/c","npx","dino-spec","mcp","serve"]}'
|
package/bin/dino-hud.js
CHANGED
package/bin/dino.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
2
|
|
|
3
3
|
import { existsSync } from 'fs';
|
|
4
4
|
import { dirname, join } from 'path';
|
|
@@ -11,11 +11,11 @@ if (!existsSync(distPath)) {
|
|
|
11
11
|
console.error('Error: dino-spec not built.');
|
|
12
12
|
console.error('');
|
|
13
13
|
console.error('Run one of:');
|
|
14
|
-
console.error('
|
|
15
|
-
console.error('
|
|
14
|
+
console.error(' bun run build');
|
|
15
|
+
console.error(' bun build.js');
|
|
16
16
|
console.error('');
|
|
17
17
|
console.error('If installed globally, try reinstalling:');
|
|
18
|
-
console.error('
|
|
18
|
+
console.error(' bun add -g dino-spec');
|
|
19
19
|
process.exit(1);
|
|
20
20
|
}
|
|
21
21
|
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -1,29 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* dino-spec CLI -
|
|
3
|
+
* dino-spec CLI - v12.0.0
|
|
4
4
|
*
|
|
5
5
|
* Automatic context engineering for Claude Code
|
|
6
6
|
*
|
|
7
|
-
* Commands:
|
|
8
|
-
* dino init -
|
|
7
|
+
* Core Commands:
|
|
8
|
+
* dino init - Initialize, refresh, or update dino-spec
|
|
9
9
|
* dino status - Show session state and context health
|
|
10
|
-
* dino refresh - Re-analyze codebase and update context
|
|
11
10
|
* dino hooks - Manage Claude Code hooks
|
|
12
11
|
* dino session - Manage session state (for hooks)
|
|
13
|
-
* dino store - Manage skills store
|
|
14
|
-
* dino memory - Manage persistent memories
|
|
15
|
-
* dino
|
|
16
|
-
* dino
|
|
17
|
-
* dino
|
|
18
|
-
* dino retrieve - Hybrid file retrieval with strategy selection
|
|
19
|
-
* dino mcp - Manage dino MCP server (setup, serve, status, health)
|
|
20
|
-
* dino watch - Real-time file watching for auto state updates
|
|
21
|
-
* dino hud - Manage dino-hud statusline integration
|
|
22
|
-
* dino check - Check if updates are available
|
|
23
|
-
* dino update - Update managed files to latest version
|
|
12
|
+
* dino store - Manage skills store
|
|
13
|
+
* dino memory - Manage persistent memories
|
|
14
|
+
* dino mcp - Manage MCP server
|
|
15
|
+
* dino setup - Configure API providers
|
|
16
|
+
* dino hud - Statusline integration
|
|
24
17
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
18
|
+
* v12.0.0 Changes:
|
|
19
|
+
* - Removed: failures, features, checkpoint, cache, trace, playbook, retrieve, watch, handoff
|
|
20
|
+
* - Merged: refresh → init --refresh
|
|
21
|
+
* - Merged: update → init --update
|
|
22
|
+
* - Merged: provider → setup
|
|
23
|
+
* - Result: 83 → 35 commands (-58%)
|
|
27
24
|
*/
|
|
28
25
|
export {};
|
|
29
26
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cli/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AAEA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;GAsBG"}
|