mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
3a7a5e135b
* fix(grok): preserve conversation across repeated ask calls (#330) The adapter unconditionally navigated to grok.com/ on every invocation, destroying the existing conversation URL even when --new was not passed. Since the browser daemon already reuses the same Chrome tab, skipping navigation lets the tab stay on the current chat thread. - Only navigate to grok.com/ when --new is true or tab is not on grok.com - Add tryStartFreshChat to the default path's --new branch (was dead code) - Add isOnGrok helper with hostname-based domain matching - Add unit tests for isOnGrok * test(grok): add adapter to vitest project config --------- Co-authored-by: jackwener <jakevingoo@gmail.com>
1.0 KiB
1.0 KiB