@dv.nghiem/flowdeck 0.3.8 → 0.4.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 +13 -122
- package/dist/agents/code-explorer.d.ts.map +1 -1
- package/dist/agents/mapper.d.ts.map +1 -1
- package/dist/agents/orchestrator.d.ts.map +1 -1
- package/dist/agents/planner.d.ts.map +1 -1
- package/dist/agents/specialist.d.ts.map +1 -1
- package/dist/dashboard/server.mjs +12 -2
- package/dist/hooks/compaction-hook.d.ts.map +1 -1
- package/dist/hooks/file-tracker.d.ts +6 -0
- package/dist/hooks/file-tracker.d.ts.map +1 -1
- package/dist/hooks/notifications.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +752 -785
- package/dist/lib/completion-validator.d.ts +51 -0
- package/dist/lib/completion-validator.d.ts.map +1 -0
- package/dist/lib/recommended-question.d.ts +24 -0
- package/dist/lib/recommended-question.d.ts.map +1 -0
- package/dist/lib/research-gate.d.ts +97 -0
- package/dist/lib/research-gate.d.ts.map +1 -0
- package/dist/lib/research-gate.test.d.ts +2 -0
- package/dist/lib/research-gate.test.d.ts.map +1 -0
- package/dist/mcp/index.d.ts +14 -3
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/services/codegraph.d.ts +36 -0
- package/dist/services/codegraph.d.ts.map +1 -0
- package/dist/services/codegraph.test.d.ts +2 -0
- package/dist/services/codegraph.test.d.ts.map +1 -0
- package/dist/services/command-validator.d.ts +11 -0
- package/dist/services/command-validator.d.ts.map +1 -1
- package/dist/services/preflight-explorer.d.ts +130 -0
- package/dist/services/preflight-explorer.d.ts.map +1 -0
- package/dist/services/preflight-explorer.test.d.ts +25 -0
- package/dist/services/preflight-explorer.test.d.ts.map +1 -0
- package/dist/services/question-guard.d.ts +96 -0
- package/dist/services/question-guard.d.ts.map +1 -0
- package/dist/services/quick-router.d.ts +40 -1
- package/dist/services/quick-router.d.ts.map +1 -1
- package/dist/services/recommended-question.test.d.ts +2 -0
- package/dist/services/recommended-question.test.d.ts.map +1 -0
- package/dist/services/supervisor-binding.d.ts +3 -1
- package/dist/services/supervisor-binding.d.ts.map +1 -1
- package/dist/tools/codebase-index.d.ts +30 -0
- package/dist/tools/codebase-index.d.ts.map +1 -0
- package/dist/tools/codebase-index.test.d.ts +2 -0
- package/dist/tools/codebase-index.test.d.ts.map +1 -0
- package/dist/tools/codegraph-tool.d.ts +3 -0
- package/dist/tools/codegraph-tool.d.ts.map +1 -0
- package/dist/tools/planning-state-lib.d.ts +23 -0
- package/dist/tools/planning-state-lib.d.ts.map +1 -1
- package/docs/agents/index.md +154 -0
- package/docs/commands/fd-ask.md +71 -39
- package/docs/commands/fd-checkpoint.md +63 -8
- package/docs/commands/fd-deploy-check.md +166 -9
- package/docs/commands/fd-design.md +101 -0
- package/docs/commands/fd-discuss.md +87 -20
- package/docs/commands/fd-doctor.md +100 -13
- package/docs/commands/fd-done.md +215 -0
- package/docs/commands/fd-execute.md +104 -0
- package/docs/commands/fd-fix-bug.md +144 -24
- package/docs/commands/fd-map-codebase.md +85 -21
- package/docs/commands/fd-multi-repo.md +155 -40
- package/docs/commands/fd-new-feature.md +63 -19
- package/docs/commands/fd-plan.md +80 -27
- package/docs/commands/fd-quick.md +143 -29
- package/docs/commands/fd-reflect.md +81 -13
- package/docs/commands/fd-resume.md +65 -8
- package/docs/commands/fd-status.md +80 -12
- package/docs/commands/fd-suggest.md +114 -0
- package/docs/commands/fd-translate-intent.md +69 -9
- package/docs/commands/fd-verify.md +71 -14
- package/docs/commands/fd-write-docs.md +121 -8
- package/docs/concepts/architecture.md +163 -0
- package/docs/concepts/governance.md +242 -0
- package/docs/concepts/intelligence.md +145 -0
- package/docs/concepts/multi-repo.md +227 -0
- package/docs/concepts/workflows.md +205 -0
- package/docs/configuration/index.md +208 -0
- package/docs/configuration/opencode-settings.md +98 -0
- package/docs/getting-started/first-project.md +126 -0
- package/docs/getting-started/installation.md +73 -0
- package/docs/getting-started/quick-start.md +74 -0
- package/docs/index.md +36 -72
- package/docs/reference/hooks.md +176 -0
- package/docs/reference/rules.md +109 -0
- package/docs/skills/code-review.md +47 -0
- package/docs/skills/index.md +148 -0
- package/docs/skills/planning.md +39 -0
- package/package.json +1 -1
- package/src/commands/fd-deploy-check.md +2 -2
- package/src/commands/fd-discuss.md +128 -7
- package/src/commands/fd-done.md +196 -0
- package/src/commands/fd-execute.md +43 -6
- package/src/commands/fd-fix-bug.md +43 -6
- package/src/commands/fd-map-codebase.md +100 -20
- package/src/commands/fd-multi-repo.md +1 -1
- package/src/commands/fd-new-feature.md +14 -5
- package/src/commands/fd-plan.md +38 -1
- package/src/commands/fd-quick.md +77 -14
- package/src/commands/fd-resume.md +1 -1
- package/src/commands/fd-status.md +1 -1
- package/src/commands/fd-verify.md +16 -2
- package/src/commands/fd-write-docs.md +30 -5
- package/src/rules/common/behavioral.md +63 -0
- package/src/skills/codebase-mapping/SKILL.md +1 -1
- package/src/skills/context-load/SKILL.md +1 -1
- package/src/skills/multi-repo/SKILL.md +1 -1
- package/src/skills/repo-memory-graph/SKILL.md +1 -1
- package/dist/hooks/memory-hook.d.ts +0 -28
- package/dist/hooks/memory-hook.d.ts.map +0 -1
- package/dist/services/memory-store.d.ts +0 -73
- package/dist/services/memory-store.d.ts.map +0 -1
- package/dist/services/memory-store.test.d.ts +0 -2
- package/dist/services/memory-store.test.d.ts.map +0 -1
- package/dist/tools/memory-search.d.ts +0 -3
- package/dist/tools/memory-search.d.ts.map +0 -1
- package/dist/tools/memory-status.d.ts +0 -3
- package/dist/tools/memory-status.d.ts.map +0 -1
- package/docs/USER_GUIDE.md +0 -20
- package/docs/agents.md +0 -544
- package/docs/best-practices.md +0 -47
- package/docs/commands/fd-new-project.md +0 -24
- package/docs/commands.md +0 -557
- package/docs/configuration.md +0 -325
- package/docs/design-first-workflow.md +0 -94
- package/docs/feature-integration-architecture.md +0 -227
- package/docs/installation.md +0 -123
- package/docs/intelligence.md +0 -370
- package/docs/memory.md +0 -69
- package/docs/multi-repo.md +0 -201
- package/docs/notifications.md +0 -170
- package/docs/optimization-baseline.md +0 -21
- package/docs/quick-start.md +0 -197
- package/docs/rules.md +0 -432
- package/docs/skills.md +0 -417
- package/docs/workflows.md +0 -134
- package/src/commands/fd-new-project.md +0 -114
package/README.md
CHANGED
|
@@ -9,8 +9,8 @@ FlowDeck adds a structured, multi-agent development workflow to OpenCode. It coo
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
11
11
|
- 🤖 **25 agents** — architect, planner, coder, reviewer, tester, debugger, risk-analyst, policy-enforcer, and more
|
|
12
|
-
- 🛠️ **
|
|
13
|
-
- ⚡ **
|
|
12
|
+
- 🛠️ **64 skills** — reusable workflow patterns (TDD, security scan, deploy check, code review, and more)
|
|
13
|
+
- ⚡ **21 commands** — workflow commands for all project operations
|
|
14
14
|
- 📋 **15 workflows** — pre-built orchestration flows including Spec-Driven Development (SDD)
|
|
15
15
|
- 🔄 **Persistent state** — resume exactly where you left off across sessions via `.planning/STATE.md`
|
|
16
16
|
- 🔀 **Parallel execution** — independent tasks run simultaneously in wave-structured batches
|
|
@@ -22,7 +22,7 @@ FlowDeck adds a structured, multi-agent development workflow to OpenCode. It coo
|
|
|
22
22
|
- 🪝 **Deep System Hooks** — context window monitoring, session idle summaries, shell environment injection, and structured compaction to prevent context loss
|
|
23
23
|
- 🌐 **Built-in MCPs** — Context7 (docs), Exa (web search), and Grep.app (code search) included and enabled by default
|
|
24
24
|
- 💎 **Ensemble Reasoning** — `council` tool for synthesized consensus from multiple specialized agents
|
|
25
|
-
-
|
|
25
|
+
- 🗺️ **Codegraph Integration** — Codegraph-backed code understanding maps the codebase at indexing time and serves as the shared intelligence layer for all commands and agents.
|
|
26
26
|
- ⚙️ **Model-agnostic** — no model is hardcoded. Every agent uses your currently selected OpenCode model. Override per-agent in `flowdeck.json`.
|
|
27
27
|
|
|
28
28
|
---
|
|
@@ -50,16 +50,18 @@ See [Installation](docs/installation.md) for prerequisites, verification steps,
|
|
|
50
50
|
FlowDeck structures every feature through a six-step cycle:
|
|
51
51
|
|
|
52
52
|
```
|
|
53
|
-
/fd-
|
|
53
|
+
/fd-map-codebase → /fd-new-feature → /fd-discuss → /fd-design → /fd-plan → /fd-execute → /fd-verify → /fd-done
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
| Step | Command | What happens |
|
|
57
57
|
|------|---------|--------------|
|
|
58
|
-
| **
|
|
58
|
+
| **Map** | `/fd-map-codebase` | Analyses and indexes the codebase into structured `.codebase/` files |
|
|
59
59
|
| **Define Feature** | `/fd-new-feature "…"` | Initialize feature context, creates `FEATURE.md` in current phase |
|
|
60
60
|
| **Discuss** | `/fd-discuss` | `@discusser` runs structured Q&A, saves decisions to `DISCUSS.md` |
|
|
61
|
+
| **Design** | `/fd-design` | `@design` produces UI artifacts — wireframes, visual system, approval gate |
|
|
61
62
|
| **Plan** | `/fd-plan` | `@planner` builds a wave-structured `PLAN.md`; you type `CONFIRM` to proceed |
|
|
62
63
|
| **Execute** | `/fd-execute` | `@orchestrator` delegates to `@architect`, `@backend-coder`, `@tester`, `@reviewer` via TDD |
|
|
64
|
+
| **Done** | `/fd-done` | Mark complete — validates readiness, finalizes state, refreshes mapping |
|
|
63
65
|
| **Verify** | `/fd-verify` | Full test suite, code review, security scan, and deploy check |
|
|
64
66
|
|
|
65
67
|
State is written to `.planning/STATE.md` after each phase. Use `/fd-checkpoint` to save mid-session and `/fd-resume` to reload context in a new session.
|
|
@@ -72,39 +74,29 @@ State is written to `.planning/STATE.md` after each phase. Use `/fd-checkpoint`
|
|
|
72
74
|
|
|
73
75
|
| Command | Purpose |
|
|
74
76
|
|---------|---------|
|
|
75
|
-
| `/fd-new-project` | Bootstrap a new project with PROJECT.md, ROADMAP.md, STATE.md |
|
|
76
77
|
| `/fd-map-codebase` | Analyse and index the codebase into structured `.codebase/` files |
|
|
77
78
|
| `/fd-new-feature` | Define a new feature and initialize feature context |
|
|
78
79
|
| `/fd-discuss` | Pre-planning structured Q&A to capture decisions |
|
|
80
|
+
| `/fd-design` | Design-first workflow for UI-heavy tasks — draft, review, or define design system rules |
|
|
79
81
|
| `/fd-plan` | Generate a wave-structured execution plan from decisions |
|
|
80
82
|
| `/fd-execute` | Implement feature with TDD discipline and parallel agents |
|
|
83
|
+
| `/fd-done` | Mark feature/phase complete — validates readiness, finalizes state, refreshes mapping |
|
|
81
84
|
| `/fd-verify` | Full verification pipeline: tests, code review, security scan, deploy check |
|
|
82
85
|
| `/fd-fix-bug` | Diagnose, fix, and verify a bug with regression test |
|
|
83
86
|
| `/fd-write-docs` | Explore APIs and generate accurate documentation |
|
|
84
|
-
| `/fd-deploy-check` | Pre-
|
|
87
|
+
| `/fd-deploy-check` | Pre-change release safety checks and review routing |
|
|
85
88
|
| `/fd-status` | View project progress, roadmap, and workspace overview |
|
|
86
89
|
| `/fd-checkpoint` | Save a session checkpoint to STATE.md |
|
|
87
90
|
| `/fd-resume` | Reload STATE.md and PLAN.md to continue interrupted session |
|
|
88
91
|
| `/fd-reflect` | Post-session reflection or capture patterns as reusable skills |
|
|
89
92
|
| `/fd-multi-repo` | Multi-repo orchestration — list, add, remove, or status |
|
|
90
|
-
| `/fd-translate-intent` | Convert vague requests into ranked implementation options |
|
|
91
|
-
| `/fd-suggest` |
|
|
93
|
+
| `/fd-translate-intent` | Convert vague requests into ranked implementation options with tradeoffs |
|
|
94
|
+
| `/fd-suggest` | Combined opportunity and risk analysis (impact, volatility, failures, skill gaps) |
|
|
92
95
|
| `/fd-ask` | Smart agent dispatch — routes to specialist by keyword |
|
|
93
96
|
| `/fd-quick` | Focused task with automatic agent selection |
|
|
94
97
|
| `/fd-doctor` | Check FlowDeck installation and environment health |
|
|
95
98
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
These umbrella commands consolidate multiple analysis modules into focused entry points:
|
|
99
|
-
|
|
100
|
-
| Command | Purpose |
|
|
101
|
-
|---------|---------|
|
|
102
|
-
| `/fd-translate-intent` | Convert vague requests into ranked implementation options with tradeoffs |
|
|
103
|
-
| `/fd-suggest` | Combined opportunity and risk analysis (impact, volatility, failures, and skill gaps) |
|
|
104
|
-
| `/fd-deploy-check` | Pre-change release safety checks and review routing |
|
|
105
|
-
| `/fd-verify` | Standalone verification for tests, review, and security checks |
|
|
106
|
-
|
|
107
|
-
See [docs/workflows.md](docs/workflows.md) for details on how analysis commands work.
|
|
99
|
+
See [docs/workflows.md](docs/workflows.md) for details on how commands work.
|
|
108
100
|
|
|
109
101
|
---
|
|
110
102
|
|
|
@@ -172,104 +164,3 @@ Agents not listed in `agents` inherit the active OpenCode model. See [Configurat
|
|
|
172
164
|
## License
|
|
173
165
|
|
|
174
166
|
MIT
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
---
|
|
178
|
-
|
|
179
|
-
## Quick Install
|
|
180
|
-
|
|
181
|
-
### Method 1: curl (recommended)
|
|
182
|
-
|
|
183
|
-
```bash
|
|
184
|
-
curl -fsSL https://raw.githubusercontent.com/DVNghiem/flowdeck/main/install.sh | bash
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
### Method 2: npx (no git required)
|
|
188
|
-
|
|
189
|
-
```bash
|
|
190
|
-
npx @dv.nghiem/flowdeck install
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
See [Installation](docs/installation.md) for prerequisites, verification steps, and environment variables.
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
|
|
197
|
-
## Core Workflow
|
|
198
|
-
|
|
199
|
-
FlowDeck structures every feature through a six-step cycle:
|
|
200
|
-
|
|
201
|
-
```
|
|
202
|
-
/fd-new-project → /fd-new-feature → /fd-discuss → /fd-plan → /fd-execute → /fd-verify
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
| Step | Command | What happens |
|
|
206
|
-
|------|---------|--------------|
|
|
207
|
-
| **Setup** | `/fd-new-project MyApp` | Creates `.planning/` directory with `PROJECT.md`, `STATE.md`, and `ROADMAP.md` |
|
|
208
|
-
| **Define Feature** | `/fd-new-feature "…"` | Initialize feature context, creates `FEATURE.md` in current phase |
|
|
209
|
-
| **Discuss** | `/fd-discuss` | `@discusser` runs structured Q&A, saves decisions to `DISCUSS.md` |
|
|
210
|
-
| **Plan** | `/fd-plan` | `@planner` builds a wave-structured `PLAN.md`; you type `CONFIRM` to proceed |
|
|
211
|
-
| **Execute** | `/fd-execute` | `@orchestrator` delegates to `@architect`, `@backend-coder`, `@tester`, `@reviewer` via TDD |
|
|
212
|
-
| **Verify** | `/fd-verify` | Full test suite, code review, security scan, and deploy check |
|
|
213
|
-
|
|
214
|
-
State is written to `.planning/STATE.md` after each phase. Use `/fd-checkpoint` to save mid-session and `/fd-resume` to reload context in a new session.
|
|
215
|
-
|
|
216
|
-
---
|
|
217
|
-
|
|
218
|
-
## Command Reference
|
|
219
|
-
|
|
220
|
-
### Workflow commands
|
|
221
|
-
|
|
222
|
-
| Command | Purpose |
|
|
223
|
-
|---------|---------|
|
|
224
|
-
| `/fd-new-project` | Bootstrap a new project with PROJECT.md, ROADMAP.md, STATE.md |
|
|
225
|
-
| `/fd-map-codebase` | Analyse and index the codebase into structured `.codebase/` files |
|
|
226
|
-
| `/fd-new-feature` | Define a new feature and initialize feature context |
|
|
227
|
-
| `/fd-discuss` | Pre-planning structured Q&A to capture decisions |
|
|
228
|
-
| `/fd-plan` | Generate a wave-structured execution plan from decisions |
|
|
229
|
-
| `/fd-execute` | Implement feature with TDD discipline and parallel agents |
|
|
230
|
-
| `/fd-verify` | Full verification pipeline: tests, code review, security scan, deploy check |
|
|
231
|
-
| `/fd-fix-bug` | Diagnose, fix, and verify a bug with regression test |
|
|
232
|
-
| `/fd-write-docs` | Explore APIs and generate accurate documentation |
|
|
233
|
-
| `/fd-deploy-check` | Pre-deploy safety check with test, security, and build verification |
|
|
234
|
-
| `/fd-status` | View project progress, roadmap, and workspace overview |
|
|
235
|
-
| `/fd-checkpoint` | Save a session checkpoint to STATE.md |
|
|
236
|
-
| `/fd-resume` | Reload STATE.md and PLAN.md to continue interrupted session |
|
|
237
|
-
| `/fd-reflect` | Post-session reflection or capture patterns as reusable skills |
|
|
238
|
-
| `/fd-multi-repo` | Multi-repo orchestration — list, add, remove, or status |
|
|
239
|
-
| `/fd-translate-intent` | Convert vague requests into ranked implementation options |
|
|
240
|
-
| `/fd-suggest` | Analyze the codebase and suggest high-value feature opportunities |
|
|
241
|
-
| `/fd-ask` | Smart agent dispatch — routes to specialist by keyword |
|
|
242
|
-
| `/fd-quick` | Focused task with automatic agent selection |
|
|
243
|
-
| `/fd-doctor` | Check FlowDeck installation and environment health |
|
|
244
|
-
|
|
245
|
-
### Analysis commands
|
|
246
|
-
|
|
247
|
-
These umbrella commands consolidate multiple analysis modules into focused entry points:
|
|
248
|
-
|
|
249
|
-
| Command | Purpose |
|
|
250
|
-
|---------|---------|
|
|
251
|
-
| `/fd-translate-intent` | Convert vague requests into ranked implementation options with tradeoffs |
|
|
252
|
-
| `/fd-suggest` | Combined opportunity and risk analysis (impact, volatility, failures, and skill gaps) |
|
|
253
|
-
| `/fd-deploy-check` | Pre-change release safety checks and review routing |
|
|
254
|
-
| `/fd-verify` | Standalone verification for tests, review, and security checks |
|
|
255
|
-
|
|
256
|
-
See [docs/workflows.md](docs/workflows.md) for details on how analysis commands work.
|
|
257
|
-
|
|
258
|
-
---
|
|
259
|
-
|
|
260
|
-
## Documentation
|
|
261
|
-
|
|
262
|
-
| File | Description |
|
|
263
|
-
|------|-------------|
|
|
264
|
-
| [docs/index.md](docs/index.md) | Full documentation table of contents |
|
|
265
|
-
| [docs/installation.md](docs/installation.md) | Prerequisites, install methods, verification, and uninstall |
|
|
266
|
-
| [docs/quick-start.md](docs/quick-start.md) | First 15 minutes — step-by-step walkthrough |
|
|
267
|
-
| [docs/configuration.md](docs/configuration.md) | `opencode.json`, project config, environment variables, plugin tools |
|
|
268
|
-
| [docs/USER_GUIDE.md](docs/USER_GUIDE.md) | Full agent and skill usage reference with examples |
|
|
269
|
-
| [docs/workflows.md](docs/workflows.md) | Command architecture and workflow patterns |
|
|
270
|
-
|
|
271
|
-
---
|
|
272
|
-
|
|
273
|
-
## License
|
|
274
|
-
|
|
275
|
-
MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-explorer.d.ts","sourceRoot":"","sources":["../../src/agents/code-explorer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"code-explorer.d.ts","sourceRoot":"","sources":["../../src/agents/code-explorer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,SAAS,CAAC;AA6I7D,eAAO,MAAM,uBAAuB,EAAE,YAqBrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../src/agents/mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../src/agents/mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,SAAS,CAAC;AA8F7D,eAAO,MAAM,iBAAiB,EAAE,YAiB/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator.d.ts","sourceRoot":"","sources":["../../src/agents/orchestrator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"orchestrator.d.ts","sourceRoot":"","sources":["../../src/agents/orchestrator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAmS/C;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAsB5E;AAED,wBAAgB,uBAAuB,CACrC,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,EACjE,YAAY,CAAC,EAAE,MAAM,EACrB,kBAAkB,CAAC,EAAE,MAAM,EAC3B,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAC3B,eAAe,CAuBjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planner.d.ts","sourceRoot":"","sources":["../../src/agents/planner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"planner.d.ts","sourceRoot":"","sources":["../../src/agents/planner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,SAAS,CAAC;AAoO7D,eAAO,MAAM,kBAAkB,EAAE,YAiBhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,YAqBpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specialist.d.ts","sourceRoot":"","sources":["../../src/agents/specialist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"specialist.d.ts","sourceRoot":"","sources":["../../src/agents/specialist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,SAAS,CAAC;AA2Q7D,eAAO,MAAM,uBAAuB,EAAE,YAqBrC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,YAiBlC,CAAC"}
|
|
@@ -12482,7 +12482,12 @@ function readPlanningState(dir) {
|
|
|
12482
12482
|
last_action: "",
|
|
12483
12483
|
next_action: "",
|
|
12484
12484
|
blockers: [],
|
|
12485
|
-
tdd: undefined
|
|
12485
|
+
tdd: undefined,
|
|
12486
|
+
lastUpdatedAt: "",
|
|
12487
|
+
lastUpdatedBy: "",
|
|
12488
|
+
lastUpdatedPhase: 1,
|
|
12489
|
+
summaryVersion: 0,
|
|
12490
|
+
freshnessStatus: "unknown"
|
|
12486
12491
|
};
|
|
12487
12492
|
}
|
|
12488
12493
|
const content = readFileSync2(sp, "utf-8");
|
|
@@ -12503,7 +12508,12 @@ function readPlanningState(dir) {
|
|
|
12503
12508
|
last_action: parsed.last_action || "",
|
|
12504
12509
|
next_action: parsed.next_action || "",
|
|
12505
12510
|
blockers: parsed.blockers || [],
|
|
12506
|
-
tdd: parseTDDState(parsed)
|
|
12511
|
+
tdd: parseTDDState(parsed),
|
|
12512
|
+
lastUpdatedAt: parsed.lastUpdatedAt || "",
|
|
12513
|
+
lastUpdatedBy: parsed.lastUpdatedBy || "",
|
|
12514
|
+
lastUpdatedPhase: parsed.lastUpdatedPhase || 1,
|
|
12515
|
+
summaryVersion: parsed.summaryVersion || 0,
|
|
12516
|
+
freshnessStatus: parsed.freshnessStatus || "unknown"
|
|
12507
12517
|
};
|
|
12508
12518
|
}
|
|
12509
12519
|
function parseTDDState(parsed) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compaction-hook.d.ts","sourceRoot":"","sources":["../../src/hooks/compaction-hook.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAoDxD,wBAAgB,oBAAoB,CAClC,GAAG,EAAE;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,EAC1B,OAAO,EAAE,kBAAkB,IAGzB,QAAQ;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,EAC7B,QAAQ;IAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"compaction-hook.d.ts","sourceRoot":"","sources":["../../src/hooks/compaction-hook.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAoDxD,wBAAgB,oBAAoB,CAClC,GAAG,EAAE;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,EAC1B,OAAO,EAAE,kBAAkB,IAGzB,QAAQ;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,EAC7B,QAAQ;IAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,mBA8CjD"}
|
|
@@ -12,6 +12,8 @@ export interface FileChange {
|
|
|
12
12
|
}
|
|
13
13
|
export declare class SessionFileTracker {
|
|
14
14
|
private changes;
|
|
15
|
+
private onFileChange?;
|
|
16
|
+
setOnFileChange(callback: (path: string, type: ChangeType) => void): void;
|
|
15
17
|
record(path: string, type: ChangeType): void;
|
|
16
18
|
getChanges(): FileChange[];
|
|
17
19
|
getEditedPaths(): string[];
|
|
@@ -26,4 +28,8 @@ export declare function createFileTrackerHooks(tracker: SessionFileTracker): {
|
|
|
26
28
|
type: string;
|
|
27
29
|
}) => void;
|
|
28
30
|
};
|
|
31
|
+
export declare function createCodebaseIndexFileTracker(directory: string): {
|
|
32
|
+
tracker: SessionFileTracker;
|
|
33
|
+
publishToIndex: (agent: string, stage: string) => void;
|
|
34
|
+
};
|
|
29
35
|
//# sourceMappingURL=file-tracker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-tracker.d.ts","sourceRoot":"","sources":["../../src/hooks/file-tracker.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"file-tracker.d.ts","sourceRoot":"","sources":["../../src/hooks/file-tracker.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAA;AAEzD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,UAAU,CAAA;CACjB;AAED,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,OAAO,CAAgC;IAC/C,OAAO,CAAC,YAAY,CAAC,CAA0C;IAE/D,eAAe,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,KAAK,IAAI,GAAG,IAAI;IAIzE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI;IAO5C,UAAU,IAAI,UAAU,EAAE;IAI1B,cAAc,IAAI,MAAM,EAAE;IAM1B,KAAK,IAAI,IAAI;CAGd;AAGD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,kBAAkB;wBACrC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;gCAIR;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;EAQlE;AAED,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,MAAM,GAAG;IACjE,OAAO,EAAE,kBAAkB,CAAA;IAC3B,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACvD,CAkBA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/hooks/notifications.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/hooks/notifications.ts"],"names":[],"mappings":"AAsBA,KAAK,WAAW,GAAG,MAAM,GAAG,UAAU,CAAA;AAEtC;;;GAGG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,GAAE,WAAoB,GAAG,IAAI,CAoCrF;AAUD;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAiB9D;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAMxC;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAMzD"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAgGjD,QAAA,MAAM,MAAM,EAAE,MAqTb,CAAA;AAED,eAAe,MAAM,CAAA"}
|