@benzotti/jedi 0.1.23 → 0.1.24
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/action/workflow-template.yml +6 -0
- package/dist/index.js +36 -6
- package/package.json +1 -1
|
@@ -96,6 +96,12 @@ jobs:
|
|
|
96
96
|
grep -qxF "$pattern" .git/info/exclude 2>/dev/null || echo "$pattern" >> .git/info/exclude
|
|
97
97
|
done
|
|
98
98
|
|
|
99
|
+
# Configure git for Jedi commits (used when implementing changes on PR branches)
|
|
100
|
+
- name: Configure git
|
|
101
|
+
run: |
|
|
102
|
+
git config user.name "jedi[bot]"
|
|
103
|
+
git config user.email "jedi[bot]@users.noreply.github.com"
|
|
104
|
+
|
|
99
105
|
# Install Claude Code CLI (required by Jedi for AI invocations)
|
|
100
106
|
- name: Install Claude Code
|
|
101
107
|
run: bun install -g @anthropic-ai/claude-code
|
package/dist/index.js
CHANGED
|
@@ -9343,11 +9343,19 @@ Based on the user's request, follow the appropriate workflow:
|
|
|
9343
9343
|
- **PR feedback** ("feedback"): Address review comments using \`.jdi/framework/agents/jdi-pr-feedback.md\`. Extract learnings from reviewer preferences.
|
|
9344
9344
|
- **"do" + ClickUp URL**: Full flow \u2014 plan from ticket, then implement.
|
|
9345
9345
|
|
|
9346
|
+
## Auto-Commit (CI Mode)
|
|
9347
|
+
|
|
9348
|
+
You are running inside a GitHub Action on a PR branch. After implementing or making changes:
|
|
9349
|
+
1. Stage all changed files with \`git add\` (only files you changed \u2014 NOT .jdi/ or .claude/)
|
|
9350
|
+
2. Commit with a conventional commit message (e.g. "feat: implement X")
|
|
9351
|
+
3. Push to the current branch with \`git push\`
|
|
9352
|
+
Do NOT ask the user whether to commit \u2014 just do it. The user will review the PR diff directly.
|
|
9353
|
+
|
|
9346
9354
|
## Iterative Refinement
|
|
9347
9355
|
|
|
9348
9356
|
After completing any workflow, present a summary and ask for feedback.
|
|
9349
9357
|
When the user provides feedback, apply changes incrementally \u2014 do not restart from scratch.
|
|
9350
|
-
When the user approves ("approved", "lgtm", "looks good"), finalise the work.
|
|
9358
|
+
When the user approves ("approved", "lgtm", "looks good"), finalise the work \u2014 commit and push all outstanding changes.
|
|
9351
9359
|
|
|
9352
9360
|
## ClickUp Integration
|
|
9353
9361
|
|
|
@@ -11429,7 +11437,7 @@ _Working on it..._`;
|
|
|
11429
11437
|
`Never silently make changes without explaining why.`,
|
|
11430
11438
|
``,
|
|
11431
11439
|
`- If the feedback is a **question** ("why did you...", "what about...", "can you explain..."), answer it conversationally first. If the answer implies a change is needed, explain that and then apply it.`,
|
|
11432
|
-
`- If the feedback is an **approval** ("approved", "lgtm", "looks good", "ship it"), finalise the current work \u2014
|
|
11440
|
+
`- If the feedback is an **approval** ("approved", "lgtm", "looks good", "ship it"), finalise the current work \u2014 commit all outstanding changes and push to the current branch. Do NOT ask \u2014 just do it.`,
|
|
11433
11441
|
`- If the feedback is a **refinement** ("change task 2", "use a different approach", "add error handling"), explain what you're changing and why, then apply the changes. Present an updated summary with the full updated plan in a collapsible block:`,
|
|
11434
11442
|
` <details>`,
|
|
11435
11443
|
` <summary>View full plan</summary>`,
|
|
@@ -11522,7 +11530,15 @@ Use the ClickUp ticket above as the primary requirements source.` : ``,
|
|
|
11522
11530
|
historyBlock,
|
|
11523
11531
|
`## Task`,
|
|
11524
11532
|
`Execute the current implementation plan. Read state.yaml for the active plan path.`,
|
|
11525
|
-
`Follow the implement-plan orchestration
|
|
11533
|
+
`Follow the implement-plan orchestration.`,
|
|
11534
|
+
``,
|
|
11535
|
+
`## Auto-Commit`,
|
|
11536
|
+
`You are running inside a GitHub Action on a PR branch. After implementing all changes:`,
|
|
11537
|
+
`1. Stage all changed files with \`git add\` (only files you changed \u2014 NOT .jdi/ or .claude/)`,
|
|
11538
|
+
`2. Commit with a conventional commit message (e.g. "feat: implement X")`,
|
|
11539
|
+
`3. Push to the current branch with \`git push\``,
|
|
11540
|
+
`Do NOT ask the user \u2014 just commit and push. The user will review the PR diff directly.`,
|
|
11541
|
+
`Present a summary of what was implemented and committed.`
|
|
11526
11542
|
].join(`
|
|
11527
11543
|
`);
|
|
11528
11544
|
break;
|
|
@@ -11534,7 +11550,14 @@ Use the ClickUp ticket above as the primary requirements source.` : ``,
|
|
|
11534
11550
|
historyBlock,
|
|
11535
11551
|
`## Task`,
|
|
11536
11552
|
`Make this quick change: ${intent.description}`,
|
|
11537
|
-
`Keep changes minimal and focused
|
|
11553
|
+
`Keep changes minimal and focused.`,
|
|
11554
|
+
``,
|
|
11555
|
+
`## Auto-Commit`,
|
|
11556
|
+
`You are running inside a GitHub Action on a PR branch. After making changes:`,
|
|
11557
|
+
`1. Stage all changed files with \`git add\` (only files you changed \u2014 NOT .jdi/ or .claude/)`,
|
|
11558
|
+
`2. Commit with a conventional commit message`,
|
|
11559
|
+
`3. Push to the current branch with \`git push\``,
|
|
11560
|
+
`Do NOT ask the user \u2014 just commit and push. Present what you changed.`
|
|
11538
11561
|
].join(`
|
|
11539
11562
|
`);
|
|
11540
11563
|
break;
|
|
@@ -11595,7 +11618,14 @@ Use the ClickUp ticket above as the primary requirements source.` : ``,
|
|
|
11595
11618
|
``,
|
|
11596
11619
|
`## Task`,
|
|
11597
11620
|
`Execute the most recently created implementation plan in .jdi/plans/.`,
|
|
11598
|
-
`Follow the implement-plan orchestration
|
|
11621
|
+
`Follow the implement-plan orchestration.`,
|
|
11622
|
+
``,
|
|
11623
|
+
`## Auto-Commit`,
|
|
11624
|
+
`You are running inside a GitHub Action on a PR branch. After implementing all changes:`,
|
|
11625
|
+
`1. Stage all changed files with \`git add\` (only files you changed \u2014 NOT .jdi/ or .claude/)`,
|
|
11626
|
+
`2. Commit with a conventional commit message (e.g. "feat: implement X")`,
|
|
11627
|
+
`3. Push to the current branch with \`git push\``,
|
|
11628
|
+
`Do NOT ask the user \u2014 just commit and push. Present a summary of what was implemented and committed.`
|
|
11599
11629
|
].join(`
|
|
11600
11630
|
`);
|
|
11601
11631
|
const implResult = await spawnClaude(implementPrompt, {
|
|
@@ -11712,7 +11742,7 @@ var setupActionCommand = defineCommand({
|
|
|
11712
11742
|
// package.json
|
|
11713
11743
|
var package_default = {
|
|
11714
11744
|
name: "@benzotti/jedi",
|
|
11715
|
-
version: "0.1.
|
|
11745
|
+
version: "0.1.24",
|
|
11716
11746
|
description: "JDI - Context-efficient AI development framework for Claude Code",
|
|
11717
11747
|
type: "module",
|
|
11718
11748
|
bin: {
|