dsh-agy-link 0.4.11 → 0.4.13
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 +20 -0
- package/dist/index.js +197 -127
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.13 (2026-08-21)
|
|
4
|
+
|
|
5
|
+
- **Fixed Multimodal Image Attachment Staging & Direct Disk Fallback.**
|
|
6
|
+
- **Dynamic Attachment Service Lookup**: Fixed Cordis proxy boundary issue where `(ctx as any).attachments` evaluated to `undefined` when not statically declared in `inject`; now resolves via `ctx.get('attachments')`.
|
|
7
|
+
- **Local Storage Direct Disk Fallback**: Added direct fallback to read from DSH's local content-addressed storage (`~/.dsh/attachments/v1/objects/<prefix>/<id>`), guaranteeing 100% reliable image byte extraction even if service bindings are uninitialized.
|
|
8
|
+
- **Explicit Vision Tool Directives**: Enhanced prompt staging lines to explicitly reference the `view_file` tool and absolute file path (`[image attached: "..." staged at ... Inspect it using the view_file tool with AbsolutePath: "..."]`), ensuring `agy` proactively inspects attached images even when the user sends an image without accompanying text.
|
|
9
|
+
|
|
10
|
+
## 0.4.12 (2026-08-21)
|
|
11
|
+
|
|
12
|
+
- **Adaptive Tool Dispatch for Both Standard / Native Mode and Code Mode.**
|
|
13
|
+
- Dynamically inspects `options.tools` on each model stream call.
|
|
14
|
+
- In **Code Mode** (`run_code` present in tools list): emits `run_code` program wrapping `tools['agy_tool'](...)` to conform to code-mode dispatch rules.
|
|
15
|
+
- In **Standard / Native Mode** (`agy_tool` / normal tools present): emits `agy_tool` directly with structured cursor arguments, eliminating `unknown tool "run_code"` and `unknown tool "agy_tool"` errors across all preset modes.
|
|
16
|
+
- **Fixed Primary Account Stale Token & Quota Sync on macOS Keychain.**
|
|
17
|
+
- `agy` 1.1.15+ on macOS persists active login credentials via `go-keyring` in the macOS Keychain (`service: "gemini"`, `account: "antigravity"`), leaving stale files in `~/.gemini/antigravity-cli/antigravity-oauth-token` when users switch accounts outside DSH.
|
|
18
|
+
- Added `readMacKeychainToken` to decode active `go-keyring-base64` credentials directly from macOS Keychain for the primary/system account.
|
|
19
|
+
- Live quota & user profile (`fetchUserInfo`) now always read the active Keychain token, immediately detecting account switches and syncing the correct email and quotas.
|
|
20
|
+
- **Auto-Invalidate Conversation Binding on Model Switch.**
|
|
21
|
+
- Switching models in the same DSH session now automatically drops the old agy `conversationId` binding, ensuring the prompt immediately executes with the new model without being locked to old agy conversation state.
|
|
22
|
+
|
|
3
23
|
## 0.4.11 (2026-08-21)
|
|
4
24
|
|
|
5
25
|
- **Fixed `Error: unknown tool "agy_tool": only run_code is callable directly` in DSH Code Mode.**
|