Repository navigation
Commit 3a7985c
committed
fix(nix): repair three packaging defects on the v2 branch
`nix/opencode.nix` generates completions through `opencode completion`, which
v2 removed: the Effect CLI parses it as the optional `directory` argument, so
the TUI opens instead and `installShellCompletion` gets a zero-size file. It
now uses the global `--completions <shell>` flag, and renames the opencode2
copies because the command name is a build-time define. Fish ships now; `sh`
is a synonym for `bash`, so --bash already covers it.
`nix/electron.nix` carries the electron 42.10.1 hashes while
`packages/desktop/package.json` has moved on twice, to 44.4.5, so the
desktop's electron fetchzip cannot resolve. Refreshed from the 44.4.5
SHASUMS256.txt. The headers entry is unchanged: the 44.4.5 and 44.4.3
archives differ but unpack to the same tree, so the recursive hash holds. It
was computed the same way the committed 42.10.1 one was, reproducing that
value first as a control.
`nix/desktop.nix` stages the CLI executable but not the manifest that
`packages/desktop/scripts/utils.ts` reads the version from, so
`scripts/prebuild.ts` aborts on a missing package.json.
Fixes anomalyco#50408184 files changed
Lines changed: 2374 additions & 531 deletions
File tree
- nix
- packages
- ai
- src
- experimental
- protocols
- utils
- providers
- route
- test
- fixtures/recordings
- alibaba-messages
- bedrock-converse-thinking-binding
- meta-messages
- meta-search
- minimax-messages
- moonshot-messages
- provider
- app
- client
- src/promise/generated
- cli
- src
- commands
- handlers
- run
- test
- run
- codemode
- console
- app
- core
- function
- mail
- support
- core
- src
- instructions
- integration
- plugin
- provider
- session
- tool/plugin
- test
- instructions
- plugin
- desktop
- src/main/service
- enterprise
- function
- http-recorder
- httpapi-codegen
- latex
- merman
- plugin-browser
- plugin
- src
- effect
- promise
- protocol
- schema
- src
- sdk
- server
- session-ui
- component-tests
- performance/highlighting
- src
- components
- context
- pierre
- timeline
- simulation
- stats
- app
- core
- server
- theme
- tui
- src
- component
- prompt
- context
- routes
- test
- component
- context
- ui
- util
- web
- src/content/docs
- ar
- bs
- da
- de
- es
- fr
- it
- ja
- ko
- nb
- pl
- pt-br
- ru
- th
- tr
- zh-cn
- zh-tw
- sdks/vscode
- services/update
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
0 commit comments