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
29 changes: 0 additions & 29 deletions .changeset/list-agent-commands.md

This file was deleted.

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

## 0.5.1

### Patch Changes

- Updated dependencies [[`1395fb2`](https://github.com/edspencer/herdctl/commit/1395fb2f1de4c5a153f5498b96d06994fdf80376)]:
- @herdctl/core@5.16.0

## 0.5.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.5.0",
"version": "0.5.1",
"description": "Shared chat infrastructure for herdctl connectors",
"license": "MIT",
"type": "module",
Expand Down
10 changes: 10 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# herdctl

## 1.5.22

### Patch Changes

- Updated dependencies [[`1395fb2`](https://github.com/edspencer/herdctl/commit/1395fb2f1de4c5a153f5498b96d06994fdf80376)]:
- @herdctl/core@5.16.0
- @herdctl/discord@1.2.13
- @herdctl/slack@1.2.26
- @herdctl/web@0.9.24

## 1.5.21

### 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": "herdctl",
"version": "1.5.21",
"version": "1.5.22",
"description": "Autonomous Agent Fleet Management for Claude Code",
"license": "MIT",
"type": "module",
Expand Down
30 changes: 30 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @herdctl/core

## 5.16.0

### Minor Changes

- [#301](https://github.com/edspencer/herdctl/pull/301) [`1395fb2`](https://github.com/edspencer/herdctl/commit/1395fb2f1de4c5a153f5498b96d06994fdf80376) Thanks [@edspencer](https://github.com/edspencer)! - Add `FleetManager.listAgentCommands(agentName, options?)` — a one-shot way to
read the slash commands available to an agent for populating a command palette /
autocomplete, without hand-managing a live streaming session.

Internally it opens a chat session, reads its command list, and **always closes
the session** (in a `finally`, even if the listing throws), so consumers never
have to guard the underlying `claude` subprocess lifecycle themselves:

- Returns the full `SlashCommand[]` — `{ name, description, argumentHint }` per
command (built-ins + project `.claude/commands` + MCP-provided commands) for
the resolved session's cwd/config.
- Accepts the same `ChatSessionOptions` as `openChatSession` (notably
`workingDirectory` and `injectedMcpServers`) so the list reflects the intended
project context.
- Works for `cli`-runtime agents (the session runs on the SDK runtime
regardless of the agent's configured runtime) and surfaces
`StreamingSessionUnsupportedError` unchanged for Docker-wrapped agents.

Each call spawns and tears down a `claude` subprocess (~seconds); the list is
essentially static per project, so callers that query it repeatedly should
cache the result.

Also re-exports the `SlashCommand` type from `@herdctl/core`, so consumers can
`import type { SlashCommand } from "@herdctl/core"` instead of reaching into the
Claude Agent SDK directly.

## 5.15.2

### 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": "@herdctl/core",
"version": "5.15.2",
"version": "5.16.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.13

### Patch Changes

- Updated dependencies [[`1395fb2`](https://github.com/edspencer/herdctl/commit/1395fb2f1de4c5a153f5498b96d06994fdf80376)]:
- @herdctl/core@5.16.0
- @herdctl/chat@0.5.1

## 1.2.12

### 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.12",
"version": "1.2.13",
"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.26

### Patch Changes

- Updated dependencies [[`1395fb2`](https://github.com/edspencer/herdctl/commit/1395fb2f1de4c5a153f5498b96d06994fdf80376)]:
- @herdctl/core@5.16.0
- @herdctl/chat@0.5.1

## 1.2.25

### 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.25",
"version": "1.2.26",
"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.9.24

### Patch Changes

- Updated dependencies [[`1395fb2`](https://github.com/edspencer/herdctl/commit/1395fb2f1de4c5a153f5498b96d06994fdf80376)]:
- @herdctl/core@5.16.0
- @herdctl/chat@0.5.1

## 0.9.23

### Patch 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.9.23",
"version": "0.9.24",
"description": "Web dashboard for herdctl fleet management",
"license": "MIT",
"type": "module",
Expand Down