TidGi-Desktop/docs
linonetwo b677088a48 Expose TidGi services to $tw.tidgi and add types
Make TidGi IPC service proxies available inside the TiddlyWiki sandbox and provide typings for plugin authors. Added docs (docs/TidGiServiceAPI.md), bumped tidgi-shared to 0.1.2, and introduced shared type files (packages/tidgi-shared/src/{global.d.ts,tidgiGlobal.ts}) and tsconfig include for .d.ts files. Preload now exposes service via contextBridge and attaches it to $tw.tidgi.service (with DOMContentLoaded retry). Updated various wiki plugin files to use $tw.tidgi.service instead of window.service, adjusted worker-side service exports (no automatic global attach), and updated startNodeJSWiki to safely inject service into the wiki sandbox with proper typing. Added runtime TiddlyWiki type augmentations (src/types/tidgi-tw.d.ts). These changes ensure plugins running in the VM can reliably access typed service proxies.
2026-02-10 02:41:32 +08:00
..
environment Feat/Native AI Agent (#640) 2025-10-10 17:16:56 +08:00
features Fix/misc bug (#677) 2026-01-20 11:11:28 +08:00
images docs: more image of windows 2023-05-23 10:25:42 +08:00
internal Fix/misc bug (#677) 2026-01-20 11:11:28 +08:00
readme Feat/Native AI Agent (#640) 2025-10-10 17:16:56 +08:00
Development.md Fix/edit agent and several bugs (#670) 2025-12-15 17:33:59 +08:00
ErrorDuringRelease.md Fix/misc bug (#679) 2026-01-26 02:43:27 +08:00
ErrorDuringStart.md Fix/misc bug (#677) 2026-01-20 11:11:28 +08:00
MCP.md Fix/misc bug (#677) 2026-01-20 11:11:28 +08:00
Publish.md Feat/Native AI Agent (#640) 2025-10-10 17:16:56 +08:00
Release.md fix: macos intel build 2025-12-08 14:01:38 +08:00
Testing.md Fix/misc bug (#677) 2026-01-20 11:11:28 +08:00
TidGiServiceAPI.md Expose TidGi services to $tw.tidgi and add types 2026-02-10 02:41:32 +08:00
Translate.md Feat/mini window (#642) 2025-10-21 20:07:04 +08:00