@benzotti/jedi 0.1.12 → 0.1.13
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/dist/index.js
CHANGED
|
@@ -9250,7 +9250,7 @@ async function copyFrameworkFiles(cwd, projectType, force, ci = false) {
|
|
|
9250
9250
|
const frameworkDest = join2(cwd, ".jdi", "framework");
|
|
9251
9251
|
const glob = new Bun.Glob("**/*");
|
|
9252
9252
|
for await (const file of glob.scan({ cwd: frameworkDir })) {
|
|
9253
|
-
if (file.startsWith("adapters/")
|
|
9253
|
+
if (file.startsWith("adapters/"))
|
|
9254
9254
|
continue;
|
|
9255
9255
|
const src2 = join2(frameworkDir, file);
|
|
9256
9256
|
const dest = join2(frameworkDest, file);
|
|
@@ -9366,6 +9366,8 @@ Recognise natural language JDI intents and invoke the matching skill via the Ski
|
|
|
9366
9366
|
|
|
9367
9367
|
Extract flags from context: "in a worktree" \u2192 \`--worktree\`, "lightweight" \u2192 \`--worktree-lightweight\`, "single agent" \u2192 \`--single\`, "use teams" \u2192 \`--team\`. If the intent is unclear, ask. Never guess.
|
|
9368
9368
|
|
|
9369
|
+
Planning and implementation are separate gates \u2014 NEVER auto-proceed to implementation after plan approval.
|
|
9370
|
+
|
|
9369
9371
|
## Iterative Refinement
|
|
9370
9372
|
|
|
9371
9373
|
After \`/jdi:create-plan\` or \`/jdi:implement-plan\` completes, the conversation continues naturally \u2014 no new command invocation needed. When the user provides feedback (e.g. "change task 2", "move this to a helper", "add error handling"), apply the changes directly, update state, and present the updated summary. When the user approves (e.g. "approved", "looks good", "lgtm"), finalise the review state. The conversation IS the feedback loop.
|
|
@@ -9388,6 +9390,8 @@ Recognise natural language JDI intents and invoke the matching skill via the Ski
|
|
|
9388
9390
|
|
|
9389
9391
|
Extract flags from context: "in a worktree" \u2192 \`--worktree\`, "lightweight" \u2192 \`--worktree-lightweight\`, "single agent" \u2192 \`--single\`, "use teams" \u2192 \`--team\`. If the intent is unclear, ask. Never guess.
|
|
9390
9392
|
|
|
9393
|
+
Planning and implementation are separate gates \u2014 NEVER auto-proceed to implementation after plan approval.
|
|
9394
|
+
|
|
9391
9395
|
## Iterative Refinement
|
|
9392
9396
|
|
|
9393
9397
|
After \`/jdi:create-plan\` or \`/jdi:implement-plan\` completes, the conversation continues naturally \u2014 no new command invocation needed. When the user provides feedback (e.g. "change task 2", "move this to a helper", "add error handling"), apply the changes directly, update state, and present the updated summary. When the user approves (e.g. "approved", "looks good", "lgtm"), finalise the review state. The conversation IS the feedback loop.
|
|
@@ -11514,7 +11518,7 @@ var setupActionCommand = defineCommand({
|
|
|
11514
11518
|
// package.json
|
|
11515
11519
|
var package_default = {
|
|
11516
11520
|
name: "@benzotti/jedi",
|
|
11517
|
-
version: "0.1.
|
|
11521
|
+
version: "0.1.13",
|
|
11518
11522
|
description: "JDI - Context-efficient AI development framework for Claude Code",
|
|
11519
11523
|
type: "module",
|
|
11520
11524
|
bin: {
|
|
@@ -27,6 +27,6 @@ Create an implementation plan using a single planner agent (includes research).
|
|
|
27
27
|
9. **Present summary** (name, objective, task table, files) then ask: _"Provide feedback to refine, or say **approved** to finalise."_
|
|
28
28
|
10. **Review loop**: approval → update state to `"approved"`, confirm. Feedback → revise plan in-place, increment revision, re-present summary. Repeat until approved. This is natural conversation — no separate command needed.
|
|
29
29
|
|
|
30
|
-
Agent base (read FIRST for cache):
|
|
30
|
+
Agent base (read FIRST for cache): .jdi/framework/components/meta/AgentBase.md | Agent spec: .jdi/framework/agents/jdi-planner.md
|
|
31
31
|
|
|
32
32
|
Feature to plan: $ARGUMENTS
|
|
@@ -26,8 +26,8 @@ Execute a PLAN.md with complexity-based routing.
|
|
|
26
26
|
11. **Present summary** (tasks completed, files changed, verification results, deviations) then ask: _"Provide feedback to adjust, or say **approved** to finalise."_
|
|
27
27
|
12. **Review loop**: approval → update state to `"complete"`, suggest commit/PR. Feedback → apply code changes, run tests, increment revision, re-present. Repeat until approved. Natural conversation — no separate command needed.
|
|
28
28
|
|
|
29
|
-
Agent base (read FIRST for cache):
|
|
30
|
-
Orchestration:
|
|
29
|
+
Agent base (read FIRST for cache): .jdi/framework/components/meta/AgentBase.md | Agent specs: .jdi/framework/agents/jdi-backend.md, .jdi/framework/agents/jdi-frontend.md
|
|
30
|
+
Orchestration: .jdi/framework/components/meta/AgentTeamsOrchestration.md | Routing: .jdi/framework/components/meta/ComplexityRouter.md
|
|
31
31
|
|
|
32
32
|
When spawning agents, detect project type and include a `## Project Context` block (type, tech stack, quality gates, working directory) in the spawn prompt. This saves agents 2-3 discovery tool calls.
|
|
33
33
|
|
|
@@ -27,6 +27,6 @@ Remove a git worktree and clean up all associated resources.
|
|
|
27
27
|
7. **Update state**: set `worktree.active: false`, clear `worktree.path`, `worktree.branch` in `.jdi/config/state.yaml`
|
|
28
28
|
8. **Report**: what was removed
|
|
29
29
|
|
|
30
|
-
Reference:
|
|
30
|
+
Reference: .jdi/framework/hooks/jdi-worktree-cleanup.md
|
|
31
31
|
|
|
32
32
|
Worktree to remove: $ARGUMENTS
|