Compare commits

..

8 Commits

Author SHA1 Message Date
Sylvia Crowe a2a5e5afdb fix: typecast fix for new ai library version 2024-09-17 14:12:24 -07:00
Sylvia Crowe 9014660dc3 fix: update ai library to support new keys 2024-09-17 14:05:44 -07:00
Sylvia Crowe 0d10632c62 merge branch 'main' into sylvie/ssh-agent 2024-09-17 13:37:28 -07:00
Evan Simkowitz 8f7f259132 use cgo 2024-09-17 13:32:34 -07:00
Sylvia Crowe 33f2532ae8 fix: update with fixes from new version 2024-09-17 13:18:34 -07:00
Sylvia Crowe c46c2a926c fix: add keys to agent if requested
This will add the keys to the ssh agent if requested by the ssh config
file. It also adds the IdentityAgent keyword to override the environment
variable.
2024-06-10 13:52:19 -07:00
Sylvia Crowe a3de9768f2 fix: allow ssh-agent to work in prod
This runs a separate shell script to get the correct environment
variable instead of relying on one that comes from the environment
waveterm was launched from. It also corrects the number of retries to
adjust for the number of signers provided by the ssh-agent.
2024-06-07 02:43:59 -07:00
Sylvia Crowe cd871a0c6c feat: add ssh-agent support to ssh client 2024-06-06 19:59:22 -07:00
19 changed files with 22 additions and 34 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ jobs:
APPLE_APP_SPECIFIC_PASSWORD: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_NOTARIZATION_PWD }}
APPLE_TEAM_ID: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_NOTARIZATION_TEAM_ID }}
- name: Upload to S3 staging
run: aws s3 cp make/ s3://waveterm-github-artifacts/staging-legacy/${{ steps.set-version.outputs.WAVETERM_VERSION }}/ --recursive --exclude "*/*" --exclude "builder-*.yml"
run: aws s3 cp make/ s3://waveterm-github-artifacts/staging/${{ steps.set-version.outputs.WAVETERM_VERSION }}/ --recursive --exclude "*/*" --exclude "builder-*.yml"
env:
AWS_ACCESS_KEY_ID: "${{ secrets.S3_USERID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.S3_SECRETKEY }}"
-4
View File
@@ -7,10 +7,6 @@
<br/>
</p>
# Wave Legacy
This branch is for the legacy v0.7.7 version of Wave. For the new Wave v8+ code, please use the main branch.
# Wave Terminal
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fwavetermdev%2Fwaveterm.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fwavetermdev%2Fwaveterm?ref=badge_shield)
+1 -1
View File
@@ -13,7 +13,7 @@ is [`electron-builder.config.js`](../electron-builder.config.js).
This will also sign and notarize the macOS app package.
Once a build is complete, it will be placed in `s3://waveterm-github-artifacts/staging-legacy/<version>`.
Once a build is complete, it will be placed in `s3://waveterm-github-artifacts/staging/<version>`.
It can be downloaded for testing using the [`download-staged-artifact.sh`](./download-staged-artifact.sh)
script. When you are ready to publish the artifacts to the public release feed, use the
[`publish-from-staging.sh`](./publish-from-staging.sh) script to directly copy the artifacts from
+1 -1
View File
@@ -7,7 +7,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
BUILDS_DIR=$SCRIPT_DIR/builds
TEMP2_DIR=$SCRIPT_DIR/temp2
AUTOUPDATE_RELEASE_PATH="dl.waveterm.dev/releases-legacy"
AUTOUPDATE_RELEASE_PATH="dl.waveterm.dev/releases"
# Copy the builds to the temp2 directory
echo "Copying builds to temp2"
+1 -1
View File
@@ -13,4 +13,4 @@ fi
DOWNLOAD_DIR=$VERSION-staged
rm -rf $DOWNLOAD_DIR
mkdir -p $DOWNLOAD_DIR
aws s3 cp s3://waveterm-github-artifacts/staging-legacy/$VERSION/ $DOWNLOAD_DIR/ --recursive --profile $AWS_PROFILE
aws s3 cp s3://waveterm-github-artifacts/staging/$VERSION/ $DOWNLOAD_DIR/ --recursive --profile $AWS_PROFILE
+2 -2
View File
@@ -9,8 +9,8 @@ if [ -z "$VERSION" ]; then
exit
fi
ORIGIN="waveterm-github-artifacts/staging-legacy/$VERSION/"
DESTINATION="dl.waveterm.dev/releases-legacy/"
ORIGIN="waveterm-github-artifacts/staging/$VERSION/"
DESTINATION="dl.waveterm.dev/releases/"
OUTPUT=$(aws s3 cp s3://$ORIGIN s3://$DESTINATION --recursive --profile $AWS_PROFILE)
+1 -1
View File
@@ -88,7 +88,7 @@ const config = {
},
publish: {
provider: "generic",
url: "https://dl.waveterm.dev/releases-legacy",
url: "https://dl.waveterm.dev/releases",
},
};
+5 -5
View File
@@ -1,21 +1,21 @@
{
"name": "wavelegacy",
"name": "waveterm",
"author": {
"name": "Command Line Inc",
"email": "info@commandline.dev"
},
"productName": "WaveLegacy",
"productName": "Wave",
"description": "An Open-Source, AI-Native, Terminal Built for Seamless Workflows",
"version": "0.7.7",
"version": "0.7.6",
"main": "dist/emain.js",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/wavetermdev/waveterm"
},
"homepage": "https://www.waveterm.dev",
"homepage": "https://waveterm.dev",
"build": {
"appId": "dev.commandline.wavelegacy"
"appId": "dev.commandline.waveterm"
},
"dependencies": {
"@lexical/react": "^0.17.0",
Binary file not shown.
+1 -1
View File
@@ -68,7 +68,7 @@ class AboutModal extends React.Component<{}, {}> {
<img src={logo} alt="logo" />
</div>
<div className="text-wrapper">
<div>Wave Terminal (Legacy)</div>
<div>Wave Terminal</div>
<div className="text-standard">
Open-Source AI-Native Terminal
<br />
+1 -1
View File
@@ -269,7 +269,7 @@ class EditRemoteConnModal extends React.Component<{}, {}> {
Most options for connections imported from an ssh config file cannot be edited. For these
changes, you must edit the config file and import it again. The shell preference can be
edited, but will return to the default if you import again. It will stay changed if you
follow <a href="https://legacydocs.waveterm.dev/features/sshconfig-imports">this procedure</a>.
follow <a href="https://docs.waveterm.dev/features/sshconfig-imports">this procedure</a>.
</span>
}
icon={<i className="fa-sharp fa-regular fa-fw fa-triangle-exclamation" />}
+1 -1
View File
@@ -98,7 +98,7 @@ class TosModal extends React.Component<{}, {}> {
We collect minimal anonymous
<a
target="_blank"
href={util.makeExternLink("https://legacydocs.waveterm.dev/reference/telemetry")}
href={util.makeExternLink("https://docs.waveterm.dev/reference/telemetry")}
rel={"noopener"}
>
&nbsp;telemetry data&nbsp;
@@ -216,7 +216,7 @@ class ViewRemoteConnDetailModal extends React.Component<{}, {}> {
<span>
Connections imported from an ssh config file can be deleted, but will come back upon
importing again. They will stay removed if you follow{" "}
<a href="https://legacydocs.waveterm.dev/features/sshconfig-imports">this procedure</a>.
<a href="https://docs.waveterm.dev/features/sshconfig-imports">this procedure</a>.
</span>
}
icon={<i className="fa-sharp fa-regular fa-fw fa-triangle-exclamation" />}
+1 -1
View File
@@ -333,7 +333,7 @@ class MainSideBar extends React.Component<MainSideBarProps, {}> {
key="documentation"
frontIcon={<i className="fa-sharp fa-regular fa-circle-question icon" />}
contents="Documentation"
onClick={() => openLink("https://legacydocs.waveterm.dev")}
onClick={() => openLink("https://docs.waveterm.dev")}
endIcons={[
<CenteredIcon key="offsite" className="link-offsite hoverEffect">
<i className="fa-sharp fa-solid fa-arrow-up-right-from-square"></i>
+1 -1
View File
@@ -225,7 +225,7 @@ class CmdInput extends React.Component<{}, {}> {
<If condition={feState["invalidshellstate"]}>
<div className="remote-status-warning">
The shell state for this tab is invalid (
<a target="_blank" href="https://legacydocs.waveterm.dev/reference/faq">
<a target="_blank" href="https://docs.waveterm.dev/reference/faq">
see FAQ
</a>
). Must reset to continue.
+1 -1
View File
@@ -375,7 +375,7 @@ function createWindow(clientData: ClientDataType | null): Electron.BrowserWindow
win.webContents.send("zoom-changed");
});
win.webContents.setWindowOpenHandler(({ url, frameName }) => {
if (url.startsWith("https://docs.waveterm.dev/") || url.startsWith("https://legacydocs.waveterm.dev")) {
if (url.startsWith("https://docs.waveterm.dev/")) {
console.log("openExternal docs", url);
electron.shell.openExternal(url);
} else if (url.startsWith("https://discord.gg/")) {
+1 -8
View File
@@ -167,14 +167,7 @@ func SendTelemetry(ctx context.Context, force bool) error {
log.Printf("[pcloud] sending telemetry data\n")
dayStr := telemetry.GetCurDayStr()
defaultShellType := shellapi.DetectLocalShellType()
input := TelemetryInputType{
UserId: clientData.UserId,
ClientId: clientData.ClientId,
AppType: "legacy",
CurDay: dayStr,
DefaultShell: defaultShellType,
Activity: activity,
}
input := TelemetryInputType{UserId: clientData.UserId, ClientId: clientData.ClientId, CurDay: dayStr, DefaultShell: defaultShellType, Activity: activity}
req, err := makeAnonPostReq(ctx, TelemetryUrl, input)
if err != nil {
return err
-1
View File
@@ -24,7 +24,6 @@ type TelemetryInputType struct {
ClientId string `json:"clientid"`
CurDay string `json:"curday"`
DefaultShell string `json:"defaultshell"`
AppType string `json:"apptype"`
Activity []*telemetry.ActivityType `json:"activity"`
}
+2 -2
View File
@@ -12620,9 +12620,9 @@ __metadata:
languageName: node
linkType: hard
"wavelegacy@workspace:.":
"waveterm@workspace:.":
version: 0.0.0-use.local
resolution: "wavelegacy@workspace:."
resolution: "waveterm@workspace:."
dependencies:
"@babel/cli": "npm:^7.24.8"
"@babel/core": "npm:^7.25.2"