Skip to content
Open
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
22 changes: 0 additions & 22 deletions .changeset/ag-ui-adapter.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/agent-recursion-limit.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/agui-middleware-parity.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/error-code-registry.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/memory-http-endpoints.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/research-getting-started.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/verify-env-preflight.md

This file was deleted.

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

## 0.0.19

### Patch Changes

- Updated dependencies [20f0407]
- Updated dependencies [5bbd6e3]
- Updated dependencies [2b6be86]
- Updated dependencies [18df470]
- Updated dependencies [ee83a96]
- Updated dependencies [361a9ac]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]

## 0.0.18

### Patch Changes
Expand Down
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.18",
"version": "0.0.19",
"type": "module",
"scripts": {
"dev": "node node_modules/@dawn-ai/cli/dist/index.js dev --port 3001",
Expand Down
16 changes: 16 additions & 0 deletions examples/memory/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @dawn-example/memory

## 0.0.5

### Patch Changes

- Updated dependencies [20f0407]
- Updated dependencies [5bbd6e3]
- Updated dependencies [2b6be86]
- Updated dependencies [18df470]
- Updated dependencies [ee83a96]
- Updated dependencies [361a9ac]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]

## 0.0.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/memory/server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dawn-example/memory",
"private": true,
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"scripts": {
"dev": "node node_modules/@dawn-ai/cli/dist/index.js dev --port 3002",
Expand Down
17 changes: 17 additions & 0 deletions examples/research/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# @dawn-example/research-server

## 0.0.1

### Patch Changes

- Updated dependencies [20f0407]
- Updated dependencies [5bbd6e3]
- Updated dependencies [2b6be86]
- Updated dependencies [18df470]
- Updated dependencies [ee83a96]
- Updated dependencies [361a9ac]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
19 changes: 19 additions & 0 deletions examples/research/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by dawn build (node target). Safe to edit; delete to regenerate.
# syntax=docker/dockerfile:1
FROM node:22-slim
WORKDIR /app
ENV NODE_ENV=production HOST=0.0.0.0 PORT=8000
COPY package.json package-lock.json* pnpm-lock.yaml* ./
RUN npm ci --omit=dev || npm install --omit=dev
# IMPORTANT: the Docker build context MUST include `.dawn/build` (where
# server.mjs lives) — do NOT add `.dawn/build` to `.dockerignore`, or this
# COPY will omit the entry point and the container will fail to start.
COPY . .
# .dawn/build/ (incl. server.mjs) is copied from the host build context above;
# no in-image `dawn build` needed. See node.ts for the rationale.
RUN chown -R 1000:1000 /app/.dawn
USER 1000:1000
EXPOSE 8000
HEALTHCHECK --interval=30s --timeout=3s --start-period=20s \
CMD node -e "fetch('http://127.0.0.1:'+(process.env.PORT||8000)+'/healthz').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
CMD ["node", ".dawn/build/server.mjs"]
2 changes: 1 addition & 1 deletion examples/research/server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dawn-example/research-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 3002",
Expand Down
21 changes: 21 additions & 0 deletions packages/ag-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @dawn-ai/ag-ui

## 0.8.13

### Patch Changes

- 20f0407: Consolidate the existing `@dawn-ai/ag-ui` package as Dawn's pure canonical AG-UI
adapter. Its root API now maps standard `RunAgentInput` requests and Dawn stream
chunks, including standard interrupt outcomes and addressed resume decisions,
while the focused `@dawn-ai/ag-ui/sse` subpath provides event-stream encoding
without taking ownership of a server or runtime transport.

The CLI AG-UI endpoint now uses the canonical adapter, applies the same request
projection as other runtime middleware, and emits canonical events without the
former custom state event shapes. Pending checkpoint interrupts are resolved
through the standard resume contract.

The langchain adapter surfaces each tool invocation's `run_id` on its
`tool_call` and `tool_result` chunks, and the CLI preserves those IDs through
Dawn and AG-UI streams for reliable `toolCallId` correlation. Local in-process
`dawn run` also assigns agent routes a one-shot thread ID so the default SQLite
checkpointer can execute the same route shape supported by `dawn dev`.

## 0.8.12

## 0.8.11
Expand Down
2 changes: 1 addition & 1 deletion packages/ag-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dawn-ai/ag-ui",
"version": "0.8.12",
"version": "0.8.13",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
51 changes: 51 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,56 @@
# @dawn-ai/cli

## 0.8.13

### Patch Changes

- 20f0407: Consolidate the existing `@dawn-ai/ag-ui` package as Dawn's pure canonical AG-UI
adapter. Its root API now maps standard `RunAgentInput` requests and Dawn stream
chunks, including standard interrupt outcomes and addressed resume decisions,
while the focused `@dawn-ai/ag-ui/sse` subpath provides event-stream encoding
without taking ownership of a server or runtime transport.

The CLI AG-UI endpoint now uses the canonical adapter, applies the same request
projection as other runtime middleware, and emits canonical events without the
former custom state event shapes. Pending checkpoint interrupts are resolved
through the standard resume contract.

The langchain adapter surfaces each tool invocation's `run_id` on its
`tool_call` and `tool_result` chunks, and the CLI preserves those IDs through
Dawn and AG-UI streams for reliable `toolCallId` correlation. Local in-process
`dawn run` also assigns agent routes a one-shot thread ID so the default SQLite
checkpointer can execute the same route shape supported by `dawn dev`.

- 2b6be86: Run app middleware for the `POST /agui/{routeId}` endpoint, matching
`runs/stream` / `runs/wait` / `resume`. A middleware that rejects now blocks an
AG-UI run (returning its status/body), and a middleware that returns `context`
has it threaded into the run — so auth, rate-limiting, and context injection
apply to AG-UI clients too, not just the Agent-Protocol endpoints.
- 18df470: Add a central `DAWN_Exxxx` error-code registry in `@dawn-ai/sdk` and surface
codes on the failure channels. `CliError` now carries an optional `code` and the
CLI prints `[CODE] See <docs>`; HTTP/SSE error bodies gain optional `code`/`docsUrl`;
permission denials returned as tool results are prefixed with `[DAWN_E3001]`.
The high-value families are wired (`dawn check` config errors, sandbox
unavailable, permission denied, missing model provider / unknown model id, and
tool-file shape errors), and a generated `/docs/errors` reference page is guarded
against drift. Additive and backward-compatible.
- ee83a96: Add dev-server HTTP endpoints for memory candidates so a web client can review
durable-memory proposals without the CLI: `GET /memory/candidates`,
`POST /memory/candidates/:id/approve` (candidate → active, 404/409 guarded), and
`POST /memory/candidates/:id/reject`. Backed by the same store methods as
`dawn memory list/approve/reject`.
- 361a9ac: `dawn verify` now runs an environment preflight. A new `runtime` check asserts the running Node version meets Dawn's `22.13.0` floor (a stale Node fails verify) and, when `dawn.config.ts` configures a sandbox provider, runs the provider's Docker daemon preflight. The `deps` env-var check is now provider-aware: it derives the required API-key env var from the providers your routes actually use (e.g. `ANTHROPIC_API_KEY` for an Anthropic-only app) instead of always nagging about `OPENAI_API_KEY`.
- Updated dependencies [20f0407]
- Updated dependencies [5bbd6e3]
- Updated dependencies [18df470]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]

## 0.8.12

### 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.8.12",
"version": "0.8.13",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 2 additions & 0 deletions packages/config-biome/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @dawn-ai/config-biome

## 0.8.13

## 0.8.12

## 0.8.11
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.8.12",
"version": "0.8.13",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 2 additions & 0 deletions packages/config-typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @dawn-ai/config-typescript

## 0.8.13

## 0.8.12

## 0.8.11
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.8.12",
"version": "0.8.13",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
19 changes: 19 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @dawn-ai/core

## 0.8.13

### Patch Changes

- 18df470: Add a central `DAWN_Exxxx` error-code registry in `@dawn-ai/sdk` and surface
codes on the failure channels. `CliError` now carries an optional `code` and the
CLI prints `[CODE] See <docs>`; HTTP/SSE error bodies gain optional `code`/`docsUrl`;
permission denials returned as tool results are prefixed with `[DAWN_E3001]`.
The high-value families are wired (`dawn check` config errors, sandbox
unavailable, permission denied, missing model provider / unknown model id, and
tool-file shape errors), and a generated `/docs/errors` reference page is guarded
against drift. Additive and backward-compatible.
- Updated dependencies [5bbd6e3]
- Updated dependencies [18df470]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]
- @dawn-ai/[email protected]

## 0.8.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dawn-ai/core",
"version": "0.8.12",
"version": "0.8.13",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
12 changes: 12 additions & 0 deletions packages/create-dawn-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# create-dawn-ai-app

## 0.8.13

### Patch Changes

- a7e4ced: Improve the getting-started experience for scaffolded apps. `create-dawn-app`
now prints next-steps guidance after creating an app (cd / install / test / run
it live), the templates gain a `dev` script (`dawn dev --port 3000`) so you can
actually run the agent, and the research template README shows the live path
(ask a question via `/agui`) plus a pointer to the web-UI recipe.
- Updated dependencies [a7e4ced]
- @dawn-ai/[email protected]

## 0.8.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-dawn-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-dawn-ai-app",
"version": "0.8.12",
"version": "0.8.13",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
Loading