@benzotti/jedi 0.1.18 → 0.1.19
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 +11 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -53,9 +53,9 @@ jobs:
|
|
|
53
53
|
|
|
54
54
|
# Restore persisted Jedi state (learnings + codebase-index)
|
|
55
55
|
# 1. Exact match for this branch
|
|
56
|
-
# 2. Fall back to main baseline (
|
|
57
|
-
# 3. Fall back to any branch prefix match
|
|
56
|
+
# 2. Fall back to main baseline (learnings only — plans are cleared below)
|
|
58
57
|
- name: Restore Jedi state
|
|
58
|
+
id: cache
|
|
59
59
|
uses: actions/cache@v4
|
|
60
60
|
with:
|
|
61
61
|
path: |
|
|
@@ -66,7 +66,6 @@ jobs:
|
|
|
66
66
|
key: jedi-state-${{ github.repository }}-${{ github.head_ref || github.ref_name }}
|
|
67
67
|
restore-keys: |
|
|
68
68
|
jedi-state-${{ github.repository }}-main
|
|
69
|
-
jedi-state-${{ github.repository }}-
|
|
70
69
|
|
|
71
70
|
# Bun is required to run the Jedi CLI
|
|
72
71
|
- uses: oven-sh/setup-bun@v2
|
|
@@ -81,6 +80,15 @@ jobs:
|
|
|
81
80
|
fi
|
|
82
81
|
mkdir -p .jdi/persistence
|
|
83
82
|
|
|
83
|
+
# If cache was restored from fallback (not exact branch match),
|
|
84
|
+
# clear plans and state — they're branch-local, only learnings carry forward
|
|
85
|
+
if [ "${{ steps.cache.outputs.cache-hit }}" != "true" ]; then
|
|
86
|
+
echo "Cache miss or fallback — clearing plan state"
|
|
87
|
+
rm -rf .jdi/plans/*
|
|
88
|
+
mkdir -p .jdi/config
|
|
89
|
+
printf 'active_plan: null\ncurrent_wave: null\nmode: null\n' > .jdi/config/state.yaml
|
|
90
|
+
fi
|
|
91
|
+
|
|
84
92
|
# Exclude Jedi working directories from git so they don't get committed
|
|
85
93
|
# or conflict with branch checkouts — they live in the cache only
|
|
86
94
|
mkdir -p .git/info
|
package/dist/index.js
CHANGED
|
@@ -11641,7 +11641,7 @@ var setupActionCommand = defineCommand({
|
|
|
11641
11641
|
// package.json
|
|
11642
11642
|
var package_default = {
|
|
11643
11643
|
name: "@benzotti/jedi",
|
|
11644
|
-
version: "0.1.
|
|
11644
|
+
version: "0.1.19",
|
|
11645
11645
|
description: "JDI - Context-efficient AI development framework for Claude Code",
|
|
11646
11646
|
type: "module",
|
|
11647
11647
|
bin: {
|