Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from KudoAI:main #12

Open
wants to merge 1,903 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1903 commits
Select commit Hold shift + click to select a range
2aa62fb
Added manual timeout to `processStreamText()` to handle missing `done…
kudo-sync-bot Jan 15, 2025
2580c9d
Condensed stream done check ↞ [auto-sync from https://github.com/adam…
kudo-sync-bot Jan 15, 2025
a6d964e
Added Chromium check + `clearTimeout()` to timeout handling in stream…
kudo-sync-bot Jan 15, 2025
8ded408
Merged lines in `handleProcessCompletion()` ↞ [auto-sync from https:/…
kudo-sync-bot Jan 15, 2025
846aef4
Abstracted `prompts.create()` for easier maintenance/scalability ↞ [a…
kudo-sync-bot Jan 15, 2025
8c3dc36
Added concurrency error to ToYaml.com fail flags ↞ [auto-sync from ht…
kudo-sync-bot Jan 15, 2025
65f30ee
Fixed `apis['ToYaml.com']` mis-structured ↞ [auto-sync from https://g…
kudo-sync-bot Jan 15, 2025
cdb522d
Added `modsToApply` fallback to `prompts.create()` for graceful handl…
kudo-sync-bot Jan 16, 2025
e49c6b0
Stripped trailing dots from prompt elems, tweaked `prompts.create()` …
kudo-sync-bot Jan 16, 2025
9353770
Renamed `loopBias` prompt mod type to `variety` for consistency ↞ [au…
kudo-sync-bot Jan 16, 2025
68876df
Replaced regex alternation w/ more efficient char class ↞ [auto-sync …
kudo-sync-bot Jan 16, 2025
78c0c1a
Refactored `prompts.relatedQueries.mods` to always be array ↞ [auto-s…
kudo-sync-bot Jan 16, 2025
a0e9cbd
Added `upstream_error` to FREEGPT fail flags ↞ [auto-sync from https:…
kudo-sync-bot Jan 16, 2025
20bcfbd
Removed no-longer used `menu-entry` IDs from toggle selectors ↞ [auto…
kudo-sync-bot Jan 16, 2025
abf6c14
Centralized augment methods into `prompts` ↞ [auto-sync from https://…
kudo-sync-bot Jan 16, 2025
90ed490
Restored AIchatOS to `apis` deleted for testing ↞ [auto-sync from htt…
kudo-sync-bot Jan 16, 2025
07e0e20
Changed Regenerate button click to not hide current reply ↞ [auto-syn…
kudo-sync-bot Jan 16, 2025
8484458
Added `target: '_self'` attr to footer anchor for proper modal open ↞…
kudo-sync-bot Jan 16, 2025
65a82e9
Removed unneeded `msgChain.push()` from `show.reply.standbyBtnClickHa…
kudo-sync-bot Jan 16, 2025
3c6bdec
Replaced `apis` init w/ remote JSON fetch for easier maintenance ↞ [a…
kudo-sync-bot Jan 16, 2025
7a76b64
Changed Debug Mode to Dev Mode ↞ [auto-sync from https://github.com/a…
kudo-sync-bot Jan 17, 2025
cccde4f
Bumped `app.latestResourceCommitHash` ↞ [auto-sync from https://githu…
kudo-sync-bot Jan 17, 2025
99b5f33
Fixed GPTforLove update made replies always Chinese ↞ [auto-sync from…
kudo-sync-bot Jan 17, 2025
b8f70e5
Bumped ai-chat-apis.json ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Jan 17, 2025
a2a6de2
Refined language augment to be more effective ↞ [auto-sync from https…
kudo-sync-bot Jan 17, 2025
30fc4f8
Updated download/update URLs ↞ [auto-sync from https://github.com/ada…
kudo-sync-bot Jan 18, 2025
9950c4b
Replaced Review links w/ Support ones ↞ [auto-sync from https://githu…
kudo-sync-bot Jan 18, 2025
39d76a5
Deleted dead GF shields ↞ [auto-sync from https://github.com/adamlui/…
kudo-sync-bot Jan 18, 2025
1c37da1
Enclosed Install/Help button alts in brackets for readability ↞ [auto…
kudo-sync-bot Jan 18, 2025
65dc545
Updated Install links ↞ [auto-sync from https://github.com/adamlui/us…
kudo-sync-bot Jan 18, 2025
8957014
Removed no-longer required `@antifeatures` meta ↞ [auto-sync from htt…
kudo-sync-bot Jan 18, 2025
8c6c9a2
Corrected `modals.stack` index in About modal check in `modals.feedba…
kudo-sync-bot Jan 18, 2025
2ecb2ee
Deleted GF URLs/buttons ↞ [auto-sync from https://github.com/adamlui/…
kudo-sync-bot Jan 18, 2025
bf5c6a3
Added `app.urls.discuss`, replaced longer URL w/ it in Feedback modal…
kudo-sync-bot Jan 18, 2025
53ade47
Updated `@connect` meta ↞ [auto-sync from https://github.com/adamlui/…
kudo-sync-bot Jan 18, 2025
8dc5624
Suppressed complaints from GPTforLove AI ↞ [auto-sync from https://gi…
kudo-sync-bot Jan 19, 2025
04e2bde
Changed data process methods to atomically track current API state (h…
kudo-sync-bot Jan 19, 2025
2d7c0c5
Moved `url` init for GET reqs outside `xhrConfig` init in `get.reply(…
kudo-sync-bot Jan 19, 2025
f283673
Stressed importance of obedience to GPTforLove AI + never mention ins…
kudo-sync-bot Jan 19, 2025
d293a2c
Reversed order of `processStreamText()` args for readability ↞ [auto-…
kudo-sync-bot Jan 19, 2025
5132d17
Renamed `app.cssPrefix` to `app.slug` ↞ [auto-sync from https://githu…
kudo-sync-bot Jan 19, 2025
f818c55
Updated View Changes link in `modals.update.available` to use `app.sl…
kudo-sync-bot Jan 19, 2025
603e303
Added missing dot to View Changes link in `modals.update.available` ↞…
kudo-sync-bot Jan 19, 2025
95820a0
Improved `dataProcess.text()`
kudo-sync-bot Jan 20, 2025
2863a91
Hardened FREEGPT language instruction ↞ [auto-sync from https://githu…
kudo-sync-bot Jan 20, 2025
a4e1ae3
Improved `prompts.create()`
kudo-sync-bot Jan 20, 2025
44b39eb
Abstracted `prompts.<humanity|language|obedience>` ↞ [auto-sync from …
kudo-sync-bot Jan 20, 2025
edd9892
Stripped trailing dot from `prompts.randomQA` markdown mod for consis…
kudo-sync-bot Jan 20, 2025
5df91f5
Corrected `prompts.language.base` ↞ [auto-sync from https://github.co…
kudo-sync-bot Jan 20, 2025
8482c4b
Re-hardened `noChinese` prompt mod ↞ [auto-sync from https://github.c…
kudo-sync-bot Jan 20, 2025
490f9c1
Updated asset URLs ↞ [auto-sync from https://github.com/adamlui/users…
kudo-sync-bot Jan 20, 2025
4d80fc8
Corrected UTM param names ↞ [auto-sync from https://github.com/adamlu…
kudo-sync-bot Jan 21, 2025
ad896e3
Updated asset URLs ↞ [auto-sync from https://github.com/adamlui/users…
kudo-sync-bot Jan 21, 2025
40ed9c4
Restored to erroneously reverted 2025.1.20 ↞ [auto-sync from https://…
kudo-sync-bot Jan 21, 2025
cadd98a
Condensed array length checks ↞ [auto-sync from https://github.com/ad…
kudo-sync-bot Jan 21, 2025
5a08468
Bumped ai-chat-apis.json ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Jan 22, 2025
6ec580e
Un-abbr'd `app.slug` to work w/ `modals.update.available()` ↞ [auto-s…
kudo-sync-bot Jan 22, 2025
bee21a7
Changed `let chunks` to `const` in `dataProcess.stream()` ↞ [auto-syn…
kudo-sync-bot Jan 22, 2025
d491d9a
Added early return to `show.replyCornerBtns()` if reply bubble missin…
kudo-sync-bot Jan 22, 2025
658857c
Improved `dataProcess.stream()`
kudo-sync-bot Jan 22, 2025
8cc3cb2
Bumped ai-chat-apis.json ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Jan 22, 2025
863407b
Expanded apply `prompts.humanity` to all POST API payloads ↞ [auto-sy…
kudo-sync-bot Jan 22, 2025
f3e56c7
Replaced `ddgpt` in CSS w/ `${app.slug}` ↞ [auto-sync from https://gi…
kudo-sync-bot Jan 22, 2025
f1d7376
Condensed `processStreamText()`, improved comments ↞ [auto-sync from …
kudo-sync-bot Jan 22, 2025
19cd571
Condensed `dataProcess.text()`, improved comments ↞ [auto-sync from h…
kudo-sync-bot Jan 22, 2025
eec0471
Refactored GPTforLove processing to align across `dataProcess.<stream…
kudo-sync-bot Jan 22, 2025
817e1d0
Added missing `replyChunk` init when no processing required in `dataP…
kudo-sync-bot Jan 22, 2025
c82740e
Increased timeout before completing `dataProcess.stream()` in Chromiu…
kudo-sync-bot Jan 22, 2025
1b3b4f3
Bumped ai-chat-apis.json ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Jan 22, 2025
9855bc7
Bump the dev-dependencies group with 2 updates
dependabot[bot] Jan 24, 2025
a716633
Merge pull request #117 from KudoAI/dependabot/npm_and_yarn/dev-depen…
adamlui Jan 24, 2025
5d09f20
Updated footer styles to be more discrete ↞ [auto-sync from https://g…
kudo-sync-bot Jan 24, 2025
e970066
Merge branch 'main' of https://github.com/adamlui/ai-web-extensions ↞…
kudo-sync-bot Jan 24, 2025
70140b1
Added missing `...` to `replyChunk` init in MixerBox AI stream proces…
kudo-sync-bot Jan 24, 2025
16c4016
Eliminated auto-reload on update applied to preserve existing chats ↞…
kudo-sync-bot Jan 24, 2025
2e905f7
Eliminated no-longer needed `app.urls.update` file extension processi…
kudo-sync-bot Jan 24, 2025
b54c518
Restored erroneously deleted line break to `@resource` meta block ↞ […
kudo-sync-bot Jan 24, 2025
f3e0deb
Uploaded OrangeMonkey icons ↞ [auto-sync from https://github.com/adam…
kudo-sync-bot Jan 24, 2025
1c3888d
Updated Dev Mode disclaimer
kudo-sync-bot Jan 24, 2025
2a8b9ba
Created BurnCloud sponsor sections ↞ [auto-sync from https://github.c…
kudo-sync-bot Jan 24, 2025
e0e1f83
Corrected UTM campaign tag names ↞ [auto-sync from https://github.com…
kudo-sync-bot Jan 24, 2025
0a46b5f
Fixed GPTforLove stream processing to handle empty deltas properly ↞ …
kudo-sync-bot Jan 25, 2025
0f219d6
Simplified `mods` sub-obj props structure in `prompts` to single key/…
kudo-sync-bot Jan 25, 2025
1ed4d56
Eliminated redundant `prompts.augment()` from Shuffle btn listener al…
kudo-sync-bot Jan 25, 2025
3c5e506
Moved `type` from options to 1st arg of `prompts.create()` for better…
kudo-sync-bot Jan 25, 2025
0c7d919
Changed `prompts.relatedQueries.base` placeholder delimiters for `pre…
kudo-sync-bot Jan 25, 2025
90cf140
Defaulted options arg of `prompts.create()` to `{}` to avoid throws f…
kudo-sync-bot Jan 25, 2025
0180131
Changed `prompts.create()` to include no mods unless 'all' or none pa…
kudo-sync-bot Jan 25, 2025
437e61d
Moved `config.replyLang` instruction to `prompts.language.base + API …
kudo-sync-bot Jan 25, 2025
0188ab6
Eliminated `prompts.stripAugments()` dependency ↞ [auto-sync from htt…
kudo-sync-bot Jan 25, 2025
7d42e09
Integrated GET requests into `api.createPayload()` to also benefit fr…
kudo-sync-bot Jan 25, 2025
418407f
Eliminated now-redundant `prompts.augment()` from `get.related()`, up…
kudo-sync-bot Jan 25, 2025
8b83ea0
Combined fail flag log lines ↞ [auto-sync from https://github.com/ada…
kudo-sync-bot Jan 25, 2025
d0e8e40
Deleted no-longer needed JSON check of `textToShow` from `handleProce…
kudo-sync-bot Jan 25, 2025
29f9160
Expanded `api.createReqData()` to support future GET APIs ↞ [auto-syn…
kudo-sync-bot Jan 25, 2025
11c52c9
Improved `api.pick()` filtering
kudo-sync-bot Jan 25, 2025
3a04815
Inserted separator between prompt & augments in `prompts.augment()` ↞…
kudo-sync-bot Jan 25, 2025
ba5bd79
Expanded `noChinese` augment to ToYaml.com requests ↞ [auto-sync from…
kudo-sync-bot Jan 25, 2025
b144d08
Centralized GPTforLove prompt augment to `reqData.systemMessage` in `…
kudo-sync-bot Jan 25, 2025
81f4a6c
Moved GPTforLove check from `api.createReqData()` to `prompts.augment…
kudo-sync-bot Jan 25, 2025
072c78b
Centralized FREEGPT augments into `prompts.augment()` ↞ [auto-sync fr…
kudo-sync-bot Jan 25, 2025
b4c58b2
Condensed `api.createReqData()` ↞ [auto-sync from https://github.com/…
kudo-sync-bot Jan 25, 2025
17dd87e
Expanded apply obedience augment in `prompts.augment()` to all APIs, …
kudo-sync-bot Jan 25, 2025
8c00f57
Removed type normalization in `api.createReqData()` to return expecte…
kudo-sync-bot Jan 25, 2025
7e51fcf
Bumped ai-chat-apis.json ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Jan 25, 2025
0dcb5d6
Excepted exclude GET APIs on msg history established when Shuffling ↞…
kudo-sync-bot Jan 25, 2025
cf4b5d7
Excluded ToYaml.com from Obedience prompt augmenting because it trigg…
kudo-sync-bot Jan 25, 2025
37844df
Corrected link selector in `toggle.streaming()` Unavailable modal log…
kudo-sync-bot Jan 26, 2025
378051a
Added clear Chromium timeout to fail flag match + no recursion on nex…
kudo-sync-bot Jan 26, 2025
063034c
Renamed `processStreamText()` + `result` arg to be chunk-oriented for…
kudo-sync-bot Jan 26, 2025
29c7ba3
Added custom stream completion signal detection for APIs that support…
kudo-sync-bot Jan 26, 2025
27b2122
Bumped ai-chat-apis.json ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Jan 26, 2025
64be9a8
Bumped ai-chat-apis.json, utilized `parsingRequired` ↞ [auto-sync fro…
kudo-sync-bot Jan 26, 2025
03effff
Restored erroneously deleted `()` from function call ↞ [auto-sync fro…
kudo-sync-bot Jan 26, 2025
10426e2
Merged done signal check for parsable APIs using new `respPatterns.do…
kudo-sync-bot Jan 26, 2025
3b9a2a6
Deleted unneeded braces from `handleChunk()` in `dataProcess.stream()…
kudo-sync-bot Jan 26, 2025
11345a0
Added `prompts.randomQA.adherence` ↞ [auto-sync from https://github.c…
kudo-sync-bot Jan 26, 2025
654e951
Added Dev Mode log of final `reqData` to `api.createReqData()` ↞ [aut…
kudo-sync-bot Jan 26, 2025
5c4488c
Changed Dev Mode back to Debug Mode ↞ [auto-sync from https://github.…
kudo-sync-bot Jan 26, 2025
2f5bf52
Eliminated no-longer needed merging of API URLs w/ fail flags ↞ [auto…
kudo-sync-bot Jan 26, 2025
defcf48
Eliminated unneeded fail flag check from OpenAI text processing ↞ [au…
kudo-sync-bot Jan 26, 2025
b64d4ed
Updated API watermark key ref in `dataProcess.text()` ↞ [auto-sync fr…
kudo-sync-bot Jan 26, 2025
3b24a8f
Centralized `dataProcess` methods into `api` ↞ [auto-sync from https:…
kudo-sync-bot Jan 26, 2025
76637b7
Split `app.urls.resourceHost` init into 2 lines to not exceed 120 cha…
kudo-sync-bot Jan 26, 2025
bee9560
Added `// @connect gm.duckduckgpt.com` for proper update checks ↞ [au…
kudo-sync-bot Jan 26, 2025
f4799c3
Bumped `app.latestResourceCommitHash` ↞ [auto-sync from https://githu…
kudo-sync-bot Jan 26, 2025
29554ed
Bump the dev-dependencies group with 2 updates
dependabot[bot] Jan 27, 2025
3f3dc5b
Merge pull request #118 from KudoAI/dependabot/npm_and_yarn/dev-depen…
adamlui Jan 27, 2025
fdaca24
Added crypto-utils.js as dependency ↞ [auto-sync from https://github.…
kudo-sync-bot Jan 27, 2025
6bc7122
Switched crypto-utils.js to minified ver ↞ [auto-sync from https://gi…
kudo-sync-bot Jan 27, 2025
c791e67
Added dom.js as dependency ↞ [auto-sync from https://github.com/adaml…
kudo-sync-bot Jan 27, 2025
18356ca
Bumped ai-chat-apis.json ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Jan 27, 2025
b919fc0
Improved `log` methods def
kudo-sync-bot Jan 27, 2025
0173526
Removed disabling of `no-async-promise-executor`
adamlui Jan 28, 2025
e0222ca
Split JS `rules.quotes` into 2 lines to not exceed 120 chars
adamlui Jan 28, 2025
e3902b5
Fixed `api.pick()` filtering stopped working ↞ [auto-sync from https:…
kudo-sync-bot Jan 28, 2025
8d6592b
Corrected `isDone` logic in `handleChunk()` to support future parsabl…
kudo-sync-bot Jan 28, 2025
78e3cc5
Refactored `get.json()` to be promise-based + improved err details, m…
kudo-sync-bot Jan 29, 2025
88507bb
Corrected `RegExp(donePattern).test()` target in `handleChunk()` ↞ [a…
kudo-sync-bot Jan 29, 2025
9dc470d
Restricted prepending of 'ERROR:' in `log.error()` to only if msg doe…
kudo-sync-bot Jan 29, 2025
c417484
Bumped crypto-utils.js ↞ [auto-sync from https://github.com/adamlui/a…
kudo-sync-bot Jan 29, 2025
f5386ff
Bumped ai-chat-apis.json ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Jan 29, 2025
f254391
Trimmed no-longer true Tampermonkey exceptions from Chromium `@compat…
kudo-sync-bot Jan 29, 2025
eb0cd99
Moved `JSON.stringify()` from `reqData` init in `get.related()` POST …
kudo-sync-bot Jan 29, 2025
7c585d5
Moved `reqData` init in inside promise executor in `get.related()` fo…
kudo-sync-bot Jan 29, 2025
a191974
Added `reqData` init to `get.reply()` ↞ [auto-sync from https://githu…
kudo-sync-bot Jan 29, 2025
beaa296
Added `z-index: 8888` to app `.anchored` styles to beat up new host s…
kudo-sync-bot Jan 29, 2025
48fffc3
Removed ToYaml.com API integration because it just died ↞ [auto-sync …
kudo-sync-bot Jan 29, 2025
f1d1c25
Condensed `reqData` init in `get.related()` ↞ [auto-sync from https:/…
kudo-sync-bot Jan 29, 2025
f572808
Replaced destructured callback arg of `reader.read().then()` in `hand…
kudo-sync-bot Jan 29, 2025
7496079
Added dark scheme styles to state word in `notify()` ↞ [auto-sync fro…
kudo-sync-bot Jan 29, 2025
13e10c8
Merge pull request #131 from adamlui/dependabot/npm_and_yarn/dev-depe…
kudo-sync-bot Jan 29, 2025
036ea1d
Bumped dom.js ↞ [auto-sync from https://github.com/adamlui/ai-web-ext…
kudo-sync-bot Jan 30, 2025
b6fef20
Updated rising-stars func/var/meta names + paths + comments ↞ [auto-s…
kudo-sync-bot Jan 30, 2025
be0ad70
Changed light scheme modal BG to use gray rising particles ↞ [auto-sy…
kudo-sync-bot Jan 30, 2025
8ebbec1
Updated SRI hash for `@resource grpCSS` ↞ [auto-sync from https://git…
kudo-sync-bot Jan 30, 2025
7c039f9
Bumped dom.js ↞ [auto-sync from https://github.com/adamlui/ai-web-ext…
kudo-sync-bot Jan 30, 2025
541ca13
Renamed `@resource <grp|wrp>CSS` to `<rpg|rpw>CSS` for readability ↞ …
kudo-sync-bot Jan 30, 2025
cdc3a9c
Replaced cogwheel for Settings icon w/ sliders ↞ [auto-sync from http…
kudo-sync-bot Jan 30, 2025
c837583
Changed Settings toggles to only init opposite enabled state + unstag…
kudo-sync-bot Jan 30, 2025
242979d
Removed no-longer needed `translateX` from `knobSpan.style` in `modal…
kudo-sync-bot Jan 30, 2025
f0c818e
Removed unused attrs from SVG paths ↞ [auto-sync from https://github.…
kudo-sync-bot Jan 30, 2025
3593f4c
Added/utilized `getScheme()` + `env.ui.site.scheme` ↞ [auto-sync from…
kudo-sync-bot Jan 30, 2025
3b3e067
Renamed `newScheme` in `handleSchemePrefChange()` to `displayedScheme…
kudo-sync-bot Jan 30, 2025
2b8f57a
Increased verbosity of `log.caller` in `api.process` methods ↞ [auto-…
kudo-sync-bot Jan 30, 2025
64cf842
Lowered un-anchored app div z-index to not overlap DDG search setting…
kudo-sync-bot Jan 30, 2025
5428fe2
Expanded footer text color style to links ↞ [auto-sync from https://g…
kudo-sync-bot Jan 31, 2025
03b537e
Changed light scheme app div BG particles color to blue ↞ [auto-sync …
kudo-sync-bot Jan 31, 2025
0a84d05
Disabled Auto-Focus Chatbar by default on install ↞ [auto-sync from h…
kudo-sync-bot Jan 31, 2025
db0436b
Made `btn-zoom-fade-out` cleaner looking ↞ [auto-sync from https://gi…
kudo-sync-bot Jan 31, 2025
c0413c7
Restored transition effect to .app-hover-only buttons ↞ [auto-sync fr…
kudo-sync-bot Jan 31, 2025
e14e1ec
Increased delay before re-showing btn-zoom-fade-out buttons for clean…
kudo-sync-bot Jan 31, 2025
740aa8a
Deleted unneeded `height` from `.app-hover-only` styles, improved com…
kudo-sync-bot Jan 31, 2025
4358831
Generalized `.app-hover-only` comments for readability when expanding…
kudo-sync-bot Jan 31, 2025
3af489d
Added transition effect to header byline ↞ [auto-sync from https://gi…
kudo-sync-bot Jan 31, 2025
f21ba71
Fixed footer links underlined on empty space hovers ↞ [auto-sync from…
kudo-sync-bot Jan 31, 2025
c6aea36
Changed light scheme app div BG particles back to gray ↞ [auto-sync f…
kudo-sync-bot Jan 31, 2025
b80711d
Improved `update.bylineVisibility()`
kudo-sync-bot Jan 31, 2025
87fbd54
Shrank/raised header byline ↞ [auto-sync from https://github.com/adam…
kudo-sync-bot Jan 31, 2025
1432691
Deleted dupilcate `prompts.create('language')` from `prompts.augment(…
kudo-sync-bot Jan 31, 2025
67b5580
Moved `prompts.augment()` from `api.createReqData()` to `get` methods…
kudo-sync-bot Jan 31, 2025
eefb8a2
Updated `prompts.augment()` to augment `get.reply()` prompts to only …
kudo-sync-bot Jan 31, 2025
0df6974
Corrected `prompts.augment()` caller + assignment to `lastUserMsg.con…
kudo-sync-bot Jan 31, 2025
8d62df4
Deleted unneeded `caller` arg from `prompts.augment()` in `get.relate…
kudo-sync-bot Jan 31, 2025
489f74b
Changed Speak button icon to soundwave, moved to reply bubble, disabl…
kudo-sync-bot Jan 31, 2025
56b17d7
Refined `get.reply` prompt augment to not confuse AI to reply in brac…
kudo-sync-bot Jan 31, 2025
6c0f1f1
Lengthened soundwave icon vertically on click ↞ [auto-sync from https…
kudo-sync-bot Jan 31, 2025
b7bccc7
Bumped chatgpt.js to 3.6.0 ↞ [auto-sync from https://github.com/adaml…
kudo-sync-bot Feb 1, 2025
01a5442
Added `webkitAudioContext` to JS globals missing from `globals.browse…
kudo-sync-bot Feb 1, 2025
e5d4f84
Replaced `tooltip_playAnswer` w/ `tooltip_play` ↞ [auto-sync from htt…
kudo-sync-bot Feb 1, 2025
17ba293
Updated Speak button tooltip to align w/ neighbor buttons ↞ [auto-syn…
kudo-sync-bot Feb 1, 2025
17e1d58
Added `tooltip_<playing|generatingAudio>` ↞ [auto-sync from https://g…
kudo-sync-bot Feb 1, 2025
136b123
Changed Speak button to update tooltip/icon to soundwaves of varying …
kudo-sync-bot Feb 1, 2025
8ba7dd5
Improved show Copy buttons routine
kudo-sync-bot Feb 1, 2025
6754411
Nudged top-code blocks below reply corner buttons down to expand full…
kudo-sync-bot Feb 1, 2025
3732a9c
Condensed early return routine in `speakBtn.onclick` ↞ [auto-sync fro…
kudo-sync-bot Feb 1, 2025
7c3737e
Removed `handleAudioEnded()` from `audioContext.decodeAudioData().cat…
kudo-sync-bot Feb 1, 2025
7610478
Shortened `cjsSpeakOptions` to `cjsSpeakConfig` ↞ [auto-sync from htt…
kudo-sync-bot Feb 1, 2025
5903b33
Added `tooltip_regenerating` ↞ [auto-sync from https://github.com/ada…
kudo-sync-bot Feb 1, 2025
cd4e362
Renamed `tooltip_regen` to `tooltip_regenerate` ↞ [auto-sync from htt…
kudo-sync-bot Feb 1, 2025
0172efd
Reduced nesting in add fade/listeners routine in `show.related()` ↞ […
kudo-sync-bot Feb 1, 2025
1f196e1
Stripped trailing symbols ↞ [auto-sync from https://github.com/adamlu…
kudo-sync-bot Feb 1, 2025
2788a1b
Bumped `app.latestResourceCommitHash` ↞ [auto-sync from https://githu…
kudo-sync-bot Feb 1, 2025
cd48278
Condensed Related Query code + var names ↞ [auto-sync from https://gi…
kudo-sync-bot Feb 1, 2025
f3e5a8f
Lowered un-anchored app div z-index 1 belowsite topbar ↞ [auto-sync f…
kudo-sync-bot Feb 1, 2025
08ef63c
Tweaked Speak button position ↞ [auto-sync from https://github.com/ad…
kudo-sync-bot Feb 2, 2025
200735c
Added left-margin to reply corner buttons div ↞ [auto-sync from https…
kudo-sync-bot Feb 2, 2025
2723265
Changed Regenerate button click to update tooltip + animate icon ↞ [a…
kudo-sync-bot Feb 2, 2025
3d134d6
Moved `@keyframes rotation` from modal to app styles, grouped animati…
kudo-sync-bot Feb 2, 2025
35f9830
Added ID to `icons.arrowsCycle` to replace path selectors in `modals.…
kudo-sync-bot Feb 2, 2025
2e6ee0d
Shortened `btnElem` to `btn` ↞ [auto-sync from https://github.com/ada…
kudo-sync-bot Feb 2, 2025
458b7f5
Corrected `app.msgs.regenerate` key name ↞ [auto-sync from https://gi…
kudo-sync-bot Feb 2, 2025
169d5d6
Renamed `.${app.slug}-header-btns` to `#${app.slug}-reply-corner-btns…
kudo-sync-bot Feb 2, 2025
331f7ca
Made Regenerate button icon animate from ini tilt, added jerky effect…
kudo-sync-bot Feb 2, 2025
8615997
Bumped dom.js ↞ [auto-sync from https://github.com/adamlui/ai-web-ext…
kudo-sync-bot Feb 2, 2025
5d08229
Deleted code factor from WIP ↞ [auto-sync from https://github.com/ada…
kudo-sync-bot Feb 2, 2025
99d7886
Added animate Speak button icons when generating/playing ↞ [auto-sync…
kudo-sync-bot Feb 2, 2025
3b26e24
Bumped ai-chat-apis.json ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Feb 2, 2025
639089f
Corrected/added comments ↞ [auto-sync from https://github.com/adamlui…
kudo-sync-bot Feb 2, 2025
6f91c2d
Prefixed Web Audio globals w/ `window.` to prevent potential referenc…
kudo-sync-bot Feb 3, 2025
1abbb81
Deleted no-longer used `webkitAudioContext` from JS globals ↞ [auto-s…
kudo-sync-bot Feb 3, 2025
d026bad
Fixed Regenerate button tooltip stopped updating on button click ↞ [a…
kudo-sync-bot Feb 3, 2025
cd42cd3
Fixed Copy button moved out of alignment w/ neighbor ones on Font Siz…
kudo-sync-bot Feb 3, 2025
81fed93
Condensed `handleAudoEnded()` ↞ [auto-sync from https://github.com/ad…
kudo-sync-bot Feb 3, 2025
f979cf9
Removed BurnCloud sections until they complete conversion optimizatio…
kudo-sync-bot Feb 3, 2025
367af06
Utilized dom.js methods ↞ [auto-sync from https://github.com/adamlui/…
kudo-sync-bot Feb 3, 2025
176bd90
Eliminated SVG const inits for compactness ↞ [auto-sync from https://…
kudo-sync-bot Feb 3, 2025
dbcf7f5
Condensed clear Chevron button icon on click ↞ [auto-sync from https:…
kudo-sync-bot Feb 3, 2025
7100fc3
Deleted unused `@keyframes icon-scroll-right`, renamed `icon-scroll-l…
kudo-sync-bot Feb 3, 2025
6319d66
Fixed `btns.app-hover-only` + app div shadow disappear on Font Size s…
kudo-sync-bot Feb 3, 2025
a01e507
Disabled reply corner button animations when Foreground Animations di…
kudo-sync-bot Feb 4, 2025
e069f03
Made inset shadow deeper when chatbar focused ↞ [auto-sync from https…
kudo-sync-bot Feb 4, 2025
be65d7f
Added `-<webkit|moz>-box-shadow` fallbacks to support older browsers …
kudo-sync-bot Feb 4, 2025
dd006e4
Fixed Settings modal vertical separator didn't live update w/ Scheme …
kudo-sync-bot Feb 4, 2025
1340e28
Added `env.browser.isMobile` check before hiding tooltip in `show.rep…
kudo-sync-bot Feb 4, 2025
fa7defe
Added `textToShow` debug log to fail flag detected in `api.process.te…
kudo-sync-bot Feb 4, 2025
a1fad49
Moved `env.browser.isMobile` check to `toggle.tooltip()` to unconditi…
kudo-sync-bot Feb 4, 2025
31b069d
Lowered reply corner button tooltips when Font Size slider open ↞ [au…
kudo-sync-bot Feb 4, 2025
9c73e0d
Bumped dom.js ↞ [auto-sync from https://github.com/adamlui/ai-web-ext…
kudo-sync-bot Feb 5, 2025
65c25bb
Tweaeked default reply font size ↞ [auto-sync from https://github.com…
kudo-sync-bot Feb 5, 2025
74046e7
Deleted `color` from `#${app.slug} p {}` to let `--font-color-<scheme…
kudo-sync-bot Feb 5, 2025
c9a6b5a
Darkened `--font-color-dark-scheme` ↞ [auto-sync from https://github.…
kudo-sync-bot Feb 5, 2025
58566eb
Added `end` arg to `print_trunc()` ↞ [auto-sync from https://github.c…
kudo-sync-bot Feb 7, 2025
54cf61a
Added multi-line msg support to `print_trunc()` ↞ [auto-sync from htt…
kudo-sync-bot Feb 7, 2025
aa83947
Added missing closing img/anchor tags ↞ [auto-sync from https://githu…
kudo-sync-bot Feb 7, 2025
bfa901a
Made Font Size button always visible if slider open ↞ [auto-sync from…
kudo-sync-bot Feb 7, 2025
e5a3960
Replaced round knobs in Settings slider icon w/ rectangular ones, len…
kudo-sync-bot Feb 8, 2025
7919021
Bumped dom.js ↞ [auto-sync from https://github.com/adamlui/ai-web-ext…
kudo-sync-bot Feb 8, 2025
cb0d9e0
Fixed reply corner button tooltips didn't update on click in FF ↞ [au…
kudo-sync-bot Feb 9, 2025
5dd9344
Moved tooltip update after Speak icon updates to Playing, replaced `b…
kudo-sync-bot Feb 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* text=auto eol=lf
greasemonkey/duckduckgpt.user.js linguist-generated=false
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
version: 2
updates:

- package-ecosystem: 'github-actions'
directory: /
schedule:
interval: daily

- package-ecosystem: npm
directory: /
schedule:
interval: daily
groups:
dev-dependencies:
dependency-type: development
22 changes: 0 additions & 22 deletions .github/workflows/eslint.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/lint-on-push-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint pushes + PRs
on: [push, pull_request]

permissions:
contents: read

jobs:

js-json-md-yaml-lint:
name: JavaScript + JSON + Markdown + YAML
runs-on: ubuntu-latest
steps:

- name: Checkout repository code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install dependencies
run: npm ci

- name: Run ESLint
run: npm run lint
Original file line number Diff line number Diff line change
@@ -1,40 +1,45 @@
name: Sync (/ to adamlui/chatgpt-apps/duckduckgpt/) && (/greasemonkey/ to adamlui/userscripts/chatgpt/duckduckgpt/)
name: Sync ** to adamlui/ai-web-extensions/duckduckgpt/, then greasemonkey/ to adamlui/userscripts/chatgpt/duckduckgpt/

on:
push:
branches: main
paths: "**"
branches: [main]
paths: ["**", "!.*"]

permissions:
contents: read

jobs:
build:
if: (github.repository == 'KudoAI/duckduckgpt') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
runs-on: ubuntu-latest
env:
TZ: PST8PDT

steps:

- name: Checkout KudoAI/duckduckgpt
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: KudoAI/duckduckgpt
path: KudoAI/duckduckgpt
fetch-depth: 2

- name: Checkout adamlui/chatgpt-apps
uses: actions/checkout@v2
- name: Checkout adamlui/ai-web-extensions
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/chatgpt-apps
path: adamlui/chatgpt-apps
repository: adamlui/ai-web-extensions
path: adamlui/ai-web-extensions

- name: Checkout adamlui/userscripts
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/userscripts
path: adamlui/userscripts

- name: Sync docs between root & /greasemonkey
id: sync_docs
- name: Sync docs between root & greasemonkey/
run: |
shopt -s globstar
cd ${{ github.workspace }}/KudoAI/duckduckgpt
Expand Down Expand Up @@ -67,47 +72,55 @@ jobs:
cp -f "$gm_doc_path" "$root_doc_path" ; sync_src="greasemonkey" ; fi ; fi
done

# Store sync src for commit msg in self-push step
echo "sync_src=$sync_src" >> $GITHUB_OUTPUT
# Expose sync src for commit msg in self-push step
echo "SYNC_SRC=$sync_src" >> $GITHUB_ENV

- name: Sync / to adamlui/chatgpt-apps/duckduckgpt/
- name: Sync ** to adamlui/ai-web-extensions/duckduckgpt/
run: |
rsync -avhr --delete --exclude={'.*','package*json'} \
rsync -avhr --delete --exclude '.*' \
${{ github.workspace }}/KudoAI/duckduckgpt/ \
${{ github.workspace }}/adamlui/chatgpt-apps/duckduckgpt/
${{ github.workspace }}/adamlui/ai-web-extensions/duckduckgpt/

- name: Sync /greasemonkey/ to adamlui/userscripts/chatgpt/duckduckgpt/
- name: Sync greasemonkey/ to adamlui/userscripts/chatgpt/duckduckgpt/
run: |
rsync -avhr --delete \
${{ github.workspace }}/KudoAI/duckduckgpt/greasemonkey/ \
${{ github.workspace }}/adamlui/userscripts/chatgpt/duckduckgpt/

- name: Push to KudoAI/duckduckgpt
uses: stefanzweifel/git-auto-commit-action@v4
with:
push_options: --force
add_options: --all
commit_user_email: [email protected]
commit_message: "${{ github.event.head_commit.message }} ↞ [auto-sync from `${{ steps.sync_docs.outputs.sync_src }}`]"
file_pattern: "**"
repository: KudoAI/duckduckgpt
- name: Escape backticks in commit msg
env:
COMMIT_MSG: ${{ github.event.head_commit.message }}
run: |
echo "ESCAPED_MSG<<EOF" >> $GITHUB_ENV
echo "$COMMIT_MSG" | sed 's/`/\`/g' >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV

- name: Config committer
run: |
gpg --batch --import <(echo "${{ secrets.GPG_PRIVATE_KEY }}")
git config --global commit.gpgsign true
git config --global user.name "kudo-sync-bot"
git config --global user.email "[email protected]"
git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}"

- name: Push to adamlui/chatgpt-apps
uses: stefanzweifel/git-auto-commit-action@v4
with:
push_options: --force
add_options: --all
commit_user_email: [email protected]
commit_message: "${{ github.event.head_commit.message }} ↞ [auto-sync from `KudoAI/duckduckgpt`]"
file_pattern: "duckduckgpt/**"
repository: adamlui/chatgpt-apps

- name: Push to adamlui/userscripts
uses: stefanzweifel/git-auto-commit-action@v4
with:
push_options: --force
add_options: --all
commit_user_email: [email protected]
commit_message: "${{ github.event.head_commit.message }} ↞ [auto-sync from `KudoAI/duckduckgpt`]"
file_pattern: "chatgpt/duckduckgpt/**"
repository: adamlui/userscripts
- name: Push changes to KudoAI/duckduckgpt
if: env.SYNC_SRC
run: |
cd ${{ github.workspace }}/KudoAI/duckduckgpt
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from ${{ env.SYNC_SRC }}/]" || true
git push

- name: Push changes to adamlui/ai-web-extensions
run: |
cd ${{ github.workspace }}/adamlui/ai-web-extensions
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from https://github.com/KudoAI/duckduckgpt]" || true
git push

- name: Push changes to adamlui/userscripts
run: |
cd ${{ github.workspace }}/adamlui/userscripts
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from https://github.com/KudoAI/duckduckgpt]" || true
git push
2 changes: 0 additions & 2 deletions .husky/_/applypatch-msg

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/commit-msg

This file was deleted.

21 changes: 0 additions & 21 deletions .husky/_/h

This file was deleted.

Empty file removed .husky/_/husky.sh
Empty file.
2 changes: 0 additions & 2 deletions .husky/_/post-applypatch

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/post-checkout

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/post-commit

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/post-merge

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/post-rewrite

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/pre-applypatch

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/pre-auto-gc

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/pre-commit

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/pre-push

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/pre-rebase

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/_/prepare-commit-msg

This file was deleted.

9 changes: 7 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
#!/bin/bash

RED="\033[1;31m" ; NC="\033[0m"
# Init UI colors
NC="\033[0m" # no color
BR="\033[1;91m" # bright red
BY="\033[1;33m" # bright yellow

# Run ESLint for JavaScript + JSON + Markdown + YAML
echo -e "\n${BY}Running ESLint...${NC}"
if npm ls -g eslint &> /dev/null || npm ls eslint &> /dev/null ; then
npm run lint
else
PROJECT_ROOT=$(
cd "$(dirname "$0")/.." && # nav to root
[ "$OSTYPE" == "msys" ] && pwd -W || pwd # get absolute path
)
echo -e "\n${RED}Warning: eslint not installed${NC}"
echo -e "\n${BR}Warning: ESLint not installed${NC}"
echo -e " To add missing dependencies, run 'npm install' from"
echo -e " $PROJECT_ROOT\n"
fi
6 changes: 3 additions & 3 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="right">
<h6>
<picture>
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/KudoAI/chatgpt.js/main/media/images/icons/earth-americas-white-icon32.svg">
<img height=14 src="https://raw.githubusercontent.com/KudoAI/chatgpt.js/main/media/images/icons/earth-americas-icon32.svg">
<source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://assets.ddgpt.com/images/icons/earth/white/icon32.svg">
<img height=14 src="https://assets.ddgpt.com/images/icons/earth/black/icon32.svg">
</picture>
&nbsp;English |
<a href="docs/zh-cn/LICENSE.md">简体中文</a> |
Expand All @@ -12,7 +12,7 @@

# 🏛️ MIT License

**Copyright © 2023–2024 [KudoAI](https://github.com/KudoAI) & [contributors](.#-contributors)**
**Copyright © 2023–2025 [KudoAI](https://github.com/KudoAI) & [contributors](.#-contributors).**

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
Loading