Skip to content

Commit 5ab5f2c

Browse files
authored
feat(browser, terminal): implement browser driver, password manager, terminal features (#6196)
* icon styling * feat(desktop): isolate chat browser and terminal sessions * feat(desktop): uncap browser and terminal tabs * feat(desktop): polish browser and terminal resources * improvement desktop * fixes * updates * fixes * fix * update tests
1 parent 3de63c9 commit 5ab5f2c

213 files changed

Lines changed: 27699 additions & 4028 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/desktop/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dist/
22
release/
3-
build/generated-icon.icns
3+
build/generated-icon.icon
44
playwright-report/
55
test-results/

apps/desktop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Local unsigned build: `bun run package:dir` (app in `release/mac-universal/`). S
100100

101101
Pre-release share (no Developer ID yet): `SIM_DESKTOP_DEFAULT_ORIGIN=https://www.dev.sim.ai bun run package:share` builds a DMG whose fresh installs default to that origin (baked at build time; official builds leave it unset → prod) and skips per-file signature timestamps. Recipients must clear quarantine once: `xattr -cr /Applications/Sim.app`.
102102

103-
The build also derives the app icon from `SIM_DESKTOP_DEFAULT_ORIGIN`. Every channel uses the exact production icon with its white background and black `sim` mark. Non-production channels add a thin outline using existing platform colors: dev uses orange, staging uses Loop blue, and localhost uses Workflow violet. The macOS menu-bar icon also carries a compact `D`, `S`, or `L` subscript for those environments; production remains unmarked. Packaged `.icns` files live in `build/`; `scripts/build.ts` copies the selected variant to the ignored `build/generated-icon.icns` path consumed by electron-builder. Matching 512px PNGs in `static/` provide the Dock icon for unpackaged runs.
103+
The build also derives the app icon from `SIM_DESKTOP_DEFAULT_ORIGIN`. Every channel uses the exact production icon with its white background and black `sim` mark. Non-production channels add a thin outline using existing platform colors: dev uses orange, staging uses Loop blue, and localhost uses Workflow violet. The macOS menu-bar icon also carries a compact `D`, `S`, or `L` subscript for those environments; production remains unmarked. Native Icon Composer assets live in `build/`; `scripts/build.ts` copies the selected variant to the ignored `build/generated-icon.icon` path consumed by electron-builder. Electron-builder compiles it to `Assets.car` and derives the legacy `.icns` fallback from the same source. Matching 512px PNGs in `static/` provide the Dock icon for unpackaged runs.
104104

105105
CI (`.github/workflows/desktop-release.yml`, wired into `ci.yml`):
106106
- Runs only after `create-release` on a `vX.Y.Z:` commit to main — **never before**: `scripts/create-single-release.ts` skips creation if the tag exists, so a desktop job publishing first would eat the changelog. The job builds `--publish never` and uploads assets with `gh release upload --clobber` (idempotent re-runs).

apps/desktop/build/icon-dev.icns

-122 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.

apps/desktop/build/icon-local.icns

-122 KB
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Loading
23.5 KB
Loading
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"fill": {
3+
"solid": "srgb:1.00000,1.00000,1.00000,1.00000"
4+
},
5+
"groups": [
6+
{
7+
"layers": [
8+
{
9+
"image-name": "logo.png",
10+
"is-glass": false,
11+
"name": "Sim"
12+
},
13+
{
14+
"image-name": "border.svg",
15+
"is-glass": false,
16+
"name": "Local Border"
17+
}
18+
],
19+
"shadow": {
20+
"kind": "neutral",
21+
"opacity": 0
22+
},
23+
"specular": false,
24+
"translucency": {
25+
"enabled": false,
26+
"value": 0
27+
}
28+
}
29+
],
30+
"supported-platforms": {
31+
"squares": ["macOS"]
32+
}
33+
}

0 commit comments

Comments
 (0)