@benzotti/jedi 0.1.35 → 0.1.37
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
|
@@ -11593,6 +11593,9 @@ function parseComment(comment, isFollowUp) {
|
|
|
11593
11593
|
const description = body.replace(/(https?:\/\/[^\s]*clickup\.com\/t\/[a-z0-9]+)/i, "").replace(/\s+/g, " ").trim();
|
|
11594
11594
|
const lower = body.toLowerCase();
|
|
11595
11595
|
const base = { clickUpUrl, fullFlow: false, isFeedback: false, isApproval: false, dryRun: hasDryRun };
|
|
11596
|
+
if (/\b(approved?|lgtm|looks?\s*good|ship\s*it)\b/i.test(lower)) {
|
|
11597
|
+
return { ...base, command: "plan", description: body, clickUpUrl: null, isFeedback: true, isApproval: true };
|
|
11598
|
+
}
|
|
11596
11599
|
if (lower.startsWith("ping") || lower.startsWith("status")) {
|
|
11597
11600
|
return { ...base, command: "ping", description: "", clickUpUrl: null };
|
|
11598
11601
|
}
|
|
@@ -11617,9 +11620,6 @@ function parseComment(comment, isFollowUp) {
|
|
|
11617
11620
|
}
|
|
11618
11621
|
return { ...base, command: "quick", description };
|
|
11619
11622
|
}
|
|
11620
|
-
if (/^(approved?|lgtm|looks?\s*good|ship\s*it)/i.test(lower)) {
|
|
11621
|
-
return { ...base, command: "plan", description: body, clickUpUrl: null, isFeedback: true, isApproval: true };
|
|
11622
|
-
}
|
|
11623
11623
|
if (isFollowUp) {
|
|
11624
11624
|
return { ...base, command: "plan", description: body, clickUpUrl: null, isFeedback: true };
|
|
11625
11625
|
}
|
|
@@ -12294,7 +12294,7 @@ var stateCommand = defineCommand({
|
|
|
12294
12294
|
// package.json
|
|
12295
12295
|
var package_default = {
|
|
12296
12296
|
name: "@benzotti/jedi",
|
|
12297
|
-
version: "0.1.
|
|
12297
|
+
version: "0.1.37",
|
|
12298
12298
|
description: "JDI - Context-efficient AI development framework for Claude Code",
|
|
12299
12299
|
type: "module",
|
|
12300
12300
|
bin: {
|
|
@@ -31,7 +31,7 @@ Create an implementation plan using a single planner agent (includes research).
|
|
|
31
31
|
|
|
32
32
|
## HARD STOP — Planning Gate
|
|
33
33
|
|
|
34
|
-
After the user approves the plan, your work is **DONE**. Output: _"Plan approved and
|
|
34
|
+
After the user approves the plan, your work is **DONE**. Output: _"Plan approved and locked in. Let me know when you want to implement."_ Then **STOP completely**. Do NOT invoke `/jdi:implement-plan`, do NOT spawn implementation agents, do NOT begin writing source code. Planning and implementation are separate human-gated phases.
|
|
35
35
|
|
|
36
36
|
Agent base (read FIRST for cache): .jdi/framework/components/meta/AgentBase.md | Agent spec: .jdi/framework/agents/jdi-planner.md
|
|
37
37
|
|
|
@@ -39,7 +39,7 @@ Follow response templates exactly as instructed in the prompt — do not improvi
|
|
|
39
39
|
|
|
40
40
|
Planning and implementation are **separate human-gated phases**. NEVER auto-proceed to implementation after planning or plan refinement.
|
|
41
41
|
|
|
42
|
-
- When the user says "approved" / "lgtm" / "looks good" to a **plan**: this means the plan is finalised. It does NOT mean "go implement it." Finalise the plan review, output _"Plan approved.
|
|
42
|
+
- When the user says "approved" / "lgtm" / "looks good" to a **plan**: this means the plan is finalised. It does NOT mean "go implement it." Finalise the plan review, output _"Plan approved and locked in. Let me know when you want to implement."_, then **STOP**.
|
|
43
43
|
- When the user provides refinement feedback on a plan, ONLY update the plan files in `.jdi/plans/`. Do NOT implement code.
|
|
44
44
|
- Implementation ONLY happens when the user explicitly requests it: "implement", "build", "execute", or `/jdi:implement-plan`.
|
|
45
45
|
|