@taco-ai/sidecar 0.4.0 → 0.4.2

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 CHANGED
@@ -185,6 +185,37 @@ original app's session picker: the native source, cwd, and UI filters can
185
185
  influence visibility. Deleting Taco's display transcript does not delete native
186
186
  Claude Code or Codex history.
187
187
 
188
+ ## Memory topic files
189
+
190
+ New writes use YAML frontmatter with `topicCodec: 1`; active and archived topics
191
+ share one codec. Unmarked files keep the older literal-field interpretation.
192
+ Reading never rewrites a file, and unknown versions are skipped without being
193
+ overwritten by an add or restore. YAML provenance identifiers are strings; quote
194
+ numeric-looking identifiers to preserve leading zeros (a bare number is normalized
195
+ to its decimal string).
196
+
197
+ Canonical UTC timestamps stay unquoted and `sources` stays a single JSON line,
198
+ so older releases can parse archive ages and provenance after a rollback.
199
+ Names and descriptions that YAML must quote, such as `A: B` or `A # B`, are still
200
+ read by older releases with the quote characters included; an old-version write
201
+ can permanently change those values. Back up `$TACO_HOME/memory` before using
202
+ this build and restore that backup before rolling back to a pre-codec release.
203
+
204
+ Files produced by an earlier codec build with quoted timestamps and block YAML
205
+ sources need additional care: older releases read the timestamp quotes literally
206
+ (`Date.parse` fails), lose provenance, and silently skip retention cleanup for
207
+ archives whose age is quoted. Merely reading those files with the current release
208
+ does not convert them. Restore a pre-upgrade memory backup before downgrade;
209
+ otherwise keep the codec-aware reader and review/export those files first.
210
+
211
+ ## Codex communication bridge
212
+
213
+ Codex communication uses the MCP SDK in a separate
214
+ `lib/codexCommunicationBridge.mjs` process. Both npm and portable builds ship
215
+ this self-contained entry beside the main bundle; portable manifests include
216
+ its SHA-256 checksum. Source execution launches the TypeScript entry with
217
+ Node's explicit type transformation flag, suppressing only experimental warnings.
218
+
188
219
  ## Build
189
220
 
190
221
  ```bash