Skip to content

Commit 41290d2

Browse files
shetzelclaude
andauthored
chore(vscode): bump version to 2.4.0 (#21)
Update VSCode extension from 2.2.4 to 2.4.0 with comprehensive changelog documenting all user-facing changes from the internal sync. Major changes: - Add topic block deprecation warning - Add @voicecall context variable support - Add @utils.end_session tool support - Enhanced code completion with indentation-based fallback - New validation rules for routes, spread operators, and duplicates - Connection syntax updates (response_tools → response_actions) Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 794ca59 commit 41290d2

2 files changed

Lines changed: 71 additions & 1 deletion

File tree

packages/vscode/CHANGELOG.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,76 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
66

77
## [Unreleased]
88

9+
## [2.4.0] - 2026-5-1
10+
11+
### Added
12+
13+
- Support for `@VoiceCall` context variables for voice channel integrations.
14+
- Support for `@utils.end_session` as a callable tool to programmatically end agent sessions.
15+
- Enhanced code completion that works inside partially-typed `with` statements and uses indentation-based fallback for better accuracy.
16+
- Validation for `routes.when` expressions - now requires boolean-like expressions (comparisons, logical operators, or boolean literals).
17+
- New lint rule that flags spreading non-iterable literals (None, numbers, booleans, strings) which will fail at runtime.
18+
- Validation for duplicate `with` and `set` statements within the same scope.
19+
- Enhanced code snippets for collection blocks and enum types with example-based suggestions.
20+
21+
### Changed
22+
23+
- The `topic` block keyword now shows a deprecation warning suggesting to use `subagent` instead.
24+
- Connection `response_tools` renamed to `response_actions` throughout.
25+
- Connection instructions now use template-only syntax (`|` instead of `->`).
26+
- Renamed `action_definitions` to `actions` in AgentFabric dialect for consistency.
27+
- Removed the lint requirement that variables must be linked on connected agents.
28+
- Code completions for `reasoning.instructions` actions now correctly resolve action references.
29+
- LLM `kind` values now have canonical enum constraints for validation.
30+
31+
### Fixed
32+
33+
- Position range calculation for cursor-based operations now correctly handles boundary conditions.
34+
35+
### Changed
36+
37+
- Updated dependencies:
38+
- @agentscript/lsp-server@2.2.25
39+
- @agentscript/lsp@2.2.25
40+
- @agentscript/agentforce@2.5.31
41+
42+
## [2.2.4] - 2026-4-23
43+
44+
### Added
45+
46+
- Syntax support for connection inputs and structured response format definitions.
47+
- Validation for unbound connected subagent inputs.
48+
- Support for placeholder (stub) actions.
49+
- Commerce Cloud Shopper Agent custom subagent support.
50+
51+
### Fixed
52+
53+
- Syntax highlighting now works correctly with light themes and third-party color themes.
54+
- Special character escaping in string literals during compilation.
55+
56+
### Changed
57+
58+
- Removed `unused-variable` lint warnings (now shown as informational diagnostics).
59+
- Removed non-existent `@utils.supervise` from language completions.
60+
- Updated dependencies:
61+
- @agentscript/agentforce@2.5.19
62+
- @agentscript/lsp-server@2.2.14
63+
64+
## [2.2.3] - 2026-4-14
65+
66+
### Added
67+
68+
- Syntax support for `on_init` and `on_exit` properties on custom subagents.
69+
- Syntax support for the spread operator (`*expr`) to unpack arrays in function calls and list literals. For example: `fn(*@variables.items)` or `[*@variables.existing, new_item]`.
70+
- Enhanced validation and code completion for custom subagent schemas.
71+
72+
### Changed
73+
74+
- Action parameter type mismatches now appear as warnings instead of errors, allowing for more flexible type handling.
75+
- Updated dependencies:
76+
- @agentscript/agentforce@2.5.19
77+
- @agentscript/lsp-server@2.2.14
78+
979
## [2.2.2] - 2026-4-10
1080

1181
### Added

packages/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@agentscript/vscode",
33
"displayName": "Agent Script",
44
"description": "VS Code extension for Agent Script language support",
5-
"version": "2.2.4",
5+
"version": "2.4.0",
66
"private": true,
77
"publisher": "Salesforce",
88
"license": "Apache-2.0",

0 commit comments

Comments
 (0)