Publish Claude Code Binaries / Stage and publish binaries (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-arm64 (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build linux-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build windows-amd64 (push) Canceled after 0s
Sync Tutti Agent Skills / sync (push) Canceled after 0s
Windows Agent Adapters / Test Windows agent adapters (push) Canceled after 0s
Windows Daemon Adapters / Test Windows daemon adapters (push) Canceled after 0s
Publish Tutti App Runtime / Publish runtime catalog (push) Canceled after 0s
32 lines
1.1 KiB
Go
32 lines
1.1 KiB
Go
package agentruntime
|
|
|
|
// Hermes now ships as an Agent Extension. These values keep the generic ACP
|
|
// adapter regression suite representative without reintroducing a production
|
|
// provider descriptor or constructor.
|
|
const hermesExtensionTestProvider = "acp:hermes"
|
|
|
|
func newHermesExtensionTestAdapter(transport ProcessTransport) *standardACPAdapter {
|
|
adapter, err := NewStandardACPAdapter(StandardACPAdapterConfig{
|
|
Provider: hermesExtensionTestProvider,
|
|
Name: "hermes-acp",
|
|
DisplayName: "Hermes Agent",
|
|
Command: []string{"hermes", "acp"},
|
|
ModelConfigOptionID: "model",
|
|
PermissionConfigOptionID: "mode",
|
|
ReasoningConfigOptionID: "effort",
|
|
PermissionModes: map[string]string{
|
|
"": "dont_ask",
|
|
"auto": "dont_ask",
|
|
"full-access": "dont_ask",
|
|
"read-only": "dont_ask",
|
|
"yolo": "dont_ask",
|
|
},
|
|
AutomaticPermissionDecisions: map[string]string{"yolo": "approved"},
|
|
Capabilities: []string{CapabilityInterrupt},
|
|
}, transport, LegacyHostMetadata())
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
return adapter.(*standardACPAdapter)
|
|
}
|