GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge dev branch into integration · shuv1337/shuvcode@1d4d2f6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • publish.yml
  • bun.lock
  • packages
    • console
      • app
        • package.json
        • src
          • component
            • header.tsx
          • routes
            • index.css
      • core
        • package.json
      • function
        • package.json
      • mail
        • package.json
    • desktop
      • package.json
      • src
        • components
          • font-picker.tsx
          • link.tsx
          • prompt-input.tsx
          • theme-picker.tsx
        • context
          • global-sync.tsx
          • layout.tsx
          • local.tsx
        • hooks
          • use-providers.ts
        • pages
          • layout.tsx
    • enterprise
      • package.json
      • src/routes/share
        • [shareID].tsx
    • extensions/zed
      • extension.toml
    • function
      • package.json
    • opencode
      • package.json
      • src
        • cli/cmd/tui
          • component
            • dialog-model.tsx
            • prompt
              • index.tsx
          • context
            • keybind.tsx
        • config
          • config.ts
        • util
          • keybind.ts
      • test
        • keybind.test.ts
    • plugin
      • package.json
    • sdk
      • js
        • package.json
      • openapi.json
    • slack
      • package.json
    • tauri
      • package.json
      • src-tauri
        • tauri.conf.json
    • ui
      • package.json
      • src
        • components
          • dialog.css
          • icon.tsx
          • list.css
          • select-dialog.tsx
          • text-field.css
          • text-field.tsx
          • toast.css
          • toast.tsx
        • hooks
          • use-filtered-list.tsx
        • styles
          • index.css
          • theme.css
    • util
      • package.json
    • web
      • package.json
      • src/content/docs
        • keybinds.mdx
  • script
    • publish.ts
  • sdks/vscode
    • package.json

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/publish.yml‎

Copy file name to clipboard
+187Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
name: publish
2+
run-name: "${{ format('release {0}', inputs.bump) }}"
3+
4+
on:
5+
push:
6+
branches:
7+
- dev
8+
- snapshot-*
9+
workflow_dispatch:
10+
inputs:
11+
bump:
12+
description: "Bump major, minor, or patch"
13+
required: false
14+
type: choice
15+
options:
16+
- major
17+
- minor
18+
- patch
19+
version:
20+
description: "Override version (optional)"
21+
required: false
22+
type: string
23+
24+
concurrency: ${{ github.workflow }}-${{ github.ref }}
25+
26+
permissions:
27+
id-token: write
28+
contents: write
29+
packages: write
30+
31+
jobs:
32+
publish:
33+
runs-on: blacksmith-4vcpu-ubuntu-2404
34+
if: github.repository == 'sst/opencode' && github.ref == 'refs/heads/dev'
35+
steps:
36+
- uses: actions/checkout@v3
37+
with:
38+
fetch-depth: 0
39+
40+
- run: git fetch --force --tags
41+
42+
- uses: ./.github/actions/setup-bun
43+
44+
- name: Setup SSH for AUR
45+
if: inputs.bump || inputs.version
46+
run: |
47+
sudo apt-get update
48+
sudo apt-get install -y pacman-package-manager
49+
mkdir -p ~/.ssh
50+
echo "${{ secrets.AUR_KEY }}" > ~/.ssh/id_rsa
51+
chmod 600 ~/.ssh/id_rsa
52+
git config --global user.email "[email protected]"
53+
git config --global user.name "opencode"
54+
ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts || true
55+
56+
- name: Install OpenCode
57+
if: inputs.bump || inputs.version
58+
run: bun i -g [email protected]
59+
60+
- name: Login to GitHub Container Registry
61+
uses: docker/login-action@v3
62+
with:
63+
registry: ghcr.io
64+
username: ${{ github.repository_owner }}
65+
password: ${{ secrets.GITHUB_TOKEN }}
66+
67+
- uses: actions/setup-node@v4
68+
with:
69+
node-version: "24"
70+
registry-url: "https://registry.npmjs.org"
71+
72+
- name: Publish
73+
id: publish
74+
run: ./script/publish.ts
75+
env:
76+
OPENCODE_BUMP: ${{ inputs.bump }}
77+
OPENCODE_VERSION: ${{ inputs.version }}
78+
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
79+
AUR_KEY: ${{ secrets.AUR_KEY }}
80+
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
81+
NPM_CONFIG_PROVENANCE: false
82+
outputs:
83+
releaseId: ${{ steps.publish.outputs.releaseId }}
84+
tagName: ${{ steps.publish.outputs.tagName }}
85+
86+
publish-tauri:
87+
needs: publish
88+
continue-on-error: true
89+
strategy:
90+
fail-fast: false
91+
matrix:
92+
settings:
93+
- host: macos-latest
94+
target: x86_64-apple-darwin
95+
- host: macos-latest
96+
target: aarch64-apple-darwin
97+
- host: blacksmith-4vcpu-windows-2025
98+
target: x86_64-pc-windows-msvc
99+
- host: blacksmith-4vcpu-ubuntu-2404
100+
target: x86_64-unknown-linux-gnu
101+
runs-on: ${{ matrix.settings.host }}
102+
steps:
103+
- uses: actions/checkout@v3
104+
with:
105+
fetch-depth: 0
106+
107+
- uses: apple-actions/import-codesign-certs@v2
108+
if: ${{ runner.os == 'macOS' }}
109+
with:
110+
keychain: build
111+
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }}
112+
p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
113+
114+
- name: Verify Certificate
115+
if: ${{ runner.os == 'macOS' }}
116+
run: |
117+
CERT_INFO=$(security find-identity -v -p codesigning build.keychain | grep "Developer ID Application")
118+
CERT_ID=$(echo "$CERT_INFO" | awk -F'"' '{print $2}')
119+
echo "CERT_ID=$CERT_ID" >> $GITHUB_ENV
120+
echo "Certificate imported."
121+
122+
- name: Setup Apple API Key
123+
if: ${{ runner.os == 'macOS' }}
124+
run: |
125+
echo "${{ secrets.APPLE_API_KEY_PATH }}" > $RUNNER_TEMP/apple-api-key.p8
126+
127+
- run: git fetch --force --tags
128+
129+
- uses: ./.github/actions/setup-bun
130+
131+
- name: install dependencies (ubuntu only)
132+
if: contains(matrix.settings.host, 'ubuntu')
133+
run: |
134+
sudo apt-get update
135+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
136+
137+
- name: install Rust stable
138+
uses: dtolnay/rust-toolchain@stable
139+
with:
140+
targets: ${{ matrix.settings.target }}
141+
142+
- uses: Swatinem/rust-cache@v2
143+
with:
144+
workspaces: packages/tauri/src-tauri
145+
shared-key: ${{ matrix.settings.target }}
146+
147+
- name: Prepare
148+
run: |
149+
cd packages/tauri
150+
bun ./scripts/prepare.ts
151+
env:
152+
OPENCODE_BUMP: ${{ inputs.bump }}
153+
OPENCODE_VERSION: ${{ inputs.version }}
154+
OPENCODE_CHANNEL: latest
155+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
156+
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
157+
AUR_KEY: ${{ secrets.AUR_KEY }}
158+
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
159+
RUST_TARGET: ${{ matrix.settings.target }}
160+
GH_TOKEN: ${{ github.token }}
161+
162+
# Fixes AppImage build issues, can be removed when https://github.com/tauri-apps/tauri/pull/12491 is released
163+
- run: cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch feat/truly-portable-appimage
164+
if: contains(matrix.settings.host, 'ubuntu')
165+
166+
- name: Build and upload artifacts
167+
uses: tauri-apps/tauri-action@390cbe447412ced1303d35abe75287949e43437a
168+
env:
169+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
170+
TAURI_BUNDLER_NEW_APPIMAGE_FORMAT: true
171+
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
172+
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
173+
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
174+
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
175+
APPLE_SIGNING_IDENTITY: ${{ env.CERT_ID }}
176+
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
177+
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
178+
APPLE_API_KEY_PATH: ${{ runner.temp }}/apple-api-key.p8
179+
with:
180+
projectPath: packages/tauri
181+
uploadWorkflowArtifacts: true
182+
tauriScript: ${{ (contains(matrix.settings.host, 'ubuntu') && 'cargo tauri') || '' }}
183+
args: --target ${{ matrix.settings.target }}
184+
updaterJsonPreferNsis: true
185+
releaseId: ${{ needs.publish.outputs.releaseId }}
186+
tagName: ${{ needs.publish.outputs.tagName }}
187+
assetName: opencode-desktop-[platform]-[arch][ext]
Collapse file

‎bun.lock‎

Copy file name to clipboardExpand all lines: bun.lock
+16-23Lines changed: 16 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎packages/console/app/package.json‎

Copy file name to clipboardExpand all lines: packages/console/app/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/console-app",
3-
"version": "1.0.147",
3+
"version": "1.0.149",
44
"type": "module",
55
"scripts": {
66
"typecheck": "tsgo --noEmit",
Collapse file

‎packages/console/app/src/component/header.tsx‎

Copy file name to clipboardExpand all lines: packages/console/app/src/component/header.tsx
+1-8Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,6 @@ export function Header(props: { zen?: boolean; hideGetStarted?: boolean }) {
169169
</Match>
170170
</Switch>
171171
</li>
172-
<Show when={!props.hideGetStarted}>
173-
<li>
174-
<A href="/download" data-slot="cta-button">
175-
Get started
176-
</A>
177-
</li>
178-
</Show>
179172
</ul>
180173
</nav>
181174
<nav data-component="nav-mobile">
@@ -253,7 +246,7 @@ export function Header(props: { zen?: boolean; hideGetStarted?: boolean }) {
253246
<Show when={!props.hideGetStarted}>
254247
<li>
255248
<A href="/download" data-slot="cta-button">
256-
Get started
249+
Get started for free
257250
</A>
258251
</li>
259252
</Show>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.