@sf-agentscript/agentfabric-dialect
v0.1.23
Published
AgentFabric dialect — schema, lint rules, compiler, and dialect config
Downloads
48
Readme
@agentscript/agentfabric-dialect
AgentFabric dialect — defines the schema, lint rules, and compiler for the AgentFabric platform.
Overview
This dialect extends the base AgentScript schema with AgentFabric-specific blocks, fields, and a full compiler. It is an alternative to the Agentforce dialect for targeting the AgentFabric runtime.
Installation
pnpm add @agentscript/agentfabric-dialectUsage
import { agentfabricDialect } from '@agentscript/agentfabric-dialect';
// Use as a DialectConfig
console.log(agentfabricDialect.name); // 'agentfabric'
console.log(agentfabricDialect.schemaInfo); // AgentFabric-specific schemaWhat It Provides
- Schema — AgentFabric-specific block types and field definitions
- Lint rules — AgentFabric-specific validation passes
- Compiler — full compilation pipeline for the AgentFabric output format
- Dialect config —
DialectConfigobject for use with@agentscript/languageand@agentscript/lsp
Dependencies
@agentscript/agentscript-dialect— inherits the base schema and rules@agentscript/language— language infrastructure
Scripts
pnpm build # Compile TypeScript
pnpm test # Run tests
pnpm typecheck # Type-check
pnpm dev # Watch modeLicense
MIT
