Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
25 changes: 25 additions & 0 deletions .changeset/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# @funkai/agents — Changeset Rules

All packages in this repo are **pre-1.0** and use `minor` for breaking changes and `patch` for non-breaking changes.

**Never use `major` in a changeset for `@funkai/agents` (or any `@funkai/*` package) until the team decides to release 1.0.**

## Bump Guide

| Change type | Bump | Example |
| ------------------------ | ------- | ------------------------------------------ |
| Breaking API change | `minor` | Renamed/removed exports, changed signatures |
| New feature (additive) | `minor` | New exported function, new config option |
| Bug fix | `patch` | Fix incorrect behavior, fix types |
| Internal refactor | `patch` | No public API change |
| Documentation only | none | No changeset needed |

## Example Changeset

```md
---
"@funkai/agents": minor
---

Rename `StepInfo` to `StepStartEvent` and flatten step hook payloads.
```
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,16 @@ jobs:

- name: Check for changeset
run: pnpm changeset status --since=origin/main

- name: Block major version bumps (pre-1.0)
run: |
found=0
for f in .changeset/*.md; do
[ "$f" = ".changeset/README.md" ] && continue
[ "$f" = ".changeset/AGENTS.md" ] && continue
if grep -qP '^"@funkai/.+?":\s*major' "$f"; then
echo "::error file=$f::Major bump detected — all @funkai/* packages are pre-1.0. Use 'minor' for breaking changes."
found=1
fi
done
exit $found
4 changes: 2 additions & 2 deletions packages/agents/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# @funkai/agents

## 1.0.0
## 0.13.0

### Major Changes
### Minor Changes

- 2d7b765: Pass through full AI SDK `StepResult` fields in `onStepFinish` events instead of stripping tool calls/results to summary fields. `StepFinishEvent` is now a superset of the Vercel AI SDK's `StepResult<ToolSet>` — all SDK fields (`text`, `toolCalls`, `toolResults`, `finishReason`, `usage`, `reasoning`, `sources`, `response`, etc.) are passed through unchanged, plus funkai-specific additions (`stepId`, `agentChain`).

Expand Down
2 changes: 1 addition & 1 deletion packages/agents/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@funkai/agents",
"version": "1.0.0",
"version": "0.13.0",
"private": false,
"description": "Lightweight workflow and agent orchestration framework",
"keywords": [
Expand Down
Loading