Skip to content
Merged

Stage #9278

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
224 changes: 71 additions & 153 deletions .cspell.json

Large diffs are not rendered by default.

297 changes: 244 additions & 53 deletions .github/workflows/agent-prod.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/agent-stage.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/desktop-app-prod.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/desktop-app-stage.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/desktop-timer-app-prod.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/desktop-timer-app-stage.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/server-api-prod.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/server-api-stage.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/server-mcp-prod.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/server-mcp-stage.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/server-prod.yml

Large diffs are not rendered by default.

295 changes: 243 additions & 52 deletions .github/workflows/server-stage.yml

Large diffs are not rendered by default.

71 changes: 56 additions & 15 deletions apps/agent/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
"main": "index.js",
"build": {
"appId": "com.ever.gauzyagent",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"productName": "Gauzy Agent",
"copyright": "Copyright © 2019-Present. Ever Co. LTD",
"afterSign": "tools/notarize.js",
"dmg": {
"sign": false
"sign": false,
"artifactName": "${name}-${arch}-${version}.${ext}"
},
"asar": true,
"npmRebuild": true,
Expand All @@ -52,27 +53,33 @@
"mac": {
"category": "public.app-category.developer-tools",
"icon": "icon.icns",
"target": [
"zip",
"dmg"
],
"target": {
"target": "default",
"arch": [
"x64",
"arm64"
]
},
"asarUnpack": "**/*.node",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "tools/build/entitlements.mas.plist",
"entitlementsInherit": "tools/build/entitlements.mas.plist",
"extendInfo": {
"NSAppleEventsUsageDescription": "Please allow access to script browser applications to detect the current URL when triggering instant lookup.",
"NSCameraUsageDescription": "Please allow access to Gauzy Agent"
"NSAppleEventsUsageDescription": "This app requires access to script browser applications to detect the current URL when triggering instant lookup.",
"NSCameraUsageDescription": "Please allow access to the device camera to capture images and videos.",
"NSMicrophoneUsageDescription": "Please allow access to the device's microphone to capture audio and voice recordings.",
"NSScreenCaptureUsageDescription": "Please allow access to the device's screen to capture screenshots and videos."
}
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
"x64",
"arm64"
]
}
],
Expand All @@ -82,15 +89,49 @@
"linux": {
"icon": "linux",
"target": [
"AppImage",
"deb",
"tar.gz"
{
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Dec 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: The snap target is missing explicit architecture specification, unlike all other Linux targets. This inconsistency means snap packages won't be built for both x64 and arm64 in the same build run. If multi-arch snap builds are intended, add the arch array; otherwise, consider adding a comment explaining why snap is single-arch.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/agent/src/package.json, line 92:

<comment>The `snap` target is missing explicit architecture specification, unlike all other Linux targets. This inconsistency means snap packages won&#39;t be built for both x64 and arm64 in the same build run. If multi-arch snap builds are intended, add the `arch` array; otherwise, consider adding a comment explaining why snap is single-arch.</comment>

<file context>
@@ -82,15 +89,49 @@
-				&quot;AppImage&quot;,
-				&quot;deb&quot;,
-				&quot;tar.gz&quot;
+				{
+					&quot;target&quot;: &quot;deb&quot;,
+					&quot;arch&quot;: [
</file context>
Fix with Cubic

"target": "deb",
"arch": [
"x64",
"arm64"
]
},
{
"target": "snap"
},
{
"target": "tar.gz",
"arch": [
"x64",
"arm64"
]
},
{
"target": "rpm",
"arch": [
"x64",
"arm64"
]
},
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
}
],
"executableName": "ever-gauzy-agent",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"synopsis": "Desktop",
"category": "Development"
},
"rpm": {
"fpm": [
"--rpm-rpmbuild-define",
"_build_id_links none"
]
},
"nsis": {
"oneClick": false,
"perMachine": true,
Expand All @@ -99,7 +140,7 @@
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"installerIcon": "icon.ico",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"deleteAppDataOnUninstall": true,
"menuCategory": true
},
Expand Down
72 changes: 56 additions & 16 deletions apps/desktop-timer/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
"main": "index.js",
"build": {
"appId": "com.ever.gauzydesktoptimer",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"productName": "Gauzy Desktop Timer",
"copyright": "Copyright © 2019-Present. Ever Co. LTD",
"afterSign": "tools/notarize.js",
"dmg": {
"sign": false
"sign": false,
"artifactName": "${name}-${arch}-${version}.${ext}"
},
"asar": true,
"npmRebuild": true,
Expand Down Expand Up @@ -57,28 +58,33 @@
"mac": {
"category": "public.app-category.developer-tools",
"icon": "icon.icns",
"target": [
"zip",
"dmg"
],
"target": {
"target": "default",
"arch": [
"x64",
"arm64"
]
},
"asarUnpack": "**/*.node",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "tools/build/entitlements.mas.plist",
"entitlementsInherit": "tools/build/entitlements.mas.plist",
"extendInfo": {
"NSAppleEventsUsageDescription": ">- Please allow access to script browser applications to detect the current URL when triggering instant lookup.",
"NSMicrophoneUsageDescription": ">- This app requires microphone access when recording sounds or detecting loudness.",
"NSCameraUsageDescription": ">- This app requires camera access when using the video sensing blocks."
"NSAppleEventsUsageDescription": "This app requires access to script browser applications to detect the current URL when triggering instant lookup.",
"NSCameraUsageDescription": "Please allow access to the device camera to capture images and videos.",
"NSMicrophoneUsageDescription": "Please allow access to the device's microphone to capture audio and voice recordings.",
"NSScreenCaptureUsageDescription": "Please allow access to the device's screen to capture screenshots and videos."
}
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
"x64",
"arm64"
]
}
],
Expand All @@ -88,15 +94,49 @@
"linux": {
"icon": "linux",
"target": [
"AppImage",
"deb",
"tar.gz"
{
"target": "deb",
"arch": [
"x64",
"arm64"
]
},
{
"target": "snap"
},
{
"target": "tar.gz",
"arch": [
"x64",
"arm64"
]
},
{
"target": "rpm",
"arch": [
"x64",
"arm64"
]
},
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
}
],
"executableName": "gauzy-desktop-timer",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"synopsis": "Desktop",
"category": "Development"
},
"rpm": {
"fpm": [
"--rpm-rpmbuild-define",
"_build_id_links none"
]
},
"nsis": {
"oneClick": false,
"perMachine": true,
Expand All @@ -105,7 +145,7 @@
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"installerIcon": "icon.ico",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"deleteAppDataOnUninstall": true,
"menuCategory": true
},
Expand Down
72 changes: 56 additions & 16 deletions apps/desktop/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
"main": "index.js",
"build": {
"appId": "com.ever.gauzydesktop",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"productName": "Ever Gauzy Desktop",
"copyright": "Copyright © 2019-Present. Ever Co. LTD",
"afterSign": "tools/notarize.js",
"dmg": {
"sign": false
"sign": false,
"artifactName": "${name}-${arch}-${version}.${ext}"
},
"asar": true,
"npmRebuild": true,
Expand Down Expand Up @@ -58,28 +59,33 @@
"mac": {
"category": "public.app-category.developer-tools",
"icon": "icon.icns",
"target": [
"zip",
"dmg"
],
"target": {
"target": "default",
"arch": [
"x64",
"arm64"
]
},
"asarUnpack": "**/*.node",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "tools/build/entitlements.mas.plist",
"entitlementsInherit": "tools/build/entitlements.mas.plist",
"extendInfo": {
"NSAppleEventsUsageDescription": "Please allow access to script browser applications to detect the current URL when triggering instant lookup.",
"NSMicrophoneUsageDescription": "This app requires microphone access when recording sounds or detecting loudness.",
"NSCameraUsageDescription": "This app requires camera access when using the video sensing blocks."
"NSAppleEventsUsageDescription": "This app requires access to script browser applications to detect the current URL when triggering instant lookup.",
"NSCameraUsageDescription": "Please allow access to the device camera to capture images and videos.",
"NSMicrophoneUsageDescription": "Please allow access to the device's microphone to capture audio and voice recordings.",
"NSScreenCaptureUsageDescription": "Please allow access to the device's screen to capture screenshots and videos."
}
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
"x64",
"arm64"
]
}
],
Expand All @@ -89,15 +95,49 @@
"linux": {
"icon": "linux",
"target": [
"AppImage",
"deb",
"tar.gz"
{
"target": "deb",
"arch": [
"x64",
"arm64"
]
},
{
"target": "snap"
},
{
"target": "tar.gz",
"arch": [
"x64",
"arm64"
]
},
{
"target": "rpm",
"arch": [
"x64",
"arm64"
]
},
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
}
],
"executableName": "gauzy-desktop",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"synopsis": "Desktop",
"category": "Development"
},
"rpm": {
"fpm": [
"--rpm-rpmbuild-define",
"_build_id_links none"
]
},
"nsis": {
"oneClick": false,
"perMachine": true,
Expand All @@ -106,7 +146,7 @@
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"installerIcon": "icon.ico",
"artifactName": "${name}-${version}.${ext}",
"artifactName": "${name}-${arch}-${version}.${ext}",
"deleteAppDataOnUninstall": true,
"menuCategory": true
},
Expand Down
Loading
Loading