Commit graph

505 commits

Author SHA1 Message Date
buzz-lightsnack-2007
5e0d4bb8e4 properly test for matching website, including via RegEx 2024-04-15 22:22:30 +08:00
buzz-lightsnack-2007
a444ff2d34 make sure that the product details are loaded only when the website load is to complete
so as to avoid incomplete data from being scraped
2024-04-15 15:59:35 +08:00
buzz-lightsnack-2007
68636f4770 don't log the contents (debugging) 2024-04-15 15:56:34 +08:00
buzz-lightsnack-2007
0059314655 And the fate of /gui is sealed
Make sure that the proper files that are not in `/gui` are loaded.
2024-04-15 15:52:21 +08:00
buzz-lightsnack-2007
527d7b6835 changed alerts to the logging 2024-04-15 15:42:50 +08:00
buzz-lightsnack-2007
35e208b61d change the location of the image 2024-04-15 15:32:10 +08:00
buzz-lightsnack-2007
ffa0a1b9bf change reading location for texts 2024-04-15 15:31:55 +08:00
buzz-lightsnack-2007
00e37a229d use a more efficient for loop and change CSS paths 2024-04-15 15:31:16 +08:00
buzz-lightsnack-2007
71c988fd52 move all icons into a different folder 2024-04-15 15:30:45 +08:00
buzz-lightsnack-2007
6451dfd065 move files 2024-04-15 15:24:40 +08:00
buzz-lightsnack-2007
ec43576519 foreshadowing by ignoring files
Move files around once more to simplify the structure
2024-04-15 15:20:11 +08:00
buzz-lightsnack-2007
a8324663bc use a for each loop 2024-04-15 15:17:08 +08:00
buzz-lightsnack-2007
429e5bd852 put net.js inside a proper module 2024-04-15 15:16:53 +08:00
buzz-lightsnack-2007
b5bcb59de2 relocate windowman to be in /scripts/GUI 2024-04-15 15:16:40 +08:00
buzz-lightsnack-2007
9e164cabcc make sure to save the product 2024-04-15 14:46:48 +08:00
buzz-lightsnack-2007
fba38ba823 Revert gemini-pro-vision to use gemini-pro
An error 400 always occurs through gemini-pro-vision, so gemini-pro might work better.

There's no need to change the message structure.
2024-04-15 14:25:57 +08:00
buzz-lightsnack-2007
beca6c6b9c properly return data field name data 2024-04-15 14:17:45 +08:00
buzz-lightsnack-2007
8cb7537463 add function to analyze data as part of processing 2024-04-15 14:17:13 +08:00
buzz-lightsnack-2007
40e4818c67 fix syntax in determining type 2024-04-15 14:16:32 +08:00
buzz-lightsnack-2007
66a713700a remove function
It doesn't belong since it has already been copied elsewhere
2024-04-15 14:16:14 +08:00
buzz-lightsnack-2007
3cad442a40 rename watchman to watch
for simplicity
2024-04-15 14:15:40 +08:00
buzz-lightsnack-2007
c03d7521f3 prepare to move strings to the /scripts folder 2024-04-15 13:52:42 +08:00
buzz-lightsnack-2007
9dfdb3f44b move scripts for non-extension pages 2024-04-15 13:31:39 +08:00
buzz-lightsnack-2007
4d20cdec8d Add the AI prompt and parsing improvements
Merge branch "development-ai" into development
2024-04-15 13:24:56 +08:00
buzz-lightsnack-2007
69949096b7 Use Gemini Pro Vision to support images 2024-04-15 13:22:21 +08:00
buzz-lightsnack-2007
13fc80d845 prepare the injector
Will work in the windowman; will not be placed in the processor
2024-04-14 23:24:34 +08:00
buzz-lightsnack-2007
e21820576e call the external processor 2024-04-14 23:24:04 +08:00
buzz-lightsnack-2007
08b10746b5 handle the processing in another module 2024-04-14 23:23:14 +08:00
buzz-lightsnack-2007
f0cb206a89 specify that it is meant to be used externally 2024-04-14 23:22:06 +08:00
buzz-lightsnack-2007
1b83298c76 fix the structure returned by search() 2024-04-14 22:30:28 +08:00
buzz-lightsnack-2007
90eb60b59a address returned filters 2024-04-14 22:18:56 +08:00
buzz-lightsnack-2007
9f9335e248 fix accessing data prior to scraping 2024-04-14 21:33:11 +08:00
buzz-lightsnack-2007
1fed10dc9e specify local search 2024-04-14 19:14:25 +08:00
buzz-lightsnack-2007
7c4aeba011 use a more descriptive file structure 2024-04-14 19:03:08 +08:00
buzz-lightsnack-2007
a61bdac6b6 generative part is in blob 2024-04-14 18:59:23 +08:00
buzz-lightsnack-2007
2809a15738 return the value when the forget is completed 2024-04-14 18:07:07 +08:00
buzz-lightsnack-2007
6dd983fb78 change the prompt for the URL injection 2024-04-14 18:06:32 +08:00
buzz-lightsnack-2007
760d7e0f69 fix non-deleting nature of data equivalent to false 2024-04-14 18:03:40 +08:00
buzz-lightsnack-2007
569bcfbde2 update the condition in checking valid entry 2024-04-14 17:26:08 +08:00
buzz-lightsnack-2007
f4743908b4 add function to fix updater when update interval is changed 2024-04-14 13:24:53 +08:00
buzz-lightsnack-2007
dd83ba45fe ensure reading from synced settings 2024-04-14 13:23:47 +08:00
buzz-lightsnack-2007
c24ba38ff6 added injection target msg 2024-04-14 13:08:01 +08:00
buzz-lightsnack-2007
afd7fe1ee8 fix filter removal 2024-04-14 13:07:21 +08:00
buzz-lightsnack-2007
2ddf2876cd accomodate deleted files in search result display 2024-04-14 13:01:53 +08:00
buzz-lightsnack-2007
7eb0b86640 fix import method to support service worker 2024-04-14 13:01:12 +08:00
buzz-lightsnack-2007
cd0384c3d1 move the search function away to another module
from windowman.sync(), the module is moved into the file windowman.search.js
2024-04-14 10:16:06 +08:00
buzz-lightsnack-2007
0f4f2f58f1 address the inability to recall when undecided
The issue appears to be with a modified DATA_NAME after using it. By not directly using it, it can be mitigated.
2024-04-14 10:11:59 +08:00
buzz-lightsnack-2007
82a8017b5d assume that the origin error is fixed 2024-04-13 23:39:01 +08:00
buzz-lightsnack-2007
7ecbc84aa5 improve the comments 2024-04-13 23:34:45 +08:00
buzz-lightsnack-2007
78bed4dd0c increase efficiency
an attempt to clear up the issue when `CLOUD = 0`
2024-04-13 23:34:11 +08:00