Release Notes: v0.4.0¶
Release Date: 2026-01-17
Highlights¶
This release marks the migration to the agentplexus organization and introduces the hooks package for managing AI assistant lifecycle events.
What's New¶
Hooks Package¶
New package for managing AI assistant lifecycle hooks:
- hooks/core: Canonical hook types, events, and adapter interface
- hooks/claude: Claude Code hooks adapter supporting PreToolUse, PostToolUse, Notification, and other lifecycle events
- hooks/cursor: Cursor IDE hooks adapter
- hooks/windsurf: Windsurf hooks adapter
Hook Events Supported¶
| Event | Description |
|---|---|
| PreToolUse | Before a tool is executed |
| PostToolUse | After a tool completes |
| Notification | User notifications |
| Stop | Session termination |
| SubagentStop | Subagent termination |
Example Usage¶
import (
"github.com/agentplexus/assistantkit/hooks"
"github.com/agentplexus/assistantkit/hooks/claude"
)
// Read Claude hooks configuration
cfg, err := claude.ReadConfig(".claude/settings.json")
if err != nil {
log.Fatal(err)
}
// Access hooks by event
for _, hook := range cfg.Hooks {
fmt.Printf("Event: %s, Command: %s\n", hook.Event, hook.Command)
}
Breaking Changes¶
Module Path Change¶
The module path has changed from github.com/grokify/aiassistkit to github.com/agentplexus/assistantkit.
Migration:
// Before
import "github.com/grokify/aiassistkit/mcp"
// After
import "github.com/agentplexus/assistantkit/mcp"
Dependencies¶
- Added
github.com/agentplexus/multi-agent-spec/sdk/gofor multi-agent specifications
Installation¶
Full Package List¶
| Package | Description |
|---|---|
hooks |
AI assistant lifecycle hooks |
mcp |
MCP server configuration |
context |
Project context management |
agents |
Agent definitions |
commands |
Slash commands |
plugins |
Plugin manifests |
skills |
Reusable skills |
teams |
Multi-agent orchestration |
validation |
Configuration validators |
publish |
Marketplace publishing |