Skip to content

Commit dff52e4

Browse files
authored
Release v0.4.0
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## agentcrumbs@0.4.0 ### Minor Changes - ca4aace: Add app concept for project-level crumb isolation and cursor-based query pagination. **App isolation:** - Every crumb is stamped with an `app` name, auto-detected from the nearest `package.json` - Crumbs stored per-app at `~/.agentcrumbs/<app>/crumbs.jsonl` - Collector routes incoming crumbs to per-app stores - All CLI commands scope to the current app by default - Override with `--app <name>`, `--all-apps`, `AGENTCRUMBS_APP` env var, or `app` field in JSON config **Query pagination:** - New `--cursor` flag for forward pagination with short 8-char cursor IDs - New `--after` and `--before` flags for absolute ISO timestamp windows - Default limit reduced from 100 to 50 per page - Results returned oldest-first with `Next: --cursor <id>` in output when more pages exist **New files:** - `src/cli/app-store.ts` — shared helper for app context resolution across CLI commands - `src/cli/cursor.ts` — cursor storage with 1-hour TTL **Breaking changes:** - `Crumb` type now has a required `app: string` field - `AgentCrumbsConfig` type now has an optional `app?: string` field - `CollectorServer` no longer exposes `getStore()` (routes to per-app stores internally) - Storage location changed from `~/.agentcrumbs/crumbs.jsonl` to `~/.agentcrumbs/<app>/crumbs.jsonl` - Legacy flat-file crumbs (without `app` field) are still readable as app `"unknown"` ## papertrail@0.0.1 ### Patch Changes - Updated dependencies [ca4aace] - agentcrumbs@0.4.0
2 parents 9bed5b3 + 6131938 commit dff52e4

File tree

5 files changed

+44
-31
lines changed

5 files changed

+44
-31
lines changed

.changeset/app-concept-and-pagination.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

examples/papertrail/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# papertrail
2+
3+
## 0.0.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [ca4aace]
8+
- agentcrumbs@0.4.0

examples/papertrail/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "papertrail",
3-
"version": "0.0.0",
3+
"version": "0.0.1",
44
"private": true,
55
"type": "module",
66
"scripts": {

packages/agentcrumbs/CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# agentcrumbs
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- ca4aace: Add app concept for project-level crumb isolation and cursor-based query pagination.
8+
9+
**App isolation:**
10+
11+
- Every crumb is stamped with an `app` name, auto-detected from the nearest `package.json`
12+
- Crumbs stored per-app at `~/.agentcrumbs/<app>/crumbs.jsonl`
13+
- Collector routes incoming crumbs to per-app stores
14+
- All CLI commands scope to the current app by default
15+
- Override with `--app <name>`, `--all-apps`, `AGENTCRUMBS_APP` env var, or `app` field in JSON config
16+
17+
**Query pagination:**
18+
19+
- New `--cursor` flag for forward pagination with short 8-char cursor IDs
20+
- New `--after` and `--before` flags for absolute ISO timestamp windows
21+
- Default limit reduced from 100 to 50 per page
22+
- Results returned oldest-first with `Next: --cursor <id>` in output when more pages exist
23+
24+
**New files:**
25+
26+
- `src/cli/app-store.ts` — shared helper for app context resolution across CLI commands
27+
- `src/cli/cursor.ts` — cursor storage with 1-hour TTL
28+
29+
**Breaking changes:**
30+
31+
- `Crumb` type now has a required `app: string` field
32+
- `AgentCrumbsConfig` type now has an optional `app?: string` field
33+
- `CollectorServer` no longer exposes `getStore()` (routes to per-app stores internally)
34+
- Storage location changed from `~/.agentcrumbs/crumbs.jsonl` to `~/.agentcrumbs/<app>/crumbs.jsonl`
35+
- Legacy flat-file crumbs (without `app` field) are still readable as app `"unknown"`
36+
337
## 0.3.3
438

539
### Patch Changes

packages/agentcrumbs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agentcrumbs",
3-
"version": "0.3.3",
3+
"version": "0.4.0",
44
"description": "Debug mode for any agent.",
55
"tshy": {
66
"exports": {

0 commit comments

Comments
 (0)