Skip to content

Commit 19acb4a

Browse files
committed
Agentcrumbs 0.4.0
1 parent a34d6aa commit 19acb4a

File tree

3 files changed

+42
-32
lines changed

3 files changed

+42
-32
lines changed

CLAUDE.md

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,15 @@ Test files go next to source files (e.g., `MyService.ts` -> `MyService.test.ts`)
3636
```typescript
3737
import { redisTest, postgresTest, containerTest } from "@internal/testcontainers";
3838

39-
redisTest("should use redis", async ({ redisOptions }) => { /* ... */ });
40-
postgresTest("should use postgres", async ({ prisma }) => { /* ... */ });
41-
containerTest("should use both", async ({ prisma, redisOptions }) => { /* ... */ });
39+
redisTest("should use redis", async ({ redisOptions }) => {
40+
/* ... */
41+
});
42+
postgresTest("should use postgres", async ({ prisma }) => {
43+
/* ... */
44+
});
45+
containerTest("should use both", async ({ prisma, redisOptions }) => {
46+
/* ... */
47+
});
4248
```
4349

4450
## Changesets and Server Changes
@@ -162,12 +168,15 @@ mcp__trigger__list_runs(projectRef: "proj_rrkpdguyagvsoktglnod", environment: "d
162168
Dashboard: http://localhost:3030/orgs/references-9dfd/projects/hello-world-97DT/env/dev/runs
163169

164170
<!-- intent-skills:start -->
171+
165172
# Skill mappings — when working in these areas, load the linked skill file into context.
173+
166174
skills:
167-
- task: "Using agentcrumbs for debug tracing, adding crumbs, trails, markers, querying traces, or stripping debug code before merge"
168-
load: "node_modules/agentcrumbs/skills/agentcrumbs/SKILL.md"
169-
- task: "Setting up agentcrumbs in the project, initializing namespace catalog, running crumbs init"
170-
load: "node_modules/agentcrumbs/skills/agentcrumbs/init/SKILL.md"
175+
176+
- task: "Using agentcrumbs for debug tracing, adding crumbs, trails, markers, querying traces, or stripping debug code before merge"
177+
load: "node_modules/agentcrumbs/skills/agentcrumbs/SKILL.md"
178+
- task: "Setting up agentcrumbs in the project, initializing namespace catalog, running crumbs init"
179+
load: "node_modules/agentcrumbs/skills/agentcrumbs/init/SKILL.md"
171180
<!-- intent-skills:end -->
172181

173182
## agentcrumbs
@@ -179,22 +188,21 @@ before merge.
179188

180189
### Namespaces
181190

182-
| Namespace | Description | Path |
183-
| --- | --- | --- |
184-
| `webapp` | Main Remix app — API, dashboard, orchestration | `apps/webapp` |
185-
| `supervisor` | Task execution container manager | `apps/supervisor` |
186-
| `coordinator` | Worker coordination service | `apps/coordinator` |
187-
| `sdk` | Main SDK for writing tasks | `packages/trigger-sdk` |
188-
| `cli` | CLI and task image bundling | `packages/cli-v3` |
189-
| `core` | Shared types and subpath exports | `packages/core` |
190-
| `build` | Build extensions and types | `packages/build` |
191-
| `react-hooks` | React hooks for realtime/triggering | `packages/react-hooks` |
192-
| `redis-worker` | Redis-based background job system | `packages/redis-worker` |
193-
| `run-engine` | Run Engine 2.0 — core run lifecycle | `internal-packages/run-engine` |
194-
| `database` | Prisma client and schema | `internal-packages/database` |
195-
| `clickhouse` | ClickHouse client, migrations, analytics | `internal-packages/clickhouse` |
196-
| `schedule-engine` | Durable cron scheduling | `internal-packages/schedule-engine` |
197-
| `run-queue` | Run queue management | `internal-packages/run-queue` |
191+
| Namespace | Description | Path |
192+
| ----------------- | ---------------------------------------------- | ----------------------------------- |
193+
| `webapp` | Main Remix app — API, dashboard, orchestration | `apps/webapp` |
194+
| `supervisor` | Task execution container manager | `apps/supervisor` |
195+
| `sdk` | Main SDK for writing tasks | `packages/trigger-sdk` |
196+
| `cli` | CLI and task image bundling | `packages/cli-v3` |
197+
| `core` | Shared types and subpath exports | `packages/core` |
198+
| `build` | Build extensions and types | `packages/build` |
199+
| `react-hooks` | React hooks for realtime/triggering | `packages/react-hooks` |
200+
| `redis-worker` | Redis-based background job system | `packages/redis-worker` |
201+
| `run-engine` | Run Engine 2.0 — core run lifecycle | `internal-packages/run-engine` |
202+
| `database` | Prisma client and schema | `internal-packages/database` |
203+
| `clickhouse` | ClickHouse client, migrations, analytics | `internal-packages/clickhouse` |
204+
| `schedule-engine` | Durable cron scheduling | `internal-packages/schedule-engine` |
205+
| `run-queue` | Run queue management | `internal-packages/run-queue` |
198206

199207
Do not invent new namespaces — pick from this table or ask first.
200208

@@ -208,7 +216,9 @@ production.
208216
### CLI
209217

210218
```bash
211-
agentcrumbs collect # start collector (multi-service)
212-
agentcrumbs tail # live tail
213-
agentcrumbs strip # remove crumbs before merge
219+
pnpm exec agentcrumbs collect # start collector (multi-service)
220+
pnpm exec agentcrumbs tail --app trigger # live tail
221+
pnpm exec agentcrumbs clear --app trigger # remove crumbs before merge
214222
```
223+
224+
The preferred way to query for crumbs is to use `pnpm exec agentcrumbs query --app trigger` with the `--limit` option and cursor pagination, and clear existing crumbs before reproducing a bug via `pnpm exec agentcrumbs clear --app trigger`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"dependencies": {
7171
"@changesets/cli": "2.26.2",
7272
"@remix-run/changelog-github": "^0.0.5",
73-
"agentcrumbs": "^0.3.3",
73+
"agentcrumbs": "^0.4.0",
7474
"node-fetch": "2.6.x"
7575
},
7676
"pnpm": {

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)