29 Commits
Author SHA1 Message Date
辰ing 06e88e50b3 Improve session polling performance and add cross-platform script support
* fix: harden test suite for Windows/CRLF cross-platform compatibility

- oss-readiness: use \r?\n in .gitignore regex boundaries for CRLF support
- oss-readiness: update PUBLIC_FILES to match actual repo filenames
- phase9-routes-commands: invoke node directly instead of spawn('npm')
  to avoid ENOENT on Windows where npm requires .cmd extension
- phase9-routes-commands: normalize path separators in export path assertion
- ui-render-smoke: normalize CRLF to LF before multiline source includes()
- usage-cost: normalize backslashes in sourcePath before glob assertion

All 87 tests now pass on Windows.

* fix: add cross-platform Node.js UI smoke script for Windows compatibility

* fix: improve session polling performance and add cross-platform script support (#13)

- Reduce monitor polling interval from 5s to 30s to cut background I/O by 83%
- Add incremental status queries in snapshot() — only refresh active/new sessions instead of all 500+
- Replace O(n) usage-cost cache key serialization with O(1) generatedAt-based key
- Use cross-env for all env-prefixed npm scripts to fix Windows cmd compatibility
- Reduce default session preview historyLimit and pageSize for faster dashboard loads

* fix: add final status refresh for sessions leaving active state

When a session transitions from running/blocked to idle/error, perform
one last status query to capture final usage metrics (cost, tokens).
Without this, cachedStatuses would retain pre-completion values
permanently, causing stale aggregate usage/budget totals.

Addresses review feedback on PR #17.

* fix: tune polling interval to 10s and use content-based cache key

- Change sessionsList polling from 30s to 10s as a compromise between
  the original 5s (too aggressive) and the PR's 30s (too slow for
  near real-time UX).
- Replace generatedAt-based cache key in buildUsageCostCacheKey with
  content-based fingerprint using session.state and status.updatedAt,
  so the cache only invalidates when data actually changes.
2026-03-14 09:49:45 +01:00
OpenClaw Local fd0ac1761a Add operator insight cards and cut v0.1.1 2026-03-13 22:08:48 +01:00
OpenClaw Local 1ba2ad0322 Reduce session preview cold-start cost 2026-03-13 14:16:28 +01:00
辰ing f3327e3f95 Merge pull request #6 from MoYiC6/fix/cross-platform-test-compatibility
fix: harden test suite for Windows/CRLF cross-platform compatibility
2026-03-13 10:59:04 +01:00
OpenClaw Local 9ea1410d93 Reduce dashboard route latency without UI changes 2026-03-12 19:36:44 +01:00
OpenClaw Local b0e15a0cb6 Track runtime source tree in public repo 2026-03-12 12:30:10 +01:00
OpenClaw Local 58d97f7f2c Validate repo completeness before install 2026-03-12 11:04:26 +01:00
OpenClaw Local 404de68a37 Polish README setup copy 2026-03-12 09:50:53 +01:00
OpenClaw Local 33399c6d9e Add standalone install prompts 2026-03-12 09:46:16 +01:00
OpenClaw Local 17abb84c88 Harden README install prompt 2026-03-12 09:25:31 +01:00
OpenClaw Local fc1ac0dd36 Restore README PNG screenshots 2026-03-12 09:15:12 +01:00
OpenClaw Local 373f1c5df2 Sanitize public README visuals 2026-03-12 00:28:07 +01:00
OpenClaw Local 6d456ec9a0 Simplify task page around schedule and cron 2026-03-11 20:49:58 +01:00
OpenClaw Local d6cdaff5cf Show soul and identity docs in workbench 2026-03-11 20:32:15 +01:00
OpenClaw Local ccf04beec6 Harden README setup prompt for different OpenClaw environments 2026-03-11 17:59:09 +01:00
OpenClaw Local b909e8417b Make OpenClaw-assisted setup the default README path 2026-03-11 17:53:18 +01:00
OpenClaw Local 65beb72447 Swap README hero detail for token attribution chart 2026-03-11 15:31:54 +01:00
OpenClaw Local 792822848b Refresh README with focus ring and staff screenshots 2026-03-11 15:13:44 +01:00
OpenClaw Local b393ffb06a Brand English overview headline 2026-03-11 15:02:40 +01:00
OpenClaw Local a43edc7386 Match README screenshots to page language 2026-03-11 14:21:17 +01:00
OpenClaw Local ad3060912e Fix English health ring layout and hero asset 2026-03-11 14:11:49 +01:00
OpenClaw Local b88893bf21 Default README to Chinese and tighten hero crops 2026-03-11 13:53:56 +01:00
OpenClaw Local a06a40576d Document every primary control-center section in README 2026-03-11 13:42:37 +01:00
OpenClaw Local ea47dec402 Use wide overview screenshots as README heroes 2026-03-11 13:39:38 +01:00
OpenClaw Local 24d2911860 Split README into English and Chinese versions 2026-03-11 13:34:56 +01:00
OpenClaw Local 3bd04d0367 Merge remote main bootstrap 2026-03-11 13:23:31 +01:00
OpenClaw Local 4d18c86852 Rename public brand and add icon assets 2026-03-11 12:54:48 +01:00
Tianyi 29979175bc Initial commit 2026-03-11 12:52:02 +01:00
OpenClaw Local d002386bc2 Initial public-ready standalone repository 2026-03-11 12:23:57 +01:00