🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
⬆️ chore(desktop): upgrade auv to 0.0.43 (#22262)
Neko736fccca02b0
diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex 3de4febab99..87c2e83a470 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -51,8 +51,8 @@"update-server": "sh scripts/update-test/run-test.sh"},"dependencies": {- "@auv-js/cli": "0.0.40",- "@auv-js/sdk": "0.0.40",+ "@auv-js/cli": "0.0.43",+ "@auv-js/sdk": "0.0.43","@lobehub/fluent-emoji": "^5.0.0","@lydell/node-pty": "1.2.0-beta.15","electron-log": "^5.4.4",diff --git a/apps/desktop/pnpm-lock.yaml b/apps/desktop/pnpm-lock.yamlindex 89bc277e0ce..e053344f145 100644--- a/apps/desktop/pnpm-lock.yaml+++ b/apps/desktop/pnpm-lock.yaml@@ -16,11 +16,11 @@ importers:.:dependencies:'@auv-js/cli':- specifier: 0.0.40- version: 0.0.40+ specifier: 0.0.43+ version: 0.0.43'@auv-js/sdk':- specifier: 0.0.40- version: 0.0.40+ specifier: 0.0.43+ version: 0.0.43'@lobehub/fluent-emoji':specifier: ^5.0.0@@ -996,53 +996,53 @@ packages:zod:optional: true- '@auv-js/[email protected]':- resolution: {integrity: sha512-z9gSVFxj5BkP/miWACdYO0r86HjMRE31DRAJYTAaLGE3YLuqwJdYaQ3+0uYYN6igMRGUPqanfXUezKBHRabotw==}+ '@auv-js/[email protected]':+ resolution: {integrity: sha512-kBg6gINBDBX2U5EiU8LrmafNbtbtsxgoD/IHGEwMtyYflYQwMSLR91c7rkZFdFQokcvuQPPSnd58oYw5XyX7nw==}- '@auv-js/[email protected]':- resolution: {integrity: sha512-ORvyOl+y/P/XQ5uQeaNiclqfF5ADhkj9mDBcPi7khEpRBV/ypOSxc6IIS5Kr8wUPJ0nKOvVEMPiVdttuyjZXWw==}+ '@auv-js/[email protected]':+ resolution: {integrity: sha512-SQ+w9bkVxHCnvBCCTkk8oOkipTxbwtEouixqyegArfxMU4yO5+/KBZSBtLH8JYO3bwsSJBJ7UZZE1xo5gxiZIw==}engines: {node: '>=20.19.0'}cpu: [arm64]os: [darwin]- '@auv-js/[email protected]':- resolution: {integrity: sha512-pTOBsEunZ1S6sUvQX1N/PVith+7Pe8GnkioYD0rC19B+ySzi3DEek/YznbE4v/W0MvM1uh8LnHTcZo7TiGhAgw==}+ '@auv-js/[email protected]':+ resolution: {integrity: sha512-vgznLFSW4fS5NEn5RReIUmQ+oZ4Nb7/BRbt9AQ2WxiQiVObZ0QuBbtWjzvk4vlMdt/BIqWCBV0lVjy1YEgCyMQ==}engines: {node: '>=20.19.0'}cpu: [x64]os: [darwin]- '@auv-js/[email protected]':- resolution: {integrity: sha512-U+hjQF4+vhPQRqDqJSdvO65/u4qNm2D7OrvsGzD5W4v8sjrf555UvBzqSMApIZtDsGZVKckjPxRUcd+qC5pDuA==}+ '@auv-js/[email protected]':+ resolution: {integrity: sha512-YaJoPFwcnc2PsBIqSHDqTGcBJeUb6rjXmUqCtXrjpBaKwVgt1wPaxrjBbi8pcBJNe7T0+z17GBdKQ/QQGKE1ug==}engines: {node: '>=20.19.0'}cpu: [arm64]os: [linux]libc: [glibc]- '@auv-js/[email protected]':- resolution: {integrity: sha512-ZIKAZhoYRv1aPLiioKPjZVUZgk8URnVlw7DDFRIko9n3EMbXq6BcTR8bMJHloYorpMejjWKvNVwQ0wVdTg++Gg==}+ '@auv-js/[email protected]':+ resolution: {integrity: sha512-HhIplc4cCUySOpGMvvIZcqTvtqsILwkJUia3/gu7rJ5O3UvxM61LsJHabCtHImcyDnDVGesQSIbStmpxPSJ1hQ==}engines: {node: '>=20.19.0'}cpu: [x64]os: [linux]libc: [glibc]- '@auv-js/[email protected]':- resolution: {integrity: sha512-sCy1hEvZdqLSO8UmMSKfOAQTrqmjN21731raVgeeXC8iW1EWbdIvEb3zWwlmsq5I+EqDDuksCfU8O1C+YqQz4g==}+ '@auv-js/[email protected]':+ resolution: {integrity: sha512-HGrUS8kWGwSCiNz+M0ZdOB6HjkakUTMLtqEczCE0WYshBouoskoRoIVXIKQ6mEqvPev4ymeZmGuoZMXRgaH/0w==}engines: {node: '>=20.19.0'}cpu: [arm64]os: [win32]- '@auv-js/[email protected]':- resolution: {integrity: sha512-PzmeEnbKtFWSsnmLh7Yvl1tB3LCvgUR4Hqw4FriRYMBAgtkn1trnSy2WRX1tY7rUiG+WWxehl8X4JCoatgj6lw==}+ '@auv-js/[email protected]':+ resolution: {integrity: sha512-+5z6/Es88+kIzGWudGs8FTTx1fypzSEGzflZB7vmT+2IdGxnC7HowjZ9Mm8oFIPVGp9cEnvSBUNG5hk7lTIzTw==}engines: {node: '>=20.19.0'}cpu: [x64]os: [win32]- '@auv-js/[email protected]':- resolution: {integrity: sha512-ca/8G+rRmmOK76WYzXX6Vs5c9Q4xn+1OqyXCSl1uqq4+6L0rE3QDZ4X0SrmEuF05QYwtDYblOqgzZNiEgihNrw==}+ '@auv-js/[email protected]':+ resolution: {integrity: sha512-tSsTI7mZOartjtLa1SXEcyJelK2y7vAtRA/hSCN+ubYl8OoOoM0U75fdsai3jxUI6xYfkYHG3xKWNWatijRQoQ==}hasBin: true- '@auv-js/[email protected]':- resolution: {integrity: sha512-qiGJhR+rlbHDbCsWL2Xy3+bEvhuDVp4cWHSBefzyTikcPxRdbQW64NnWzUEWGFA2UbMbRa7O02srH401IHuohA==}+ '@auv-js/[email protected]':+ resolution: {integrity: sha512-IbNg+Wdh7FUiwS7fVNWGkN3U6Y+i0UtR6HdESq6JSibr/9yuRIezZIxwikdjsKrp+z4aDDEQV6H0SzFxxlDF4g==}'@babel/[email protected]':resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==}@@ -8523,40 +8523,40 @@ snapshots:optionalDependencies:zod: 4.6.5- '@auv-js/[email protected]': {}+ '@auv-js/[email protected]': {}- '@auv-js/[email protected]':+ '@auv-js/[email protected]':optional: true- '@auv-js/[email protected]':+ '@auv-js/[email protected]':optional: true- '@auv-js/[email protected]':+ '@auv-js/[email protected]':optional: true- '@auv-js/[email protected]':+ '@auv-js/[email protected]':optional: true- '@auv-js/[email protected]':+ '@auv-js/[email protected]':optional: true- '@auv-js/[email protected]':+ '@auv-js/[email protected]':optional: true- '@auv-js/[email protected]':+ '@auv-js/[email protected]':dependencies:std-env: 4.2.0optionalDependencies:- '@auv-js/cli-darwin-arm64': 0.0.40- '@auv-js/cli-darwin-x64': 0.0.40- '@auv-js/cli-linux-arm64-gnu': 0.0.40- '@auv-js/cli-linux-x64-gnu': 0.0.40- '@auv-js/cli-win32-arm64-msvc': 0.0.40- '@auv-js/cli-win32-x64-msvc': 0.0.40+ '@auv-js/cli-darwin-arm64': 0.0.43+ '@auv-js/cli-darwin-x64': 0.0.43+ '@auv-js/cli-linux-arm64-gnu': 0.0.43+ '@auv-js/cli-linux-x64-gnu': 0.0.43+ '@auv-js/cli-win32-arm64-msvc': 0.0.43+ '@auv-js/cli-win32-x64-msvc': 0.0.43- '@auv-js/[email protected]':+ '@auv-js/[email protected]':dependencies:- '@auv-js/api-client': 0.0.40+ '@auv-js/api-client': 0.0.43'@bufbuild/protobuf': 2.13.0'@grpc/grpc-js': 1.14.4'@moeru/std': 0.1.0-beta.20diff --git a/apps/desktop/pnpm-workspace.yaml b/apps/desktop/pnpm-workspace.yamlindex 8a8fbc61292..1a5bd830d1c 100644--- a/apps/desktop/pnpm-workspace.yaml+++ b/apps/desktop/pnpm-workspace.yaml@@ -66,14 +66,14 @@ overrides:vitest: 5.0.3'zod@^4': 4.6.5minimumReleaseAgeExclude:- - '@auv-js/[email protected]'- - '@auv-js/[email protected]'- - '@auv-js/[email protected]'- - '@auv-js/[email protected]'- - '@auv-js/[email protected]'- - '@auv-js/[email protected]'- - '@auv-js/[email protected]'- - '@auv-js/[email protected]'- - '@auv-js/[email protected]'+ - '@auv-js/[email protected]'+ - '@auv-js/[email protected]'+ - '@auv-js/[email protected]'+ - '@auv-js/[email protected]'+ - '@auv-js/[email protected]'+ - '@auv-js/[email protected]'+ - '@auv-js/[email protected]'+ - '@auv-js/[email protected]'+ - '@auv-js/[email protected]'- '@lobehub/*'diff --git a/packages/builtin-tool-auv/src/client/Inspector/runCommand.tsx b/packages/builtin-tool-auv/src/client/Inspector/runCommand.tsxindex 2b85b8a172f..560c347a720 100644--- a/packages/builtin-tool-auv/src/client/Inspector/runCommand.tsx+++ b/packages/builtin-tool-auv/src/client/Inspector/runCommand.tsx@@ -34,20 +34,20 @@ function getActivity(argv: string[] = []): keyof typeof activityIcons {if (options.includes('--help') || options.includes('-h')) return 'help';if (options.includes('--dry-run')) return 'preview';const command = argv[0] === 'invoke' ? (argv[1] ?? '') : '';- if (['display.capture', 'window.capture', 'screen.captureRegion'].includes(command))+ if (['display.capture', 'window.capture', 'display.captureRegion'].includes(command))return 'capture';if (['input.typeText', 'input.pasteText'].includes(command)) return 'input';- if (['input.key', 'input.keys', 'input.keyboard'].includes(command)) return 'keyboard';- if (['input.focusText', 'input.axFocusText'].includes(command)) return 'focus';+ if (['input.pressKeys', 'input.performKeyboardInputs'].includes(command)) return 'keyboard';+ if (command === 'accessibility.focusText') return 'focus';if (['display.list','window.list',- 'app.probePermissions',+ 'permission.probe','window.findText','window.waitForText',- 'screen.findText',- 'screen.waitForText',+ 'display.findText',+ 'display.waitForText',].includes(command))return 'inspect';diff --git a/src/features/DevPanel/RenderGallery/fixtures/lobeAuv.ts b/src/features/DevPanel/RenderGallery/fixtures/lobeAuv.tsindex a7b81ebb4c1..a41f3bedf54 100644--- a/src/features/DevPanel/RenderGallery/fixtures/lobeAuv.ts+++ b/src/features/DevPanel/RenderGallery/fixtures/lobeAuv.ts@@ -25,7 +25,7 @@ export const lobeAuv = defineFixtures({label: 'Text input',},{- args: { argv: ['invoke', 'input.key', 'return'], reasoning: 'Submit the search' },+ args: { argv: ['invoke', 'input.pressKeys', 'return'], reasoning: 'Submit the search' },label: 'Keyboard action',},{@@ -33,7 +33,7 @@ export const lobeAuv = defineFixtures({label: 'Capture screen',},{- args: { argv: ['invoke', 'input.key', 'return', '--dry-run'] },+ args: { argv: ['invoke', 'input.pressKeys', 'return', '--dry-run'] },label: 'Validate without input',},{diff --git a/src/store/tool/builtinToolRegistry.test.ts b/src/store/tool/builtinToolRegistry.test.tsindex e8a766c36dc..a4aef23ff7a 100644--- a/src/store/tool/builtinToolRegistry.test.ts+++ b/src/store/tool/builtinToolRegistry.test.ts@@ -170,12 +170,12 @@ describe('builtin tool registry', () => {['input.clickPoint', 'operate'],['input.typeText', 'input'],['input.pasteText', 'input'],- ['input.key', 'keyboard'],- ['input.keyboard', 'keyboard'],- ['input.focusText', 'focus'],+ ['input.pressKeys', 'keyboard'],+ ['input.performKeyboardInputs', 'keyboard'],+ ['accessibility.focusText', 'focus'],['display.capture', 'capture'],['window.capture', 'capture'],- ['screen.captureRegion', 'capture'],+ ['display.captureRegion', 'capture'],['window.list', 'inspect'],['future.command', 'operate'],])('describes %s while it executes', (command, activity) => {@@ -298,7 +298,7 @@ describe('builtin tool registry', () => {const view = render(createElement(ToolInspector, {apiName: AuvApiName.runCommand,- arguments: JSON.stringify({ argv: ['invoke', 'input.key', 'return'] }),+ arguments: JSON.stringify({ argv: ['invoke', 'input.pressKeys', 'return'] }),identifier: 'lobe-auv',isExpanded: false,result: { content: null, error: { message: 'Input failed' } },