cowork

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package cowork registers the Cowork agent adapter. Claude Cowork runs the same bundled Claude Code CLI inside a per-session VM, so its hook payloads use the identical Claude Code hook-input format. The adapter therefore reuses the Claude decoder/encoder and only differs in its name, which is recorded as the session's agent ("cowork") to distinguish Cowork activity from Claude Code in the ledger and dashboard.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cowork

type Cowork struct{}

func (*Cowork) Aliases

func (c *Cowork) Aliases() []string

func (*Cowork) DecodeHookInput

func (c *Cowork) DecodeHookInput(input []byte) (hook.Event, error)

func (*Cowork) EncodeHookResult

func (c *Cowork) EncodeHookResult(event hook.Event, result hook.Result) ([]byte, error)

func (*Cowork) Name

func (c *Cowork) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL