@elyracode/coding-agent 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -1
- package/dist/core/agent-session.d.ts +1 -1
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +3 -3
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/compaction/compaction.d.ts +2 -2
- package/dist/core/compaction/compaction.d.ts.map +1 -1
- package/dist/core/compaction/compaction.js +21 -1
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +2 -0
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/memory.d.ts +1 -1
- package/dist/core/memory.d.ts.map +1 -1
- package/dist/core/memory.js.map +1 -1
- package/dist/core/smart-router.d.ts +1 -1
- package/dist/core/smart-router.d.ts.map +1 -1
- package/dist/core/smart-router.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +2 -2
- package/examples/extensions/custom-provider-gitlab-duo/package.json +2 -2
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +2 -2
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [
|
|
3
|
+
## [0.5.5] - 2026-05-14
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- `estimateTokens` now caches results per message in a WeakMap, avoiding redundant token recomputation for immutable messages across compaction checks
|
|
7
|
+
- `ExtensionRunner.emitContext` skips `structuredClone` entirely when no extension has registered a context handler
|
|
8
|
+
- Agent session uses `agent.appendMessage()` instead of mutating `agent.state.messages` directly
|
|
4
9
|
|
|
5
10
|
## [0.5.4] - 2026-05-14
|
|
6
11
|
|
|
@@ -281,7 +281,7 @@ export declare class AgentSession {
|
|
|
281
281
|
/** Whether compaction or branch summarization is currently running */
|
|
282
282
|
get isCompacting(): boolean;
|
|
283
283
|
/** All messages including custom types like BashExecutionMessage */
|
|
284
|
-
get messages(): AgentMessage[];
|
|
284
|
+
get messages(): readonly AgentMessage[];
|
|
285
285
|
/** Current steering mode */
|
|
286
286
|
get steeringMode(): "all" | "one-at-a-time";
|
|
287
287
|
/** Current follow-up mode */
|