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
13 changes: 0 additions & 13 deletions .changeset/configurable-env-loading.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/content-accuracy-audit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/core-sqlite-direct-dep.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/harness-polish.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/langchain-1x-zod-4.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/phase3-agent-protocol.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/phase3-agents-md.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/phase3-nested-tool-inputs.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/phase3-planning-capability.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/phase3-skills.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/phase3-tool-state-mutation.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/planning-schema-and-memory-prompt-fix.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/provider-aware-agent-materialization.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/reasoning-effort.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rebrand-langsmith.md

This file was deleted.

25 changes: 25 additions & 0 deletions examples/chat/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# @dawn-example/chat-server

## 0.0.1

### Patch Changes

- Updated dependencies [17fa4aa]
- Updated dependencies [82dd52f]
- Updated dependencies [8e02fe1]
- Updated dependencies [13bc466]
- Updated dependencies [ad17e85]
- Updated dependencies [cfc3e8c]
- Updated dependencies [dd242ac]
- Updated dependencies [c777569]
- Updated dependencies [34e615b]
- Updated dependencies [2ba0773]
- Updated dependencies [affeb46]
- Updated dependencies [12ee95f]
- Updated dependencies [1005b3a]
- Updated dependencies [e8462db]
- Updated dependencies [36552c1]
- @dawn-ai/cli@0.2.0
- @dawn-ai/core@0.2.0
- @dawn-ai/langchain@0.2.0
- @dawn-ai/sdk@0.2.0
2 changes: 1 addition & 1 deletion examples/chat/server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dawn-example/chat-server",
"private": true,
"version": "0.0.0",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "node node_modules/@dawn-ai/cli/dist/index.js dev --port 3001",
Expand Down
54 changes: 54 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# @dawn-ai/cli

## 0.2.0

### Minor Changes

- 17fa4aa: Configurable env loading for `dawn dev` and `dawn verify`. The env file is now resolved by precedence: `--env-file <path>` flag > `dawn.config.ts` `env` field > default `./.env`. Shell-exported variables still win over file contents.

- New optional `DawnConfig.env` field (a path relative to the app root). Local-only — it does not affect the deploy artifact; `langgraph.json` env detection (`.env.example` → `.env`) is unchanged.
- New `--env-file <path>` flag on `dawn dev` and `dawn verify`.
- A shared `resolveEnvPath` resolver now backs both `dev` and `verify`, so they agree on which file they read.
- `loadEnvFile(dir)` is refactored to `loadEnvFiles(absPaths)` with a back-compat wrapper retained; the LangSmith auto-trace and shell-wins behaviors are preserved.

This unblocks monorepo apps: a nested app can set `env: "../../.env"` to load the workspace-root env file.

- ad17e85: Upgrade `@langchain/core` (0.3 → 1.x), `@langchain/langgraph` (0.2 → 1.x), `@langchain/openai` (0.3 → 1.x), and `zod` (3 → 4). Removes the dual-zod-version cast workaround in `tool-converter.ts`; `DynamicStructuredTool` now accepts Standard Schema directly. Downstream consumers must align on the new peer ranges (`@langchain/core >=1.1.0`).
- cfc3e8c: Add Agent Protocol HTTP endpoints backed by a Dawn-native SQLite checkpointer (phase-3 sub-project 7).

- New `@dawn-ai/sqlite-storage` package: `sqliteCheckpointer` (a `BaseCheckpointSaver` over Node's built-in `node:sqlite`, no native deps) and `createThreadsStore`. Requires Node 22.13+ (where `node:sqlite` is available without the `--experimental-sqlite` flag).
- `dawn.config.ts` gains `checkpointer` and `threadsStore` fields — both pluggable, with SQLite-backed defaults at `.dawn/checkpoints.sqlite` and `.dawn/threads.sqlite`.
- The dev server's HTTP layer is reshaped to the Agent Protocol: `POST /threads`, `GET`/`DELETE /threads/{id}`, `POST /threads/{id}/runs/stream`, `POST /threads/{id}/runs/wait`, `GET /threads/{id}/state`, `POST /threads/{id}/resume`. The legacy `POST /runs/stream` is removed.
- Conversation state and permission interrupts now survive a server restart. `MemorySaver` is removed from `@dawn-ai/langchain`; the checkpointer is supplied by the caller. Permission resume is state-based (reads the parked interrupt from the checkpoint) and resolves the route durably from thread metadata.

- dd242ac: Add the `agents-md` built-in capability: Dawn now auto-injects `<workspace>/AGENTS.md` into every agent's system prompt under a `# Memory` heading on every model turn. Always-on (no opt-in marker). Preserves the feedback loop — the agent updates its memory via `writeFile` and the next turn sees the change automatically. Re-reads the file each turn (64 KiB cap; oversize, empty, or unreadable files render empty or a one-line notice).
- 34e615b: Add the first phase-3 harness capability: planning. A `plan.md` file in a route directory now opts the agent into a built-in `write_todos` tool, a `todos` state channel, a Dawn-locked planning prompt fragment, and a `plan_update` SSE event. Introduces `CapabilityMarker` and `applyCapabilities` in `@dawn-ai/core` — the autowiring spine that all later phase-3 capabilities (skills, subagents, etc.) will reuse.
- 2ba0773: Add the phase-3 skills capability. A route with `src/app/<route>/skills/<name>/SKILL.md` files now exposes them to the agent via:

- An always-on `# Skills` section in the system prompt listing each skill's name + description
- A `readSkill({ name })` tool the agent calls to load a skill's full body on demand

Each `SKILL.md` requires YAML frontmatter with `description`; `name` defaults to the directory name and can be overridden. The body lives in conversation history after `readSkill` returns it (not re-injected each turn) — matches the deepagents / Claude Code convention. Typegen includes `readSkill` in `RouteTools` when a route has skills. The chat example ships two seeded skills (`workspace-conventions`, `recover-from-failure`).

### Patch Changes

- 82dd52f: Correct package README links and CLI/runtime examples, export the SDK reasoning type, and fix `dawn build` agent deployment entry generation.
- 13bc466: Fix SSE event payload double-wrap. `toSseEvent` used to emit `data: {"data": <value>}` for the built-in `chunk` event and for capability-contributed events like `plan_update`, when it should emit `data: <value>` directly. The shaped events (`tool_call`, `tool_result`, `done`) are unchanged.
- 36552c1: docs: rebrand "LangGraph Platform" → "LangSmith" in user-visible CLI strings, README, and comments. The `langgraph.json` artifact format is unchanged.
- Updated dependencies [17fa4aa]
- Updated dependencies [82dd52f]
- Updated dependencies [8e02fe1]
- Updated dependencies [ad17e85]
- Updated dependencies [cfc3e8c]
- Updated dependencies [dd242ac]
- Updated dependencies [c777569]
- Updated dependencies [34e615b]
- Updated dependencies [2ba0773]
- Updated dependencies [affeb46]
- Updated dependencies [12ee95f]
- Updated dependencies [1005b3a]
- Updated dependencies [e8462db]
- @dawn-ai/core@0.2.0
- @dawn-ai/langchain@0.2.0
- @dawn-ai/langgraph@0.2.0
- @dawn-ai/sqlite-storage@0.2.0
- @dawn-ai/permissions@0.1.8

## 0.1.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dawn-ai/cli",
"version": "0.1.8",
"version": "0.2.0",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions packages/config-biome/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @dawn-ai/config-biome

## 0.2.0

### Patch Changes

- 82dd52f: Correct package README links and CLI/runtime examples, export the SDK reasoning type, and fix `dawn build` agent deployment entry generation.

## 0.1.8

## 0.1.7
Expand Down
2 changes: 1 addition & 1 deletion packages/config-biome/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dawn-ai/config-biome",
"version": "0.1.8",
"version": "0.2.0",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions packages/config-typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @dawn-ai/config-typescript

## 0.2.0

### Patch Changes

- 82dd52f: Correct package README links and CLI/runtime examples, export the SDK reasoning type, and fix `dawn build` agent deployment entry generation.

## 0.1.8

## 0.1.7
Expand Down
2 changes: 1 addition & 1 deletion packages/config-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dawn-ai/config-typescript",
"version": "0.1.8",
"version": "0.2.0",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
Loading