Files
gstack/hosts/openclaw.ts
T
garrytanandcapy-ai[bot] bbebe4e56d wip: harness registration in setup, uninstall, tests
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-10-28 01:04:03 +00:00

29 lines
1.0 KiB
TypeScript

import { defineHost, CROSS_MODEL_RESOLVERS, GBRAIN_RESOLVERS, EXEC_STYLE_TOOL_REWRITES } from './define-host';
const openclaw = defineHost({
name: 'openclaw',
displayName: 'OpenClaw',
tier: 'experimental',
capabilities: { toolExecution: true, questions: 'prose', planMode: false, delegation: true, browser: true, safetyHooks: 'advisory' },
extraPathRewrites: [
{ from: 'CLAUDE.md', to: 'AGENTS.md' },
],
toolRewrites: { ...EXEC_STYLE_TOOL_REWRITES },
// Suppress Claude-specific preamble sections that don't apply to OpenClaw
suppressedResolvers: [...CROSS_MODEL_RESOLVERS, ...GBRAIN_RESOLVERS],
// ./setup --host openclaw (and setup run inside OpenClaw) registers through
// gstack-harness: one gstack router skill in $OPENCLAW_STATE_DIR/skills, or
// every skill with --skills all. OpenClaw's ACP route (docs/OPENCLAW.md) stays.
install: {
linkingStrategy: 'symlink-generated',
registration: 'harness',
},
coAuthorTrailer: 'Co-Authored-By: OpenClaw Agent <agent@openclaw.ai>',
});
export default openclaw;