Commit Graph
6055 Commits
Author SHA1 Message Date
cflmy 4e4e08b375 fix(mqdh): bound every Windows installer smoke step with a timeout (#33)
The NSIS silent install can wait forever on a CI runner if it falls back to an
interactive UI. Use Start-Process + WaitForExit with explicit timeouts for
install, version, backend smoke and uninstall so the job fails fast with a real
diagnostic instead of hanging.
2026-12-03 17:49:26 +08:00
cflmy 6839e82190 perf(mqdh): stage native runtime as a plain tar to keep Windows/macOS CI fast (#33)
gzip on a 2.7 GB pnpm tree takes tens of minutes on a 2-core Windows runner.
Stage an uncompressed tar under one neutral resource name; the shell detects the
gzip magic for the Linux verified archive and reads plain tar for native lanes.
Installers still compress the tar as part of NSIS/DMG bundling.
2026-12-03 16:58:34 +08:00
cflmy e859b2efdc ci(mqdh): build the authoritative Gitea archive on GitHub runners (#33)
The GitHub remote is CI/CD only: workflows download the exact Gitea archive for
the requested source SHA instead of mirroring the large git history through a
proxy (Git pack generation hits Cloudflare 524 limits). Source/SHA stay
authoritative in Gitea; run-name + evidence record the Gitea SHA. The scheduled
dispatcher reads Gitea tags and requests a release build for tags without an
authoritative Release. Also allow MQDH_SOURCE_SHA without git metadata.
2026-12-03 14:57:36 +08:00
cflmy 2e1073d224 fix(mqdh): stage the runtime archive for native Windows/macOS lanes (#33)
The Tauri resources contract now ships one mqdh-runtime.tar.gz; the native stage
script must produce that same archive with the platform node runtime (node.exe
on Windows) instead of a bare tree, otherwise the NSIS/DMG bundlers cannot find
the resource.
2026-12-03 14:31:20 +08:00
cflmy c59f13bfb9 ci(mqdh): migrate app CI/CD to the GitHub Actions second remote (#33)
Gitea stays the only source/ticket/release authority. The same commit is pushed
to the github second remote; GitHub Actions builds native Linux/Windows/macOS
installers and a protected publish job uploads the final bytes and evidence
back to the authoritative Gitea Release.

- add .github/workflows/mqdh-tauri-release.yml (pinned actions, three native
  runners, Gitea publish with secret GITEA_TOKEN, no fork secrets)
- record github-actions run identity in release-evidence.json
- add installer fragment/merge scripts so three jobs produce one manifest
- move the retired Woodpecker configs to docs/mqdh/ci/woodpecker/ and document
  the new CI contract in docs/mqdh/CI.md
2026-12-03 14:29:14 +08:00
cflmy d434130785 fix(mqdh): pass installer triplet positionally to the evidence helper (#31)
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
ci/woodpecker/tag/ci Pipeline failed
ci/woodpecker/tag/tauri-linux Pipeline failed
ci/woodpecker/manual/tauri-linux Pipeline is pending
ci/woodpecker/manual/tauri-macos Pipeline is pending
ci/woodpecker/manual/tauri-windows Pipeline is pending
ci/woodpecker/manual/ci Pipeline was successful
2026-12-03 13:20:42 +08:00
cflmy 6f4eb56e0e fix(mqdh): avoid pipefail SIGPIPE while validating the runtime archive (#31)
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
2026-12-03 13:16:52 +08:00
cflmy b74794c55c fix(mqdh): ship the verified tree as one archive and extract on first start (#31)
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/push/tauri-linux Pipeline is pending
Tauri's Linux deb walker drops symlinks and the pnpm node_modules tree is
symlink-based, so a resource directory installed a broken tree. Ship the exact
cold-install-verified .tar.gz as one resource; the shell validates entry paths,
extracts once to MQDH_HOME/runtime, keeps the completed tree for later starts,
and launches the same existing backend. Also fix the installer-argument parser
and document TAURI.md in the product doc indexes.

Verified locally in the pinned Debian 12 build image: deb bundle + extract +
--version + real backend --smoke PASS.
2026-12-03 13:14:00 +08:00
cflmy ebc2e9a64d fix(mqdh): bundle deb without the asset protocol and via the reviewed mirror (#31)
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/tauri-linux Pipeline was canceled
ci/woodpecker/pr/ci Pipeline was canceled
The MQDH shell never exposes the Tauri asset protocol, so disable it
explicitly. Tauri 2.13 otherwise downloads a GStreamer asset plugin from
GitHub at deb bundle time; fetch bundler assets through the internal reviewed
mirror instead of requiring direct GitHub access in CI.
2026-12-03 12:59:01 +08:00
cflmy 61d0976463 fix(mqdh): package from the current version, not a stale .ci manifest (#31)
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
2026-12-03 12:50:52 +08:00
cflmy fafb49a633 build(mqdh): pin the Tauri crate graph and build image recipe (#31)
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
- commit Cargo.lock for the desktop shell
- generate the desktop icon set from the existing approved MQDH icon
- add the app-owned Tauri build image Dockerfile/build script
- record the pinned Tauri CLI 2.13.0 and Rust 1.100 toolchain
2026-12-03 12:39:54 +08:00
cflmy c090cc786e feat(mqdh): add the Tauri desktop shell and installer release contract (#31)
Add the minimal Tauri 2 desktop adaptation for the existing /mqdh workbench:
the shell starts the bundled production tree on loopback, waits for the real
readiness URL, navigates only inside that origin, keeps a single instance and
stops only its own process tree. The product UI, Harness service and update
discovery are unchanged.

- src-tauri: Tauri config, core-only capability, Rust lifecycle/security shell
- scripts/tauri: resource staging, Linux deb build + smoke, Windows/macOS native
  lane scripts, installer attachment to the existing release manifest
- .woodpecker/tauri-*: Linux lane plus labelled native Windows/macOS lanes
- docs/mqdh/TAURI.md + ADR 0001: Tauri 2 is the only official desktop wrapper
- version 0.2.0-beta.1; portable archive remains an advanced/diagnostic asset

Windows/macOS remain BLOCKED until native agents and signing credentials exist;
no simulated bytes are produced.
2026-12-03 12:34:46 +08:00
cflmy 217e37ec6f feat: ship the latest MQDH frontend in the portable ZIP
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline was successful
The launcher opens the branded /mqdh workbench; the portable packaging script accepts a prebuilt application tree so the ZIP carries the latest frontend build without rebuilding the bundle. Adds the packaging tree mode and the updated launcher.
2026-12-03 11:04:13 +08:00
cflmy 2587c46b4a docs: record the formal Windows portable ZIP release
The single-download ZIP, GUI launcher cold start, inherited DSH UI HTTP check and offline runtime bootstrap are verified; also fix the packaging script's reserved HOME variable.
2026-12-03 10:54:10 +08:00
cflmy 822332b74d feat(mqdh): add product branding and ecosystem navigation 2026-12-03 10:17:14 +08:00
cflmy 0dd4bb5edf fix: keep the portable launcher source and script parameter list valid
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/tag/ci Pipeline failed
The merged launcher source contained broken literals from an encoding round-trip and the ZIP script kept a dangling separator after dropping the 7z option; rewrite the launcher and fix the parameter list.
2026-12-03 09:41:09 +08:00
cflmy 18be7c04e7 build: ship a formal Windows portable ZIP with a no-console launcher
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline was successful
The portable artifact is MQDH-<version>-win-x64.zip: extract and double-click MQDH.exe; the thin GUI launcher installs the bundled offline runtime and opens the inherited DSH Web UI. Adds the launcher build/packaging scripts, a portable-zip release-manifest format, docs and naming test.
2026-12-03 09:25:25 +08:00
cflmy 57a9e0332f docs: record the usable Windows MQDH build
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Offline runtime pack bootstrap, real check/call smoke and cold-install evidence for the 2026-12-03 Windows experimental build; also fix the package script variable shadowing found during packaging.
2026-12-03 01:37:06 +08:00
cflmy 0d3a9c4369 feat: bootstrap a bundled Windows runtime and run documents on win32
ci/woodpecker/tag/ci Pipeline was successful
- bundle-runtime deps: launcher points bootstrap at runtime-deps when present;
- install native Windows CLI/Worker names and platform-aware executable lookup;
- accept pc-windows-msvc offline archive names and fix workspace path containment with path.relative;
- package-windows gains -RuntimeDeps with digest verification and records bundled_runtime;
- tests/docs for the Windows offline runtime and executable names.
2026-12-03 00:37:54 +08:00
cflmy 54f1c090fc docs: record the experimental Windows MQDH distribution
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/push/ci Pipeline is pending
Release tag mqdh-win-experimental-2026-12-02 points at the built source commit; this post-release record carries the cold-install evidence, archive identity and boundaries.
2026-12-02 21:50:22 +08:00
cflmy 10a40b32c6 build: distribute MQDH on Windows x86_64 (experimental)
- add scripts/package-windows.ps1, scripts/install.ps1 and scripts/mqdh.cmd for a portable Windows tree with a user-level install, version pointer and launcher;
- teach the release manifest script the Windows target/platform fields and publish the Windows target in the platform table;
- cover the Windows target in platform/manifest tests and document the experimental Windows scope (unsigned, manual updates, no native CI lane).
2026-12-02 21:50:22 +08:00
cflmy 0f63ced004 build: record the installed CLI runtime identity in app release evidence
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/ci Pipeline was canceled
2026-12-02 16:42:01 +08:00
cflmy 5573c7cacc release: prepare MQDH 0.1.0-beta.1 against CLI 3.0.0-rc.7
ci/woodpecker/push/ci Pipeline was canceled
Bump the product version to the public beta channel and pin the CI runtime
input to the root-accepted CLI v3.0.0-rc.7 archive digest.
2026-12-02 16:32:46 +08:00
cflmy fd1d129e00 feat: add a read-only mqdh status ecosystem view
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Start the app-harness#16 version-visibility slice with `mqdh status [--json]`:
one read-only report of the application version/home/workspace, platform and
Node, ecosystem candidate/version, Bundle version/modules/digest, installed tool
versions, market/knowledge counts and the privacy constants. JSON uses the
stable schema marqdo.mqdh.status.

The launcher product-command set and HELP include status; ARCHITECTURE records
the command. The CLI test covers JSON and text output for an empty install and
asserts the honest "not installed"/false values. This is not the full latest
version/release-notes/download view from #16; that remains UNVERIFIED.

Verified locally: all downstream node tests 77 pass/3 skipped; typecheck gates
5/5 pass.
2026-11-30 20:21:33 +08:00
cflmy 629cff0301 feat: add the dynamic extension market and capability control
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Replace the fixed component candidate enumeration with a user-configurable
market projection over Gitea topics and local directories. Install verified
payloads into a user-level capability store, require explicit activation and
scope enablement before a model can see them, and gate project import through
the published CLI add/lock commands. Update the ecosystem catalog, bootstrap
default tool installation, and status evidence.
2026-11-29 10:20:41 +08:00
cflmy 980e07dfae build: pin the DSH upstream identity in the package manifest
ci/woodpecker/push/ci Pipeline was canceled
The tag-only package lane cannot rely on an upstream git remote. Record the\ntested DSH baseline in packages/marqdo/harness/package.json and let the release\nmanifest/evidence fall back to it, so a clean clone still produces a complete\nmanifest. UPSTREAM.md documents the single record and update rule.
2026-11-28 23:14:48 +08:00
cflmy 475e774536 ci: scope the shared-egress gate to Node-side sources
The browser API client in src/web/assets.ts must use fetch; the gate now only rejects Node-side product sources that bypass src/network. CI passes end-to-end with real Release install and Bootstrap.
2026-11-28 23:12:51 +08:00
cflmy 5f56c23455 feat: add unified egress, bootstrap, diagnostics and app distribution
Implements the four follow-up design issues for MQDH:\n\n- network: one policy/proxy/mirror/offline/audit client for product egress\n- bootstrap: first-run state machine, default Tools, real smoke, doctor/repair\n- diagnostics: local redacted reports and explicit Gitea issue submission\n- distribution: release manifest, user install tree, update/rollback, installer\n\nThe product CLI exposes bootstrap/doctor/repair/report/update/network and the\n/mqdh workbench renders the same services. Marqdo runtime artifacts remain\ndownloaded from trusted releases; unsupported platforms and unrun gates stay\nUNVERIFIED in docs/mqdh/STATUS.md.
2026-11-28 23:07:07 +08:00
cflmy 9b6acf0569 refactor: rename the product abbreviation to MQDH
ci/woodpecker/push/ci Pipeline was successful
Rename the downstream identity consistently: MQDH_HOME and MQDH_* env
vars, @marqdo/mqdh-harness, @marqdo/mqdh-bundle, the mqdh profile and
launcher, /mqdh routes, marqdo.mqdh.* schemas, docs/mqdh, CI variables and
all user-facing prose. Product name remains Marqdo Harness; command is
mqdh. No behavior change; 29 tests and the host typecheck pass.

Part of marqdo#25.
2026-11-28 16:34:44 +08:00
cflmy 25fc24eea4 feat: add Marqdo Harness product services and workbench
Implement the downstream product in `packages/marqdo`:

- `@marqdo/mdh-harness`: application home layout, atomic writes, locks,
  bounded fixed-argv processes, safe tar extraction, Observation 1 and
  ValueWire validation;
- trusted Gitea release discovery, SHA-256/platform/Bundle verification,
  transactional environment install, rollback and cleanup, CLI Tool changes;
- private knowledge collections with strict import policy, the official
  `marqdo-knowledge` compile/query adapter and a disclosed locator fallback;
- Analysis 3 parsing, approved run/call execution, evidence and staleness;
- the six model operations (find/read/check/program/ecosystem/knowledge_search);
- the `/mdh` workbench over the existing web server with a same-origin fence;
- `mdh` launcher, CI/package/upstream scripts and a Woodpecker pipeline.

Tests: 28 node:test cases (27 PASS, one network-gated install test also PASS
with MDH_TEST_INSTALL=1). Product install/workbench evidence is recorded in
docs/mdh/evidence.

Part of marqdo#25 (MDH-03..MDH-08).
2026-11-28 10:41:39 +08:00
imccyu 09d9609a28 Merge pull request #8837 from deepseek-harness/chore/node-24-22-3-floor
chore(deps): raise the Node.js floor to 24.22.3
2026-11-22 11:23:51 +08:00
yudshj d417b2a430 test(snapshots): 同步 master 后重新生成单 Office 入口的目录录制
master 新增的推荐技能(official-plugins、personalized-pages)改动了同一份
技能目录。rebase 时冲突的 SDK 与单文件 exe 录制取 master 版本,再把其中
四条 Office 目录项替换为单条 office;manual-compact 记录的压缩 token 估算
随目录长度变化,用 keyless refresh 重新计算。
2026-11-20 23:50:06 +08:00
yudshj 7f8e3720b8 feat(office): Office 技能目录只保留 office,格式指导改为按需读取的资源文件
docx、pptx、xlsx 的指导从独立技能移到 office 技能目录下的 docx.md、
pptx.md、xlsx.md,模型加载 office 后用 read 按需读取;tool-office 的
activationSkills 默认值改为 office。
2026-11-20 23:27:24 +08:00
Dudu-0223 d0be6ccd9d fix(recommendations): scope Creator skills and enable the SDK catalog 2026-11-20 21:31:56 +08:00
ZiyaZhangandDudu-0223 3259436cb1 feat(web): ship personalized recommendations by default
Mount the recommendation plugins in Web and Desktop and expose their skill
switch in General settings. Record card decisions as Session events and
replay decisions from older plugin records. Use English for the two skill
catalogs and retire the optional recommendations bundle.

Co-authored-by: Dudu-0223 <fsyo0223@gmail.com>
2026-11-20 21:31:55 +08:00
creatixchu 97ddb7e5be Merge master and track system keyboard holds alongside mouse input 2026-11-20 18:34:57 +08:00
EricMoin c50abb6f2f fix(ui-conversation): preserve composer bar props for existing plugins 2026-11-20 16:41:36 +08:00
imccyu c0a05ff31e ci: rebuild the benchmark native addon when the restored one does not load
node-24-build can run on the self-hosted pool while the benchmarks stay on
hosted Linux; the phase jobs now load the restored Node-API addon and rebuild
it on their runner if it fails. The report spec cleans its directories with
onTestFinished, which also removes a clone the duplication gate reported.
2026-11-20 15:46:59 +08:00
imccyu 0394e32ce6 ci: run the benchmark phases in parallel on the shared build and render one report
node-24-bench becomes a two-entry matrix that restores the node-24-build
output, bundles only the benchmark workers, and runs one suite phase per idle
runner: phase first holds the corpus cases and phase last the serial files
listed in SERIAL_BENCH_FILES. Each phase uploads its results.jsonl and the
measuring environment; node-24-bench-report renders one benchmark-report on a
small runner under Node type stripping and stays out of all-checks-passed.
2026-11-20 15:23:15 +08:00
imccyu f5dc990da8 ci: split coverage across two file shards and merge on a small report job (#8868)
* ci: split coverage across two file shards and merge on a small report job

Coverage runs as a three-lane matrix: two instrumented file shards that deal
path-sorted test files in snake order (DSH_COVERAGE_SHARD) and the
uninstrumented heavy suites. Each shard uploads its blobs, file list, and
durations; node-24-coverage-report re-lists the inventory, checks the shards
partition it, merges the blobs with thresholds on a 2-vCPU runner, and alone
saves the duration history. Only the report job joins all-checks-passed.

* ci: run the coverage heavy suites on the first shard and split shards by file size

The exempt heavy suites finished in about a minute on a dedicated 16-vCPU
runner, so they join shard 1 with the coverage lane's usual worker split.
Shards now deal files largest first by byte size instead of by path order,
so the heaviest suites no longer land on one shard. The coordinator repeats
each failed partition and its Vitest FAIL lines after all partitions finish,
and run-gates.spec clears DSH_COVERAGE_SHARD inherited from the CI shard.

* ci: give the coverage merge a 4 GB heap on the small report runner

Merging both shards' blobs exhausted Node's default heap of about 2 GB on
the 2-vCPU report runner (run 44664262449).

* ci: merge coverage shards on an 8-vCPU runner

The merge took 154s on the 2-vCPU report runner against ~30s on the former
16-vCPU lane (run 44667701311).

* ci: address review on the coverage shards

- Shards record their checkout root, and the merge rewrites that prefix in
  blobs from another checkout so one source file never merges as two.
- Shard blob uploads overwrite on a re-run of the same workflow run.
- The coverage report lane joins the runner-temp and compile-cache lane
  lists in ci-workflow.spec.
- The failover runbook states the self-hosted shard and exempt workers.

* ci: address the second coverage-shard review and leftover lane cleanup

- The cross-checkout blob rewrite spec builds roots and paths with join(),
  so it holds on Windows, where the rewrite prefix ends in a backslash.
- The failover runbook names the current coverage, build, consumer, and web
  snapshot checks instead of the former single-job names.
- node-24-build and node-24-consumers drop env variables that none of their
  gates read.
2026-11-20 13:03:57 +08:00
imccyu aa8c72d1d2 test(benchmarks): gate transcript restyles while the right Sidebar is dragged
Move the right Sidebar drag diagnostic into the required serial browser
benchmark inventory. It budgets the elements Chromium restyles during a
drag that leaves the content width unchanged, as a dimensionless multiple
of the page's elements, and replays recorded before/after samples as its
negative control. Also type the registered-property entries in the
end-reserve style test.

Refs #8856
2026-11-20 12:10:31 +08:00
imccyu 0ee562045e ci: build once and fan web snapshots out across weighted shards (#8861)
* ci: build once and fan web snapshots out across weighted shards

* ci: stamp restored build output with the extraction time

Build-time mtimes shifted past the clock made HMR treat freshly loaded
lib/ modules as changed and reload a plugin context while it was still
loading (plugin-manager-mcp headless snapshot).

* ci(web): run the longest web snapshot files as round-robin test slices

* ci: address review on the build-once fan-out
2026-11-20 12:09:36 +08:00
imccyu 2754e9fe8c ci(css): reject costly unkeyed CSS selectors and retire existing ones
Add verify-css-selectors to the hygiene gates. It rejects a subject
compound without a class, id, attribute or type key that matches through
:not(), :empty or :has(); a universal selector that names no class, id
or attribute anywhere; and :has() outside the subject compound. Chromium
evaluates such rules on every restyled element or invalidates whole
subtrees. Class-scoped forms such as '.card *' and '.list > :first-child'
are accepted, and the listed base stylesheets are exempt from the subject
rules.

Existing occurrences are recorded in scripts/css-selectors.baseline.json;
new ones fail and retired ones must be pruned. Rewrite existing selectors
where the matched elements stay the same, and document the rule in the
Web styling reference.
2026-11-20 01:59:10 +08:00
imccyu 0d36b3179e Merge pull request #8854 from deepseek-harness/test/ptc-explicit-execution-mode
test(ptc): name the Node PTC execution mode in tests and add scoped REPL counterparts
2026-11-20 01:58:51 +08:00
Ruilin Geng 86295eee18 Merge pull request #8815 from deepseek-harness/feat/dingtalk-plugin
feat(dingtalk): 新增钉钉插件并支持在插件页登录钉钉账号
2026-11-20 00:57:01 +08:00
imccyu 9fae65aeea test(ptc): name the Node PTC execution mode in tests and add scoped REPL counterparts 2026-11-20 00:27:32 +08:00
imccyuandimccyu e25df02c51 refactor(session): prepare Session validation and header building for SessionData (#8676)
* refactor(session): move Session log validation into a module

Move header, seed-event envelope, and inherited-cut validation out of the
Session constructor into validation.ts without changing check order or error
text. Export needsInheritedSeedMarker for the fork marker rule the
constructor applies.

* feat(session): validate a Session log without constructing a Session

validateSessionLog composes the header, seed-event, surface, and
inherited-cut checks of Session construction in the same order. Omitting
eventState matches Session.create; an event state matches
Session.fromRestore.

* refactor: validate stored Session logs with validateSessionLog

The chat importer, session-query readSession, the format catalog, and JSONL
generation verification constructed a discarded Session only to validate a
log. They now call validateSessionLog with the same mode, inherited count,
and message interpreters.

* refactor(session): extract buildSessionHeader

Move new-Session header construction out of SessionStore.prepare into the
exported buildSessionHeader and name its input SessionHeaderMeta.
Automatic ids and duplicate checks stay in prepare.

* refactor(session): move header and fork error helpers out of the session index

Move buildSessionHeader into validation.ts and SessionForkError with
SessionForkErrorCode into fork.ts so later modules can import them without
importing index.ts. index.ts re-exports both under the same names. Complete
the JSDoc of the exported validation helpers.

* refactor(session): extract checkSessionLog from the Session constructor

Move header validation, seed acceptance with surface admission, and the inherited-cut check into checkSessionLog in validation.ts, keeping the constructor's order and errors. The Session constructor and validateSessionLog call it.

* test(session): cover Session log validation and construction helpers

Cover validateSessionLog against Session.create and Session.fromRestore in
every event state, buildSessionHeader, needsInheritedSeedMarker,
Session.readEvents range semantics, and the fork subpath export of
SessionForkError.

* docs(session): document Session log validation

Document validateSessionLog, buildSessionHeader, needsInheritedSeedMarker,
Session.readEvents, and the SessionForkError subpath export in the package
README. Align the Session and CreateSessionOptions type blocks, add
SessionHeaderMeta, regenerate the Cordis, event graph, and persistence
catalogs, and update the plugin entry, unknown-cast, and package dependency
registries.

---------

Co-authored-by: imccyu <cc.yu@deepseek.com>
2026-11-20 00:11:27 +08:00
gengruilin 76b3d7f931 Merge remote-tracking branch 'origin/master' into feat/dingtalk-plugin 2026-11-19 23:02:35 +08:00
imccyu b5e0f319da ci: fetch Ubuntu archives over HTTPS and install Playwright beside the build 2026-11-19 22:49:33 +08:00
creatixchu f8334a2caf Merge master and refresh the CUA persistence acknowledgements 2026-11-19 21:35:26 +08:00