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
19 changes: 0 additions & 19 deletions .changeset/stream-partial-assistant-text.md

This file was deleted.

24 changes: 24 additions & 0 deletions packages/chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @herdctl/chat

## 0.7.0

### Minor Changes

- [#383](https://github.com/edspencer/herdctl/pull/383) [`ba61918`](https://github.com/edspencer/herdctl/commit/ba619187f320464e34840c829ce58757ba8eed54) Thanks [@edspencer](https://github.com/edspencer)! - Stream partial assistant-text deltas on the SDK runtime.

- **@herdctl/core:** add an opt-in `includePartialMessages` flag on
`ChatSessionOptions` / `RuntimeExecuteOptions` (and `SDKQueryOptions`), threaded
from `openChatSession` down to the SDK `query()`. When set, the SDK emits
`stream_event` / `text_delta` chunks so callers can stream assistant text
token-by-token. Default off — batch/one-shot and non-opting session callers are
unchanged.
- **@herdctl/chat:** `SDKMessageTranslator` now handles `stream_event` messages,
emitting incremental `onText(delta)` calls for `content_block_delta` /
`text_delta` events, and suppresses the terminal whole-`assistant` text re-emit
when its text already streamed as deltas (the `onText` contract stays "deltas,
in order"). Boundary and tool-call semantics are preserved; the partials-off
path is byte-for-byte unchanged (one `onText` per assistant content block).

### Patch Changes

- Updated dependencies [[`ba61918`](https://github.com/edspencer/herdctl/commit/ba619187f320464e34840c829ce58757ba8eed54)]:
- @herdctl/core@5.22.0

## 0.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/chat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@herdctl/chat",
"version": "0.6.0",
"version": "0.7.0",
"description": "Shared chat infrastructure for herdctl connectors",
"license": "MIT",
"type": "module",
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 @@
# @herdctl/core

## 5.22.0

### Minor Changes

- [#383](https://github.com/edspencer/herdctl/pull/383) [`ba61918`](https://github.com/edspencer/herdctl/commit/ba619187f320464e34840c829ce58757ba8eed54) Thanks [@edspencer](https://github.com/edspencer)! - Stream partial assistant-text deltas on the SDK runtime.

- **@herdctl/core:** add an opt-in `includePartialMessages` flag on
`ChatSessionOptions` / `RuntimeExecuteOptions` (and `SDKQueryOptions`), threaded
from `openChatSession` down to the SDK `query()`. When set, the SDK emits
`stream_event` / `text_delta` chunks so callers can stream assistant text
token-by-token. Default off — batch/one-shot and non-opting session callers are
unchanged.
- **@herdctl/chat:** `SDKMessageTranslator` now handles `stream_event` messages,
emitting incremental `onText(delta)` calls for `content_block_delta` /
`text_delta` events, and suppresses the terminal whole-`assistant` text re-emit
when its text already streamed as deltas (the `onText` contract stays "deltas,
in order"). Boundary and tool-call semantics are preserved; the partials-off
path is byte-for-byte unchanged (one `onText` per assistant content block).

## 5.21.0

### Minor 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": "@herdctl/core",
"version": "5.21.0",
"version": "5.22.0",
"description": "Core library for herdctl fleet management",
"license": "MIT",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/discord/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @herdctl/discord

## 1.2.19

### Patch Changes

- Updated dependencies [[`ba61918`](https://github.com/edspencer/herdctl/commit/ba619187f320464e34840c829ce58757ba8eed54)]:
- @herdctl/core@5.22.0
- @herdctl/chat@0.7.0

## 1.2.18

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/discord/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@herdctl/discord",
"version": "1.2.18",
"version": "1.2.19",
"description": "Discord connector for herdctl fleet management",
"license": "MIT",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/slack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @herdctl/slack

## 1.2.32

### Patch Changes

- Updated dependencies [[`ba61918`](https://github.com/edspencer/herdctl/commit/ba619187f320464e34840c829ce58757ba8eed54)]:
- @herdctl/core@5.22.0
- @herdctl/chat@0.7.0

## 1.2.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/slack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@herdctl/slack",
"version": "1.2.31",
"version": "1.2.32",
"description": "Slack connector for herdctl fleet management",
"license": "MIT",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @herdctl/web

## 0.10.1

### Patch Changes

- Updated dependencies [[`ba61918`](https://github.com/edspencer/herdctl/commit/ba619187f320464e34840c829ce58757ba8eed54)]:
- @herdctl/core@5.22.0
- @herdctl/chat@0.7.0

## 0.10.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@herdctl/web",
"version": "0.10.0",
"version": "0.10.1",
"description": "Web dashboard for herdctl fleet management",
"license": "MIT",
"type": "module",
Expand Down