Skip to content

Releases: salesforce/agentscript

@sf-agentscript/lsp@2.3.8

10 Jun 18:45
58ac3b8

Choose a tag to compare

@agentscript/lsp

2.2.26

Patch Changes

  • d01c76b: Fix publish: rewrite @agentscript/*@sf-agentscript/* in dist/ and src/, not just package.json.

    Previously, scripts/publish.mjs only rewrote package.json files at publish time. The compiled JavaScript in dist/ and the shipped TypeScript in src/ still contained import ... from '@agentscript/*', so consumers installing @sf-agentscript/* packages from npm hit ERR_MODULE_NOT_FOUND: Cannot find package '@agentscript/...' at runtime.

    scripts/publish.mjs now also rewrites .js, .mjs, .cjs, .ts, .tsx, .cts, .mts, and .map files inside each package's dist/ and src/ directories, so published artifacts resolve cleanly under the @sf-agentscript scope.

  • Updated dependencies [d01c76b]

    • @agentscript/agentfabric-dialect@0.1.24
    • @agentscript/agentforce-dialect@2.9.8
    • @agentscript/agentscript-dialect@2.5.20
    • @agentscript/language@2.5.4
    • @agentscript/parser@4.0.1
    • @agentscript/types@0.2.2

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 @outputs reference and completion resolution inside nested run @actions.X blocks so they resolve against the nested run target rather than the enclosing reasoning action binding. Add integer and long scalar-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_definitions back to actions, tools back to actions in reasoning blocks). Add support for discriminant-based polymorphic variants via .discriminant() on block factories. Refactor block.ts into focused modules (block-factory, named-block-factory, typed-map-factory, collection-block-factory, factory-utils). Fix variant type propagation through InferFieldType and 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 topic block 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/types as 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 nameRange to 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 [86b...
Read more

@sf-agentscript/lsp-server@2.2.30

10 Jun 18:45
58ac3b8

Choose a tag to compare

@agentscript/lsp-server

2.2.26

Patch Changes

  • d01c76b: Fix publish: rewrite @agentscript/*@sf-agentscript/* in dist/ and src/, not just package.json.

    Previously, scripts/publish.mjs only rewrote package.json files at publish time. The compiled JavaScript in dist/ and the shipped TypeScript in src/ still contained import ... from '@agentscript/*', so consumers installing @sf-agentscript/* packages from npm hit ERR_MODULE_NOT_FOUND: Cannot find package '@agentscript/...' at runtime.

    scripts/publish.mjs now also rewrites .js, .mjs, .cjs, .ts, .tsx, .cts, .mts, and .map files inside each package's dist/ and src/ directories, so published artifacts resolve cleanly under the @sf-agentscript scope.

  • Updated dependencies [d01c76b]

    • @agentscript/lsp@2.2.26
    • @agentscript/parser@4.0.1
    • @agentscript/types@0.2.2

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/types as 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.34

10 Jun 18:45
58ac3b8

Choose a tag to compare

@agentscript/lsp-browser

2.2.32

Patch Changes

  • d01c76b: Fix publish: rewrite @agentscript/*@sf-agentscript/* in dist/ and src/, not just package.json.

    Previously, scripts/publish.mjs only rewrote package.json files at publish time. The compiled JavaScript in dist/ and the shipped TypeScript in src/ still contained import ... from '@agentscript/*', so consumers installing @sf-agentscript/* packages from npm hit ERR_MODULE_NOT_FOUND: Cannot find package '@agentscript/...' at runtime.

    scripts/publish.mjs now also rewrites .js, .mjs, .cjs, .ts, .tsx, .cts, .mts, and .map files inside each package's dist/ and src/ directories, so published artifacts resolve cleanly under the @sf-agentscript scope.

  • Updated dependencies [d01c76b]

    • @agentscript/agentforce@2.5.32
    • @agentscript/lsp@2.2.26
    • @agentscript/types@0.2.2

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/types as 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 nameRange to 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/compiler@2.7.1

10 Jun 18:45
58ac3b8

Choose a tag to compare

@agentscript/compiler

2.6.9

Patch Changes

  • d01c76b: Fix publish: rewrite @agentscript/*@sf-agentscript/* in dist/ and src/, not just package.json.

    Previously, scripts/publish.mjs only rewrote package.json files at publish time. The compiled JavaScript in dist/ and the shipped TypeScript in src/ still contained import ... from '@agentscript/*', so consumers installing @sf-agentscript/* packages from npm hit ERR_MODULE_NOT_FOUND: Cannot find package '@agentscript/...' at runtime.

    scripts/publish.mjs now also rewrites .js, .mjs, .cjs, .ts, .tsx, .cts, .mts, and .map files inside each package's dist/ and src/ directories, so published artifacts resolve cleanly under the @sf-agentscript scope.

  • Updated dependencies [d01c76b]

    • @agentscript/agentforce-dialect@2.9.8
    • @agentscript/language@2.5.4
    • @agentscript/parser@4.0.1
    • @agentscript/types@0.2.2

2.4.18

Patch Changes

  • Fix default value compilation for object and list state variables. Dict literal defaults now populate the default field with their actual entries instead of emitting an empty {}, list defaults preserve their elements, and dict keys parse as StringLiteral nodes instead of quoted Identifiers.
  • Updated dependencies
    • @agentscript/language@2.4.10
    • @agentscript/agentforce-dialect@2.7.13

2.4.17

Patch Changes

  • Fix @outputs reference and completion resolution inside nested run @actions.X blocks so they resolve against the nested run target rather than the enclosing reasoning action binding. Add integer and long scalar-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 supportedLocale zod enum from the generated agent-dsl schema, replacing the hand-maintained VALID_LOCALES set and removing the sync:locales sync 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_definitions back to actions, tools back to actions in reasoning blocks). Add support for discriminant-based polymorphic variants via .discriminant() on block factories. Refactor block.ts into focused modules (block-factory, named-block-factory, typed-map-factory, collection-block-factory, factory-utils). Fix variant type propagation through InferFieldType and 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 dedicated StartAgentBlock type distinct from SubagentBlock for 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 StartAgentBlock type distinct from SubagentBlock so that start_agent blocks produce a unique __kind for type discrimination. Refactor shared subagent fields into a common base and update the compiler's ParsedTopicLike union 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-unnecessary dedentTemplate utility from the compiler. Add spaceAfterPipe flag 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/types as 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. R...
Read more

@sf-agentscript/agentforce@2.5.34

10 Jun 18:45
58ac3b8

Choose a tag to compare

@agentscript/agentforce

2.5.32

Patch Changes

  • d01c76b: Fix publish: rewrite @agentscript/*@sf-agentscript/* in dist/ and src/, not just package.json.

    Previously, scripts/publish.mjs only rewrote package.json files at publish time. The compiled JavaScript in dist/ and the shipped TypeScript in src/ still contained import ... from '@agentscript/*', so consumers installing @sf-agentscript/* packages from npm hit ERR_MODULE_NOT_FOUND: Cannot find package '@agentscript/...' at runtime.

    scripts/publish.mjs now also rewrites .js, .mjs, .cjs, .ts, .tsx, .cts, .mts, and .map files inside each package's dist/ and src/ directories, so published artifacts resolve cleanly under the @sf-agentscript scope.

  • Updated dependencies [d01c76b]

    • @agentscript/agentforce-dialect@2.9.8
    • @agentscript/compiler@2.6.9
    • @agentscript/language@2.5.4
    • @agentscript/parser@4.0.1
    • @agentscript/types@0.2.2

2.5.19

Patch Changes

  • Updated dependencies
    • @agentscript/compiler@2.4.18
    • @agentscript/language@2.4.10
    • @agentscript/agentforce-dialect@2.7.13

2.5.18

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.9
    • @agentscript/compiler@2.4.17
    • @agentscript/agentforce-dialect@2.7.12
    • @agentscript/parser@3.0.6

2.5.17

Patch Changes

  • @agentscript/agentforce-dialect@2.7.11
  • @agentscript/compiler@2.4.16

2.5.16

Patch Changes

  • Updated dependencies
    • @agentscript/compiler@2.4.15

2.5.15

Patch Changes

  • Disallow supervision tools with hyper-clf
  • Updated dependencies
    • @agentscript/compiler@2.4.14

2.5.14

Patch Changes

  • Updated dependencies
    • @agentscript/compiler@2.4.13

2.5.13

Patch Changes

  • Updated dependencies
    • @agentscript/compiler@2.4.12

2.5.12

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.7
    • @agentscript/agentforce-dialect@2.7.10
    • @agentscript/compiler@2.4.11

2.5.11

Patch Changes

  • @agentscript/parser@3.0.5
  • @agentscript/agentforce-dialect@2.7.9
  • @agentscript/compiler@2.4.10
  • @agentscript/language@2.4.6

2.5.10

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.6
    • @agentscript/agentforce-dialect@2.7.8
    • @agentscript/compiler@2.4.9

2.5.9

Patch Changes

  • Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
  • Updated dependencies
    • @agentscript/agentforce-dialect@2.7.7
    • @agentscript/compiler@2.4.8
    • @agentscript/language@2.4.5
    • @agentscript/parser@3.0.4
    • @agentscript/types@0.2.1

2.5.8

Patch Changes

  • Set default values from references during compilation
  • Updated dependencies
    • @agentscript/compiler@2.4.7

2.5.7

Patch Changes

  • @agentscript/parser@3.0.3
  • @agentscript/agentforce-dialect@2.7.6
  • @agentscript/compiler@2.4.6
  • @agentscript/language@2.4.4

2.5.6

Patch Changes

  • Router nodes can only include transitions
  • Updated dependencies
    • @agentscript/compiler@2.4.5
    • @agentscript/agentforce-dialect@2.7.5

2.5.5

Patch Changes

  • Revert rename (tool_definitions back to actions, tools back to actions in reasoning blocks). Add support for discriminant-based polymorphic variants via .discriminant() on block factories. Refactor block.ts into focused modules (block-factory, named-block-factory, typed-map-factory, collection-block-factory, factory-utils). Fix variant type propagation through InferFieldType and collection factories. Improve comment attachment parity with tree-sitter parser.
  • Updated dependencies
    • @agentscript/language@2.4.4
    • @agentscript/agentforce-dialect@2.7.4
    • @agentscript/compiler@2.4.4
    • @agentscript/parser@3.0.2

2.5.4

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.3
    • @agentscript/agentforce-dialect@2.7.3
    • @agentscript/compiler@2.4.3

2.5.3

Patch Changes

  • SOMA multi-line string language support
  • Updated dependencies
    • @agentscript/agentforce-dialect@2.7.2
    • @agentscript/language@2.4.2
    • @agentscript/compiler@2.4.2

2.5.2

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.1
    • @agentscript/compiler@2.4.1
    • @agentscript/agentforce-dialect@2.7.1
    • @agentscript/parser@3.0.1

2.5.1

Patch Changes

  • Updated dependencies
    • @agentscript/agentforce-dialect@2.7.0
    • @agentscript/compiler@2.4.1

2.5.0

Minor Changes

  • New features (2026-03-31)

Patch Changes

  • Updated dependencies
    • @agentscript/agentforce-dialect@2.6.0
    • @agentscript/compiler@2.3.0
    • @agentscript/language@2.4.0
    • @agentscript/parser@3.0.0
    • @agentscript/types@0.2.0

2.4.4

Patch Changes

  • Updated dependencies
    • @agentscript/agentforce-dialect@2.5.4
    • @agentscript/compiler@2.2.6

2.4.3

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.3.3
    • @agentscript/compiler@2.2.5
    • @agentscript/agentforce-dialect@2.5.3

2.4.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.
  • Updated dependencies
    • @agentscript/language@2.3.2
    • @agentscript/agentforce-dialect@2.5.2
    • @agentscript/compiler@2.2.4

2.4.1

Patch Changes

  • Updated dependencies
    • @agentscript/agentforce-dialect@2.5.1
    • @agentscript/compiler@2.2.3

2.4.0

Minor Changes

  • support for generatePromptResponse:// prefix in URI schema

Patch Changes

  • Updated dependencies
    • @agentscript/agentforce-dialect@2.5.0
    • @agentscript/compiler@2.2.2

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/types as 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/compiler@2.2.1
    • @agentscript/agentforce-dialect@2.4.1

2.3.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/compiler@2.2.0
    • @agentscript/language@2.3.0

2.2.0

Minor Changes

  • Add target property for connected agent blocks, compile to updated schema

Patch Changes

  • Updated dependencies
    • @agentscript/agentforce-dialect@2.3.0
    • @agentscript/compiler@2.1.0

2.1.16

Patch Changes

  • Updated dependencies
    • @agentscript/agentforce-dialect@2.2.13
    • @agentscript/compiler@2.0.17

2.1.15

Patch Changes

  • Updated dependencies
    • @agentscript/agentforce-dialect@2.2.12
    • @agentscript/compiler@2.0.16

2.1.14

Patch Changes

  • Fix emitComponent incorrectly prefixing ActionBlock kind to action entry names. Fix diagnostic deduplication by scoping __diagnostics on collection and typed-map nodes to own-level diagnostics only. Allow reserved words (e.g. date) when used as quoted keys.
  • Updated dependencies
    • @agentscript/language@2.2.11
    • @agentscript/agentforce-dialect@2.2.11
    • @agentscript/compiler@2.0.15

2.1.13

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.2.10
    • @agentscript/agentforce-dialect@2.2.10
    • @agentscript/compiler@2.0.14

2.1.12

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.2.9
    • @agentscript/agentforce-dialect@2.2.9
    • @agentscript/compiler@2.0.13

2.1.11

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.2.8
    • @agentscript/agentforce-dialect@2.2.8
    • @agentscript/compiler@2.0.12

2.1.10

Patch Changes

  • Move WASM sourceMappingURL stripping from runtime to build time so the custom section is removed once during the build rather than on every initialization.

2.1.9

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/agentforce-dialect@2.2.7
    • @agentscript/compiler@2.0.11

2.1.8

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
    • @agentS...
Read more

@sf-agentscript/agentforce-dialect@2.13.4

10 Jun 18:45
58ac3b8

Choose a tag to compare

@agentscript/agentforce-dialect

2.9.8

Patch Changes

  • d01c76b: Fix publish: rewrite @agentscript/*@sf-agentscript/* in dist/ and src/, not just package.json.

    Previously, scripts/publish.mjs only rewrote package.json files at publish time. The compiled JavaScript in dist/ and the shipped TypeScript in src/ still contained import ... from '@agentscript/*', so consumers installing @sf-agentscript/* packages from npm hit ERR_MODULE_NOT_FOUND: Cannot find package '@agentscript/...' at runtime.

    scripts/publish.mjs now also rewrites .js, .mjs, .cjs, .ts, .tsx, .cts, .mts, and .map files inside each package's dist/ and src/ directories, so published artifacts resolve cleanly under the @sf-agentscript scope.

  • Updated dependencies [d01c76b]

    • @agentscript/agentscript-dialect@2.5.20
    • @agentscript/language@2.5.4
    • @agentscript/types@0.2.2

2.7.13

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.10
    • @agentscript/agentscript-dialect@2.5.13

2.7.12

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.9
    • @agentscript/agentscript-dialect@2.5.12

2.7.11

Patch Changes

  • Updated dependencies
    • @agentscript/agentscript-dialect@2.5.11

2.7.10

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.7
    • @agentscript/agentscript-dialect@2.5.10

2.7.9

Patch Changes

  • @agentscript/agentscript-dialect@2.5.9
  • @agentscript/language@2.4.6

2.7.8

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.6
    • @agentscript/agentscript-dialect@2.5.8

2.7.7

Patch Changes

  • Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
  • Updated dependencies
    • @agentscript/agentscript-dialect@2.5.7
    • @agentscript/language@2.4.5
    • @agentscript/types@0.2.1

2.7.6

Patch Changes

  • @agentscript/agentscript-dialect@2.5.6
  • @agentscript/language@2.4.4

2.7.5

Patch Changes

  • Updated dependencies
    • @agentscript/agentscript-dialect@2.5.5

2.7.4

Patch Changes

  • Revert rename (tool_definitions back to actions, tools back to actions in reasoning blocks). Add support for discriminant-based polymorphic variants via .discriminant() on block factories. Refactor block.ts into focused modules (block-factory, named-block-factory, typed-map-factory, collection-block-factory, factory-utils). Fix variant type propagation through InferFieldType and collection factories. Improve comment attachment parity with tree-sitter parser.
  • Updated dependencies
    • @agentscript/language@2.4.4
    • @agentscript/agentscript-dialect@2.5.4

2.7.3

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.3
    • @agentscript/agentscript-dialect@2.5.3

2.7.2

Patch Changes

  • SOMA multi-line string language support
  • Updated dependencies
    • @agentscript/agentscript-dialect@2.5.2
    • @agentscript/language@2.4.2

2.7.1

Patch Changes

  • Add wildcard additional_parameter__* support so arbitrary config fields matching the prefix are accepted without explicit schema entries. Introduce a dedicated StartAgentBlock type distinct from SubagentBlock for proper type discrimination. Simplify the parser-javascript lexer.
  • Updated dependencies
    • @agentscript/language@2.4.1
    • @agentscript/agentscript-dialect@2.5.1

2.7.0

Minor Changes

  • Add dedicated StartAgentBlock type distinct from SubagentBlock so that start_agent blocks produce a unique __kind for type discrimination. Refactor shared subagent fields into a common base and update the compiler's ParsedTopicLike union to include the new type.

Patch Changes

  • Updated dependencies
    • @agentscript/agentscript-dialect@2.5.0

2.6.0

Minor Changes

  • New features (2026-03-31)

Patch Changes

  • Updated dependencies
    • @agentscript/agentscript-dialect@2.4.0
    • @agentscript/language@2.4.0
    • @agentscript/types@0.2.0

2.5.4

Patch Changes

  • Temporarily remove the deprecated notice from the topic block keyword while migration is in progress.

2.5.3

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.3.3
    • @agentscript/agentscript-dialect@2.3.3

2.5.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.
  • Updated dependencies
    • @agentscript/language@2.3.2
    • @agentscript/agentscript-dialect@2.3.2

2.5.1

Patch Changes

  • Add support for context block in AFScript, compile to context. context block supports memory block

2.5.0

Minor Changes

  • support for generatePromptResponse:// prefix in URI schema

2.4.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/types as 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/language@2.3.1
    • @agentscript/agentscript-dialect@2.3.1

2.4.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/language@2.3.0

2.3.0

Minor Changes

  • Add target property for connected agent blocks, compile to updated schema

2.2.13

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.

2.2.12

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.

2.2.11

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.2.11
    • @agentscript/agentscript-dialect@2.2.11

2.2.10

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.2.10
    • @agentscript/agentscript-dialect@2.2.10

2.2.9

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.2.9
    • @agentscript/agentscript-dialect@2.2.9

2.2.8

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.2.8
    • @agentscript/agentscript-dialect@2.2.8

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.
  • Updated dependencies [86b39c2]
    • @agentscript/language@2.2.7
    • @agentscript/agentscript-dialect@2.2.7

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.
  • Updated dependencies
    • @agentscript/language@2.2.6
    • @agentscript/agentscript-dialect@2.2.6

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.
  • Updated dependencies
    • @agentscript/language@2.2.5
    • @agentscript/agentscript-dialect@2.2.5

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.
  • Updated dependencies
    • @agentscript/language@2.2.4
    • @agentscript/agentscript-dialect@2.2.4

2.2.3

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.2.3
    • @agentscript/agentscript-dialect@2.2.3

2.2.2

Patch Changes

  • Refactor block system to introduce CollectionBlock as a first-class field type, replacing the dual NamedBlock/NamedFieldType pattern. NamedBlo...
Read more

@sf-agentscript/agentfabric-dialect@0.4.0

10 Jun 18:45
58ac3b8

Choose a tag to compare

Breaking Changes

  • Redesigned the echo node around A2A v1 task-update events. The single kind: "a2a:response" variant is replaced by two event variants:

    • a2a:status_update_event — sets the task state (required; one of the A2A v1 TASK_STATE_* values) with an optional message.
    • a2a:artifact_update_event — emits an artifact (required) with optional append and lastChunk flags.

    The base task and artifacts fields and the a2a.task namespaced function have been removed. Flows using kind: "a2a:response", task:, artifacts:, or a2a.task(...) must migrate to the new event variants.

Minor Changes

  • Added the terminal-requires-status-update lint rule: every terminal branch in a graph must reach an a2a:status_update_event echo that sets a terminal state (TASK_STATE_COMPLETED, TASK_STATE_FAILED, or TASK_STATE_CANCELED). The echo need not be the leaf node.
  • Added the echo-invalid-state lint rule, which validates that an a2a:status_update_event echo's state is a known A2A v1 task state.
  • Exported A2A_TASK_STATES and A2A_TERMINAL_STATES from the schema for shared use across the schema, compiler, and linter.
  • Removed the echo-task-or-message-required rule, which no longer applies under the new event model.

@sf-agentscript/agentfabric-dialect@0.1.30

08 Jun 18:40
cf38657

Choose a tag to compare

@agentscript/agentfabric-dialect

0.1.24

Patch Changes

  • d01c76b: Fix publish: rewrite @agentscript/*@sf-agentscript/* in dist/ and src/, not just package.json.

    Previously, scripts/publish.mjs only rewrote package.json files at publish time. The compiled JavaScript in dist/ and the shipped TypeScript in src/ still contained import ... from '@agentscript/*', so consumers installing @sf-agentscript/* packages from npm hit ERR_MODULE_NOT_FOUND: Cannot find package '@agentscript/...' at runtime.

    scripts/publish.mjs now also rewrites .js, .mjs, .cjs, .ts, .tsx, .cts, .mts, and .map files inside each package's dist/ and src/ directories, so published artifacts resolve cleanly under the @sf-agentscript scope.

  • Updated dependencies [d01c76b]

    • @agentscript/agentscript-dialect@2.5.20
    • @agentscript/language@2.5.4

0.1.8

Breaking Changes

  • Renamed fabric_headers to http_headers on action_definitions entries and in reasoning with bindings (e.g. with http_headers = {...}). The old name is no longer accepted.

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.7
    • @agentscript/agentscript-dialect@2.5.10

0.1.7

Patch Changes

  • @agentscript/agentscript-dialect@2.5.9
  • @agentscript/language@2.4.6

0.1.6

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.6
    • @agentscript/agentscript-dialect@2.5.8

0.1.5

Patch Changes

  • Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes
  • Updated dependencies
    • @agentscript/agentscript-dialect@2.5.7
    • @agentscript/language@2.4.5

0.1.4

Patch Changes

  • @agentscript/agentscript-dialect@2.5.6
  • @agentscript/language@2.4.4

0.1.3

Patch Changes

  • Updated dependencies
    • @agentscript/agentscript-dialect@2.5.5

0.1.2

Patch Changes

  • Revert rename (tool_definitions back to actions, tools back to actions in reasoning blocks). Add support for discriminant-based polymorphic variants via .discriminant() on block factories. Refactor block.ts into focused modules (block-factory, named-block-factory, typed-map-factory, collection-block-factory, factory-utils). Fix variant type propagation through InferFieldType and collection factories. Improve comment attachment parity with tree-sitter parser.
  • Updated dependencies
    • @agentscript/language@2.4.4
    • @agentscript/agentscript-dialect@2.5.4

0.1.1

Patch Changes

  • Updated dependencies
    • @agentscript/language@2.4.3
    • @agentscript/agentscript-dialect@2.5.3

@sf-agentscript/types@0.2.1

08 May 18:55
1e6091f

Choose a tag to compare

Patch Changes

  • Lint for connected subagents, improve var linting, disallow LLM inputs in router nodes

@sf-agentscript/parser@4.0.0

08 May 18:55
1e6091f

Choose a tag to compare

@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