Commit graph

2811 commits

Author SHA1 Message Date
linonetwo
2a67921107 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.
2025-12-15 22:41:23 +08:00
linonetwo
693e5a19d1 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.
2025-12-15 21:56:12 +08:00
linonetwo
1219142631 fix: Use macos-15 (Intel) for x64 builds to get correct dugite git binaries 2025-12-15 15:44:04 +08:00
linonetwo
c648f34f3d lint 2025-12-15 15:43:56 +08:00
linonetwo
b70b4f4aa2 Update externalAPI.logging.test.ts 2025-12-15 15:24:54 +08:00
linonetwo
0f1b3a8c2e lint: fix 2025-12-15 01:08:57 +08:00
linonetwo
73790b33d9 fix: Keep i18n ally think these keys exist, otherwise it will delete them during "check usage" 2025-12-13 17:37:14 +08:00
linonetwo
22c7618a1e fix: don't preview not enabled prompt parts 2025-12-13 17:07:21 +08:00
linonetwo
e5dc4e3ffc feat: Auto-select the first file if none is selected 2025-12-13 14:11:19 +08:00
linonetwo
4853ec6061 chore: remove log 2025-12-13 12:57:15 +08:00
linonetwo
53674a8500 fix: click to open plugin config 2025-12-13 00:34:33 +08:00
linonetwo
bdd2496be2 fix: not able to open prompt editor by click prompt tree 2025-12-12 23:19:55 +08:00
linonetwo
c825dc5eab Revert Add 'Press Enter to confirm' to tag help texts 2025-12-12 17:11:57 +08:00
linonetwo
2694e01834 refactor: let sub wiki auto complete tag 2025-12-12 16:26:39 +08:00
linonetwo
45e4033926 feat: inform user to press enter on tag auto complete 2025-12-12 16:12:24 +08:00
linonetwo
59c9b4f80f fix: dont show system tag when adding sub wiki 2025-12-12 15:49:34 +08:00
linonetwo
df678e088c Add 'Press Enter to confirm' to tag help texts 2025-12-12 15:49:19 +08:00
linonetwo
73f518ef42 fix: workspace config change cause immediate main wiki restart 2025-12-12 15:40:30 +08:00
linonetwo
469bb2109a feat: directly enter edit mode 2025-12-12 02:41:55 +08:00
linonetwo
13daaa6d8a Create DragAndDrop.md 2025-12-12 01:35:54 +08:00
linonetwo
d767c9bce1 fix: drag 2025-12-12 01:32:41 +08:00
linonetwo
302deb213f fix: sorting of array 2025-12-12 00:17:23 +08:00
linonetwo
129574972a feat: better prompt sort 2025-12-11 01:01:11 +08:00
linonetwo
df57317aad fix: not loadin initial data 2025-12-10 21:03:48 +08:00
linonetwo
717c1a50d9 Update package.json 2025-12-10 20:32:02 +08:00
linonetwo
4169972094 fix: legacy usage 2025-12-10 20:31:59 +08:00
linonetwo
0bf3816d1c fix: provider config truncate user input when typing 2025-12-10 19:54:06 +08:00
linonetwo
a41bed5679 docs: usage of chrome mcp to contron during dev 2025-12-10 19:53:14 +08:00
linonetwo
8fa314c483 fix: monaco loading 2025-12-09 22:24:27 +08:00
linonetwo
0809995ae6 Add ContentLoading component and suspense fallback 2025-12-09 22:06:19 +08:00
linonetwo
d9ecf7c8f9 fix: i18n
fix: i18n

fix: wrong i18n structure

fix: empty i18n
2025-12-09 21:56:19 +08:00
linonetwo
fa02567d38 feat: load prompt from plugin in a wiki, let agent know what to do
based on https://github.com/TiddlyWiki/TiddlyWiki5/issues/9378
2025-12-08 23:09:45 +08:00
linonetwo
46b95cd65b refactor: simplify tool writing 2025-12-08 21:29:48 +08:00
linonetwo
b8a9bbcf3d fix: macos intel build 2025-12-08 14:01:38 +08:00
linonetwo
ea89bddcec v0.13.0-prerelease15 2025-12-08 02:07:57 +08:00
lin onetwo
cbf069bf0f
Fix/api config and git log support search (#668)
* refactor: each model config has provider infomation

* Update WatchFileSystemAdaptor.ts

* refactor: split edit workspace UI code

* feat: allow IgnoreSymlinks and default true to prevent error on old user's workspace with sub wiki

* fix: assign default value to ignoreSymlinks

* Update FileSystemAdaptor.routing.test.ts

* Update wiki

* feat: scroll loading and search git history

* feat: better git search

* lint

* fix: test

* Update WatchFileSystemAdaptor.ts

* Update index.tsx

* fix: changed test selector

* Update index.tsx
2025-12-08 02:05:31 +08:00
linonetwo
d47d2321a5 v0.13.0-prerelease14 2025-12-07 13:55:42 +08:00
linonetwo
9ba2d6851b fix: exclude linonetwo/watch-filesystem-adaptor on save-offline like tiddlywiki/filesystem 2025-12-07 13:55:27 +08:00
linonetwo
b65b4bb276 fix: wrong plugin path when wiki have node_modules 2025-12-07 13:53:09 +08:00
linonetwo
ed0aa3e7e0 chore: Trim unused git commands from dugite to reduce package size 2025-12-07 13:31:59 +08:00
linonetwo
34a8ddb840 v0.13.0-prerelease13 2025-12-07 13:12:46 +08:00
linonetwo
f23f4aad8a Update release.yml 2025-12-07 13:12:36 +08:00
linonetwo
da42ca1370 fix: wrong mac arch 2025-12-07 12:55:24 +08:00
linonetwo
3b1198d257 v0.13.0-prerelease12 2025-12-07 04:27:10 +08:00
linonetwo
34e4f72dca fix: git log color should follow theme 2025-12-07 04:26:53 +08:00
linonetwo
f8b212a09f fix: error
fixes #666
2025-12-07 03:50:42 +08:00
lin onetwo
c2be8e4186
Fix/sub wiki tag tree (#667)
* fix: different out path on macos

* fix: let go hibernation promise, so it's faster on macos

* log marker [test-id-TIDGI_MINI_WINDOW_CREATED]

* Skip registerShortcutByKey  in test

* fix: mini window on mac

* Remove useless log marker

* Update handleAttachToTidgiMiniWindow.ts

* fix: log marker check all log files

* lint

* fix: open in new window now showing wiki title

* Update package.json

* feat: basic load and save to sub wiki using in-tag-tree-of

* fix: load sub-wiki content and prevent echo

* fix: test and ui logic

* test: refactor subwiki test logic to a file

* refactor: shorten steps by using dedicated step, and test underlying micro steps

* fix: review

* refactor: remove outdated method signature

* test: unit cover adaptor subwiki routing

* Update FileSystemAdaptor.routing.test.ts

* fix: merge issue
2025-12-07 03:31:34 +08:00
lin onetwo
8a84d9b468
rename: handler -> agent framework; plugin -> tool
rename: handler -> agent framework; plugin -> tool

lint

refactor: more rename

further rename
2025-11-27 15:33:30 +08:00
lin onetwo
8963527b41 v0.13.0-prerelease11 2025-11-25 00:10:55 +08:00
lin onetwo
b4ebaa66df
Fix/menu sync (#659)
* fix: sync not config remote

* fix: git worker no log

* Update src/services/git/registerMenu.ts

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

* Update menuItems.ts

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-25 00:10:19 +08:00