Repository navigation
Commit 79edaf8
feat: [AI] bring the desktop app into the fork (Tauri + Electron, fully branded)
Adopt the OpenCode desktop app (upstream v1.2.20) into altimate-code as a
fully-branded Altimate Code desktop app with no OpenCode leaks.
- Pull `packages/{app,ui,desktop,desktop-electron}`; add to the workspace
(all `catalog:` deps already satisfied by the root catalog).
- Un-skip these packages in `script/upstream/utils/config.ts`; add `keepOurs`,
`requireMarkers`, and new branding rules (deep-link scheme `altimate://`,
desktop Rust crate names) so future merges stay branded.
- Sidecar wiring: the Tauri shell bundles our `altimate` binary as the
`opencode-cli` sidecar. Adapt `scripts/{utils,predev,prepare,copy-bundles,
finalize-latest-json}.ts` to our build output (`@altimateai/altimate-code-*/
bin/altimate`) and the CI artifact contract.
- Branding (no leaks): rebrand the 3 `tauri.*.conf.json` (productName,
identifier, scheme, NEW updater pubkey + AltimateAI endpoints), `index.html`,
webmanifest, AppStream, Cargo crate names, `cli.rs` WSL install paths
(`~/.altimate/bin`, `www.altimate.sh/install`), window title, and i18n (18
locales). Regenerate all icon sets, favicons, PWA icons, NSIS bitmaps, social
images, and the `Logo`/`Mark` components from the Altimate brand mark.
- Gateway: feature the Altimate LLM Gateway (`altimate-backend`) first in the
provider picker with a branded icon + an in-app credential arm; remove the
OpenCode Zen onboarding and filter the `opencode`/`opencode-go` providers.
- Enhance the generic tool renderer to show full output for custom data tools.
- Add `.github/workflows/publish-desktop.yml` (5-platform signed build + Tauri
updater) and a publishing runbook in `packages/desktop/README.md`.
Verified: typecheck (app/ui/desktop), runtime `/provider` smoke test, native
`tauri build` (.app + .dmg, branded Info.plist), visual inspection in-browser
and of the launched native app, branding audit (0 leaks), marker guard, and a
codex deep review (all findings addressed).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f0fb1e1 commit 79edaf8
2,331 files changed
Lines changed: 130797 additions & 21 deletions
File tree
- .github
- meta
- workflows
- packages
- app
- e2e
- app
- commands
- files
- models
- projects
- prompt
- session
- settings
- sidebar
- status
- terminal
- public
- script
- src
- addons
- components
- prompt-input
- server
- session
- context
- file
- global-sync
- hooks
- i18n
- pages
- layout
- session
- composer
- utils
- desktop-electron
- icons
- beta
- android
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- ios
- dev
- android
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- ios
- prod
- android
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- ios
- resources
- scripts
- src
- main
- preload
- renderer
- i18n
- desktop
- scripts
- src-tauri
- assets
- capabilities
- icons
- beta
- android
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- ios
- dev
- android
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- ios
- prod
- android
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- ios
- release
- src
- os
- src
- i18n
- ui
- script
- src
- assets
- audio
- favicon
- fonts
- icons
- app
- file-types
- provider
- images
- components
- app-icons
- file-icons
- provider-icons
- context
- hooks
- i18n
- pierre
- storybook
- styles
- tailwind
- theme
- themes
- script/upstream/utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
0 commit comments