Commit Graph

1052 Commits

Author SHA1 Message Date
dependabot[bot]
0b9745754f chore(deps): bump rollup
Bumps the npm_and_yarn group with 1 update in the /frontend directory: [rollup](https://github.com/rollup/rollup).


Updates `rollup` from 4.57.1 to 4.59.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.57.1...v4.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 4.59.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-01 03:54:16 +00:00
Claude Thebot
ee1bec0525 fix(install): upgrade existing Node on macOS and use node@22 consistently
- Use 'brew upgrade node@22 || brew install node@22' so existing older Node is upgraded
- Add node@22 bin to PATH after install so node/npm are found
- Align error message with node@22 (was suggesting node@22 while install used node)

Made-with: Cursor
2026-02-28 06:39:57 -08:00
AndrewNLauder
ca833d2d5c Merge branch 'master' into feat/macos-support 2026-02-28 06:37:20 -08:00
Abhimanyu Saharan
ad402a1c6c Merge pull request #185 from hanushh/fix-agent-auth-optional-401
fix(backend): Return None instead of 401 when agent not found in get_agent_auth_context_optional
2026-02-27 23:36:40 +05:30
Abhimanyu Saharan
2f54aeb19e fix(installer): create backend .env before docker compose up 2026-02-27 23:28:02 +05:30
Hanush H Nair
4c35cb03ad fix(backend): Return None instead of 401 when agent not found in get_agent_auth_context_optional 2026-02-27 23:19:40 +05:30
Abhimanyu Saharan
09643b8cf7 Update env_file reference in compose.yml 2026-02-27 18:34:58 +05:30
Claude Thebot
c402344cb8 feat: add macOS support to installer and docs
- install.sh: detect Darwin, use Homebrew for packages/Node, Docker Desktop hint
- install.sh: portable realpath and bash 3-compatible confirm() for macOS
- docs/installer-support.md: add macOS (Darwin) / Homebrew to support matrix
- README.md: document supported platforms (Linux and macOS), Docker Desktop/Homebrew
- ci.yml: add installer-macos job (macos-latest, bash -n install.sh)

Made-with: Cursor
2026-02-26 15:52:47 -08:00
Abhimanyu Saharan
783f0b6fc8 Merge pull request #181 from akgrenier/fix/agent-auth-accept-bearer-in-optional-dep
fix: accept Authorization: Bearer in get_agent_auth_context_optional
2026-02-27 01:59:06 +05:30
Abhimanyu Saharan
c0eb1a14fd Merge branch 'master' into fix/agent-auth-accept-bearer-in-optional-dep 2026-02-27 01:49:45 +05:30
Adam Grenier
3b20e799e2 fix: accept Authorization: Bearer in agent_auth_context_optional
The optional variant of get_agent_auth_context had accept_authorization=False,
which prevented agents using Authorization: Bearer from passing through the
ACTOR_DEP / BOARD_READ_DEP / TASK_DEP dependency chain.

This caused 401 on any agent route that resolves a board or task via the shared
ACTOR_DEP (e.g. PATCH /agent/boards/{id}/tasks/{id} and
POST /agent/boards/{id}/tasks/{id}/comments), even though the same token worked
fine on routes that use AGENT_CTX_DEP directly (accept_authorization=True).

Fix: set accept_authorization=True in get_agent_auth_context_optional so both
X-Agent-Token and Authorization: Bearer are accepted consistently.

Verified: PATCH and POST /comments now resolve board/task correctly when
Authorization: Bearer is used. No security regression — agent_token_hash
comparison rejects any non-agent bearer tokens.
2026-02-26 11:51:45 -08:00
Abhimanyu Saharan
348b0515ac feat(boards): implement lead notification on board updates with detailed change messages 2026-02-26 01:58:55 +05:30
Abhimanyu Saharan
bc71d5ba38 refactor(page): improve code formatting for better readability in event handlers 2026-02-26 00:36:33 +05:30
Abhimanyu Saharan
6b21ea6f99 feat(boards): add 'comment_required_for_review' rule and update related logic 2026-02-26 00:31:47 +05:30
Abhimanyu Saharan
adad72373c feat(tasks): add notification messages for task assignment and rework 2026-02-25 18:29:59 +05:30
Abhimanyu Saharan
5b0ddcc7cd refactor(tests): format code for better readability in test files 2026-02-25 03:41:03 +05:30
Abhimanyu Saharan
58db8be117 fix(security): update security header names to lowercase and add tests 2026-02-25 03:39:49 +05:30
Abhimanyu Saharan
f358e4cd3e Merge pull request #95 from abhi1693/docs/backend-doc-pass
docs(backend): docstrings + rationale comments for tasks, provisioning, auth
2026-02-25 03:37:14 +05:30
Abhimanyu Saharan
842a0770a8 Update backend/app/services/openclaw/provisioning.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-25 03:37:05 +05:30
Abhimanyu Saharan
3f158940cd Merge branch 'master' into docs/backend-doc-pass 2026-02-25 03:32:14 +05:30
Abhimanyu Saharan
2db46473a4 Merge pull request #162 from Lucenx9/master
fix: add Redis healthcheck and security response headers
2026-02-25 03:31:11 +05:30
Abhimanyu Saharan
87784d88ab Merge branch 'master' into master 2026-02-25 03:23:25 +05:30
Abhimanyu Saharan
3d137df61a Merge pull request #94 from abhi1693/hana/e2e-boards-gap-analysis
test(e2e): add boards list + board task flows (stubbed)
2026-02-25 03:22:38 +05:30
Abhimanyu Saharan
9e4be7192e test(e2e): ensure delete task button is visible and scrolls into view 2026-02-25 03:14:56 +05:30
Abhimanyu Saharan
8b7c728f32 test(e2e): replace forced clicks with actionability checks 2026-02-25 03:01:15 +05:30
Abhimanyu Saharan
33b705a935 test(e2e): remove force click for edit-task actionability 2026-02-25 02:59:15 +05:30
Abhimanyu Saharan
aa2ceba576 test(e2e): scope board task SSE stubs to known endpoints 2026-02-25 02:50:57 +05:30
Abhimanyu Saharan
c03affe3e0 test(e2e): switch boards list spec to local auth 2026-02-25 02:50:11 +05:30
Abhimanyu Saharan
b35980618d test(e2e): switch board task spec to local auth 2026-02-25 02:40:54 +05:30
Abhimanyu Saharan
08341d26ac test(frontend): stabilize onboarding polling assertion 2026-02-25 02:39:53 +05:30
Abhimanyu Saharan
42b361ddd9 test(frontend): stabilize auth boundary tests for local auth mode 2026-02-25 02:32:42 +05:30
Abhimanyu Saharan
be18072d52 Merge origin/master into hana/e2e-boards-gap-analysis 2026-02-25 02:26:46 +05:30
Abhimanyu Saharan
e3404d8590 feat: implement local authentication flow and update related tests 2026-02-25 02:24:51 +05:30
Abhimanyu Saharan
1045267d4c feat: add groupSnapshot alias and handle hydration mismatch in E2E tests 2026-02-25 01:39:04 +05:30
Abhimanyu Saharan
c6dedc93b3 feat: enhance task editing and loading states in board tasks and boards list tests 2026-02-25 01:29:04 +05:30
Abhimanyu Saharan
49a13a5c01 Merge branch 'master' into hana/e2e-boards-gap-analysis 2026-02-25 00:59:34 +05:30
Abhimanyu Saharan
2e3b455582 Merge branch 'master' into master 2026-02-25 00:50:37 +05:30
Abhimanyu Saharan
1d50e48609 chore: update CI configuration and improve README instructions 2026-02-25 00:49:35 +05:30
Abhimanyu Saharan
d9af5d3bc7 Merge branch 'master' into master 2026-02-25 00:42:48 +05:30
Abhimanyu Saharan
0795f78eff feat: implement unified agent lifecycle orchestration and metadata tracking 2026-02-25 00:34:04 +05:30
Simone
3fd5fe5f8c fix: make security headers configurable and add tests 2026-02-24 17:36:44 +01:00
Abhimanyu Saharan
893e06f579 Merge pull request #163 from abhi1693/copilot/implement-changes-from-release
feat: upgrade to FastAPI 0.131.0 with Pydantic's Rust-based JSON serialization
2026-02-23 22:05:10 +05:30
copilot-swe-agent[bot]
2c5dd30bd8 feat: upgrade to FastAPI 0.131.0 and remove orjson dependency
FastAPI 0.131.0 includes Pydantic's Rust-based JSON serialization by default (PR #14962), making ORJSONResponse unnecessary. The new default serialization is 2x faster than the previous approach and eliminates the need for explicit orjson configuration.

Changes:
- Upgrade FastAPI from 0.130.0 to 0.131.0
- Remove orjson dependency (deprecated in 0.131.0)
- Remove ORJSONResponse import and configuration
- Use FastAPI's new default Pydantic-based serialization

Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-02-23 16:24:23 +00:00
copilot-swe-agent[bot]
1967e9583d feat: upgrade FastAPI to 0.130.0 and implement ORJSONResponse for performance
Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-02-22 22:13:52 +00:00
copilot-swe-agent[bot]
8c36df4689 Initial plan 2026-02-22 22:09:11 +00:00
Abhimanyu Saharan
ba7f9166e7 chore: update .gitignore to include device keys for OpenClaw service 2026-02-23 02:54:18 +05:30
Simone
93161d3800 fix: add Redis healthcheck and security response headers
- Add healthcheck to Redis service in compose.yml and upgrade
  depends_on from service_started to service_healthy so backend
  and webhook-worker wait for Redis readiness.
- Add HTTP security headers middleware (X-Content-Type-Options,
  X-Frame-Options, Referrer-Policy, Permissions-Policy) to the
  FastAPI backend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 22:20:53 +01:00
Abhimanyu Saharan
b8494667cf Merge pull request #161 from abhi1693/chore/pr-149-cherry-pick-fixes
fix: handle default ports in gateway URL validation
2026-02-23 02:12:03 +05:30
Abhimanyu Saharan
2e36630df4 fix: address PR #149 review comments 2026-02-23 02:00:07 +05:30
DevBot
c13915bbdf fix: detect explicit port from URL string; add Vitest tests
The previous fix fell back to the scheme's default port (443/80) when
url.port was empty, but url.port is empty for *both* 'wss://host:443'
and 'wss://host' — causing the validation to wrongly accept a URL with
no port at all.

Fix: inspect the raw authority segment of the URL string to check
whether a ':port' component is actually present, regardless of whether
that port is the scheme default.

Add gateway-form.test.ts covering:
- explicit non-default ports (accepted)
- explicit default ports :443 / :80 (accepted — regression case)
- missing port (rejected)
- wrong scheme (rejected)
- invalid URL (rejected)
- whitespace trimming

Closes #148
2026-02-23 01:58:29 +05:30