mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
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:
1 parent
e4dd871408
commit
8d0d961e50
23 files changed
+3391
-2782
No files matched your search
@@ -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,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 {
|
||||
|
||||
@@ -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,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}`
|
||||
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in new issue
Block a user