mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-04 07:47:27 +01:00
Co-authored-by: Andrey Esipov <61357035+andrey-esipov@users.noreply.github.com> Co-authored-by: Matthew Williams <5863886+ridermw@users.noreply.github.com> Co-authored-by: Rocky Wu <92764750+lolisaigao1234@users.noreply.github.com>
28 lines
1003 B
TypeScript
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;
|