diff --git a/plans/phase-1-workspace-core.md b/plans/phase-1-workspace-core.md index b0737dc02b..fc6953d1aa 100644 --- a/plans/phase-1-workspace-core.md +++ b/plans/phase-1-workspace-core.md @@ -12,20 +12,19 @@ initial management service (Hub API). Create a Dockerfile that provides a complete, persistent development environment for `gemini-cli`. -- [ ] Create `packages/workspace-manager/docker/Dockerfile`. -- [ ] Include: `node:20-slim`, `git`, `gh`, `rsync`, `tmux`, `shpool`. -- [ ] Add the pre-built `gemini-cli` binary. -- [ ] Define `entrypoint.sh` with secret injection and `shpool` daemon startup. -- [ ] Verify image build locally: `docker build -t gemini-workspace:v1 .`. +- [x] Create `packages/workspace-manager/docker/Dockerfile`. +- [x] Include: `node:20-slim`, `git`, `gh`, `rsync`, `tmux`, `shpool`. +- [x] Add the pre-built `gemini-cli` binary. +- [x] Define `entrypoint.sh` with secret injection and `shpool` daemon startup. +- [x] Verify image build locally: `docker build -t gemini-workspace:v1 .`. ### Task 1.2: Workspace Hub API (v1) Implement the core API to manage GCE-based workspaces. -- [ ] Initialize `packages/workspace-manager/src/hub-service/`. -- [ ] Implement Express or Fastify server for `/workspaces` (List, Create, - Delete). -- [ ] Integrate Firestore to track workspace state (owner, instance_id, status). +- [x] Initialize `packages/workspace-manager/`. +- [x] Implement Express server for `/workspaces` (List, Create, Delete). +- [x] Integrate Firestore to track workspace state (owner, instance_id, status). - [ ] Integrate `@google-cloud/compute` for GCE instance lifecycle. - [ ] Provision a VM with `Container-on-VM` settings pointing to the `gemini-workspace` image. @@ -48,4 +47,5 @@ Prepare the Hub for self-service deployment. ## 4. Next Steps -- Implement Task 1.1: Build the Dockerfile. +- Implement Task 1.2: Integrate `@google-cloud/compute` for GCE instance + lifecycle.