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

+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'