Files
insomnia/packages
Insomnia db2c2fe212 backport #10048 to release/13.0 (#10053)
* fix prompt

* refactor: implement app context methods via fetch bridge (#10034)

Replace stub app context methods (alert, dialog, prompt, getPath, clipboard operations, showSaveDialog) with actual implementations using the fetch bridge to the main process.

- Add 8 new entries to pluginToMainAPI in templating-worker-database.ts
- Update AppContext interface to use async methods (matching worker reality)
- Replace worker-side throws with fetchFromTemplateWorkerDatabase calls
- Update renderer-side app context to return promises

---------

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: Jay Wu <jay.wu@konghq.com>
2026-06-11 18:10:00 +08:00
..