feat: enable marketing site registration and launch-prompt preservation (T12)
This commit is contained in:
@@ -59,8 +59,14 @@ DO NOT treat `master-ai` as a single monorepo on Gitea. You must push changes in
|
||||
* `coolify_agent_gitea` : `https://git.vibnai.com/mark/vibn-agent-runner.git`
|
||||
* `coolify_gitea` : `https://git.vibnai.com/mark/vibn-frontend.git`
|
||||
* `coolify_api_gitea` : `https://git.vibnai.com/mark/vibn-api.git`
|
||||
* `gitea` : `https://git.vibnai.com/mark/master-ai.git`
|
||||
* `origin` : `https://github.com/MawkOne/master-ai.git`
|
||||
* `gitea` : `https://git.vibnai.com/mark/master-ai.git` *(share-only: for a coworker's local setup; **builds do NOT use this**)*
|
||||
* `origin` : `https://github.com/MawkOne/master-ai.git` *(GitHub mirror)*
|
||||
|
||||
**How deploys actually work:** `master-ai` is a single git repo. Each cloud app builds from its **own** Gitea
|
||||
remote, from the matching subfolder. To ship a change, commit in `master-ai`, then
|
||||
`git push <remote> HEAD:main` (e.g. `git push coolify_agent_gitea HEAD:main` for the runner), then trigger the
|
||||
Coolify deploy for that app (see `VIBNDEV.md`). `vibn-code` is a nested submodule with its own `.git` — commit &
|
||||
push it via its own `origin`. Secret `.env*` files at the repo root are gitignored — never commit them.
|
||||
|
||||
---
|
||||
|
||||
@@ -128,13 +134,30 @@ VibnCode overrides local OS actions to communicate with your cloud containers (o
|
||||
|
||||
---
|
||||
|
||||
## 6. Where We Left Off (As of May 28, 2026)
|
||||
## 6. Where We Left Off (As of May 31, 2026)
|
||||
|
||||
* **Deep-Link Protocol Scheme Resolved**:
|
||||
Fixed `src-tauri/Info.plist` which was still configured with `com.talkcody` / `talkcody`. macOS Launch Services now correctly maps `vibncode://` deep links directly to the local dev app.
|
||||
* **Rust Compiling Errors Resolved**:
|
||||
Patched cargo clippy errors in `dashscope.rs`, `openai_responses_protocol.rs`, and `openai_responses_ws.rs` (collapsed match statements and annotated unused structs).
|
||||
* **Repositories Synchronized**:
|
||||
Merged, committed, and pushed all updated code:
|
||||
* `vibn-code` pushed to Gitea `origin main`.
|
||||
* `vibn-agent-runner` and `vibn-frontend` modifications pushed to `coolify_agent_gitea` and `coolify_gitea` on branch `frontend-deploy-13`.
|
||||
**Read `VIBNCODE_THIN_CLIENT_CHANGES.md` first** — it is the live, prioritized change list with exact files,
|
||||
steps, and acceptance criteria for the thin-client conversion, plus a STATUS section of what's done.
|
||||
|
||||
**Chat works end-to-end.** A desktop message → `POST /api/projects/:id/agent/sessions` → cloud runner executes
|
||||
the Coder agent (Gemini) → output polled back into the Monaco chat. Recent fixes that got it there:
|
||||
|
||||
* **Local SQLite was wiping chats (fixed):** `database-service.ts` used `INSERT OR REPLACE INTO projects`, which
|
||||
(via `ON DELETE CASCADE`) deleted the active conversation mid-run. Switched to UPSERT; made `task-service`
|
||||
persistence non-blocking. The cloud is the source of truth; local SQLite is just a cache.
|
||||
* **Empty `appPath` broke every run (fixed):** the desktop sent `appPath: ""`; the runner's `/agent/execute`
|
||||
rejects falsy `appPath` with HTTP 400 and does nothing (no logs). Desktop now sends `appPath: "."`.
|
||||
* **Agent tools `fetch failed` (fixed, pushed):** the runner's `buildContext()` hardcoded
|
||||
`vibnApiUrl: 'http://localhost:3000'` and an empty `mcpToken`, so tool calls fetched a dead port. Now
|
||||
`/agent/execute` reads `mcpToken` from the body and sets `ctx.vibnApiUrl` (from `VIBN_API_URL`) + `mcpToken`.
|
||||
Pushed to `coolify_agent_gitea/main` — confirm the runner redeploy.
|
||||
* **Single model:** desktop model picker restricted to the VibnAI model, relabeled "Gemini 3.5 Flash". The
|
||||
runner's real model is set by `GEMINI_MODEL` env (currently `gemini-3.1-pro-preview`); the desktop label is
|
||||
cosmetic until model-passthrough is wired (CHANGE 4.1 in the change doc).
|
||||
|
||||
**Known open items (in the change doc):** the desktop still has a hardcoded `vibn_sk_` API key to remove;
|
||||
`/agent/sessions/:id/stop` returns 401 to the desktop (uses browser-session auth, not the workspace key); runner
|
||||
early-failures are silently swallowed (failure PATCHes omit the `x-agent-runner-secret` header).
|
||||
|
||||
**Earlier (still true):** `vibncode://` deep link scheme is registered in `src-tauri/Info.plist`; Rust clippy is
|
||||
treated as errors on commit.
|
||||
|
||||
Reference in New Issue
Block a user