Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
74f85f2
Enable docs static prerendering
indrazm May 3, 2026
6ea8cb3
Merge pull request #1 from indrazm/docs-static-prerendering
indrazm May 3, 2026
438c806
feat: add core memory sessions
indrazm May 4, 2026
58b2e8a
Merge pull request #2 from indrazm/feat/memory
indrazm May 4, 2026
74d0eb1
Add tool result middleware
indrazm May 4, 2026
a391665
Merge pull request #3 from indrazm/feat/design-tool-middleware-api
indrazm May 4, 2026
1315c5f
chore: update provider dependencies
indrazm May 5, 2026
f439929
Merge pull request #4 from anvia-hq/chore/update-provider-dependencies
indrazm May 5, 2026
3e12274
chore: update provider dependencies
indrazm May 5, 2026
3aca55e
Merge pull request #5 from anvia-hq/chore/update-provider-dependencies
indrazm May 5, 2026
61f0182
feat: add provider model listing
indrazm May 5, 2026
bcfafb1
Merge pull request #6 from indrazm/feat/model-lists
indrazm May 5, 2026
9cccabd
Add llms text routes to docs
indrazm May 5, 2026
8882f91
Merge pull request #7 from indrazm/docs/add-llms-txt
indrazm May 5, 2026
1a12878
feat: stream subagent tool events
indrazm May 6, 2026
b8946a0
Merge pull request #8 from indrazm/redesign-subagent-streaming
indrazm May 6, 2026
b024159
chore: bump wrapper dependencies
indrazm May 7, 2026
180bc2b
Merge pull request #9 from indrazm/bump-version-2026-05-07
indrazm May 7, 2026
eaafe00
chore: bump provider dependencies
indrazm May 8, 2026
563ff39
Merge pull request #10 from indrazm/bump-version-2026-05-08
indrazm May 8, 2026
5961621
docs: complete API reference coverage
indrazm May 8, 2026
fe9b8e2
docs: add framework integration guides
indrazm May 8, 2026
b9b81fc
docs: expand framework guides
indrazm May 8, 2026
303dc01
docs: add gateway pages and manual model lists
indrazm May 8, 2026
a78e599
Merge pull request #11 from indrazm/docs-completion
indrazm May 8, 2026
3e312f3
Normalize Studio session persistence
indrazm May 8, 2026
3a2be13
Add hook-based Studio approvals
indrazm May 8, 2026
67933db
Add Studio session log panel
indrazm May 8, 2026
981930b
Add Studio tool and MCP inspectors
indrazm May 8, 2026
86c0096
Redesign Studio UI
indrazm May 8, 2026
4bdfe9e
Refine Studio panels
indrazm May 8, 2026
5559e33
Refine transcript trace link
indrazm May 8, 2026
60d1d5f
Add Studio pipeline inspector
indrazm May 8, 2026
e445298
chore: bump core and studio minor versions
indrazm May 8, 2026
c8f8eb2
Merge pull request #12 from indrazm/studio-persistence-and-improve
indrazm May 8, 2026
79c0204
fix: persist Studio pipeline runs
indrazm May 8, 2026
e84263d
Merge pull request #13 from indrazm/studio-persistence-and-improve
indrazm May 8, 2026
bf46aa6
fix(openai): preserve Kimi reasoning tool-call history
indrazm May 9, 2026
c72aac0
Merge pull request #14 from indrazm/patch-openai-kimi-thinking
indrazm May 9, 2026
6a18659
fix: publish packages with semver core dependency
indrazm May 10, 2026
c488761
Merge pull request #15 from indrazm/fix-deps-issues
indrazm May 10, 2026
c19341c
Add best practices pattern docs
indrazm May 11, 2026
3a8a068
Add sponsors page
indrazm May 11, 2026
b761f9a
fix docs llms text links
indrazm May 11, 2026
e726bf5
remove duplicate docs resource link
indrazm May 11, 2026
4ed71eb
Merge pull request #16 from indrazm/best-practices-docs
indrazm May 11, 2026
309b4a1
Update cookbook OpenAI endpoint configuration
indrazm May 11, 2026
8ac6ad7
Merge pull request #17 from indrazm/change-cookbook-endpoint
indrazm May 11, 2026
ecee444
Use neutral trace fallback title
indrazm May 11, 2026
2ff1e56
Improve Studio trace metadata display
indrazm May 11, 2026
225941a
Remove playground attach button
indrazm May 11, 2026
acafac2
Improve Studio trace capture and display
indrazm May 11, 2026
c8adb26
Add pipeline-only Studio cookbook
indrazm May 11, 2026
0871003
Redesign Studio knowledge inspector
indrazm May 11, 2026
c8d2727
chore: enforce pnpm minimum release age
indrazm May 12, 2026
0015c87
Improve studio knowledge UI
indrazm May 12, 2026
d45e6ca
Bump changed package versions
indrazm May 12, 2026
2755473
Merge pull request #18 from indrazm/agent-studio-improve
indrazm May 12, 2026
cc8c7ba
docs: refresh README coverage
indrazm May 12, 2026
a69ab40
Merge pull request #19 from indrazm/readme-update
indrazm May 12, 2026
1f88dcb
Add MCP SSE transport support
indrazm May 13, 2026
f381de1
Bump core package patch version
indrazm May 13, 2026
e5966e8
Update core README badge version
indrazm May 13, 2026
43feb35
Merge pull request #20 from indrazm/mcp-sse-support
indrazm May 13, 2026
da8309c
chore: update dependencies and release packages
indrazm May 15, 2026
13ab5d0
Merge pull request #21 from indrazm/2026-05-15-update-dependencies
indrazm May 15, 2026
8e60a5d
docs: add long process pipeline guide
indrazm May 15, 2026
d97b394
docs: add multi-agent streaming patterns
indrazm May 15, 2026
03d3aa8
Merge pull request #22 from indrazm/docs-improvement
indrazm May 15, 2026
91f0a7c
chore: add docs and package CI/CD (#23)
indrazm May 15, 2026
d122292
Improve product-facing README (#24)
indrazm May 15, 2026
70d5763
Polish docs landing visuals (#25)
indrazm May 15, 2026
1e5b78d
Polish Studio UI and transcript behavior (#26)
indrazm May 16, 2026
8e2ea7e
Version Packages (#27)
github-actions[bot] May 16, 2026
58b5287
Set package publish access (#28)
indrazm May 16, 2026
4814bad
Use npm for package publishing (#29)
indrazm May 16, 2026
1ad360d
fix anthropic streaming tools and update deps (#31)
indrazm May 19, 2026
3e863ed
Version Packages (#32)
github-actions[bot] May 19, 2026
79b9fc8
fix npm provenance repository metadata (#33)
indrazm May 19, 2026
b50f4a2
publish pnpm-packed package tarballs (#35)
indrazm May 19, 2026
1f7d3aa
Publish pnpm-packed package tarballs (#36)
indrazm May 19, 2026
1993762
Version Packages (#37)
github-actions[bot] May 19, 2026
a0a5def
Fix Bun studio import and streamed tool args (#38)
indrazm May 19, 2026
a0b96a9
Version Packages (#39)
github-actions[bot] May 19, 2026
896ae21
Update upstream dependencies (#40)
indrazm May 21, 2026
d1b4aba
Version Packages (#41)
github-actions[bot] May 21, 2026
1674667
Add generated changelog docs and GitHub releases (#42)
indrazm May 21, 2026
49e43a3
chore: update upstream dependencies (#43)
indrazm May 25, 2026
66be69c
Version Packages (#44)
github-actions[bot] May 25, 2026
09c70f5
Add multimodal tool results (#45)
indrazm May 29, 2026
418d9ce
Version Packages (#46)
github-actions[bot] May 29, 2026
b12932d
Update upstream dependencies (#47)
indrazm Jun 1, 2026
d7f9be7
Version Packages (#48)
github-actions[bot] Jun 1, 2026
eb90638
Add server and react streaming transports (#49)
indrazm Jun 1, 2026
62d3301
Version Packages (#50)
github-actions[bot] Jun 1, 2026
c55f5cd
Add Anvia logger package (#51)
indrazm Jun 1, 2026
e0807df
Version Packages (#53)
github-actions[bot] Jun 1, 2026
e74df22
Add Studio inspection surfaces (#52)
indrazm Jun 1, 2026
54b3461
Version Packages (#54)
github-actions[bot] Jun 1, 2026
b542b87
Fix Studio cookbook typecheck (#55)
indrazm Jun 2, 2026
947b89b
Version Packages (#56)
github-actions[bot] Jun 2, 2026
6c53426
fix studio ui route consistency (#57)
indrazm Jun 2, 2026
b2d35f9
Version Packages (#58)
github-actions[bot] Jun 2, 2026
e84d775
Clean up core public API exports (#59)
indrazm Jun 2, 2026
0fd3515
Version Packages (#60)
github-actions[bot] Jun 2, 2026
c9728d4
chore: update upstream dependencies (#61)
indrazm Jun 9, 2026
329a8a4
Version Packages (#62)
github-actions[bot] Jun 9, 2026
dac9157
docs: update package and framework docs (#63)
indrazm Jun 9, 2026
46dbd72
refactor studio shared stream helpers (#64)
indrazm Jun 9, 2026
30da109
Version Packages (#65)
github-actions[bot] Jun 9, 2026
8376915
refactor core internals
indrazm Jun 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/clean-core-refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@anvia/core": patch
---

Refactor core internals for improved maintainability while preserving public API and behavior.
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["docs", "cookbook", "anvia-cli-agent"]
}
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
OPENAI_API_KEY=
OPENAI_BASEURL=

ANTHROPIC_API_KEY=
ANTHROPIC_MODEL=claude-sonnet-4-20250514
Expand Down
77 changes: 77 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: CI

on:
pull_request:
push:
branches:
- main

permissions:
contents: read

jobs:
packages:
name: Packages
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v5

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.0.4
run_install: false

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build core package
run: pnpm --filter @anvia/core build

- name: Build remaining packages
run: pnpm --filter './packages/**' --filter '!@anvia/core' build

- name: Typecheck packages
run: pnpm --filter './packages/**' typecheck

- name: Test packages
run: pnpm --filter './packages/**' test

docs:
name: Docs
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v5

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.0.4
run_install: false

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Typecheck docs
run: pnpm --filter docs typecheck

- name: Build docs
run: pnpm --filter docs build
51 changes: 51 additions & 0 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Deploy Docs

on:
push:
branches:
- main

permissions:
contents: read

concurrency:
group: docs-production
cancel-in-progress: false

jobs:
deploy:
name: Deploy docs
runs-on: ubuntu-latest
environment: production

steps:
- name: Checkout
uses: actions/checkout@v5

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.0.4
run_install: false

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Typecheck docs
run: pnpm --filter docs typecheck

- name: Build docs
run: pnpm --filter docs build

- name: Deploy docs
run: pnpm --filter docs run deploy
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
104 changes: 104 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
name: Release Packages

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: package-release
cancel-in-progress: false

jobs:
version:
name: Create release pull request
if: github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

steps:
- name: Checkout
uses: actions/checkout@v5

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.0.4
run_install: false

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Create release pull request
uses: changesets/action@v1
with:
version: pnpm version-packages
title: Version Packages
commit: Version Packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish:
name: Publish packages to npm
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0

- name: Require main branch
run: |
if [ "${GITHUB_REF_NAME}" != "main" ]; then
echo "Manual package publishing must run from the main branch."
exit 1
fi

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 11.0.4
run_install: false

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Publish packages
run: pnpm release
env:
NPM_CONFIG_PROVENANCE: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Push release tags
run: git push --follow-tags

- name: Create GitHub Releases
run: pnpm github-releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116 changes: 116 additions & 0 deletions CHANGESET_GUIDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Changeset Guide

Use Changesets whenever a change should publish one or more packages from `packages/` to npm.

## When To Add A Changeset

Add a changeset for any user-facing package change:

- `patch`: bug fixes, small behavior fixes, documentation fixes that affect the published package, or internal changes that should ship.
- `minor`: new backwards-compatible APIs, features, options, exports, or capabilities.
- `major`: breaking API, behavior, package export, runtime, or type changes.

Do not add a changeset for docs-only changes, CI changes, examples-only changes, or changes to private workspaces.

## Create A Changeset

From the repository root:

```sh
pnpm changeset
```

Then:

1. Select every package that should be released.
2. Choose the bump type for each selected package.
3. Write a short release note that explains the user-visible change.
4. Commit the generated file under `.changeset/` with your code changes.

Example changeset text:

```md
---
"@anvia/core": minor
"@anvia/openai": patch
---

Add streaming metadata support to core runs and align the OpenAI adapter output.
```

## Before Opening A PR

Run the relevant checks:

```sh
pnpm install --frozen-lockfile
pnpm --filter './packages/**' typecheck
pnpm --filter './packages/**' test
pnpm --filter './packages/**' build
```

If docs changed, also run:

```sh
pnpm --filter docs typecheck
pnpm --filter docs build
```

## Release Flow

After a PR with one or more changesets is merged into `main`, the GitHub Actions release workflow runs Changesets.

The workflow will:

1. Open or update a `Version Packages` release PR.
2. Apply version bumps to changed packages.
3. Update package changelogs.
4. Remove consumed `.changeset/*.md` files.

Review the release PR before merging it. Make sure package versions and changelog entries are correct.

## Publish To npm Manually

Merging the `Version Packages` release PR into `main` does not publish to npm. Publishing is manual dispatch only.

Publishing requires the repository secret:

```txt
NPM_TOKEN
```

To publish:

1. Merge the `Version Packages` release PR into `main`.
2. Open GitHub Actions.
3. Select the `Release Packages` workflow.
4. Click `Run workflow`.
5. Run it from the `main` branch.

The manual publish job builds packages before publishing:

```sh
pnpm release
```

That command runs:

```sh
pnpm --filter './packages/**' build && changeset publish
```

## Manual Version Check

To preview what Changesets sees locally:

```sh
pnpm exec changeset status --since main
```

To apply version bumps locally for inspection only:

```sh
pnpm version-packages
```

Only commit local version bumps if you are intentionally preparing the release PR by hand. In normal development, let GitHub Actions create the release PR.
Loading
Loading