6 Commits
Author SHA1 Message Date
l1shen b969ec0b4e feat: add cloud project OAuth and remote execution (#627)
## Summary

Add OOMOL cloud OAuth as a provider authorization source. Users can save
an encrypted project API key, select a cloud provider configuration,
authorize named connections, and run their actions and proxy requests
through SaaS. Existing connections retain their source when the provider
default changes, and third-party credentials remain in SaaS.

- Implement project discovery, OAuth request synchronization, remote
execution, and persistent cleanup of disconnected cloud accounts. Add
SQLite, PostgreSQL, and D1 migrations and storage support, with instance
reset and maintenance tooling.
- Add Console project and authorization settings, localized errors,
disconnect notifications, and styled OAuth completion pages that close
after successful authorization. Align local development callback origins
and proxy routes.
- Improve safe request diagnostics and retry transient project
health-check failures once. Execution requests are not automatically
replayed.
- Group storage implementations by database backend, share guarded HTTP
requests with Marketplace, update Zod to 4.6.5, and load provider icons
from the public catalog.
- Document setup, maintenance, and the manual acceptance checklist.

## Validation

- `npm run fix-check` passed.
- `npm run build:web` passed.
- Latest focused regression run: 346 tests passed across 33 files
covering Console, SaaS project/client/routes, OAuth completion, and
guarded HTTP requests.
- Earlier implementation validation included the broader runtime/storage
suites and a real PostgreSQL integration run. Full deployed
action/proxy, cleanup recovery, and D1 maintenance acceptance remain
documented manual checks; they are not claimed as completed by the unit
tests.

## Deployment notes

Apply migrations `0014_saas_project` and `0015_saas_cleanup_runtime`,
configure encryption and an explicit `OOMOL_CONNECT_ORIGIN`, and enable
the relevant cleanup scheduling. The remote SaaS deployment must support
the project OAuth and remote execution APIs described in
`docs/saas-oauth.md`.
2026-09-30 13:25:49 +08:00
Kevin Cui a3708655b3 feat: compile the server into Bun single-file executables (#485)
Signed-off-by: Kevin Cui <[email protected]>
2026-09-03 19:01:57 +08:00
l1shen 15166304e7 feat(storage): add PostgreSQL runtime support (#377) 2026-08-20 14:00:48 +08:00
hyrious 9d28db7bdb fix(runtime): harden boundaries and simplify tooling (#169)
## Summary

- fail closed across runtime auth, DNS validation, provider egress, and
proxy errors
- coalesce concurrent OAuth refreshes and remove the MCP
connection-summary N+1 reads
- preserve provider schema fields and tighten Twitter media action
contracts
- replace hand-written CLI parsing and remove implementation-detail web
tests

## Verification

- `npm run generate:catalog`
- `npm run fix-check`
- `npm test` (507 tests)
- `npm run build:web`
- `git diff --check`
2026-07-23 10:13:46 +08:00
l1shen 8d87cab824 feat: support cloudflare (#6)
* feat: support cloudflare

* update wrangler example
2026-07-02 15:42:59 +08:00
hyrious 98a1526698 feat(runtime): add local data backup tooling 2026-06-30 10:18:15 +08:00