@kitelev/exocortex-cli 16.241.5 → 16.241.7
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 +11 -6
- package/dist/index.js +239 -239
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -147,8 +147,8 @@ npx @kitelev/exocortex-cli apply <cmd> [path] [options]
|
|
|
147
147
|
`--write-through` without `--use-cache` is refused (exit 2) before anything is applied.
|
|
148
148
|
Best-effort: a write-through that cannot persist prints a `⚠ triple cache:` warning and
|
|
149
149
|
leaves the exit code and stdout untouched; the next reader refreshes the cache itself. A
|
|
150
|
-
change the delta cannot express (TBox-form asset
|
|
151
|
-
next reader's rebuild. One stderr line per cache phase (`⚡ triple cache: hit`,
|
|
150
|
+
change the delta cannot express (a TBox-form asset whose label / TBox-form alias set /
|
|
151
|
+
class changed, a FileSpace declaration) is left to the next reader's rebuild. One stderr line per cache phase (`⚡ triple cache: hit`,
|
|
152
152
|
`💾 triple cache: write-through persisted (N file(s) re-parsed)`); stdout is unchanged.
|
|
153
153
|
Without the flag nothing is read from or written to the cache. On a cache built by
|
|
154
154
|
`index` the store additionally carries the inferred layer (as `query --use-cache` does);
|
|
@@ -244,10 +244,15 @@ detected (the vault root directory's mtime is no longer consulted). A small chan
|
|
|
244
244
|
refreshed incrementally — only the changed files and the files that refer to an added,
|
|
245
245
|
removed or alias-changed target are re-parsed, and the inferred layer `index` materialized
|
|
246
246
|
is recomputed when a touched file feeds an inference engine (class / superclass / type /
|
|
247
|
-
prototype), otherwise kept — while a legacy or corrupt cache, a
|
|
248
|
-
(`prefix__Name` label or alias)
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
prototype), otherwise kept — while a legacy or corrupt cache, a TBox-form asset
|
|
248
|
+
(`prefix__Name` label or alias) that is added, one with a TBox-form label (or basename) that
|
|
249
|
+
is removed, or one whose referrer-visible projection (label, TBox-form alias set,
|
|
250
|
+
`exo__Instance_class`) changed, a FileSpace declaration change
|
|
251
|
+
or a diff above half the vault falls back to a full rebuild (#4277: a TBox-form asset
|
|
252
|
+
modified WITHOUT changing that projection — a `setting__SettingKey_datatype` edit, a body
|
|
253
|
+
edit — is an ordinary delta). A reader's rebuild inherits the inferred layer of the cache it
|
|
254
|
+
replaces when that cache carried one (#4277). The cache file is written atomically, so
|
|
255
|
+
concurrent commands never read a torn file. `index --force` always rebuilds; `query` reports
|
|
251
256
|
"♻️ Cache refreshed incrementally" on a delta and "🚀 Cache hit!" on a hit.
|
|
252
257
|
|
|
253
258
|
```bash
|