@benzotti/jedi 0.1.29 → 0.1.31
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 +235 -412
- package/action/workflow-template.yml +20 -7
- package/dist/index.js +579 -335
- package/framework/agents/jdi-backend.md +1 -1
- package/framework/agents/jdi-devops.md +1 -1
- package/framework/agents/jdi-frontend.md +1 -1
- package/framework/agents/jdi-planner.md +4 -5
- package/framework/agents/jdi-quality.md +1 -1
- package/framework/commands/implement-plan.md +2 -0
- package/framework/commands/quick.md +2 -0
- package/framework/components/meta/AgentBase.md +1 -1
- package/framework/components/meta/StateUpdate.md +22 -163
- package/framework/components/quality/PRReview.md +19 -1
- package/framework/jedi.md +1 -1
- package/framework/templates/CLAUDE-SHARED.md +42 -0
- package/package.json +1 -1
- package/framework/components/quality/PRReviewLocal.md +0 -99
- package/framework/templates/PROJECT.md +0 -104
- package/framework/templates/REQUIREMENTS.md +0 -95
- package/framework/templates/ROADMAP.md +0 -116
- package/framework/templates/STATE.md +0 -137
|
@@ -82,6 +82,7 @@ jobs:
|
|
|
82
82
|
.jdi/persistence/
|
|
83
83
|
.jdi/framework/
|
|
84
84
|
.jdi/config/
|
|
85
|
+
.jdi/plans/
|
|
85
86
|
.claude/
|
|
86
87
|
key: jedi-state-${{ github.repository }}-${{ steps.pr.outputs.branch || github.head_ref || github.ref_name }}
|
|
87
88
|
restore-keys: |
|
|
@@ -127,22 +128,31 @@ jobs:
|
|
|
127
128
|
run: bun install -g @anthropic-ai/claude-code
|
|
128
129
|
|
|
129
130
|
# Run Jedi CLI directly — full pipeline with routing, agents, and comment posting
|
|
130
|
-
# IMPORTANT: All user input is passed via env vars to avoid shell injection
|
|
131
|
+
# IMPORTANT: All user input is passed via env vars to avoid shell injection.
|
|
132
|
+
# All arguments are individually quoted to prevent shell expansion.
|
|
133
|
+
#
|
|
134
|
+
# Auth gate (opt-in):
|
|
135
|
+
# Set repo variable JEDI_AUTH_ENABLED=true to restrict Jedi to write collaborators.
|
|
136
|
+
# Set JEDI_ALLOWED_USERS to a comma-separated list for explicit allow-listing.
|
|
131
137
|
- name: Run Jedi
|
|
132
138
|
run: |
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
+
bunx @benzotti/jedi@latest action "$COMMENT_BODY" \
|
|
140
|
+
--repo "$REPO" \
|
|
141
|
+
${COMMENT_ID:+--comment-id "$COMMENT_ID"} \
|
|
142
|
+
${PR_NUMBER:+--pr-number "$PR_NUMBER"} \
|
|
143
|
+
${ISSUE_NUMBER:+--issue-number "$ISSUE_NUMBER"} \
|
|
144
|
+
${COMMENT_AUTHOR:+--comment-author "$COMMENT_AUTHOR"} \
|
|
145
|
+
${ALLOWED_USERS:+--allowed-users "$ALLOWED_USERS"}
|
|
139
146
|
env:
|
|
140
147
|
# Resolve comment body from whichever event type triggered this
|
|
141
148
|
COMMENT_BODY: ${{ github.event.comment.body || github.event.review.body || '' }}
|
|
142
149
|
COMMENT_ID: ${{ github.event.comment.id || github.event.review.id || '' }}
|
|
143
150
|
PR_NUMBER: ${{ github.event.issue.number || github.event.pull_request.number || '' }}
|
|
144
151
|
ISSUE_NUMBER: ${{ github.event.issue.number || github.event.pull_request.number || '' }}
|
|
152
|
+
COMMENT_AUTHOR: ${{ github.event.comment.user.login || github.event.review.user.login || '' }}
|
|
145
153
|
REPO: ${{ github.repository }}
|
|
154
|
+
JEDI_AUTH_ENABLED: ${{ vars.JEDI_AUTH_ENABLED || '' }}
|
|
155
|
+
ALLOWED_USERS: ${{ vars.JEDI_ALLOWED_USERS || '' }}
|
|
146
156
|
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
147
157
|
CLICKUP_API_TOKEN: ${{ secrets.CLICKUP_API_TOKEN }}
|
|
148
158
|
GH_TOKEN: ${{ github.token }}
|
|
@@ -156,6 +166,7 @@ jobs:
|
|
|
156
166
|
.jdi/persistence/
|
|
157
167
|
.jdi/framework/
|
|
158
168
|
.jdi/config/
|
|
169
|
+
.jdi/plans/
|
|
159
170
|
.claude/
|
|
160
171
|
key: jedi-state-${{ github.repository }}-${{ steps.pr.outputs.branch || github.head_ref || github.ref_name }}-${{ github.run_id }}
|
|
161
172
|
|
|
@@ -174,6 +185,7 @@ jobs:
|
|
|
174
185
|
.jdi/persistence/
|
|
175
186
|
.jdi/framework/
|
|
176
187
|
.jdi/config/
|
|
188
|
+
.jdi/plans/
|
|
177
189
|
.claude/
|
|
178
190
|
key: jedi-state-${{ github.repository }}-main-promotion-${{ github.sha }}
|
|
179
191
|
restore-keys: |
|
|
@@ -187,5 +199,6 @@ jobs:
|
|
|
187
199
|
.jdi/persistence/
|
|
188
200
|
.jdi/framework/
|
|
189
201
|
.jdi/config/
|
|
202
|
+
.jdi/plans/
|
|
190
203
|
.claude/
|
|
191
204
|
key: jedi-state-${{ github.repository }}-main-${{ github.sha }}
|