Skip to content

Commit 8b90266

Browse files
authored
Merge pull request #217 from Latitudes-Dev/shuvcode-dev
Merge shuvcode-dev: upstream v1.0.207-1 → v1.0.209 + fork improvements
2 parents d10031c + d4d3d00 commit 8b90266

88 files changed

Lines changed: 2366 additions & 734 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.

.github/last-synced-tag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.0.207
1+
v1.0.209

.github/workflows/stale-issues.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- cron: "30 1 * * *" # Daily at 1:30 AM
66
workflow_dispatch:
77

8+
env:
9+
DAYS_BEFORE_STALE: 90
10+
DAYS_BEFORE_CLOSE: 7
11+
812
jobs:
913
stale:
1014
runs-on: ubuntu-latest
@@ -13,17 +17,17 @@ jobs:
1317
steps:
1418
- uses: actions/stale@v10
1519
with:
16-
days-before-stale: 90
17-
days-before-close: 7
20+
days-before-stale: ${{ env.DAYS_BEFORE_STALE }}
21+
days-before-close: ${{ env.DAYS_BEFORE_CLOSE }}
1822
stale-issue-label: "stale"
1923
close-issue-message: |
20-
[automated] Closing due to 90+ days of inactivity.
24+
[automated] Closing due to ${{ env.DAYS_BEFORE_STALE }}+ days of inactivity.
2125
2226
Feel free to reopen if you still need this!
2327
stale-issue-message: |
24-
[automated] This issue has had no activity for 90 days.
28+
[automated] This issue has had no activity for ${{ env.DAYS_BEFORE_STALE }} days.
2529
26-
It will be closed in 7 days if there's no new activity.
30+
It will be closed in ${{ env.DAYS_BEFORE_CLOSE }} days if there's no new activity.
2731
remove-stale-when-updated: true
2832
exempt-issue-labels: "pinned,security,feature-request,on-hold"
2933
start-date: "2025-12-27"

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ a.out
2222
target
2323
.scripts
2424
docker/workspace
25+
26+
# Local dev files
27+
opencode-dev
28+
logs/

.opencode/agent/docs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: ALWAYS use this when writing docs
3+
color: "#38A3EE"
34
---
45

56
You are an expert technical documentation writer

CONTRIBUTING.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,36 @@ Want to take on an issue? Leave a comment and a maintainer may assign it to you
3434
bun dev
3535
```
3636

37+
### Running against a different directory
38+
39+
By default, `bun dev` runs OpenCode in the `packages/opencode` directory. To run it against a different directory or repository:
40+
41+
```bash
42+
bun dev <directory>
43+
```
44+
45+
To run OpenCode in the root of the opencode repo itself:
46+
47+
```bash
48+
bun dev .
49+
```
50+
51+
### Building a "localcode"
52+
53+
To compile a standalone executable:
54+
55+
```bash
56+
./packages/opencode/script/build.ts --single
57+
```
58+
59+
Then run it with:
60+
61+
```bash
62+
./packages/opencode/dist/opencode-<platform>/bin/opencode
63+
```
64+
65+
Replace `<platform>` with your platform (e.g., `darwin-arm64`, `linux-x64`).
66+
3767
- Core pieces:
3868
- `packages/opencode`: OpenCode core business logic & server.
3969
- `packages/opencode/src/cli/cmd/tui/`: The TUI code, written in SolidJS with [opentui](https://github.com/sst/opentui)

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,32 @@
88

99
---
1010

11+
## Screenshots
12+
13+
### Desktop App
14+
15+
<p align="center">
16+
<img src="shuvcode-desktop-session-review-diff.png" alt="Desktop session with diff viewer" width="800" />
17+
</p>
18+
19+
*Desktop session view with AI chat, session sidebar, and real-time code diff review*
20+
21+
### Mobile PWA
22+
23+
<p align="center">
24+
<img src="shuvcode-mobile-recent-projects.png" alt="Mobile recent projects" width="250" />
25+
<img src="shuvcode-mobile-sidebar-menu.png" alt="Mobile sidebar menu" width="250" />
26+
<img src="shuvcode-mobile-ai-terminal-view.jpg" alt="Mobile AI terminal view" width="250" />
27+
</p>
28+
29+
<p align="center">
30+
<img src="shuvcode-mobile-commit-summary.png" alt="Mobile commit summary" width="250" />
31+
</p>
32+
33+
*Mobile PWA: Recent projects, sidebar navigation, AI chat with terminal, and commit summary*
34+
35+
---
36+
1137
## Installation
1238

1339
```bash
@@ -32,6 +58,9 @@ The following PRs have been merged into this fork and are awaiting merge into up
3258

3359
| PR | Title | Author | Status | Description |
3460
| ----------------------------------------------------------------------------- | ------------------------------------------- | ------------------------------------------------------------ | ------ | ------------------------------------------------------------------------ |
61+
| [#6360](https://github.com/sst/opencode/pull/6360) | Desktop: Edit Project | [@dbpolito](https://github.com/dbpolito) | Merged | Edit project name, icon color, and custom icon image in desktop sidebar |
62+
| [#6368](https://github.com/sst/opencode/pull/6368) | Desktop: Sidebar subsessions support | [@dbpolito](https://github.com/dbpolito) | Open | Expand/collapse subsessions in sidebar with chevron indicators |
63+
| [#6372](https://github.com/sst/opencode/pull/6372) | Desktop: Image Preview and Dedupe | [@dbpolito](https://github.com/dbpolito) | Merged | Click user attachments to preview images, dedupe file uploads |
3564
| [#4898](https://github.com/sst/opencode/pull/4898) | Search in messages | [@OpeOginni](https://github.com/OpeOginni) | Open | Ctrl+ / to search through session messages with highlighting |
3665
| [#4791](https://github.com/sst/opencode/pull/4791) | Bash output with ANSI | [@remorses](https://github.com/remorses) | Open | Full terminal emulation for bash output with color support |
3766
| [#4900](https://github.com/sst/opencode/pull/4900) | Double Ctrl+C to exit | [@AmineGuitouni](https://github.com/AmineGuitouni) | Open | Require double Ctrl+C within 2 seconds to prevent accidental exits |

STATS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,4 @@
184184
| 2025-12-26 | 1,352,411 (+19,379) | 1,227,615 (+10,332) | 2,580,026 (+29,711) |
185185
| 2025-12-27 | 1,371,771 (+19,360) | 1,238,236 (+10,621) | 2,610,007 (+29,981) |
186186
| 2025-12-28 | 1,390,388 (+18,617) | 1,245,690 (+7,454) | 2,636,078 (+26,071) |
187+
| 2025-12-29 | 1,415,560 (+25,172) | 1,257,101 (+11,411) | 2,672,661 (+36,583) |

0 commit comments

Comments
 (0)