@orderful/droid 0.25.0 → 0.25.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @orderful/droid
|
|
2
2
|
|
|
3
|
+
## 0.25.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#129](https://github.com/Orderful/droid/pull/129) [`d3264c4`](https://github.com/Orderful/droid/commit/d3264c493e1c243e812ab742103351888092ac79) Thanks [@frytyler](https://github.com/frytyler)! - fix(codex): add git preamble to Loading procedure
|
|
8
|
+
|
|
9
|
+
The "Loading an Entry" procedure wasn't running the git preamble before
|
|
10
|
+
reading files, causing potential stale data issues. Now explicitly calls
|
|
11
|
+
`git-preamble` as step 1 before reading the index.
|
|
12
|
+
|
|
3
13
|
## 0.25.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: codex
|
|
2
2
|
description: "Shared organizational knowledge - PRDs, tech designs, domains, proposals, patterns, and explored topics. Use when loading project context, searching codex, capturing decisions, or creating new entries."
|
|
3
|
-
version: 0.1.
|
|
3
|
+
version: 0.1.3
|
|
4
4
|
status: beta
|
|
5
5
|
|
|
6
6
|
includes:
|
|
@@ -179,13 +179,17 @@ The codex has five categories:
|
|
|
179
179
|
|
|
180
180
|
**Procedure:**
|
|
181
181
|
|
|
182
|
-
1. **
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
182
|
+
1. **Run preamble first:**
|
|
183
|
+
```bash
|
|
184
|
+
droid config codex | droid exec droid-codex git-preamble --config -
|
|
185
|
+
```
|
|
186
|
+
2. **Read `{codex_repo}/index.yaml`** - this contains all entry names and aliases for fast lookup
|
|
187
|
+
3. Match `{name}` against index keys and aliases (case-insensitive, partial match)
|
|
188
|
+
4. If multiple matches → show list, let user pick
|
|
189
|
+
5. If single match → load directly from the matched path
|
|
190
|
+
6. For projects with multiple files → show file list, let user pick which to load
|
|
191
|
+
7. Check freshness (see below)
|
|
192
|
+
8. Output loaded content
|
|
189
193
|
|
|
190
194
|
**Why index?** Avoids expensive file-by-file searching. One read to find any entry by name or alias.
|
|
191
195
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
name: codex
|
|
2
2
|
description: "Shared organizational knowledge - PRDs, tech designs, domains, proposals, patterns, and explored topics. Use when loading project context, searching codex, capturing decisions, or creating new entries."
|
|
3
|
-
version: 0.1.
|
|
3
|
+
version: 0.1.3
|
|
4
4
|
status: beta
|
|
5
5
|
|
|
6
6
|
includes:
|
|
@@ -179,13 +179,17 @@ The codex has five categories:
|
|
|
179
179
|
|
|
180
180
|
**Procedure:**
|
|
181
181
|
|
|
182
|
-
1. **
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
182
|
+
1. **Run preamble first:**
|
|
183
|
+
```bash
|
|
184
|
+
droid config codex | droid exec droid-codex git-preamble --config -
|
|
185
|
+
```
|
|
186
|
+
2. **Read `{codex_repo}/index.yaml`** - this contains all entry names and aliases for fast lookup
|
|
187
|
+
3. Match `{name}` against index keys and aliases (case-insensitive, partial match)
|
|
188
|
+
4. If multiple matches → show list, let user pick
|
|
189
|
+
5. If single match → load directly from the matched path
|
|
190
|
+
6. For projects with multiple files → show file list, let user pick which to load
|
|
191
|
+
7. Check freshness (see below)
|
|
192
|
+
8. Output loaded content
|
|
189
193
|
|
|
190
194
|
**Why index?** Avoids expensive file-by-file searching. One read to find any entry by name or alias.
|
|
191
195
|
|