Rename project from opencode-webui to opencode-manager

- Update package names from opencode-webui to opencode-manager
- Update all backend import statements to use @opencode-manager/shared
- Update Docker configuration and container name
- Update README.md with new repository URLs and project title
- Update frontend assets and titles
- Update version to 0.4.0
- Update docker entrypoint script comments

This change maintains all functionality while better reflecting the
project's purpose as a comprehensive management interface for OpenCode.
This commit is contained in:
Chris Scott committed 2025-12-12 13:58:08 -05:00
1 parent e4dd871408
commit 8d0d961e50
23 files changed
+3391 -2782

No files matched your search

+2 -2
View File
@@ -67,8 +67,8 @@ COPY --from=builder /app/backend ./backend
COPY --from=builder /app/frontend/dist ./frontend/dist
COPY package.json pnpm-workspace.yaml ./
RUN mkdir -p /app/backend/node_modules/@opencode-webui && \
ln -s /app/shared /app/backend/node_modules/@opencode-webui/shared
RUN mkdir -p /app/backend/node_modules/@opencode-manager && \
ln -s /app/shared /app/backend/node_modules/@opencode-manager/shared
COPY scripts/docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
+5 -5
View File
@@ -1,4 +1,4 @@
# OpenCode Web Manager
# OpenCode Manager
A full-stack web application for running [OpenCode](https://github.com/sst/opencode) in local processes, controllable via a modern web interface. Designed to allow users to run and control OpenCode from their phone or any device with a web browser.
@@ -86,8 +86,8 @@ A full-stack web application for running [OpenCode](https://github.com/sst/openc
```bash
# Clone the repository
git clone https://github.com/cstech-dev/opencode-webui.git
cd opencode-webui
git clone https://github.com/cstech-dev/opencode-manager.git
cd opencode-manager
# Start with Docker Compose (single container)
docker-compose up -d
@@ -126,8 +126,8 @@ docker exec -it opencode-web sh
```bash
# Clone the repository
git clone https://github.com/chriswritescode-dev/opencode-webui.git
cd opencode-webui
git clone https://github.com/chriswritescode-dev/opencode-manager.git
cd opencode-manager
# Install dependencies (uses Bun workspaces)
bun install
+1 -1
View File
@@ -14,7 +14,7 @@
},
"dependencies": {
"@hono/node-server": "^1.19.5",
"@opencode-webui/shared": "workspace:*",
"@opencode-manager/shared": "workspace:*",
"dotenv": "^17.2.3",
"hono": "^4.10.1",
"zod": "^4.1.12"
+1 -1
View File
@@ -1,6 +1,6 @@
import type { Database } from 'bun:sqlite'
import type { Repo, CreateRepoInput } from '../types/repo'
import { getReposPath } from '@opencode-webui/shared'
import { getReposPath } from '@opencode-manager/shared'
import path from 'path'
export interface RepoRow {
+1 -1
View File
@@ -23,7 +23,7 @@ import {
getOpenCodeConfigFilePath,
getDatabasePath,
ENV
} from '@opencode-webui/shared'
} from '@opencode-manager/shared'
const { PORT, HOST } = ENV.SERVER
const DB_PATH = getDatabasePath()
+1 -1
View File
@@ -2,7 +2,7 @@ import { Hono } from 'hono'
import { z } from 'zod'
import { proxyRequest } from '../services/proxy'
import { logger } from '../utils/logger'
import { ENV } from '@opencode-webui/shared'
import { ENV } from '@opencode-manager/shared'
import {
OAuthAuthorizeRequestSchema,
OAuthAuthorizeResponseSchema,
+1 -1
View File
@@ -8,7 +8,7 @@ import { writeFileContent } from '../services/file-operations'
import { opencodeServerManager } from '../services/opencode-single-server'
import { logger } from '../utils/logger'
import { withTransactionAsync } from '../db/transactions'
import { getOpenCodeConfigFilePath, getReposPath } from '@opencode-webui/shared'
import { getOpenCodeConfigFilePath, getReposPath } from '@opencode-manager/shared'
import path from 'path'
export function createRepoRoutes(database: Database) {
+1 -1
View File
@@ -4,7 +4,7 @@ import type { Database } from 'bun:sqlite'
import { SettingsService } from '../services/settings'
import { writeFileContent } from '../services/file-operations'
import { patchOpenCodeConfig } from '../services/proxy'
import { getOpenCodeConfigFilePath } from '@opencode-webui/shared'
import { getOpenCodeConfigFilePath } from '@opencode-manager/shared'
import {
UserPreferencesSchema,
OpenCodeConfigSchema,
+1 -1
View File
@@ -6,7 +6,7 @@ import { mkdir, readFile, writeFile, readdir, stat, unlink } from 'fs/promises'
import { join } from 'path'
import { SettingsService } from '../services/settings'
import { logger } from '../utils/logger'
import { getWorkspacePath } from '@opencode-webui/shared'
import { getWorkspacePath } from '@opencode-manager/shared'
const TTS_CACHE_DIR = join(getWorkspacePath(), 'cache', 'tts')
const CACHE_TTL_MS = 24 * 60 * 60 * 1000
+1 -1
View File
@@ -1,6 +1,6 @@
import { promises as fs } from 'fs'
import path from 'path'
import { getAuthPath } from '@opencode-webui/shared'
import { getAuthPath } from '@opencode-manager/shared'
import { logger } from '../utils/logger'
import { AuthCredentialsSchema } from '../../../shared/src/schemas/auth'
import type { z } from 'zod'
+1 -1
View File
@@ -1,7 +1,7 @@
import { promises as fs } from 'fs'
import path from 'path'
import { logger } from '../utils/logger'
import { getReposPath } from '@opencode-webui/shared'
import { getReposPath } from '@opencode-manager/shared'
export async function readFileContent(filePath: string): Promise<string> {
try {
+2 -2
View File
@@ -13,8 +13,8 @@ import {
getFileStats,
listDirectory
} from './file-operations'
import { FILE_LIMITS, ALLOWED_MIME_TYPES, getReposPath } from '@opencode-webui/shared'
import type { ChunkedFileInfo, PatchOperation } from '@opencode-webui/shared'
import { FILE_LIMITS, ALLOWED_MIME_TYPES, getReposPath } from '@opencode-manager/shared'
import type { ChunkedFileInfo, PatchOperation } from '@opencode-manager/shared'
const SHARED_WORKSPACE_BASE = getReposPath()
@@ -2,7 +2,7 @@ import { spawn, execSync } from 'child_process'
import path from 'path'
import { logger } from '../utils/logger'
import { SettingsService } from './settings'
import { getWorkspacePath, getOpenCodeConfigFilePath, ENV } from '@opencode-webui/shared'
import { getWorkspacePath, getOpenCodeConfigFilePath, ENV } from '@opencode-manager/shared'
import type { Database } from 'bun:sqlite'
const OPENCODE_SERVER_PORT = ENV.OPENCODE.PORT
+1 -1
View File
@@ -1,5 +1,5 @@
import { logger } from '../utils/logger'
import { ENV } from '@opencode-webui/shared'
import { ENV } from '@opencode-manager/shared'
const OPENCODE_SERVER_URL = `http://127.0.0.1:${ENV.OPENCODE.PORT}`
+1 -1
View File
@@ -5,7 +5,7 @@ import type { Database } from 'bun:sqlite'
import type { Repo, CreateRepoInput } from '../types/repo'
import { logger } from '../utils/logger'
import { SettingsService } from './settings'
import { getReposPath } from '@opencode-webui/shared'
import { getReposPath } from '@opencode-manager/shared'
import path from 'path'
async function hasCommits(repoPath: string): Promise<boolean> {
+1 -1
View File
@@ -1,4 +1,4 @@
import { ENV } from '@opencode-webui/shared'
import { ENV } from '@opencode-manager/shared'
type LogLevel = 'info' | 'warn' | 'error' | 'debug'
+1 -1
View File
@@ -3,7 +3,7 @@ services:
build:
context: .
dockerfile: Dockerfile
container_name: opencode-web
container_name: opencode-manager
ports:
- "5003:5003"
environment:
+1 -1
View File
@@ -10,7 +10,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="OpenCode" />
<title>OpenCode WebUI</title>
<title>OpenCode Manager</title>
</head>
<body>
<div id="root"></div>
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "OpenCode WebUI",
"name": "OpenCode Manager",
"short_name": "OpenCode",
"description": "AI-powered coding assistant interface",
"start_url": "/",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "opencode-webui",
"version": "0.3.6",
"name": "opencode-manager",
"version": "0.4.0",
"private": true,
"type": "module",
"packageManager": "pnpm@9.15.0",
+3362 -2753
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -57,6 +57,6 @@ if [ "$OPENCODE_VERSION" != "unknown" ]; then
fi
fi
echo "🚀 Starting OpenCode WebUI Backend..."
echo "🚀 Starting OpenCode Manager Backend..."
exec "$@"
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "@opencode-webui/shared",
"name": "@opencode-manager/shared",
"version": "1.0.0",
"type": "module",
"private": true,