Commit Graph

1808 Commits

Author SHA1 Message Date
Mike Sawka
a24fe750c5
conn updates 4 (#1726) 2025-01-14 14:09:26 -08:00
Evan Simkowitz
1ded7bdd74
Update packageManager to Yarn 4.6.0 (#1729)
Also removes separate package manager declaration in docs package.json
2025-01-14 14:02:37 -08:00
Sylvie Crowe
a44a1a4b4b
Remove Old Prototype Plot (#1721)
Removes obsolete plot widget from a prototype version of the app.
2025-01-13 11:55:04 -08:00
Sylvie Crowe
99e122d724
RcFileInstall RPC Command (#1720)
Creates an RPC command for installing shell rcfiles instead of relying
on a separate installation session.
2025-01-12 16:31:00 -08:00
Sylvie Crowe
0174e7cd07
RemoteInfo Rpc (#1719)
Adds an Rpc Command for getting RemoteInfo. This is used to replace the
session that was used to determine the shell on remote machines.
2025-01-12 15:22:07 -08:00
Sylvie Crowe
5a7771bf40
Update Wsh Command (#1715)
This adds an RPC command for updating wsh on a remote machine without
starting a new session. It is not being used yet, but will be used for
connections using a single server in the future.
2025-01-10 21:29:06 -08:00
Evan Simkowitz
b26d233997
Update BUILD.md (#1714)
remove typo
2025-01-10 15:27:55 -08:00
Evan Simkowitz
db3de47def
Use Zig for Windows and ARM64 Linux (#1713)
I'm making steps to simplify our build dependencies, consolidating our C
compiler requirements so we only depend on Zig.

Before, we used Zig for x64 but not for arm64. This meant that users
using an ARM dev machine would need to install `build-essentials` and
Zig. We also required MinGW-w64 on Windows, which is a pain to install
since it can be provided by a bunch of different tools, the smallest of
which is like a 2GB install.
2025-01-10 15:23:56 -08:00
Ian Jennings
0812c6ac27
TestDriver: Checks + Comments (#1698) 2025-01-10 14:56:20 -08:00
dependabot[bot]
e3809af132
Bump golang.org/x/crypto from 0.31.0 to 0.32.0 (#1703)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from
0.31.0 to 0.32.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8929309228"><code>8929309</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="4a75ba54c2"><code>4a75ba5</code></a>
all: make function and struct comments match the names</li>
<li>See full diff in <a
href="https://github.com/golang/crypto/compare/v0.31.0...v0.32.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/crypto&package-manager=go_modules&previous-version=0.31.0&new-version=0.32.0)](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>
2025-01-10 14:10:37 -08:00
Mike Sawka
ba5f929b3f
conn updates 3 (#1711)
lots of misc connection refactoring / fixes:

* adds blocklogger as a way to writing logging information from the backend directly to the a terminal block
* use blocklogger in conncontroller
* use blocklogger in sshclient
* fix remote name in password prompt
* use sh -c to get around shell weirdness
* remove cmd.exe special cases
* use GetWatcher().GetFullConfig() rather than re-reading the config file
* change order of things we do when establishing a connection.  ask for wsh up front.  then do domain socket, then connserver
* reduce number of sessions required in the common case when wsh is already installed.  running the connserver is now a "multi-command" which checks if it is installed, then asks for the version
* send jwt token over stdin instead of in initial command string
* fix focus bug for frontend conn modal
* track more information in connstatus
* simplify wshinstall function
* add nowshreason
* other misc cleanup
2025-01-10 14:09:32 -08:00
Evan Simkowitz
37929d90c1
Simplify regex and fix tests for pamparse (#1712)
Simplifies the regex so it doesn't have as many negations.

Adds an option to pass the `/etc/passwd` values needed for pamparse so
that we can mock them for the tests. Also allows us to only grab those
values once at launch, since they shouldn't change.
2025-01-10 13:53:24 -08:00
dependabot[bot]
ffcab2a16a
Bump golang.org/x/term from 0.27.0 to 0.28.0 (#1706)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.27.0 to
0.28.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="40b02d69cd"><code>40b02d6</code></a>
go.mod: update golang.org/x dependencies</li>
<li>See full diff in <a
href="https://github.com/golang/term/compare/v0.27.0...v0.28.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/term&package-manager=go_modules&previous-version=0.27.0&new-version=0.28.0)](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>
2025-01-10 11:27:05 -08:00
Evan Simkowitz
a39b3ca480
Simplify logging for XDG override (#1709) 2025-01-10 11:20:45 -08:00
Evan Simkowitz
9ff430bbd7
Better XDG directory variable fix for Snap (#1701)
This fix will overwrite the XDG variables when creating a shell session
and only if the installation is Snap (as determined by the presence of
the `$SNAP` environment variable). It also will parse the user's PAM
files, if present, to ensure that if the XDG variables were set there,
they're restored. Otherwise, if the variables are set in an RC or
profile file, we'll already pick it up when the shell starts.

closes #1696

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-01-10 11:06:15 -08:00
Evan Simkowitz
1ff578b3f5
Remove major bumps from dependabot (#1708) 2025-01-10 11:03:24 -08:00
Evan Simkowitz
e0fe6c6e85
Fix dependabot (#1707)
Attempting to fix timeouts in the npm dependabot runs. I noticed that
some of the exclusion patterns were incomplete
2025-01-10 10:52:09 -08:00
Mike Sawka
0d7439e0fd
roadmap updates (#1700) 2025-01-09 12:58:47 -08:00
Sylvie Crowe
a3cbcc5a77
Widget Config Magnify (#1689)
Introduces a configuration option to widgets to allow them to magnify on
startup.
2025-01-08 15:02:55 -08:00
Evan Simkowitz
5c3eba2644
Fix directory preview head width (#1691)
The head was set to `100%`, which meant that it only was as wide as the
viewport, rather than its contents, which can overflow. Now, the width
is `fit-content`, which allows it to overflow with its contents so that
the background and border extend the full width.
2025-01-07 17:17:28 -08:00
Evan Simkowitz
22561d847f
Add brief project structure summary to contributing doc (#1690) 2025-01-07 14:32:38 -08:00
Sylvie Crowe
cee698bbeb
fix: default en_US.UTF-8 if lang has problems (#1687)
Mac's `defaults read -g AppleLocale` command can return locales that
don't have a language in /usr/share/locale. This prevents those locales
from using a language with UTF-8 support. This will use en_US.UTF-8 as a
default to cover those cases if there are problems. As per usual, if
LANG is already set, that value will be used instead.
2025-01-07 11:47:40 -08:00
Mike Sawka
55f03730bc
add term:allowbracketedpaste, default false (#1688) 2025-01-07 10:55:26 -08:00
Evan Simkowitz
b51ff834b2
Happy new year! (#1684)
Update all 2024 references to 2025
2025-01-04 20:56:57 -08:00
Evan Simkowitz
d2802ad297
Add init task (#1681)
Add init task to initialize the dev environment
2025-01-04 20:18:31 -08:00
Mike Sawka
2d11ac439c
update ROADMAP with v0.11.1, v0.12, some future stuff. (#1682) 2025-01-03 14:24:52 -08:00
dependabot[bot]
0ecf9cc323
Bump github.com/shirou/gopsutil/v4 from 4.24.11 to 4.24.12 (#1679)
Bumps
[github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from
4.24.11 to 4.24.12.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/shirou/gopsutil/releases">github.com/shirou/gopsutil/v4's
releases</a>.</em></p>
<blockquote>
<h2>v4.24.12</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>cpu</h3>
<ul>
<li>enable all rules of perfsprint linter by <a
href="https://github.com/mmorel-35"><code>@​mmorel-35</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1762">shirou/gopsutil#1762</a></li>
<li>refactor(darwin): optimize string allocation by <a
href="https://github.com/uubulb"><code>@​uubulb</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1768">shirou/gopsutil#1768</a></li>
</ul>
<h3>mem</h3>
<ul>
<li>enable testifylint linter by <a
href="https://github.com/mmorel-35"><code>@​mmorel-35</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1743">shirou/gopsutil#1743</a></li>
</ul>
<h3>net</h3>
<ul>
<li>[openbsd] set ConnectionsPid to return NotImplemented by <a
href="https://github.com/tuftedocelot"><code>@​tuftedocelot</code></a>
in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1757">shirou/gopsutil#1757</a></li>
<li>Refactor: merge base functions to net.go by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1764">shirou/gopsutil#1764</a></li>
</ul>
<h3>process</h3>
<ul>
<li>fix[posix,windows]: release process after os.FindProcess() by <a
href="https://github.com/NitroCao"><code>@​NitroCao</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1716">shirou/gopsutil#1716</a></li>
<li>enable all rules of testifylint linter by <a
href="https://github.com/mmorel-35"><code>@​mmorel-35</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1761">shirou/gopsutil#1761</a></li>
<li>[freebsd]: add CWD by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1765">shirou/gopsutil#1765</a></li>
</ul>
<h3>sensors</h3>
<ul>
<li>fix[darwin]: memory leak and string corruption in ARM Mac
temperature sensors by <a
href="https://github.com/chuangbo"><code>@​chuangbo</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1767">shirou/gopsutil#1767</a></li>
</ul>
<h3>Other Changes</h3>
<ul>
<li>fix[github]: deprecate macos-12, add macos-15 by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1760">shirou/gopsutil#1760</a></li>
<li>[doc]: Update README for supported metrics. by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1766">shirou/gopsutil#1766</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/NitroCao"><code>@​NitroCao</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1716">shirou/gopsutil#1716</a></li>
<li><a
href="https://github.com/tuftedocelot"><code>@​tuftedocelot</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1757">shirou/gopsutil#1757</a></li>
<li><a href="https://github.com/chuangbo"><code>@​chuangbo</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1767">shirou/gopsutil#1767</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/shirou/gopsutil/compare/v4.24.11...v4.24.12">https://github.com/shirou/gopsutil/compare/v4.24.11...v4.24.12</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="252dcbf8a2"><code>252dcbf</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1768">#1768</a>
from uubulb/darwin</li>
<li><a
href="1f39525d2d"><code>1f39525</code></a>
refactor(darwin): optimize string allocation</li>
<li><a
href="bcd0c0a661"><code>bcd0c0a</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1767">#1767</a>
from chuangbo/fix/memory-leak-and-string-corruption-...</li>
<li><a
href="19082b35ae"><code>19082b3</code></a>
fix: memory leak and string corruption in ARM Mac temperature
sensors</li>
<li><a
href="b8e1b282ba"><code>b8e1b28</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1766">#1766</a>
from shirou/feat/update_readme</li>
<li><a
href="b9890b1fbc"><code>b9890b1</code></a>
[doc]: Update README for supported metrics.</li>
<li><a
href="90efec0764"><code>90efec0</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1765">#1765</a>
from shirou/feat/process_cwd_freebsd</li>
<li><a
href="a284e30930"><code>a284e30</code></a>
[process][freebsd]: add CWD</li>
<li><a
href="ab66f2d0e1"><code>ab66f2d</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1764">#1764</a>
from shirou/refactor/net_merge_base_functions</li>
<li><a
href="69c2c10b0f"><code>69c2c10</code></a>
feat: enable build test on OpenBSD.</li>
<li>Additional commits viewable in <a
href="https://github.com/shirou/gopsutil/compare/v4.24.11...v4.24.12">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/shirou/gopsutil/v4&package-manager=go_modules&previous-version=4.24.11&new-version=4.24.12)](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>
2025-01-03 14:02:09 -08:00
Evan Simkowitz
a219ea5c9b
Fix keybindings not working for ephemeral nodes (#1678) 2025-01-03 09:02:19 -08:00
Sylvie Crowe
e388128010
fix: nil dereference in nowsh error messages (#1673)
This showed up when the domain socket request failed but the connection
request did not. With this fixed, this case correctly enters nowsh mode.
2025-01-02 16:02:27 -08:00
Mike Sawka
4fd6d36d8e
conn updates 2 (#1660)
* use pwsh over powershell if installed (on windows) for default shell
* refactor blockcontroller.DoRunShellCommand into a "setup" and "manage" phase
* fix wshcmd-conn to also disconnect wsl connections
* new genconn interfaces to make a standardized environment to run SSH/WSL commands via `sh -c`.  also create better quoting functions that are composable
* replace html/template with text/template for shell command templating (avoids special chars getting turned into HTML entities, breaking the commands)
* do not reinstall wsh if the installed version has a higher version (prevents flip-flopping on shared systems)
* simplify clientOs/clientArch detection.  use `uname -sm`.  also validate the os/arch combo as compatible with our builds.
* replace CpHostToRemote with CpWshToRemote. hard codes wsh paths inside of the function instead of having them passed in (quoting restrictions)
* new SyncBuffer class to use with commands that properly synchronizes Writes/String output
* fix setTermSize to actually update DB with terminal size
2025-01-02 14:15:32 -08:00
Sylvie Crowe
6c53eb884a
fix: remove context from wsl connection struct (#1663)
This fixes a WSL bug where disconnecting the controller does not allow
the controller to restart until the app reboots.
2025-01-02 13:05:28 -08:00
Mike Sawka
3fc400960b
terminal multi-input for tab (#1643) 2025-01-02 10:06:47 -08:00
Evan Simkowitz
e4c1ab6ea5
move roadmap below installation (#1671) 2025-01-02 08:54:30 -08:00
Evan Simkowitz
99910f389f
Update roadmap progress (#1670)
also adds links to readme and docsite
2025-01-02 08:51:04 -08:00
Evan Simkowitz
a2974a3e6d
Fix escape getting eaten by global event handler (#1668)
The terminal keydown handler was set to filter out all key bindings that
have a registered global handler, regardless of whether they actually
propagated or not. This allowed the global handlers to still work
despite the terminal input having precedence, but it also meant that
global key bindings that were invalid for the current context would
still get eaten and not sent to stdin.

Now, the terminal keydown handler will directly call the global handlers
so we can actually see whether or not the global key binding is valid.
If the global handler is valid, it'll be processed immediately and stdin
won't receive the input. If it's not handled, we'll let xterm pass it to
stdin. Because anything xterm doesn't handle gets sent to the
globally-registered version of the handler, we need to make sure we
don't do extra work to process an input we've already checked. We'll
store the last-handled keydown event as a static variable so we can
dedupe later calls for the same event to prevent doing double work.
2025-01-02 08:38:07 -08:00
Evan Simkowitz
035e0b9840
Fix the progressbar component (#1661)
The progress bar styling was broken and was showing as zero-height
2025-01-01 11:27:46 -08:00
Evan Simkowitz
da2291f889
Terminal search (#1654)
This adds support for searching the terminal buffer using the
`@xterm/addon-search` library. It also adds three options for searching:
regex, case-sensitive, and whole-word. These can be included or excluded
from the search options for `useSearch` depending on whether the search
backend supports it.


![image](https://github.com/user-attachments/assets/e0b7e2ed-641b-463f-94a2-f24969fb3b06)

I didn't like any of the Font Awesome icons for these toggles so until
we have time to make some of our own icons that better match the Font
Awesome style, I've appropriated VSCode's icons from their [codicons
font](https://github.com/microsoft/vscode-codicons).

To implement the toggle-able buttons for these options, I've introduced
a new HeaderElem component, `ToggleIconButton`. This is styled similarly
to `IconButton`, but when you hover over it, it also shows a highlighted
background and when active, it shows as fully-opaque and with an
accented border.

Also removes the `useDismiss` behavior for the search box to better
match behavior in other apps.

Also fixes the scrollbar observer from my previous PR so it's wider.
2025-01-01 10:43:02 -08:00
Mike Sawka
fe91d167b6
fix all panichandlers for the new format (inline recover()) (#1659) 2024-12-31 09:31:55 -08:00
Sylvie Crowe
7d0fb0391f
Improved Shell Detection (#1658)
Use the SHELL environment variable instead of the /etc/passwd file for
determining the shell on Linux.
2024-12-30 22:18:56 -08:00
Mike Sawka
b59e9e95bd
conn updates (more consistency) (#1657) 2024-12-30 17:11:50 -08:00
Mike Sawka
91a54442b7
implement web:hidenav (#1639), and file:/// urls (#1638) (#1645) 2024-12-30 16:51:00 -08:00
Sylvie Crowe
2590ad037d
fix: more robust processor checks (#1656)
This ensures invalid architectures cannot have wsh installed. This
includes validating the output of `uname -m` and PROCESSOR_ARCHITECTURE
2024-12-30 16:12:14 -08:00
Mohammed Zaid R Nadaf
a1f26ba455
window-dimensions and zoom crash fixed (#1652)
fixed issue #1613 partially, 

added window:dimensions as a setting which gives the user to define
dimensions.

fixed the zoom in and out logic to prevent the app from crashing.

Had issues with getting setting zoomfactor in emain-tabview.ts. will fix
it
2024-12-30 07:57:59 -08:00
Evan Simkowitz
cb2cd72cd4
add aliases for electron:dev, electron:start, and docsite:start tasks (#1651) 2024-12-29 10:05:17 -08:00
Yacoub
0890475a60
Deleting current workspace switches to another instead of closing [ backend implementation ] (#1623)
I did not mean to close the previous pr, anyway i tried to implement
what you suggested, the backend now does most of it
and DeleteWorkspace will return an unclaimed id and avoid closing the
window.

```go 
        const moveToNewWorkspace = await WorkspaceService.DeleteWorkspace(workspaceId) 
        console.log("delete-workspace done", workspaceId, ww?.waveWindowId);
        if (ww?.workspaceId == workspaceId){
            if ( workspaceList?.length > 1 ) {
                   await ww.switchWorkspace(moveToNewWorkspace)
            } else {
                    console.log("delete-workspace closing window", workspaceId, ww?.waveWindowId);
                    ww.destroy();
            }
        }
    });
```


![unknown_2024 12 26-17
05](https://github.com/user-attachments/assets/9c8455e5-b71c-479d-a15c-ee5c99c7a909)
![unknown_2024 12 26-17
06](https://github.com/user-attachments/assets/5dbf63bc-1ffd-4088-abc0-7c02fac9af94)

---------

Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2024-12-29 09:58:29 -08:00
Evan Simkowitz
477052e8fc
Web Search (#1631)
Adds support for Cmd:f, Ctrl:f, and Alt:f to activate search in the Web
and Help widgets
2024-12-29 09:58:11 -08:00
Evan Simkowitz
6de98ac3fb
Remove fatals, don't know why I added these (#1642) 2024-12-27 17:39:42 -05:00
Evan Simkowitz
0df0c57639
Mark finished items in roadmap (#1640) 2024-12-27 13:39:04 -08:00
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