Commit Graph

1660 Commits

Author SHA1 Message Date
Evan Simkowitz
93b9432f99
Add support for Google AI models (#1612) 2024-12-27 14:52:38 -05:00
dependabot[bot]
8dbb4623f9
Bump github.com/sashabaranov/go-openai from 1.36.0 to 1.36.1 (#1637)
Bumps
[github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai)
from 1.36.0 to 1.36.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sashabaranov/go-openai/releases">github.com/sashabaranov/go-openai's
releases</a>.</em></p>
<blockquote>
<h2>v1.36.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix ID field to be optional by <a
href="https://github.com/TimMisiak"><code>@​TimMisiak</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/911">sashabaranov/go-openai#911</a></li>
<li>Ignore test.mp3 by <a
href="https://github.com/sashabaranov"><code>@​sashabaranov</code></a>
in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/913">sashabaranov/go-openai#913</a></li>
<li>Added additional_messages by <a
href="https://github.com/sabuhigr"><code>@​sabuhigr</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/914">sashabaranov/go-openai#914</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/TimMisiak"><code>@​TimMisiak</code></a>
made their first contribution in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/911">sashabaranov/go-openai#911</a></li>
<li><a href="https://github.com/sabuhigr"><code>@​sabuhigr</code></a>
made their first contribution in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/914">sashabaranov/go-openai#914</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/sashabaranov/go-openai/compare/v1.36.0...v1.36.1">https://github.com/sashabaranov/go-openai/compare/v1.36.0...v1.36.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2a0ff5ac63"><code>2a0ff5a</code></a>
Added additional_messages (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/914">#914</a>)</li>
<li><a
href="56a9acf86f"><code>56a9acf</code></a>
Ignore test.mp3 (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/913">#913</a>)</li>
<li><a
href="af5355f5b1"><code>af5355f</code></a>
Fix ID field to be optional (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/911">#911</a>)</li>
<li>See full diff in <a
href="https://github.com/sashabaranov/go-openai/compare/v1.36.0...v1.36.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/sashabaranov/go-openai&package-manager=go_modules&previous-version=1.36.0&new-version=1.36.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-27 09:49:45 -08:00
Red J Adaya
45d6f5b969
progressbar component (#1556) 2024-12-27 09:48:53 -08:00
Mike Sawka
9521e1d51b
correctly escape backslashes in wsh setbg. fixes windows paths #1604 (#1636) 2024-12-27 09:37:44 -08:00
Sylvie Crowe
0c9f35791d
fix: do not error out if ssh config is empty (#1632)
As connections can now be stored in the internal connection, a missing
or invalid ssh config should not cause the entire list of connections to
be empty. This change ignores the error from the ssh config and proceeds
to construct the list without it.
2024-12-26 22:52:47 -08:00
Mike Sawka
73561dc12d
new utility fn, deepCompareReturnPrev. use for settings prefix atom to do a deep equal (#1630) 2024-12-26 11:09:48 -08:00
Mike Sawka
904d942c4c
fix remote file stream function (#1620) 2024-12-26 10:23:28 -08:00
bqxbqx
d833f57214
fix: pass missing config to setTimeout in getSpareTab (#1627)
- Fixed an issue where `fullConfig` was not passed to `setTimeout` in
`getSpareTab`.
- Wrapped `ensureHotSpareTab` with an arrow function to ensure
`fullConfig` is properly passed.

**When I use wave as my terminal, sometimes the setting does not work. I
read the source code and found this issue**

Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2024-12-26 08:17:13 -08:00
Tarun Kumar S
9c8084a063
remove unused cmd (#1628) 2024-12-25 11:58:43 -05:00
Evan Simkowitz
0f1d138f0e
Allow TestDriver to run on outside contributions (#1622) 2024-12-25 11:16:25 -05:00
Mike Sawka
c1cf5396bf
add preview:showhiddenfiles to config docs (#1619) 2024-12-24 09:35:13 -08:00
Mike Sawka
978ec3908e
remove incompatible md syntax (#1617) 2024-12-23 21:52:33 -08:00
Mike Sawka
042264dd1b
add ROADMAP.md (#1616) 2024-12-23 21:49:10 -08:00
Evan Simkowitz
b7a5dea0a0
Fix Term Widget not registering pointer events (#1614)
This is a bit janky. The problem is that we were placing the
`xterm-viewport` div, which contains the scroll observer for the xterm
contents, at a higher z-index than the xterm contents, meaning that the
contents couldn't register any pointer events. If we don't put a
z-index, though, the scroll bar can't accept pointer events. To get
around this, I've added two observer divs, which control whether the
contents or the viewport have pointer event priority. The first div, the
`term-scrollbar-show-observer`, sits above where the scrollbar will be
rendered. When the user hovers over it, it will cause the viewport div
to move to a z-index above the contents. It will also enable a second
div, the `term-scrollbar-hide-observer`, which sits above the viewport
and the term contents, but not blocking the scrollbar. When the user
hovers over this div (indicating their mouse has left the scrollbar),
the viewport div is moved back to its original z-index and the hide
observer is set to `display: none`. This gives pointer event priority
back to the contents div.

This resolves an issue where the user could not click links in the
terminal output.

Resolves #1357
2024-12-23 23:35:51 -05:00
Sylvie Crowe
b778417b9b
Entirely Internal Connection (#1610)
This change allows the user to specify all connection details in an
internal connection rather than forcing them to rely on the ssh config
for certain keywords.
2024-12-23 15:12:14 -08:00
Evan Simkowitz
dbacae8a99
Rename outdated WaveAI types (#1609)
A bunch of the Wave AI types still mentioned OpenAI. Now that most of
them are being used for multiple AI backends, we need to update the
names to be more generic.
2024-12-23 10:55:04 -08:00
Evan Simkowitz
5cfbdcab1a
Separate out Yarn major updates into separate Dependabot groups (#1607)
This is annoyingly verbose, but will let us still get PRs for minor and
patch updates separately from major updates, so we can continue to
benefit from bugfixes without having to adopt breaking changes.

Also adds a jotai update group
2024-12-23 09:59:59 -08:00
wave-builder[bot]
53a64fc443
chore: bump package version to 0.10.4 2024-12-21 02:40:53 +00:00
Sylvie Crowe
62a610e3dd
Release notes for v0.10.4 (#1600) 2024-12-20 18:22:15 -08:00
wave-builder[bot]
49c438dd46
chore: bump package version to 0.10.4-beta.3 2024-12-21 00:26:53 +00:00
Evan Simkowitz
1f5634a1b6
Only create starter workspace on first launch (#1599) 2024-12-20 16:00:26 -08:00
wave-builder[bot]
861b431e87
chore: bump package version to 0.10.4-beta.2 2024-12-20 22:03:12 +00:00
Evan Simkowitz
62dcf1326d
Allow users to close windows without confirming, delete last window (#1598)
Adds `window:savelastwindow` and `window:confirmclose` settings, which
can be used to alter the default window close behavior. Both of these
default to `true` to maintain the existing default behavior.

If `window:savelastwindow` is unset, the same logic will be used as if
the user had more than one window remaining (see below).

If `window:confirmonclose` is unset, the user will no longer be prompted
to confirm if they are closing a window whose workspace has unsaved
changes (the workspace is not named and it has more than one tab).
2024-12-20 14:02:08 -08:00
Evan Simkowitz
4280a0981f
Fix more WaveAI scroll issues (#1597)
This adds a split atom for the messages so that the WaveAI component and
the ChatWindow component don't actually need to watch changes to all of
the messages. This makes the repaining a lot less expensive and makes it
easier to scroll while new messages come in.

I also increased the tolerance on the `determineUnsetScroll` callback so
that the bottom message won't get unattached as easily.
2024-12-20 14:01:19 -08:00
Sylvie Crowe
b17e613d74
fix: add leading slash to default remote shell (#1596)
Adds a leading slash to `/bin/bash` as the default shell if no other
shell has been found
2024-12-20 13:51:32 -08:00
wave-builder[bot]
9793f9898c
chore: bump package version to 0.10.4-beta.1 2024-12-20 19:57:30 +00:00
Evan Simkowitz
e0c875afeb
Remove WaveAI dynamic height adjustment, use pure CSS, also fix scrolling (#1594)
This makes the chat window flex-grow so we no longer need to manually
fix its height. It also cleans up some other styling.

It also fixes the scroll handlers so we detect when the user is at the
bottom of the chat window so we can follow the latest message. It also
fixes some circular references in the callbacks that were causing React
to bug out.
2024-12-20 11:49:29 -08:00
wave-builder[bot]
87309a06ab
chore: bump package version to 0.10.4-beta.0 2024-12-20 17:34:52 +00:00
Evan Simkowitz
bbece2d80d
Update go net package (#1593)
There's a potential DDoS vulnerability in the older version of the net
package that we were using. It likely isn't something that would impact
us, but we should still update for posterity.
2024-12-20 09:04:42 -08:00
Evan Simkowitz
cf578b1d89
Allow empty workspace name while editing workspace (#1592)
Fixes a bug where if you deleted all but one character in the workspace
name, you couldn't delete the final character. To fix this, I have made
the workspace editor save a separate entry from the backend. The backend
will also only update its DB value and notify the frontend if something
was actually edited. If you delete all the characters in the name and
don't put anything new in, though, the name will be whatever the last
character you had was, since the name of a saved workspace cannot be
empty.
2024-12-20 08:55:28 -08:00
Sylvie Crowe
9f9190b93c
fix: dynamically determine the chat window height (#1588)
The AI chat window was not allowing the user to resize it due to an
interacting scss class being removed. This replaces the max-height from
the removed class with a dynamic calculation to resize properly.
2024-12-20 03:18:44 -08:00
wave-builder[bot]
fca868e597
chore: bump package version to 0.10.3 2024-12-20 02:48:27 +00:00
wave-builder[bot]
b6f04ef994
chore: bump package version to 0.10.2 2024-12-20 02:46:04 +00:00
Mike Sawka
1b8144f452
ignore coderabbit, update for v0.10.3 (#1585) 2024-12-19 18:45:02 -08:00
Mike Sawka
fca6068599
fix terminal selection colors when transparency is turned on (#1584)
fix some more of the selection background colors and fix onedarkpro (was
too washed out and not using the correct official colors)
2024-12-19 18:39:22 -08:00
wave-builder[bot]
133d7ce5a7
chore: bump package version to 0.10.2 2024-12-19 22:34:29 +00:00
Sylvie Crowe
2c5aae1a98
fix: bound code editor font size (#1581) 2024-12-19 14:10:19 -08:00
Mike Sawka
caa98b471c
release notes for v0.10.2 (#1578) 2024-12-19 14:08:51 -08:00
Evan Simkowitz
8262653361
Make all keybindings in docsite have title (#1580) 2024-12-19 13:50:26 -08:00
Evan Simkowitz
009bd39cb0
Search box component (#1579) 2024-12-19 13:49:48 -08:00
wave-builder[bot]
8235f34921
chore: bump package version to 0.10.2-beta.2 2024-12-19 21:23:37 +00:00
Sylvie Crowe
0f15e4ff56
fix: bound custom fontsizes between 6 and 64 (#1577)
Adds bounding for markdown (and AI) fontsize and fixedfontsize.
2024-12-19 13:01:12 -08:00
Sylvie Crowe
a940de6df6
fix: use updates ssh_config version with match fix (#1576) 2024-12-19 12:55:36 -08:00
Sylvie Crowe
76e8bc4bae
fix: unquote zdotdir for starting zsh in wsl (#1574)
Due to the way this command is run, the quotes are not being handled by
the shell. Removing them allows them to be interpreted correctly in most
cases. This resolves #1569
2024-12-19 12:43:22 -08:00
Mike Sawka
8a22149f2f
fix markdown last margin (#1575) 2024-12-19 12:41:03 -08:00
Evan Simkowitz
12d58c90a7
Make TOS modal buttons larger (#1573) 2024-12-19 12:16:03 -08:00
Sylvie Crowe
2e2a6491e8
SSH Config Panic Handler (#1571)
Match statements in files that are included in an ssh config still seem
to cause panics with the ssh_config library. This adds a panic handler
to catch them, and prevent the app from crashing. It does not resolve
the underlying issue which will need to be done later.
2024-12-19 11:46:35 -08:00
wave-builder[bot]
f12a2266b5
chore: bump package version to 0.10.2-beta.1 2024-12-19 18:46:45 +00:00
Mike Sawka
eff12635d7
transparent terminal themes (#1561) 2024-12-19 10:41:28 -08:00
Mike Sawka
8ae6e47d9b
fix blockstore panic (#1570) 2024-12-19 10:35:50 -08:00