Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) Claude ¶
Example ¶
package main
import (
pluginkitai "github.com/777genius/plugin-kit-ai/sdk"
"github.com/777genius/plugin-kit-ai/sdk/claude"
)
func main() {
app := pluginkitai.New(pluginkitai.Config{Name: "demo"})
app.Claude().OnStop(func(*claude.StopEvent) *claude.Response {
return claude.Allow()
})
_ = app
}
Output:
func (*App) Codex ¶
Example ¶
package main
import (
pluginkitai "github.com/777genius/plugin-kit-ai/sdk"
"github.com/777genius/plugin-kit-ai/sdk/codex"
)
func main() {
app := pluginkitai.New(pluginkitai.Config{Name: "demo"})
app.Codex().OnNotify(func(*codex.NotifyEvent) *codex.Response {
return codex.Continue()
})
_ = app
}
Output:
func (*App) Use ¶
func (a *App) Use(mw Middleware)
type CapabilityID ¶
type CapabilityID = runtime.CapabilityID
type InvocationContext ¶
type InvocationContext = runtime.InvocationContext
type MaturityLevel ¶
type MaturityLevel = runtime.MaturityLevel
type Middleware ¶
type Middleware = runtime.Middleware
type SupportEntry ¶
type SupportEntry = runtime.SupportEntry
func Supported ¶
func Supported() []SupportEntry
type SupportStatus ¶
type SupportStatus = runtime.SupportStatus
type TransportMode ¶
type TransportMode = runtime.TransportMode
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
plugin-kit-ai-e2e
command
|
|
|
plugin-kit-ai-smoke
command
|
|
|
internal
|
|
|
platforms/gemini
Package gemini reserves the Gemini target identity in the internal platform tree.
|
Package gemini reserves the Gemini target identity in the internal platform tree. |
|
platforms/opencode
Package opencode reserves the OpenCode target identity in the internal platform tree.
|
Package opencode reserves the OpenCode target identity in the internal platform tree. |
Click to show internal directories.
Click to hide internal directories.