Vincent Koc
42801f6178
fix(plugin-sdk): dedupe rebased zalo export entries
8 months ago
Vincent Koc
a2e1991ed3
refactor(plugin-sdk): route bundled runtime barrels through public subpaths
8 months ago
Harold Hunt
4838e3934b
Tests: default CI unit lanes to forks ( #51145 )
8 months ago
Peter Steinberger
85a5d64d8f
test: speed up isolated test lanes
8 months ago
Peter Steinberger
18fa2992f9
fix: restore plugin sdk runtime barrels
8 months ago
Vincent Koc
aa78a0c00e
refactor(plugin-sdk): formalize runtime contract barrels
8 months ago
Vincent Koc
dbc9d3dd70
fix(plugin-sdk): restore root diagnostic compat
8 months ago
Peter Steinberger
50ce9ac1c6
refactor: privatize bundled sdk facades
8 months ago
Peter Steinberger
f6948ce405
refactor: shrink sdk helper surfaces
8 months ago
Vincent Koc
faa8e27291
fix(ci): share compat matrix and restore skill python gating
8 months ago
Vincent Koc
ce878a9eb1
fix(test): batch unit-fast worker lifetimes
8 months ago
Shakker
94ab044387
fix(ci): split unit-fast into bounded shared-worker lanes
8 months ago
Shakker
b90eef50ec
fix(ci): widen Linux memory-hotspot isolation cap
8 months ago
Shakker
829beced04
fix(ci): avoid Windows shell arg overflow in unit-fast
8 months ago
Shakker
d689b3fc89
fix(ci): prioritize memory-heavy unit scheduling
8 months ago
Shakker
254ea0c65e
fix(ci): parse GitHub Actions memory hotspot logs
8 months ago
Shakker
9c7da58770
fix(ci): auto-isolate memory-heavy unit tests
8 months ago
Shakker
ac18a734ac
fix(ci): cap top-level test lane concurrency
8 months ago
Vincent Koc
c38295c7a2
test(ci): tighten startup memory thresholds
8 months ago
Vincent Koc
9486f6e379
fix(build): suppress singleton smoke deprecation noise
8 months ago
Vincent Koc
bbfeb0b6f9
fix(ci): cache node in install smoke image
8 months ago
Vincent Koc
a245916dcb
fix(ci): repair test-parallel heap snapshot parsing
8 months ago
Josh Lehman
35bc00c55b
test: reduce low-memory Vitest pressure ( #50652 )
...
* test: reduce low-memory Vitest pressure
Reuse the bundled config baseline inside doc-baseline tests, keep that hotspot out of the shared unit-fast lane, and make OPENCLAW_TEST_PROFILE=low default to process forks instead of vmForks.
* test: keep low-profile vmForks in CI
Scope the low-profile forks fallback to local runs so the existing CI contracts lane keeps its current pool behavior.
8 months ago
Harold Hunt
bbd62469fa
Tests: Add tooling / skill for detecting and fixing memory leaks in tests ( #50654 )
...
* Tests: add periodic heap snapshot tooling
* Skills: add test heap leak workflow
* Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* Update scripts/test-parallel.mjs
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
---------
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
8 months ago
Vincent Koc
98298f7931
fix(ci): trace test runner memory retention
8 months ago
Vincent Koc
a94e21e0a7
docs(install): update container setup paths
8 months ago
Vincent Koc
46ccbacbd9
refactor(scripts): move container setup entrypoints
8 months ago
Vincent Koc
3b79494cbf
fix(runtime): lazy-load setup shims and align contracts
8 months ago
Vincent Koc
feb9a3b5b2
fix(ci): harden test gating under load
8 months ago
Vincent Koc
51519b4086
fix(ci): fail on fatal test runner output
8 months ago
Tak Hoffman
fb18034011
test: add macmini test profile
8 months ago
Peter Steinberger
22943f24a9
refactor: prune bundled sdk facades
8 months ago
Tak Hoffman
5b7b5529f1
Plugins: remove shared extension boundary debt
8 months ago
Peter Steinberger
b7ca56f662
refactor: install heavy plugins on demand
8 months ago
Peter Steinberger
30a94dfd3b
refactor: untangle whatsapp runtime boundary
8 months ago
Vincent Koc
de86e25fd4
fix(ci): skip extension lanes with no tests
8 months ago
Vincent Koc
8884643f40
fix(plugin-sdk): restore imessage-core export
8 months ago
Vincent Koc
f19cb738af
fix(plugin-sdk): restore public runtime subpaths
8 months ago
Vincent Koc
b736a92e19
fix(ci): gate extension relative package escapes
8 months ago
Vincent Koc
9a9db87952
fix(release): isolate config doc surfaces and sdk exports
8 months ago
Peter Steinberger
60a55c9cbe
fix(committer): accept argv and shell path blobs
8 months ago
Peter Steinberger
d7018aaf19
refactor: move bundled extension deps to plugin packages
8 months ago
Peter Steinberger
07d9f725b6
refactor: unify plugin sdk primitives
8 months ago
Peter Steinberger
46f49eb6eb
refactor: shrink plugin sdk public surface
8 months ago
Peter Steinberger
6e044ace28
fix: keep bundled runtime deps out of release pack
8 months ago
Vincent Koc
757c2cc2de
fix(release): isolate bundled config docs loading
8 months ago
Vincent Koc
6ebcd853be
fix(plugin-sdk): isolate provider entry surfaces
8 months ago
Vincent Koc
63e09f8267
chore(changelog): remove fragment workflow drift
8 months ago
Vincent Koc
e9903c9133
Tests: align unit sharding with unit config
8 months ago
Tak Hoffman
600f57c979
test: add architecture smell detector
8 months ago
Peter Steinberger
a0d3dc94d0
perf: reduce unit test hot path overhead
8 months ago
Vincent Koc
152d179302
Plugin SDK: add public WhatsApp runtime subpaths
8 months ago
Josh Lehman
505d140aeb
fix: stabilize build dependency resolution ( #49928 )
...
* build: mirror uuid for msteams
Add uuid to both the msteams bundled extension and the root package so the workspace build can resolve @microsoft/agents-hosting during tsdown while standalone extension installs also have the runtime dependency available.
Regeneration-Prompt: |
pnpm build failed because @microsoft/agents-hosting 1.3.1 requires uuid in its published JS but does not declare it in its package manifest. The msteams extension dynamically imports that package, and the workspace build resolves it from the root dependency graph. Mirror uuid into the root package for workspace builds and keep it in extensions/msteams/package.json so standalone plugin installs also resolve it. Update the lockfile to match the manifest changes.
* build: prune stale plugin dist symlinks
Remove stale dist and dist-runtime plugin node_modules symlinks before tsdown runs. These links point back into extension installs, and tsdown's clean step can traverse them on rebuilds and hollow out the active pnpm dependency tree before plugin-sdk declaration generation runs.
Regeneration-Prompt: |
pnpm build was intermittently failing in the plugin-sdk:dts phase after earlier build steps had already run. The symptom looked like missing root packages such as zod, ajv, commander, and undici even though a fresh install briefly fixed the problem. Investigate the build pipeline step by step rather than patching TypeScript errors. Confirm whether rebuilds mutate node_modules, identify the first step that does it, and preserve existing runtime-postbuild behavior.
The key constraint is that dist and dist-runtime plugin node_modules links are intentional for runtime packaging, so do not remove that feature globally. Instead, make rebuilds safe by deleting only stale symlinks left in generated output before invoking tsdown, so tsdown cleanup cannot recurse back into the live pnpm install tree. Verify with repeated pnpm build runs.
8 months ago
Vincent Koc
7d08070dd7
Plugins: generate bundled auth env metadata
8 months ago
Peter Steinberger
8d73bc77fa
refactor: deduplicate reply payload helpers
8 months ago
Vincent Koc
467ec4d5f3
Types: fix optional cluster check follow-ups
8 months ago
Peter Steinberger
05b1cdec3c
test: make runner scheduling timing-driven
8 months ago
Vincent Koc
891e2a3da8
Build: isolate optional bundled plugin-sdk clusters
8 months ago
Vincent Koc
b4f16bad32
Plugin SDK: export windows spawn and temp path
8 months ago
Vincent Koc
d8008a9a67
Tools: classify optional bundled clusters
8 months ago
Vincent Koc
73539ac787
Core: move web media seam out of plugin sdk
8 months ago
Vincent Koc
947dac48f2
Tests: cap shards for explicit file lanes
8 months ago
Peter Steinberger
f6928617b7
test: stabilize gate regressions
8 months ago
Peter Steinberger
c0c3c4824d
fix: checkpoint gate fixes before rebase
8 months ago
Peter Steinberger
e9b19ca1d1
fix: restore full gate after web-search rebase
8 months ago
Peter Steinberger
0cddb5fb7c
fix: restore full gate
8 months ago
Tak Hoffman
ea476de1e4
Add plugin-sdk seam audit script
8 months ago
Tak Hoffman
c2402e48c9
Build: narrow tsdown unresolved import guard
8 months ago
Tak Hoffman
86e9dcfc1b
Build: fail on unresolved tsdown imports
8 months ago
Onur Solmaz
d41c9ad4cb
Release: add plugin npm publish workflow ( #47678 )
...
* Release: add plugin npm publish workflow
* Release: make plugin publish scope explicit
8 months ago
Tak Hoffman
f58e0f5592
test simplify zero-state boundary guards
8 months ago
Ayaan Zaidi
0e9b899aee
test: enable vmForks for targeted channel test runs
...
Channel tests were always using process forks, missing the shared
transform cache that vmForks provides. This caused ~138s import
overhead per file. Now uses vmForks when available, matching the
pattern already used by unit-fast and extensions suites.
8 months ago
Vincent Koc
f96ee99bbc
Plugin SDK: harden provider auth seams
8 months ago
Vincent Koc
afad0697aa
Plugin SDK: register provider auth login entrypoint
8 months ago
Vincent Koc
0ae3e70a5c
Plugin SDK: fix contract seam regressions
8 months ago
Vincent Koc
466510b6d8
refactor: replace "seam" terminology across codebase
...
Replace "seam" with clearer terms throughout:
- "surface" for public API/extension boundaries
- "boundary" for plugin/module interfaces
- "interface" for runtime connection points
- "hook" for test injection points
- "palette" for the lobster palette reference
Also delete experiments/acp-pluginification-architecture-plan.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Vincent Koc
e17d10f7cd
Plugin SDK: restore lobster and voice-call exports
8 months ago
Vincent Koc
0385553918
Plugin SDK: trim lobster and qwen helper exports
8 months ago
Vincent Koc
d341d68180
Plugin SDK: trim legacy helper exports
8 months ago
Vincent Koc
fe84354a33
fix(plugins): add missing secret-input-schema build entry and Matrix runtime export
...
buildSecretInputSchema was not included in plugin-sdk-entrypoints.json,
so it was never emitted to dist/plugin-sdk/secret-input-schema.js. This
caused a ReferenceError during onboard when configuring channels that use
secret input schemas (matrix, feishu, mattermost, bluebubbles, nextcloud-talk, zalo).
Additionally, the Matrix extension's hand-written runtime-api barrel was
missing the re-export, unlike other extensions that use `export *` from
their plugin-sdk subpath.
Co-authored-by: hxy91819 <masonxhuang@icloud.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Ayaan Zaidi
c245c8b39d
refactor(plugin-sdk): split interactive runtime helpers
8 months ago
Muhammed Mukhthar CM
dc20a7cd89
Build: fix bundled plugin runtime symlinks
8 months ago
Val Alexander
5f89897df1
plugins: dist node_modules symlink + config raw-toggle UI fix ( #49490 )
...
* plugins: symlink node_modules into dist plugin dir for bare-specifier resolution
* UI: fix config raw-toggle button sizing and semantic markup
* Update scripts/stage-bundled-plugin-runtime.mjs
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* Update ui/src/styles/config.css
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* fix: hoist dist node_modules cleanup before existsSync guard; drop !important from config toggle
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
8 months ago
Tak Hoffman
2c5fd8e0c1
chore finalize web search provider boundaries
8 months ago
Tak Hoffman
77fb2589b1
test add extension plugin sdk boundary guards
8 months ago
Peter Steinberger
a8907d80dd
feat: finish xai provider integration
8 months ago
Gustavo Madeira Santana
826c592deb
Plugin SDK: add outbound session route helpers
8 months ago
Tak Hoffman
92a40d324a
test refresh boundary inventories for web search migration
8 months ago
Tak Hoffman
3de973ffff
refactor web search provider execution out of core
8 months ago
Peter Steinberger
5b2c5ee2bc
refactor: remove remaining extension src imports
8 months ago
Peter Steinberger
1313767825
refactor: enforce plugin boundary seams
8 months ago
Vincent Koc
bd21442f7e
Perf: add extension memory profiling command
8 months ago
Tak Hoffman
5a2a4abc12
CI: add built plugin singleton smoke ( #48710 )
8 months ago
Vincent Koc
0d80897476
Plugins: add inspect matrix and trim export
8 months ago
Peter Steinberger
4b125762f6
refactor: clean extension api boundaries
8 months ago
Peter Steinberger
795f1f438b
refactor: expose lazy runtime helper to plugins
8 months ago
Harold Hunt
f036ed27f4
CI: guard gateway watch against duplicate runtime regressions ( #49048 )
8 months ago
Peter Steinberger
f9588da3e0
refactor: split plugin testing seam from bundled extension helpers
8 months ago
Peter Steinberger
449127b474
fix: restore full gate
8 months ago
Peter Steinberger
5fb7a1363f
fix: stabilize full gate
8 months ago
Peter Steinberger
f6868b7e42
refactor: dedupe channel entrypoints and test bridges
8 months ago
Peter Steinberger
38a6415a70
build: tighten lazy runtime boundaries
8 months ago
Peter Steinberger
c1ef5748eb
refactor: enforce scoped plugin sdk imports
8 months ago
Peter Steinberger
aa2d5aaa0c
feat(plugins): add image generation capability
8 months ago
Peter Steinberger
f2bd76cd1a
refactor: finalize plugin sdk legacy boundary cleanup
8 months ago
Peter Steinberger
0cfc80b81c
refactor: finish public plugin sdk boundary seams
8 months ago
Peter Steinberger
9ebe38b6e3
refactor: untangle remaining plugin sdk boundaries
8 months ago
Peter Steinberger
095a9f6e1d
fix: handle Parallels poweroff snapshot restores
8 months ago
Peter Steinberger
622f13253b
feat(tts): add microsoft voice listing
8 months ago
Peter Steinberger
2497b8147e
refactor: add shared setup sdk subpath
8 months ago
Peter Steinberger
1ffe8fde84
fix: stabilize docker test suite
8 months ago
Vincent Koc
02df22a495
Tests: improve extension runner discovery
8 months ago
Harold Hunt
94c27f34a1
fix(plugins): keep built plugin loading on one module graph ( #48595 )
8 months ago
Tak Hoffman
313e5bb58b
Fix launcher startup regressions ( #48501 )
...
* Fix launcher startup regressions
* Fix CI follow-up regressions
* Fix review follow-ups
* Fix workflow audit shell inputs
* Handle require resolve gaxios misses
8 months ago
Tak Hoffman
2de28379dd
Plugins: remove public extension-api surface ( #48462 )
...
* Plugins: remove public extension-api surface
* Plugins: fix loader setup routing follow-ups
* CI: ignore non-extension helper dirs in extension-fast
* Docs: note extension-api removal as breaking
8 months ago
Gustavo Madeira Santana
09df232f39
Plugins: stage local bundled runtime tree
8 months ago
Gustavo Madeira Santana
7d4ccee717
Plugin SDK: update entrypoint metadata
8 months ago
Gustavo Madeira Santana
e5282e6bda
Plugin SDK: update entrypoint metadata
8 months ago
Gustavo Madeira Santana
8cd1bdd345
Status: stabilize startup memory probes
8 months ago
Vincent Koc
d68645d47f
Tests: detect changed extensions
8 months ago
Vincent Koc
d572188f61
Tests: add extension test runner
8 months ago
Vincent Koc
ff2e864c98
Plugins: add Claude marketplace registry installs ( #48058 )
...
* Changelog: note Claude marketplace plugin support
* Plugins: add Claude marketplace installs
* E2E: cover marketplace plugin installs in Docker
8 months ago
Peter Steinberger
77b1f240fd
fix: retry runtime postbuild skill copy races
8 months ago
Peter Steinberger
0ed64f124d
fix: mount CLI auth dirs in docker live tests
8 months ago
Peter Steinberger
8fe08df2eb
refactor(plugins): derive compat provider ids from manifests
8 months ago
Peter Steinberger
49251def61
docs: codify macOS parallels discord smoke
8 months ago
Peter Steinberger
b3025e6d8e
refactor(plugin-sdk): clean shared core imports
8 months ago
Peter Steinberger
7964563299
refactor: finish plugin-owned channel runtime seams
8 months ago
Peter Steinberger
e90c1d9add
fix: unblock docs and registry checks
8 months ago
Peter Steinberger
cec10703dc
fix: unblock ci gates
8 months ago
Peter Steinberger
edab939f4d
fix: make docs i18n use gpt-5.4 overrides
8 months ago
Vincent Koc
476d948732
!refactor(browser): remove Chrome extension path and add MCP doctor migration ( #47893 )
...
* Browser: replace extension path with Chrome MCP
* Browser: clarify relay stub and doctor checks
* Docs: mark browser MCP migration as breaking
* Browser: reject unsupported profile drivers
* Browser: accept clawd alias on profile create
* Doctor: narrow legacy browser driver migration
8 months ago
Peter Steinberger
0b58a1cc13
fix: stabilize windows parallels smoke harness
8 months ago
Peter Steinberger
46482a283a
feat: add nostr setup and unify channel setup discovery
8 months ago
Peter Steinberger
47a9c1a893
refactor: merge minimax bundled plugins
8 months ago
Peter Steinberger
38abdea8ce
fix: restore ci type checks
8 months ago
Peter Steinberger
2b57d3bb34
build(plugin-sdk): enforce export sync in check
8 months ago
Peter Steinberger
39aba198f1
fix(docs): run i18n through a local rpc client
8 months ago
Peter Steinberger
0a136f1b90
fix(docs): harden i18n prompt failures
8 months ago
Peter Steinberger
59940cb3ee
refactor(plugin-sdk): centralize entrypoint manifest
8 months ago
Peter Steinberger
70a6d40d37
fix: remove stale dist plugin dirs
8 months ago
Peter Steinberger
fb991e6f31
perf(plugins): lazy-load setup surfaces
8 months ago
Peter Steinberger
9c89a74f84
perf(cli): trim help startup imports
8 months ago
Peter Steinberger
bc5054ce68
refactor(google): merge gemini auth into google plugin
8 months ago
Vincent Koc
c0e0115b31
CI: add CLI startup memory regression check
8 months ago
Peter Steinberger
c156f7c7e3
fix: reduce plugin and discord warning noise
8 months ago
Peter Steinberger
a058bf918d
feat(plugins): test bundle MCP end to end
8 months ago
Gustavo Madeira Santana
14137bef22
Plugins: clean stale bundled skill outputs
8 months ago
Gustavo Madeira Santana
50a6902a9a
Plugins: skip nested node_modules in bundled skills
8 months ago
Gustavo Madeira Santana
1839bc0b1a
Plugins: relocate bundled skill assets
8 months ago
Nimrod Gutman
50c8934231
fix(dev): align gateway watch with tsdown wrapper ( #47636 )
8 months ago
Vincent Koc
5a7aba94a2
CLI: support package-manager installs from GitHub main ( #47630 )
...
* CLI: resolve package-manager main install specs
* CLI: skip registry resolution for raw package specs
* CLI: support main package target updates
* CLI: document package update specs in help
* Tests: cover package install spec resolution
* Tests: cover npm main-package updates
* Tests: cover update --tag main
* Installer: support main package targets
* Installer: support main package targets on Windows
* Docs: document package-manager main updates
* Docs: document installer main targets
* Docs: document npm and pnpm main installs
* Docs: document update --tag main
* Changelog: note package-manager main installs
* Update src/infra/update-global.test.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
8 months ago
Nimrod Gutman
47fd8558cd
fix(plugins): fix bundled plugin roots and skill assets ( #47601 )
...
* fix(acpx): resolve bundled plugin root correctly
* fix(plugins): copy bundled plugin skill assets
* fix(plugins): tolerate missing bundled skill paths
8 months ago
Gustavo Madeira Santana
4fb0160309
Gateway: sync runtime post-build artifacts
8 months ago
Ted Li
07f890fa45
fix(release): block oversized npm packs that regress low-memory startup ( #46850 )
...
* fix(release): guard npm pack size regressions
* fix(release): fail closed when npm omits pack size
8 months ago
Gustavo Madeira Santana
594920f8cc
Scripts: rebuild on extension and tsdown config changes ( #47571 )
...
Merged via squash.
Prepared head SHA: edd8ed825469128bbe85f86e2e1341f6c57687d7
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Onur Solmaz
a2080421a1
Docs: move release runbook to maintainer repo ( #47532 )
...
* Docs: redact private release setup
* Docs: tighten release order
* Docs: move release runbook to maintainer repo
* Docs: delete public mac release page
* Docs: remove zh-CN mac release page
* Docs: turn release checklist into release policy
* Docs: point release policy to private docs
* Docs: regenerate zh-CN release policy pages
* Docs: preserve Doctor in zh-CN hubs
* Docs: fix zh-CN polls label
* Docs: tighten docs i18n term guardrails
* Docs: enforce zh-CN glossary coverage
8 months ago
Nimrod Gutman
e2dac5d5cb
fix(plugins): load bundled extensions from dist ( #47560 )
8 months ago
Harold Hunt
53462b990d
chore(gateway): ignore `.test.ts` changes in `gateway:watch` ( #36211 )
8 months ago
Radek Sienkiewicz
e3b7ff2f1f
Docs: fix MDX markers blocking page refreshes ( #46695 )
...
Merged via squash.
Prepared head SHA: 56b25a9fb3acc1a3befbf33c28a6d27df8aca8ef
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Reviewed-by: @velvet-shark
8 months ago
Radek Sienkiewicz
4c6a7f84a4
docs: remove dead security README nav entry ( #46675 )
...
Merged via squash.
Prepared head SHA: 63331a54b8a6d50950a6ca85774fa1d915cd4e8d
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Reviewed-by: @velvet-shark
8 months ago
Brian Qu
8a607d7553
fix(feishu): fetch thread context so AI can see bot replies in topic threads ( #45254 )
...
* fix(feishu): fetch thread context so AI can see bot replies in topic threads
When a user replies in a Feishu topic thread, the AI previously could only
see the quoted parent message but not the bot's own prior replies in the
thread. This made multi-turn conversations in threads feel broken.
- Add `threadId` (omt_xxx) to `FeishuMessageInfo` and `getMessageFeishu`
- Add `listFeishuThreadMessages()` using `container_id_type=thread` API
to fetch all messages in a thread including bot replies
- In `handleFeishuMessage`, fetch ThreadStarterBody and ThreadHistoryBody
for topic session modes and pass them to the AI context
- Reuse quoted message result when rootId === parentId to avoid redundant
API calls; exclude root message from thread history to prevent duplication
- Fall back to inbound ctx.threadId when rootId is absent or API fails
- Fetch newest messages first (ByCreateTimeDesc + reverse) so long threads
keep the most recent turns instead of the oldest
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(feishu): skip redundant thread context injection on subsequent turns
Only inject ThreadHistoryBody on the first turn of a thread session.
On subsequent turns the session already contains prior context, so
re-injecting thread history (and starter) would waste tokens.
The heuristic checks whether the current user has already sent a
non-root message in the thread — if so, the session has prior turns
and thread context injection is skipped entirely.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(feishu): handle thread_id-only events in prior-turn detection
When ctx.rootId is undefined (thread_id-only events), the starter
message exclusion check `msg.messageId !== ctx.rootId` was always
true, causing the first follow-up to be misclassified as a prior
turn. Fall back to the first message in the chronologically-sorted
thread history as the starter.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(feishu): bootstrap topic thread context via session state
* test(memory): pin remote embedding hostnames in offline suites
* fix(feishu): use plugin-safe session runtime for thread bootstrap
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
8 months ago
Vincent Koc
cbec476b6b
Docs: add config drift baseline statefile ( #45891 )
...
* Docs: add config drift statefile generator
* Docs: generate config drift baseline
* CI: move config docs drift runner into workflow sanity
* Docs: emit config drift baseline json
* Docs: commit config drift baseline json
* Docs: wire config baseline into release checks
* Config: fix baseline drift walker coverage
* Docs: regenerate config drift baselines
8 months ago
Tak Hoffman
e81442ac80
Fix full local gate on main
8 months ago
Onur
d33f3f843a
ci: allow fallback npm correction tags ( #46486 )
8 months ago
scoootscooob
ac29edf6c3
fix(ci): update vitest configs after channel move to extensions/ (openclaw#46066)
...
Verified:
- pnpm build
- pnpm check
- pnpm test:macmini
Co-authored-by: scoootscooob <167050519+scoootscooob@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
8 months ago
Onur Solmaz
c08317203d
ci: enforce calver freshness on npm publish
8 months ago
Onur Solmaz
00891dee90
ci: switch npm release workflow to trusted publishing
8 months ago
Onur Solmaz
02a86da23a
ci: preserve manual npm release approval delays
8 months ago
Onur Solmaz
2eea93982f
ci: make npm release preview more verbose
8 months ago
Onur Solmaz
78d2bfc4d8
ci: add dry-run gate to npm release workflow
8 months ago
scoootscooob
439c21e078
refactor: remove channel shim directories, point all imports to extensions ( #45967 )
...
* refactor: remove channel shim directories, point all imports to extensions
Delete the 6 backward-compat shim directories (src/telegram, src/discord,
src/slack, src/signal, src/imessage, src/web) that were re-exporting from
extensions. Update all 112+ source files to import directly from
extensions/{channel}/src/ instead of through the shims.
Also:
- Move src/channels/telegram/ (allow-from, api) to extensions/telegram/src/
- Fix outbound adapters to use resolveOutboundSendDep (fixes 5 pre-existing TS errors)
- Update cross-extension imports (src/web/media.js → extensions/whatsapp/src/media.js)
- Update vitest, tsdown, knip, labeler, and script configs for new paths
- Update guard test allowlists for extension paths
After this, src/ has zero channel-specific implementation code — only the
generic plugin framework remains.
* fix: update raw-fetch guard allowlist line numbers after shim removal
* refactor: document direct extension channel imports
* test: mock transcript module in delivery helpers
8 months ago
scoootscooob
16505718e8
refactor: move WhatsApp channel implementation to extensions/ ( #45725 )
...
* refactor: move WhatsApp channel from src/web/ to extensions/whatsapp/
Move all WhatsApp implementation code (77 source/test files + 9 channel
plugin files) from src/web/ and src/channels/plugins/*/whatsapp* to
extensions/whatsapp/src/.
- Leave thin re-export shims at all original locations so cross-cutting
imports continue to resolve
- Update plugin-sdk/whatsapp.ts to only re-export generic framework
utilities; channel-specific functions imported locally by the extension
- Update vi.mock paths in 15 cross-cutting test files
- Rename outbound.ts -> send.ts to match extension naming conventions
and avoid false positive in cfg-threading guard test
- Widen tsconfig.plugin-sdk.dts.json rootDir to support shim->extension
cross-directory references
Part of the core-channels-to-extensions migration (PR 6/10).
* style: format WhatsApp extension files
* fix: correct stale import paths in WhatsApp extension tests
Fix vi.importActual, test mock, and hardcoded source paths that weren't
updated during the file move:
- media.test.ts: vi.importActual path
- onboarding.test.ts: vi.importActual path
- test-helpers.ts: test/mocks/baileys.js path
- monitor-inbox.test-harness.ts: incomplete media/store mock
- login.test.ts: hardcoded source file path
- message-action-runner.media.test.ts: vi.mock/importActual path
8 months ago
Peter Steinberger
6e251dcf68
test: harden parallels beta smoke flows
8 months ago
Peter Steinberger
7e41ba4cbb
test: harden parallels all-os smoke harness
8 months ago
Peter Steinberger
d925b0113f
test: add parallels linux smoke harness
8 months ago
Peter Steinberger
4dbab064f0
test: add parallels windows smoke harness
8 months ago
Tak Hoffman
bff340c1ca
test: preserve wrapper behavior for targeted runs FIX OOM issues( #45518 )
...
* test: preserve wrapper behavior for targeted runs
* test: tighten targeted wrapper routing
8 months ago
Jacob Tomlinson
63802c1112
docker: add apt-get upgrade to all Dockerfiles ( #45384 )
...
* docker: add apt-get upgrade to patch base-image vulnerabilities
Closes #45159
* docker: add DEBIAN_FRONTEND and --no-install-recommends to apt-get upgrade
Prevents debconf hangs during Docker builds and avoids pulling in
recommended packages that silently grow the image.
Co-Authored-By: Claude <noreply@anthropic.com>
* Revert "docker: add DEBIAN_FRONTEND and --no-install-recommends to apt-get upgrade"
This reverts commit 6fc3839cb56d4eb08cb43764fcbe7bd72e9bc50a.
* docker: add DEBIAN_FRONTEND and --no-install-recommends to apt-get upgrade
Prevents debconf hangs during Docker builds and avoids pulling in
recommended packages that silently grow the image.
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
8 months ago
Peter Steinberger
e7863d7fdd
test: add parallels macos smoke harness
8 months ago
Peter Steinberger
c659f6c959
fix: improve onboarding install diagnostics
8 months ago
Peter Steinberger
75c7c169e1
test: re-enable Node 24 vmForks fast lane
8 months ago
Peter Steinberger
d17490ff54
ci: speed up scoped workflow lanes
8 months ago
Peter Steinberger
16ececf0a6
chore: bump version to 2026.3.13
8 months ago
Peter Steinberger
08da1b47ba
fix: use build-stage image for docker live tests
8 months ago
Peter Steinberger
c25e46a433
chore: prepare 2026.3.12 release
8 months ago
Josh Lehman
52e2a7747a
Revert "feat: add --no-test flag to prepare-gates"
...
This reverts commit ee6bdb3bab .
8 months ago
Josh Lehman
ee6bdb3bab
feat: add --no-test flag to prepare-gates
...
Allows skipping the full test suite during prepare phase.
Testing is deferred to the dedicated Test phase in the pipeline.
8 months ago
Peter Steinberger
86a3149b2e
fix: harden windows npm runtime path
8 months ago
Peter Steinberger
115f24819e
fix: make node-llama-cpp optional for npm installs
8 months ago
Nimrod Gutman
b77b7485e0
feat(push): add iOS APNs relay gateway ( #43369 )
...
* feat(push): add ios apns relay gateway
* fix(shared): avoid oslog string concatenation
# Conflicts:
# apps/shared/OpenClawKit/Sources/OpenClawKit/GatewayChannel.swift
* fix(push): harden relay validation and invalidation
* fix(push): persist app attest state before relay registration
* fix(push): harden relay invalidation and url handling
* feat(push): use scoped relay send grants
* feat(push): configure ios relay through gateway config
* feat(push): bind relay registration to gateway identity
* fix(push): tighten ios relay trust flow
* fix(push): bound APNs registration fields (#43369 ) (thanks @ngutman)
8 months ago
Jacob Riff
3fa91cd69d
feat: add sessions_yield tool for cooperative turn-ending ( #36537 )
...
Merged via squash.
Prepared head SHA: 75d9204c863792226389a4d33eeb40c4e842528d
Co-authored-by: jriff <50276+jriff@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Altay
b0f717aa02
build: align Node 22 guidance with 22.16 minimum
8 months ago
Altay
0a8d2b6200
build: raise Node 22 compatibility floor to 22.16
8 months ago
Altay
deada7edd3
build: default to Node 24 and keep Node 22 compat
8 months ago
Sally O'Malley
8e0e4f736a
docs: add Kubernetes install guide, setup script, and manifests ( #34492 )
...
* add docs and manifests for k8s install
Signed-off-by: sallyom <somalley@redhat.com>
* changelog
Signed-off-by: sallyom <somalley@redhat.com>
---------
Signed-off-by: sallyom <somalley@redhat.com>
8 months ago
Peter Steinberger
ce5dd742f8
build: sync versions to 2026.3.11
8 months ago
Peter Steinberger
0e397e62b7
chore: bump version to 2026.3.10
8 months ago
Nimrod Gutman
2d91284fdb
feat(ios): add local beta release flow ( #42991 )
...
Merged via squash.
Prepared head SHA: 82b38fe93b71e7a06252fb33b8559cebc6c81548
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Reviewed-by: @ngutman
8 months ago
Peter Steinberger
0aa79fc4d3
fix(build): restore full gate
8 months ago
Onur
8ba1b6eff1
ci: add npm release workflow and CalVer checks ( #42414 ) (thanks @onutc)
8 months ago
Peter Steinberger
8d2d6db9ad
test: fix Node 24+ test runner and subagent registry mocks
8 months ago
Vincent Koc
6d5e142b93
Docker: improve build cache reuse ( #40351 )
...
* Docker: improve build cache reuse
* Tests: cover Docker build cache layout
* Docker: fix sandbox cache mount continuations
* Docker: document qr-import manifest scope
* Docker: narrow e2e install inputs
* CI: cache Docker builds in workflows
* CI: route sandbox smoke through setup script
* CI: keep sandbox smoke on script path
8 months ago
Vincent Koc
3f3f66a5f7
Docker: trim runtime image payload ( #40307 )
...
* Docker: shrink runtime image payload
* Docker: add runtime pnpm opt-in
* Docker: collapse helper entrypoint chmod layers
* Docker: restore bundled pnpm runtime
* Update CHANGELOG.md
8 months ago
langdon
bd1fe4d8b4
fix(run-openclaw-podman): add SELinux :Z mount option on enforcing/permissive hosts ( #39449 )
...
* fix(run-openclaw-podman): add SELinux :Z mount option on Linux with enforcing/permissive SELinux
* fix(quadlet): add SELinux :Z label to openclaw.container.in volume mount
* fix(podman): add SELinux :Z mount option for Fedora/RHEL hosts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: sallyom <somalley@redhat.com>
---------
Signed-off-by: sallyom <somalley@redhat.com>
Co-authored-by: sallyom <somalley@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Peter Steinberger
3ada30e670
fix: restore gate after rebase
8 months ago
Peter Steinberger
d307a7ca1a
refactor: extract bundled extension manifest parser
8 months ago
Peter Steinberger
f493b03202
refactor: validate bundled extension release metadata
8 months ago
Peter Steinberger
64d4d9aabb
refactor: move bundled extension gap allowlists into manifests
8 months ago
yuweuii
6c9b49a10b
fix(sessions): clear stale contextTokens on model switch ( #38044 )
...
Merged via squash.
Prepared head SHA: bac2df4b7f920ce271f0a15f1db9ed99b35300f3
Co-authored-by: yuweuii <82372187+yuweuii@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
GitBuck
caf1b84822
feat: allow compaction model override via config ( #38753 )
...
Merged via squash.
Prepared head SHA: a3d6d6c845c9ef492370c4cc12ea790ca92123f0
Co-authored-by: starbuck100 <25417736+starbuck100@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Peter Steinberger
1ec1f0f1f2
refactor: scope prep push results to env artifacts
8 months ago
Peter Steinberger
fa00b1d0ca
refactor: dedupe prep branch push flow
8 months ago
Peter Steinberger
032778fb2e
refactor: avoid checkout during prep head verification
8 months ago
Altay
ca5e352c53
CLI: include commit hash in --version output ( #39712 )
...
* CLI: include commit hash in --version output
* fix(version): harden commit SHA resolution and keep output consistent
* CLI: keep install checks compatible with commit-tagged version output
* fix(cli): include commit hash in root version fast path
* test(cli): allow null commit-hash mocks
* Installer: share version parser across install scripts
* Installer: avoid sourcing helpers from stdin cwd
* CLI: note commit-tagged version output
* CLI: anchor commit hash resolution to module root
* CLI: harden commit hash resolution
* CLI: fix commit hash lookup edge cases
* CLI: prefer live git metadata in dev builds
* CLI: keep git lookup inside package root
* Infra: tolerate invalid moduleUrl hints
* CLI: cache baked commit metadata fallbacks
* CLI: align changelog attribution with prep gate
* CLI: restore changelog contributor credit
---------
Co-authored-by: echoVic <echovic@163.com>
Co-authored-by: echoVic <echoVic@users.noreply.github.com>
8 months ago
Peter Steinberger
eba9dcc67a
Refactor release hardening follow-ups ( #39959 )
...
* build: fail fast on stale host-env swift policy
* build: sync generated host env swift policy
* build: guard bundled extension root dependency gaps
* refactor: centralize provider capability quirks
* test: table-drive provider regression coverage
* fix: block merge when prep branch has unpushed commits
* refactor: simplify models config merge preservation
8 months ago
Charles Dusek
64760614aa
macOS: default release app builds to universal binaries
8 months ago
Peter Steinberger
dd8fd98ad4
build: reduce build log noise
9 months ago
Peter Steinberger
21df014d56
fix: stage docker live tests from mounted source
9 months ago
Peter Steinberger
79e3d1f956
fix: retry git lock in committer
9 months ago
Peter Steinberger
9856d8432d
chore(scripts): remove changelog fragment workflow helpers
9 months ago
Peter Steinberger
efdff9c738
fix(scripts): enforce changelog.md and post clickable SHA links
9 months ago
Peter Steinberger
168e4159ad
fix(podman): honor OPENCLAW_GATEWAY_BIND env-file override ( #38785 , thanks @majinyu666)
...
Co-authored-by: majinyu666 <majy14miles@gmail.com>
9 months ago
Peter Steinberger
e27bbe4982
fix(exec): block dangerous override-only env pivots
9 months ago
Nimrod Gutman
43ab4f33ad
feat(ios): prepare app store connect release assets
9 months ago
Vincent Koc
a190220967
Tests: serialize low-memory test runner lanes
9 months ago
Vincent Koc
60d20f9daf
Install Smoke: allow reusing prebuilt test images
9 months ago
Vincent Koc
6a9deb21b8
CI: cover skill and extension tests
9 months ago
Shakker
60849f3335
chore(pr): enforce changelog placement and reduce merge sync churn
9 months ago
Shakker
5d5fa0dac8
fix(pr): make review claim step required
9 months ago
Shakker
4cc293d084
fix(review): enforce behavioral sweep validation
9 months ago
Gustavo Madeira Santana
7a2f5a0098
Plugin SDK: add full bundled subpath wiring
9 months ago
Gustavo Madeira Santana
802b9f6b19
Plugins: add root-alias shim and cache/docs updates
9 months ago
Gustavo Madeira Santana
1278ee9248
plugin-sdk: add channel subpaths and migrate bundled plugins
9 months ago
Igal Tabachnik
a4850b1b8f
fix(plugins): lazily initialize runtime and split plugin-sdk startup imports ( #28620 )
...
Merged via squash.
Prepared head SHA: 8bd7d6c13b070f86bd4d5c45286c1ceb1a3f9f80
Co-authored-by: hmemcpy <601206+hmemcpy@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
9 months ago
Shakker
b02a07655d
fix: harden pr review artifact validation
9 months ago
Shadow
3b3738e41e
fix(discord): use fetch for voice upload slots
9 months ago
Peter Steinberger
b52c9f2575
fix(ci): handle disabled systemd units in docker doctor flow
9 months ago
Peter Steinberger
f175a5d6d3
fix(ci): avoid shell interpolation in changed-scope git diff
9 months ago
Vincent Koc
2c6616b830
CI: gate Windows checks by windows-relevant scope ( #32456 )
...
* CI: add windows scope output for changed-scope
* Test: cover windows scope gating in changed-scope
* CI: gate checks-windows by windows scope
* Docs: update CI windows scope and runner label
* CI: move checks-windows to 32 vCPU runner
* Docs: align CI windows runner with workflow
9 months ago
Peter Steinberger
da6e6fb900
test: fix strict runtime mock types in channel tests
9 months ago
Peter Steinberger
7fd4328854
fix(e2e): include shared tool display resource in onboard docker build
9 months ago
Josh Avant
806803b7ef
feat(secrets): expand SecretRef coverage across user-supplied credentials ( #29580 )
...
* feat(secrets): expand secret target coverage and gateway tooling
* docs(secrets): align gateway and CLI secret docs
* chore(protocol): regenerate swift gateway models for secrets methods
* fix(config): restore talk apiKey fallback and stabilize runner test
* ci(windows): reduce test worker count for shard stability
* ci(windows): raise node heap for test shard stability
* test(feishu): make proxy env precedence assertion windows-safe
* fix(gateway): resolve auth password SecretInput refs for clients
* fix(gateway): resolve remote SecretInput credentials for clients
* fix(secrets): skip inactive refs in command snapshot assignments
* fix(secrets): scope gateway.remote refs to effective auth surfaces
* fix(secrets): ignore memory defaults when enabled agents disable search
* fix(secrets): honor Google Chat serviceAccountRef inheritance
* fix(secrets): address tsgo errors in command and gateway collectors
* fix(secrets): avoid auth-store load in providers-only configure
* fix(gateway): defer local password ref resolution by precedence
* fix(secrets): gate telegram webhook secret refs by webhook mode
* fix(secrets): gate slack signing secret refs to http mode
* fix(secrets): skip telegram botToken refs when tokenFile is set
* fix(secrets): gate discord pluralkit refs by enabled flag
* fix(secrets): gate discord voice tts refs by voice enabled
* test(secrets): make runtime fixture modes explicit
* fix(cli): resolve local qr password secret refs
* fix(cli): fail when gateway leaves command refs unresolved
* fix(gateway): fail when local password SecretRef is unresolved
* fix(gateway): fail when required remote SecretRefs are unresolved
* fix(gateway): resolve local password refs only when password can win
* fix(cli): skip local password SecretRef resolution on qr token override
* test(gateway): cast SecretRef fixtures to OpenClawConfig
* test(secrets): activate mode-gated targets in runtime coverage fixture
* fix(cron): support SecretInput webhook tokens safely
* fix(bluebubbles): support SecretInput passwords across config paths
* fix(msteams): make appPassword SecretInput-safe in onboarding/token paths
* fix(bluebubbles): align SecretInput schema helper typing
* fix(cli): clarify secrets.resolve version-skew errors
* refactor(secrets): return structured inactive paths from secrets.resolve
* refactor(gateway): type onboarding secret writes as SecretInput
* chore(protocol): regenerate swift models for secrets.resolve
* feat(secrets): expand extension credential secretref support
* fix(secrets): gate web-search refs by active provider
* fix(onboarding): detect SecretRef credentials in extension status
* fix(onboarding): allow keeping existing ref in secret prompt
* fix(onboarding): resolve gateway password SecretRefs for probe and tui
* fix(onboarding): honor secret-input-mode for local gateway auth
* fix(acp): resolve gateway SecretInput credentials
* fix(secrets): gate gateway.remote refs to remote surfaces
* test(secrets): cover pattern matching and inactive array refs
* docs(secrets): clarify secrets.resolve and remote active surfaces
* fix(bluebubbles): keep existing SecretRef during onboarding
* fix(tests): resolve CI type errors in new SecretRef coverage
* fix(extensions): replace raw fetch with SSRF-guarded fetch
* test(secrets): mark gateway remote targets active in runtime coverage
* test(infra): normalize home-prefix expectation across platforms
* fix(cli): only resolve local qr password refs in password mode
* test(cli): cover local qr token mode with unresolved password ref
* docs(cli): clarify local qr password ref resolution behavior
* refactor(extensions): reuse sdk SecretInput helpers
* fix(wizard): resolve onboarding env-template secrets before plaintext
* fix(cli): surface secrets.resolve diagnostics in memory and qr
* test(secrets): repair post-rebase runtime and fixtures
* fix(gateway): skip remote password ref resolution when token wins
* fix(secrets): treat tailscale remote gateway refs as active
* fix(gateway): allow remote password fallback when token ref is unresolved
* fix(gateway): ignore stale local password refs for none and trusted-proxy
* fix(gateway): skip remote secret ref resolution on local call paths
* test(cli): cover qr remote tailscale secret ref resolution
* fix(secrets): align gateway password active-surface with auth inference
* fix(cli): resolve inferred local gateway password refs in qr
* fix(gateway): prefer resolvable remote password over token ref pre-resolution
* test(gateway): cover none and trusted-proxy stale password refs
* docs(secrets): sync qr and gateway active-surface behavior
* fix: restore stability blockers from pre-release audit
* Secrets: fix collector/runtime precedence contradictions
* docs: align secrets and web credential docs
* fix(rebase): resolve integration regressions after main rebase
* fix(node-host): resolve gateway secret refs for auth
* fix(secrets): harden secretinput runtime readers
* gateway: skip inactive auth secretref resolution
* cli: avoid gateway preflight for inactive secret refs
* extensions: allow unresolved refs in onboarding status
* tests: fix qr-cli module mock hoist ordering
* Security: align audit checks with SecretInput resolution
* Gateway: resolve local-mode remote fallback secret refs
* Node host: avoid resolving inactive password secret refs
* Secrets runtime: mark Slack appToken inactive for HTTP mode
* secrets: keep inactive gateway remote refs non-blocking
* cli: include agent memory secret targets in runtime resolution
* docs(secrets): sync docs with active-surface and web search behavior
* fix(secrets): keep telegram top-level token refs active for blank account tokens
* fix(daemon): resolve gateway password secret refs for probe auth
* fix(secrets): skip IRC NickServ ref resolution when NickServ is disabled
* fix(secrets): align token inheritance and exec timeout defaults
* docs(secrets): clarify active-surface notes in cli docs
* cli: require secrets.resolve gateway capability
* gateway: log auth secret surface diagnostics
* secrets: remove dead provider resolver module
* fix(secrets): restore gateway auth precedence and fallback resolution
* fix(tests): align plugin runtime mock typings
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
9 months ago
Josh Lehman
3a8133d587
fix(scripts/pr): SSH-first prhead remote with GraphQL fallback for fork PRs ( #32126 )
...
Co-authored-by: Shakker <shakkerdroid@gmail.com>
9 months ago
Peter Steinberger
59567a8c5d
ci: move changed-scope logic into tested script
9 months ago
Peter Steinberger
493b560dfd
refactor(runtime): unify node version guard parsing
9 months ago
Jason Hargrove
f8ed48293c
fix(cli): align Node 22.12 preflight checks and clean runtime guard output
...
Tighten installer/runtime consistency so users on Node 22.0-22.11 are blocked before install/runtime drift, with cleaner CLI guidance.
- Enforce Node >=22.12 in scripts/install.sh preflight checks
- Align installer messages to the same 22.12+ runtime floor
- Replace openclaw.mjs thrown version error with stderr+exit to avoid noisy stack traces
9 months ago
Jason Hargrove
96a38d5aa4
fix(cli): fail fast on unsupported Node versions in install and runtime paths
...
Surface a clear Node 22.12+ requirement before npm/install bootstrap work so users avoid misleading downstream errors.
- Add installer shell preflight to block active Node <22 and suggest NVM recovery commands
- Add openclaw.mjs runtime preflight for npm/npx usage with explicit Node version guidance
- Keep messaging actionable for both NVM and non-NVM environments
9 months ago
Peter Steinberger
596621919c
chore(test): add vitest hotspot reporter script
9 months ago
Peter Steinberger
d37ad9d866
test(perf): slim ios team-id harness and add perf budget guard
9 months ago
Peter Steinberger
b8b8a5f314
fix(security): enforce explicit ingress owner context
9 months ago
Peter Steinberger
11adaa15a8
test: isolate high-variance suites in parallel scheduler
9 months ago
Peter Steinberger
453a1c179d
fix: restore release-check control flow after export guard merge
9 months ago
Glucksberg
58e9ca2fb6
fix(release-check): add 4 missing plugin-sdk exports to align with check script
9 months ago
Glucksberg
61d14e8a8a
fix(plugin-sdk): add export verification tests and release guard ( #27569 )
9 months ago
Peter Steinberger
eb816e0551
refactor: dedupe extension and ui helpers
9 months ago
Vincent Koc
a19a7f5e6e
feat(security): Harden Docker browser container chromium flags ( #23889 ) ( #31504 )
...
* Gateway: honor OPENCLAW_GATEWAY_URL override for remote/local calls
* Agents: fix sandbox sessionKey usage for PI embedded subagent calls
* Sandbox: tighten browser container Chromium runtime flags
* fix: add sandbox browser defaults for container hardening
* docs: expand sandbox browser default flags list
* fix: make sandbox browser flags optional and preserve gateway env auth overrides
* docs: scope PR 31504 changelog entry
* style: format gateway call override handling
* fix: dedupe sandbox browser chrome args
* fix: preserve remote tls fingerprint for env gateway override
* fix: enforce auth for env gateway URL override
* chore: document gateway override auth security expectations
9 months ago
Peter Steinberger
1c9deeda97
refactor: split webhook ingress and policy guards
9 months ago
Peter Steinberger
d3e8b17aa6
fix: harden webhook auth-before-body handling
9 months ago
Hiren Thakore
193ad2f4f0
fix: handle PowerShell execution policy on Windows install ( #24794 )
...
* fix: add Arch Linux support to install.sh (GH#8051)
* fix: handle PowerShell execution policy on Windows install (GH#24784)
9 months ago
Peter Steinberger
a229ae6c3e
chore(lint): add registerHttpHandler usage guard script
9 months ago
Peter Steinberger
dbc78243f4
refactor(scripts): share guard runners and paged select UI
9 months ago
Peter Steinberger
4dcb16d696
ci: fix install smoke docker helper path
9 months ago
Peter Steinberger
756f9c9fef
refactor(scripts): dedupe installer CLI verification
9 months ago
Peter Steinberger
00a2456b72
refactor(scripts): dedupe guard checks and smoke helpers
9 months ago
Tyler Yust
f918b336d1
fix: agent-only announce path, BB message IDs, sender identity, SSRF allowlist ( #23970 )
...
* fix(agents): defer announces until descendant cleanup settles
* fix(bluebubbles): harden message metadata extraction
* feat(contributors): rank by composite score (commits, PRs, LOC, tenure)
* refactor(control-ui): move method guard after path checks to improve request handling
* fix subagent completion announce when only current run is pending
* fix(subagents): keep orchestrator runs active until descendants finish
* fix: prepare PR feedback follow-ups (#23970 ) (thanks @tyler6204)
9 months ago
Peter Steinberger
842deefe5d
test: split fast lane from channel and gateway suites
9 months ago
Peter Steinberger
d17f4432b3
chore: fix gate formatting and raw-fetch allowlist lines
9 months ago
Peter Steinberger
706cfcd54f
fix: isolate docker onboard e2e config env
9 months ago
Peter Steinberger
6c5633598e
fix(security): harden clawlog command execution
9 months ago
Vincent Koc
38da2d076c
CLI: add root --help fast path and lazy channel option resolution ( #30975 )
...
* CLI argv: add strict root help invocation guard
* Entry: add root help fast-path bootstrap bypass
* CLI context: lazily resolve channel options
* CLI context tests: cover lazy channel option resolution
* CLI argv tests: cover root help invocation detection
* Changelog: note additional startup path optimizations
* Changelog: split startup follow-up into #30975 entry
* CLI channel options: load precomputed startup metadata
* CLI channel options tests: cover precomputed metadata path
* Build: generate CLI startup metadata during build
* Build script: invoke CLI startup metadata generator
* CLI routes: preload plugins for routed health
* CLI routes tests: assert health plugin preload
* CLI: add experimental bundled entry and snapshot helper
* Tools: compare CLI startup entries in benchmark script
* Docs: add startup tuning notes for Pi and VM hosts
* CLI: drop bundled entry runtime toggle
* Build: remove bundled and snapshot scripts
* Tools: remove bundled-entry benchmark shortcut
* Docs: remove bundled startup bench examples
* Docs: remove Pi bundled entry mention
* Docs: remove VM bundled entry mention
* Changelog: remove bundled startup follow-up claims
* Build: remove snapshot helper script
* Build: remove CLI bundle tsdown config
* Doctor: add low-power startup optimization hints
* Doctor: run startup optimization hint checks
* Doctor tests: cover startup optimization host targeting
* Doctor tests: mock startup optimization note export
* CLI argv: require strict root-only help fast path
* CLI argv tests: cover mixed root-help invocations
* CLI channel options: merge metadata with runtime catalog
* CLI channel options tests: assert dynamic catalog merge
* Changelog: align #30975 startup follow-up scope
* Docs tests: remove secondary-entry startup bench note
* Docs Pi: add systemd recovery reference link
* Docs VPS: add systemd recovery reference link
9 months ago
Vincent Koc
94a5d28d26
CI: remove Vitest JSON report artifacts ( #30976 )
...
* CI: remove vitest JSON report upload steps
* Tests: stop injecting vitest JSON reporter
* Tests: remove vitest slowest report script
9 months ago
Vincent Koc
bdd59e0149
Scripts: add CLI startup benchmark harness
9 months ago
Onur
79fcc8404e
Scripts: add openclaw driver mode to discord ACP smoke
9 months ago
Charlie Niño
26db298d3e
fix: sed escaping and UID mismatch in Podman Quadlet setup ( #26414 )
...
* fix: sed escaping and UID mismatch in Podman Quadlet setup
Fix two bugs in the Podman/Quadlet installation path:
1. setup-podman.sh line 227: Remove `/` from sed escape character class.
The sed substitution uses `|` as delimiter, so `/` doesn't need
escaping. Including it causes paths like `/home/openclaw` to become
`\/home\/openclaw`, which Podman rejects as invalid volume names.
2. openclaw.container.in: Add `User=%U:%G` after `UserNS=keep-id`.
The Dockerfile sets `USER node` (UID 1000), but the `openclaw` system
user created by setup-podman.sh may get a different UID (e.g., 1001).
Without `User=%U:%G`, the container process runs as UID 1000 and
cannot read config files owned by the openclaw user.
Closes #26400
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* scripts: extract quadlet sed replacement escaping helper
* podman: document quadlet user mapping rationale
* scripts: correct sed replacement escaping for pipe delimiter
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
9 months ago
Ayaan Zaidi
f29c642c13
fix(release): enforce lane floor for calver appcast entries
9 months ago
Ayaan Zaidi
83698bf13e
fix(macos): derive canonical APP_BUILD after deps install
9 months ago
Ayaan Zaidi
af9edc98e4
fix(release): unify sparkle build policy and defaults
9 months ago
Logan Pritchett
84adedd1cb
macos: treat empty APP_BUILD as fallback
9 months ago
Logan Pritchett
0332dce203
macos: parse calver month/day as decimal for Sparkle build
9 months ago
Logan Pritchett
e4ee585b73
release-check: align appcast floor with Sparkle build lanes
9 months ago
Logan Pritchett
08fd579412
macos: make derived Sparkle build unique for same-day releases
9 months ago
Logan Pritchett
3be12b9fc4
release-check: validate appcast sparkle version floor
9 months ago
Logan Pritchett
7237b4666b
macos: make default Sparkle build version monotonic
9 months ago
Sid
4221b5f809
fix: pass rootId to streaming card in Feishu topic groups (openclaw#28346) thanks @Sid-Qin
...
Verified:
- pnpm check
- pnpm test extensions/feishu/src/reply-dispatcher.test.ts
Co-authored-by: Sid-Qin <201593046+Sid-Qin@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
9 months ago
Shakker
46d9605ef8
merge-pr: use short squash merge banner
9 months ago
Peter Steinberger
cb917b7f05
chore: silence onboard warning noise
9 months ago
Peter Steinberger
bce643a0bd
refactor(security): enforce account-scoped pairing APIs
9 months ago
Peter Steinberger
10481097f8
refactor(security): enforce v1 node exec approval binding
9 months ago
Peter Steinberger
cd80c7e7ff
refactor: unify dm policy store reads and reason codes
9 months ago
Peter Steinberger
273973d374
refactor: unify typing dispatch lifecycle and policy boundaries
9 months ago
Peter Steinberger
4894d907fa
refactor(exec-approvals): unify system.run binding and generate host env policy
9 months ago
Peter Steinberger
57334cd7d8
refactor: unify channel/plugin ssrf fetch policy and auth fallback
9 months ago
Peter Steinberger
051fdcc428
fix(security): centralize dm/group allowlist auth composition
9 months ago
Peter Steinberger
ecb2053fdd
chore(pr): guard against dropped changelog refs
9 months ago
Peter Steinberger
5df9aacf68
fix(podman): default run-openclaw-podman bind to loopback (land #27491 , thanks @robbyczgw-cla)
...
Co-authored-by: robbyczgw-cla <robbyczgw@gmail.com>
9 months ago
Onur Solmaz
a7d56e3554
feat: ACP thread-bound agents ( #23580 )
...
* docs: add ACP thread-bound agents plan doc
* docs: expand ACP implementation specification
* feat(acp): route ACP sessions through core dispatch and lifecycle cleanup
* feat(acp): add /acp commands and Discord spawn gate
* ACP: add acpx runtime plugin backend
* fix(subagents): defer transient lifecycle errors before announce
* Agents: harden ACP sessions_spawn and tighten spawn guidance
* Agents: require explicit ACP target for runtime spawns
* docs: expand ACP control-plane implementation plan
* ACP: harden metadata seeding and spawn guidance
* ACP: centralize runtime control-plane manager and fail-closed dispatch
* ACP: harden runtime manager and unify spawn helpers
* Commands: route ACP sessions through ACP runtime in agent command
* ACP: require persisted metadata for runtime spawns
* Sessions: preserve ACP metadata when updating entries
* Plugins: harden ACP backend registry across loaders
* ACPX: make availability probe compatible with adapters
* E2E: add manual Discord ACP plain-language smoke script
* ACPX: preserve streamed spacing across Discord delivery
* Docs: add ACP Discord streaming strategy
* ACP: harden Discord stream buffering for thread replies
* ACP: reuse shared block reply pipeline for projector
* ACP: unify streaming config and adopt coalesceIdleMs
* Docs: add temporary ACP production hardening plan
* Docs: trim temporary ACP hardening plan goals
* Docs: gate ACP thread controls by backend capabilities
* ACP: add capability-gated runtime controls and /acp operator commands
* Docs: remove temporary ACP hardening plan
* ACP: fix spawn target validation and close cache cleanup
* ACP: harden runtime dispatch and recovery paths
* ACP: split ACP command/runtime internals and centralize policy
* ACP: harden runtime lifecycle, validation, and observability
* ACP: surface runtime and backend session IDs in thread bindings
* docs: add temp plan for binding-service migration
* ACP: migrate thread binding flows to SessionBindingService
* ACP: address review feedback and preserve prompt wording
* ACPX plugin: pin runtime dependency and prefer bundled CLI
* Discord: complete binding-service migration cleanup and restore ACP plan
* Docs: add standalone ACP agents guide
* ACP: route harness intents to thread-bound ACP sessions
* ACP: fix spawn thread routing and queue-owner stall
* ACP: harden startup reconciliation and command bypass handling
* ACP: fix dispatch bypass type narrowing
* ACP: align runtime metadata to agentSessionId
* ACP: normalize session identifier handling and labels
* ACP: mark thread banner session ids provisional until first reply
* ACP: stabilize session identity mapping and startup reconciliation
* ACP: add resolved session-id notices and cwd in thread intros
* Discord: prefix thread meta notices consistently
* Discord: unify ACP/thread meta notices with gear prefix
* Discord: split thread persona naming from meta formatting
* Extensions: bump acpx plugin dependency to 0.1.9
* Agents: gate ACP prompt guidance behind acp.enabled
* Docs: remove temp experiment plan docs
* Docs: scope streaming plan to holy grail refactor
* Docs: refactor ACP agents guide for human-first flow
* Docs/Skill: add ACP feature-flag guidance and direct acpx telephone-game flow
* Docs/Skill: add OpenCode and Pi to ACP harness lists
* Docs/Skill: align ACP harness list with current acpx registry
* Dev/Test: move ACP plain-language smoke script and mark as keep
* Docs/Skill: reorder ACP harness lists with Pi first
* ACP: split control-plane manager into core/types/utils modules
* Docs: refresh ACP thread-bound agents plan
* ACP: extract dispatch lane and split manager domains
* ACP: centralize binding context and remove reverse deps
* Infra: unify system message formatting
* ACP: centralize error boundaries and session id rendering
* ACP: enforce init concurrency cap and strict meta clear
* Tests: fix ACP dispatch binding mock typing
* Tests: fix Discord thread-binding mock drift and ACP request id
* ACP: gate slash bypass and persist cleared overrides
* ACPX: await pre-abort cancel before runTurn return
* Extension: pin acpx runtime dependency to 0.1.11
* Docs: add pinned acpx install strategy for ACP extension
* Extensions/acpx: enforce strict local pinned startup
* Extensions/acpx: tighten acp-router install guidance
* ACPX: retry runtime test temp-dir cleanup
* Extensions/acpx: require proactive ACPX repair for thread spawns
* Extensions/acpx: require restart offer after acpx reinstall
* extensions/acpx: remove workspace protocol devDependency
* extensions/acpx: bump pinned acpx to 0.1.13
* extensions/acpx: sync lockfile after dependency bump
* ACPX: make runtime spawn Windows-safe
* fix: align doctor-config-flow repair tests with default-account migration (#23580 ) (thanks @osolmaz)
9 months ago
Josh Avant
72adf2458b
CI: shard Windows test lane for faster CI critical path ( #27234 )
...
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: f7c41089e0d5c36f59addd643d2038502bafe933
Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
Reviewed-by: @joshavant
9 months ago
Peter Steinberger
e915b4c64a
refactor: unify monitor abort lifecycle handling
9 months ago
Nimrod Gutman
b3f46f0e28
fix(test): stabilize low-mem parallel runner and cron session mock ( #26324 )
...
* fix(test): stabilize low-mem parallel lane and cron session mock
* feat(android): make QR scanning first-class onboarding
* docs(android): update README for native Android workflow
* fix(android): stabilize chat composer ime and tab layout
* fix(android): stabilize chat ime insets and tab bar
* fix(android): remove tab bar gap above system nav
* fix(android): harden scanned setup code parsing
* test(android): cover non-string setupCode QR payload
* fix(test): add changelog note for low-mem test runner (#26324 ) (thanks @ngutman)
---------
Co-authored-by: Ayaan Zaidi <zaidi@uplause.io>
9 months ago
Peter Steinberger
52d933b3a9
refactor: replace bot.molt identifiers with ai.openclaw
9 months ago
Peter Steinberger
146c92069b
fix: stabilize live docker test handling
9 months ago
Peter Steinberger
7c59b78aee
test: cap docker live model sweeps and harden timeouts
9 months ago
Peter Steinberger
def993dbd8
refactor(tmp): harden temp boundary guardrails
9 months ago
Peter Steinberger
d3da67c7a9
fix(security): lock sandbox tmp media paths to openclaw roots
9 months ago
Peter Steinberger
e806b34779
chore: remove changelog add helper script
9 months ago
Peter Steinberger
d18ae2256f
refactor: unify channel plugin resolution, family ordering, and changelog entry tooling
9 months ago
Peter Steinberger
6c5ab543c0
refactor: tighten external-link policy and window.open guard
9 months ago
Peter Steinberger
069c56cd75
fix(ios): normalize team IDs before preferred match
...
Co-authored-by: Brian Leach <bleach@gmail.com>
9 months ago
Peter Steinberger
1ae8c0a589
fix(ios): make team-id python lookup cross-platform
...
Co-authored-by: Brian Leach <bleach@gmail.com>
9 months ago
Peter Steinberger
fd07861bc3
fix(ios): harden team-id profile fallback and tests
9 months ago
Brian Leach
73f526f025
fix(ios): support Xcode 16+ team detection and fix ntohl build error
...
Xcode 16+/26 no longer writes IDEProvisioningTeams to the preferences
plist, breaking ios-team-id.sh for newly signed-in accounts. Add
provisioning profile fallback and actionable error when an account
exists but no team ID can be resolved. Also replace ntohl() with
UInt32(bigEndian:) for Swift 6 compatibility and gitignore Xcode
build output directories.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
Shakker
e5836283ab
ui: centralize safe external URL opening
9 months ago
Peter Steinberger
31f2bf9519
test: fix gate regressions
9 months ago
Shakker
ef1ffacfb2
scripts: exclude unresolved clawtributors from README
9 months ago
Peter Steinberger
6c441ea797
fix: support legacy and beta prerelease version formats
9 months ago
Nimrod Gutman
420c18364e
fix(test): tier local vitest worker defaults by host memory
9 months ago
Peter Steinberger
89a4695020
test: consolidate shard tests for faster trigger/directive suites
9 months ago
Peter Steinberger
384a161bbc
test: consolidate media auto-detect coverage
9 months ago
Peter Steinberger
70cac824b1
perf(test): optimize parallel vitest worker budget
9 months ago
Peter Steinberger
95e85e627e
fix(feishu): restore group command fallback and plugin deps
9 months ago
Peter Steinberger
3a19b0201c
test(installer): drop legacy gum env from docker smoke
9 months ago
Peter Steinberger
48ddb1cc81
fix(ci): stabilize install smoke in docker
9 months ago
Peter Steinberger
549549f6a0
fix(ci): sync plugin versions and harden install smoke
9 months ago
Peter Steinberger
74e6c210c0
fix: ignore prerelease suffixes in release-check plugin version checks
9 months ago
Peter Steinberger
fa89ae8e9e
fix: stabilize swift protocol generation and flaky tests
9 months ago
Peter Steinberger
b520e7ac38
fix: stabilize docker live model and doctor-switch tests
9 months ago
Peter Steinberger
352b5262da
fix(ci): make docs spellcheck fallback deterministic
9 months ago
Peter Steinberger
f48698a50b
fix(security): harden sandbox browser network defaults
9 months ago
Peter Steinberger
621d8e1312
fix(sandbox): require noVNC observer password auth
9 months ago
Vincent Koc
f4a59eb5d8
Chore: harden A2UI bundle dependency resolution ( #22507 )
...
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: d84c5bde518a4b2f3d192b0446672afeecf3fa3d
Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com>
Reviewed-by: @obviyus
9 months ago
Vincent Koc
55eab106ac
chore: remove root long and rolldown deps ( #22481 )
...
* chore(deadcode): add deadcode scanning and remove unused lockfile deps
* chore(changelog): mention deadcode CI scan pass
* ci: disable deadcode job temporarily
* docs(changelog): add PR ref and thanks for deadcode scan entry
* ci: comment out deadcode job condition while keeping it disabled
* Deps: remove dead root dependency from package manifest
* Changelog: reference PR for deadcode dependency cleanup
* Deps: remove unused root signal-utils
* Chore: remove unused lit context deps
* Chore: remove unused root lit dependency
* Chore: remove root long and rolldown deps
* Chore: add changelog for root long/rolldown removal
* Chore: fix a2ui bundling after root lit dependency removal
* Chore: simplify a2ui bundle script dependencies
9 months ago
Vincent Koc
3002be76e4
docs: add custom spellcheck dictionary and fix docs typos ( #22457 )
...
* docs: fix typos and add docs spellcheck workflow
* docs: add changelog entry for docs spellcheck updates
* docs: fix FAQ TOC fragment links for markdownlint
* docs: fix TOC nesting and spellcheck dictionary flags
9 months ago
Vincent Koc
e7eba01efc
Security: disable sandbox container --no-sandbox by default ( #22451 )
9 months ago
Shadow
84281abd4b
Docker: drop root in test images
9 months ago
Logan Pritchett
8f80e2a467
fix(macos): set release bundle ID so Sparkle auto-update works ( #19750 )
...
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: d16e61e35a508dfcf0f29f0ee3e7495431df4c56
Co-authored-by: loganprit <72722788+loganprit@users.noreply.github.com>
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com>
Reviewed-by: @obviyus
9 months ago
Coy Geek
8ae2d5110f
fix(docker): pin base images to SHA256 digests ( #7734 )
...
* fix(docker): pin base images to SHA256 digests for supply chain security
Pin all 9 Dockerfiles to immutable SHA256 digests to prevent supply chain
attacks where a compromised upstream image could be silently pulled into
production builds.
Also add Docker ecosystem to Dependabot configuration for automated
digest updates.
Images pinned:
- node:22-bookworm@sha256:cd7bcd2e7a1e6f72052feb023c7f6b722205d3fcab7bbcbd2d1bfdab10b1e935
- node:22-bookworm-slim@sha256:3cfe526ec8dd62013b8843e8e5d4877e297b886e5aace4a59fec25dc20736e45
- debian:bookworm-slim@sha256:98f4b71de414932439ac6ac690d7060df1f27161073c5036a7553723881bffbe
- ubuntu:24.04@sha256:cd1dba651b3080c3686ecf4e3c4220f026b521fb76978881737d24f200828b2b
Fixes #7731
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* test(docker): add digest pinning regression coverage
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
9 months ago
Peter Steinberger
9130fd2b06
ci: harden workflow action input handling
9 months ago
zerone0x
466a1e1cdb
fix(clawdock): include docker-compose.extra.yml in helper commands ( #17094 )
...
_clawdock_compose() only passed -f docker-compose.yml, ignoring the
extra compose file that docker-setup.sh generates for persistent home
volumes and custom mounts. This broke all clawdock-* commands for
setups using OPENCLAW_HOME_VOLUME.
Fixes #17083
Co-authored-by: Claude <noreply@anthropic.com>
9 months ago
Nimrod Gutman
9bd2261c0f
fix(ios): auto-generate local signing overrides ( #20716 )
9 months ago
Gustavo Madeira Santana
b228c06bbd
chore: polish PR review skills
9 months ago
Nimrod Gutman
cb34e80f98
fix(ios): restore auto-selected team for local signing ( #19993 )
...
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: 6f375238f03c0cfe6e0b926c87af9d4016948e7d
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Reviewed-by: @ngutman
9 months ago
Peter Steinberger
ca43efa965
fix(ci): force npm install path in smoke docker tests
9 months ago
Peter Steinberger
b8b43175c5
style: align formatting with oxfmt 0.33
9 months ago
Peter Steinberger
31f9be126c
style: run oxfmt and fix gate failures
9 months ago
Nimrod Gutman
98962ed81d
feat(ios): auto-select local signing team ( #18421 )
...
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: bbb9c3aa48a542539dc37136e6542d1f3958f9c2
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Reviewed-by: @ngutman
9 months ago
cpojer
49bd9f75f4
chore: Fix types in tests 33/N.
9 months ago
cpojer
d0cb8c19b2
chore: wtf.
9 months ago
Sebastian
ed11e93cf2
chore(format)
9 months ago
Josh Avant
81741c37fd
fix(gateway): remove watch-mode build/start race ( #18782 )
9 months ago
Sebastian
bbb5fbc71f
fix(scripts): harden Windows UI spawn behavior
9 months ago
Gustavo Madeira Santana
37064e5cc6
Revert "feat(docker): add init script support via /openclaw-init.d/"
...
This reverts commit 53af9f7437 .
9 months ago
Gustavo Madeira Santana
09c82a1fbf
Revert "fix: capture init script exit codes instead of swallowing via pipe"
...
This reverts commit 8b14052ebe .
9 months ago
cpojer
90ef2d6bdf
chore: Update formatting.
9 months ago
Peter Steinberger
eaa2f7a7bf
fix(ci): restore main lint/typecheck after direct merges
9 months ago
boris
f70b3a2e68
refactor: bundle export-html templates instead of reading from node_modules
...
- Copy templates from pi-coding-agent into src/auto-reply/reply/export-html/
- Add build script to copy templates to dist/
- Remove fragile node_modules path traversal
- Templates are now self-contained (~250KB total)
9 months ago
Rob Dunn
ddea5458d0
cron: log model+token usage per run + add usage report script
9 months ago
JayMishra-github
8b14052ebe
fix: capture init script exit codes instead of swallowing via pipe
...
Address review feedback: the pipe to sed swallowed the script's exit
code. Now capture output in a variable and check exit status separately
so failures are logged as warnings in the entrypoint output.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
JayMishra-github
53af9f7437
feat(docker): add init script support via /openclaw-init.d/
...
Adds an ENTRYPOINT script that runs user-provided init scripts from
/openclaw-init.d/ before starting the gateway. This is the standard
Docker pattern (used by nginx, postgres, etc.) for customizing container
startup without overriding the entire entrypoint.
Usage:
docker run -v ./my-init-scripts:/openclaw-init.d:ro openclaw
Scripts must be executable. Non-executable files are skipped with a
warning. Scripts run in alphabetical order with output prefixed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
OscarMinjarez
b9c45d003d
chore: format scripts/ui.js with oxfmt
9 months ago
OscarMinjarez
b60b44b42e
fix(scripts): fix spawn EINVAL error on Windows in ui.js
9 months ago
Peter Steinberger
7aa7b04fb0
test: rebalance isolated unit test lane
9 months ago
Peter Steinberger
f1654b4ba2
test: isolate telegram bot behavior suite from unit-fast lane
9 months ago
Peter Steinberger
510889d439
test: isolate slack slash and telegram bootstrap suites
9 months ago
Peter Steinberger
794808b169
test: isolate hook installer suite from unit-fast lane
9 months ago
Peter Steinberger
1b223dbdd8
test: isolate git-hooks integration and stabilize exec timeout
9 months ago
Peter Steinberger
e7ccbd1445
test: isolate block-streaming suite from unit-fast lane
9 months ago
Peter Steinberger
fbe6d7c701
ci: include a2ui sources in onboarding docker build
9 months ago
Peter Steinberger
c1655982d4
refactor: centralize pre-commit file filtering
9 months ago
Peter Steinberger
67bfe8fb80
perf(test): cut gateway unit suite overhead
9 months ago
Peter Steinberger
92f8c0fac3
perf(test): speed up suites and reduce fs churn
9 months ago
Tak Hoffman
df7fff8fd7
test: add serial macmini test profile
9 months ago
Peter Steinberger
3faf5ada2e
ci(test): raise node heap for CI vitest
9 months ago
Vignesh Natarajan
277b2de491
fix (cli): harden daemon compat shim for minimal bundle exports
9 months ago
Peter Steinberger
960850445b
fix(build): restore daemon-cli legacy shim
9 months ago
Peter Steinberger
3b08f3058b
perf(test): isolate imessage monitor tests from vmForks
9 months ago
Peter Steinberger
d355fecd4d
fix(ci): avoid Windows spawn EINVAL in test runner
9 months ago
Peter Steinberger
fef86e475b
refactor: dedupe shared helpers across ui/gateway/extensions
9 months ago
Peter Steinberger
2690dfa77b
test: quiet docker onboard e2e noise
9 months ago
Peter Steinberger
107cc03140
ci: reduce docker e2e log brittleness
9 months ago
Peter Steinberger
a7eb0dd9a5
fix(security): harden Windows child process spawning
9 months ago
Peter Steinberger
852c897956
refactor(sandbox): add sandbox-common dockerfile
9 months ago
artale
3189430ad0
fix(sandbox): switch to root user for package installation in sandbox-common-setup
...
The base image (Dockerfile.sandbox) sets USER sandbox at the end, so
when sandbox-common-setup.sh builds FROM it, apt-get runs as the
unprivileged sandbox user and fails with 'Permission denied'.
Add USER root before apt-get/npm/curl install steps, and restore
USER sandbox at the end to preserve the non-root runtime default.
Fixes #16420
9 months ago
Peter Steinberger
a429380e33
fix(scripts): harden clawtributors updater
9 months ago
Peter Steinberger
d9d321f94b
chore(security): bump qs and golang.org/x/net
9 months ago
Peter Steinberger
e03dc987e3
chore(test): keep gateway vitest on forks
9 months ago
Glucksberg
f537bd1796
fix(telegram): exclude plugin commands from setMyCommands when native=false (openclaw#15164) thanks @Glucksberg
...
Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test
Co-authored-by: Glucksberg <80581902+Glucksberg@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
9 months ago
Tak Hoffman
3369ef5aef
test: add macmini low-cpu test profile
9 months ago
Peter Steinberger
709c225b2b
fix(podman): bootstrap config and token
9 months ago
Christoph Spörk
81b5e2766b
feat(podman): add optional Podman setup and documentation ( #16273 )
...
* feat(podman): add optional Podman setup and documentation
- Introduced `setup-podman.sh` for one-time host setup of OpenClaw in a rootless Podman environment, including user creation, image building, and launch script installation.
- Added `run-openclaw-podman.sh` for running the OpenClaw gateway as a Podman container.
- Created `openclaw.podman.env` for environment variable configuration.
- Updated documentation to include Podman installation instructions and a new dedicated Podman guide.
- Added a systemd Quadlet unit for managing the OpenClaw service as a user service.
* fix: harden Podman setup and docs (#16273 ) (thanks @DarwinsBuddy)
* style: format cli credentials
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
9 months ago
Peter Steinberger
9fb48f4dff
refactor(scripts): make run-node main testable
9 months ago
Peter Steinberger
9a134c8a10
perf(test): tune parallel vitest worker split
9 months ago
Tanwa Arpornthip
c76288bdf1
fix(slack): download all files in multi-image messages ( #15447 )
...
* fix(slack): download all files in multi-image messages
resolveSlackMedia() previously returned after downloading the first
file, causing multi-image Slack messages to lose all but the first
attachment. This changes the function to collect all successfully
downloaded files into an array, matching the pattern already used by
Telegram, Line, Discord, and iMessage adapters.
The prepare handler now populates MediaPaths, MediaUrls, and
MediaTypes arrays so downstream media processing (vision, sandbox
staging, media notes) works correctly with multiple attachments.
Fixes #11892 , #7536
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(slack): preserve MediaTypes index alignment with MediaPaths/MediaUrls
The filter(Boolean) on MediaTypes removed entries with undefined contentType,
shrinking the array and breaking index correlation with MediaPaths and MediaUrls.
Downstream code (media-note.ts, attachments.ts) requires these arrays to have
equal lengths for correct per-attachment MIME type lookup. Replace filter(Boolean)
with a nullish coalescing fallback to "application/octet-stream".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(slack): align MediaType fallback and tests (#15447 ) (thanks @CommanderCrowCode)
* fix: unblock plugin-sdk account-id typing (#15447 )
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
9 months ago
Peter Steinberger
ec399aaddf
perf(test): parallelize unit-isolated
9 months ago
Peter Steinberger
6543ce717c
perf(test): avoid plugin-sdk barrel imports
9 months ago
Peter Steinberger
d1f01de59a
perf(test): default to vmForks on Node 25; unstub envs
9 months ago
Peter Steinberger
38a157ff23
perf(test): reduce setup overhead; isolate sharp-heavy suites
9 months ago
Peter Steinberger
748d6821d2
fix(config): add forensic config write audit and watch attribution
9 months ago
Peter Steinberger
f86840f4df
perf(cli): reduce read-only startup overhead
9 months ago
Peter Steinberger
fecb3f326e
perf(test): trim models/browser suite overhead
9 months ago
Joseph Krug
4e9f933e88
fix: reset stale execution state after SIGUSR1 in-process restart ( #15195 )
...
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: 676f9ec45135be0d3471bb0444bc2ac7ce7d5224
Co-authored-by: joeykrug <5925937+joeykrug@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
9 months ago
Gustavo Madeira Santana
42eaee8b7e
chore: fix root_dir resolution/stale scripts during PR review
9 months ago
Nathaniel Kelner
66f6d71ffa
Update clawdock-helpers.sh compatibility with Zsh
...
Unlike Bash, Zsh has several "special" readonly variables (status, pipestatus, etc.) that the shell manages automatically. Shadowing them with local declarations triggers an error.
9 months ago
Peter Steinberger
8899f9e94a
perf(test): optimize heavy suites and stabilize lock timing
9 months ago
Sebastian
5d37b204c0
Tests: disable vmForks on Node 24 and document override
9 months ago
Peter Steinberger
78ec0a1edf
fix: stabilize test runner and daemon-cli compat
9 months ago
Peter Steinberger
ba7dccc49d
test: speed up test suite and trim redundant onboarding tests
9 months ago
Peter Steinberger
711597c02b
fix(update): repair daemon-cli compat exports after self-update
9 months ago
Peter Steinberger
f9e444dd56
fix: include plugin sdk dts tsconfig in onboard docker image
9 months ago
Gustavo Madeira Santana
04a1ed5e53
chore: make changelog mandatory in PR skills
9 months ago
Shadow
3b6bd202da
Scripts: add issue labeler state + PR support
9 months ago
Gustavo Madeira Santana
49188caf94
chore(pr-skills): suppress output for successful commands (pnpm install/build/test/etc) to lower context usage
9 months ago
Gustavo Madeira Santana
1123357c62
chore: refining review PR additional prompts
9 months ago
Peter Steinberger
069670388e
perf(test): speed up test runs and harden temp cleanup
9 months ago
Peter Steinberger
8fce7dc9b6
perf(test): add vitest slowest report artifact
9 months ago
Peter Steinberger
9f507112b5
perf(test): speed up vitest by skipping plugins + LLM slug
9 months ago
Karim Naguib
7a0591ef87
fix(whatsapp): allow media-only sends and normalize leading blank payloads ( #14408 )
...
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
9 months ago
Tak Hoffman
c28cbac512
CI: add PR size autolabel workflow ( #14410 )
9 months ago
cpojer
c2178e2522
chore: Cleanup useless CI job.
9 months ago
Gustavo Madeira Santana
940ce424c8
chore: make review mode switching idempotent
9 months ago
Gustavo Madeira Santana
72fbfaa755
chore: making PR review chores deterministic + less token hungry
9 months ago
Daniel Olshansky
31f616d45b
feat: `ClawDock` - shell docker helpers for OpenClaw development ( #12817 )
...
Discussion: https://github.com/openclaw/openclaw/discussions/13528
## Checklist
- [x] **Mark as AI-assisted in the PR title or description** - Implemented by 🤖 , reviewed by 👨💻
- [x] **Note the degree of testing** - fully tested and I use it myself
- [x] **Include prompts or session logs if possible (super helpful!)** - I can try doing a "resume" on a few sessions, but don't think it'll provide value. Lmk if this is a blocker.
- [x] **Confirm you understand what the code does** - It's simple :)
## Summary of changes
- **ClawDock** - Shell helpers replace verbose `docker-compose` commands with simple `clawdock-*` shortcuts
- **Zero-config setup** - First run auto-detects the OpenClaw project directory from common paths and saves the config for future use
- **No extra dependencies** - Just bash
- **Built-in auth & device pairing helpers** - `clawdock-fix-token`, `clawdock-dashboard`, etc to handle gateay setup, streamline web UI, etc...
- **Updated Docker docs** - Installation docs now include the optional ClawDock helper setup for users who want simplified container management
## Example Usage
```bash
$ clawdock-help
🦞 ClawDock - Docker Helpers for OpenClaw
⚡ Basic Operations
clawdock-start Start the gateway
clawdock-stop Stop the gateway
clawdock-restart Restart the gateway
clawdock-status Check container status
clawdock-logs View live logs (follows)
🐚 Container Access
clawdock-shell Shell into container (openclaw alias ready)
clawdock-cli Run CLI commands (e.g., clawdock-cli status)
clawdock-exec <cmd> Execute command in gateway container
🌐 Web UI & Devices
clawdock-dashboard Open web UI in browser (auto-guides you)
clawdock-devices List device pairings (auto-guides you)
clawdock-approve <id> Approve device pairing (with examples)
⚙️ Setup & Configuration
clawdock-fix-token Configure gateway token (run once)
🔧 Maintenance
clawdock-rebuild Rebuild Docker image
clawdock-clean ⚠️ Remove containers & volumes (nuclear)
🛠️ Utilities
clawdock-health Run health check
clawdock-token Show gateway auth token
clawdock-cd Jump to openclaw project directory
clawdock-config Open config directory (~/.openclaw)
clawdock-workspace Open workspace directory
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 First Time Setup
1. clawdock-start # Start the gateway
2. clawdock-fix-token # Configure token
3. clawdock-dashboard # Open web UI
4. clawdock-devices # If pairing needed
5. clawdock-approve <id> # Approve pairing
💬 WhatsApp Setup
clawdock-shell
> openclaw channels login --channel whatsapp
> openclaw status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 All commands guide you through next steps!
📚 Docs: https://docs.openclaw.ai
```\n\nCo-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com>
9 months ago
Shadow
71fd054711
Revert "fix(credits): deduplicate contributors by GitHub username and display name"
...
This reverts commit d2f5d45f08 .
9 months ago
Shadow
614befd15d
Revert "credits: categorize direct changes, exclude bots, fix MDX ( #13322 )"
...
This reverts commit 8666d9f837 .
9 months ago
max
8666d9f837
credits: categorize direct changes, exclude bots, fix MDX ( #13322 )
9 months ago
max
d2f5d45f08
fix(credits): deduplicate contributors by GitHub username and display name
...
* Scripts: add sync-credits.py to populate maintainers/contributors from git/GitHub
* fix(credits): deduplicate contributors by GitHub username and display name
9 months ago
Tak Hoffman
72f89b1f53
Docker: include A2UI sources for bundle ( #13114 )
...
* Docker: include A2UI sources for bundle
* Build: fail bundling when sources missing and no prebuilt A2UI bundle
9 months ago
quotentiroler
5c62e4d51b
Improve code analyzer for independent packages, CI: only run release-check on push to main
9 months ago
max
c4d9b6eadb
fix: docs broken links and improve link checker ( #13056 )
...
* docs: fix broken links checker and add CI docs
- Replace buggy mint broken-links with existing docs:check-links script
- Fix zh-CN/vps.md broken links (/railway /install/railway)
- Add docs/ci.md explaining CI pipeline
- Add Experiments group to docs.json navigation
* improve docs checker
9 months ago
quotentiroler
b40a7771e5
ci: imprpove warning for size check
9 months ago
quotentiroler
1074d13e4e
Improve flagging in code analyzer
9 months ago
quotentiroler
1fad19008e
fix: improve code-size gate output and duplicate detection, fix Windows path in source-display
9 months ago
quotentiroler
de8eb2b29c
feat(ci): also flag already-large files that grew larger
9 months ago
max
50b3d32d3c
CI: add code-size check for files crossing LOC threshold ( #12810 )
...
* CI: add code-size check for files crossing LOC threshold
* feat(ci): add duplicate function detection to CI code-size check
The --compare-to mode now also detects new duplicate function names
introduced by a PR. Uses git diff to scope checks to changed files
only, keeping CI fast.
* fix(ci): address review feedback for code-size check
- Validate git ref upfront; exit 2 if ref doesn't exist
- Distinguish 'file missing at ref' from genuine git errors
- Explicitly fetch base branch ref in CI workflow
- Raise threshold from 700 to 1000 lines
* fix(ci): exclude Swabble, skills, .pi from code analysis
* update gitignore for pycache
* ci: make code-size check informational (no failure on violations)
9 months ago
max
79c2466662
refactor: consolidate throwIfAborted + fix isCompactionFailureError ( #12463 )
...
* refactor: consolidate throwIfAborted in outbound module
- Create abort.ts with shared throwIfAborted helper
- Update deliver.ts, message-action-runner.ts, outbound-send-service.ts
* fix: handle context overflow in isCompactionFailureError without requiring colon
9 months ago
max
f0924d3c4e
refactor: consolidate PNG encoder and safeParseJson utilities ( #12457 )
...
- Create shared PNG encoder module (src/media/png-encode.ts)
- Refactor qr-image.ts and live-image-probe.ts to use shared encoder
- Add safeParseJson to utils.ts and plugin-sdk exports
- Update msteams and pairing-store to use centralized safeParseJson
9 months ago
Patrick Shao
5ac1be9cb6
fix: all bundled hooks broken since 2026.2.2 (tsdown migration) ( #9295 )
...
* fix: compile bundled hook handlers in tsdown build
The migration from tsc to tsdown in 2026.2.2 dropped bundled hook handlers
from the build output. The copy-hook-metadata.ts script only copies HOOK.md
metadata files, not the handler.ts source files. Without corresponding tsdown
entry points, the handlers were never compiled to JS, causing
`openclaw hooks list` to show 0 hooks on npm installs.
This adds each bundled hook handler and the llm-slug-generator (dynamically
imported by session-memory) as tsdown entry points:
- src/hooks/bundled/session-memory/handler.ts
- src/hooks/bundled/command-logger/handler.ts
- src/hooks/bundled/boot-md/handler.ts
- src/hooks/bundled/soul-evil/handler.ts
- src/hooks/llm-slug-generator.ts
Regression introduced in 2026.2.2; versions 2026.1.29–2026.2.1 worked
correctly under the previous tsc build.
* refactor: use glob for bundled hook entries, fix dist output paths
- Replace hardcoded entry list with glob pattern in tsdown.config.ts
so new hooks are auto-discovered (matching scripts/copy-hook-metadata.ts)
- Remove inconsistent comment block from tsdown.config.ts
- Fix copy-hook-metadata.ts to copy HOOK.md to dist/bundled/ (matching
the runtime resolution in bundled-dir.ts which resolves path.join(moduleDir, 'bundled')
relative to the chunk in dist/)
- Update stale path comment in session-memory handler
9 months ago
Josh Palmer
d2ec78607d
Docs i18n: make translation prompt language-pluggable
9 months ago
Mariano Belinky
730f86dd5c
Gateway/Plugins: device pairing + phone control plugins ( #11755 )
9 months ago
max
a1123dd9be
Centralize date/time formatting utilities ( #11831 )
9 months ago
Tyler Yust
191da1feb5
fix: context overflow compaction and subagent announce improvements ( #11664 ) (thanks @tyler6204)
...
* initial commit
* feat: implement deriveSessionTotalTokens function and update usage tests
* Added deriveSessionTotalTokens function to calculate total tokens based on usage and context tokens.
* Updated usage tests to include cases for derived session total tokens.
* Refactored session usage calculations in multiple files to utilize the new function for improved accuracy.
* fix: restore overflow truncation fallback + changelog/test hardening (#11551 ) (thanks @tyler6204)
9 months ago
Seb Slight
929a3725d3
docs: canonicalize docs paths and align zh navigation ( #11428 )
...
* docs(navigation): canonicalize paths and align zh nav
* chore(docs): remove stray .DS_Store
* docs(scripts): add non-mint docs link audit
* docs(nav): fix zh source paths and preserve legacy redirects (#11428 ) (thanks @sebslight)
* chore(docs): satisfy lint for docs link audit script (#11428 ) (thanks @sebslight)
9 months ago
Peter Steinberger
80d42eb0ba
fix(docker): support .mjs entrypoints in images and e2e
9 months ago
Peter Steinberger
2b6cf03b47
fix(build): support daemon-cli .mjs bundles in compat shim
9 months ago
Marcus Castro
2d7428a7f2
ci: re-enable parallel vitest on Windows CI
9 months ago
Peter Steinberger
a3b5f1b15c
fix(build): unblock pnpm build dts
9 months ago
Tyler Yust
d90cac990c
fix: cron scheduler reliability, store hardening, and UX improvements ( #10776 )
...
* refactor: update cron job wake mode and run mode handling
- Changed default wake mode from 'next-heartbeat' to 'now' in CronJobEditor and related CLI commands.
- Updated cron-tool tests to reflect changes in run mode, introducing 'due' and 'force' options.
- Enhanced cron-tool logic to handle new run modes and ensure compatibility with existing job structures.
- Added new tests for delivery plan consistency and job execution behavior under various conditions.
- Improved normalization functions to handle wake mode and session target casing.
This refactor aims to streamline cron job configurations and enhance the overall user experience with clearer defaults and improved functionality.
* test: enhance cron job functionality and UI
- Added tests to ensure the isolated agent correctly announces the final payload text when delivering messages via Telegram.
- Implemented a new function to pick the last deliverable payload from a list of delivery payloads.
- Enhanced the cron service to maintain legacy "every" jobs while minute cron jobs recompute schedules.
- Updated the cron store migration tests to verify the addition of anchorMs to legacy every schedules.
- Improved the UI for displaying cron job details, including job state and delivery information, with new styles and layout adjustments.
These changes aim to improve the reliability and user experience of the cron job system.
* test: enhance sessions thinking level handling
- Added tests to verify that the correct thinking levels are applied during session spawning.
- Updated the sessions-spawn-tool to include a new parameter for overriding thinking levels.
- Enhanced the UI to support additional thinking levels, including "xhigh" and "full", and improved the handling of current options in dropdowns.
These changes aim to improve the flexibility and accuracy of thinking level configurations in session management.
* feat: enhance session management and cron job functionality
- Introduced passthrough arguments in the test-parallel script to allow for flexible command-line options.
- Updated session handling to hide cron run alias session keys from the sessions list, improving clarity.
- Enhanced the cron service to accurately record job start times and durations, ensuring better tracking of job execution.
- Added tests to verify the correct behavior of the cron service under various conditions, including zero-delay timers.
These changes aim to improve the usability and reliability of session and cron job management.
* feat: implement job running state checks in cron service
- Added functionality to prevent manual job runs if a job is already in progress, enhancing job management.
- Updated the `isJobDue` function to include checks for running jobs, ensuring accurate scheduling.
- Enhanced the `run` function to return a specific reason when a job is already running.
- Introduced a new test case to verify the behavior of forced manual runs during active job execution.
These changes aim to improve the reliability and clarity of cron job execution and management.
* feat: add session ID and key to CronRunLogEntry model
- Introduced `sessionid` and `sessionkey` properties to the `CronRunLogEntry` struct for enhanced tracking of session-related information.
- Updated the initializer and Codable conformance to accommodate the new properties, ensuring proper serialization and deserialization.
These changes aim to improve the granularity of logging and session management within the cron job system.
* fix: improve session display name resolution
- Updated the `resolveSessionDisplayName` function to ensure that both label and displayName are trimmed and default to an empty string if not present.
- Enhanced the logic to prevent returning the key if it matches the label or displayName, improving clarity in session naming.
These changes aim to enhance the accuracy and usability of session display names in the UI.
* perf: skip cron store persist when idle timer tick produces no changes
recomputeNextRuns now returns a boolean indicating whether any job
state was mutated. The idle path in onTimer only persists when the
return value is true, eliminating unnecessary file writes every 60s
for far-future or idle schedules.
* fix: prep for merge - explicit delivery mode migration, docs + changelog (#10776 ) (thanks @tyler6204)
9 months ago
Gustavo Madeira Santana
c75275f109
Update: harden control UI asset handling in update flow ( #10146 )
...
* Update: harden control UI asset handling in update flow
* fix: harden update doctor entrypoint guard (#10146 ) (thanks @gumadeiras)
10 months ago
Tak Hoffman
8a352c8f9d
Web UI: add token usage dashboard ( #10072 )
...
* feat(ui): Token Usage dashboard with session analytics
Adds a comprehensive Token Usage view to the dashboard:
Backend:
- Extended session-cost-usage.ts with per-session daily breakdown
- Added date range filtering (startMs/endMs) to API endpoints
- New sessions.usage, sessions.usage.timeseries, sessions.usage.logs endpoints
- Cost breakdown by token type (input/output/cache read/write)
Frontend:
- Two-column layout: Daily chart + breakdown | Sessions list
- Interactive daily bar chart with click-to-filter and shift-click range select
- Session detail panel with usage timeline, conversation logs, context weight
- Filter chips for active day/session selections
- Toggle between tokens/cost view modes (default: cost)
- Responsive design for smaller screens
UX improvements:
- 21-day default date range
- Debounced date input (400ms)
- Session list shows filtered totals when days selected
- Context weight breakdown shows skills, tools, files contribution
* fix(ui): restore gatewayUrl validation and syncUrlWithSessionKey signature
- Restore normalizeGatewayUrl() to validate ws:/wss: protocol
- Restore isTopLevelWindow() guard for iframe security
- Revert syncUrlWithSessionKey signature (host param was unused)
* feat(ui): Token Usage dashboard with session analytics
Adds a comprehensive Token Usage view to the dashboard:
Backend:
- Extended session-cost-usage.ts with per-session daily breakdown
- Added date range filtering (startMs/endMs) to API endpoints
- New sessions.usage, sessions.usage.timeseries, sessions.usage.logs endpoints
- Cost breakdown by token type (input/output/cache read/write)
Frontend:
- Two-column layout: Daily chart + breakdown | Sessions list
- Interactive daily bar chart with click-to-filter and shift-click range select
- Session detail panel with usage timeline, conversation logs, context weight
- Filter chips for active day/session selections
- Toggle between tokens/cost view modes (default: cost)
- Responsive design for smaller screens
UX improvements:
- 21-day default date range
- Debounced date input (400ms)
- Session list shows filtered totals when days selected
- Context weight breakdown shows skills, tools, files contribution
* fix: usage dashboard data + cost handling (#8462 ) (thanks @mcinteerj)
* Usage: enrich metrics dashboard
* Usage: add latency + model trends
* Gateway: improve usage log parsing
* UI: add usage query helpers
* UI: client-side usage filter + debounce
* Build: harden write-cli-compat timing
* UI: add conversation log filters
* UI: fix usage dashboard lint + state
* Web UI: default usage dates to local day
* Protocol: sync session usage params (#8462 ) (thanks @mcinteerj, @TakHoffman)
---------
Co-authored-by: Jake McInteer <mcinteerj@gmail.com>
10 months ago
Gustavo Madeira Santana
4629054403
chore: apply local workspace updates ( #9911 )
...
* chore: apply local workspace updates
* fix: resolve prep findings after rebase (#9898 ) (thanks @gumadeiras)
* refactor: centralize model allowlist normalization (#9898 ) (thanks @gumadeiras)
* fix: guard model allowlist initialization (#9911 )
* docs: update changelog scope for #9911
* docs: remove model names from changelog entry (#9911 )
* fix: satisfy type-aware lint in model allowlist (#9911 )
10 months ago
Josh Palmer
4fc4c5256a
🤖 Feishu: expand channel support
...
What:
- add post parsing, doc link extraction, routing, replies, reactions, typing, and user lookup
- fix media download/send flows and make doc fetches domain-aware
- update Feishu docs and clawtributor credits
Why:
- raise Feishu parity with other channels and avoid dropped group messages
- keep replies threaded while supporting Lark domains
- document new configuration and credit the contributor
Tests:
- pnpm build
- pnpm check
- pnpm test (gateway suite timed out; reran pnpm vitest run --config vitest.gateway.config.ts)
Co-authored-by: 九灵云 <server@jiulingyun.cn>
10 months ago
Shakker
dae0e2b325
scripts: update test-shell-completion to use shared helpers
...
- Use `checkShellCompletionStatus` and `ensureCompletionCacheExists` from doctor-completion
- Display "Uses slow pattern" status in output
- Simulate doctor/update/onboard behavior for all completion scenarios
- Remove duplicated utility functions
10 months ago
Shakker
42c690632d
feat: add shell completion test script for installation verification
10 months ago
Peter Steinberger
9c5941ba46
fix: add legacy daemon-cli shim for updates
10 months ago
Peter Steinberger
f1cbe7db1d
chore: add mac dSYM zip to release artifacts
10 months ago
Peter Steinberger
539a15e63f
chore: prep 2026.2.2 docs/release checks
10 months ago
Josh Palmer
a3ec2d0734
Docs: update zh-CN translations and pipeline
...
What:
- update zh-CN glossary, TM, and translator prompt
- regenerate zh-CN docs and apply targeted fixes
- add zh-CN AGENTS pipeline guidance
Why:
- address terminology/spacing feedback from #6995
Tests:
- pnpm build && pnpm check && pnpm test
10 months ago
cpojer
be4f7ef361
fix: Fix Mac app build step.
10 months ago
cpojer
6b83d82e82
chore: clean up git hooks and actually install them again.
10 months ago
cpojer
6fb2d3d7d7
feat: remove slop.
10 months ago
cpojer
a03d852d65
chore: Migrate to tsdown, speed up JS bundling by ~10x (thanks @hyf0).
...
The previous migration to tsdown was reverted because it caused a ~20x slowdown when running OpenClaw from the repo. @hyf0 investigated and found that simply renaming the `dist` folder also caused the same slowdown. It turns out the Plugin script loader has a bunch of voodoo vibe logic to determine if it should load files from source and compile them, or if it should load them from dist. When building with tsdown, the filesystem layout is different (bundled), and so some files weren't in the right location, and the Plugin script loader decided to compile source files from scratch using Jiti.
The new implementation uses tsdown to embed `NODE_ENV: 'production'`, which we now use to determine if we are running OpenClaw from a "production environmen" (ie. from dist). This removes the slop in favor of a deterministic toggle, and doesn't rely on directory names or similar.
There is some code reaching into `dist` to load specific modules, primarily in the voice-call extension, which I simplified into loading an "officially" exported `extensionAPI.js` file. With tsdown, entry points need to be explicitly configured, so we should be able to avoid sloppy code reaching into internals from now on. This might break some existing users, but if it does, it's because they were using "private" APIs.
10 months ago
Shakker
9950440cf6
Install: cache completion scripts on install/update
10 months ago
Josh Palmer
2b1f68c928
Docs i18n: tune zh-CN prompt + glossary
...
What: enforce zh-CN tone (你/你的), Skills/local loopback/Tailscale terms, Gateway网关
Why: keep future translation output consistent with issue feedback
Tests: not run (prompt/glossary change)
10 months ago
Josh Palmer
e70984745b
Docs i18n: harden doc-mode pipeline
10 months ago
Peter Steinberger
f9fae2c439
fix: stabilize docker e2e flows
10 months ago
cpojer
935a0e5708
chore: Enable `typescript/no-explicit-any` rule.
10 months ago
Seb Slight
b9910ab037
Docs: fix Moonshot sync markers ( #6789 )
...
* Docs: fix Moonshot sync markers
* Docs: use MDX comment markers for Moonshot sync
* Docs: use markdown comment markers for Moonshot sync
* Docs: hide Moonshot sync markers in MDX
10 months ago
Josh Palmer
0e0e395b9e
Docs: add zh-CN entrypoint translations ( #6300 )
...
* Docs: add zh-CN entrypoint translations
* Docs: harden docs-i18n parsing
10 months ago
cpojer
f06dd8df06
chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts.
10 months ago
cpojer
1838ab019b
chore: Enable linting in `scripts`.
10 months ago
cpojer
76b5208b11
chore: Also format `scripts` and `skills`.
10 months ago
cpojer
dae00fe184
fix: Update `CONTRIBUTING.md` + adjust `watch-node.mjs` again to be faster with `tsc`.
10 months ago
cpojer
76361ae3ab
revert: Switch back to `tsc` for compiling.
10 months ago
Peter Steinberger
e25fedf932
fix: retry gateway watch after dist rebuild
10 months ago
cpojer
68ba1afb34
fix: Fix `scripts/watch-node.mjs` and use `tsdown --watch`.
10 months ago
cpojer
4b7406719c
fix: Update a few more `entry.js` to `entry.mjs` paths.
10 months ago
cpojer
762652279b
Switch from TypeScript to TypeScript Go. Use `pnpm tsgo` for Typechecks.
10 months ago
cpojer
67945e8d62
chore: Switch from TypeScript to build with `tsdown`, speeds up `pnpm build` by 5-10x.
10 months ago
Shakker
b1d25ed0dd
feat: automated completion setup in postinstall and onboarding
10 months ago
Peter Steinberger
fd00d5688a
chore: update openclaw naming
10 months ago
Peter Steinberger
9a7160786a
refactor: rename to openclaw
10 months ago
Peter Steinberger
7eb57b691c
chore: prep 2026.1.27-beta.1 release
10 months ago
Pooya Parsa
4a1b6bc008
update refs
10 months ago
Shadow
f7a0b0934d
Branding: update bot.molt bundle IDs + launchd labels
10 months ago
Shadow
cc72498b46
Mac: finish Moltbot rename
10 months ago
Peter Steinberger
640c8d1554
fix: ignore windows vitest worker crashes
10 months ago
Peter Steinberger
4a9c921168
fix: use threads pool for windows ci tests
10 months ago
Peter Steinberger
cf334d3b7d
fix: shard windows ci test runs
10 months ago
Peter Steinberger
240232aed1
fix: run windows ci tests serially
10 months ago
Peter Steinberger
3817e0ce2c
fix: bundle a2ui before tests
10 months ago
Peter Steinberger
e4518d2271
fix: allow docker builds to skip missing a2ui assets
10 months ago
Peter Steinberger
0594ccf92a
fix: skip a2ui bundling when sources are excluded
10 months ago
Peter Steinberger
3015e11fd7
fix: stabilize install smoke against clawdbot installer
10 months ago
Peter Steinberger
6d16a658e5
refactor: rename clawdbot to moltbot with legacy compat
10 months ago
Peter Steinberger
83460df96f
chore: update molt.bot domains
10 months ago
Gustavo Madeira Santana
2044b3ca8d
Build: restore A2UI scaffold assets ( #2455 ) (thanks @0oAstro)
...
Co-authored-by: 0oAstro <0oAstro@users.noreply.github.com>
10 months ago
Gustavo Madeira Santana
c2a4863b15
Build: stop tracking bundled artifacts ( #2455 ) (thanks @0oAstro)
...
Co-authored-by: 0oAstro <0oAstro@users.noreply.github.com>
10 months ago
Peter Steinberger
fba7afaa12
chore(scripts): update claude auth status hints
10 months ago
Shadow
e040f6338a
Docs: update clawtributors list
10 months ago
Shadow
b25fcaef0f
CI: parse labeler without deps
10 months ago
Shadow
6b6284c69c
CI: add PR labeler + label sync
10 months ago
Peter Steinberger
71eb6d5dd0
fix(imessage): normalize messaging targets ( #1708 )
...
Co-authored-by: Aaron Ng <1653630+aaronn@users.noreply.github.com>
10 months ago
plum-dawg
c96ffa7186
feat: Add Line plugin ( #1630 )
...
* feat: add LINE plugin (#1630 ) (thanks @plum-dawg)
* feat: complete LINE plugin (#1630 ) (thanks @plum-dawg)
* chore: drop line plugin node_modules (#1630 ) (thanks @plum-dawg)
* test: mock /context report in commands test (#1630 ) (thanks @plum-dawg)
* test: limit macOS CI workers to avoid OOM (#1630 ) (thanks @plum-dawg)
* test: reduce macOS CI vitest workers (#1630 ) (thanks @plum-dawg)
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
10 months ago
Peter Steinberger
50f233d16d
chore: stabilize prek hooks runner selection ( #1720 ) (thanks @dguido)
10 months ago
Dan Guido
48aea87028
feat: add prek pre-commit hooks and dependabot ( #1720 )
...
* feat: add prek pre-commit hooks and dependabot
Pre-commit hooks (via prek):
- Basic hygiene: trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files, check-merge-conflict
- Security: detect-secrets, zizmor (GitHub Actions audit)
- Linting: shellcheck, actionlint, oxlint, swiftlint
- Formatting: oxfmt, swiftformat
Dependabot:
- npm and GitHub Actions ecosystems
- Grouped updates (production/development/actions)
- 7-day cooldown for supply chain protection
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs: add prek install instruction to AGENTS.md
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
10 months ago
Rohan Nagpal
06a7e1e8ce
Telegram: threaded conversation support ( #1597 )
...
* Telegram: isolate dm topic sessions
* Tests: cap vitest workers
* Tests: cap Vitest workers on CI macOS
* Tests: avoid timer-based pi-ai stream mock
* Tests: increase embedded runner timeout
* fix: harden telegram dm thread handling (#1597 ) (thanks @rohannagpal)
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
10 months ago
Peter Steinberger
6d79c6cd26
fix: clean docker onboarding warnings + preserve agentId casing
10 months ago
Luke
be1cdc9370
fix(agents): treat provider request-aborted as timeout for fallback ( #1576 )
...
* fix(agents): treat request-aborted as timeout for fallback
* test(e2e): add provider timeout fallback
10 months ago
Peter Steinberger
4a9123d415
chore: suppress remaining deprecation warnings
10 months ago
Peter Steinberger
8b7b7e154f
chore: speed up tests and update opencode models
10 months ago
Peter Steinberger
bb9bddebb4
fix: stabilize ci tests
10 months ago
Peter Steinberger
3de5ea818d
ci: speed up install smoke on PRs
10 months ago
Peter Steinberger
86e0916fa3
fix: allow windows spawn in test parallel
10 months ago
Peter Steinberger
45ce07a098
test: split vitest into unit and gateway
10 months ago
Peter Steinberger
2c10c601a8
test: harden docker onboarding waits
10 months ago
Tak hoffman
b65916e0d1
CLI: fix Windows gateway startup
10 months ago
Peter Steinberger
7c336588ea
chore: drop tty from install e2e docker
10 months ago
Peter Steinberger
573354f5e4
chore(dev): default restart-mac to attach-only
10 months ago
Peter Steinberger
8a20f44228
fix: improve gateway ssh auth handling
10 months ago
Peter Steinberger
50049fd220
chore(macos): drop time-sensitive notification entitlement toggle
10 months ago
Peter Steinberger
ff3d8cab2b
feat: preflight update runner before rebase
10 months ago
Peter Steinberger
2e1514095d
fix: package Textual resources for mac app
10 months ago
Clawd
429a2d7849
fix(mac): default to universal binary for distribution builds
...
Closes #1393
The distribution script (package-mac-dist.sh) now defaults BUILD_ARCHS to 'all',
producing universal binaries that run natively on both Apple Silicon and Intel Macs.
Previously, the script inherited the host architecture default from package-mac-app.sh,
which meant release builds done on ARM Macs only included ARM binaries.
10 months ago
Peter Steinberger
6c0a01dc90
fix: bundle mac model catalog
10 months ago
Peter Steinberger
fb47f1cbeb
chore: rename clawlog references
10 months ago
Peter Steinberger
58b131919f
feat: use tsgo for dev/watch builds
10 months ago
Peter Steinberger
aec622fe63
chore: remove fresh dist log
10 months ago
Peter Steinberger
dfbf6ac263
feat: enforce device-bound connect challenge
10 months ago
Peter Steinberger
c9e3c14f9c
fix: finalize exec fish fallback ( #1297 ) (thanks @ysqander)
10 months ago
Peter Steinberger
9c2c4b1138
fix(auth): dedupe codex-cli profiles
...
Co-authored-by: Oliver Drobnik <oliver@cocoanetics.com>
10 months ago
Shadow
39dfdccf6c
CLI: skip runner rebuilds when dist is fresh ( #1231 )
...
Co-authored-by: mukhtharcm <mukhtharcm@users.noreply.github.com>
10 months ago
Peter Steinberger
111aeb2c4f
fix: cover sync ui spawn on Windows ( #1212 ) (thanks @longmaba)
10 months ago
Long
23c2c638b7
fix(ui): enable shell mode for spawn on Windows
10 months ago
Peter Steinberger
a9fc2ca0ef
fix: add git hook setup and stable config hash sorting
10 months ago
Peter Steinberger
86950d3474
fix: guard docs:list when docs dir missing
10 months ago
Peter Steinberger
9b9e8d4ae8
chore: block node_modules commits
10 months ago
Peter Steinberger
769b286cf2
fix: make docs list node-safe
10 months ago
Peter Steinberger
5f21bf735a
chore: switch repo scripts to node
10 months ago
Peter Steinberger
ee380e9ab9
fix: run cli scripts via node build runner
10 months ago
Peter Steinberger
60efe8ed7b
fix: restore bun runners for dev scripts
10 months ago
Peter Steinberger
332a20d9cc
fix: update gateway watch runner
10 months ago
Peter Steinberger
0b350d78d5
fix: harden macOS signing flow
10 months ago
Peter Steinberger
c6e7e1821b
test: tolerate tool summary payloads in install e2e
10 months ago
Peter Steinberger
889db137b8
test: add beta tag install option for docker installer
10 months ago
Peter Steinberger
e5cca6e432
chore: switch Peekaboo to SPM
10 months ago
Peter Steinberger
e0e8f11f70
fix: bundle Textual resources in macOS app
10 months ago
Peter Steinberger
8ec4af4641
fix(status): show 2 usage windows in /status ( #1101 )
...
Thanks @rhjoh.
Co-authored-by: Rhys Johnston <rhys.johnston00@gmail.com>
10 months ago
Peter Steinberger
5a08471dcd
feat: add sqlite-vec memory search acceleration
10 months ago
Peter Steinberger
1657525201
chore: prep 2026.1.17 and onboard flow
10 months ago
Peter Steinberger
49c35c752c
fix: stamp build commit metadata
10 months ago
Peter Steinberger
faba508fe0
feat: add internal hooks system
10 months ago
Peter Steinberger
c54c665f97
feat: enhance web_fetch fallbacks
10 months ago
Peter Steinberger
a4e99ecdaf
chore: remove patch references
10 months ago
Peter Steinberger
8bcbe68637
chore: sync Peekaboo submodule on install
10 months ago
Peter Steinberger
eda9410bce
fix: stabilize docker test suite
10 months ago
tosh-hamburg
de5fb65cb8
fix: docker-setup fails on Synology because of problem with bun ( #1002 )
10 months ago
Peter Steinberger
d42b69df74
Merge pull request #982 from wes-davis/fix/gateway-connection-diagnostics
...
macOS: keep gateway connected (stop port flapping)
10 months ago
Ubuntu
ca9688b5cc
feat(session): add dmScope for multi-user DM isolation
...
Co-authored-by: Alphonse-arianee <Alphonse-arianee@users.noreply.github.com>
10 months ago
Peter Steinberger
16bc4cdef3
chore: drop legacy Relay signing
10 months ago
Peter Steinberger
d9f9e93dee
feat!: move msteams to plugin
10 months ago
Wes
f726656d1e
macOS: start gateway before app in restart-mac
10 months ago
Peter Steinberger
f25fe032c4
fix(macos): codesign dmg before notarize
10 months ago
Peter Steinberger
8daab932a2
chore(macos): prep Sparkle release 2026.1.14-1
10 months ago
Peter Steinberger
1afdb850f3
chore: add matrix changelog
10 months ago
Peter Steinberger
79f340a410
chore: prep 2026.1.14 npm release
10 months ago
Peter Steinberger
5a58feefdc
chore: enforce plugin version sync
10 months ago
Peter Steinberger
48b15bd099
chore: sync plugin versions
10 months ago
Peter Steinberger
1c96477686
fix: harden session cache + heartbeat restore
...
Co-authored-by: Ronak Guliani <ronak-guliani@users.noreply.github.com>
10 months ago
Peter Steinberger
3475ecde6f
docs: expand Zalo overview + add longmaba
...
Co-authored-by: Long <longmaba@gmail.com>
10 months ago
Peter Steinberger
60748b1370
docs: refresh clawtributors list
10 months ago
Peter Steinberger
fe974f420d
chore: standardize Claude Code CLI naming ( #915 )
...
Follow-up to #915 .
10 months ago
Peter Steinberger
c892f38d3c
refactor(scripts): extract clawtributors types
10 months ago
Peter Steinberger
d98b6beb4d
chore(e2e): reduce doctor-switch install noise
10 months ago
Peter Steinberger
bcbfb357be
refactor(src): split oversized modules
10 months ago
Peter Steinberger
b2179de839
fix(docker): harden docker e2e scripts
10 months ago
Peter Steinberger
b1102cedd7
fix: support non-interactive token auth
10 months ago
Peter Steinberger
571f8c78bd
chore: allow install e2e previous override
10 months ago
Peter Steinberger
a740d563d7
chore: allow install smoke previous override
10 months ago
Peter Steinberger
4c932edabc
fix: make postinstall patcher idempotent
10 months ago
Peter Steinberger
84bfaad6e6
fix: finish channels rename sweep
10 months ago
Peter Steinberger
76acdb7ae7
test: silence experimental sqlite warnings in docker
10 months ago
Peter Steinberger
df6634727e
fix: refine synthetic provider + minimax probes
10 months ago
Peter Steinberger
b928b96af5
fix: sync Moonshot Kimi K2 models ( #818 ) (thanks @mickahouan)
...
Co-authored-by: mickahouan <mickahouan@users.noreply.github.com>
10 months ago
Peter Steinberger
f19d37c7bb
build: harden installer smoke apt
10 months ago
Peter Steinberger
c1f8f1d9d0
chore: release 2026.1.11-2
10 months ago
Peter Steinberger
b77070cccf
fix: keep mobile nav flattened ( #771 ) (thanks @carlulsoe)
10 months ago
Peter Steinberger
484a33f348
fix: cap ai snapshots for tool calls ( #763 ) (thanks @thesash)
10 months ago
Peter Steinberger
1850013cae
fix: modernize live tests and gemini ids
10 months ago
Peter Steinberger
51d5f16770
refactor: remove mac attach-only setting
10 months ago
Peter Steinberger
98337a14b3
fix: rename bash tool to exec ( #748 ) (thanks @myfunc)
10 months ago
Peter Steinberger
2a728ee68c
test: extend plugins docker e2e
10 months ago
Peter Steinberger
f13ae50ff8
test: plugin install + docker e2e
10 months ago
Peter Steinberger
26cbbafc86
fix: skip pnpm patch fallback
10 months ago
Peter Steinberger
ccd8950d40
ci: stabilize installer smoke
10 months ago
Peter Steinberger
60430fcd2e
chore: harden installer and add smoke ci
10 months ago
Peter Steinberger
933c157092
test: add plugin docker e2e
10 months ago
Peter Steinberger
7acd26a2fc
Move provider to a plugin-architecture ( #661 )
...
* refactor: introduce provider plugin registry
* refactor: move provider CLI to plugins
* docs: add provider plugin implementation notes
* refactor: shift provider runtime logic into plugins
* refactor: add plugin defaults and summaries
* docs: update provider plugin notes
* feat(commands): add /commands slash list
* Auto-reply: tidy help message
* Auto-reply: fix status command lint
* Tests: align google shared expectations
* Auto-reply: tidy help message
* Auto-reply: fix status command lint
* refactor: move provider routing into plugins
* test: align agent routing expectations
* docs: update provider plugin notes
* refactor: route replies via provider plugins
* docs: note route-reply plugin hooks
* refactor: extend provider plugin contract
* refactor: derive provider status from plugins
* refactor: unify gateway provider control
* refactor: use plugin metadata in auto-reply
* fix: parenthesize cron target selection
* refactor: derive gateway methods from plugins
* refactor: generalize provider logout
* refactor: route provider logout through plugins
* refactor: move WhatsApp web login methods into plugin
* refactor: generalize provider log prefixes
* refactor: centralize default chat provider
* refactor: derive provider lists from registry
* refactor: move provider reload noops into plugins
* refactor: resolve web login provider via alias
* refactor: derive CLI provider options from plugins
* refactor: derive prompt provider list from plugins
* style: apply biome lint fixes
* fix: resolve provider routing edge cases
* docs: update provider plugin refactor notes
* fix(gateway): harden agent provider routing
* refactor: move provider routing into plugins
* refactor: move provider CLI to plugins
* refactor: derive provider lists from registry
* fix: restore slash command parsing
* refactor: align provider ids for schema
* refactor: unify outbound target resolution
* fix: keep outbound labels stable
* feat: add msteams to cron surfaces
* fix: clean up lint build issues
* refactor: localize chat provider alias normalization
* refactor: drive gateway provider lists from plugins
* docs: update provider plugin notes
* style: format message-provider
* fix: avoid provider registry init cycles
* style: sort message-provider imports
* fix: relax provider alias map typing
* refactor: move provider routing into plugins
* refactor: add plugin pairing/config adapters
* refactor: route pairing and provider removal via plugins
* refactor: align auto-reply provider typing
* test: stabilize telegram media mocks
* docs: update provider plugin refactor notes
* refactor: pluginize outbound targets
* refactor: pluginize provider selection
* refactor: generalize text chunk limits
* docs: update provider plugin notes
* refactor: generalize group session/config
* fix: normalize provider id for room detection
* fix: avoid provider init in system prompt
* style: formatting cleanup
* refactor: normalize agent delivery targets
* test: update outbound delivery labels
* chore: fix lint regressions
* refactor: extend provider plugin adapters
* refactor: move elevated/block streaming defaults to plugins
* refactor: defer outbound send deps to plugins
* docs: note plugin-driven streaming/elevated defaults
* refactor: centralize webchat provider constant
* refactor: add provider setup adapters
* refactor: delegate provider add config to plugins
* docs: document plugin-driven provider add
* refactor: add plugin state/binding metadata
* refactor: build agent provider status from plugins
* docs: note plugin-driven agent bindings
* refactor: centralize internal provider constant usage
* fix: normalize WhatsApp targets for groups and E.164 (#631 ) (thanks @imfing)
* refactor: centralize default chat provider
* refactor: centralize WhatsApp target normalization
* refactor: move provider routing into plugins
* refactor: normalize agent delivery targets
* chore: fix lint regressions
* fix: normalize WhatsApp targets for groups and E.164 (#631 ) (thanks @imfing)
* feat: expand provider plugin adapters
* refactor: route auto-reply via provider plugins
* fix: align WhatsApp target normalization
* fix: normalize WhatsApp targets for groups and E.164 (#631 ) (thanks @imfing)
* refactor: centralize WhatsApp target normalization
* feat: add /config chat config updates
* docs: add /config get alias
* feat(commands): add /commands slash list
* refactor: centralize default chat provider
* style: apply biome lint fixes
* chore: fix lint regressions
* fix: clean up whatsapp allowlist typing
* style: format config command helpers
* refactor: pluginize tool threading context
* refactor: normalize session announce targets
* docs: note new plugin threading and announce hooks
* refactor: pluginize message actions
* docs: update provider plugin actions notes
* fix: align provider action adapters
* refactor: centralize webchat checks
* style: format message provider helpers
* refactor: move provider onboarding into adapters
* docs: note onboarding provider adapters
* feat: add msteams onboarding adapter
* style: organize onboarding imports
* fix: normalize msteams allowFrom types
* feat: add plugin text chunk limits
* refactor: use plugin chunk limit fallbacks
* feat: add provider mention stripping hooks
* style: organize provider plugin type imports
* refactor: generalize health snapshots
* refactor: update macOS health snapshot handling
* docs: refresh health snapshot notes
* style: format health snapshot updates
* refactor: drive security warnings via plugins
* docs: note provider security adapter
* style: format provider security adapters
* refactor: centralize provider account defaults
* refactor: type gateway client identity constants
* chore: regen gateway protocol swift
* fix: degrade health on failed provider probe
* refactor: centralize pairing approve hint
* docs: add plugin CLI command references
* refactor: route auth and tool sends through plugins
* docs: expand provider plugin hooks
* refactor: document provider docking touchpoints
* refactor: normalize internal provider defaults
* refactor: streamline outbound delivery wiring
* refactor: make provider onboarding plugin-owned
* refactor: support provider-owned agent tools
* refactor: move telegram draft chunking into telegram module
* refactor: infer provider tool sends via extractToolSend
* fix: repair plugin onboarding imports
* refactor: de-dup outbound target normalization
* style: tidy plugin and agent imports
* refactor: data-drive provider selection line
* fix: satisfy lint after provider plugin rebase
* test: deflake gateway-cli coverage
* style: format gateway-cli coverage test
* refactor(provider-plugins): simplify provider ids
* test(pairing-cli): avoid provider-specific ternary
* style(macos): swiftformat HealthStore
* refactor(sandbox): derive provider tool denylist
* fix(sandbox): avoid plugin init in defaults
* refactor(provider-plugins): centralize provider aliases
* style(test): satisfy biome
* refactor(protocol): v3 providers.status maps
* refactor(ui): adapt to protocol v3
* refactor(macos): adapt to protocol v3
* test: update providers.status v3 fixtures
* refactor(gateway): map provider runtime snapshot
* test(gateway): update reload runtime snapshot
* refactor(whatsapp): normalize heartbeat provider id
* docs(refactor): update provider plugin notes
* style: satisfy biome after rebase
* fix: describe sandboxed elevated in prompt
* feat(gateway): add agent image attachments + live probe
* refactor: derive CLI provider options from plugins
* fix(gateway): harden agent provider routing
* fix(gateway): harden agent provider routing
* refactor: align provider ids for schema
* fix(protocol): keep agent provider string
* fix(gateway): harden agent provider routing
* fix(protocol): keep agent provider string
* refactor: normalize agent delivery targets
* refactor: support provider-owned agent tools
* refactor(config): provider-keyed elevated allowFrom
* style: satisfy biome
* fix(gateway): appease provider narrowing
* style: satisfy biome
* refactor(reply): move group intro hints into plugin
* fix(reply): avoid plugin registry init cycle
* refactor(providers): add lightweight provider dock
* refactor(gateway): use typed client id in connect
* refactor(providers): document docks and avoid init cycles
* refactor(providers): make media limit helper generic
* fix(providers): break plugin registry import cycles
* style: satisfy biome
* refactor(status-all): build providers table from plugins
* refactor(gateway): delegate web login to provider plugin
* refactor(provider): drop web alias
* refactor(provider): lazy-load monitors
* style: satisfy lint/format
* style: format status-all providers table
* style: swiftformat gateway discovery model
* test: make reload plan plugin-driven
* fix: avoid token stringification in status-all
* refactor: make provider IDs explicit in status
* feat: warn on signal/imessage provider runtime errors
* test: cover gateway provider runtime warnings in status
* fix: add runtime kind to provider status issues
* test: cover health degradation on probe failure
* fix: keep routeReply lightweight
* style: organize routeReply imports
* refactor(web): extract auth-store helpers
* refactor(whatsapp): lazy login imports
* refactor(outbound): route replies via plugin outbound
* docs: update provider plugin notes
* style: format provider status issues
* fix: make sandbox scope warning wrap-safe
* refactor: load outbound adapters from provider plugins
* docs: update provider plugin outbound notes
* style(macos): fix swiftformat lint
* docs: changelog for provider plugins
* fix(macos): satisfy swiftformat
* fix(macos): open settings via menu action
* style: format after rebase
* fix(macos): open Settings via menu action
---------
Co-authored-by: LK <luke@kyohere.com>
Co-authored-by: Luke K (pr-0f3t) <2609441+lc0rp@users.noreply.github.com>
Co-authored-by: Xin <xin@imfing.com>
10 months ago
Peter Steinberger
684e18bab2
chore: add test:all shortcuts
10 months ago
Peter Steinberger
6d2928888c
feat(macos): prompt for CLI install
10 months ago
Peter Steinberger
7551415db9
fix: copy postinstall for cleanup docker
10 months ago