agent-trajectories 0.5.8 → 0.5.9
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 +2 -2
- package/dist/{chunk-WMJRBQB4.js → chunk-JMH3Z5BB.js} +495 -265
- package/dist/chunk-JMH3Z5BB.js.map +1 -0
- package/dist/cli/index.js +553 -374
- package/dist/cli/index.js.map +1 -1
- package/dist/{index-C9IcYSNQ.d.ts → index-B4yIThRL.d.ts} +59 -38
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-WMJRBQB4.js.map +0 -1
package/README.md
CHANGED
|
@@ -132,14 +132,14 @@ trail compact --commits abc1234,def5678 # Trajectories matching specific commit
|
|
|
132
132
|
trail compact --pr 123 # Trajectories mentioning PR #123
|
|
133
133
|
trail compact --since 7d # Last 7 days
|
|
134
134
|
trail compact --all # Everything (including previously compacted)
|
|
135
|
-
trail compact --pr 123 --discard-sources # Delete source trajectories
|
|
135
|
+
trail compact --pr 123 --discard-sources # Delete source trajectories after compaction
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
### Automatic Compaction (GitHub Action)
|
|
139
139
|
|
|
140
140
|
Add these steps to any workflow that runs on PR merge (e.g., your release or publish flow). Requires `ref: ${{ github.event.pull_request.base.ref }}` and `fetch-depth: 0` on checkout, plus `contents: write` permission.
|
|
141
141
|
|
|
142
|
-
Use `--discard-sources` when the compacted summary should replace the raw source trajectories. This removes the source JSON/Markdown/trace files
|
|
142
|
+
Use `--discard-sources` when the compacted summary should replace the raw source trajectories. This removes the source JSON/Markdown/trace files, reducing future list/search noise.
|
|
143
143
|
|
|
144
144
|
```yaml
|
|
145
145
|
- name: Compact trajectories
|