Releases: salesforce/agentscript
Releases · salesforce/agentscript
@sf-agentscript/types@0.2.1
Patch Changes
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
@sf-agentscript/parser@4.0.0
@agentscript/parser
3.0.6
Patch Changes
- Updated dependencies
- @agentscript/parser-javascript@2.3.6
3.0.5
Patch Changes
- Updated dependencies
- @agentscript/parser-javascript@2.3.5
3.0.4
Patch Changes
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
- Updated dependencies
- @agentscript/parser-javascript@2.3.4
- @agentscript/parser-tree-sitter@2.3.2
- @agentscript/types@0.2.1
3.0.3
Patch Changes
- Updated dependencies
- @agentscript/parser-javascript@2.3.3
3.0.2
Patch Changes
- Updated dependencies
- @agentscript/parser-javascript@2.3.2
- @agentscript/parser-tree-sitter@2.3.1
3.0.1
Patch Changes
- Updated dependencies
- @agentscript/parser-javascript@2.3.1
3.0.0
Minor Changes
- New features (2026-03-31)
Patch Changes
- Updated dependencies
- @agentscript/parser-javascript@2.3.0
- @agentscript/parser-tree-sitter@2.3.0
- @agentscript/types@0.2.0
@sf-agentscript/parser-tree-sitter@2.4.0
@agentscript/parser
2.3.2
Patch Changes
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
2.3.1
Patch Changes
- 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.
2.3.0
Minor Changes
- New features (2026-03-31)
2.1.1
Patch Changes
- 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.
2.1.0
Minor Changes
- Add support for renamed blocks: topic => subagent, topic.actions => tool_definitions, topic.reasoning.actions => tools
2.0.6
Patch Changes
- Reclassify True, False, None, and "to" as keywords in syntax highlighting. Simplify child classes in language package by replacing private backing fields with public properties. Update light theme colors for improved contrast and consistency.
2.0.5
Patch Changes
- 86b39c2: Refactor LSP into a modular architecture with dialect registry, automatic dialect detection via annotations, and separated browser/node server packages. Add smart indentation on Enter, enhanced completions with dialect-aware suggestions, semantic token highlighting, code actions, and a new Monaco theme module. Fix various completions bugs including nested completions and colon highlighting.
2.0.4
Patch Changes
- 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.
2.0.3
Patch Changes
- 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.
2.0.2
Patch Changes
- 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'.
2.0.1
Patch Changes
- 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.
@sf-agentscript/parser-javascript@2.4.0
@agentscript/parser-ts
2.3.6
Patch Changes
- 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.
2.3.5
Patch Changes
- Fix parsing of block scalar templates (
|): correctly compute indent level of the pipe line, track brace depth inside{!...}expressions so nested braces (e.g. JSON objects) don't prematurely close the expression, allow string tokenization inside template expressions, and treat#as a comment only outside the template content area.
2.3.4
Patch Changes
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
- Updated dependencies
- @agentscript/types@0.2.1
2.3.3
Patch Changes
- Fix multiline template continuation lines starting with
#being incorrectly tokenized as comments instead of template content. Any text indented beyond|is now correctly treated as part of the template.
2.3.2
Patch Changes
- 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.
2.3.1
Patch Changes
- 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.
2.3.0
Minor Changes
- New features (2026-03-31)
Patch Changes
- Updated dependencies
- @agentscript/types@0.2.0
0.1.1
Patch Changes
- 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/types@0.1.1
@sf-agentscript/monaco@2.2.16
@agentscript/monaco
2.2.11
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.10
2.2.10
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.9
- @agentscript/parser@3.0.6
2.2.9
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.7
2.2.8
Patch Changes
- @agentscript/parser@3.0.5
- @agentscript/language@2.4.6
2.2.7
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.6
2.2.6
Patch Changes
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
- Updated dependencies
- @agentscript/language@2.4.5
- @agentscript/parser@3.0.4
2.2.5
Patch Changes
- @agentscript/parser@3.0.3
- @agentscript/language@2.4.4
2.2.4
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.4
- @agentscript/parser@3.0.2
2.2.3
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.3
2.2.2
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.2
2.2.1
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.1
- @agentscript/parser@3.0.1
2.2.0
Minor Changes
- New features (2026-03-31)
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.0
- @agentscript/parser@3.0.0
2.1.3
Patch Changes
- Updated dependencies
- @agentscript/language@2.3.3
2.1.2
Patch Changes
- Updated dependencies
- @agentscript/language@2.3.2
2.1.1
Patch Changes
- 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/language@2.3.1
2.1.0
Minor Changes
- Add support for renamed blocks: topic => subagent, topic.actions => tool_definitions, topic.reasoning.actions => tools
Patch Changes
- Updated dependencies
- @agentscript/language@2.3.0
- @agentscript/parser@2.1.0
2.0.14
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.11
2.0.13
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.10
2.0.12
Patch Changes
- Reclassify True, False, None, and "to" as keywords in syntax highlighting. Simplify child classes in language package by replacing private backing fields with public properties. Update light theme colors for improved contrast and consistency.
- Updated dependencies
- @agentscript/language@2.2.9
- @agentscript/parser@2.0.6
2.0.11
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.8
2.0.10
Patch Changes
- 86b39c2: Refactor LSP into a modular architecture with dialect registry, automatic dialect detection via annotations, and separated browser/node server packages. Add smart indentation on Enter, enhanced completions with dialect-aware suggestions, semantic token highlighting, code actions, and a new Monaco theme module. Fix various completions bugs including nested completions and colon highlighting.
- Updated dependencies [86b39c2]
- @agentscript/language@2.2.7
- @agentscript/parser@2.0.5
2.0.9
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.6
2.0.8
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.5
- @agentscript/parser@2.0.4
2.0.7
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.4
- @agentscript/parser@2.0.3
2.0.6
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.3
2.0.5
Patch Changes
- 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/parser@2.0.2
2.0.4
Patch Changes
- Updated dependencies
- @agentscript/parser@2.0.1
- @agentscript/language@2.2.1
2.0.3
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.1
2.0.2
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.0
2.0.1
Patch Changes
- Updated dependencies
- @agentscript/language@2.1.0
@sf-agentscript/lsp@2.2.25
@agentscript/lsp
2.2.14
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.10
- @agentscript/agentfabric-dialect@0.1.12
- @agentscript/agentforce-dialect@2.7.13
- @agentscript/agentscript-dialect@2.5.13
2.2.13
Patch Changes
- 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/agentfabric-dialect@0.1.12
- @agentscript/agentforce-dialect@2.7.12
- @agentscript/agentscript-dialect@2.5.12
- @agentscript/parser@3.0.6
2.2.12
Patch Changes
- Updated dependencies
- @agentscript/agentscript-dialect@2.5.11
- @agentscript/agentfabric-dialect@0.1.12
- @agentscript/agentforce-dialect@2.7.11
2.2.11
Patch Changes
- Add unused-variable lint warning that flags declared variables never referenced in the document, with a quick-fix code action in the LSP to remove the declaration.
- Updated dependencies
- @agentscript/language@2.4.7
- @agentscript/agentscript-dialect@2.5.10
- @agentscript/agentfabric-dialect@0.1.8
- @agentscript/agentforce-dialect@2.7.10
2.2.10
Patch Changes
- @agentscript/parser@3.0.5
- @agentscript/agentfabric-dialect@0.1.7
- @agentscript/agentforce-dialect@2.7.9
- @agentscript/agentscript-dialect@2.5.9
- @agentscript/language@2.4.6
2.2.9
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.6
- @agentscript/agentfabric-dialect@0.1.6
- @agentscript/agentforce-dialect@2.7.8
- @agentscript/agentscript-dialect@2.5.8
2.2.8
Patch Changes
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
- Updated dependencies
- @agentscript/agentscript-dialect@2.5.7
- @agentscript/agentforce-dialect@2.7.7
- @agentscript/agentfabric-dialect@0.1.5
- @agentscript/language@2.4.5
- @agentscript/parser@3.0.4
- @agentscript/types@0.2.1
2.2.7
Patch Changes
- @agentscript/parser@3.0.3
- @agentscript/agentfabric-dialect@0.1.4
- @agentscript/agentforce-dialect@2.7.6
- @agentscript/agentscript-dialect@2.5.6
- @agentscript/language@2.4.4
2.2.6
Patch Changes
- Updated dependencies
- @agentscript/agentscript-dialect@2.5.5
- @agentscript/agentfabric-dialect@0.1.3
- @agentscript/agentforce-dialect@2.7.5
2.2.5
Patch Changes
- 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/agentscript-dialect@2.5.4
- @agentscript/agentforce-dialect@2.7.4
- @agentscript/agentfabric-dialect@0.1.2
- @agentscript/parser@3.0.2
2.2.4
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.3
- @agentscript/agentscript-dialect@2.5.3
- @agentscript/agentfabric-dialect@0.1.1
- @agentscript/agentforce-dialect@2.7.3
2.2.3
Patch Changes
- Updated dependencies
- @agentscript/agentscript-dialect@2.5.2
- @agentscript/agentforce-dialect@2.7.2
- @agentscript/language@2.4.2
2.2.2
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.1
- @agentscript/agentscript-dialect@2.5.1
- @agentscript/agentforce-dialect@2.7.1
- @agentscript/parser@3.0.1
2.2.1
Patch Changes
- Updated dependencies
- @agentscript/agentscript-dialect@2.5.0
- @agentscript/agentforce-dialect@2.7.0
2.2.0
Minor Changes
- New features (2026-03-31)
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.6.0
- @agentscript/agentscript-dialect@2.4.0
- @agentscript/language@2.4.0
- @agentscript/parser@3.0.0
- @agentscript/types@0.2.0
2.1.6
Patch Changes
- Temporarily remove the deprecated notice from the
topicblock keyword while migration is in progress. - Updated dependencies
- @agentscript/agentforce-dialect@2.5.4
2.1.5
Patch Changes
- Updated dependencies
- @agentscript/language@2.3.3
- @agentscript/agentforce-dialect@2.5.3
- @agentscript/agentscript-dialect@2.3.3
2.1.4
Patch Changes
- Updated dependencies
- @agentscript/language@2.3.2
- @agentscript/agentscript-dialect@2.3.2
- @agentscript/agentforce-dialect@2.5.2
2.1.3
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.5.1
2.1.2
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.5.0
2.1.1
Patch Changes
- 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/agentscript-dialect@2.3.1
- @agentscript/agentforce-dialect@2.4.1
2.1.0
Minor Changes
- Add support for renamed blocks: topic => subagent, topic.actions => tool_definitions, topic.reasoning.actions => tools
Patch Changes
- Updated dependencies
- @agentscript/agentscript-dialect@2.3.0
- @agentscript/agentforce-dialect@2.4.0
- @agentscript/language@2.3.0
2.0.11
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.3.0
2.0.10
Patch Changes
- Add config validation, variable validation, and complex data type warning lint rules to the Agentforce dialect for parity with core linting. Remove security lint rules (actionSecurityConfirmationRule, outputSecurityRule). Update schema with enum constraints for visibility and agent_type fields, and add new deprecated fields (agent_template, user_locale). Fix LSP diagnostic sort order to position-first so "View Problem" navigation finds the marker under the cursor.
- Updated dependencies
- @agentscript/agentforce-dialect@2.2.13
2.0.9
Patch Changes
- Remove security lint rules (actionSecurityConfirmationRule, outputSecurityRule) from the Agentforce dialect. Fix "View Problem" navigation in the LSP to sort diagnostics by position instead of severity, ensuring the marker under the cursor is found first.
- Updated dependencies
- @agentscript/agentforce-dialect@2.2.12
2.0.8
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.11
- @agentscript/agentscript-dialect@2.2.11
- @agentscript/agentforce-dialect@2.2.11
2.0.7
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.10
- @agentscript/agentforce-dialect@2.2.10
- @agentscript/agentscript-dialect@2.2.10
2.0.6
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.9
- @agentscript/agentforce-dialect@2.2.9
- @agentscript/agentscript-dialect@2.2.9
2.0.5
Patch Changes
- Add
nameRangeto reference occurrences for accurate rename symbol support, fix scope resolution to prioritize outer definitions over nested bindings, and switch lsp-browser to a self-contained esbuild bundle. - Updated dependencies
- @agentscript/language@2.2.8
- @agentscript/agentscript-dialect@2.2.8
- @agentscript/agentforce-dialect@2.2.8
2.0.4
Patch Changes
- 86b39c2: Refactor LSP into a modular architecture with dialect registry, automatic dialect detection via annotations, and separated browser/node server packages. Add smart indentation on Enter, enhanced completions with dialect-aware suggestions, semantic token highlighting, code actions, and a new Monaco theme module. Fix various completions bugs including nested completions and colon highlighting.
- Updated dependencies [86b39c2]
- @agentscript/language@2.2.7
- @agentscript/agentscript-dialect@2.2.7
- @agentscript/agentforce-dialect@2.2.7
2.0.3
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.6
- @agentscript/agentforce@2.1.8
2.0.2
Patch Changes
- 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@2.1.7
2.0.1
Patch Changes
- Add shared LSP package with hover, completion, definition, references, rename, code actions, semantic tokens, and document symbols providers. Enhance language package with snippet generation an...
@sf-agentscript/lsp-server@2.2.25
@agentscript/lsp-server
2.2.14
Patch Changes
- @agentscript/lsp@2.2.14
2.2.13
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.2.13
- @agentscript/parser@3.0.6
2.2.12
Patch Changes
- @agentscript/lsp@2.2.12
2.2.11
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.2.11
2.2.10
Patch Changes
- @agentscript/parser@3.0.5
- @agentscript/lsp@2.2.10
2.2.9
Patch Changes
- @agentscript/lsp@2.2.9
2.2.8
Patch Changes
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
- Updated dependencies
- @agentscript/lsp@2.2.8
- @agentscript/parser@3.0.4
- @agentscript/types@0.2.1
2.2.7
Patch Changes
- @agentscript/parser@3.0.3
- @agentscript/lsp@2.2.7
2.2.6
Patch Changes
- @agentscript/lsp@2.2.6
2.2.5
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.2.5
- @agentscript/parser@3.0.2
2.2.4
Patch Changes
- @agentscript/lsp@2.2.4
2.2.3
Patch Changes
- @agentscript/lsp@2.2.3
2.2.2
Patch Changes
- @agentscript/lsp@2.2.2
- @agentscript/parser@3.0.1
2.2.1
Patch Changes
- @agentscript/lsp@2.2.1
2.2.0
Minor Changes
- New features (2026-03-31)
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.2.0
- @agentscript/parser@3.0.0
- @agentscript/types@0.2.0
2.1.6
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.1.6
2.1.5
Patch Changes
- @agentscript/lsp@2.1.5
2.1.4
Patch Changes
- @agentscript/lsp@2.1.4
2.1.3
Patch Changes
- @agentscript/lsp@2.1.3
2.1.2
Patch Changes
- @agentscript/lsp@2.1.2
2.1.1
Patch Changes
- 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/lsp@2.1.1
2.1.0
Minor Changes
- Add support for renamed blocks: topic => subagent, topic.actions => tool_definitions, topic.reasoning.actions => tools
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.1.0
- @agentscript/parser@2.1.0
2.0.11
Patch Changes
- @agentscript/lsp@2.0.11
2.0.10
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.0.10
2.0.9
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.0.9
2.0.8
Patch Changes
- @agentscript/lsp@2.0.8
2.0.7
Patch Changes
- @agentscript/lsp@2.0.7
2.0.6
Patch Changes
- Updated dependencies
- @agentscript/parser@2.0.6
- @agentscript/lsp@2.0.6
2.0.5
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.0.5
2.0.4
Patch Changes
- Updated dependencies [86b39c2]
- @agentscript/lsp@2.0.4
- @agentscript/language@2.2.7
- @agentscript/parser@2.0.5
- @agentscript/agentscript-dialect@2.2.7
- @agentscript/agentforce-dialect@2.2.7
@sf-agentscript/lsp-browser@2.2.31
@agentscript/lsp-browser
2.2.19
Patch Changes
- @agentscript/agentforce@2.5.19
- @agentscript/lsp@2.2.14
2.2.18
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.2.13
- @agentscript/agentforce@2.5.18
2.2.17
Patch Changes
- @agentscript/lsp@2.2.12
- @agentscript/agentforce@2.5.17
2.2.16
Patch Changes
- @agentscript/agentforce@2.5.16
2.2.15
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.5.15
2.2.14
Patch Changes
- @agentscript/agentforce@2.5.14
2.2.13
Patch Changes
- @agentscript/agentforce@2.5.13
2.2.12
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.2.11
- @agentscript/agentforce@2.5.12
2.2.11
Patch Changes
- @agentscript/agentforce@2.5.11
- @agentscript/lsp@2.2.10
2.2.10
Patch Changes
- @agentscript/agentforce@2.5.10
- @agentscript/lsp@2.2.9
2.2.9
Patch Changes
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
- Updated dependencies
- @agentscript/agentforce@2.5.9
- @agentscript/lsp@2.2.8
- @agentscript/types@0.2.1
2.2.8
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.5.8
2.2.7
Patch Changes
- @agentscript/agentforce@2.5.7
- @agentscript/lsp@2.2.7
2.2.6
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.5.6
- @agentscript/lsp@2.2.6
2.2.5
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.5.5
- @agentscript/lsp@2.2.5
2.2.4
Patch Changes
- @agentscript/agentforce@2.5.4
- @agentscript/lsp@2.2.4
2.2.3
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.5.3
- @agentscript/lsp@2.2.3
2.2.2
Patch Changes
- @agentscript/agentforce@2.5.2
- @agentscript/lsp@2.2.2
2.2.1
Patch Changes
- @agentscript/lsp@2.2.1
- @agentscript/agentforce@2.5.1
2.2.0
Minor Changes
- New features (2026-03-31)
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.5.0
- @agentscript/lsp@2.2.0
- @agentscript/types@0.2.0
2.1.6
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.1.6
- @agentscript/agentforce@2.4.4
2.1.5
Patch Changes
- @agentscript/agentforce@2.4.3
- @agentscript/lsp@2.1.5
2.1.4
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.4.2
- @agentscript/lsp@2.1.4
2.1.3
Patch Changes
- @agentscript/agentforce@2.4.1
- @agentscript/lsp@2.1.3
2.1.2
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.4.0
- @agentscript/lsp@2.1.2
2.1.1
Patch Changes
- 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/types@0.1.1
- @agentscript/agentforce@2.3.1
- @agentscript/lsp@2.1.1
2.1.0
Minor Changes
- Add support for renamed blocks: topic => subagent, topic.actions => tool_definitions, topic.reasoning.actions => tools
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.3.0
- @agentscript/lsp@2.1.0
2.0.12
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.2.0
- @agentscript/lsp@2.0.11
2.0.11
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.0.10
- @agentscript/agentforce@2.1.16
2.0.10
Patch Changes
- Updated dependencies
- @agentscript/lsp@2.0.9
- @agentscript/agentforce@2.1.15
2.0.9
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.1.14
- @agentscript/lsp@2.0.8
2.0.8
Patch Changes
- @agentscript/agentforce@2.1.13
- @agentscript/lsp@2.0.7
2.0.7
Patch Changes
- @agentscript/agentforce@2.1.12
- @agentscript/lsp@2.0.6
2.0.6
Patch Changes
- Add
nameRangeto reference occurrences for accurate rename symbol support, fix scope resolution to prioritize outer definitions over nested bindings, and switch lsp-browser to a self-contained esbuild bundle. - Updated dependencies
- @agentscript/lsp@2.0.5
- @agentscript/agentforce@2.1.11
2.0.5
Patch Changes
- Updated dependencies
- @agentscript/agentforce@2.1.10
2.0.4
Patch Changes
- Updated dependencies [86b39c2]
- @agentscript/lsp@2.0.4
- @agentscript/language@2.2.7
- @agentscript/agentforce@2.1.9
- @agentscript/agentscript-dialect@2.2.7
- @agentscript/agentforce-dialect@2.2.7
@sf-agentscript/language@2.5.3
@agentscript/language
2.4.10
Patch Changes
- 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.
2.4.9
Patch Changes
- 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.
2.4.7
Patch Changes
- Add unused-variable lint warning that flags declared variables never referenced in the document, with a quick-fix code action in the LSP to remove the declaration.
2.4.6
Patch Changes
- Detect self-referencing reasoning actions in undefined-reference validation. Entries like
CloseCase: @actions.CloseCaseinsidereasoning.actionsno longer incorrectly resolve against themselves; they are now validated against the parent topic's action definitions.
2.4.5
Patch Changes
- Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
- Updated dependencies
- @agentscript/types@0.2.1
2.4.4
Patch Changes
- 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.
2.4.3
Patch Changes
- Fix ellipsis emission in
WithClauseso programmatically constructed nodes correctly emit= ...instead of omitting the value. Remove unnecessaryStringLiteral-only restriction fromConnectedSubagentBlockstring fields to support multi-line strings.
2.4.2
Patch Changes
- SOMA multi-line string language support
2.4.1
Patch Changes
- 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.
2.4.0
Minor Changes
- New features (2026-03-31)
Patch Changes
- Updated dependencies
- @agentscript/types@0.2.0
2.3.3
Patch Changes
- 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.
2.3.2
Patch Changes
- Add dedicated ActionBlock, ActionsBlock, ReasoningActionBlock, and ReasoningActionsBlock types for topic-style block definitions, preserving legacy __kind values and 'action' scopeAlias separately from the subagent-style ToolDefinitionBlock/ToolBlock types.
2.3.1
Patch Changes
- 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/types@0.1.1
2.3.0
Minor Changes
- Add support for renamed blocks: topic => subagent, topic.actions => tool_definitions, topic.reasoning.actions => tools
2.2.11
Patch Changes
- Fix emitComponent incorrectly prefixing ActionBlock kind to action entry names. Fix diagnostic deduplication by scoping
__diagnosticson collection and typed-map nodes to own-level diagnostics only. Allow reserved words (e.g.date) when used as quoted keys.
2.2.10
Patch Changes
- Allow reserved words (e.g.
date) as field names when quoted and fix duplicate diagnostics incollectDiagnosticstree walk by storing only own-level diagnostics on each AST node.
2.2.9
Patch Changes
- Reclassify True, False, None, and "to" as keywords in syntax highlighting. Simplify child classes in language package by replacing private backing fields with public properties. Update light theme colors for improved contrast and consistency.
2.2.8
Patch Changes
- Add
nameRangeto reference occurrences for accurate rename symbol support, fix scope resolution to prioritize outer definitions over nested bindings, and switch lsp-browser to a self-contained esbuild bundle.
2.2.7
Patch Changes
- 86b39c2: Refactor LSP into a modular architecture with dialect registry, automatic dialect detection via annotations, and separated browser/node server packages. Add smart indentation on Enter, enhanced completions with dialect-aware suggestions, semantic token highlighting, code actions, and a new Monaco theme module. Fix various completions bugs including nested completions and colon highlighting.
2.2.6
Patch Changes
- 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.
2.2.5
Patch Changes
- 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.
2.2.4
Patch Changes
- 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.
2.2.3
Patch Changes
- Add
parseComponentDebugAPI and component kind registry to agentforce package, moving component parsing logic out of the UI. Enhance language dialect to parse colinear untyped fields as structuredFieldChildnodes with expression values and improve document symbol extraction for field children.
2.2.2
Patch Changes
- 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'.
2.2.1
Patch Changes
- Add
mutateComponent()for in-place block mutation with helpers for field removal and NamedMap add/remove operations. AddvalidateStrictSchema()for strict schema enforcement.emitComponent()now auto-syncs block children before emitting, so directly assigned fields are always emitted correctly. RenamesetBlock/removeBlocktosetField/removeFieldon Document and MutationHelpers for consistency. ExtractNamedMap.forCollection()factory andcollectionLabel()helper to deduplicate collection label logic.
2.2.0
Minor Changes
- 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.
2.1.0
Minor Changes
- Add expression validation lint pass for function calls and operators, export
expressionValidationPassandBUILTIN_FUNCTIONSfrom language package. SupportstandardInvocableAction://scheme in agentforce action targets. Addappendoption toexample()builder method.
@sf-agentscript/compiler@2.6.8
@agentscript/compiler
2.4.18
Patch Changes
- 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
2.4.17
Patch Changes
- 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
2.4.16
Patch Changes
- @agentscript/agentforce-dialect@2.7.11
2.4.15
Patch Changes
- 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.
2.4.14
Patch Changes
- Disallow supervision tools with hyper-clf
2.4.13
Patch Changes
- Support compiling system instructions like reasoning instructions
2.4.12
Patch Changes
- Add security block compilation support for verified_customer_record_access with use_default_objects and additional_objects fields.
2.4.11
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.7
- @agentscript/agentforce-dialect@2.7.10
2.4.10
Patch Changes
- @agentscript/parser@3.0.5
- @agentscript/agentforce-dialect@2.7.9
- @agentscript/language@2.4.6
2.4.9
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.6
- @agentscript/agentforce-dialect@2.7.8
2.4.8
Patch Changes
- 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
2.4.7
Patch Changes
- Set default values from references during compilation
2.4.6
Patch Changes
- @agentscript/parser@3.0.3
- @agentscript/agentforce-dialect@2.7.6
- @agentscript/language@2.4.4
2.4.5
Patch Changes
- Router nodes can only include transitions
- @agentscript/agentforce-dialect@2.7.5
2.4.4
Patch Changes
- 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
2.4.3
Patch Changes
- Updated dependencies
- @agentscript/language@2.4.3
- @agentscript/agentforce-dialect@2.7.3
2.4.2
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.7.2
- @agentscript/language@2.4.2
2.4.1
Patch Changes
- 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
2.4.0
Minor Changes
- 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.
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.7.0
2.3.0
Minor Changes
- New features (2026-03-31)
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.6.0
- @agentscript/language@2.4.0
- @agentscript/parser@3.0.0
- @agentscript/types@0.2.0
2.2.6
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.5.4
2.2.5
Patch Changes
- 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
2.2.4
Patch Changes
- Updated dependencies
- @agentscript/language@2.3.2
- @agentscript/agentforce-dialect@2.5.2
2.2.3
Patch Changes
- Add support for context block, compiles to context
- Updated dependencies
- @agentscript/agentforce-dialect@2.5.1
2.2.2
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.5.0
2.2.1
Patch Changes
- 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
2.2.0
Minor Changes
- Add support for renamed blocks: topic => subagent, topic.actions => tool_definitions, topic.reasoning.actions => tools
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.4.0
- @agentscript/language@2.3.0
2.1.0
Minor Changes
- Add target property for connected agent blocks, compile to updated schema
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.3.0
2.0.17
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.2.13
2.0.16
Patch Changes
- Updated dependencies
- @agentscript/agentforce-dialect@2.2.12
2.0.15
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.11
- @agentscript/agentforce-dialect@2.2.11
2.0.14
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.10
- @agentscript/agentforce-dialect@2.2.10
2.0.13
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.9
- @agentscript/agentforce-dialect@2.2.9
2.0.12
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.8
- @agentscript/agentforce-dialect@2.2.8
2.0.11
Patch Changes
- Updated dependencies [86b39c2]
- @agentscript/language@2.2.7
- @agentscript/agentforce-dialect@2.2.7
2.0.10
Patch Changes
- 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
2.0.9
Patch Changes
- 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
2.0.8
Patch Changes
- 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
2.0.7
Patch Changes
- Updated dependencies
- @agentscript/language@2.2.3
- @agentscript/agentforce-dialect@2.2.3
2.0.6
Patch Changes
- Refactor block system to introduce Collection...