Files
gstack/hosts/openclaw.ts

28 lines
1003 B
TypeScript

import { defineHost, CROSS_MODEL_RESOLVERS, GBRAIN_RESOLVERS, EXEC_STYLE_TOOL_REWRITES } from './define-host';
const openclaw = defineHost({
name: 'openclaw',
displayName: 'OpenClaw',
tier: 'instruction-only',
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],
// No full install arm — users can hand-copy the instruction-only digest
// (setup's explainer arm prints this path; never auto-copied).
install: {
linkingStrategy: 'symlink-generated',
instructionTier: { rulesFile: 'agents-digest/gstack-AGENTS.md' },
},
coAuthorTrailer: 'Co-Authored-By: OpenClaw Agent <agent@openclaw.ai>',
});
export default openclaw;