Commit Graph

19 Commits

Author SHA1 Message Date
Tony Simons a5b0895dd8 Fix WS auth + gym release directive TypeScript error (#16)
* Fix WS auth: wire accessGate.allowUpgrade via verifyClient

The allowWs callback was never actually calling accessGate.allowUpgrade
during the WS handshake - the ws library passes (info) not (req), and
verifyClient must be set on the WebSocketServer constructor options.

Fix: pass verifyClient to WebSocketServer constructor and wrap
allowUpgrade to extract info.req.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix TypeScript error and add gym release directive support

Add "release" value to OfficeGymDirective type for symmetry with
OfficeQaDirective ("qa_lab" | "release"). Previously OfficeGymDirective
was only "gym" with no release state, making the "!== 'release'"
check in eventTriggers.ts dead code that TypeScript flagged as an
unintentional comparison.

Changes:
- deskDirectives.ts: add "release" to OfficeGymDirective type
- deskDirectives.ts: add gym release patterns to skill and command
  directive resolvers (e.g. "leave the gym", "done with skills")
- eventTriggers.ts: change !== "release" to === "gym" for clarity
  and consistency with reduceOfficeGymHoldState pattern

This fixes: https://github.com/iamlukethedev/Claw3D/issues/15

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 23:00:58 -05:00
Tony Simons 3572499f5d docs: add .env.example for local development setup (#14)
Co-authored-by: Ozzy Clawsbourne <ozzy@openclaw.ai>
2026-03-20 00:22:38 -05:00
Luke The Dev 4fa4f13558 First Release of Claw3D (#11)
Co-authored-by: iamlukethedev <iamlukethedev@users.noreply.github.com>
2026-03-19 23:14:04 -05:00
Luke The Dev 5ea96b2650 Create CHANGELOG.md 2026-03-18 04:43:18 +00:00
Luke The Dev d4e4349dc0 Create CONTRIBUTING.md 2026-03-17 23:42:14 -05:00
Luke The Dev fc283406de Create ROADMAP.md 2026-03-17 23:40:51 -05:00
Luke The Dev 02a43199c1 Create SUPPORT.md 2026-03-17 23:40:08 -05:00
Luke The Dev b40ad44407 Create ARCHITECTURE.md 2026-03-17 23:38:53 -05:00
Luke The Dev 8c382cb362 Create CODE_OF_CONDUCT.MD 2026-03-17 23:37:48 -05:00
Luke The Dev 0520194216 Create LICENSE 2026-03-17 23:37:20 -05:00
Luke The Dev 19ba8618e2 Create SECURITY.md 2026-03-17 23:36:50 -05:00
Luke The Dev 4dd04eabbe Create VISION.md 2026-03-17 23:36:19 -05:00
Luke The Dev 1b9b97ff94 Create README.md 2026-03-17 23:35:36 -05:00
Luke The Dev 6e51d5c497 Create CODEOWNERS 2026-03-16 16:16:30 -05:00
Luke The Dev 31adda95b4 Create SECURITY.md 2026-03-16 16:15:46 -05:00
Luke The Dev ac07114883 Create FUNDING.yml 2026-03-16 15:47:34 -05:00
Luke The Dev a244895e8f Update config.yml 2026-03-16 15:37:46 -05:00
Luke The Dev c245925e9d Create config.yml 2026-03-16 15:36:57 -05:00
Luke The Dev cbeea9fb5e Update issue templates 2026-03-16 15:27:18 -05:00