mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 21:07:01 -06:00
refactor(plugin-sdk): make API baseline module-mergeable (#121842)
This commit is contained in:
committed by
GitHub
parent
2cc11aff38
commit
3cfb344f9f
@@ -7,7 +7,7 @@ snapshots remain local inspection artifacts.
|
||||
|
||||
- `config-baseline.sha256` — hashes of config baseline JSON artifacts.
|
||||
- `config-baseline.counts.json` — maximum entry counts for each config baseline kind.
|
||||
- `plugin-sdk-api-baseline.jsonl` — one content-derived record per Plugin SDK module and export.
|
||||
- `plugin-sdk-api-baseline.jsonl` — one content hash per Plugin SDK module.
|
||||
- `sqlite-session-transcript-schema-baseline.sha256` — hash of the sessions/transcripts SQLite schema baseline.
|
||||
|
||||
**Local only (gitignored):**
|
||||
@@ -24,11 +24,11 @@ Do not edit any of these files by hand.
|
||||
- Validate Plugin SDK API contract manifest: `pnpm plugin-sdk:api:check`
|
||||
|
||||
The Plugin SDK contract sorts modules by import specifier and exports by kind
|
||||
then name. Its line-delimited records keep concurrent changes to separate
|
||||
exports mergeable. Export records carry the normalized `declaration` and an
|
||||
explicit `closureHash` for surface-reachable repo declarations. Committed
|
||||
records omit source paths so file moves do not change the contract; origin
|
||||
`source` fields remain available in the local pretty JSON snapshot.
|
||||
then name. Each line hashes one module's normalized declarations and the
|
||||
surface-reachable declaration closure hashes, so changes to different modules
|
||||
do not rewrite shared aggregate records. Committed records omit source paths so
|
||||
file moves do not change the contract; origin `source` fields remain available
|
||||
in the local pretty JSON snapshot.
|
||||
|
||||
- Regenerate SQLite sessions/transcripts schema baseline: `pnpm sqlite:sessions-schema:gen`
|
||||
- Validate SQLite sessions/transcripts schema baseline: `pnpm sqlite:sessions-schema:check`
|
||||
|
||||
+152
-5018
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user