- Fix default value compilation for object and list state variables. Dict literal defaults now populate the
defaultfield with their actual entries instead of emitting an empty{}, list defaults preserve their elements, and dict keys parse asStringLiteralnodes instead of quotedIdentifiers. - Updated dependencies
- @agentscript/language@2.4.10
- @agentscript/agentforce-dialect@2.7.13
- Fix
@outputsreference and completion resolution inside nestedrun @actions.Xblocks so they resolve against the nested run target rather than the enclosing reasoning action binding. Addintegerandlongscalar-to-ParameterDataType mappings for action parameters. Fix template literal indentation handling in the JavaScript lexer. - Updated dependencies
- @agentscript/language@2.4.9
- @agentscript/agentforce-dialect@2.7.12
- @agentscript/parser@3.0.6
- @agentscript/agentforce-dialect@2.7.11
- Switch locale validation in the modality compiler to use the
supportedLocalezod enum from the generated agent-dsl schema, replacing the hand-maintainedVALID_LOCALESset and removing thesync:localessync script.
- Disallow supervision tools with hyper-clf
- Support compiling system instructions like reasoning instructions
- Add security block compilation support for verified_customer_record_access with use_default_objects and additional_objects fields.
- Updated dependencies
- @agentscript/language@2.4.7
- @agentscript/agentforce-dialect@2.7.10
- @agentscript/parser@3.0.5
- @agentscript/agentforce-dialect@2.7.9
- @agentscript/language@2.4.6
- Updated dependencies
- @agentscript/language@2.4.6
- @agentscript/agentforce-dialect@2.7.8
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
- Updated dependencies
- @agentscript/agentforce-dialect@2.7.7
- @agentscript/language@2.4.5
- @agentscript/parser@3.0.4
- @agentscript/types@0.2.1
- Set default values from references during compilation
- @agentscript/parser@3.0.3
- @agentscript/agentforce-dialect@2.7.6
- @agentscript/language@2.4.4
- Router nodes can only include transitions
- @agentscript/agentforce-dialect@2.7.5
- Revert rename (
tool_definitionsback toactions,toolsback toactionsin reasoning blocks). Add support for discriminant-based polymorphic variants via.discriminant()on block factories. Refactorblock.tsinto focused modules (block-factory, named-block-factory, typed-map-factory, collection-block-factory, factory-utils). Fix variant type propagation throughInferFieldTypeand collection factories. Improve comment attachment parity with tree-sitter parser. - Updated dependencies
- @agentscript/language@2.4.4
- @agentscript/agentforce-dialect@2.7.4
- @agentscript/parser@3.0.2
- Updated dependencies
- @agentscript/language@2.4.3
- @agentscript/agentforce-dialect@2.7.3
- Updated dependencies
- @agentscript/agentforce-dialect@2.7.2
- @agentscript/language@2.4.2
- Merge PR #178 generated schema updates: add ContextConfiguration and MemoryConfiguration types from OpenAPI schema, replace custom AgentContext types with generated equivalents, and use contextConfigurationSchema for validation. Context block compiles under agent_version instead of top-level output.
- Add wildcard
additional_parameter__*support so arbitrary config fields matching the prefix are accepted without explicit schema entries. Introduce a dedicatedStartAgentBlocktype distinct fromSubagentBlockfor proper type discrimination. Simplify the parser-javascript lexer. - Updated dependencies
- @agentscript/language@2.4.1
- @agentscript/agentforce-dialect@2.7.1
- @agentscript/parser@3.0.1
- Add dedicated
StartAgentBlocktype distinct fromSubagentBlockso thatstart_agentblocks produce a unique__kindfor type discrimination. Refactor shared subagent fields into a common base and update the compiler'sParsedTopicLikeunion to include the new type.
- Updated dependencies
- @agentscript/agentforce-dialect@2.7.0
- New features (2026-03-31)
- Updated dependencies
- @agentscript/agentforce-dialect@2.6.0
- @agentscript/language@2.4.0
- @agentscript/parser@3.0.0
- @agentscript/types@0.2.0
- Updated dependencies
- @agentscript/agentforce-dialect@2.5.4
- Fix TemplateText indentation by moving dedent and blank-line normalization into parse-time
dedentTemplateParts(), so the compiler and emit methods receive ready-to-use content without further stripping. Remove the now-unnecessarydedentTemplateutility from the compiler. AddspaceAfterPipeflag to preserve|formatting during round-trips. - Updated dependencies
- @agentscript/language@2.3.3
- @agentscript/agentforce-dialect@2.5.3
- Updated dependencies
- @agentscript/language@2.3.2
- @agentscript/agentforce-dialect@2.5.2
- Add support for context block, compiles to context
- Updated dependencies
- @agentscript/agentforce-dialect@2.5.1
- Updated dependencies
- @agentscript/agentforce-dialect@2.5.0
- Replace tree-sitter with a hand-written TypeScript parser (
@agentscript/parser-ts) for parsing AgentScript files. This eliminates the native/WASM dependency on tree-sitter, enabling simpler builds, faster startup, and consistent behavior across Node.js and browser environments. Add@agentscript/typesas a shared foundational types package. Update all downstream packages (language, compiler, dialects, LSP, Monaco, CLI, SDK) to consume the new parser-ts CST format. Add new lint passes for complex data types, config validation, and variable validation in the Agentforce dialect. - Updated dependencies
- @agentscript/parser-ts@0.1.1
- @agentscript/types@0.1.1
- @agentscript/language@2.3.1
- @agentscript/agentforce-dialect@2.4.1
- Add support for renamed blocks: topic => subagent, topic.actions => tool_definitions, topic.reasoning.actions => tools
- Updated dependencies
- @agentscript/agentforce-dialect@2.4.0
- @agentscript/language@2.3.0
- Add target property for connected agent blocks, compile to updated schema
- Updated dependencies
- @agentscript/agentforce-dialect@2.3.0
- Updated dependencies
- @agentscript/agentforce-dialect@2.2.13
- Updated dependencies
- @agentscript/agentforce-dialect@2.2.12
- Updated dependencies
- @agentscript/language@2.2.11
- @agentscript/agentforce-dialect@2.2.11
- Updated dependencies
- @agentscript/language@2.2.10
- @agentscript/agentforce-dialect@2.2.10
- Updated dependencies
- @agentscript/language@2.2.9
- @agentscript/agentforce-dialect@2.2.9
- Updated dependencies
- @agentscript/language@2.2.8
- @agentscript/agentforce-dialect@2.2.8
- Updated dependencies [86b39c2]
- @agentscript/language@2.2.7
- @agentscript/agentforce-dialect@2.2.7
- Add connected agent block type with compilation, lint rules, and validation support. Connected agents can be invoked as tools with bound inputs, and include lint rules preventing invalid transitions and enforcing input validation. Also adds block capability declarations (invokable, transferable) and resolved type constraints to the language package.
- Updated dependencies
- @agentscript/language@2.2.6
- @agentscript/agentforce-dialect@2.2.6
- Add LSP server package with hover, completion, definition, references, rename, code actions, semantic tokens, and document/workspace symbols support. Add snippet generation and enhanced completions to the language package. Add component-kind classification and semantic token support to the agentforce package. Remove inbound_model and outbound_model voice settings from the agentforce dialect and compiler.
- Updated dependencies
- @agentscript/language@2.2.5
- @agentscript/agentforce-dialect@2.2.5
- Add shared LSP package with hover, completion, definition, references, rename, code actions, semantic tokens, and document symbols providers. Enhance language package with snippet generation and improved completions. Add component-kind classification and semantic token support to agentforce package. Remove deprecated voice modality inbound_model and outbound_model fields.
- Updated dependencies
- @agentscript/language@2.2.4
- @agentscript/agentforce-dialect@2.2.4
- Updated dependencies
- @agentscript/language@2.2.3
- @agentscript/agentforce-dialect@2.2.3
- Refactor block system to introduce CollectionBlock as a first-class field type, replacing the dual NamedBlock/NamedFieldType pattern. NamedBlock is no longer a FieldType — it is now the entry type inside a CollectionBlock. Remove
NamedMapLike,NamedFieldType, andVariantNamedBlockFactoryexports from@agentscript/languagein favor ofCollectionBlock,CollectionBlockFactory,CollectionBlockInstance, andisCollectionFieldType. The__fieldKinddiscriminator value'NamedBlock'is replaced by'Collection'. - Updated dependencies
- @agentscript/language@2.2.2
- @agentscript/agentforce-dialect@2.2.2
- Bundle agentforce package with new compile and parser modules, add lint passes for connection validation, hyperclassifier, and system message variables to the agentforce dialect, and port Python compiler tests to TypeScript with new modality compilation and action type resolution support.
- Updated dependencies
- @agentscript/agentforce-dialect@2.2.1
- @agentscript/language@2.2.1
- Fix compiler parity with Python: escalation available-when, voice surfaces, negative number defaults, None variable defaults, empty system messages, locale validation, hyperclassifier router nodes, and reset_to_initial_node override. Add connection validation, hyperclassifier constraints, and system message variable lint passes to agentforce dialect. Add VariableTypeInfo to agentscript dialect TypeMap. Port 600+ compiler tests from Python test suite.
- Updated dependencies
- @agentscript/agentforce-dialect@2.2.0
- Updated dependencies
- @agentscript/language@2.2.1
- @agentscript/agentforce-dialect@2.1.2
- Add browser bundling support (ESM and IIFE),
emitComponent()API,generateParser()for WASM-based browser parsing, and nestedparseComponent()paths (topic.actions,topic.reasoning.actions). IntroduceUnknownStatementfor preserving unrecognized syntax with diagnostics instead of silently dropping content, and improve ERROR node recovery by recursing into children. - Updated dependencies
- @agentscript/language@2.2.0
- @agentscript/agentforce-dialect@2.1.1
- Updated dependencies
- @agentscript/language@2.1.0
- @agentscript/agentforce-dialect@2.1.0