From 4bf0f725f728f94ff6634db4c8c3ccad83d709c3 Mon Sep 17 00:00:00 2001 From: "wave-builder[bot]" <181805596+wave-builder[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 23:59:06 +0000 Subject: [PATCH 01/10] chore: bump package version to 0.8.13 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f40fce5a2..b200ddea0 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "productName": "Wave", "description": "Open-Source AI-Native Terminal Built for Seamless Workflows", "license": "Apache-2.0", - "version": "0.8.13-beta.3", + "version": "0.8.13", "homepage": "https://waveterm.dev", "build": { "appId": "dev.commandline.waveterm" From 4fcac60f97baa18965af51e5e723bd0d31339eb5 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 24 Oct 2024 18:16:06 -0700 Subject: [PATCH 02/10] Fix WinGet publish script (#1132) --- Taskfile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index a777c7c52..70667d90b 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -247,8 +247,8 @@ tasks: vars: UP_VERSION: '{{ replace "v" "" (index .MATCH 0)}}' cmd: | - iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe - .\wingetcreate.exe update {{.WINGET_PACKAGE}} -s -v {{.UP_VERSION}} -u "https://{{.RELEASES_BUCKET}}/{{.APP_NAME}}-win32-x64-{{.UP_VERSION}}.exe" -t $env:GITHUB_TOKEN + Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe + .\wingetcreate.exe update {{.WINGET_PACKAGE}} -s -v {{.UP_VERSION}} -u "https://{{.RELEASES_BUCKET}}/{{.APP_NAME}}-win32-x64-{{.UP_VERSION}}.msi" -t $env:GITHUB_TOKEN yarn: desc: Runs `yarn` From d66380d88b6cfa4c0b7b86d98619523c49c38e3e Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 24 Oct 2024 18:42:48 -0700 Subject: [PATCH 03/10] Remove release creation race in build helper (#1133) There was a race condition in the Build Helper where if multiple runners got to the "Create draft release" step at the same time, we could get duplicate releases created. Now, each of the build runners will upload the artifacts to the workflow artifact feed. Then, a single runner will create the draft release. --- .github/workflows/build-helper.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-helper.yml b/.github/workflows/build-helper.yml index db6fce049..52b95fd0c 100644 --- a/.github/workflows/build-helper.yml +++ b/.github/workflows/build-helper.yml @@ -147,6 +147,7 @@ jobs: STATIC_DOCSITE_PATH: ${{env.STATIC_DOCSITE_PATH}} shell: powershell # electron-builder's Windows code signing package has some compatibility issues with pwsh, so we need to use Windows Powershell + # Upload artifacts to the S3 staging and to the workflow output for the draft release job - name: Upload to S3 staging if: github.event_name != 'workflow_dispatch' run: task artifacts:upload @@ -154,8 +155,21 @@ jobs: AWS_ACCESS_KEY_ID: "${{ secrets.ARTIFACTS_KEY_ID }}" AWS_SECRET_ACCESS_KEY: "${{ secrets.ARTIFACTS_KEY_SECRET }}" AWS_DEFAULT_REGION: us-west-2 + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.runner }} + path: make + create-release: + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_dispatch' }} + steps: + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + path: make + merge-multiple: true - name: Create draft release - if: github.event_name != 'workflow_dispatch' uses: softprops/action-gh-release@v2 with: prerelease: ${{ contains(github.ref_name, '-beta') }} @@ -173,9 +187,3 @@ jobs: make/*.snap make/*.flatpak make/*.AppImage - - name: Upload build artifacts to workflow (manual runs only) - if: github.event_name == 'workflow_dispatch' - uses: actions/upload-artifact@v4 - with: - name: ${{matrix.runner}} - path: make From 20d333f7245d45a8e4570e8d4df880a5eef71435 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 24 Oct 2024 23:24:54 -0700 Subject: [PATCH 04/10] Make menubutton text clip to avoid overflow (#1135) --- frontend/app/element/menubutton.less | 15 +++++++++++++++ frontend/app/element/menubutton.tsx | 5 +++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 frontend/app/element/menubutton.less diff --git a/frontend/app/element/menubutton.less b/frontend/app/element/menubutton.less new file mode 100644 index 000000000..e74601aa4 --- /dev/null +++ b/frontend/app/element/menubutton.less @@ -0,0 +1,15 @@ +.menubutton { + overflow: hidden; + .menu-anchor { + width: 100%; + .button { + width: 100%; + div { + max-width: 100%; + text-overflow: ellipsis; + overflow: hidden; + flex-shrink: 1; + } + } + } +} diff --git a/frontend/app/element/menubutton.tsx b/frontend/app/element/menubutton.tsx index f0cb5e383..95cf4bba0 100644 --- a/frontend/app/element/menubutton.tsx +++ b/frontend/app/element/menubutton.tsx @@ -2,6 +2,7 @@ import clsx from "clsx"; import { memo, useState } from "react"; import { Button } from "./button"; import { Menu } from "./menu"; +import "./menubutton.less"; const MenuButtonComponent = ({ items, className, text, title }: MenuButtonProps) => { const [isOpen, setIsOpen] = useState(false); @@ -13,8 +14,8 @@ const MenuButtonComponent = ({ items, className, text, title }: MenuButtonProps) style={{ borderColor: isOpen ? "var(--accent-color)" : "transparent" }} title={title} > - {text} - +
{text}
+ From 34e4ffc429fd1e61b7ca1a665f8b0f21ab360fd8 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 24 Oct 2024 23:32:54 -0700 Subject: [PATCH 05/10] Use FloatingPortal to position menu above all other contents (#1136) --- frontend/app/element/menu.less | 1 - frontend/app/element/menu.tsx | 92 +++++++++++++++++----------------- 2 files changed, 47 insertions(+), 46 deletions(-) diff --git a/frontend/app/element/menu.less b/frontend/app/element/menu.less index 60397f7f0..12b3e1c6b 100644 --- a/frontend/app/element/menu.less +++ b/frontend/app/element/menu.less @@ -1,6 +1,5 @@ .menu { position: absolute; - z-index: 1000; display: flex; max-width: 400px; padding: 2px; diff --git a/frontend/app/element/menu.tsx b/frontend/app/element/menu.tsx index 9c762c436..d8aff3273 100644 --- a/frontend/app/element/menu.tsx +++ b/frontend/app/element/menu.tsx @@ -1,7 +1,7 @@ // Copyright 2024, Command Line Inc. // SPDX-License-Identifier: Apache-2.0 -import { type Placement, useDismiss, useFloating, useInteractions } from "@floating-ui/react"; +import { FloatingPortal, type Placement, useDismiss, useFloating, useInteractions } from "@floating-ui/react"; import clsx from "clsx"; import { createRef, Fragment, memo, ReactNode, useRef, useState } from "react"; import ReactDOM from "react-dom"; @@ -141,53 +141,55 @@ const MenuComponent = memo( {isOpen && ( -
- {items.map((item, index) => { - const key = `${index}`; - const isActive = hoveredItems.includes(key); + +
+ {items.map((item, index) => { + const key = `${index}`; + const isActive = hoveredItems.includes(key); - const menuItemProps = { - className: clsx("menu-item", { active: isActive }), - onMouseEnter: (event: React.MouseEvent) => - handleMouseEnterItem(event, null, index, item), - onClick: (e: React.MouseEvent) => handleOnClick(e, item), - }; + const menuItemProps = { + className: clsx("menu-item", { active: isActive }), + onMouseEnter: (event: React.MouseEvent) => + handleMouseEnterItem(event, null, index, item), + onClick: (e: React.MouseEvent) => handleOnClick(e, item), + }; - const renderedItem = renderMenuItem ? ( - renderMenuItem(item, menuItemProps) - ) : ( -
- {item.label} - {item.subItems && } -
- ); + const renderedItem = renderMenuItem ? ( + renderMenuItem(item, menuItemProps) + ) : ( +
+ {item.label} + {item.subItems && } +
+ ); - return ( - - {renderedItem} - {visibleSubMenus[key]?.visible && item.subItems && ( - - )} - - ); - })} -
+ return ( + + {renderedItem} + {visibleSubMenus[key]?.visible && item.subItems && ( + + )} + + ); + })} +
+ )} ); From 92546039a44641d3a5a5468c3a9f359de7509fa3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:23:50 -0700 Subject: [PATCH 06/10] Bump the dev-dependencies group with 7 updates (#1138) --- package.json | 12 ++-- yarn.lock | 188 +++++++++++++++++++++++++-------------------------- 2 files changed, 100 insertions(+), 100 deletions(-) diff --git a/package.json b/package.json index b200ddea0..93078f8d1 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@chromatic-com/storybook": "^2.0.2", - "@eslint/js": "^9.12.0", + "@eslint/js": "^9.13.0", "@rollup/plugin-node-resolve": "^15.3.0", "@storybook/addon-essentials": "^8.3.6", "@storybook/addon-interactions": "^8.3.6", @@ -41,10 +41,10 @@ "@types/css-tree": "^2", "@types/debug": "^4", "@types/electron": "^1.6.10", - "@types/node": "^22.7.6", + "@types/node": "^22.8.0", "@types/papaparse": "^5", "@types/pngjs": "^6.0.5", - "@types/react": "^18.3.11", + "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@types/semver": "^7", "@types/shell-quote": "^1", @@ -58,7 +58,7 @@ "electron": "^33.0.1", "electron-builder": "^25.1.8", "electron-vite": "^2.3.0", - "eslint": "^9.12.0", + "eslint": "^9.13.0", "eslint-config-prettier": "^9.1.0", "less": "^4.2.0", "prettier": "^3.3.3", @@ -72,8 +72,8 @@ "tslib": "^2.8.0", "tsx": "^4.19.1", "typescript": "^5.6.3", - "typescript-eslint": "^8.10.0", - "vite": "^5.4.9", + "typescript-eslint": "^8.11.0", + "vite": "^5.4.10", "vite-plugin-image-optimizer": "^1.1.8", "vite-plugin-static-copy": "^2.0.0", "vite-plugin-svgr": "^4.2.0", diff --git a/yarn.lock b/yarn.lock index 2b905e44d..dad22da3f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -769,10 +769,10 @@ __metadata: languageName: node linkType: hard -"@eslint/core@npm:^0.6.0": - version: 0.6.0 - resolution: "@eslint/core@npm:0.6.0" - checksum: 10c0/fffdb3046ad6420f8cb9204b6466fdd8632a9baeebdaf2a97d458a4eac0e16653ba50d82d61835d7d771f6ced0ec942ec482b2fbccc300e45f2cbf784537f240 +"@eslint/core@npm:^0.7.0": + version: 0.7.0 + resolution: "@eslint/core@npm:0.7.0" + checksum: 10c0/3cdee8bc6cbb96ac6103d3ead42e59830019435839583c9eb352b94ed558bd78e7ffad5286dc710df21ec1e7bd8f52aa6574c62457a4dd0f01f3736fa4a7d87a languageName: node linkType: hard @@ -793,10 +793,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.12.0, @eslint/js@npm:^9.12.0": - version: 9.12.0 - resolution: "@eslint/js@npm:9.12.0" - checksum: 10c0/325650a59a1ce3d97c69441501ebaf415607248bacbe8c8ca35adc7cb73b524f592f266a75772f496b06f3239e3ee1996722a242148085f0ee5fb3dd7065897c +"@eslint/js@npm:9.13.0, @eslint/js@npm:^9.13.0": + version: 9.13.0 + resolution: "@eslint/js@npm:9.13.0" + checksum: 10c0/672257bffe17777b8a98bd80438702904cc7a0b98b9c2e426a8a10929198b3553edf8a3fc20feed4133c02e7c8f7331a0ef1b23e5dab8e4469f7f1791beff1e0 languageName: node linkType: hard @@ -2714,21 +2714,21 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.7.6": - version: 22.7.6 - resolution: "@types/node@npm:22.7.6" +"@types/node@npm:^22.8.0": + version: 22.8.0 + resolution: "@types/node@npm:22.8.0" dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/d4406a63afce981c363fb1d1954aaf1759ad2d487c0833ebf667565ea4e45ff217d6fab4b5343badbdeccdf9d2e4a0841d633e0c929ceabcb33c288663dd0c73 + undici-types: "npm:~6.19.8" + checksum: 10c0/21eb10cee768d32e965d095415a4c6a7752f26bfcc34a8c1d7ab3989a6ab13a51761cc245909570d59c6bdacbdfd055d307dc6b201ac04305c57e65c1e7bf5be languageName: node linkType: hard "@types/papaparse@npm:^5": - version: 5.3.14 - resolution: "@types/papaparse@npm:5.3.14" + version: 5.3.15 + resolution: "@types/papaparse@npm:5.3.15" dependencies: "@types/node": "npm:*" - checksum: 10c0/feb4d215903b67442feaa9836a6a5771e78dc6a9da24781e399c6f891622fa82245cd783ab2613c5be43e4a2d6a94da52325538e4485af258166864576ecd0d8 + checksum: 10c0/9333e980b9ed4102f80b1791b6dfefb23fb4d27252b2b6ee6084b2cd847cbe802cfb838d46b4f6b4cb035f9225e0323034c956ee21bbcbcb4cbdb663302d5eeb languageName: node linkType: hard @@ -2801,13 +2801,13 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^18.3.11": - version: 18.3.11 - resolution: "@types/react@npm:18.3.11" +"@types/react@npm:^18.3.12": + version: 18.3.12 + resolution: "@types/react@npm:18.3.12" dependencies: "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/ce80512246ca5bda69db85b9f4f1835189334acfb6b2c4f3eda8cabff1ff1a3ea9ce4f3b895bdbc18c94140aa45592331aa3fdeb557f525c1b048de7ce84fc0e + checksum: 10c0/8bae8d9a41619804561574792e29112b413044eb0d53746dde2b9720c1f9a59f71c895bbd7987cd8ce9500b00786e53bc032dced38cddf42910458e145675290 languageName: node linkType: hard @@ -2950,15 +2950,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.10.0": - version: 8.10.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.10.0" +"@typescript-eslint/eslint-plugin@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.11.0" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.10.0" - "@typescript-eslint/type-utils": "npm:8.10.0" - "@typescript-eslint/utils": "npm:8.10.0" - "@typescript-eslint/visitor-keys": "npm:8.10.0" + "@typescript-eslint/scope-manager": "npm:8.11.0" + "@typescript-eslint/type-utils": "npm:8.11.0" + "@typescript-eslint/utils": "npm:8.11.0" + "@typescript-eslint/visitor-keys": "npm:8.11.0" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" @@ -2969,66 +2969,66 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/4b77ba9c865a2a14e238cd330b5901f0274b8ce1c13324fccd0339b8eea82a50a4709394c903fd8cd5bd0d3aebace0761ff9a4a19fa20b00bb61349b7671c035 + checksum: 10c0/be509f7bb0c0c596801059b06995a81a1c326cc6ac31d96a32f7b6b7d7b495f9bad4dc442aa6e923d22515e62c668d3c14695c68bd6e0be1d4bf72158b7fd2d6 languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.10.0": - version: 8.10.0 - resolution: "@typescript-eslint/parser@npm:8.10.0" +"@typescript-eslint/parser@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/parser@npm:8.11.0" dependencies: - "@typescript-eslint/scope-manager": "npm:8.10.0" - "@typescript-eslint/types": "npm:8.10.0" - "@typescript-eslint/typescript-estree": "npm:8.10.0" - "@typescript-eslint/visitor-keys": "npm:8.10.0" + "@typescript-eslint/scope-manager": "npm:8.11.0" + "@typescript-eslint/types": "npm:8.11.0" + "@typescript-eslint/typescript-estree": "npm:8.11.0" + "@typescript-eslint/visitor-keys": "npm:8.11.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/7becb2457c085c239838d301796074b790f46dd38c9fbc14ec1dec8e993c7115cd8a66cdc07983c3a68a2dd92e24e8acc49d69a4ebcc29e9869957eb52d1cb74 + checksum: 10c0/e83f239fec60697083e5dcb1c8948340e783ea6e043fe9a65d557faef8882963b09d69aacd736eb8ab18a768769a7bbfc3de0f1251d4bba080613541acb0741c languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.10.0": - version: 8.10.0 - resolution: "@typescript-eslint/scope-manager@npm:8.10.0" +"@typescript-eslint/scope-manager@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/scope-manager@npm:8.11.0" dependencies: - "@typescript-eslint/types": "npm:8.10.0" - "@typescript-eslint/visitor-keys": "npm:8.10.0" - checksum: 10c0/b8bb8635c4d6c00a3578d6265e3ee0f5d96d0c9dee534ed588aa411c3f4497fd71cce730c3ae7571e52453d955b191bc9edcc47c9af21a20c90e9a20f2371108 + "@typescript-eslint/types": "npm:8.11.0" + "@typescript-eslint/visitor-keys": "npm:8.11.0" + checksum: 10c0/0910da62d8ae261711dd9f89d5c7d8e96ff13c50054436256e5a661309229cb49e3b8189c9468d36b6c4d3f7cddd121519ea78f9b18c9b869a808834b079b2ea languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.10.0": - version: 8.10.0 - resolution: "@typescript-eslint/type-utils@npm:8.10.0" +"@typescript-eslint/type-utils@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/type-utils@npm:8.11.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.10.0" - "@typescript-eslint/utils": "npm:8.10.0" + "@typescript-eslint/typescript-estree": "npm:8.11.0" + "@typescript-eslint/utils": "npm:8.11.0" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" peerDependenciesMeta: typescript: optional: true - checksum: 10c0/1af8fce8394279e6ac7bcef449a132072ee36e374c8d557564246ffe7150230844901ca0305e29525bf37c87010e03bf8bedec76fccbfe1e41931cb4f274e208 + checksum: 10c0/b69e31c1599ceeb20c29052a4ddb33a554174a3a4c55ee37d90c9b8250af6ef978a0b9ddbeefef4e83d62c4caea1bfa2d8088527f397bde69fb4ab9b360d794a languageName: node linkType: hard -"@typescript-eslint/types@npm:8.10.0": - version: 8.10.0 - resolution: "@typescript-eslint/types@npm:8.10.0" - checksum: 10c0/f27dd43c8383e02e914a254257627e393dfc0f08b0f74a253c106813ae361f090271b2f3f2ef588fa3ca1329897d873da595bb5641fe8e3091b25eddca24b5d2 +"@typescript-eslint/types@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/types@npm:8.11.0" + checksum: 10c0/5ccdd3eeee077a6fc8e7f4bc0e0cbc9327b1205a845253ec5c0c6c49ff915e853161df00c24a0ffb4b8ec745d3f153dd0e066400a021c844c026e31121f46699 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.10.0": - version: 8.10.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.10.0" +"@typescript-eslint/typescript-estree@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.11.0" dependencies: - "@typescript-eslint/types": "npm:8.10.0" - "@typescript-eslint/visitor-keys": "npm:8.10.0" + "@typescript-eslint/types": "npm:8.11.0" + "@typescript-eslint/visitor-keys": "npm:8.11.0" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" @@ -3038,31 +3038,31 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/535a740fe25be0e28fe68c41e3264273d1e5169c9f938e08cc0e3415c357726f43efa44621960108c318fc3305c425d29f3223b6e731d44d67f84058a8947304 + checksum: 10c0/b629ad3cd32b005d5c1d67c36958a418f8672efebea869399834f4f201ebf90b942165eebb5c9d9799dcabdc2cc26e5fabb00629f76b158847f42e1a491a75a6 languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.10.0": - version: 8.10.0 - resolution: "@typescript-eslint/utils@npm:8.10.0" +"@typescript-eslint/utils@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/utils@npm:8.11.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.10.0" - "@typescript-eslint/types": "npm:8.10.0" - "@typescript-eslint/typescript-estree": "npm:8.10.0" + "@typescript-eslint/scope-manager": "npm:8.11.0" + "@typescript-eslint/types": "npm:8.11.0" + "@typescript-eslint/typescript-estree": "npm:8.11.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - checksum: 10c0/a21a2933517176abd00fcd5d8d80023e35dc3d89d5746bbac43790b4e984ab1f371117db08048bce7f42d54c64f4e0e35161149f8f34fd25a27bff9d1110fd16 + checksum: 10c0/bb5bcc8d928a55b22298e76f834ea6a9fe125a9ffeb6ac23bee0258b3ed32f41e281888a3d0be226a05e1011bb3b70e42a71a40366acdefea6779131c46bc522 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.10.0": - version: 8.10.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.10.0" +"@typescript-eslint/visitor-keys@npm:8.11.0": + version: 8.11.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.11.0" dependencies: - "@typescript-eslint/types": "npm:8.10.0" + "@typescript-eslint/types": "npm:8.11.0" eslint-visitor-keys: "npm:^3.4.3" - checksum: 10c0/14721c4ac939640d5fd1ee1b6eeb07604b11a6017e319e21dcc71e7aac2992341fc7ae1992d977bad4433b6a1d0d1c0c279e6927316b26245f6e333f922fa458 + checksum: 10c0/7a5a49609fdc47e114fe59eee56393c90b122ec8e9520f90b0c5e189635ae1ccfa8e00108f641342c2c8f4637fe9d40c77927cf7c8248a3a660812cb4b7d0c08 languageName: node linkType: hard @@ -5623,16 +5623,16 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^9.12.0": - version: 9.12.0 - resolution: "eslint@npm:9.12.0" +"eslint@npm:^9.13.0": + version: 9.13.0 + resolution: "eslint@npm:9.13.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.11.0" "@eslint/config-array": "npm:^0.18.0" - "@eslint/core": "npm:^0.6.0" + "@eslint/core": "npm:^0.7.0" "@eslint/eslintrc": "npm:^3.1.0" - "@eslint/js": "npm:9.12.0" + "@eslint/js": "npm:9.13.0" "@eslint/plugin-kit": "npm:^0.2.0" "@humanfs/node": "npm:^0.16.5" "@humanwhocodes/module-importer": "npm:^1.0.1" @@ -5669,7 +5669,7 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 10c0/67cf6ea3ea28dcda7dd54aac33e2d4028eb36991d13defb0d2339c3eaa877d5dddd12cd4416ddc701a68bcde9e0bb9e65524c2e4e9914992c724f5b51e949dda + checksum: 10c0/d3577444152182a9d8ea8c6a6acb073d3a2773ad73a6b646f432746583ec4bfcd6a44fcc2e37d05d276984e583c46c2d289b3b981ca8f8b4052756a152341d19 languageName: node linkType: hard @@ -11036,17 +11036,17 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^8.10.0": - version: 8.10.0 - resolution: "typescript-eslint@npm:8.10.0" +"typescript-eslint@npm:^8.11.0": + version: 8.11.0 + resolution: "typescript-eslint@npm:8.11.0" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.10.0" - "@typescript-eslint/parser": "npm:8.10.0" - "@typescript-eslint/utils": "npm:8.10.0" + "@typescript-eslint/eslint-plugin": "npm:8.11.0" + "@typescript-eslint/parser": "npm:8.11.0" + "@typescript-eslint/utils": "npm:8.11.0" peerDependenciesMeta: typescript: optional: true - checksum: 10c0/9eca1bfdea4e108bea06f0053b57f8a9eaeb43bf3316a39c6d29631bd3217ec67611e46d361417c48a5f6eeb99c4a7fc81c020734b1b47d7b8e42fa67d74ea0f + checksum: 10c0/8f9b5916c9f47b0cbb26f142d1a266a6aaf33998ec87621252dffb56d8fe0ad01a944f8d8d837e4e6058153a1deee3557527d14fa7bf7ef80a927334529db6bd languageName: node linkType: hard @@ -11090,7 +11090,7 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~6.19.2": +"undici-types@npm:~6.19.2, undici-types@npm:~6.19.8": version: 6.19.8 resolution: "undici-types@npm:6.19.8" checksum: 10c0/078afa5990fba110f6824823ace86073b4638f1d5112ee26e790155f481f2a868cc3e0615505b6f4282bdf74a3d8caad715fd809e870c2bb0704e3ea6082f344 @@ -11492,9 +11492,9 @@ __metadata: languageName: node linkType: hard -"vite@npm:^5.4.9": - version: 5.4.9 - resolution: "vite@npm:5.4.9" +"vite@npm:^5.4.10": + version: 5.4.10 + resolution: "vite@npm:5.4.10" dependencies: esbuild: "npm:^0.21.3" fsevents: "npm:~2.3.3" @@ -11531,7 +11531,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: 10c0/e9c59f2c639047e37c79bbbb151c7a55a3dc27932957cf4cf0447ee0bdcc1ddfd9b1fb3ba0465371c01ba3616d62561327855794c2d652213c3a10a32e6d369d + checksum: 10c0/4ef4807d2fd166a920de244dbcec791ba8a903b017a7d8e9f9b4ac40d23f8152c1100610583d08f542b47ca617a0505cfc5f8407377d610599d58296996691ed languageName: node linkType: hard @@ -11634,7 +11634,7 @@ __metadata: resolution: "waveterm@workspace:." dependencies: "@chromatic-com/storybook": "npm:^2.0.2" - "@eslint/js": "npm:^9.12.0" + "@eslint/js": "npm:^9.13.0" "@floating-ui/react": "npm:^0.26.25" "@monaco-editor/loader": "npm:^1.4.0" "@monaco-editor/react": "npm:^4.6.0" @@ -11656,10 +11656,10 @@ __metadata: "@types/css-tree": "npm:^2" "@types/debug": "npm:^4" "@types/electron": "npm:^1.6.10" - "@types/node": "npm:^22.7.6" + "@types/node": "npm:^22.8.0" "@types/papaparse": "npm:^5" "@types/pngjs": "npm:^6.0.5" - "@types/react": "npm:^18.3.11" + "@types/react": "npm:^18.3.12" "@types/react-dom": "npm:^18.3.1" "@types/semver": "npm:^7" "@types/shell-quote": "npm:^1" @@ -11685,7 +11685,7 @@ __metadata: electron-builder: "npm:^25.1.8" electron-updater: "npm:6.3.9" electron-vite: "npm:^2.3.0" - eslint: "npm:^9.12.0" + eslint: "npm:^9.13.0" eslint-config-prettier: "npm:^9.1.0" fast-average-color: "npm:^9.4.0" htl: "npm:^0.3.1" @@ -11730,9 +11730,9 @@ __metadata: tslib: "npm:^2.8.0" tsx: "npm:^4.19.1" typescript: "npm:^5.6.3" - typescript-eslint: "npm:^8.10.0" + typescript-eslint: "npm:^8.11.0" use-device-pixel-ratio: "npm:^1.1.2" - vite: "npm:^5.4.9" + vite: "npm:^5.4.10" vite-plugin-image-optimizer: "npm:^1.1.8" vite-plugin-static-copy: "npm:^2.0.0" vite-plugin-svgr: "npm:^4.2.0" From 6c151c4b774ffc05d41877c73a8c4f80c698376c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:25:31 -0700 Subject: [PATCH 07/10] Bump github.com/sashabaranov/go-openai from 1.32.2 to 1.32.3 (#1137) --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 202dccedf..2388535d5 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/kevinburke/ssh_config v1.2.0 github.com/mattn/go-sqlite3 v1.14.24 github.com/mitchellh/mapstructure v1.5.0 - github.com/sashabaranov/go-openai v1.32.2 + github.com/sashabaranov/go-openai v1.32.3 github.com/sawka/txwrap v0.2.0 github.com/shirou/gopsutil/v4 v4.24.9 github.com/skeema/knownhosts v1.3.0 diff --git a/go.sum b/go.sum index 590fed68d..158ee10b7 100644 --- a/go.sum +++ b/go.sum @@ -56,8 +56,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw= github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sashabaranov/go-openai v1.32.2 h1:8z9PfYaLPbRzmJIYpwcWu6z3XU8F+RwVMF1QRSeSF2M= -github.com/sashabaranov/go-openai v1.32.2/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg= +github.com/sashabaranov/go-openai v1.32.3 h1:6xZ393PbZFoJrgwveBXVZggmyH7zdp4joUdnCy7FFD8= +github.com/sashabaranov/go-openai v1.32.3/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg= github.com/sawka/txwrap v0.2.0 h1:V3LfvKVLULxcYSxdMguLwFyQFMEU9nFDJopg0ZkL+94= github.com/sawka/txwrap v0.2.0/go.mod h1:wwQ2SQiN4U+6DU/iVPhbvr7OzXAtgZlQCIGuvOswEfA= github.com/shirou/gopsutil/v4 v4.24.9 h1:KIV+/HaHD5ka5f570RZq+2SaeFsb/pq+fp2DGNWYoOI= From c010e859fe1910d4436877e73440c34ebde6f542 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:25:47 -0700 Subject: [PATCH 08/10] Bump @chromatic-com/storybook from 2.0.2 to 3.1.0 in the storybook group (#1139) --- package.json | 2 +- yarn.lock | 52 ++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 43 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 93078f8d1..7b788b9b3 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "postinstall": "electron-builder install-app-deps" }, "devDependencies": { - "@chromatic-com/storybook": "^2.0.2", + "@chromatic-com/storybook": "^3.1.0", "@eslint/js": "^9.13.0", "@rollup/plugin-node-resolve": "^15.3.0", "@storybook/addon-essentials": "^8.3.6", diff --git a/yarn.lock b/yarn.lock index dad22da3f..d49a1b2be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -253,16 +253,21 @@ __metadata: languageName: node linkType: hard -"@chromatic-com/storybook@npm:^2.0.2": - version: 2.0.2 - resolution: "@chromatic-com/storybook@npm:2.0.2" +"@chromatic-com/storybook@npm:^3.1.0": + version: 3.1.0 + resolution: "@chromatic-com/storybook@npm:3.1.0" dependencies: - chromatic: "npm:^11.4.0" + "@storybook/channels": "npm:^8.3.0" + "@storybook/telemetry": "npm:^8.3.0" + "@storybook/types": "npm:^8.3.0" + chromatic: "npm:^11.15.0" filesize: "npm:^10.0.12" jsonfile: "npm:^6.1.0" react-confetti: "npm:^6.1.0" strip-ansi: "npm:^7.1.0" - checksum: 10c0/a997e8247168d9c30030966877836839951b6acd65899a4bb683d78d37e549a3285ca14a721893d75bef5b89e075d7090d084023c142680efaef60c9db64e7fa + peerDependencies: + storybook: ^8.3.0 + checksum: 10c0/cb9672d828f076e9a6c7277fe08a846d05316fb7d3e625862fc667718f5abc2746ff7cea04507e5cbc0136a4d55950fce88ea91420e8d3c05d84f528050a1dce languageName: node linkType: hard @@ -1759,6 +1764,15 @@ __metadata: languageName: node linkType: hard +"@storybook/channels@npm:^8.3.0": + version: 8.3.6 + resolution: "@storybook/channels@npm:8.3.6" + peerDependencies: + storybook: ^8.3.6 + checksum: 10c0/3c34ed2b03c60c6ed1160d9a0efdb836be892e333556848ff492c16ab6d92521207512670d42f69d681f521e50f130a00f692610a3ca63228a8d2b49be57f4fa + languageName: node + linkType: hard + "@storybook/components@npm:^8.0.0": version: 8.3.3 resolution: "@storybook/components@npm:8.3.3" @@ -1966,6 +1980,15 @@ __metadata: languageName: node linkType: hard +"@storybook/telemetry@npm:^8.3.0": + version: 8.3.6 + resolution: "@storybook/telemetry@npm:8.3.6" + peerDependencies: + storybook: ^8.3.6 + checksum: 10c0/b4fd8d0e238335249aa82dea49bde56813e0c771e67dd7110fb9e038d1e2bd64aa03e76ee865ef6a7f0fd5220d02bd7bcf3273bb4c19403e3d527d9dd7a258d4 + languageName: node + linkType: hard + "@storybook/test@npm:8.3.6, @storybook/test@npm:^8.3.6": version: 8.3.6 resolution: "@storybook/test@npm:8.3.6" @@ -2003,6 +2026,15 @@ __metadata: languageName: node linkType: hard +"@storybook/types@npm:^8.3.0": + version: 8.3.6 + resolution: "@storybook/types@npm:8.3.6" + peerDependencies: + storybook: ^8.3.6 + checksum: 10c0/482f55e34877f9eb94a8ff4627a254f3b5442f91f13363e6837e3a9c220a369be1c6ce4652b870b7fa4e522c3365825651f9e04a21bda76b104a6c1f7435e274 + languageName: node + linkType: hard + "@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0": version: 8.0.0 resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0" @@ -4099,9 +4131,9 @@ __metadata: languageName: node linkType: hard -"chromatic@npm:^11.4.0": - version: 11.7.1 - resolution: "chromatic@npm:11.7.1" +"chromatic@npm:^11.15.0": + version: 11.16.0 + resolution: "chromatic@npm:11.16.0" peerDependencies: "@chromatic-com/cypress": ^0.*.* || ^1.0.0 "@chromatic-com/playwright": ^0.*.* || ^1.0.0 @@ -4114,7 +4146,7 @@ __metadata: chroma: dist/bin.js chromatic: dist/bin.js chromatic-cli: dist/bin.js - checksum: 10c0/367dd36994062a82114859a746b84607fa3b3f5783dca28c015d0b490c4bff58f58ef3247be6b4c3f9be57ac7f91a6ead3261bac75befa1707c083415f36dc55 + checksum: 10c0/2ed97ecdb6d0e285ecd8d2aa933c5a48c588788c86a6725c7a0b278e55d2cf59f8ca339695b026e18676bc65f1162d98218a9067fbec292f644a4f47474a51b6 languageName: node linkType: hard @@ -11633,7 +11665,7 @@ __metadata: version: 0.0.0-use.local resolution: "waveterm@workspace:." dependencies: - "@chromatic-com/storybook": "npm:^2.0.2" + "@chromatic-com/storybook": "npm:^3.1.0" "@eslint/js": "npm:^9.13.0" "@floating-ui/react": "npm:^0.26.25" "@monaco-editor/loader": "npm:^1.4.0" From 4ffc734747c4bb7fed7da51ea1452241f7ae245f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:26:01 -0700 Subject: [PATCH 09/10] Bump electron from 33.0.1 to 33.0.2 in the electron group (#1141) --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 7b788b9b3..1e48499c6 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@types/ws": "^8", "@vitejs/plugin-react-swc": "^3.7.1", "@vitest/coverage-istanbul": "^2.1.3", - "electron": "^33.0.1", + "electron": "^33.0.2", "electron-builder": "^25.1.8", "electron-vite": "^2.3.0", "eslint": "^9.13.0", diff --git a/yarn.lock b/yarn.lock index d49a1b2be..0cc3d61d6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5249,16 +5249,16 @@ __metadata: languageName: node linkType: hard -"electron@npm:^33.0.1": - version: 33.0.1 - resolution: "electron@npm:33.0.1" +"electron@npm:^33.0.2": + version: 33.0.2 + resolution: "electron@npm:33.0.2" dependencies: "@electron/get": "npm:^2.0.0" "@types/node": "npm:^20.9.0" extract-zip: "npm:^2.0.1" bin: electron: cli.js - checksum: 10c0/cd5e5cef21df2d5e1ffc95cfe90397c984152db54ac1032deb97f1716f778d41f5fa7c83e42bc86ae3c509a6d45f578515a540b6453ebf818310cc303e95f083 + checksum: 10c0/a7f8b810412e1cc5430edca1b07eeebe75d91d82405adb7ca83d585caf9d72893db7eba0eb88ddc2a0e7e013add1d464a2663afdc3542693d62e1aac5cbfa626 languageName: node linkType: hard @@ -11713,7 +11713,7 @@ __metadata: css-tree: "npm:^3.0.0" dayjs: "npm:^1.11.13" debug: "npm:^4.3.7" - electron: "npm:^33.0.1" + electron: "npm:^33.0.2" electron-builder: "npm:^25.1.8" electron-updater: "npm:6.3.9" electron-vite: "npm:^2.3.0" From f903026637b953ae904684b36623ca0137db8050 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:26:16 -0700 Subject: [PATCH 10/10] Bump the prod-dependencies group with 2 updates (#1140) --- package.json | 4 ++-- yarn.lock | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 1e48499c6..a2b44ba86 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "@table-nav/core": "^0.0.7", "@table-nav/react": "^0.0.7", "@tanstack/react-table": "^8.20.5", - "@types/color": "^3.0.6", + "@types/color": "^4.2.0", "@xterm/addon-fit": "^0.10.0", "@xterm/addon-serialize": "^0.13.0", "@xterm/addon-web-links": "^0.11.0", @@ -120,7 +120,7 @@ "react-frame-component": "^5.2.7", "react-gauge-chart": "^0.5.1", "react-markdown": "^9.0.1", - "rehype-highlight": "^7.0.0", + "rehype-highlight": "^7.0.1", "rehype-raw": "^7.0.0", "rehype-sanitize": "^6.0.0", "rehype-slug": "^6.0.0", diff --git a/yarn.lock b/yarn.lock index 0cc3d61d6..0343ad213 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2499,12 +2499,12 @@ __metadata: languageName: node linkType: hard -"@types/color@npm:^3.0.6": - version: 3.0.6 - resolution: "@types/color@npm:3.0.6" +"@types/color@npm:^4.2.0": + version: 4.2.0 + resolution: "@types/color@npm:4.2.0" dependencies: "@types/color-convert": "npm:*" - checksum: 10c0/79267eeb67f9d11761aecee36bb1503fb8daa699b9ae7e036fc23a74380e5b130c5c0f6d7adafabba89256e46f36ee4d3e28e0ac7e107e8258550eae7d091acf + checksum: 10c0/d09b68390bfd4ae6d57115e047be9dbd3ad4d30e9b7c20e6004c778057a94eec9f5c61689c1b6b09a743f8c2491536870dd0c9a2c79bfcaa37f594b54fc9c96d languageName: node linkType: hard @@ -9746,16 +9746,16 @@ __metadata: languageName: node linkType: hard -"rehype-highlight@npm:^7.0.0": - version: 7.0.0 - resolution: "rehype-highlight@npm:7.0.0" +"rehype-highlight@npm:^7.0.1": + version: 7.0.1 + resolution: "rehype-highlight@npm:7.0.1" dependencies: "@types/hast": "npm:^3.0.0" hast-util-to-text: "npm:^4.0.0" lowlight: "npm:^3.0.0" unist-util-visit: "npm:^5.0.0" vfile: "npm:^6.0.0" - checksum: 10c0/bf9eba61ac2635db6c6635d3485456f2d6bdf43e3acba34deb673ddde82dc8e0a7a4ba81c4f26dda85ecc5e99a9e949c05ed1b4fb25c0414e970d9623894c935 + checksum: 10c0/cb995cef8f0660538fdf988cea8184fdfb1ab8f74f20f67705b32617d7c484356feccb80b6faebc08e5cec7bc32977718b1d6c012ebd054719633e0cd22fe544 languageName: node linkType: hard @@ -11684,7 +11684,7 @@ __metadata: "@table-nav/core": "npm:^0.0.7" "@table-nav/react": "npm:^0.0.7" "@tanstack/react-table": "npm:^8.20.5" - "@types/color": "npm:^3.0.6" + "@types/color": "npm:^4.2.0" "@types/css-tree": "npm:^2" "@types/debug": "npm:^4" "@types/electron": "npm:^1.6.10" @@ -11741,7 +11741,7 @@ __metadata: react-frame-component: "npm:^5.2.7" react-gauge-chart: "npm:^0.5.1" react-markdown: "npm:^9.0.1" - rehype-highlight: "npm:^7.0.0" + rehype-highlight: "npm:^7.0.1" rehype-raw: "npm:^7.0.0" rehype-sanitize: "npm:^6.0.0" rehype-slug: "npm:^6.0.0"