TidGi-Desktop/scripts
lin onetwo 5cd8437e10
Feat/subwiki external attachment (#671)
* lint

* fix: Use macos-15 (Intel) for x64 builds to get correct dugite git binaries

* Refactor routing utilities and improve files/ external in sub-wiki

Moves routing utility functions to be exported via $tw.utils and updates type usage for better plugin integration. Adds support for excluding external attachments folders (configurable via $:/config/ExternalAttachments/WikiFolderToMove) from file watching. Updates build script to include new entry points and adjusts loader to use the correct module path. Adds and renames relevant .meta and type definition files.

* Add sub-wiki support for external file access

Introduces sub-wiki path management and updates file retrieval logic to search both main and sub-wiki external attachment folders, as configured by `$:/config/ExternalAttachments/WikiFolderToMove`. Adds documentation for sub-wiki features and ensures consistent file access and exclusion across main and sub-wikis.

* Update FileSystemAdaptor.routing.test.ts

* Update fix-location-info.ts

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: test

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-16 17:01:09 +08:00
..
afterPack.ts fix: macos intel build 2025-12-08 14:01:38 +08:00
beforeAsar.ts Feat/Native AI Agent (#640) 2025-10-10 17:16:56 +08:00
compilePlugins.mjs Feat/subwiki external attachment (#671) 2025-12-16 17:01:09 +08:00
developmentMkdir.ts Feat/allow watch fs change on git sync 2025-10-31 02:00:40 +08:00
start-e2e-app.ts Feat/allow watch fs change on git sync 2025-10-31 02:00:40 +08:00
startMockOpenAI.ts Feat/allow watch fs change on git sync 2025-10-31 02:00:40 +08:00
trimDugite.ts chore: Trim unused git commands from dugite to reduce package size 2025-12-07 13:31:59 +08:00