fix: ship app.lobu.ai SPA + retire owletto.com defaults#230
Merged
Conversation
The deployed app image was serving the JSON status fallback at the catch-all route in packages/owletto-backend/src/index.ts because dist/index.html was missing. The owletto-web build script (tsc -b && vite build) was failing in CI because the submodule's *.test.ts files import from vitest, which wasn't in devDependencies — typecheck failed with TS2307 across 9 files and the image build aborted. Bump the owletto-web submodule pointer to the fix commit (lobu-ai/owletto#1) and refresh bun.lock. Also replace the legacy owletto.com defaults that the rebrand left behind: - Gateway memory MCP base URL fallback - Lobu CLI + Owletto CLI init wizard cloud-mode default - Browser extension manifest host_permissions - User-facing 'Owletto Cloud' label renamed to 'Lobu Cloud' in CLI prompts and docs
Picks up lobu-ai/owletto@a24c793 which adds .gitignore for dist/, node_modules/, and tsconfig.tsbuildinfo so the build-test 'Verify no uncommitted changes' check passes.
Replaces the pre-merge branch SHA with the squashed commit on lobu-ai/owletto-web@main so the lobu repo's main branch points at a stable, reachable commit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://app.lobu.ai/. The deployed image was returning the JSON status fallback frompackages/owletto-backend/src/index.ts:902-968becausedist/index.htmlwas missing. The submodule build (tsc -b && vite build) had been failing for the past severalbuild-imagesruns withTS2307: Cannot find module 'vitest'across 9*.test.tsfiles. Fixed in lobu-ai/owletto-web#1; this PR bumps the submodule pointer and refreshesbun.lock.owletto.comdefaults the rebrand left behind so new installs and the extension stop relying on the Namecheap apex redirect. Replaces withhttps://app.lobu.ai/mcp(andhttps://app.lobu.ai/*for the extension manifest), and renames the user-facingOwletto Cloudlabel toLobu Cloudin both CLI wizards.Files
SPA fix
packages/owletto-web→ 057105c (lobu-ai/owletto-web#1)bun.lock— picks up the new vitest devDep on the submoduleDefault URL rebrand
packages/gateway/src/config/file-loader.ts—DEFAULT_OWLETTO_MCP_URLpackages/gateway/src/__tests__/file-loader-memory.test.ts— updated expectationspackages/owletto-cli/src/commands/init.ts—CLOUD_MCP_URL+ labelpackages/cli/src/commands/init.ts— default + memory-choice labelpackages/owletto-extension/manifest.json—host_permissionspackages/cli/README.md,packages/landing/src/content/docs/guides/agent-settings.md—Owletto Cloud→Lobu CloudTest plan
bun run typecheckcleanbun test packages/gateway/src/__tests__/file-loader-memory.test.ts(4/4 pass)make build-packagescleancd packages/owletto-web && bun run buildproducesdist/index.htmland chunks locallybuild-imagesworkflow succeeds on this PR (depends on lobu-ai/owletto-web#1 being reachable via deploy key — it is, branch is pushed)curl -H "Accept: text/html" https://app.lobu.ai/returnstext/htmlinstead of the JSON status objectDepends on