mirror of https://github.com/garrytan/gstack.git
34 lines
888 B
TypeScript
34 lines
888 B
TypeScript
import { defineHost, CROSS_MODEL_RESOLVERS, GBRAIN_RESOLVERS, EXEC_STYLE_TOOL_REWRITES } from './define-host';
|
|
|
|
const openclaw = defineHost({
|
|
name: 'openclaw',
|
|
displayName: 'OpenClaw',
|
|
|
|
frontmatter: {
|
|
mode: 'allowlist',
|
|
keepFields: ['name', 'description'],
|
|
descriptionLimit: null,
|
|
extraFields: {
|
|
version: '0.15.2.0',
|
|
},
|
|
},
|
|
|
|
generation: {
|
|
generateMetadata: false,
|
|
skipSkills: ['codex'],
|
|
includeSkills: [], // native ClawHub skills replaced the generated ones
|
|
},
|
|
|
|
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],
|
|
|
|
coAuthorTrailer: 'Co-Authored-By: OpenClaw Agent <agent@openclaw.ai>',
|
|
});
|
|
|
|
export default openclaw;
|