Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .changeset/app-concept-and-pagination.md

This file was deleted.

8 changes: 8 additions & 0 deletions examples/papertrail/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# papertrail

## 0.0.1

### Patch Changes

- Updated dependencies [ca4aace]
- agentcrumbs@0.4.0
2 changes: 1 addition & 1 deletion examples/papertrail/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "papertrail",
"version": "0.0.0",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
Expand Down
34 changes: 34 additions & 0 deletions packages/agentcrumbs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# 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"`

## 0.3.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agentcrumbs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agentcrumbs",
"version": "0.3.3",
"version": "0.4.0",
"description": "Debug mode for any agent.",
"tshy": {
"exports": {
Expand Down
Loading