restore: recover deleted documentation, CI/CD, and infrastructure files

Restored from origin/main (b4663fb):
- .github/ workflows and issue templates
- .gitignore (proper exclusions)
- .opencode/agent/web_developer.md
- AGENTS.md, BUILD.md, PROGRESS.md
- dev-docs/ (9 architecture/implementation docs)
- docs/screenshots/ (4 UI screenshots)
- images/ (CodeNomad icons)
- package-lock.json (dependency lockfile)
- tasks/ (25+ project task files)

Also restored original source files that were modified:
- packages/ui/src/App.tsx
- packages/ui/src/lib/logger.ts
- packages/ui/src/stores/instances.ts
- packages/server/src/server/routes/workspaces.ts
- packages/server/src/workspaces/manager.ts
- packages/server/src/workspaces/runtime.ts
- packages/server/package.json

Kept new additions:
- Install-*.bat/.sh (enhanced installers)
- Launch-*.bat/.sh (new launchers)
- README.md (SEO optimized with GLM 4.7)
This commit is contained in:
Gemini AI
2025-12-23 13:03:48 +04:00
Unverified
parent b448d11991
commit 157449a9ad
70 changed files with 21384 additions and 276 deletions

View File

@@ -0,0 +1,36 @@
# Task 043 - Color Variable Migration
## Goal
Move all hard-coded color variables from `src/index.css` into `src/styles/tokens.css`, aligning with the documented light and dark palettes.
## Prerequisites
- Task 042 complete (token scaffolding in place).
- Access to color definitions from `docs/user-interface.md`.
## Acceptance Criteria
- [ ] Light mode color tokens (`--surface-*`, `--border-*`, `--text-*`, `--accent`, `--status-success|error|warning`) defined under `:root` in `src/styles/tokens.css`.
- [ ] Dark mode overrides defined under `[data-theme="dark"]` in the same file.
- [ ] `src/index.css` no longer declares color variables directly; it references the new tokens instead.
- [ ] Theme toggle continues to switch palettes correctly.
## Steps
1. Transfer existing color custom properties from `src/index.css` into `src/styles/tokens.css`, renaming them to semantic names that match the design doc.
2. Add any missing variables required by the design spec (e.g., `--surface-muted`, `--text-inverted`).
3. Update `src/index.css` to reference the new semantic variable names where necessary (e.g., `background-color: var(--surface-base)`).
4. Remove redundant color declarations from `src/index.css` after confirming replacements.
## Testing Checklist
- [ ] Run `npm run dev` and switch between light and dark themes.
- [ ] Verify primary screens (instance tabs, session view, prompt input) in both themes for correct colors.
- [ ] Confirm no CSS warnings/errors in the console.
## Dependencies
- Depends on Task 042.
- Blocks Task 044 (typography tokens) and Task 045 (component migration batch 1).
## Estimated Time
0.5 hours
## Notes
- Align hex values with `docs/user-interface.md`; note any intentional deviations in the PR description.
- Provide side-by-side screenshots (light/dark) in the PR for quicker review.