Commit Graph

1059 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
35b3829da0 refactor: use custom worker script instead of standard RQ CLI
- Add scripts/rq-docker for Docker container compatibility
- Update Dockerfile to copy scripts directory
- Replace standard rq worker command with custom worker script
- Custom worker includes built-in scheduling via _drain_ready_scheduled_tasks

Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-03-02 14:57:00 +00:00
copilot-swe-agent[bot]
e6217b3ff5 fix: add --with-scheduler flag to RQ worker in compose.yml
Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-03-02 14:51:12 +00:00
copilot-swe-agent[bot]
db2aad6f81 Initial plan 2026-03-02 14:48:00 +00:00
Viktor
026da96e8c fix: auto-configure tools.exec.host and handle agents.update race
Three related provisioning fixes:

1. **tools.exec.host auto-configuration**: Add `_tools_exec_host_patch()`
   that ensures `tools.exec.host` is set to `"gateway"` during
   `patch_agent_heartbeats()`. Without this, heartbeat-driven agents
   cannot execute `curl`, `bash`, or any shell command — making
   HEARTBEAT.md instructions unexecutable. The function is idempotent
   and respects existing user configuration.

2. **agents.update hot-reload race**: After `agents.create` writes to
   disk, the gateway triggers a ~500ms debounced hot-reload. If
   `agents.update` arrives before the reload completes, it returns
   "agent not found". Fix: add a 750ms delay after create + exponential
   backoff retry (5 attempts, 0.5s → 4s) on the update call.

3. **Skip no-op config.patch**: When `patch_agent_heartbeats()` detects
   no changes to agents, channels, or tools config, skip the
   `config.patch` RPC entirely. Each unnecessary patch triggers a
   gateway SIGUSR1 restart that rotates agent tokens and breaks active
   sessions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 16:40:44 +00:00
Abhimanyu Saharan
2c79030cb6 Merge pull request #182 from AndrewNLauder/feat/macos-support
feat: add macOS support to installer and documentation
2026-03-01 12:47:44 +05:30
dependabot[bot]
13340d1898 chore(deps-dev): bump minimatch
Bumps the npm_and_yarn group with 1 update in the /frontend directory: [minimatch](https://github.com/isaacs/minimatch).


Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-01 07:11:31 +00:00
Abhimanyu Saharan
4fbed35549 Merge pull request #188 from abhi1693/dependabot/npm_and_yarn/frontend/npm_and_yarn-b2936519f3
chore(deps): bump rollup from 4.57.1 to 4.59.0 in /frontend in the npm_and_yarn group across 1 directory
2026-03-01 12:40:33 +05:30
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