Commit Graph

425 Commits

Author SHA1 Message Date
Xiaohan-Tian 61fe39eb05 Merge pull request #55 from KGAudioLab/feat/2026-06-30-misc
Feat/2026 06 30 misc
2026-07-04 23:42:05 -07:00
Xiaohan-Tian 722ba685eb fix: persist separator results until project switch 2026-07-04 23:41:35 -07:00
Xiaohan-Tian a8c68d97ed fix: tempo-driven audio region resizing and playhead clamping 2026-07-04 21:04:42 -07:00
GitHub Actions Bot f9b4cf8fbd chore(release): 0.20.5-build.20260702
Generated release with automated versioning system.

Release type: patch

Build date: 2026-07-02 21:22:44 UTC

🤖 Generated with automated release workflow
2026-07-02 21:22:44 +00:00
Xiaohan-Tian eca0fbd5ae Merge pull request #54 from KGAudioLab/feat/2026-06-30-misc
Feat/2026 06 30 misc
2026-07-02 14:21:48 -07:00
Xiaohan-Tian 09dd717262 fix: close Settings after successful saved project load 2026-07-02 14:18:33 -07:00
Xiaohan-Tian 86ec455dfe feat: cache soundfont MP3s in OPFS and add cache controls 2026-07-02 14:11:25 -07:00
Xiaohan-Tian 4f11fe8e25 feat: added region color customization feature 2026-07-01 22:31:35 -07:00
GitHub Actions Bot e626e1fc76 chore(release): 0.20.4-build.20260613
Generated release with automated versioning system.

Release type: patch

Build date: 2026-06-13 00:24:59 UTC

🤖 Generated with automated release workflow
2026-06-13 00:24:59 +00:00
Xiaohan-Tian fbdba021cb Merge pull request #53 from KGAudioLab/feat/2026-06-01-enhance-ai-agent
Feat/2026 06 01 enhance ai agent
2026-06-12 17:24:06 -07:00
Xiaohan-Tian 30d8c74c17 fix: playhead location offset issues in piano roll window; z-index issue in bar-numbers and top-left-spacer 2026-06-12 17:23:39 -07:00
Xiaohan-Tian ef7ff08f4c fix: added missing i18n labels 2026-06-12 12:03:32 -07:00
Xiaohan-Tian 3ba8f81c87 fix: preserve 7sus4 chord canonicalization for global chord MIDI import 2026-06-10 18:52:35 -07:00
Xiaohan-Tian 6bfce38c79 fix: support extended chord symbols in chord-to-MIDI import 2026-06-09 18:46:33 -07:00
GitHub Actions Bot 3ea2a735e6 chore(release): 0.20.3-build.20260607
Generated release with automated versioning system.

Release type: patch

Build date: 2026-06-07 20:17:36 UTC

🤖 Generated with automated release workflow
2026-06-07 20:17:36 +00:00
Xiaohan-Tian 7af96629b9 Merge pull request #52 from KGAudioLab/feat/2026-06-01-enhance-ai-agent
Feat/2026 06 01 enhance ai agent
2026-06-07 13:16:49 -07:00
Xiaohan-Tian 6b9fe85e95 fix: minor UI adjustments 2026-06-07 13:13:37 -07:00
Xiaohan-Tian 94befcdd95 fix: audio track undo buffer rehydration 2026-06-07 13:06:34 -07:00
Xiaohan-Tian a76a8abb94 fix: support numeric track_id arguments across track tools 2026-06-06 17:27:04 -07:00
GitHub Actions Bot a47ca96db3 chore(release): 0.20.2-build.20260606
Generated release with automated versioning system.

Release type: patch

Build date: 2026-06-06 01:35:44 UTC

🤖 Generated with automated release workflow
2026-06-06 01:35:44 +00:00
Xiaohan-Tian b8d17f4fa0 Merge pull request #51 from KGAudioLab/feat/2026-06-01-enhance-ai-agent
Feat/2026 06 01 enhance ai agent
2026-06-05 18:34:47 -07:00
Xiaohan-Tian 8323e6218c fix: use raw streaming chat completions and keep readable preview stacks
Switch OpenAI-compatible streaming from chat.completions.stream()
to chat.completions.create({ stream: true }) and track finish_reason
from streamed chunks directly.

This avoids the SDK's final chat-completion reconstruction path,
which could throw in preview builds while processing agent streams.

Also keep function/class names and sourcemaps in production builds
to make preview stack traces easier to read.

This issue can randomly happen when using `google/gemma-4-31b-it` model via OpenRouter.

Original error stacktrace:
```
index-Bh7OJFcp.js:807 Error processing stream: kn: Cannot read properties of undefined (reading 'type')
    at Bb.qJ (index-Bh7OJFcp.js:780:4436)Caused by: TypeError: Cannot read properties of undefined (reading 'type')
    at _J (index-Bh7OJFcp.js:780:1713)
    at index-Bh7OJFcp.js:780:416
    at Array.map (<anonymous>)
    at R6e (index-Bh7OJFcp.js:780:408)
    at z6e (index-Bh7OJFcp.js:785:258)
    at Bb.By (index-Bh7OJFcp.js:781:4928)
    at Bb._createChatCompletion (index-Bh7OJFcp.js:781:1059)
    at async Bb._runChatCompletion (index-Bh7OJFcp.js:780:6759)
```
2026-06-05 18:34:26 -07:00
Xiaohan-Tian 2e27becaca fix: minor errors during compilation 2026-06-05 18:09:31 -07:00
GitHub Actions Bot 9e1a98cb6d chore(release): 0.20.1-build.20260606
Generated release with automated versioning system.

Release type: patch

Build date: 2026-06-06 00:55:57 UTC

🤖 Generated with automated release workflow
2026-06-06 00:55:57 +00:00
Xiaohan-Tian 98bcbc5b3e Merge pull request #50 from KGAudioLab/feat/2026-06-01-enhance-ai-agent
docs: updated readme files
2026-06-05 17:55:14 -07:00
Xiaohan-Tian 748cd78e05 docs: updated readme files 2026-06-05 17:54:54 -07:00
GitHub Actions Bot 096f917c7d chore(release): 0.20.0-build.20260606
Generated release with automated versioning system.

Release type: minor

Build date: 2026-06-06 00:54:11 UTC

🤖 Generated with automated release workflow
2026-06-06 00:54:11 +00:00
Xiaohan-Tian ebee595438 Merge pull request #49 from KGAudioLab/feat/2026-06-01-enhance-ai-agent
docs: updated readme files
2026-06-05 17:53:08 -07:00
Xiaohan-Tian 11cfcb7b17 docs: updated readme files 2026-06-05 17:52:43 -07:00
Xiaohan-Tian 30fe8999d4 Merge pull request #48 from KGAudioLab/feat/2026-06-01-enhance-ai-agent
Feat/2026 06 01 enhance ai agent
2026-06-05 17:51:21 -07:00
Xiaohan-Tian daef1db3c6 docs: updated readme files and help messages 2026-06-05 17:50:43 -07:00
Xiaohan-Tian c4f5d7b78e feat: added global key signature track, global chord progression track, global tempo(BPM) track, and global marker track related tools for AI Agent 2026-06-05 16:50:51 -07:00
Xiaohan-Tian 622dbbea83 feat: added tool write_chord_progression 2026-06-05 15:29:00 -07:00
Xiaohan-Tian 2e3f3623ea feat: added delete_track tool 2026-06-05 12:58:30 -07:00
Xiaohan-Tian 7d53a9cd82 feat: add instrument listing, track creation and update tools to AI agent 2026-06-04 23:14:15 -07:00
Xiaohan-Tian 8ee7ddac77 feat: add track-aware tool targeting and new agent tools, lifted the requirement of selection a MIDI region to use AI Agent
Introduces a shared `toolTargeting.ts` module that resolves the active MIDI
region/track from the user's current selection, enabling tools to operate on
the correct target without requiring explicit track IDs in most cases.

Adds two new read-only tools — `list_all_tracks` and
`get_user_selected_music_range_and_track` — so the agent can inspect
available tracks and the current selection context before acting.

Also refactors `AddNotesTool` to auto-create MIDI regions when no region
exists, refactors `RemoveNotesTool`, `ReadMusicTool`, and
`ReadChordProgressionTool` to use the new targeting helpers, adds a
`buildToolHistoryContent` hook to `BaseTool` for cleaner chat history
display, and updates system prompts and tests throughout.
2026-06-04 19:29:37 -07:00
Xiaohan-Tian 5c5a07b839 feat: separated efficient agent mode (lite mode) for small language models 2026-06-04 16:45:06 -07:00
Xiaohan-Tian a3a0f2f4ad feat: added conversation history feature 2026-06-03 22:56:05 -07:00
Xiaohan-Tian 5c6e1d69c5 fix: localize auto-compact threshold settings 2026-06-03 17:40:04 -07:00
Xiaohan-Tian 42fdcebd42 fix: use i18n strings for chatbox todo snapshot card 2026-06-03 17:09:54 -07:00
Xiaohan-Tian ad1e0c2aa8 feat: implemented confirmation mechanism for tool invokation 2026-06-03 17:05:42 -07:00
Xiaohan-Tian 414565ecc9 feat: sync translations 2026-06-02 23:44:05 -07:00
Xiaohan-Tian 528e4ca7f9 feat: persist global track visibility status and metronome status 2026-06-02 23:25:30 -07:00
Xiaohan-Tian 6b0de74acd refactor: added UI-only tool result summary to all the tools; move summary generation logic to tool's own ts file 2026-06-02 23:13:25 -07:00
Xiaohan-Tian 4bdd0d5ea7 feat: minor UI adjustments 2026-06-02 22:31:29 -07:00
Xiaohan-Tian 5aacf01457 feat: add agent todo tool and inline todo snapshot cards in chat 2026-06-02 21:52:44 -07:00
Xiaohan-Tian c1d9f4c9fb feat: add manual/auto conversation compaction and preserve full export history 2026-06-01 19:55:59 -07:00
GitHub Actions Bot 936fb461e3 chore(release): 0.19.0-build.20260531
Generated release with automated versioning system.

Release type: minor

Build date: 2026-05-31 20:17:05 UTC

🤖 Generated with automated release workflow
2026-05-31 20:17:05 +00:00
Xiaohan-Tian 4187711160 Merge pull request #47 from KGAudioLab/feat/2026-05-30-i18n-v1
Feat/2026 05 30 i18n v1
2026-05-31 13:16:21 -07:00
Xiaohan-Tian e3c609fe38 fix: minor UI issues 2026-05-31 13:08:50 -07:00