mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2026-11-27 06:32:42 +00:00
Compare commits
472
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
198b85d53a | ||
|
|
02a8318f82 | ||
|
|
d7b344ec2c | ||
|
|
e02edbaac2 | ||
|
|
75c8f3b792 | ||
|
|
5f199c99d1 | ||
|
|
5ffd26c484 | ||
|
|
13edf710b0 | ||
|
|
9cd48595ae | ||
|
|
3318f21699 | ||
|
|
30ac87ceda | ||
|
|
68e6744e4b | ||
|
|
e33df8410a | ||
|
|
b633803349 | ||
|
|
5315636096 | ||
|
|
899e61a026 | ||
|
|
63bda424ba | ||
|
|
03e0ecd15f | ||
|
|
6789310cbc | ||
|
|
ecf668a310 | ||
|
|
13489d791f | ||
|
|
c41468c706 | ||
|
|
4f0e2fb7d7 | ||
|
|
8d50b07302 | ||
|
|
f6d89717ad | ||
|
|
73b631abff | ||
|
|
32827ab679 | ||
|
|
bb65485b9b | ||
|
|
5e8ec2a4a2 | ||
|
|
da2a8c6990 | ||
|
|
02c3339cf6 | ||
|
|
cd667faacf | ||
|
|
7b8b19c2b5 | ||
|
|
fcd0bb937a | ||
|
|
1a8ee3e46d | ||
|
|
3f0a4cca22 | ||
|
|
b5f97ceaf4 | ||
|
|
57b50cb920 | ||
|
|
599815d9e0 | ||
|
|
3ac946ec16 | ||
|
|
036aa54800 | ||
|
|
7aedebfa4e | ||
|
|
165c3faa51 | ||
|
|
18af543a37 | ||
|
|
20ea50d494 | ||
|
|
7878222101 | ||
|
|
fdca179677 | ||
|
|
867c48d154 | ||
|
|
8479d6d3a1 | ||
|
|
df3fc0bf74 | ||
|
|
ddc046255c | ||
|
|
3af2423238 | ||
|
|
8dbd9ad7ad | ||
|
|
90966e62b3 | ||
|
|
78674a39cc | ||
|
|
8b6f79efa3 | ||
|
|
6a3e2eb2e4 | ||
|
|
bf7cd48984 | ||
|
|
87f0f929fb | ||
|
|
9390d8dda1 | ||
|
|
c5441e7ef5 | ||
|
|
1907a6d9a8 | ||
|
|
c9f1984823 | ||
|
|
805fd4d8d4 | ||
|
|
87c5de54ed | ||
|
|
407e11d9e8 | ||
|
|
83c35ffffe | ||
|
|
c7d0818476 | ||
|
|
2ef81a5d03 | ||
|
|
9c209a82cb | ||
|
|
c5b82a7000 | ||
|
|
a5747b26b7 | ||
|
|
0da8ab3216 | ||
|
|
3fa23d63dc | ||
|
|
13bac7afab | ||
|
|
07c1efc2ff | ||
|
|
b32edf1dfe | ||
|
|
7de41e7324 | ||
|
|
a395c7d59b | ||
|
|
38ea57463c | ||
|
|
0a3c495a2e | ||
|
|
2252e5aeef | ||
|
|
76ffd8ed4d | ||
|
|
0f24b038bb | ||
|
|
809e08af16 | ||
|
|
14115712a8 | ||
|
|
5d442b70ff | ||
|
|
375b460c0b | ||
|
|
1f429d9616 | ||
|
|
8d54f16c57 | ||
|
|
ed42804dae | ||
|
|
2697b755ef | ||
|
|
f31dff9ec1 | ||
|
|
03f0011635 | ||
|
|
aa643ce4cd | ||
|
|
1cf7103ac0 | ||
|
|
3646a6753e | ||
|
|
842328c9c4 | ||
|
|
8092ca7146 | ||
|
|
4827c6a75e | ||
|
|
39bf2d969a | ||
|
|
248907e596 | ||
|
|
86d52ad523 | ||
|
|
3dd4e7344b | ||
|
|
8d8e4b6c94 | ||
|
|
e0991bd4d1 | ||
|
|
6843613644 | ||
|
|
922c5d5806 | ||
|
|
996f1a9f87 | ||
|
|
840fe45325 | ||
|
|
7fd460224b | ||
|
|
88e8d0792a | ||
|
|
6644f29c92 | ||
|
|
85312be92d | ||
|
|
5652a2ce63 | ||
|
|
5cb15c2efe | ||
|
|
34855e3d5f | ||
|
|
5b926e2957 | ||
|
|
e1eb806509 | ||
|
|
bdbd8769a2 | ||
|
|
5429408ad0 | ||
|
|
350f4b90ca | ||
|
|
763f6ae392 | ||
|
|
8d7857f3ed | ||
|
|
e0e9e53fc7 | ||
|
|
9bc9a4aa2d | ||
|
|
ebb7916b9b | ||
|
|
911628bd1a | ||
|
|
f5be65ac5f | ||
|
|
34550da24d | ||
|
|
1f44590593 | ||
|
|
e771a9a702 | ||
|
|
52fb931aed | ||
|
|
d5dd94799c | ||
|
|
ae661c0ee8 | ||
|
|
0c994859ed | ||
|
|
1064db5913 | ||
|
|
81c681e4c0 | ||
|
|
7820f0c137 | ||
|
|
ed99e79316 | ||
|
|
8a0e294013 | ||
|
|
d6489ec25b | ||
|
|
7e80c1bd76 | ||
|
|
2e37819804 | ||
|
|
c0cf7da4a5 | ||
|
|
fd32ac682e | ||
|
|
ab1ef6da42 | ||
|
|
71dffd9a08 | ||
|
|
814526f919 | ||
|
|
f5d5d217ac | ||
|
|
780d1440a2 | ||
|
|
742d17064b | ||
|
|
84a30be099 | ||
|
|
9b2874ba17 | ||
|
|
bebf652f50 | ||
|
|
3af82e3659 | ||
|
|
b26982a2a3 | ||
|
|
9cb6c5eb1f | ||
|
|
4199a3dd38 | ||
|
|
9fe8f28411 | ||
|
|
e4a36a6b39 | ||
|
|
65f63a3049 | ||
|
|
f240fb86db | ||
|
|
098e6ee13d | ||
|
|
9c08d8148b | ||
|
|
38bf80fbf4 | ||
|
|
8c9a9460f1 | ||
|
|
1cd600efcb | ||
|
|
3fc7cc9caf | ||
|
|
aed9b64e75 | ||
|
|
6cffcacc81 | ||
|
|
49b6f67869 | ||
|
|
0e6c48c563 | ||
|
|
70dfcd74ff | ||
|
|
265244b8f4 | ||
|
|
bd3b63435c | ||
|
|
71c68f1f23 | ||
|
|
e3f421b3d1 | ||
|
|
5474db6834 | ||
|
|
b8b2273930 | ||
|
|
de5f791c80 | ||
|
|
d7d9a355ef | ||
|
|
afd763e60c | ||
|
|
8d7f4ae4d1 | ||
|
|
83052d2b38 | ||
|
|
eb616f363e | ||
|
|
680e8a54e0 | ||
|
|
62a3f430fb | ||
|
|
97c254e6a6 | ||
|
|
21e6e1a600 | ||
|
|
48e70b73cd | ||
|
|
62e2733a04 | ||
|
|
d8877a18cf | ||
|
|
8f232a604e | ||
|
|
1d4a7aa6ab | ||
|
|
22f392776e | ||
|
|
a93205018b | ||
|
|
962416bbd3 | ||
|
|
31a3d50a85 | ||
|
|
19e9a116fc | ||
|
|
9e52063296 | ||
|
|
5156e39ace | ||
|
|
5e4c83f637 | ||
|
|
f266a8db3b | ||
|
|
a846b3d8ee | ||
|
|
1fb0932ea5 | ||
|
|
8a892cf38c | ||
|
|
d18108ff2a | ||
|
|
2223e6771b | ||
|
|
93bee9b4e2 | ||
|
|
769071debb | ||
|
|
f91549585d | ||
|
|
bd23578b6c | ||
|
|
8fdac7c0d4 | ||
|
|
996be718c7 | ||
|
|
ecc664872e | ||
|
|
95392de860 | ||
|
|
37e701724b | ||
|
|
bac3c88374 | ||
|
|
0b11364697 | ||
|
|
878caa7cb4 | ||
|
|
a1da1bbe73 | ||
|
|
89e1b4670e | ||
|
|
d53f039ad0 | ||
|
|
4ebbf50470 | ||
|
|
16e0fa353c | ||
|
|
abf35c06de | ||
|
|
10d6c1f7de | ||
|
|
6b6cd06586 | ||
|
|
179a45da16 | ||
|
|
3746c5903a | ||
|
|
60af5d5cb8 | ||
|
|
572cb9c381 | ||
|
|
995fd11a1f | ||
|
|
b365a35f09 | ||
|
|
cb0e2913d8 | ||
|
|
80cb935983 | ||
|
|
b022db60b6 | ||
|
|
a4b74d2b3a | ||
|
|
62345d4feb | ||
|
|
01945495d4 | ||
|
|
b0b8a2b039 | ||
|
|
45205e99c4 | ||
|
|
1fb51da598 | ||
|
|
81a401d5df | ||
|
|
468a28a7e8 | ||
|
|
ae4c94d2bf | ||
|
|
a9ee5ca95c | ||
|
|
4acaf9e375 | ||
|
|
5023a771a3 | ||
|
|
3cf8bd8d00 | ||
|
|
2f12588d99 | ||
|
|
89a2dabdc2 | ||
|
|
0ba2608a4a | ||
|
|
1e60f82b45 | ||
|
|
3cef89dcda | ||
|
|
cabec91055 | ||
|
|
769d58ea45 | ||
|
|
41072f2929 | ||
|
|
07dec1218c | ||
|
|
0abab16c7a | ||
|
|
48c353519a | ||
|
|
d39bfa9c6d | ||
|
|
5e2bb7719f | ||
|
|
e4951c107a | ||
|
|
f0dd5cb7ca | ||
|
|
44dac3237c | ||
|
|
3d8244b372 | ||
|
|
8a9f33a33f | ||
|
|
523f971088 | ||
|
|
bf541ca5d4 | ||
|
|
db094fb04d | ||
|
|
3551b706a8 | ||
|
|
d47cb75475 | ||
|
|
a93f67be1b | ||
|
|
3d69aa7aec | ||
|
|
29fac30f9e | ||
|
|
09642b981e | ||
|
|
37bd78fa73 | ||
|
|
bd3083c114 | ||
|
|
c4affd27d6 | ||
|
|
36590861f4 | ||
|
|
078f48e28a | ||
|
|
f30b4c5d3d | ||
|
|
593ad99bab | ||
|
|
f591b7558f | ||
|
|
9cf33817b7 | ||
|
|
128a9ef47b | ||
|
|
96bd2212c2 | ||
|
|
3d8f312add | ||
|
|
bd40308a83 | ||
|
|
3e13b61c6d | ||
|
|
921f679f0b | ||
|
|
c3955cad5f | ||
|
|
5da2b452f1 | ||
|
|
2d39586865 | ||
|
|
3f98be4500 | ||
|
|
038384ce2a | ||
|
|
7f16448595 | ||
|
|
ef9b7cd014 | ||
|
|
0d5a809372 | ||
|
|
496d451914 | ||
|
|
f25a7ba08b | ||
|
|
eb284a1c85 | ||
|
|
6e3c8d7468 | ||
|
|
41e578320c | ||
|
|
a951d371cb | ||
|
|
542fcec6ac | ||
|
|
d31ac3b62b | ||
|
|
f96cbc53ff | ||
|
|
dbc9476202 | ||
|
|
8e08316ba6 | ||
|
|
1eb1aa9ff0 | ||
|
|
a18fd81133 | ||
|
|
d38510fad7 | ||
|
|
a8182899b7 | ||
|
|
b48112e4ca | ||
|
|
5c5e351258 | ||
|
|
9d5057dba7 | ||
|
|
9e69f245b5 | ||
|
|
ac359575f6 | ||
|
|
718f671109 | ||
|
|
6294305dd8 | ||
|
|
add50b79d4 | ||
|
|
6197ebe199 | ||
|
|
5c51d057f3 | ||
|
|
593b02cce3 | ||
|
|
b255fe49c5 | ||
|
|
74d1529dcb | ||
|
|
bd489d7db7 | ||
|
|
a5ec501be8 | ||
|
|
3998139437 | ||
|
|
1bab2536d6 | ||
|
|
3dd05bca4e | ||
|
|
287f6a1cc6 | ||
|
|
b661cb45f5 | ||
|
|
6474b18464 | ||
|
|
bf93306fbd | ||
|
|
29d647b510 | ||
|
|
abebbc22fd | ||
|
|
f110a7be96 | ||
|
|
9b11d9e79f | ||
|
|
98d0fb193c | ||
|
|
7e6fd737d6 | ||
|
|
8ab48bba05 | ||
|
|
e81d90f0e9 | ||
|
|
f265b64ca0 | ||
|
|
24287ef627 | ||
|
|
a01e337336 | ||
|
|
ab1131a950 | ||
|
|
b905ff7001 | ||
|
|
63a466afbd | ||
|
|
ba77c36585 | ||
|
|
c28f989e23 | ||
|
|
4948e4e347 | ||
|
|
3c3a26ec3b | ||
|
|
2580ab8495 | ||
|
|
d491996112 | ||
|
|
f5503b950a | ||
|
|
6018801df4 | ||
|
|
5f68ed18bc | ||
|
|
3dd6320b12 | ||
|
|
7f28393251 | ||
|
|
e422209667 | ||
|
|
b9481c320a | ||
|
|
96fe982a6c | ||
|
|
1354930dff | ||
|
|
91d085fafa | ||
|
|
839f0547a0 | ||
|
|
1cf58ce9e5 | ||
|
|
1d1dd36554 | ||
|
|
452107f653 | ||
|
|
a634ce27f4 | ||
|
|
25d7e16404 | ||
|
|
d1bd628ce7 | ||
|
|
69b0596c84 | ||
|
|
4f6dc6260c | ||
|
|
d8defd4c00 | ||
|
|
c033e8b688 | ||
|
|
e5ba009cff | ||
|
|
c7c53f5d3e | ||
|
|
178d3178d5 | ||
|
|
3159282986 | ||
|
|
fbf64dc907 | ||
|
|
071e3ef32a | ||
|
|
58d8ea8427 | ||
|
|
45144b52d4 | ||
|
|
3899d05664 | ||
|
|
af1cbe744d | ||
|
|
a42e9525df | ||
|
|
0e60557cf7 | ||
|
|
3e4ab8c138 | ||
|
|
bcd4089a73 | ||
|
|
8e13a1808b | ||
|
|
d0b2886fda | ||
|
|
abff7747e3 | ||
|
|
a601c3f470 | ||
|
|
9fc77783c6 | ||
|
|
2d14cb90c5 | ||
|
|
7abf0dfea2 | ||
|
|
41b6f52161 | ||
|
|
e35ed8ed69 | ||
|
|
01506674c7 | ||
|
|
3c159af7ef | ||
|
|
c1b6f280e5 | ||
|
|
d2f331b32e | ||
|
|
0b52d3f028 | ||
|
|
0ac5625752 | ||
|
|
2d64102fd8 | ||
|
|
e1300933f3 | ||
|
|
6cab6faf8f | ||
|
|
136b6d2599 | ||
|
|
568a6c62e6 | ||
|
|
7c562520b4 | ||
|
|
d76a405f09 | ||
|
|
2a46de4fb9 | ||
|
|
b4f7b3f2d3 | ||
|
|
dd30161150 | ||
|
|
f9b8093250 | ||
|
|
ff728e0023 | ||
|
|
9d26574170 | ||
|
|
f25410e686 | ||
|
|
65ac23d9b3 | ||
|
|
1c8b10130a | ||
|
|
4e7f46993c | ||
|
|
e6f3e59aec | ||
|
|
ed60ee1ddf | ||
|
|
76bc65f664 | ||
|
|
992f14797a | ||
|
|
af6824d9ac | ||
|
|
402023519f | ||
|
|
d1e6a73e8b | ||
|
|
ad6b2b8b4d | ||
|
|
fe8a96ee7f | ||
|
|
f1bf213898 | ||
|
|
9be221a313 | ||
|
|
58081803a1 | ||
|
|
ba0e66888c | ||
|
|
0a92beec06 | ||
|
|
c1d471bb1f | ||
|
|
529d584f01 | ||
|
|
98b8aa2eba | ||
|
|
8f58faaa0d | ||
|
|
e9305f3501 | ||
|
|
052dfe3c12 | ||
|
|
59f655ed46 | ||
|
|
1f20425f3d | ||
|
|
06647f8ea3 | ||
|
|
5127f78def | ||
|
|
7f136e0618 | ||
|
|
e079827dd3 | ||
|
|
d848084b59 | ||
|
|
5bbf266455 | ||
|
|
fc4f91339f | ||
|
|
1ae56692aa | ||
|
|
d1f87855e4 | ||
|
|
04eee5f373 | ||
|
|
c121056558 | ||
|
|
cd1d243ac5 | ||
|
|
0214eaed59 | ||
|
|
0245964a04 | ||
|
|
a2263bc253 | ||
|
|
a932f10e90 | ||
|
|
da124f019b | ||
|
|
6f1f277ed9 | ||
|
|
d7dd08fad6 | ||
|
|
355d7c2d46 | ||
|
|
b9d12c09e3 | ||
|
|
7a1a0d75ee | ||
|
|
263c09d07b | ||
|
|
39346559ce | ||
|
|
e4e9df0a49 |
No files matched your search
@@ -0,0 +1,4 @@
|
||||
# Fixture hashes refer to exact bytes on every checkout.
|
||||
tests/vault/** -text
|
||||
tests/vault/Assets/*.pdf binary
|
||||
tests/fixtures/*.json text eol=lf
|
||||
@@ -0,0 +1,55 @@
|
||||
# Issue labels and triage
|
||||
|
||||
The central issue tracker for Obsidian Excalidraw and its related projects is [obsidian-excalidraw-plugin/issues](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues). Direct users here by default, including reports concerning the [Excalidraw fork](https://github.com/zsviczian/excalidraw), [Excalidraw Extras](https://github.com/zsviczian/obsidian-excalidraw-extras), and [EA Scripts](https://github.com/zsviczian/ea-scripts). Separate repositories may occasionally have their own issues, but this tracker is the main triage hub.
|
||||
|
||||
## Existing labels are authoritative
|
||||
|
||||
**Use only labels already present in the repository's [GitHub label list](https://github.com/zsviczian/obsidian-excalidraw-plugin/labels).** The live labels, their descriptions, and their configured colors are the source of truth, not a proposed label taxonomy in this document.
|
||||
|
||||
- **Do not create, rename, recolor, or delete labels during issue triage.** Repository label administration is a separate, explicitly authorized activity.
|
||||
- **Do not use naming prefixes** such as `type:`, `area:`, or `status:`. The repository uses label **colors** to distinguish type, affected area, and status; the label names themselves are short and unprefixed.
|
||||
- If the appropriate existing label is missing, leave that dimension unlabeled. Do not invent a substitute, apply a misleading label, or create a new one.
|
||||
|
||||
## Label dimensions
|
||||
|
||||
This table retains the label meanings and **suggested color convention**. During issue triage, apply only labels that **already exist** in GitHub with these exact unprefixed names. The table is not permission to create or recolor labels; if a listed label is unavailable, leave that dimension blank.
|
||||
|
||||
| Dimension | Label | Meaning | Suggested color |
|
||||
| --- | --- | --- | --- |
|
||||
| Type | `regression` | Previously working behavior broke | `#1D4ED8` |
|
||||
| Type | `bug` | Incorrect existing behavior | `#2563EB` |
|
||||
| Type | `enhancement` | Improve existing behavior | `#60A5FA` |
|
||||
| Type | `feature` | New capability | `#93C5FD` |
|
||||
| Type | `documentation` | Documentation change | `#DBEAFE` |
|
||||
| Area | `plugin` | Main Obsidian plugin | `#6D28D9` |
|
||||
| Area | `fork` | Customized Excalidraw component | `#7C3AED` |
|
||||
| Area | `extras` | Excalidraw Extras | `#A78BFA` |
|
||||
| Area | `script` | Excalidraw Automate / EA Scripts | `#DDD6FE` |
|
||||
| Status | `confirmed` | Behavior verified or sufficiently established | `#15803D` |
|
||||
| Status | `blocked` | Waiting on a dependency or decision | `#4D7C0F` |
|
||||
| Status | `incomplete` | Report lacks required details, such as Obsidian debug information | `#A3A3A3` |
|
||||
| Status | `needs-info` | Specific clarification requested from reporter | `#86EFAC` |
|
||||
| Status | `cannot-reproduce` | Reproduction attempted without success | `#D4D4D4` |
|
||||
| Criticality | `critical` | Confirmed bug causing data loss (potentially affecting many users), a serious information-security breach, or a violation of law (e.g. data privacy) | `#D1242F` |
|
||||
|
||||
Prefer one primary type and one primary area when an accurate existing label is available. Status labels describe evidence or workflow, not severity; they need not be assigned merely to fill a dimension. `confirmed` and `incomplete` may coexist when a verified behavior has an incomplete report. Use `critical` only after investigation establishes the impact through testing, code verification, or other substantiated evidence. A reporter's claim alone is not sufficient.
|
||||
|
||||
A dimension may remain blank. Avoid adding labels merely to fill a table. Keep useful special-purpose/historical labels such as `one day maybe`, `Solved with Excalidraw Script`, or `transfer to excalidraw.com` where relevant and already present. These are not automatically replacements for type, area, or status.
|
||||
|
||||
For an incomplete report, use the existing incomplete-report label if appropriate; if a specific answer is needed, use an existing question/needs-information label where available. Reproduction attempts and maintainer confirmations must be distinguished from a reporter's claim that a bug exists. Do not mark a suspected root cause as confirmed simply because the issue has a detailed explanation.
|
||||
|
||||
## Applying labels safely
|
||||
|
||||
1. Read the current [label list](https://github.com/zsviczian/obsidian-excalidraw-plugin/labels) and the issue's existing labels before editing. Use exact existing names and the repository's assigned colors; **do not attempt to synthesize label names from a dimension**.
|
||||
2. Read the issue body and relevant discussion. Consider related fixes or PRs when they materially affect status. Handle the requested date range in **newest-to-oldest** order and stop at the specified cutoff.
|
||||
3. Add only applicable, existing labels. Prefer additive label actions to replacing the entire label set. Preserve useful historical or special-purpose labels unless explicitly authorized to migrate them.
|
||||
4. Read the issue back and verify the intended labels were applied. Do not silently alter the title, body, issue state, or other metadata.
|
||||
5. Keep replies brief, and identify agent-authored comments as **Zsolt's Codex Agent**. Label-only triage normally does not need a comment.
|
||||
|
||||
**Examples using actual label names, only when those labels exist:**
|
||||
|
||||
- An ordinary verified bug: `bug` and an applicable existing status label; add an area label only if there is a specific matching one.
|
||||
- An EA Scripts enhancement: `enhancement` and `ExcalidrawAutomate` or another appropriate existing script label, if available.
|
||||
- An upstream-only issue: the applicable existing type and `transfer to excalidraw.com`, if appropriate.
|
||||
|
||||
Do not assign priorities with generic high/medium/low labels unless the maintainer has separately approved such a taxonomy. Issue priority can be assessed in discussion without inventing labels.
|
||||
@@ -0,0 +1,101 @@
|
||||
name: Trusted isolated native tests
|
||||
# Manual exact-SHA approval only. Never use pull_request_target or an untrusted
|
||||
# PR trigger on a persistent desktop. Configure the protected environment and
|
||||
# an isolated runner with no personal vaults/secrets before enabling this lane.
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tested_sha:
|
||||
description: Exact 40-character plugin commit approved for this run
|
||||
required: true
|
||||
kplex_sha:
|
||||
description: Exact K-Plex companion commit approved for ontology integration
|
||||
required: true
|
||||
default: c0cea8fa85337cc336ced18f60b6173fcdb219bd
|
||||
profile:
|
||||
type: choice
|
||||
options: [regression, smoke, full, devices, soak, cold]
|
||||
default: smoke
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
native:
|
||||
environment: native-test-approval
|
||||
runs-on: [self-hosted, Windows, excalidraw-isolated]
|
||||
timeout-minutes: 90
|
||||
env:
|
||||
EXCALIDRAW_TEST_VAULT_NAME: excalidraw-auto-test
|
||||
EXCALIDRAW_TEST_VAULT_PATH: ${{ github.workspace }}/.test-work/vaults/excalidraw-auto-test
|
||||
EXCALIDRAW_TEST_CONFIG_DIR: ${{ github.workspace }}/.test-work/vaults/excalidraw-auto-test/.obsidian
|
||||
EXCALIDRAW_TEST_AUTOMATION_ROOT: ${{ github.workspace }}/.test-work/vaults
|
||||
EXCALIDRAW_TEST_USER_DATA_PATH: ${{ vars.EXCALIDRAW_TEST_USER_DATA_PATH }}
|
||||
EXCALIDRAW_TEST_REPORT_DIR: ${{ github.workspace }}/.test-work/reports/native-ci
|
||||
EXCALIDRAW_FORK_ROOT: ${{ github.workspace }}/.test-work/checkouts/fork
|
||||
EXCALIDRAW_EXTRAS_ROOT: ${{ github.workspace }}/.test-work/checkouts/extras
|
||||
EXCALIDRAW_KPLEX_ROOT: ${{ github.workspace }}/.test-work/checkouts/kplex
|
||||
steps:
|
||||
- name: Require an exact approved commit
|
||||
env:
|
||||
TESTED_SHA: ${{ inputs.tested_sha }}
|
||||
KPLEX_SHA: ${{ inputs.kplex_sha }}
|
||||
run: |
|
||||
if ($env:TESTED_SHA -notmatch '^[a-f0-9]{40}$') { throw 'Supply an exact approved plugin commit SHA' }
|
||||
if ($env:KPLEX_SHA -notmatch '^[a-f0-9]{40}$') { throw 'Supply an exact approved K-Plex commit SHA' }
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.tested_sha }}
|
||||
persist-credentials: false
|
||||
# Preserve the registered, marker-owned working vault across runs.
|
||||
clean: false
|
||||
- name: Reject tracked source drift in the persistent checkout
|
||||
run: |
|
||||
git diff --exit-code
|
||||
git diff --cached --exit-code
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: zsviczian/excalidraw
|
||||
ref: 07b7e0cd0c53c50fa56db6830774cbab99414a56
|
||||
path: .test-work/checkouts/fork
|
||||
persist-credentials: false
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: zsviczian/obsidian-excalidraw-extras
|
||||
ref: 4bd7af3325a8059a5ca68fc3e88169507b08c773
|
||||
path: .test-work/checkouts/extras
|
||||
persist-credentials: false
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: zsviczian/kplex
|
||||
ref: ${{ inputs.kplex_sha }}
|
||||
path: .test-work/checkouts/kplex
|
||||
persist-credentials: false
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22.22.2'
|
||||
- name: Prove session ownership before any native mutation
|
||||
run: node scripts/testing/host/requireIsolatedSession.mjs
|
||||
- run: npm ci
|
||||
- run: corepack enable
|
||||
- run: yarn --cwd .test-work/checkouts/fork install --frozen-lockfile
|
||||
- run: npm ci --prefix .test-work/checkouts/extras
|
||||
- run: npm ci --prefix .test-work/checkouts/kplex
|
||||
- name: Run approved native profile
|
||||
env:
|
||||
TEST_PROFILE: ${{ inputs.profile }}
|
||||
run: |
|
||||
if ($env:TEST_PROFILE -eq 'cold') {
|
||||
node scripts/testing/host/verify.mjs --profile=smoke
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Cold-start prerequisite smoke failed' }
|
||||
$coldSmoke = Get-Content -LiteralPath (Join-Path $env:EXCALIDRAW_TEST_REPORT_DIR 'report.json') -Raw | ConvertFrom-Json
|
||||
$env:EXCALIDRAW_TEST_COMBINATION_PATH = Join-Path $coldSmoke.combination.output 'combination.json'
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $env:EXCALIDRAW_TEST_REPORT_DIR 'cold'
|
||||
node scripts/testing/host/coldStart.mjs
|
||||
} else {
|
||||
node scripts/testing/host/verify.mjs "--profile=$env:TEST_PROFILE"
|
||||
}
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: native-${{ inputs.profile }}-${{ inputs.tested_sha }}
|
||||
path: .test-work/reports
|
||||
if-no-files-found: error
|
||||
@@ -0,0 +1,55 @@
|
||||
name: Plugin tests
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [master]
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
portable:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 35
|
||||
env:
|
||||
EXCALIDRAW_FORK_ROOT: ${{ github.workspace }}/.test-work/checkouts/fork
|
||||
EXCALIDRAW_EXTRAS_ROOT: ${{ github.workspace }}/.test-work/checkouts/extras
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: zsviczian/excalidraw
|
||||
ref: 07b7e0cd0c53c50fa56db6830774cbab99414a56
|
||||
path: .test-work/checkouts/fork
|
||||
persist-credentials: false
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: zsviczian/obsidian-excalidraw-extras
|
||||
ref: 4bd7af3325a8059a5ca68fc3e88169507b08c773
|
||||
path: .test-work/checkouts/extras
|
||||
persist-credentials: false
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22.22.3'
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- run: corepack enable
|
||||
- run: yarn --cwd .test-work/checkouts/fork install --frozen-lockfile
|
||||
- run: npm ci --prefix .test-work/checkouts/extras
|
||||
- run: yarn --cwd .test-work/checkouts/fork playwright install --with-deps chromium
|
||||
- name: Independent portable regression
|
||||
run: npm run test:regression:portable
|
||||
- name: Verify the ordinary build and paired declarations
|
||||
run: |
|
||||
npm run build
|
||||
npm run test:contracts
|
||||
- run: npm run test:features
|
||||
- run: node --check dist/main.js
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: plugin-portable-evidence
|
||||
path: |
|
||||
.test-work/reports
|
||||
.test-work/frozen/**/combination.json
|
||||
.test-work/frozen/**/artifacts.json
|
||||
if-no-files-found: error
|
||||
+7
-1
@@ -25,4 +25,10 @@ yarn.lock
|
||||
.lock
|
||||
|
||||
# Obsidian files
|
||||
Obsidian
|
||||
Obsidian
|
||||
|
||||
repository.zip
|
||||
.test-work/
|
||||
!tests/vault/.obsidian/plugins/obsidian-excalidraw-plugin/data.json
|
||||
!tests/vault/.obsidian/plugins/excalidraw-extras/data.json
|
||||
!tests/fixtures/kplex-ontology/data.json
|
||||
@@ -1,5 +1,18 @@
|
||||
# Obsidian Excalidraw Plugin Agent Guide
|
||||
|
||||
## Required reading
|
||||
|
||||
Read [CODING_STANDARDS.md](CODING_STANDARDS.md) before implementing or reviewing
|
||||
changes. It is the canonical source for coding requirements, including timers,
|
||||
DOM/window ownership, cleanup, security, naming, type changes, localization, and
|
||||
validation. Add future cross-cutting requirements there instead of duplicating
|
||||
them here. Read [CONTRIBUTING.md](CONTRIBUTING.md) for setup and build workflows.
|
||||
|
||||
**Do not attempt compatibility work with another plugin without explicitly asking
|
||||
for maintainer consent. Such work is out of scope by default.** Follow the
|
||||
[mandatory compatibility consent control](CODING_STANDARDS.md#compatibility-with-other-plugins-requires-maintainer-consent);
|
||||
a general issue-investigation request does not grant compatibility approval.
|
||||
|
||||
## Purpose
|
||||
|
||||
This repository contains the Obsidian Excalidraw plugin: an Obsidian.md plugin that integrates a heavily customized Excalidraw fork into Obsidian.
|
||||
@@ -48,88 +61,15 @@ Treat build code and runtime code as one system.
|
||||
- Primary lint command: `npm run code`. `npm run lint` is broader and may expose unrelated repository backlog.
|
||||
- Types: Obsidian type definitions plus conservative declarations for intentionally used unpublished APIs.
|
||||
|
||||
## Security, privacy, and compliance
|
||||
## Issue Investigation And Resolution Templates
|
||||
|
||||
Follow Obsidian's **Developer Policies** and **Plugin Guidelines**. In particular:
|
||||
When triaging or updating issues across the plugin, Excalidraw fork, Extras, and EA Scripts, use the central [plugin issue tracker and label guidelines](.github/ISSUE_LABELS.md); this plugin repository is the default issue hub for all four projects.
|
||||
|
||||
- Default to local/offline operation. Only make network requests when essential to the feature.
|
||||
- No hidden telemetry. If you collect optional analytics or call third-party services, require explicit opt-in and document clearly in `README.md` and in settings.
|
||||
- Never execute remote code, fetch and eval scripts, or auto-update plugin code outside of normal releases.
|
||||
- Minimize scope: read/write only what's necessary inside the vault. Do not access files outside the vault.
|
||||
- Clearly disclose any external services used, data sent, and risks.
|
||||
- Respect user privacy. Do not collect vault contents, filenames, or personal information unless absolutely necessary and explicitly consented.
|
||||
- Avoid deceptive patterns, ads, or spammy notifications.
|
||||
- Register and clean up all DOM, app, and interval listeners using the provided `register*` helpers so the plugin unloads safely.
|
||||
|
||||
## UX & copy guidelines (for UI text, commands, settings)
|
||||
|
||||
- Prefer sentence case for headings, buttons, and titles.
|
||||
- Use clear, action-oriented imperatives in step-by-step copy.
|
||||
- Use **bold** to indicate literal UI labels. Prefer "select" for interactions.
|
||||
- Use arrow notation for navigation: **Settings → Community plugins**.
|
||||
- Keep in-app strings short, consistent, and free of jargon.
|
||||
|
||||
## DOM Styling And Visibility
|
||||
|
||||
- Prefer Obsidian's established classes such as `mod-warning` before adding plugin-specific CSS. Consult the Obsidian CSS variables and component conventions when styling settings or dialogs.
|
||||
- Never use `document.createElement()`, `Document.createElement()`, or `Document.createDocumentFragment()`. Always use Obsidian's `createEl()`, `createDiv()`, `createSpan()`, `createSvg()`, and `createFragment()` helpers. When an element must deliberately belong to a specific document that Obsidian's helpers cannot target, such as a canvas used for drawing or an element inside an iframe, use the `deliberateCreateElement` function injected by `rollup.config.mjs` and declare it in the consuming module, for example `declare const deliberateCreateElement: (document: Document, tagName: string) => HTMLElement;`.
|
||||
- Use semantic interactive elements and Obsidian's event helpers. Link-like navigation should use a real anchor, not a button merely styled as a link; use `onClickEvent` when applying custom navigation behavior. Validate touch interactions on a physical mobile device because desktop mobile emulation proves layout, not native touch activation.
|
||||
- When a control already has a styled tooltip, do not also set an HTML `title` attribute. Keep its accessible name in `aria-label`; `title` produces a second native Chromium/Electron tooltip and must not replace accessible labeling.
|
||||
- Do not write an element's `style` attribute directly. Use `setStyle` and `removeStyle` from `src/utils/styleUtils.ts` when a dynamic inline style is genuinely necessary.
|
||||
- Use the existing visibility helpers instead of the native `hidden` property or attribute, which is not reliable in Obsidian's styled UI. Choose `hideElement`/`showElement` or `setComponentVisibility` from `src/utils/styleUtils.ts`, or `setElementHidden`/`setElementDisplay` from `src/utils/htmlUtils.ts` when a boolean/display-oriented API is clearer.
|
||||
- Search `src/utils/styleUtils.ts` and `src/utils/htmlUtils.ts` before introducing new DOM styling helpers or display classes.
|
||||
- Run Obsidian CodeScanner after CSS changes. Preserve compatibility with the declared minimum Obsidian version and prefer a widely supported property when it provides the same result; for example, a basic underline is preferable to optional underline-thickness/offset styling.
|
||||
- For a known vault path, use the most specific synchronous lookup: `app.vault.getFolderByPath()` for folders and `app.vault.getFileByPath()` for files. Use `getAbstractFileByPath()` only when either type is intentionally accepted, and avoid adapter-level existence checks when the Vault API already models the target.
|
||||
- Radix content in the customized Excalidraw package may be rendered through `ObsidianRadixPortal` directly under the owning document's body. A body portal escapes component ancestor selectors and modal stacking contexts. When a trigger is visible but its menu or popover is not, first inspect whether the content mounted behind a modal or lost ancestor-scoped styles. Use a class on the portaled content, a portal-safe selector, and an explicit stacking level when required; validate main-window, popout, click-outside, and Escape behavior.
|
||||
|
||||
## Performance
|
||||
|
||||
- Keep startup light. Defer heavy work until needed.
|
||||
- Avoid long-running tasks during `onload`; use lazy initialization.
|
||||
- Batch disk access and avoid excessive vault scans.
|
||||
- Debounce/throttle expensive operations in response to file system events.
|
||||
- For temporary performance diagnostics, use a unique searchable prefix and
|
||||
emit one copyable string per event rather than logging expandable objects.
|
||||
Keep timing-only callbacks and state isolated from production behavior.
|
||||
- Distinguish synchronous API duration, queue completion, browser-task yields,
|
||||
animation-frame callbacks, and actual paint; none is a substitute for the
|
||||
others when explaining perceived latency.
|
||||
- Temporary diagnostics are not product observability. Do not log vault
|
||||
contents, and include filenames only when the maintainer explicitly needs
|
||||
per-file attribution. Remove the diagnostics before commit and search both
|
||||
`src/` and the built `dist/main.js` for their prefix.
|
||||
|
||||
## Coding conventions
|
||||
|
||||
- TypeScript with `"strict": true` preferred.
|
||||
- **Keep `main.ts` minimal**: Focus only on plugin lifecycle (onload, onunload, addCommand calls). Delegate all feature logic to separate modules.
|
||||
- **Split large files**: If any file exceeds ~200-300 lines, consider breaking it into smaller, focused modules.
|
||||
- **Use clear module boundaries**: Each file should have a single, well-defined responsibility.
|
||||
- Bundle everything into `main.js` (no unbundled runtime deps).
|
||||
- Avoid Node/Electron APIs if you want mobile compatibility; set `isDesktopOnly` accordingly.
|
||||
- Prefer `async/await` over promise chains; handle errors gracefully.
|
||||
|
||||
## Mobile
|
||||
|
||||
- Don't assume desktop-only behavior unless `isDesktopOnly` is `true`.
|
||||
- Avoid using desktop only objects and functions such as Node Buffer, SharedArrayBuffer, etc. For the special case when this is required, make proper mobile safe guards.
|
||||
- Avoid large in-memory structures; be mindful of memory and storage constraints.
|
||||
- Treat a physical phone or tablet as a separate validation environment for touch targets, synthesized clicks, scrolling gestures, focus, and the mobile WebView. Desktop mobile emulation is useful for responsive layout checks but is not a substitute for real touch testing.
|
||||
|
||||
## Agent do/don't
|
||||
|
||||
**Do**
|
||||
|
||||
- Add commands with stable IDs (don't rename once released).
|
||||
- Provide defaults and validation in settings.
|
||||
- Write idempotent code paths so reload/unload doesn't leak listeners or intervals.
|
||||
- Use `this.register*` helpers for everything that needs cleanup.
|
||||
|
||||
**Don't**
|
||||
|
||||
- Introduce network calls without an obvious user-facing reason and documentation.
|
||||
- Ship features that require cloud services without clear disclosure and explicit opt-in.
|
||||
- Store or transmit vault contents unless essential and consented.
|
||||
- For source-based issue investigations, GitHub issue comments, and a prioritized shortlist, use [issue assessment](docs/agent-workflows/issue-assessment.md).
|
||||
- Only after maintainer approval of specific issues, use [issue implementation handoff and resolution](docs/agent-workflows/issue-resolution.md) to prepare a dedicated branch and plan-only draft PR for the local implementation agent.
|
||||
- The issue owns the technical assessment; the draft PR owns the implementation plan; the branch owns the code. Keep draft PRs open through implementation, link cross-repository dependencies, and do not merge without authorization.
|
||||
|
||||
## References
|
||||
|
||||
@@ -206,7 +146,7 @@ The build embeds or injects runtime code for:
|
||||
|
||||
These payloads are executed or unpacked at runtime. This is intentional.
|
||||
|
||||
React and the Excalidraw package are separate payloads. React must not be bundled into the Excalidraw artifact, because the plugin evaluates one matching private React runtime and supplies it to the single Excalidraw runtime used by every view. Mermaid is also intentionally absent from the artifact and is loaded lazily at runtime through Excalidraw Extras. All other required Excalidraw assets are expected to work offline except the deliberately lazy CJK font subsets.
|
||||
React and the Excalidraw package are separate compressed payloads. React must remain external to the Excalidraw artifact, because the plugin inflates one matching private React runtime and supplies it to the single evaluated Excalidraw runtime used by every view. Mermaid is also intentionally absent from the artifact and is loaded lazily at runtime through Excalidraw Extras. All other required Excalidraw assets are expected to work offline except the deliberately lazy CJK font subsets.
|
||||
|
||||
### Two-Repository Excalidraw Workflow
|
||||
|
||||
@@ -252,10 +192,10 @@ The host adapters are an internal protocol between this plugin and its exact `@z
|
||||
|
||||
### Popout Window Support
|
||||
|
||||
- `src/core/managers/PackageManager.ts` evaluates one private React/ReactDOM/Excalidraw runtime in the main application realm and leases that runtime to every view.
|
||||
- The bundle bootstrap inflates and indirectly evaluates one compressed private React/ReactDOM payload in the main application realm before module-level React consumers run. `src/core/managers/PackageManager.ts` then evaluates one Excalidraw artifact and leases the combined shared package to every view.
|
||||
- A lease retains the view's actual acquisition window for migration and persistence decisions; package evaluation ownership must never substitute for that identity.
|
||||
- Popouts receive only a temporary `window.ExcalidrawLib` compatibility alias. Remove it after the final lease for that window while keeping the shared runtime alive until plugin unload.
|
||||
- The runtime is built from official npm package entry points and kept in plugin/package lexical scope. Do not assign React or ReactDOM to `window`; only the documented `window.ExcalidrawLib` compatibility surface remains global.
|
||||
- The React runtime is built from official npm entry points, inflated once during bundle bootstrap, and kept in plugin/package lexical scope. Do not assign React or ReactDOM to `window`; only the documented `window.ExcalidrawLib` compatibility surface remains global.
|
||||
- Every Excalidraw root must receive its stable owning document. Rendering, DOM ownership, events, observers, portals, realm constructors, fonts, timers, and React roots must derive from the owning view document/window where appropriate; do not turn the shared runtime into a mutable "current window" singleton.
|
||||
- Treat `HTMLElement.onWindowMigrated()` as a destructive runtime boundary. Its callback runs after Obsidian has moved the view container to another document, while the existing React root and Excalidraw API still belong to the source window runtime.
|
||||
- For a dirty migration, synchronously capture every API-owned value needed for persistence and unmount the source React root **before the first `await`**. Do not move synchronization, compression, Vault/native file access, `closeLeafView()`, or another asynchronous step ahead of that unmount. On macOS/Electron, doing so reproducibly allowed the source popout window to be destroyed before `root.unmount()`, freezing Obsidian and disconnecting DevTools.
|
||||
@@ -305,11 +245,11 @@ Window ownership for rendering is not the same as ownership for persistent plugi
|
||||
- `src/lang/helpers.ts` resolves those tokens at runtime.
|
||||
- If you add new runtime-dependent locale patterns, you must keep `rollup.config.mjs` and `src/lang/helpers.ts` in sync.
|
||||
|
||||
### Safe URL Tokenization
|
||||
### Safe URL Handling
|
||||
|
||||
- Safe URLs are centralized in `src/constants/safeUrls.ts`.
|
||||
- The build tokenizes URL constants and resolves them at runtime.
|
||||
- If you change safe URL handling, rebuild and verify both token emission and token resolution.
|
||||
- Preserve literal, statically reviewable origins and complete static URLs. Only repository-relative or resource-relative paths may be constructed dynamically from validated or encoded path segments.
|
||||
- If you change safe URL handling, rebuild and verify that the intended literal origins remain visible in both source and `dist/main.js`, and search for domain assembly or endpoint-obfuscation patterns before release.
|
||||
|
||||
### Versioning Nuance
|
||||
|
||||
@@ -339,87 +279,6 @@ Window ownership for rendering is not the same as ownership for persistent plugi
|
||||
- Do not derive a runtime settings sanitizer from the TypeScript interface. Interfaces do not exist at runtime, settings evolve frequently, and unknown keys may belong to a newer or companion version. Remove obsolete keys only through an explicit, reviewed migration or retirement decision.
|
||||
- End every checkpoint with risk-based manual test recommendations: identify the highest-probability failure, the affected workflow, and whether main-window, popout, desktop operating systems, and mobile need separate coverage.
|
||||
|
||||
## Naming And Placement Conventions
|
||||
|
||||
Treat the following as the target convention for all new code and for any future naming-cleanup pass. The current repository contains legacy exceptions. Do not rename files opportunistically inside behavior changes; do naming cleanup in a dedicated, compatibility-aware refactor.
|
||||
|
||||
### File And Symbol Naming
|
||||
|
||||
- Use PascalCase filenames when the file's main export is a class, React component, modal, manager, view, or similarly named object with clear identity. The filename should match the primary export. Examples already in the repo include `ExcalidrawView.ts`, `CommandManager.ts`, and `ReleaseNotes.ts`.
|
||||
- Use lowerCamelCase filenames for helper and utility modules whose main exports are functions or small related helpers. Examples already in the repo include `fileUtils.ts`, `pathUtils.ts`, and `exportUtils.ts`.
|
||||
- Use lowerCamelCase filenames for grouped type modules unless the file is intentionally mirroring an externally established name.
|
||||
- Use PascalCase for classes, React components, dialogs, managers, views, interfaces, and domain-level type aliases.
|
||||
- Use lowerCamelCase for functions, methods, variables, parameters, and object properties.
|
||||
- Use UPPER_SNAKE_CASE for exported constants and locale keys.
|
||||
- Keep persisted settings keys, serialized fields, and frontmatter keys stable and lowerCamelCase unless an explicit migration is added.
|
||||
- For future rename work, fix typos and inconsistent acronym casing in a dedicated pass rather than mixing those renames with behavior changes. Existing examples worth normalizing later include files such as `YoutTubeUtils.ts`, `modifierkeyHelper.ts`, and `TTDDialogPersistanceAdater.ts`.
|
||||
|
||||
### Folder Placement Guide
|
||||
|
||||
- `src/core/`: plugin bootstrap, plugin-wide lifecycle, registration, settings, and orchestration. If a change affects the plugin globally rather than a single open view, start here.
|
||||
- `src/core/managers/`: plugin-global coordinators that own subscriptions, registration, or lifecycle-managed behavior.
|
||||
- `src/core/editor/`: markdown/editor bridge behavior and editor-specific UX.
|
||||
- `src/view/`: the live Excalidraw pane and view-owned behavior.
|
||||
- `src/view/components/`: React components rendered inside the main Excalidraw view or tightly coupled to `ExcalidrawView` state.
|
||||
- `src/view/managers/`: view-scoped controllers that belong to a single view instance rather than the whole plugin.
|
||||
- `src/view/sidepanel/`: sidepanel-only view code.
|
||||
- `src/shared/`: reusable subsystems used by multiple areas such as `core`, `view`, scripting, import/export, or dialogs.
|
||||
- `src/shared/Dialogs/`: Obsidian modals, prompts, release-note content, and user-facing dialog flows. `src/shared/Dialogs/Messages.ts` is the source for next-version change messages shown to users.
|
||||
- `src/shared/components/`: reusable UI helpers that are not owned solely by the main Excalidraw view.
|
||||
- `src/shared/Suggesters/`: suggestion modals and suggestion-specific helpers.
|
||||
- `src/shared/Workers/`: worker entrypoints and worker-specific helper code.
|
||||
- `src/shared/OCR/`: OCR integrations and OCR-specific logic.
|
||||
- `src/shared/svgToExcalidraw/`: SVG parsing and import pipeline code.
|
||||
- `src/utils/`: side-effect-light helpers. If a module owns long-lived state, subscriptions, or plugin/view lifecycle, it likely does not belong in `utils`.
|
||||
- `src/constants/`: shared constants, icon definitions, startup content, and URL registries. Keep logic here minimal and obvious.
|
||||
- `src/types/`: shared TypeScript contracts and ambient declarations, not implementation logic.
|
||||
- `src/lang/locale/`: user-visible strings. `en.ts` is the source of truth for new keys.
|
||||
- `MathjaxToSVG/`: a separate subproject with its own build and runtime role. Treat it as an independent package with the same documentation and compatibility expectations as the main plugin.
|
||||
|
||||
## Documentation Standard
|
||||
|
||||
Use TSDoc as the documentation standard. It is the modern TypeScript-friendly evolution of JSDoc and is the right fit for this repository; do not think in terms of JavaDoc for TS code.
|
||||
|
||||
- Require TSDoc for exported classes, exported functions, public methods, public library APIs, and non-obvious modules.
|
||||
- Public APIs in `src/core/index.ts` and `src/shared/ExcalidrawAutomate.ts` should always have complete TSDoc.
|
||||
- Settings migrations, compatibility shims, build-time tokenization code, and package-loading code should also carry clear high-signal documentation.
|
||||
- Add short module-level documentation to files whose behavior is easy to misread, such as `rollup.config.mjs`, `src/core/managers/PackageManager.ts`, migration code in `src/core/main.ts`, and the `MathjaxToSVG/` subproject.
|
||||
- Internal/private code should only be commented when the behavior is non-obvious. Avoid trivial comments.
|
||||
|
||||
## Backward Compatibility Requirements
|
||||
|
||||
Backwards compatibility is a strong requirement in this repository.
|
||||
|
||||
- Do not break persisted settings, serialized scene data, frontmatter keys, command IDs, or documented user workflows without an explicit migration or compatibility layer.
|
||||
- Do not rename public API methods, script-engine entry points, or library exports casually. `src/core/index.ts` and `src/shared/ExcalidrawAutomate.ts` are especially sensitive.
|
||||
- Naming-only refactors must preserve observable behavior.
|
||||
- If a rename reaches beyond a purely internal import graph, prefer temporary aliases, re-exports, or compatibility wrappers during migration.
|
||||
- If settings shape or stored values change, update defaults, settings UI, load/save flow, and migration logic together.
|
||||
- Assume user scripts, vault content, templates, embeds, release-note references, and community documentation may depend on existing names and behavior.
|
||||
- The paired plugin-to-fork host protocol is the deliberate exception described above: coordinate and version breaking contract changes instead of preserving fallbacks for mismatched package versions.
|
||||
|
||||
## User-Facing Change Workflow
|
||||
|
||||
- Every user-visible change intended for the next release should be documented in `src/shared/Dialogs/Messages.ts` under the next upcoming version key.
|
||||
- Keep `Messages.ts` entries concise, user-facing, and focused on observable behavior, not implementation detail.
|
||||
- If a change affects scripting, API behavior, settings, or migration, mention that explicitly in the release-note entry.
|
||||
- Every new user-visible language string must be added first in `src/lang/locale/en.ts`.
|
||||
- The same change must also update `src/lang/locale/ru.ts`, `src/lang/locale/es.ts`, `src/lang/locale/zh-cn.ts`, and `src/lang/locale/zh-tw.ts`.
|
||||
- These maintained locales are part of the build-time localized bundle path, so they are not optional follow-up work.
|
||||
- Preserve locale key names and the existing comment grouping by owning file or subsystem.
|
||||
- If a string contains URLs or runtime-dependent tokens, follow the existing locale patterns so build-time tokenization and runtime resolution continue to work.
|
||||
|
||||
## React Runtime Import Model
|
||||
|
||||
React usage in this repository is special because one private React/ReactDOM runtime is package-managed across main-window and popout roots.
|
||||
|
||||
- It is fine to import React for types, component definitions, JSX compilation, and nearby established patterns.
|
||||
- The shared runtime is safe only because each root and Excalidraw instance receives stable owner-document state. Never recover view ownership from the runtime's lexical main window.
|
||||
- For view-bound rendering and roots, follow `src/view/ExcalidrawView.ts` and use `view.packages.react` and `view.packages.reactDOM` through the package-manager flow.
|
||||
- For view-owned React objects such as refs or runtime-created elements, follow neighboring patterns such as `src/view/components/menu/ToolsPanel.tsx` and `src/view/components/CustomEmbeddable.tsx`, which intentionally use the package-managed React instance.
|
||||
- Do not introduce a new direct `ReactDOM.createRoot()` path outside the package-manager model unless you have verified popout-window safety.
|
||||
- Before adding or refactoring a React file, inspect the nearest existing file in that area and match its import/runtime pattern.
|
||||
|
||||
## Where To Make Changes
|
||||
|
||||
Use this routing guide before editing.
|
||||
@@ -478,11 +337,11 @@ The plugin supports Obsidian 1.8.7 while optionally using the declarative settin
|
||||
|
||||
### ExcalidrawAutomate Change Checklist
|
||||
|
||||
Whenever a function is added to or changed in `src/shared/ExcalidrawAutomate.ts`, three additional files must be updated in the same change:
|
||||
When public automation behavior changes, review these documentation surfaces; update only those affected:
|
||||
|
||||
1. **`src/shared/Dialogs/SuggesterInfo.ts`** — Add or update the corresponding entry in `EXCALIDRAW_AUTOMATE_INFO`. The `field` must match the function or property name exactly. The `desc` should explain behavior clearly, including any important limitations or session-scoped constraints. The `code` should reflect the actual TypeScript signature.
|
||||
2. **`src/shared/Dialogs/Messages.ts`** — Document the new or changed function under the upcoming release version key. Include a brief user-facing description and the TypeScript signature in a fenced code block.
|
||||
3. **`src/lang/locale/en.ts`** (and maintained locales) — Only required if the change introduces new user-visible strings. Follow the existing locale workflow described in the User-Facing Change Workflow section.
|
||||
2. **`src/shared/Dialogs/Messages.ts`** — Apply the [release-note selection rules](CODING_STANDARDS.md#user-facing-change-workflow). Mention a meaningful new scripting capability or required migration concisely; do not add an entry for every API fix or unreleased refinement, and do not include TypeScript signatures or code blocks.
|
||||
3. **`src/lang/locale/en.ts`** (and maintained locales) — Only required if the change introduces new user-visible strings. Follow the [user-facing change workflow](CODING_STANDARDS.md#user-facing-change-workflow).
|
||||
|
||||
## High-Risk Areas
|
||||
|
||||
@@ -500,7 +359,33 @@ If a task touches any of the above, read adjacent code first and validate more c
|
||||
|
||||
## Validation Expectations
|
||||
|
||||
There is no standard unit-test suite wired into `package.json`.
|
||||
Use the layered test commands and explicit acceptance limits documented below. Fast/source tests, built artifacts, native integration and physical devices establish different evidence.
|
||||
|
||||
### Required regression coverage and execution
|
||||
|
||||
Follow the mandatory [validation requirements](CODING_STANDARDS.md#validation-requirements). The testing guides below define commands and native environments.
|
||||
|
||||
### Obsidian CLI runtime lane
|
||||
|
||||
Do not infer that CLI is disabled from a transient `Command "eval" not found`
|
||||
response or the preparation runner's generic first-open message. Check the
|
||||
installed CLI's help, the selected vault's canonical path and initialization,
|
||||
and pending dialogs; retry a benign read-only `eval` readiness probe before
|
||||
requesting human help. Preserve the actual error and distinguish a temporarily
|
||||
unready vault from missing CLI registration or trust. Do not invent a separate
|
||||
"developer CLI" setting: verify any claimed setting against the installed UI
|
||||
or official documentation before asking the maintainer to change it. An already
|
||||
enabled CLI does not need to be enabled again.
|
||||
|
||||
Resolve recoverable dependency, host-request, menu-renderer and cleanup failures and rerun failed/blocked cases before returning. Follow [native failure recovery](docs/OBSIDIAN_RUNTIME_TESTING.md#recovering-from-native-test-failures); ask the maintainer promptly when an actual human prerequisite prevents progress.
|
||||
|
||||
Start with the layered [testing guide](docs/TESTING.md) and [Obsidian runtime testing](docs/OBSIDIAN_RUNTIME_TESTING.md). Use `npm run test:native` to prepare and test `.test-work/vaults/excalidraw-auto-test/`. Every native sequence builds selected workspace revisions, freezes and hash-verifies the plugin and available Extras artifacts, installs and enables them, applies the immutable seed's settings, verifies the running CLI vault/config identity and restores the declared baseline. Use the matching local fork when available. Never reuse stale installed builds. Missing Extras is explicit and cannot satisfy Extras-dependent coverage. Serialize preparation, deployment, scenarios and cleanup under the shared application-user-data lock. Specific maintained scripts remain tested in ea-scripts; focus here on core Excalidraw and ExcalidrawAutomate. Inventory and screenshots do not establish behavior; missing important matrix cases remain unfinished.
|
||||
|
||||
The marker-owned repository-local vault is the native target. Do not fall back to a personal/default vault or the historical desktop `excalidraw-test` vault. A first run prepares actual plugin files before reporting Obsidian's one-time opening, community-plugin trust or CLI registration prerequisite. Subsequent runs need no manual plugin copying, enabling or service configuration. Keep fixtures/configuration in the immutable seed and generated binaries in the ignored working vault. Preserve markers, canonical path checks and unsettled work on tooling deadlines; a test deadline does not cancel native PDF printing. Whole-app restart still requires proof of an isolated single-vault application session.
|
||||
|
||||
Use the test-only `scripts/testing/host/processTools.mjs` for native launches. Windows captures output through `Obsidian.com`; long or multiline Windows evals use an owned temporary UTF-8 script and are cleaned up after each call. Oversized evals on any desktop platform use that script handoff to avoid OS argument limits. Keep transport-response deadlines separate from operation completion; recover only exact completed receipts without replaying mutations. npm and Yarn launch through JavaScript entries using the current Node executable, avoiding Windows `.cmd` shims. Run CLI scenarios serially. If a request times out, check for a pending Obsidian error/trust dialog; ask the user to save and restart when necessary rather than force-closing an application with other vaults open. Record Windows and macOS live validation separately.
|
||||
|
||||
Use this lane after fork behavior or packaging changes when Obsidian is available, then exercise the affected workflow using the fork's V03–V11 validation gates. A blank-drawing smoke does not validate raw text, clipboard, font/image assets, saved scenes, custom pens, popout migration, offline behavior, or physical mobile touch. Record what was tested, artifact/source identity, and any pending or unavailable gates. Never deploy a local build to a personal/default vault as a substitute for the named test vault. Keep CLI eval access to internal plugin instances and temporary test controllers out of production modules.
|
||||
|
||||
Repo-wide ESLint currently reports a large backlog of pre-existing issues, so it is not yet a blocking pass/fail gate for every task.
|
||||
|
||||
@@ -536,7 +421,7 @@ Validation guidance:
|
||||
- For host-boundary changes, run the fork's focused adapter tests without Obsidian, then validate plugin registration and teardown through cold startup, plugin reload, the main window, a new and restored popout, and window removal. Confirm adapter methods observe settings changed after registration.
|
||||
- After React/package-loading changes, validate cold startup, plugin reload, the main window, new and restored popouts, and moving a leaf between windows. Confirm that no `window.React` or `window.ReactDOM` global was introduced.
|
||||
- After Radix/portal changes, validate visibility, positioning, stacking, click-outside, and Escape handling in both the main window and a popout; include mobile when viewport collision behavior can differ.
|
||||
- Record `dist/main.js` byte size after packaging changes and report remaining headroom under the release limit.
|
||||
- Record `dist/main.js` byte size after packaging changes and report remaining headroom under the 5 MB release target: 5 × 1024 × 1024 = 5,242,880 bytes.
|
||||
- Prefer targeted diagnostics for the files you touched when repo-wide lint noise obscures signal.
|
||||
- Prefer `npm run build` plus targeted file diagnostics over raw `tsc --noEmit` as the primary gate. Standalone `tsc` can surface large volumes of dependency-typing noise unrelated to touched files.
|
||||
- Do not treat `dist/` output edits as source fixes.
|
||||
@@ -562,219 +447,14 @@ Validation guidance:
|
||||
|
||||
### Type Consolidation Follow-through
|
||||
|
||||
- Treat user requests like "tiny follow-up" or "do this consolidation" as end-to-end tasks: complete extraction, replace all known duplicates, and remove local leftovers in the same pass.
|
||||
- When a type is used in more than one module, prefer a shared definition in `src/types/` and import it everywhere instead of repeating local aliases.
|
||||
- For scope-local inline types (for example inside a processor or callback), quickly verify whether the shape already exists elsewhere before keeping or adding a local declaration.
|
||||
- Example: if `RemoteDirectoryInfo` is used in both `src/utils/utils.ts` and `src/core/main.ts`, define it once in `src/types/githubTypes.ts`, update both imports, and delete both local aliases in the same change.
|
||||
- After type-only consolidations, run targeted diagnostics on touched files plus `npm run build`, and confirm no runtime behavior was intentionally changed.
|
||||
Follow the [type consolidation requirements](CODING_STANDARDS.md#type-consolidation-follow-through).
|
||||
|
||||
**Summary:**
|
||||
|
||||
> Agents must always consider the full codebase impact of any change, proactively search for dependencies and affected code, and validate correctness globally—not just locally—before considering a task complete.
|
||||
|
||||
## Type System And Type Refactoring
|
||||
|
||||
Replacing `any` types is a precision task requiring understanding of the codebase's type architecture and constraints.
|
||||
|
||||
### Core Principles
|
||||
|
||||
When replacing `any` types:
|
||||
|
||||
- **Functional equivalence is non-negotiable**: Code must remain 100% functionally identical. Type changes are *only* for TypeScript type checking, never for runtime behavior changes.
|
||||
- **Never invent local types**: If a type can be inferred from existing usage, Excalidraw types, or Obsidian APIs, use it. Do not create ad-hoc interface definitions.
|
||||
- **Do not replace with `unknown` by default**: `unknown` is stricter than `any` and often requires guards/assertions elsewhere, which can break functional equivalence.
|
||||
- **Exception for bridge casts**: In rare generic conditional return scenarios where TypeScript cannot express a provably equivalent return value, a narrow `as unknown as ...` bridge cast is acceptable. Keep it local, document why, and do not use it to bypass real type mismatches.
|
||||
- **Use existing infrastructure**: Extend `src/types/types.d.ts` for Obsidian unpublished APIs, create new files in `src/types/` that build on existing conventions, and reference Excalidraw types directly.
|
||||
|
||||
### CRITICAL: Behavioral Change Detection When Replacing `any`
|
||||
|
||||
**Type replacements that appear to be "type-only" can introduce subtle runtime behavior changes. You must proactively detect and flag these before finalizing any change.**
|
||||
|
||||
#### Behavior-Altering Patterns
|
||||
|
||||
When scanning code that uses a value currently typed as `any`, watch for these patterns that can be affected by a type change:
|
||||
|
||||
1. **Falsy/Truthy checks**: `if (!value)`, `if (value)`, `value ? ... : ...`
|
||||
- **Risk**: If the original code treats `0`, `""`, `false`, `null`, `undefined`, or `[]` as falsy, and you infer a type that allows these values, behavior changes.
|
||||
- **Example**: Old code `if (!offset)` rejects `offset === 0`. New type `offset: number` allows `0`, fundamentally changing behavior for edge cases.
|
||||
- **Action**: If the code has falsy checks, document that behavior explicitly in your change notes to the user.
|
||||
|
||||
2. **Existence checks**: `if (value === undefined)`, `if (value === null)`, `if (value)`
|
||||
- **Risk**: Changing from accepting `any` (including undefined) to a narrower type may exclude valid edge cases.
|
||||
- **Action**: Verify all call sites provide values matching the new type constraint.
|
||||
|
||||
3. **Optional chaining with falsy fallbacks**: `value?.prop ?? default`, `value?.prop ?? fallback`
|
||||
- **Risk**: The fallback behavior may change if the inferred type rules out falsy intermediate values.
|
||||
- **Action**: Test that fallback behavior is identical.
|
||||
|
||||
4. **Conditional logic on properties**: `if (obj.prop)`, `switch (obj.type)`, loops over `obj`
|
||||
- **Risk**: Narrowing from `any` to a specific object shape might exclude properties the runtime code depends on.
|
||||
- **Action**: Verify the inferred type shape includes all properties actually accessed.
|
||||
|
||||
#### Mandatory Pre-Change Verification
|
||||
|
||||
Before replacing an `any` type:
|
||||
|
||||
1. **Scan all usages** of the value (especially the entire function or component containing it).
|
||||
2. **Identify falsy/truthy checks** or conditional logic that depends on the value.
|
||||
3. **Compare semantics**: Does the old behavior permit `0`, `""`, `false`, `null`, or `undefined` in a way the new type might not?
|
||||
4. **If a behavior change is introduced**: Explicitly document it in a comment in the code AND flag it to the user BEFORE considering the task complete.
|
||||
5. **Document edge cases** that the type change affects.
|
||||
|
||||
#### Examples of Correct vs. Incorrect Replacements
|
||||
|
||||
**INCORRECT** (behavioral change, not flagged):
|
||||
```typescript
|
||||
// Old: const value: any = ...; if (!value) return null;
|
||||
// New: const value: number = ...; if (typeof value !== "number") return null;
|
||||
// Problem: Old code rejects 0, new code accepts 0. Behavior changed silently.
|
||||
```
|
||||
|
||||
**CORRECT** (behavioral change, explicitly flagged):
|
||||
```typescript
|
||||
// Old: const offset: any = ...; if (!offset) return null;
|
||||
// New: const offset: number = ...; if (typeof offset !== "number") return null;
|
||||
// Flagged: "Note: This change now allows offset=0 (previously rejected as falsy).
|
||||
// This is intentional and fixes a bug where block IDs could not be inserted at file start."
|
||||
```
|
||||
|
||||
**CORRECT** (no behavioral change):
|
||||
```typescript
|
||||
// Old: const frame: any = ...; if (frame.type === "frame" && !frame.isDeleted) ...
|
||||
// New: const frame: { type: string; isDeleted?: boolean } = ...; if (frame.type === "frame" && !frame.isDeleted) ...
|
||||
// OK: Inferred type supports all operations, no falsy checks introduced, behavior identical.
|
||||
```
|
||||
|
||||
### Type Files And Responsibilities
|
||||
|
||||
- **`src/types/types.d.ts`**: Ambient module declarations and Obsidian unpublished API types. This is the standard location for extending Obsidian's type system and for global type declarations. Use the existing patterns (interfaces extending `obsidian` module interfaces) consistently.
|
||||
- **`src/types/excalidrawLib.d.ts`**: Ambient declarations for the evaluated `window.ExcalidrawLib` runtime. Derive declarations from published fork types where possible, and keep the file lowerCamelCase in line with grouped type-module naming.
|
||||
- **Type files in subsystem directories**: Files like `src/shared/ExcalidrawAutomate.ts` may carry substantial type definitions and exports alongside implementation. Do not move these without evaluating the impact on the public API surface.
|
||||
- **Leverage existing type files**: Consult `src/types/excalidrawLib.d.ts` and the installed fork declarations for the current Excalidraw type model before adding new Excalidraw-derived types.
|
||||
|
||||
### Excalidraw Type Integration
|
||||
|
||||
- Do not invent wrapper types for Excalidraw entities. Reference the customized `@zsviczian/excalidraw` types directly.
|
||||
- Before defining a plugin-local union or interface for a fork concept, search the published fork declarations and import or alias the canonical type. Ambient runtime bridges should reuse those types rather than duplicate their structure.
|
||||
- Build on existing type extensions in the codebase (e.g., `src/types/types.d.ts` may already extend Excalidraw types).
|
||||
- When a type depends on Excalidraw internals, document the dependency clearly so future changes to the fork are visible.
|
||||
- Obsidian unpublished API types often interact with Excalidraw components; model these intersections carefully in `src/types/types.d.ts`.
|
||||
|
||||
### Inference And Scanning Workflow
|
||||
|
||||
To identify the correct type for an `any` reference:
|
||||
|
||||
1. **Scan usage**: Identify all sites where the value is used. Determine what properties, methods, or operations are performed on it.
|
||||
2. **Check existing types**: Search `src/types/`, the Excalidraw type definitions (via node_modules), and Obsidian API typings for matching types.
|
||||
3. **Check upstream patterns**: Look at similar usage patterns elsewhere in the codebase. How are comparable values typed?
|
||||
4. **Intersect constraints**: The correct type must support all observed operations. If multiple possible types exist, choose the one that is most specific without inventing new constraints.
|
||||
5. **Test narrowing**: If the type was `any`, code may not have type guards. Ensure that replacing `any` with a more specific type does not require adding guards or assertions that change behavior.
|
||||
|
||||
### Common Patterns
|
||||
|
||||
- **DOM elements and jQuery-like objects**: Often `any` when they should be `HTMLElement`, `HTMLDivElement`, `Element`, etc. Check `src/utils/` and view components for examples.
|
||||
- **Obsidian unpublished APIs**: Frequently `any` because the official typings are incomplete. Add to `src/types/types.d.ts` to model the actual shape based on Obsidian source or runtime inspection.
|
||||
- **Excalidraw component state and config objects**: Usually `any` but should reference `ExcalidrawProps`, `AppState`, or similar exported by `@zsviczian/excalidraw`.
|
||||
- **Event handler parameters and callbacks**: Often `any` but should be typed based on what the callback receives. Check invocation sites.
|
||||
- **Imported worker or third-party runtime objects**: May be `any` if the package lacks types. Create a minimal type stub in `src/types/` if needed, or use `as const` to infer from a known shape.
|
||||
- **Scene boundary typing (`getScene()` vs persistence sync)**: Scene producers may return readonly/non-deleted element arrays while persistence code mutates scene internals. Prefer broader input types at boundary methods (e.g., sync/update entry points), then narrow/cast internally where mutation is required.
|
||||
- **AppState strict vs partial contracts**: Many helpers accept `AppState` while repository data paths often carry `Partial<AppState>`. Prefer widening helper signatures only when behavior is unchanged and call sites are truly partial; otherwise use narrow local assertions at call sites instead of reshaping runtime objects.
|
||||
- **Legacy appState compatibility keys**: Preserve compatibility for legacy keys used during migrations or cross-version loads (e.g., `currentItemLinearStrokeSharpness`, `currentItemStrokeSharpness`) when tightening types.
|
||||
|
||||
### Adding Obsidian Unpublished API Types
|
||||
|
||||
When documenting an unpublished Obsidian API in `src/types/types.d.ts`:
|
||||
|
||||
- Use module declaration patterns already in the file (`declare module "obsidian" { interface App { ... } }`).
|
||||
- Include a brief comment explaining the API or linking to the Obsidian source, if known.
|
||||
- Only add properties and methods that are actually used in the codebase. Avoid speculative extensions.
|
||||
- Be conservative: unpublished APIs can change; document the version or observation date if possible.
|
||||
- Do not duplicate types; if Obsidian's types already define something, extend or refine, not redefine.
|
||||
|
||||
### Validation Approach
|
||||
|
||||
When replacing `any`:
|
||||
|
||||
1. **No new runtime errors**: Run the plugin in Obsidian after the change. Verify that all observed functionality works identically.
|
||||
2. **TypeScript checking**: The change should reduce or eliminate TypeScript errors, not introduce new ones.
|
||||
3. **No new guards or assertions**: If code previously worked with `any`, replacing it with a specific type should not require new `if` checks, `as` casts, or optional chaining that wasn't there before. If it does, the type choice is too strict.
|
||||
4. **Side-effect parity check**: When replacing index-based mutation code with object transforms (e.g., sanitize/copy patterns), explicitly verify whether the original code intentionally mutated shared objects. Preserve side effects unless a behavior change is explicitly approved.
|
||||
5. **Build passes**: `npm run build` must succeed. Type changes can affect bundle outcome if they affect build-time inference.
|
||||
6. **Lint cleanliness**: The changed file should not gain new lint violations. Use `npm run code -- src/path/to/file.ts` to check the specific file.
|
||||
|
||||
### Justified ESLint Suppressions
|
||||
|
||||
In some cases, `@typescript-eslint/no-explicit-any` or `@typescript-eslint/no-unnecessary-type-assertion` warnings are justified and reflect legitimate constraints rather than type-safety failures. When suppressing these rules, follow strict guidelines:
|
||||
|
||||
#### When Suppressions Are Justified
|
||||
|
||||
- **Provider-specific dynamic payloads**: AI providers, image APIs, and other external services return schemas that vary by provider. Normalizing these requires accepting `any` properties or using type assertions on the `item` parameter to access provider-specific fields.
|
||||
- Example: `(item: Record<string, any>) => item.image?.url || item.image?.b64_json` normalizes images from different providers into a common schema.
|
||||
|
||||
- **Mutation-path type casts**: When updating scene elements or bound references, Excalidraw type definitions may return readonly or union types, but the mutation path requires the mutable variant. The assertion is necessary and doesn't bypass a real type mismatch.
|
||||
- Example: `sceneElements.find(...) as unknown as Mutable<ExcalidrawElement>` during ID migration where the lookup guarantees the mutable variant exists.
|
||||
|
||||
- **Legacy or compatibility code**: When bridging serialized data, migrations, or undocumented Obsidian APIs where the runtime shape is known but the type system cannot express it without inventing local stubs.
|
||||
|
||||
#### How To Document Suppressions
|
||||
|
||||
Always use `eslint-disable-next-line` (not file-wide disables) and include a comment explaining:
|
||||
|
||||
1. **Which rule** is being suppressed and why
|
||||
2. **What constraint** makes the suppression necessary (provider variability, mutation path, etc.)
|
||||
3. **Why a stricter type is not feasible** without breaking functional equivalence
|
||||
|
||||
**Format**:
|
||||
```typescript
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- <rule name>: <1-2 sentence explanation of the constraint>
|
||||
```
|
||||
|
||||
**Examples**:
|
||||
|
||||
```typescript
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- image provider payload schemas vary and are normalized in this function.
|
||||
const normalizedData = rawItems.flatMap((item: Record<string, any>) => {
|
||||
// ... normalize item.url, item.b64_json, item.image.url, etc.
|
||||
});
|
||||
```
|
||||
|
||||
```typescript
|
||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion -- scene lookup returns union; mutation path requires mutable element.
|
||||
const containerEl = sceneElements.find(
|
||||
(el) => el.id === textElement.containerId,
|
||||
) as unknown as Mutable<ExcalidrawElement>;
|
||||
```
|
||||
|
||||
#### Suppressions To Avoid
|
||||
|
||||
- **Lazy typing**: Do not suppress `no-explicit-any` to avoid refactoring a complex function. Fix the type instead.
|
||||
- **Overly broad assertions**: Do not use `as any` or `as unknown as any` to bypass unrelated type mismatches.
|
||||
- **Undocumented suppressions**: Every suppression must include a clear comment. Suppressions without explanation are a code review red flag.
|
||||
|
||||
### When To Create A New Type File
|
||||
|
||||
- If a set of related types will be used across multiple modules and are not Obsidian or Excalidraw types, create a new file in `src/types/`.
|
||||
- Name it to reflect its domain (e.g., `canvasTypes.ts`, `aiProviderTypes.ts`).
|
||||
- Document the file's purpose and scope at the top with a brief module-level comment.
|
||||
- Export types, not implementation. Do not put logic in type files.
|
||||
- If the file re-exports types from Excalidraw or elsewhere, document the origin.
|
||||
|
||||
## Default Stance For Future Prompts
|
||||
|
||||
When you are asked to modify this repository:
|
||||
|
||||
- assume the current behavior exists for a reason
|
||||
- favor root-cause fixes over superficial patches
|
||||
- keep scope tight
|
||||
- maintain backwards compatibility unless the task explicitly authorizes a breaking change
|
||||
- validate with build plus lint-aware checks before declaring success
|
||||
- do not introduce new lint violations in touched code, even if the full repo lint command still fails
|
||||
- document user-visible changes in `src/shared/Dialogs/Messages.ts`
|
||||
- add new language keys in `src/lang/locale/en.ts` and update `ru.ts`, `es.ts`, `zh-cn.ts`, and `zh-tw.ts` in the same change
|
||||
- be especially careful around startup, build plumbing, localization tokenization, settings migration, and popout-window behavior
|
||||
|
||||
#### Custom Element Metadata (`customData`)
|
||||
|
||||
- All types and helpers for Excalidraw element `customData` (extensible metadata on elements, e.g., for LaTeX, PDF, image, or plugin-specific keys) are centralized in `src/utils/elementCustomDataUtils.ts`.
|
||||
- If you need to add a new `customData` key, type, or helper, always add it to this file and import from here in all consumers. This avoids type duplication and ensures discoverability for future maintainers and agents.
|
||||
- See `ExcalidrawCustomData`, `ExcalidrawCustomDataPatch`, `ExcalidrawPDFCustomData`, `ExcalidrawLatexCustomData`, and `addAppendUpdateCustomData` in that file for canonical patterns.
|
||||
Follow [CODING_STANDARDS.md](CODING_STANDARDS.md) for implementation, review,
|
||||
compatibility, documentation, localization, and validation requirements. Preserve
|
||||
repository-specific lifecycle and build constraints described in this guide.
|
||||
@@ -0,0 +1,474 @@
|
||||
# Coding standards and mandatory practices
|
||||
|
||||
This is the canonical home for cross-cutting coding requirements in this repository.
|
||||
Preserve existing behavior, prefer root-cause fixes, and keep scope tight.
|
||||
Read it before implementing or reviewing changes. Add future requirements here and
|
||||
link to the relevant section instead of duplicating rules in other guides.
|
||||
|
||||
[AGENTS.md](AGENTS.md) provides architecture, lifecycle constraints, task routing,
|
||||
and agent workflows. [CONTRIBUTING.md](CONTRIBUTING.md) provides contributor setup,
|
||||
build commands, and release procedures. Subsystem-specific constraints in those
|
||||
guides remain mandatory alongside these standards.
|
||||
|
||||
## Timers, window ownership, and asynchronous work
|
||||
|
||||
- Use `window.setTimeout()` / `window.setInterval()` and the matching
|
||||
`window.clearTimeout()` / `window.clearInterval()` for coordination, persistence,
|
||||
retries, debouncing that survives migration, and promise settlement. In plugin
|
||||
modules, `window` is the main application window. `activeWindow`, a view's
|
||||
`ownerWindow`, or a DOM node's `defaultView` may be a popout that closes before
|
||||
its timer fires. This lifetime rule also applies on older Obsidian versions;
|
||||
improved hidden/minimized-window scheduling does not make a closed window run
|
||||
callbacks. See Obsidian's [timer rule](https://github.com/obsidianmd/eslint-plugin/blob/master/docs/rules/prefer-window-timers.md).
|
||||
- Keep DOM creation, focus, event listeners, portals, observers, and rendering
|
||||
attached to the owning document/window. Choosing the main window as a timer
|
||||
source does not change the callback's DOM ownership.
|
||||
- An owning-window timer may be used for disposable UI work that should stop
|
||||
with that window. Capture the scheduling window and use that same object to
|
||||
cancel the timer. Do not re-read a focus-following or migrated window getter
|
||||
during cleanup; timer IDs belong to their scheduling window.
|
||||
- Clear timers and unregister listeners when their owning component unloads.
|
||||
Use Obsidian's `register*` cleanup helpers. Keep cleanup idempotent and avoid
|
||||
retaining completed-operation closures until plugin unload.
|
||||
- A canceled timer does not settle its promise. Resolve or reject pending waits
|
||||
during cancellation so their `finally` blocks release listeners, semaphores,
|
||||
and global state. Check the original file/API/view identity and lifecycle
|
||||
after awaited work before changing a scene or starting a write.
|
||||
- Migration waits must preserve synchronous source-root unmount before the first
|
||||
`await`. Stop UI reconstruction when the destination leaf/window has retired;
|
||||
retain the established persistence-handoff ownership rules in `AGENTS.md`.
|
||||
- Use `requestAnimationFrame()` for rendering in its owning window, not as an
|
||||
unbounded persistence or cleanup clock. Awaited frame-based work that must
|
||||
finish in a hidden or closed window needs a main-window timeout fallback or
|
||||
explicit cancellation. A timer/task yield or frame callback is not proof of
|
||||
actual paint.
|
||||
|
||||
## Security, privacy, and compliance
|
||||
|
||||
Follow Obsidian's **Developer Policies** and **Plugin Guidelines**. In particular:
|
||||
|
||||
- Default to local/offline operation. Only make network requests when essential to the feature.
|
||||
- No hidden telemetry. If you collect optional analytics or call third-party services, require explicit opt-in and document clearly in `README.md` and in settings.
|
||||
- Keep every external origin and every fully static URL as a literal `https://...` string in source so reviewers and security scanners can identify the destination without executing the code. A dynamic resource path may be appended only to a literal base URL, and each untrusted path segment must be validated or encoded.
|
||||
- Never conceal a network destination or evade a scanner finding by splitting or joining domain labels, deriving an origin from Git state, environment variables, runtime configuration, or character codes, or by encoding, compressing, encrypting, or otherwise transforming a URL. Do not weaken, suppress, or work around a scanner by making an endpoint less statically visible; fix the underlying behavior or document a genuine false positive transparently.
|
||||
- Never execute remote code, fetch and eval scripts, or auto-update plugin code outside of normal releases.
|
||||
- Minimize scope: read/write only what's necessary inside the vault. Do not access files outside the vault.
|
||||
- Clearly disclose any external services used, data sent, and risks.
|
||||
- Respect user privacy. Do not collect vault contents, filenames, or personal information unless absolutely necessary and explicitly consented.
|
||||
- Avoid deceptive patterns, ads, or spammy notifications.
|
||||
- Register and clean up all DOM, app, and interval listeners using the provided `register*` helpers so the plugin unloads safely.
|
||||
|
||||
## UX & copy guidelines (for UI text, commands, settings)
|
||||
|
||||
- Prefer sentence case for headings, buttons, and titles.
|
||||
- Use clear, action-oriented imperatives in step-by-step copy.
|
||||
- Use **bold** to indicate literal UI labels. Prefer "select" for interactions.
|
||||
- Use arrow notation for navigation: **Settings → Community plugins**.
|
||||
- Keep in-app strings short, consistent, and free of jargon.
|
||||
|
||||
## DOM Styling And Visibility
|
||||
|
||||
- Prefer Obsidian's established classes such as `mod-warning` before adding plugin-specific CSS. Consult the Obsidian CSS variables and component conventions when styling settings or dialogs.
|
||||
- Never use `document.createElement()`, `Document.createElement()`, or `Document.createDocumentFragment()`. Prefer Obsidian's `createEl()`, `createDiv()`, `createSpan()`, `createSvg()`, and `createFragment()` helpers, following these established patterns:
|
||||
- Create detached typed rendering elements whose owning document is irrelevant through a fragment, for example `const canvas = createFragment().createEl("canvas")` or `const image = createFragment().createEl("img")`.
|
||||
- Before creating a temporary wrapper solely for serialization, check whether the consumer accepts a `DocumentFragment` or DOM node directly. For example, `htmlToMarkdown()` accepts a fragment; clone and transform that detached tree before passing it to the consumer. Do not substitute `XMLSerializer` without verifying that its XML serialization is equivalent to the required HTML representation.
|
||||
- Register known runtime font sources through document-scoped `FontFace` objects and `document.fonts.add()`/`delete()`. Preserve descriptors such as `unicodeRange`, retain each face for replacement and cleanup, and do not build a generic CSS parser merely to translate arbitrary stylesheet text into `FontFace` objects.
|
||||
- `setCssProps()`/`setCssStyles()` are suitable for dynamic declarations on one element, not for CSS requiring selectors, pseudo-elements, at-rules, or arbitrary rule text. Creating the same `<style>` through `createEl("style")` does not resolve the separate CodeScanner policy finding for dynamic style elements.
|
||||
- `deliberateCreateElement`, injected by `rollup.config.mjs`, is restricted to the remaining reviewed `<style>` cases: document-scoped runtime stylesheets that cannot be represented as element declarations, and styles that must belong to an iframe's `contentDocument`, where Obsidian's DOM helpers are not installed. Do not broaden this exception without first exhausting the patterns above and documenting why document-specific native creation is intrinsic. Track the upstream policy discussion in [obsidianmd/eslint-plugin#196](https://github.com/obsidianmd/eslint-plugin/issues/196).
|
||||
- Use semantic interactive elements and Obsidian's event helpers. Link-like navigation should use a real anchor, not a button merely styled as a link; use `onClickEvent` when applying custom navigation behavior. Validate touch interactions on a physical mobile device because desktop mobile emulation proves layout, not native touch activation.
|
||||
- When a control already has a styled tooltip, do not also set an HTML `title` attribute. Keep its accessible name in `aria-label`; `title` produces a second native Chromium/Electron tooltip and must not replace accessible labeling.
|
||||
- Do not write an element's `style` attribute directly. Use `setStyle` and `removeStyle` from `src/utils/styleUtils.ts` when a dynamic inline style is genuinely necessary.
|
||||
- Use the existing visibility helpers instead of the native `hidden` property or attribute, which is not reliable in Obsidian's styled UI. Choose `hideElement`/`showElement` or `setComponentVisibility` from `src/utils/styleUtils.ts`, or `setElementHidden`/`setElementDisplay` from `src/utils/htmlUtils.ts` when a boolean/display-oriented API is clearer.
|
||||
- Search `src/utils/styleUtils.ts` and `src/utils/htmlUtils.ts` before introducing new DOM styling helpers or display classes.
|
||||
- Run `npm run lint:css` after CSS changes to check the public Obsidian scanner policy locally; hosted CodeScanner can apply additional review checks. Preserve compatibility with the declared minimum Obsidian version and prefer a widely supported property when it provides the same result; for example, a basic underline is preferable to optional underline-thickness/offset styling. Avoid `!important`: increase selector specificity for stylesheet rules, and expose scoped CSS-variable overrides with the original values as fallbacks when renderer-owned inline dimensions need to change.
|
||||
- For a known vault path, use the most specific synchronous lookup: `app.vault.getFolderByPath()` for folders and `app.vault.getFileByPath()` for files. Use `getAbstractFileByPath()` only when either type is intentionally accepted, and avoid adapter-level existence checks when the Vault API already models the target.
|
||||
- Radix content in the customized Excalidraw package may be rendered through `ObsidianRadixPortal` directly under the owning document's body. A body portal escapes component ancestor selectors and modal stacking contexts. When a trigger is visible but its menu or popover is not, first inspect whether the content mounted behind a modal or lost ancestor-scoped styles. Use a class on the portaled content, a portal-safe selector, and an explicit stacking level when required; validate main-window, popout, click-outside, and Escape behavior.
|
||||
|
||||
## Performance
|
||||
|
||||
- Keep startup light. Defer heavy work until needed.
|
||||
- Avoid long-running tasks during `onload`; use lazy initialization.
|
||||
- Batch disk access and avoid excessive vault scans.
|
||||
- Debounce/throttle expensive operations in response to file system events.
|
||||
- For temporary performance diagnostics, use a unique searchable prefix and
|
||||
emit one copyable string per event rather than logging expandable objects.
|
||||
Keep timing-only callbacks and state isolated from production behavior.
|
||||
- Distinguish synchronous API duration, queue completion, browser-task yields,
|
||||
animation-frame callbacks, and actual paint; none is a substitute for the
|
||||
others when explaining perceived latency.
|
||||
- Temporary diagnostics are not product observability. Do not log vault
|
||||
contents, and include filenames only when the maintainer explicitly needs
|
||||
per-file attribution. Remove the diagnostics before commit and search both
|
||||
`src/` and the built `dist/main.js` for their prefix.
|
||||
|
||||
## Coding conventions
|
||||
|
||||
- TypeScript with `"strict": true` preferred.
|
||||
- **Keep `main.ts` minimal**: Focus only on plugin lifecycle (onload, onunload, addCommand calls). Delegate all feature logic to separate modules.
|
||||
- **Split large files**: If any file exceeds ~200-300 lines, consider breaking it into smaller, focused modules.
|
||||
- **Use clear module boundaries**: Each file should have a single, well-defined responsibility.
|
||||
- Bundle everything into `main.js` (no unbundled runtime deps).
|
||||
- Avoid Node/Electron APIs if you want mobile compatibility; set `isDesktopOnly` accordingly.
|
||||
- Prefer `async/await` over promise chains; handle errors gracefully.
|
||||
|
||||
## Mobile
|
||||
|
||||
- Don't assume desktop-only behavior unless `isDesktopOnly` is `true`.
|
||||
- Avoid using desktop only objects and functions such as Node Buffer, SharedArrayBuffer, etc. For the special case when this is required, make proper mobile safe guards.
|
||||
- Avoid large in-memory structures; be mindful of memory and storage constraints.
|
||||
- Treat a physical phone or tablet as a separate validation environment for touch targets, synthesized clicks, scrolling gestures, focus, and the mobile WebView. Desktop mobile emulation is useful for responsive layout checks but is not a substitute for real touch testing.
|
||||
|
||||
## Agent do/don't
|
||||
|
||||
**Do**
|
||||
|
||||
- Add commands with stable IDs (don't rename once released).
|
||||
- Provide defaults and validation in settings.
|
||||
- Write idempotent code paths so reload/unload doesn't leak listeners or intervals.
|
||||
- Use `this.register*` helpers for everything that needs cleanup.
|
||||
|
||||
**Don't**
|
||||
|
||||
- Introduce network calls without an obvious user-facing reason and documentation.
|
||||
- Ship features that require cloud services without clear disclosure and explicit opt-in.
|
||||
- Store or transmit vault contents unless essential and consented.
|
||||
|
||||
## Naming And Placement Conventions
|
||||
|
||||
Treat the following as the target convention for all new code and for any future naming-cleanup pass. The current repository contains legacy exceptions. Do not rename files opportunistically inside behavior changes; do naming cleanup in a dedicated, compatibility-aware refactor.
|
||||
|
||||
### File And Symbol Naming
|
||||
|
||||
- Use PascalCase filenames when the file's main export is a class, React component, modal, manager, view, or similarly named object with clear identity. The filename should match the primary export. Examples already in the repo include `ExcalidrawView.ts`, `CommandManager.ts`, and `ReleaseNotes.ts`.
|
||||
- Use lowerCamelCase filenames for helper and utility modules whose main exports are functions or small related helpers. Examples already in the repo include `fileUtils.ts`, `pathUtils.ts`, and `exportUtils.ts`.
|
||||
- Use lowerCamelCase filenames for grouped type modules unless the file is intentionally mirroring an externally established name.
|
||||
- Use PascalCase for classes, React components, dialogs, managers, views, interfaces, and domain-level type aliases.
|
||||
- Use lowerCamelCase for functions, methods, variables, parameters, and object properties.
|
||||
- Use UPPER_SNAKE_CASE for exported constants and locale keys.
|
||||
- Keep persisted settings keys, serialized fields, and frontmatter keys stable and lowerCamelCase unless an explicit migration is added.
|
||||
- For future rename work, fix typos and inconsistent acronym casing in a dedicated pass rather than mixing those renames with behavior changes. Existing examples worth normalizing later include files such as `YoutTubeUtils.ts`, `modifierkeyHelper.ts`, and `TTDDialogPersistanceAdater.ts`.
|
||||
|
||||
### Folder Placement Guide
|
||||
|
||||
- `src/core/`: plugin bootstrap, plugin-wide lifecycle, registration, settings, and orchestration. If a change affects the plugin globally rather than a single open view, start here.
|
||||
- `src/core/managers/`: plugin-global coordinators that own subscriptions, registration, or lifecycle-managed behavior.
|
||||
- `src/core/editor/`: markdown/editor bridge behavior and editor-specific UX.
|
||||
- `src/view/`: the live Excalidraw pane and view-owned behavior.
|
||||
- `src/view/components/`: React components rendered inside the main Excalidraw view or tightly coupled to `ExcalidrawView` state.
|
||||
- `src/view/managers/`: view-scoped controllers that belong to a single view instance rather than the whole plugin.
|
||||
- `src/view/sidepanel/`: sidepanel-only view code.
|
||||
- `src/shared/`: reusable subsystems used by multiple areas such as `core`, `view`, scripting, import/export, or dialogs.
|
||||
- `src/shared/Dialogs/`: Obsidian modals, prompts, release-note content, and user-facing dialog flows. `src/shared/Dialogs/Messages.ts` is the source for next-version change messages shown to users.
|
||||
- `src/shared/components/`: reusable UI helpers that are not owned solely by the main Excalidraw view.
|
||||
- `src/shared/Suggesters/`: suggestion modals and suggestion-specific helpers.
|
||||
- `src/shared/Workers/`: worker entrypoints and worker-specific helper code.
|
||||
- `src/shared/OCR/`: OCR integrations and OCR-specific logic.
|
||||
- `src/shared/svgToExcalidraw/`: SVG parsing and import pipeline code.
|
||||
- `src/utils/`: side-effect-light helpers. If a module owns long-lived state, subscriptions, or plugin/view lifecycle, it likely does not belong in `utils`.
|
||||
- `src/constants/`: shared constants, icon definitions, startup content, and URL registries. Keep logic here minimal and obvious.
|
||||
- `src/types/`: shared TypeScript contracts and ambient declarations, not implementation logic.
|
||||
- `src/lang/locale/`: user-visible strings. `en.ts` is the source of truth for new keys.
|
||||
- `MathjaxToSVG/`: a separate subproject with its own build and runtime role. Treat it as an independent package with the same documentation and compatibility expectations as the main plugin.
|
||||
|
||||
## Documentation Standard
|
||||
|
||||
Use TSDoc as the documentation standard. It is the modern TypeScript-friendly evolution of JSDoc and is the right fit for this repository; do not think in terms of JavaDoc for TS code.
|
||||
|
||||
- Require TSDoc for exported classes, exported functions, public methods, public library APIs, and non-obvious modules.
|
||||
- Public APIs in `src/core/index.ts` and `src/shared/ExcalidrawAutomate.ts` should always have complete TSDoc.
|
||||
- Settings migrations, compatibility shims, build-time tokenization code, and package-loading code should also carry clear high-signal documentation.
|
||||
- Add short module-level documentation to files whose behavior is easy to misread, such as `rollup.config.mjs`, `src/core/managers/PackageManager.ts`, migration code in `src/core/main.ts`, and the `MathjaxToSVG/` subproject.
|
||||
- Internal/private code should only be commented when the behavior is non-obvious. Avoid trivial comments.
|
||||
|
||||
## Compatibility with other plugins requires maintainer consent
|
||||
|
||||
Compatibility work with another plugin is out of scope by default. Once an
|
||||
agent identifies that a proposed fix would accommodate another plugin's behavior,
|
||||
it MUST explicitly ask for maintainer consent before implementing that work.
|
||||
A general request to investigate or fix an issue is not approval for plugin
|
||||
compatibility work.
|
||||
|
||||
The consent request must name the other plugin, distinguish the confirmed core
|
||||
defect from the plugin interaction, describe the proposed accommodation, and
|
||||
explain its complexity and maintenance cost. This includes lifecycle changes,
|
||||
startup delays or retries, monkey patches, compatibility shims, fallback paths,
|
||||
and relaxed API/version requirements. Apply this control to companion-plugin
|
||||
compatibility changes as well; do not expand a supported integration's contract
|
||||
without explicit approval.
|
||||
|
||||
Read-only triage may establish which component owns a failure. Do not presume
|
||||
that Excalidraw should compensate for another plugin that is outdated, broken,
|
||||
or incompatible with an Obsidian update. Report that boundary and prefer a fix
|
||||
in the responsible plugin unless the maintainer explicitly approves otherwise.
|
||||
Previously approved integrations are not authorization for new compatibility
|
||||
work, and this policy does not authorize removing existing integrations.
|
||||
|
||||
## Backward Compatibility Requirements
|
||||
|
||||
Backwards compatibility is a strong requirement in this repository.
|
||||
|
||||
- Do not break persisted settings, serialized scene data, frontmatter keys, command IDs, or documented user workflows without an explicit migration or compatibility layer.
|
||||
- Do not rename public API methods, script-engine entry points, or library exports casually. `src/core/index.ts` and `src/shared/ExcalidrawAutomate.ts` are especially sensitive.
|
||||
- Naming-only refactors must preserve observable behavior.
|
||||
- If a rename reaches beyond a purely internal import graph, prefer temporary aliases, re-exports, or compatibility wrappers during migration.
|
||||
- If settings shape or stored values change, update defaults, settings UI, load/save flow, and migration logic together.
|
||||
- Assume user scripts, vault content, templates, embeds, release-note references, and community documentation may depend on existing names and behavior.
|
||||
- The paired plugin-to-fork host protocol is the deliberate exception described above: coordinate and version breaking contract changes instead of preserving fallbacks for mismatched package versions.
|
||||
|
||||
## User-Facing Change Workflow
|
||||
|
||||
### Release notes in `Messages.ts`
|
||||
|
||||
`src/shared/Dialogs/Messages.ts` is shown directly to end users. Treat the upcoming version entry as a short, curated account of the final release, not a commit log or an implementation checklist.
|
||||
|
||||
- Select significant new capabilities, useful workflow improvements, important fixes to released behavior, and actions users must take. A code change does not automatically need an entry.
|
||||
- Consolidate related work into one concise outcome. When refining an unreleased feature, update its existing description; do not add separate bullets for interim bugs, test discoveries, edge cases or follow-up fixes that users never received.
|
||||
- Omit internal refactors, test/build work, lifecycle mechanisms and routine defensive fixes such as autosave rejection recovery. Keep technical reasoning and incremental history in PRs, issues, tests and developer documentation.
|
||||
- Lead with what users can do or what noticeable problem is resolved. Prefer one short sentence per bullet; add a second only for a necessary action, compatibility warning or important limitation. Avoid repeating one feature under UI, CLI and API headings.
|
||||
- Mention API or scripting changes only when they provide a meaningful capability or require users to adapt. Keep signatures, parameters, protocol versions, return structures and code examples in API documentation and `SuggesterInfo.ts`, not release notes.
|
||||
- Edit only the upcoming release entry unless historical corrections are explicitly requested. Before handoff, reread that entire entry and remove duplication and implementation detail. Preserve useful issue links without requiring one bullet per issue.
|
||||
|
||||
### Localized interface strings
|
||||
|
||||
- Do not hardcode English strings in UI components or logic. Put user-facing
|
||||
strings in the localization files under `src/lang/locale/`.
|
||||
|
||||
- Every new user-visible language string must be added first in `src/lang/locale/en.ts`.
|
||||
- The same change must also update `src/lang/locale/ru.ts`, `src/lang/locale/es.ts`, `src/lang/locale/zh-cn.ts`, and `src/lang/locale/zh-tw.ts`.
|
||||
- These maintained locales are part of the build-time localized bundle path, so they are not optional follow-up work.
|
||||
- Preserve locale key names and the existing comment grouping by owning file or subsystem.
|
||||
- If a string contains URLs or runtime-dependent tokens, follow the existing locale patterns so build-time tokenization and runtime resolution continue to work.
|
||||
|
||||
## React Runtime Import Model
|
||||
|
||||
React usage in this repository is special because one compressed private React/ReactDOM runtime is package-managed across main-window and popout roots.
|
||||
|
||||
- It is fine to import React for types, component definitions, JSX compilation, and nearby established patterns. The plugin build resolves those imports through the inflated private runtime; the library build and separately built Excalidraw artifact keep React external.
|
||||
- The shared runtime is safe only because each root and Excalidraw instance receives stable owner-document state. Never recover view ownership from the runtime's lexical main window.
|
||||
- For view-bound rendering and roots, follow `src/view/ExcalidrawView.ts` and use `view.packages.react` and `view.packages.reactDOM` through the package-manager flow.
|
||||
- For view-owned React objects such as refs or runtime-created elements, follow neighboring patterns such as `src/view/components/menu/ToolsPanel.tsx` and `src/view/components/CustomEmbeddable.tsx`, which intentionally use the package-managed React instance.
|
||||
- Do not introduce a new direct `ReactDOM.createRoot()` path outside the package-manager model unless you have verified popout-window safety.
|
||||
- Before adding or refactoring a React file, inspect the nearest existing file in that area and match its import/runtime pattern.
|
||||
|
||||
## Type System And Type Refactoring
|
||||
|
||||
### Type Consolidation Follow-through
|
||||
|
||||
- Treat user requests like "tiny follow-up" or "do this consolidation" as end-to-end tasks: complete extraction, replace all known duplicates, and remove local leftovers in the same pass.
|
||||
- When a type is used in more than one module, prefer a shared definition in `src/types/` and import it everywhere instead of repeating local aliases.
|
||||
- For scope-local inline types (for example inside a processor or callback), quickly verify whether the shape already exists elsewhere before keeping or adding a local declaration.
|
||||
- Example: if `RemoteDirectoryInfo` is used in both `src/utils/utils.ts` and `src/core/main.ts`, define it once in `src/types/githubTypes.ts`, update both imports, and delete both local aliases in the same change.
|
||||
- After type-only consolidations, run targeted diagnostics on touched files plus `npm run build`, and confirm no runtime behavior was intentionally changed.
|
||||
|
||||
|
||||
Replacing `any` types is a precision task requiring understanding of the codebase's type architecture and constraints.
|
||||
|
||||
### Core Principles
|
||||
|
||||
When replacing `any` types:
|
||||
|
||||
- **Functional equivalence is non-negotiable**: Code must remain 100% functionally identical. Type changes are *only* for TypeScript type checking, never for runtime behavior changes.
|
||||
- **Never invent local types**: If a type can be inferred from existing usage, Excalidraw types, or Obsidian APIs, use it. Do not create ad-hoc interface definitions.
|
||||
- **Do not replace with `unknown` by default**: `unknown` is stricter than `any` and often requires guards/assertions elsewhere, which can break functional equivalence.
|
||||
- **Exception for bridge casts**: In rare generic conditional return scenarios where TypeScript cannot express a provably equivalent return value, a narrow `as unknown as ...` bridge cast is acceptable. Keep it local, document why, and do not use it to bypass real type mismatches.
|
||||
- **Use existing infrastructure**: Extend `src/types/types.d.ts` for Obsidian unpublished APIs, create new files in `src/types/` that build on existing conventions, and reference Excalidraw types directly.
|
||||
|
||||
### CRITICAL: Behavioral Change Detection When Replacing `any`
|
||||
|
||||
**Type replacements that appear to be "type-only" can introduce subtle runtime behavior changes. You must proactively detect and flag these before finalizing any change.**
|
||||
|
||||
#### Behavior-Altering Patterns
|
||||
|
||||
When scanning code that uses a value currently typed as `any`, watch for these patterns that can be affected by a type change:
|
||||
|
||||
1. **Falsy/Truthy checks**: `if (!value)`, `if (value)`, `value ? ... : ...`
|
||||
- **Risk**: If the original code treats `0`, `""`, `false`, `null`, `undefined`, or `[]` as falsy, and you infer a type that allows these values, behavior changes.
|
||||
- **Example**: Old code `if (!offset)` rejects `offset === 0`. New type `offset: number` allows `0`, fundamentally changing behavior for edge cases.
|
||||
- **Action**: If the code has falsy checks, document that behavior explicitly in your change notes to the user.
|
||||
|
||||
2. **Existence checks**: `if (value === undefined)`, `if (value === null)`, `if (value)`
|
||||
- **Risk**: Changing from accepting `any` (including undefined) to a narrower type may exclude valid edge cases.
|
||||
- **Action**: Verify all call sites provide values matching the new type constraint.
|
||||
|
||||
3. **Optional chaining with falsy fallbacks**: `value?.prop ?? default`, `value?.prop ?? fallback`
|
||||
- **Risk**: The fallback behavior may change if the inferred type rules out falsy intermediate values.
|
||||
- **Action**: Test that fallback behavior is identical.
|
||||
|
||||
4. **Conditional logic on properties**: `if (obj.prop)`, `switch (obj.type)`, loops over `obj`
|
||||
- **Risk**: Narrowing from `any` to a specific object shape might exclude properties the runtime code depends on.
|
||||
- **Action**: Verify the inferred type shape includes all properties actually accessed.
|
||||
|
||||
#### Mandatory Pre-Change Verification
|
||||
|
||||
Before replacing an `any` type:
|
||||
|
||||
1. **Scan all usages** of the value (especially the entire function or component containing it).
|
||||
2. **Identify falsy/truthy checks** or conditional logic that depends on the value.
|
||||
3. **Compare semantics**: Does the old behavior permit `0`, `""`, `false`, `null`, or `undefined` in a way the new type might not?
|
||||
4. **If a behavior change is introduced**: Explicitly document it in a comment in the code AND flag it to the user BEFORE considering the task complete.
|
||||
5. **Document edge cases** that the type change affects.
|
||||
|
||||
#### Examples of Correct vs. Incorrect Replacements
|
||||
|
||||
**INCORRECT** (behavioral change, not flagged):
|
||||
```typescript
|
||||
// Old: const value: any = ...; if (!value) return null;
|
||||
// New: const value: number = ...; if (typeof value !== "number") return null;
|
||||
// Problem: Old code rejects 0, new code accepts 0. Behavior changed silently.
|
||||
```
|
||||
|
||||
**CORRECT** (behavioral change, explicitly flagged):
|
||||
```typescript
|
||||
// Old: const offset: any = ...; if (!offset) return null;
|
||||
// New: const offset: number = ...; if (typeof offset !== "number") return null;
|
||||
// Flagged: "Note: This change now allows offset=0 (previously rejected as falsy).
|
||||
// This is intentional and fixes a bug where block IDs could not be inserted at file start."
|
||||
```
|
||||
|
||||
**CORRECT** (no behavioral change):
|
||||
```typescript
|
||||
// Old: const frame: any = ...; if (frame.type === "frame" && !frame.isDeleted) ...
|
||||
// New: const frame: { type: string; isDeleted?: boolean } = ...; if (frame.type === "frame" && !frame.isDeleted) ...
|
||||
// OK: Inferred type supports all operations, no falsy checks introduced, behavior identical.
|
||||
```
|
||||
|
||||
### Type Files And Responsibilities
|
||||
|
||||
- **`src/types/types.d.ts`**: Ambient module declarations and Obsidian unpublished API types. This is the standard location for extending Obsidian's type system and for global type declarations. Use the existing patterns (interfaces extending `obsidian` module interfaces) consistently.
|
||||
- **`src/types/excalidrawLib.d.ts`**: Ambient declarations for the evaluated `window.ExcalidrawLib` runtime. Derive declarations from published fork types where possible, and keep the file lowerCamelCase in line with grouped type-module naming.
|
||||
- **Type files in subsystem directories**: Files like `src/shared/ExcalidrawAutomate.ts` may carry substantial type definitions and exports alongside implementation. Do not move these without evaluating the impact on the public API surface.
|
||||
- **Leverage existing type files**: Consult `src/types/excalidrawLib.d.ts` and the installed fork declarations for the current Excalidraw type model before adding new Excalidraw-derived types.
|
||||
|
||||
### Excalidraw Type Integration
|
||||
|
||||
- Do not invent wrapper types for Excalidraw entities. Reference the customized `@zsviczian/excalidraw` types directly.
|
||||
- Before defining a plugin-local union or interface for a fork concept, search the published fork declarations and import or alias the canonical type. Ambient runtime bridges should reuse those types rather than duplicate their structure.
|
||||
- Build on existing type extensions in the codebase (e.g., `src/types/types.d.ts` may already extend Excalidraw types).
|
||||
- When a type depends on Excalidraw internals, document the dependency clearly so future changes to the fork are visible.
|
||||
- Obsidian unpublished API types often interact with Excalidraw components; model these intersections carefully in `src/types/types.d.ts`.
|
||||
|
||||
### Inference And Scanning Workflow
|
||||
|
||||
To identify the correct type for an `any` reference:
|
||||
|
||||
1. **Scan usage**: Identify all sites where the value is used. Determine what properties, methods, or operations are performed on it.
|
||||
2. **Check existing types**: Search `src/types/`, the Excalidraw type definitions (via node_modules), and Obsidian API typings for matching types.
|
||||
3. **Check upstream patterns**: Look at similar usage patterns elsewhere in the codebase. How are comparable values typed?
|
||||
4. **Intersect constraints**: The correct type must support all observed operations. If multiple possible types exist, choose the one that is most specific without inventing new constraints.
|
||||
5. **Test narrowing**: If the type was `any`, code may not have type guards. Ensure that replacing `any` with a more specific type does not require adding guards or assertions that change behavior.
|
||||
|
||||
### Common Patterns
|
||||
|
||||
- **DOM elements and jQuery-like objects**: Often `any` when they should be `HTMLElement`, `HTMLDivElement`, `Element`, etc. Check `src/utils/` and view components for examples.
|
||||
- **Obsidian unpublished APIs**: Frequently `any` because the official typings are incomplete. Add to `src/types/types.d.ts` to model the actual shape based on Obsidian source or runtime inspection.
|
||||
- **Excalidraw component state and config objects**: Usually `any` but should reference `ExcalidrawProps`, `AppState`, or similar exported by `@zsviczian/excalidraw`.
|
||||
- **Event handler parameters and callbacks**: Often `any` but should be typed based on what the callback receives. Check invocation sites.
|
||||
- **Imported worker or third-party runtime objects**: May be `any` if the package lacks types. Create a minimal type stub in `src/types/` if needed, or use `as const` to infer from a known shape.
|
||||
- **Scene boundary typing (`getScene()` vs persistence sync)**: Scene producers may return readonly/non-deleted element arrays while persistence code mutates scene internals. Prefer broader input types at boundary methods (e.g., sync/update entry points), then narrow/cast internally where mutation is required.
|
||||
- **AppState strict vs partial contracts**: Many helpers accept `AppState` while repository data paths often carry `Partial<AppState>`. Prefer widening helper signatures only when behavior is unchanged and call sites are truly partial; otherwise use narrow local assertions at call sites instead of reshaping runtime objects.
|
||||
- **Legacy appState compatibility keys**: Preserve compatibility for legacy keys used during migrations or cross-version loads (e.g., `currentItemLinearStrokeSharpness`, `currentItemStrokeSharpness`) when tightening types.
|
||||
|
||||
### Adding Obsidian Unpublished API Types
|
||||
|
||||
When documenting an unpublished Obsidian API in `src/types/types.d.ts`:
|
||||
|
||||
- Use module declaration patterns already in the file (`declare module "obsidian" { interface App { ... } }`).
|
||||
- Include a brief comment explaining the API or linking to the Obsidian source, if known.
|
||||
- Only add properties and methods that are actually used in the codebase. Avoid speculative extensions.
|
||||
- Be conservative: unpublished APIs can change; document the version or observation date if possible.
|
||||
- Do not duplicate types; if Obsidian's types already define something, extend or refine, not redefine.
|
||||
|
||||
### Validation Approach
|
||||
|
||||
When replacing `any`:
|
||||
|
||||
1. **No new runtime errors**: Run the plugin in Obsidian after the change. Verify that all observed functionality works identically.
|
||||
2. **TypeScript checking**: The change should reduce or eliminate TypeScript errors, not introduce new ones.
|
||||
3. **No new guards or assertions**: If code previously worked with `any`, replacing it with a specific type should not require new `if` checks, `as` casts, or optional chaining that wasn't there before. If it does, the type choice is too strict.
|
||||
4. **Side-effect parity check**: When replacing index-based mutation code with object transforms (e.g., sanitize/copy patterns), explicitly verify whether the original code intentionally mutated shared objects. Preserve side effects unless a behavior change is explicitly approved.
|
||||
5. **Build passes**: `npm run build` must succeed. Type changes can affect bundle outcome if they affect build-time inference.
|
||||
6. **Lint cleanliness**: The changed file should not gain new lint violations. Use `npm run code -- src/path/to/file.ts` to check the specific file.
|
||||
|
||||
### Justified ESLint Suppressions
|
||||
|
||||
In some cases, `@typescript-eslint/no-explicit-any` or `@typescript-eslint/no-unnecessary-type-assertion` warnings are justified and reflect legitimate constraints rather than type-safety failures. When suppressing these rules, follow strict guidelines:
|
||||
|
||||
#### When Suppressions Are Justified
|
||||
|
||||
- **Provider-specific dynamic payloads**: AI providers, image APIs, and other external services return schemas that vary by provider. Normalizing these requires accepting `any` properties or using type assertions on the `item` parameter to access provider-specific fields.
|
||||
- Example: `(item: Record<string, any>) => item.image?.url || item.image?.b64_json` normalizes images from different providers into a common schema.
|
||||
|
||||
- **Mutation-path type casts**: When updating scene elements or bound references, Excalidraw type definitions may return readonly or union types, but the mutation path requires the mutable variant. The assertion is necessary and doesn't bypass a real type mismatch.
|
||||
- Example: `sceneElements.find(...) as unknown as Mutable<ExcalidrawElement>` during ID migration where the lookup guarantees the mutable variant exists.
|
||||
|
||||
- **Legacy or compatibility code**: When bridging serialized data, migrations, or undocumented Obsidian APIs where the runtime shape is known but the type system cannot express it without inventing local stubs.
|
||||
|
||||
#### How To Document Suppressions
|
||||
|
||||
Always use `eslint-disable-next-line` (not file-wide disables) and include a comment explaining:
|
||||
|
||||
1. **Which rule** is being suppressed and why
|
||||
2. **What constraint** makes the suppression necessary (provider variability, mutation path, etc.)
|
||||
3. **Why a stricter type is not feasible** without breaking functional equivalence
|
||||
|
||||
**Format**:
|
||||
```typescript
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- <rule name>: <1-2 sentence explanation of the constraint>
|
||||
```
|
||||
|
||||
**Examples**:
|
||||
|
||||
```typescript
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- image provider payload schemas vary and are normalized in this function.
|
||||
const normalizedData = rawItems.flatMap((item: Record<string, any>) => {
|
||||
// ... normalize item.url, item.b64_json, item.image.url, etc.
|
||||
});
|
||||
```
|
||||
|
||||
```typescript
|
||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion -- scene lookup returns union; mutation path requires mutable element.
|
||||
const containerEl = sceneElements.find(
|
||||
(el) => el.id === textElement.containerId,
|
||||
) as unknown as Mutable<ExcalidrawElement>;
|
||||
```
|
||||
|
||||
#### Suppressions To Avoid
|
||||
|
||||
- **Lazy typing**: Do not suppress `no-explicit-any` to avoid refactoring a complex function. Fix the type instead.
|
||||
- **Overly broad assertions**: Do not use `as any` or `as unknown as any` to bypass unrelated type mismatches.
|
||||
- **Undocumented suppressions**: Every suppression must include a clear comment. Suppressions without explanation are a code review red flag.
|
||||
|
||||
### When To Create A New Type File
|
||||
|
||||
- If a set of related types will be used across multiple modules and are not Obsidian or Excalidraw types, create a new file in `src/types/`.
|
||||
- Name it to reflect its domain (e.g., `canvasTypes.ts`, `aiProviderTypes.ts`).
|
||||
- Document the file's purpose and scope at the top with a brief module-level comment.
|
||||
- Export types, not implementation. Do not put logic in type files.
|
||||
- If the file re-exports types from Excalidraw or elsewhere, document the origin.
|
||||
|
||||
## Logging
|
||||
|
||||
|
||||
- **Do not use direct `console.log(...)` calls in project code.** Use the shared logging helper exported as `log` from `src/utils/debugHelper.ts`.
|
||||
- If you are working in a Node script where importing `src/utils/debugHelper.ts` is not practical, define and use a local `log` wrapper instead of calling `console.log(...)` directly.
|
||||
|
||||
## Validation requirements
|
||||
|
||||
- Before launching validation, classify the actual behavior change and state the smallest checks that address its risk. A task label such as "upstream merge", a touched editor file, or an available full-suite command is not sufficient justification for a full profile. State the concrete broad or unresolved risk before escalating. If an oversized run exposes an unrelated failure, preserve it without expanding a localized or mechanical task into its investigation; respect the maintainer's testing limit.
|
||||
- Treat recoverable native failures as work to diagnose and resolve. Inspect the exact selected sources, locked dependencies, loaded companion versions, pending host requests, owning document/menu renderer and cleanup evidence; fix test infrastructure when it is wrong without weakening product assertions. Rebuild/deploy current workspace artifacts and rerun failed and blocked cases before returning. Preserve failed evidence. If progress actually requires human help (trust, permissions, foreground access or a safe restart), prompt the maintainer promptly instead of silently leaving the lane unfinished. Follow [native recovery](docs/OBSIDIAN_RUNTIME_TESTING.md#recovering-from-native-test-failures).
|
||||
- Every behavior-changing feature, fix or refactor must add or extend executable tests for its intended behavior and the existing workflows it can affect. For a bug fix, preserve evidence that the regression fails before the fix and passes afterward. Assert observable outcomes; do not substitute registration, inventory, screenshots alone or an implementation-mirroring mock for behavioral evidence.
|
||||
- Source tests under `scripts/testing/` and `tests/` named `*.test.mjs` are discovered by `test:fast`. Native helpers are not auto-discovered: wire new scenarios into the coordinator/profile and declared required-case/feature mappings. An unreferenced test file provides no executed coverage.
|
||||
- During implementation, run the affected focused tests and required build after each independently testable checkpoint. Keep `tests/features.json` and `tests/inventory.json` current when coverage or discovery changes. Preserve existing assertions; report unexpected behavior instead of weakening tests or accepting new snapshots automatically.
|
||||
- Settings/persistence changes need non-default configurations and unknown-key sentinels across actual plugin unload/reload and startup, with both on-disk data and loaded preferences asserted. Calling `loadSettings()` on an existing instance alone does not establish reload preservation. Include pending saves and externally changed data when those lifecycles are affected; preserve backup evidence if an unexpected replacement occurs.
|
||||
- Select validation by risk and explain the selection. For a localized change, prefer the build, affected source tests and focused native scenarios for the workflows it can actually change. Do not automatically run complete portable or native regression merely because editor input, embeds or another native workflow is touched. Use complete profiles when the change has broad or uncertain impact (for example shared runtime, lifecycle, persistence, packaging or coordinated dependencies), or release acceptance requires them. Label focused and complete evidence accurately; a focused pass is not a complete native pass. Respect a maintainer's instruction to pause or limit testing and record what remains unverified.
|
||||
- Run the complete portable and native profiles for coordinated release acceptance, upstream integrations with broad or unresolved behavioral impact, and validation of a newly installed Obsidian version, including alphas. An upstream merge that adopts executable code already present in the fork and only removes its fingerprint is mechanical: use the two-parent comparison, relevant inventory checks and required builds; do not start full portable/native profiles. Record the actual host version; do not skip a selected case solely because the host is newer. Repeat complete matching-build runs when the acceptance plan requires them (including #3022); do not impose a new repeat count implicitly on unrelated changes.
|
||||
- Portable CI runs on pull requests and pushes to `master`. Native CI is an explicitly dispatched, exact-commit workflow on the isolated desktop runner; local native testing is invoked through the documented commands. Neither suite runs inside the shipped plugin during ordinary use. Review the pinned companion revisions in workflows for coordinated changes: a pinned CI combination does not automatically test another repository's latest branch.
|
||||
- Documentation-only or demonstrably mechanical changes do not require invented behavioral tests. Run their relevant documentation/inventory checks and state why runtime validation is unnecessary. Record the commands, results, source/artifact identities and genuine limitations for every code handoff.
|
||||
|
||||
Use [the testing guide](docs/TESTING.md) for the full command matrix and [runtime testing](docs/OBSIDIAN_RUNTIME_TESTING.md) for targeted native flags and the prepared-vault contract. Native tests use the repository-local vault, never a personal vault. An explicitly requested personal-vault deployment is separate from test execution: back up existing artifacts/settings, verify preservation, and stop to recover/report any unexpected settings replacement.
|
||||
|
||||
## Custom element metadata (`customData`)
|
||||
|
||||
- All types and helpers for Excalidraw element `customData` (extensible metadata on elements, e.g., for LaTeX, PDF, image, or plugin-specific keys) are centralized in `src/utils/elementCustomDataUtils.ts`.
|
||||
- If you need to add a new `customData` key, type, or helper, always add it to this file and import from here in all consumers. This avoids type duplication and ensures discoverability for future maintainers and agents.
|
||||
- See `ExcalidrawCustomData`, `ExcalidrawCustomDataPatch`, `ExcalidrawPDFCustomData`, `ExcalidrawLatexCustomData`, and `addAppendUpdateCustomData` in that file for canonical patterns.
|
||||
+95
-29
@@ -4,32 +4,119 @@ First off, thank you for considering contributing to the Obsidian Excalidraw plu
|
||||
|
||||
Because this is not a generic React canvas app, but rather a deeply integrated Obsidian plugin with popout window support, mobile compatibility constraints, and performance optimizations, please read the following guidelines carefully before making any changes.
|
||||
|
||||
## Coding requirements
|
||||
|
||||
Read [CODING_STANDARDS.md](CODING_STANDARDS.md) before implementing or reviewing
|
||||
changes. It is the canonical source for mandatory coding practices, including
|
||||
[timer and window ownership](CODING_STANDARDS.md#timers-window-ownership-and-asynchronous-work),
|
||||
DOM helpers, cleanup, security, compatibility, logging, localization, and validation.
|
||||
Add future cross-cutting rules there. See [AGENTS.md](AGENTS.md) for architecture,
|
||||
subsystem constraints, and agent workflows.
|
||||
|
||||
## 💬 Discuss First
|
||||
|
||||
Before spending your valuable time writing code for a new feature or significant refactor, please **open an issue** to discuss it first. This ensures your idea aligns with the project's roadmap and architecture, and helps prevent wasted effort or complex merge conflicts later.
|
||||
|
||||
**Compatibility with another plugin is out of scope by default. Agents MUST
|
||||
explicitly ask for maintainer consent before attempting compatibility work.**
|
||||
A request to investigate or fix an issue does not implicitly approve workarounds
|
||||
for another plugin. Identify the plugin, proposed accommodation and maintenance
|
||||
cost first; see the mandatory [compatibility consent control](CODING_STANDARDS.md#compatibility-with-other-plugins-requires-maintainer-consent).
|
||||
|
||||
## 🚀 Getting Started
|
||||
|
||||
1. Fork the repository and clone it locally.
|
||||
2. Use Node.js 22 or newer and verify it with `node --version`. A shell that mixes a different Node binary with another installation's Corepack can fail before a build starts.
|
||||
3. Run `npm install` in the root directory to install the main dependencies.
|
||||
*(Note: The `MathjaxToSVG` sub-component has its own separate dependencies. You do not need to install them manually; the first time you run `npm run build`, it will take care of this automatically).*
|
||||
4. To test your changes locally, we recommend symlinking your cloned repository folder into a test Obsidian vault's `.obsidian/plugins/obsidian-excalidraw-plugin` directory. (Using a community plugin like [Obsidian Hot Reload](https://github.com/pjeby/hot-reload) will make local development much faster).
|
||||
4. Run `npm run test:native` to prepare and test `.test-work/vaults/excalidraw-auto-test/`; follow [Obsidian runtime testing](docs/OBSIDIAN_RUNTIME_TESTING.md) for the one-time Obsidian opening/trust/CLI prerequisite. The runner builds and installs the current workspace plugin and available Extras files, applies declared settings and enables the plugins automatically. Never use a personal vault or the historical desktop test vault. Generated binaries remain ignored; the immutable seed contains tracked fixtures and configuration.
|
||||
|
||||
After changing checkouts, refresh locked producer dependencies too: `npm ci` in
|
||||
Extras and `yarn install --frozen-lockfile` in the fork. A freshly rebuilt bundle
|
||||
can still contain an old dependency from stale `node_modules`. Native preparation
|
||||
checks the installed converter package and live Extras service contract separately.
|
||||
Follow [native failure recovery](docs/OBSIDIAN_RUNTIME_TESTING.md#recovering-from-native-test-failures)
|
||||
to resolve recoverable blockers and rerun affected cases.
|
||||
|
||||
## 🛠️ Build and Lint Commands
|
||||
|
||||
### Dependency scanner warnings
|
||||
|
||||
The published `@zsviczian/excalidraw` 0.18.140 package lists the build-only Sass
|
||||
compiler as a runtime dependency. Until a component release moves Sass to
|
||||
`devDependencies`, this repository overrides that transitive dependency to
|
||||
Sass 1.98.0, which uses Chokidar 4 without `braces`. Remove the Sass override
|
||||
after installing a component release with the corrected manifest. The plugin
|
||||
consumes prebuilt component JavaScript and CSS; it does not run Sass.
|
||||
|
||||
`source-map-js` is overridden to patched version 1.2.2 for both runtime-classified
|
||||
and development paths ([advisory](https://github.com/advisories/GHSA-68fv-2mgg-jv7q)).
|
||||
The build copies its manifest and top-level declaration files with Node's native
|
||||
file APIs instead of `rollup-plugin-copy`, eliminating the other `braces` path.
|
||||
The [braces advisory](https://github.com/advisories/GHSA-vfj7-8cjw-p6xm) has no
|
||||
patched release as of October 11, 2026; these changes remove it from this plugin's
|
||||
dependency graph rather than suppressing the warning. Check with
|
||||
`npm ls braces source-map-js sass --all` after `npm install`.
|
||||
|
||||
### Commands
|
||||
|
||||
- **Build the project:** Run `npm run build`
|
||||
*(Note: Our Rollup build is non-trivial as it merges CSS, handles MathjaxToSVG dependencies, and embeds runtime payloads. Run this command frequently to validate your changes).*
|
||||
- **Build readable development payloads:** Run `npm run dev`
|
||||
- **Check production packaging:** Run `npm run test:bundle` after `npm run build` to verify the private React bootstrap, bundled font bytes, compressed locales, and release size target.
|
||||
- **Build the public library API:** Run `npm run lib` when changing exports or ExcalidrawAutomate APIs
|
||||
- **Run ESLint:** Run `npm run code`
|
||||
- **Check CSS scanner policy:** Run `npm run lint:css`. This uses the public
|
||||
[`stylelint-config-obsidianmd`](https://github.com/obsidianmd/stylelint-config)
|
||||
policy rules, with the browser target derived from `manifest.json`'s
|
||||
`minAppVersion` using Obsidian's published Electron mapping. It follows the
|
||||
[scanner workflow](https://github.com/obsidianmd/obsidian-workflows/blob/main/src/lint.ts)
|
||||
without adding the theme package's formatting rules. The command fails on
|
||||
warnings, so newly introduced policy findings can be caught before submission.
|
||||
This is a local CSS check, not the complete hosted CodeScanner review.
|
||||
- **Fix ESLint Warnings:** Run `node ./scripts/fix-eslint-warnings.mjs`
|
||||
|
||||
The shipped plugin is `dist/main.js`, `dist/styles.css`, and `dist/manifest.json`. Keep `main.js` below the release size limit and report its byte size after dependency or packaging changes.
|
||||
The shipped plugin is `dist/main.js`, `dist/styles.css`, and `dist/manifest.json`. Keep `main.js` below the **5 MB release target (5 × 1024 × 1024 = 5,242,880 bytes)** and report its byte size and remaining headroom after dependency or packaging changes.
|
||||
|
||||
## Updating the EA script template
|
||||
|
||||
`npm run doc` and `npm run skill` both build the public library declarations, then
|
||||
run full documentation generation. When `../ea-script-template` exists, they also
|
||||
refresh its local agent references, generated EA declaration graph and provenance,
|
||||
type dependencies, and template update manifest. The template consumes declarations
|
||||
only; personal script workspaces no longer need this plugin as a Git dependency.
|
||||
|
||||
For a plugin-only reference update, run `npm run lib` followed by
|
||||
`node scripts/generate-script-library.mjs --no-template-sync` to leave the sibling
|
||||
template untouched. Review generated changes for unrelated stale snapshots.
|
||||
|
||||
After generation, run `npm install`, `npm run check`, `npm run build`, and
|
||||
`npm run test:template` in the template. Review both repositories separately and
|
||||
publish the template's updated `master` so users can receive the snapshot with
|
||||
`npm run update-template`. See the template's `.template/README.md` for ownership,
|
||||
conflict handling, and the one-time adoption procedure for older workspaces.
|
||||
|
||||
## 🧪 Testing
|
||||
|
||||
At this time, the project **has no comprehensive automated test suite**. As a contributor, you are responsible for testing your changes thoroughly.
|
||||
Use `npm run test:regression` with the dedicated native test vault, or `npm run test:regression:portable` for hosted checks. Follow the [test guide](docs/TESTING.md) for setup, fixtures, repeatable reports and additional native profiles. The independent suite accepts current fork behavior and protects fork-specific contracts and affected upstream workflows. Historical upstream tests are an optional compatibility investigation, not a required regression gate. Build before focused fast tests because they inspect the shipped bundle. Keep inventory and feature mappings current without treating discovery as behavioral coverage. Report suspected product defects for maintainer review; do not silently change behavior or bless failed snapshots. Focus on core Excalidraw and ExcalidrawAutomate; maintained scripts have their own tests in ea-scripts.
|
||||
|
||||
The native CLI lane supports macOS and Windows. Run `npm run test:obsidian:runner`
|
||||
for offline harness tests, then `npm run test:native` for the prepared local-vault
|
||||
regression profile. Focused `verify:obsidian` commands use the same fixed vault
|
||||
and rebuild the current workspace fork, plugin and available Extras before every
|
||||
sequence. They apply settings, deploy and hash-check the files automatically.
|
||||
See the [one-time opening/trust/CLI prerequisites, reports and cleanup contract](docs/OBSIDIAN_RUNTIME_TESTING.md).
|
||||
|
||||
For Markdown embed changes, also run `npm run test:markdown-embeds` and
|
||||
`npm run verify:obsidian:plugin -- --embed-recovery`. See the runtime guide for
|
||||
fixture ownership, deferred rendering, popout coverage, and remaining manual checks.
|
||||
|
||||
For relative links, detached Reading sections and area-padding controls, use the
|
||||
six-case `node scripts/testing/host/verify.mjs --embed-regressions` lane. See
|
||||
[drawing embed controls](docs/DRAWING_EMBED_CONTROLS.md) for behavior and scope.
|
||||
|
||||
For drawing-load warning changes, run `npm run test:drawing-load-error` to check
|
||||
file identity, read-only details, filename truncation, and unchanged confirmation results.
|
||||
|
||||
Because Obsidian runs across a variety of environments, please manually test your changes on as many of the following platforms as possible to avoid breaking the plugin for other users:
|
||||
- Desktop: Mac, Windows, Linux
|
||||
@@ -45,34 +132,14 @@ Use a risk-based test plan rather than a generic smoke test. Every change should
|
||||
- desktop and mobile layouts
|
||||
- offline mode, when the change affects packaged assets or runtime loading
|
||||
|
||||
For UI and CSS changes:
|
||||
|
||||
- Use semantic controls and Obsidian's event helpers. Link-like navigation should use a real anchor; custom navigation handlers should use `onClickEvent`.
|
||||
- Keep accessible names in `aria-label`. If a styled tooltip is already present, omit the HTML `title` attribute to avoid a second native browser tooltip.
|
||||
- Run Obsidian CodeScanner and resolve compatibility warnings against the supported Obsidian baseline. Prefer simple, broadly supported CSS when advanced styling is only decorative.
|
||||
|
||||
Timers, observers, autosave coordination, and undocumented Obsidian API workarounds may exist for platform behavior outside the plugin's control. Trace their purpose before simplifying them.
|
||||
|
||||
## 🪵 Logging Requirement
|
||||
|
||||
- **Do not use direct `console.log(...)` calls in project code.** Use the shared logging helper exported as `log` from `src/utils/debugHelper.ts`.
|
||||
- If you are working in a Node script where importing `src/utils/debugHelper.ts` is not practical, define and use a local `log` wrapper instead of calling `console.log(...)` directly.
|
||||
- Temporary performance diagnostics must use a unique searchable prefix and
|
||||
produce copyable string lines rather than expandable console objects. Keep
|
||||
instrumentation separate from functional behavior, avoid vault contents,
|
||||
and include filenames only when per-file attribution is explicitly needed.
|
||||
- Remove temporary diagnostics before committing. Search both `src/` and the
|
||||
built `dist/main.js` for the prefix so timing callbacks and bundled log code
|
||||
are not left behind.
|
||||
|
||||
## 🏗️ Architecture & Sub-components
|
||||
|
||||
This project consists of multiple sub-components and non-standard integrations to support Obsidian-specific features.
|
||||
|
||||
### 1. React & Package Manager
|
||||
Because the plugin must support Obsidian's native popout windows, React and Excalidraw cannot be loaded as simple global singletons.
|
||||
The plugin inflates one private React/ReactDOM runtime and combines it with one evaluated Excalidraw runtime. Every main-window and popout view leases that shared package while supplying its own stable `ownerDocument`.
|
||||
- References to React and ReactDOM are handled via `PackageManager.ts` (`src/core/managers/PackageManager.ts`).
|
||||
- The runtime is assembled from official React npm entry points and loaded separately for each Obsidian window.
|
||||
- React and its JSX runtimes are built from official npm entry points, compressed into the plugin, and inflated once during bundle bootstrap. The bootstrap uses a local window alias with the same indirect evaluation mechanism that underlies Excalidraw's error-handled evaluator. They remain external to the separately built Excalidraw artifact and to the plugin's library build so neither path creates a second React copy.
|
||||
- Do not introduce direct `ReactDOM.createRoot()` calls outside this package-manager model.
|
||||
- Do not publish React or ReactDOM on `window`. The documented `window.ExcalidrawLib` scripting surface is the deliberate exception.
|
||||
|
||||
@@ -176,13 +243,12 @@ The plugin keeps Obsidian 1.8.7 compatibility while using searchable declarative
|
||||
|
||||
## 🌍 Localization & User-Facing Text
|
||||
|
||||
- **No hardcoded strings:** There should be no hardcoded English strings directly in the UI components or logic.
|
||||
- **Language files:** All strings must be added to the localization files located in `src/lang/locale/`.
|
||||
- **Translations:** Add every new key and string to `en.ts` and the actively maintained translations (`es.ts`, `ru.ts`, `zh-cn.ts`, `zh-tw.ts`) in the same change.
|
||||
Follow the [user-facing change workflow](CODING_STANDARDS.md#user-facing-change-workflow)
|
||||
for release notes, localization keys, and maintained translations.
|
||||
|
||||
## 📦 Pull Requests & Versioning
|
||||
|
||||
- **Do NOT bump versions:** Please do not bump the version numbers in `manifest.json`, `manifest-beta.json`, or `package.json` in your Pull Requests. Version bumping and release coordination are handled exclusively by the maintainer during the final GitHub Release workflow.
|
||||
- **Release Notes:** If you are adding a feature or fixing a bug that users need to know about, please document it in `src/shared/Dialogs/Messages.ts` under the upcoming version key.
|
||||
- **Release notes:** Follow the [user-facing change workflow](CODING_STANDARDS.md#user-facing-change-workflow).
|
||||
|
||||
Once again, thank you for contributing to the plugin!
|
||||
@@ -18,6 +18,10 @@ Excalidraw for Obsidian keeps evolving; it is extremely feature‑rich and can f
|
||||
|
||||
If you are curious about the Visual PKM philosophy behind the plugin, consider my book [Sketch Your Mind](https://community.sketch-your-mind.com/sym) and the [Visual Thinking Workshops](https://community.sketch-your-mind.com/vtw). To learn about all the different options available and how they fit together, check out the [Welcome to the Sketch Your Mind Ecosystem](https://community.sketch-your-mind.com/t/welcome-to-the-sketch-your-mind-ecosystem/375) introduction page. Finally, keep the [Excalidraw Plugin Wiki](https://community.sketch-your-mind.com/Wiki) and the [NotebookLM workbook](https://notebooklm.google.com/notebook/42d76a2f-c11d-4002-9286-1683c43d0ab0) at hand, those are essential companions.
|
||||
|
||||
## Native CLI for coding agents
|
||||
|
||||
With Obsidian 1.12.2+ and CLI enabled, local agents can discover, create, inspect, edit, save, render, and run explicitly trusted local scripts through Excalidraw. Older Obsidian versions remain supported. Select **Excalidraw: Show CLI and agent instructions** in the command palette, or start with `obsidian vault="My vault" obsidian-excalidraw-plugin:help`. See the [CLI reference](docs/CLI.md) and [portable agent skill](docs/AITrainingData/excalidraw-cli/SKILL.md).
|
||||
|
||||
## Disclaimer / Disclosure: Plugin Access and Privileges
|
||||
|
||||
I treat privacy as a top priority. Apart from the few technical limitations outlined below, Excalidraw is 100% local and runs without network access. Most of the findings published on sites such as [obsidianpluginaudit.com](https://obsidianpluginaudit.com/), [plugin.observer](https://plugin.observer/), and [community.obsidian.md/plugins](https://community.obsidian.md/plugins) can be misleading without proper context.
|
||||
|
||||
+1643
-50
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,231 @@
|
||||
# Excalidraw Automate scripting support plan
|
||||
|
||||
Status: active as of 2026-08-29.
|
||||
|
||||
This plan tracks the modernization of ExcalidrawAutomate AI support material while preserving compatibility with the long-lived training entrypoint.
|
||||
|
||||
Scope summary:
|
||||
- Keep [docs/AITrainingData](docs/AITrainingData) as the canonical output location.
|
||||
- Keep [docs/AITrainingData/ExcalidrawAutomate full library for LLM training.md](docs/AITrainingData/ExcalidrawAutomate%20full%20library%20for%20LLM%20training.md) as a stable entrypoint, but curate it as a router to skill-first references.
|
||||
- Use one unified generator behind `npm run doc`.
|
||||
- Keep [ea-scripts/script-store.json](ea-scripts/script-store.json) as the contributor-facing catalog; keep [ea-scripts/index-new.md](ea-scripts/index-new.md) frozen for legacy clients and generate only targeted update metadata in `directory-info.json`.
|
||||
- Keep skill generation manually triggered by maintainer workflows (no automatic watcher/CI updates in this phase).
|
||||
- Add strict naming rules for script preview images under [images](images).
|
||||
|
||||
## Decisions captured
|
||||
|
||||
1. Unified generation command
|
||||
- `npm run doc` is the single maintainer command for documentation generation.
|
||||
- If a script-template repository is present in the current VS Code workspace, `npm run doc` should also refresh template-project references/artifacts.
|
||||
|
||||
2. Legacy entrypoint behavior
|
||||
- The legacy training file remains the stable public entrypoint.
|
||||
- It must warn AI tools that generated code quality may fail if linked skill/reference URLs are inaccessible (for example: URL access disabled in some chat tools).
|
||||
|
||||
3. Script library publishing guidance
|
||||
- [ea-scripts/script-store.json](ea-scripts/script-store.json) is the contributor-facing metadata source.
|
||||
- Agents should be guided to open a proper PR for publishing scripts in this repository instead of trying to bypass the normal contribution workflow.
|
||||
- `npm run script-store:build` validates the current catalog and advances `directory-info.json` only for script/icon files that actually changed; it never rewrites `index-new.md`.
|
||||
- Historical `mtime` values must remain untouched; they are part of the plugin's backward-compatible update-detection contract.
|
||||
|
||||
4. Template repository direction
|
||||
- A separate repository will be created first.
|
||||
- Proposed name: `ea-script-template`.
|
||||
- Once added to this workspace, the unified generator can optionally update it.
|
||||
- Repository availability status: present and accessible at [../ea-script-template](../ea-script-template).
|
||||
|
||||
5. Image naming
|
||||
- Adopt strict naming convention for script preview images, aligned to current patterns but enforceable.
|
||||
|
||||
6. Experimental script policy
|
||||
- Scripts under [ea-scripts](ea-scripts) are treated as validated examples.
|
||||
- No experimental bucket is introduced in this phase.
|
||||
- Very large scripts (for example Mindmap Builder) are still valid; they should be tagged as "advanced/large-reference" rather than experimental.
|
||||
|
||||
7. Skill generation trigger
|
||||
- Keep manual generation trigger. No automated regeneration in this phase.
|
||||
|
||||
## Progress tracking
|
||||
|
||||
Target branch: `improved-scripting-skills`.
|
||||
|
||||
| Phase | Status | Current outcome |
|
||||
| --- | --- | --- |
|
||||
| Baseline audit and constraints capture | Complete | Existing generators, outputs, and maintainer decisions captured in this plan |
|
||||
| Create planning artifact in repository | Complete | Added [ScriptSupportPlan.md](ScriptSupportPlan.md) with phases, decisions, and action log |
|
||||
| Unify generator implementation behind `npm run doc` | Complete | Added shared generator core at [scripts/excalidraw-docs-generator-core.mjs](scripts/excalidraw-docs-generator-core.mjs); both [scripts/generate-script-library.mjs](scripts/generate-script-library.mjs) and [scripts/skill-builder.mjs](scripts/skill-builder.mjs) are thin wrappers over one code path |
|
||||
| Ensure canonical pen type completeness in generated docs | Complete | Generated references now include canonical Obsidian pen stroke type definitions plus the full public `src/types` and `lib/types` declaration surface |
|
||||
| Curate legacy training entrypoint warning and routing | Complete | Legacy training entrypoint now warns about inaccessible references, names the master repository, and routes agents to the curated skill/reference set with absolute GitHub URLs |
|
||||
| Add PR publishing workflow guidance for scripting agents | Complete | Generated skill guidance now directs script publishing through PRs, uses `script-store.json` as catalog metadata, and generates only targeted legacy mtime updates |
|
||||
| Add strict image naming and validation | Complete | Generator now warns on non-conforming preview filenames and documents the `scripts-{slug}.{ext}` rule in generated publishing guidance |
|
||||
| Optional template-repo sync from `npm run doc` | Complete | `npm run doc` now refreshes a co-located `ea-script-template` bootstrap under `.ai/excalidraw-automate/` when the sibling repo is present |
|
||||
|
||||
## Implementation checkpoints
|
||||
|
||||
### Checkpoint 1: Shared generator core and single command
|
||||
Objective:
|
||||
- Introduce a shared generator module and keep lightweight wrappers for backward command compatibility.
|
||||
|
||||
Planned changes:
|
||||
- Consolidate duplicated logic currently split between:
|
||||
- [scripts/generate-script-library.mjs](scripts/generate-script-library.mjs)
|
||||
- [scripts/skill-builder.mjs](scripts/skill-builder.mjs)
|
||||
- Keep `npm run doc` as the single entrypoint command for maintainers.
|
||||
- Keep manual run model. Do not add auto-run hooks in this phase.
|
||||
|
||||
Acceptance:
|
||||
- One command (`npm run doc`) generates both legacy and skill outputs exactly once.
|
||||
- Output files stay under [docs/AITrainingData](docs/AITrainingData).
|
||||
|
||||
### Checkpoint 2: Fix type-definition completeness regression
|
||||
Objective:
|
||||
- Ensure generated type references remain concrete after alias migrations.
|
||||
|
||||
Problem to solve:
|
||||
- `lib/types/penTypes.d.ts` now aliases fork-owned types, and top import stripping can hide canonical shapes in generated docs.
|
||||
|
||||
Planned changes:
|
||||
- Include canonical Obsidian type declarations from the fork type surface in generated reference outputs.
|
||||
- Add a post-generation guard that fails if `ObsidianPenStrokeOptions` shape is missing.
|
||||
|
||||
Acceptance:
|
||||
- Both:
|
||||
- [docs/AITrainingData/Excalidraw Automate library and related type definitions.md](docs/AITrainingData/Excalidraw%20Automate%20library%20and%20related%20type%20definitions.md)
|
||||
- [docs/AITrainingData/ExcalidrawAutomate full library for LLM training.md](docs/AITrainingData/ExcalidrawAutomate%20full%20library%20for%20LLM%20training.md)
|
||||
include concrete stroke option structure, not alias-only references.
|
||||
|
||||
Status:
|
||||
- Complete.
|
||||
- The generator now includes all declaration files under [src/types](src/types) and [lib/types](lib/types), plus the canonical fork-owned `obsidianTypes.d.ts` source for `ObsidianPenStrokeOptions`.
|
||||
|
||||
### Checkpoint 3: Curated legacy entrypoint messaging
|
||||
Objective:
|
||||
- Keep stable legacy entrypoint while steering agents to curated skill references.
|
||||
|
||||
Planned changes:
|
||||
- Add a prominent warning that script generation can fail if linked references are not accessible.
|
||||
- Include concrete note about environments requiring explicit URL enablement.
|
||||
- Add short routing section pointing to curated skill/reference materials.
|
||||
|
||||
Acceptance:
|
||||
- Legacy file remains backward compatible as an entrypoint.
|
||||
- Warning is clear and placed before the main usage workflow.
|
||||
|
||||
Status:
|
||||
- Complete.
|
||||
- The generated legacy entrypoint now includes a top-level routing warning, the master repository URL, and direct absolute links to the curated skill and reference files.
|
||||
|
||||
### Checkpoint 4: Script publishing workflow guidance for agents
|
||||
Objective:
|
||||
- Teach agents to publish scripts through normal repository contribution workflow.
|
||||
|
||||
Planned changes:
|
||||
- Add concise maintainer-approved workflow guidance in skill docs:
|
||||
- add script to [ea-scripts](ea-scripts)
|
||||
- add image to [images](images)
|
||||
- add or update the entry in [ea-scripts/script-store.json](ea-scripts/script-store.json)
|
||||
- run `npm run script-store:check` and `npm run script-store:build`
|
||||
- allow the generator to advance only the changed script/icon `mtime` entry in [ea-scripts/directory-info.json](ea-scripts/directory-info.json)
|
||||
- keep AI training material updates out of script publishing PRs
|
||||
- open PR with focused diff and validation notes
|
||||
- Treat `index-new.md` as a frozen backward-compatibility catalog. Routine publishing must not modify it; new scripts are intentionally unavailable to older clients unless a maintainer explicitly updates the legacy catalog separately.
|
||||
|
||||
Acceptance:
|
||||
- Publishing workflow appears in generated skill material.
|
||||
- Guidance is PR-centric and does not suggest direct pushes.
|
||||
|
||||
Status:
|
||||
- Complete.
|
||||
- The generated skill file now includes a dedicated publishing workflow section with absolute repository links, PR-only guidance, a frozen legacy catalog, and targeted `directory-info.json` updates.
|
||||
|
||||
### Checkpoint 5: Strict image naming convention and validator
|
||||
Objective:
|
||||
- Keep existing style while making naming consistent and enforceable.
|
||||
|
||||
Proposed naming rule:
|
||||
- `scripts-{slug}.{ext}` where:
|
||||
- `slug` = lowercase words joined by hyphen
|
||||
- only `a-z`, `0-9`, `-`
|
||||
- extensions allowed: `.png`, `.jpg`, `.jpeg`, `.gif`, `.webp`, `.svg`
|
||||
|
||||
Examples:
|
||||
- `scripts-add-link-to-existing-file-and-open.jpg`
|
||||
- `scripts-boolean-operations-showcase.png`
|
||||
|
||||
Planned changes:
|
||||
- Add validation in generator flow with clear error output.
|
||||
- Keep compatibility mode for pre-existing files during initial rollout (warn-only first, strict fail in follow-up if desired).
|
||||
|
||||
Acceptance:
|
||||
- New/updated script previews follow the naming contract.
|
||||
- Validation output is actionable for contributors.
|
||||
|
||||
Status:
|
||||
- Complete.
|
||||
- The generator now warns on non-conforming preview filenames and surfaces the naming rule in the generated publishing workflow guidance.
|
||||
|
||||
### Checkpoint 6: Optional template repository sync
|
||||
Objective:
|
||||
- Allow `npm run doc` to refresh a co-located script-template repo if present.
|
||||
|
||||
Planned behavior:
|
||||
- Detect a workspace folder named `ea-script-template` (or configurable path).
|
||||
- If found, update agreed generated reference artifacts in that repo.
|
||||
- If absent, continue without failure.
|
||||
|
||||
Current status:
|
||||
- Repository now exists and is readable at [../ea-script-template](../ea-script-template).
|
||||
- Checkpoint is considered unblocked and ready for scoped implementation once approved.
|
||||
|
||||
Design note: AI support files in template repo
|
||||
- Preferred default: synchronized local snapshot under `.ai/excalidraw-automate/`, copied from canonical generated references in this repository.
|
||||
- Routing note: keep canonical GitHub links in SKILL content, but ensure local references and script examples are present for environments without URL access.
|
||||
- Reasoning: local snapshot gives immediate offline usability while preserving canonical source of truth in plugin-generated outputs.
|
||||
|
||||
Design note: template usage model
|
||||
- Recommended model: single `ea-script-template` repository used as a multi-script workspace (one folder per script project) with shared utilities.
|
||||
- Why: easier maintenance of common helpers, lint/build rules, and shared abstractions across scripts like Mindmap Builder, Slideshow, and Shade Master.
|
||||
- Alternative supported pattern: per-script clones for strict isolation (useful for publishing independent repos), but this should be optional rather than the default path.
|
||||
|
||||
Acceptance:
|
||||
- `npm run doc` succeeds in both cases:
|
||||
- template repo present
|
||||
- template repo absent
|
||||
|
||||
Status:
|
||||
- Complete.
|
||||
- `npm run doc` now refreshes a full local skill snapshot in the sibling `ea-script-template` workspace under `.ai/excalidraw-automate/` when the repo is available.
|
||||
|
||||
## Validation approach
|
||||
|
||||
For each implementation checkpoint:
|
||||
- Run `npm run doc` from repository root.
|
||||
- Verify generated files changed only in intended outputs.
|
||||
- For script/reference changes, inspect key generated artifacts manually.
|
||||
- Keep [ea-scripts/index-new.md](ea-scripts/index-new.md) untouched unless explicitly edited by maintainer.
|
||||
|
||||
## Risks and mitigations
|
||||
|
||||
Risk: duplicate logic drifts again across scripts.
|
||||
- Mitigation: one shared generator core and wrapper entrypoints.
|
||||
|
||||
Risk: type aliasing hides critical concrete structures again.
|
||||
- Mitigation: required-symbol guard (`ObsidianPenStrokeOptions`) and explicit canonical-source inclusion.
|
||||
|
||||
Risk: stricter image naming breaks existing contributions.
|
||||
- Mitigation: staged rollout (warn-first) and clear remediation examples.
|
||||
|
||||
Risk: template sync introduces hard dependency on external repo.
|
||||
- Mitigation: optional detection; never fail when repo is absent.
|
||||
|
||||
## Action log
|
||||
|
||||
| Date | Action | Outcome | Validation |
|
||||
| --- | --- | --- | --- |
|
||||
| 2026-08-29 | Captured maintainer decisions for scripting support modernization | Decisions documented for unified generator, manual index curation, PR workflow guidance, strict image naming, and optional template sync | Plan file created at [ScriptSupportPlan.md](ScriptSupportPlan.md) |
|
||||
| 2026-08-29 | Confirmed template repository workspace availability and expanded publishing requirements | Verified [../ea-script-template](../ea-script-template) is present and readable; added mandatory [ea-scripts/directory-info.json](ea-scripts/directory-info.json) update rules to publishing workflow and checkpoint details | Directory listing succeeded for [../ea-script-template](../ea-script-template); plan updated |
|
||||
| 2026-08-29 | Implemented checkpoint 1 unified generator | Consolidated duplicated generation logic into [scripts/excalidraw-docs-generator-core.mjs](scripts/excalidraw-docs-generator-core.mjs), with wrapper entrypoints preserved at [scripts/generate-script-library.mjs](scripts/generate-script-library.mjs) and [scripts/skill-builder.mjs](scripts/skill-builder.mjs) | `npm run doc` completed successfully and regenerated legacy + skill outputs from one code path |
|
||||
| 2026-08-29 | Implemented checkpoint 5 image naming validator | Added warning-only preview filename validation and surfaced the `scripts-{slug}.{ext}` rule in generated publishing guidance | `npm run doc` completed successfully and emitted the expected warning for legacy preview names |
|
||||
| 2026-08-29 | Implemented checkpoint 6 template bootstrap sync | `npm run doc` now refreshes a link-first bootstrap in the sibling `ea-script-template` workspace under `.ai/excalidraw-automate/` | `npm run doc` completed successfully and refreshed the sibling template bootstrap files |
|
||||
| 2026-08-29 | Hardened checkpoint 6 for offline and advanced script authoring | Template sync now mirrors full generated references and script examples instead of only link stubs | `npm run doc` and `npm run sync-refs` now produce local skill + references + scripts snapshot in `.ai/excalidraw-automate/` |
|
||||
| 2026-08-29 | Aligned template script extensions and build output | Template-only reference snapshots now use `.js` filenames with rewritten local links; the template build emits executable `.md` scripts with purpose metadata and editable configuration constants before the bundle | `npm run doc` preserves `.js` reference filenames; template `npm run build`, `npm run check`, and package validation pass on Node 22 |
|
||||
+3490
-1154
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -9,24 +9,42 @@ Excalidraw-Obsidian is an Obsidian.md plugins that is built on the open source E
|
||||
|
||||
Read the information below and respond with I'm ready. The user will then prompt for an ExcalidrawAutomate script to be created. Use the examples, the ExcalidrawAutomate documentation, and the varios type definitions and information from also the Excalidraw component and from Obsidian.md to generate the script based on the user's requirements.
|
||||
|
||||
**Routing note:** Prefer the curated skill package and reference set first. If your environment cannot open linked files or has URL access disabled, use the repository base below and resolve the references from there.
|
||||
|
||||
- Master repository: https://github.com/zsviczian/obsidian-excalidraw-plugin
|
||||
- Start with: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/SKILL.md
|
||||
- Type definitions: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/type-definitions.md
|
||||
- API usage index: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/api-usage-index.md
|
||||
- ExcalidrawLib signatures: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/excalidraw-lib-functions.md
|
||||
- Startup examples: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/startup-scripts.md
|
||||
|
||||
In addition to ExcalidrawAutomate, you can also use two other sources of functions:
|
||||
- The Excalidraw API available via `ea.getExcalidrawAPI()`. Note: the API is only available if `ea.targetView` is set. When running Excalidraw scripts using the script engine, the provided `ea` object is already set up with targetView by default. Otherwise you need to first run `ea.setView()`.
|
||||
- The Excalidraw API available via `ea.getExcalidrawAPI()`. Note: the API is only available if `ea.targetView` is set. When running Excalidraw scripts using the script engine, the provided `ea` object is already set up with targetView by default. Otherwise call `ea.setView()` to select a sensible default or `ea.setView(view)` to bind explicitly. Calling `ea.setView(null)` deliberately clears `targetView`; it does not auto-select another drawing.
|
||||
- `window.ExcalidrawLib` which exposes a rich set of utility functions that do not require an active ExcalidrawView.
|
||||
|
||||
**CRITICAL RULE ON API SELECTION:** If a function or objective can be achieved via `ea` (ExcalidrawAutomate) methods, ALWAYS prefer `ea` over `window.ExcalidrawLib`. `ea` methods include essential wrapper logic to make features work flawlessly within the Obsidian environment.
|
||||
|
||||
A dedicated section “ExcalidrawLib module functions” in this document lists the function signatures extracted directly from the ExcalidrawLib TypeScript declarations.
|
||||
|
||||
- **Never use native browser dialogs in scripts:** Do not use `window.confirm`, `window.alert`, `window.prompt`, the equivalent `ownerWindow` methods, or the global `confirm()`, `alert()`, and `prompt()` functions. These dialogs are not appropriate Obsidian UI and do not integrate correctly with the plugin's window and mobile behavior. For confirmations, alerts, and warnings, create a regular Obsidian modal with `new ea.obsidian.Modal(ea.plugin.app)` (not `FloatingModal`), render the message and buttons in `contentEl`, and resolve the result from the modal's button callbacks or `onClose` handler. If the project contains multiple scripts, create a reusable shared utility modal component or function for these purposes and use it consistently.
|
||||
- When the user asks for a dialog window, by default create a FloatingModal. Do not extend the FloatingModal class. Instead, define the modal's behavior by creating a new instance (e.g., `const modal = new ea.FloatingModal(...)`) and then assigning functions directly to the `onOpen` and `onClose` properties of that instance.
|
||||
For a reference, follow the implementation pattern used in the "Printable Layout Wizard.md" script.
|
||||
- Elements have a `customData` property that can be used to store arbitrary data. To ensure the data the script adds to elements use the `ea.addAppendUpdateCustomData` function. This function ensures that existing customData is preserved when adding new data.
|
||||
- Elements can be hidden by setting their opacity to 0. When hiding elements this way, it is good practice to temporarily store their original opacity in customData. This allows for easy restoration of the original opacity later.
|
||||
- Elements can be deleted from the scene by setting their isDeleted property to true.
|
||||
- The Obsidian.md module is available on `ea.obsidian`.
|
||||
- In a template-based script workspace, `src/types/ea.d.ts` is an upstream-managed projection of the Script Engine API. Never edit it or generated declarations under `.template/types/`. Put repository-specific ambient declarations and type augmentations in `src/types/local.d.ts` instead, so template updates can replace the generated API safely.
|
||||
- Version checks are distinct: use `ea.verifyMinimumPluginVersion()` for the Excalidraw plugin and `ea.obsidian.requireApiVersion()` only for the Obsidian application version.
|
||||
- `utils.executionSource` describes why the current top-level invocation happened. Supported values are `"manual"`, `"plugin-startup"`, `"view-autostart"`, `"sidepanel-restore"`, `"sidepanel-reload"`, and `"drawing-onload"`. It does not indicate whether code came from the compilation cache or whether the script has run before.
|
||||
- `ea.registerAutostart(message?)` requests view-autostart permission. The script is automatically attached once to each ExcalidrawView, while manual toolbar/command/hotkey invocation remains independently repeatable. The optional explanation appears as the second paragraph of the permission prompt; do not imply that the script's main interactive action starts automatically when only its tools/providers do.
|
||||
- `ea.registerCleanup(cleanup)` registers synchronous cleanup owned by the current EA instance. Use it for external listeners, timers, observers, and subscriptions; the cleanup runs when that EA is destroyed.
|
||||
- `ea.registerElementActionProvider()` action descriptors take an Obsidian/Lucide icon name such as `"presentation"`, not serialized SVG markup. For buttons a script renders itself, obtain the SVG with `ea.obsidian.getIcon()` and recreate it in the button's owning document when popout support matters.
|
||||
- When an Excalidraw API method requires an element, pass the known typed scene element. For example, call `api.startLineEditor(line, pointIndices)`; do not re-read selection state when the intended line is already known.
|
||||
- For persistent workbench mutations, await `ea.addElementsToView()` with saving enabled (the default). Prefer this public EA save path over unpublished methods on `ea.targetView`.
|
||||
|
||||
**Sidepanels and multi-view tooling:**
|
||||
- Sidepanels are for scripts that must stay open while users hop between multiple Excalidraw views. They should implement the SidepanelTab hooks (`onOpen`, `onFocus(view)`, `onClose`, `onExcalidrawViewClosed`) and manage their own `ea.targetView` explicitly.
|
||||
- Persisted sidepanel scripts are launched during plugin startup (e.g., Obsidian restart, plugin update) with `ea.targetView === null`. Scripts must handle this by deferring view-bound work until `onFocus` delivers a view; call `ea.setView(view)` when you decide to bind.
|
||||
- Persisted sidepanel scripts are restored lazily when the Excalidraw sidepanel initializes (often during startup, but not necessarily) with `ea.targetView === null`. Scripts must handle this by deferring view-bound work until `onFocus` delivers a view; call `ea.setView(view)` when you decide to bind. When `onFocus` supplies `null` or focus moves to a non-Excalidraw view, call `ea.setView(null)` to make the unbound state explicit and prevent later view operations from targeting a stale drawing.
|
||||
- Each `ea` instance may host a single `sidepanelTab`. This sidepanel tab is stored in `ea.sidepanelTab`. Create the tab with `ea.createSidepanelTab(title, persist=false, reveal=true)`; the returned `ea.sidepanelTab` exposes `contentEl`, `setContent`, `setTitle`, `setDisabled`, `setCloseCallback`, `open/close`, and focus lifecycle hooks. Note auto-reveal during tab creation via `ea.createSidepanelTab()` is disabled during plugin startup. You can reveal a tab with `ea.sidepanelTab?.open()`. You can persist with `ea.persistSidepanelTab()` (tabs are restored and scripts re-run on next startup). Close with `ea.sidepanelTab?.close()`.
|
||||
- Mobile UX: sidepanels slide in without disturbing canvas layout and are better for longer forms than floating modals. Prefer them for complex inputs, especially on phones.
|
||||
- Auto-closing patterns: For scripts that use sidepanels but perform operations that are single-`ExcalidrawView` relevant, they can call `ea.closeSidepanelTab()` after completing the operation, and/or inside `ea.sidepanelTab.onFocus = (view) => { if (view !== ea.targetView) { ea.sidepanelTab?.close(); } }` to shut down when the user leaves the originating view.
|
||||
@@ -64,20 +82,40 @@ To keep this training file concise, large external type definitions are not incl
|
||||
|
||||
#### **1. The Core Workflow: Handling Element Immutability**
|
||||
|
||||
* **Central Rule:** Elements in the Excalidraw scene are immutable and should never be modified directly. Always use the ExcalidrawAutomate (EA) "workbench" pattern for modifications.
|
||||
* **Central Rule:** Elements returned from the Excalidraw scene are immutable and should never be modified directly. EA owns a stateful, in-memory "workbench" (`elementsDict` and `imagesDict`) where a script stages one coherent persistent or temporary operation independently of the scene.
|
||||
* **The Workflow:**
|
||||
1. Get elements from the current view using `ea.getViewElements()` or `ea.getViewSelectedElements()`.
|
||||
2. Copy these elements into the EA workbench for editing using `ea.copyViewElementsToEAforEditing(elements)`.
|
||||
3. Modify the properties of the element copies that are now in the EA workbench (e.g., `ea.getElement(id).locked = true;`).
|
||||
4. Commit the changes back to the scene using `await ea.addElementsToView()`.
|
||||
1. Start an independent transaction with `ea.clear()`. This clears only the workbench; it does not delete scene elements or reset style.
|
||||
2. Read existing scene elements using `ea.getViewElements()` or `ea.getViewSelectedElements()`.
|
||||
3. To work with mutable copies of those same scene elements, copy them into the workbench with `ea.copyViewElementsToEAforEditing(elements)`. Their IDs are preserved.
|
||||
4. Modify the workbench copies retrieved by their original IDs (e.g., `ea.getElement(id).locked = true;`).
|
||||
5. For a persistent scene edit, commit once with `await ea.addElementsToView()`; saving is enabled by default. For temporary transformations such as export or preview preparation, pass the workbench elements to the relevant EA operation without committing them to the scene.
|
||||
6. Call `ea.clear()` after the operation to discard the workbench copies, preferably in a `finally` block when an awaited operation can fail.
|
||||
* **Temporary workbench example:**
|
||||
```javascript
|
||||
ea.clear();
|
||||
try {
|
||||
const sceneElements = ea.getViewElements();
|
||||
ea.copyViewElementsToEAforEditing(sceneElements);
|
||||
ea.getElement(pathId).opacity = 0;
|
||||
// elementsOverride replaces the export scene, so pass the complete workbench.
|
||||
const svg = await ea.createViewSVG({ elementsOverride: ea.getElements() });
|
||||
// Use svg. The live scene was never changed.
|
||||
} finally {
|
||||
ea.clear();
|
||||
}
|
||||
```
|
||||
* **`elementsOverride` is a complete replacement:** In `createViewSVG()` and `createViewPNG()`, this option replaces the view's element array; it is not merged with the scene and is not a patch by element ID. The array must contain every element that should appear in the image. When temporarily modifying an existing scene for export, copy the complete desired export set into EA, modify the workbench copy, and pass `ea.getElements()` as the override.
|
||||
* **Use `exportArea` for bounded view exports:** Both view export methods accept `exportArea: {x, y, width, height}`. EA filters the candidate elements with the same logic exposed as `getElementsIntersectionArea()` (and its backward-compatible `getElementsInArea()` alias), retains required bound elements, and anchors the result to that exact viewport. This prevents a small preview or PDF page from retaining every image in a large scene.
|
||||
* **Identity is the boundary:** `copyViewElementsToEAforEditing()` is the standard way to obtain mutable, identity-preserving copies of existing scene elements for both persistent edits and temporary EA operations. By contrast, `ea.cloneElement()` and `ea.cloneElements()` deliberately generate new IDs and are only for creating genuine duplicate scene elements. Never use them to obtain editable workbench copies of existing elements.
|
||||
* **One workbench transaction at a time:** The workbench is shared mutable state on an EA instance. Do not interleave asynchronous preview/export preparation and scene mutation through the same workbench. Await the operation, then clear the workbench before starting another transaction.
|
||||
* **Deletion:** To delete an element, set its `isDeleted` property to `true` on the workbench copy (`ea.getElement(id).isDeleted = true;`) and then commit with `await ea.addElementsToView()`.
|
||||
* **Cleanup:** Use `ea.clear()` at the beginning of a script if you are creating a completely new set of elements, to ensure the EA workbench is empty and doesn't contain artifacts from a previous run.
|
||||
|
||||
#### **2. User Interaction: Prompts and Dialogs**
|
||||
|
||||
* **Simple Input:** For straightforward user input, use the `utils` object provided to the script.
|
||||
* `await utils.inputPrompt()`: To get a string or number from the user.
|
||||
* `await utils.suggester()`: To let the user select from a predefined list of options.
|
||||
* **Confirmations, Alerts, and Warnings:** Never use native browser dialogs such as `window.confirm()`, `window.alert()`, `window.prompt()`, `ownerWindow.confirm()`, or their global equivalents. Use a regular Obsidian modal instead: `const modal = new ea.obsidian.Modal(ea.plugin.app)`. Render the message and explicit action buttons in `modal.contentEl`, then resolve the user's choice from the button callbacks or `onClose`. Do not use `FloatingModal` for these simple confirmation or alert/warning dialogs. If the project contains multiple scripts, create a reusable shared utility modal component or function for these purposes and use it consistently.
|
||||
* **Complex Dialogs:** When a more complex UI with multiple controls is needed, create a floating dialog window.
|
||||
* **Use `FloatingModal`:** Always create a new instance: `const modal = new ea.FloatingModal(ea.plugin.app);`.
|
||||
* **Do Not Extend:** Do not use `class MyModal extends ea.FloatingModal`.
|
||||
@@ -125,11 +163,27 @@ To keep this training file concise, large external type definitions are not incl
|
||||
* To permanently remove an element from the scene, set `element.isDeleted = true`.
|
||||
* **Image Handling:** When dealing with image elements, use `ea.getViewFileForImageElement(imageElement)` to get the corresponding `TFile` from the Obsidian vault. This is necessary for any logic that needs to read or manipulate the source image file.
|
||||
|
||||
#### **6.1. Tests in a Multi-Script Workspace**
|
||||
|
||||
* **Tests are part of implementation:** Add or update focused automated tests for behavior changes. When fixing a regression, reproduce it with a failing test first when practical.
|
||||
* **Co-locate by ownership:** Put script tests in `src/scripts/{slug}/__tests__/*.test.ts` and shared utility tests in `src/sharedUtils/__tests__/*.test.ts`. Do not maintain a separate root test tree that mirrors dozens of scripts.
|
||||
* **Never import executable entrypoints:** `main.ts` runs immediately against the globals injected by Obsidian. Keep it as a thin bootstrap and move testable orchestration to `run.ts` or another import-safe module.
|
||||
* **Use the universal runner:** Use Vitest. Run a focused suite while iterating, then run `npm run check`; the repository gate includes TypeScript, ESLint, and all test suites. Use `npm run test:watch` for continuous feedback.
|
||||
* **Test behavior, not bundler details:** Prefer pure domain functions and narrow fakes for `ea`, the Excalidraw API, Obsidian globals, timers, and DOM boundaries. Build and perform an Obsidian smoke test for integration behavior automation cannot prove.
|
||||
|
||||
#### **6.2. Per-Script Localization**
|
||||
|
||||
* **Catalogs belong to the script:** Store strings in `src/scripts/{slug}/lang/`, with one file per locale. Never create one language catalog shared across unrelated scripts.
|
||||
* **English defines the contract:** `lang/en.ts` is the typed source of truth. Maintain `de.ts`, `es.ts`, `fr.ts`, `ru.ts`, and `zh-cn.ts`; incomplete reviewed catalogs may rely on English fallback.
|
||||
* **Use the shared helper:** Register catalogs in `lang/index.ts` with `createTranslator`. Resolve the locale with `ea.obsidian.moment.locale()` and pass the translator into import-safe script logic.
|
||||
* **Interpolate by name:** Use placeholders such as `{count}` instead of string concatenation. Do not use dynamically constructed regular expressions for interpolation.
|
||||
* **Keep UI copy out of logic:** Add user-visible strings to the script catalog rather than embedding them in controllers, runners, or helpers.
|
||||
|
||||
#### **7. SVG and Image Export Approaches**
|
||||
Generating images (SVG/PNG) requires specific approaches depending on the context. Follow these three rules strictly to avoid performance issues and missing assets:
|
||||
1. **Exporting elements currently in the EA workbench:** Use `await ea.createSVG(null, ...)` or `await ea.createPNG(null, ...)` (passing `null` as the `templatePath`).
|
||||
2. **Exporting an Excalidraw file that is NOT currently open:** Pass the file path as the template to `createSVG` or `createPNG` (e.g., `await ea.createSVG(file.path, ...)`). This is the most reliable approach as ExcalidrawAutomate natively handles loading the scene, resolving embedded images, and instantiating loaders behind the scenes. **Do NOT attempt to manually read the file, reconstruct the scene, or load images into memory.**
|
||||
3. **Exporting the currently active `ExcalidrawView`:** Use `await ea.createViewSVG(...)`. This is specifically for the open view. You can use the `elementsOverride` parameter to inject temporary elements (like transparent sizing rectangles) into the exported image without modifying the actual scene.
|
||||
3. **Exporting the currently active `ExcalidrawView`:** Use `await ea.createViewSVG(...)` for vector output or `await ea.createViewPNG(...)` for raster output. Their `elementsOverride` parameter is a complete replacement for the exported element array, not an additive injection or patch by ID. Use `exportArea` when only a rectangular viewport is needed; it filters out off-area elements and their unused image payloads instead of exporting the full scene and merely changing the SVG viewBox. For temporary changes, copy the complete desired export set into the EA workbench, modify it there, and pass `ea.getElements()`.
|
||||
|
||||
#### **8. Custom Pens and Perfect Freehand**
|
||||
|
||||
@@ -230,11 +284,23 @@ Example freedraw element carrying `customData.strokeOptions`:
|
||||
|
||||
## References
|
||||
The `references/` directory contains supporting documentation necessary for writing scripts:
|
||||
- `references/type-definitions.md`: Core type definitions for ExcalidrawAutomate.
|
||||
- `references/excalidraw-lib-functions.md`: Function signatures for `window.ExcalidrawLib`.
|
||||
- `references/startup-scripts.md`: ExcalidrawStartup script template and examples.
|
||||
- `references/api-usage-index.md`: A highly useful index mapping every API method (ea.*, api.*, ExcalidrawLib.*) to the specific example scripts that utilize them.
|
||||
- `references/scripts/`: A folder containing all the raw, real-world example scripts.
|
||||
- [type-definitions.md](https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/type-definitions.md): Core type definitions for ExcalidrawAutomate.
|
||||
- [excalidraw-lib-functions.md](https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/excalidraw-lib-functions.md): Function signatures for `window.ExcalidrawLib`.
|
||||
- [startup-scripts.md](https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/startup-scripts.md): ExcalidrawStartup script template and examples.
|
||||
- [api-usage-index.md](https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/api-usage-index.md): A highly useful index mapping every API method (ea.*, api.*, ExcalidrawLib.*) to the specific example scripts that utilize them.
|
||||
- [scripts/](https://github.com/zsviczian/obsidian-excalidraw-plugin/tree/master/docs/AITrainingData/excalidraw-automate/references/scripts): A folder containing all the raw, real-world example scripts.
|
||||
|
||||
## Publishing Workflow
|
||||
Use the normal repository contribution flow when publishing or updating scripts.
|
||||
The AI training material is maintained independently from publishing PRs; do not bundle regenerated training artifacts into the script PR.
|
||||
- Preview images must follow `scripts-{slug}.{ext}`, where `slug` uses lowercase `a-z`, `0-9`, and hyphens only.
|
||||
|
||||
- Add or update the script under [ea-scripts](https://github.com/zsviczian/obsidian-excalidraw-plugin/tree/master/ea-scripts).
|
||||
- Add or update the preview image under [images](https://github.com/zsviczian/obsidian-excalidraw-plugin/tree/master/images).
|
||||
- Add or update the script's catalog entry in [ea-scripts/script-store.json](https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/ea-scripts/script-store.json).
|
||||
- Run `npm run script-store:check`, then `npm run script-store:build`. The build validates the catalog and advances `directory-info.json` only for script/icon files that actually changed; it does not modify the frozen legacy `index-new.md` catalog.
|
||||
- Do not hand-edit unrelated `mtime` values in [ea-scripts/directory-info.json](https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/ea-scripts/directory-info.json). Historical mtimes are part of the plugin's update-detection contract.
|
||||
- Keep the PR focused on the script and its generated references.
|
||||
|
||||
### How to use the Script Examples
|
||||
If you need to implement a specific function (e.g., `ea.addElementsToView`), do NOT guess its implementation context. Instead:
|
||||
|
||||
@@ -9,40 +9,41 @@ This index maps methods and properties from ExcalidrawAutomate (`ea`), Excalidra
|
||||
- **addAppendUpdateCustomData**: [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **addArrow**: [Concatenate lines.md](scripts/Concatenate%20lines.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap connector.md](scripts/Mindmap%20connector.md)
|
||||
- **addDiamond**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **addElementsToView**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Change shape of selected elements.md](scripts/Change%20shape%20of%20selected%20elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Convert text to link with folder and alias.md](scripts/Convert%20text%20to%20link%20with%20folder%20and%20alias.md), [Create new markdown file and embed into active drawing.md](scripts/Create%20new%20markdown%20file%20and%20embed%20into%20active%20drawing.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Elbow connectors.md](scripts/Elbow%20connectors.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Collaboration Frame.md](scripts/Excalidraw%20Collaboration%20Frame.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Expand rectangles horizontally keep text centered.md](scripts/Expand%20rectangles%20horizontally%20keep%20text%20centered.md), [Expand rectangles horizontally.md](scripts/Expand%20rectangles%20horizontally.md), [Expand rectangles vertically keep text centered.md](scripts/Expand%20rectangles%20vertically%20keep%20text%20centered.md), [Expand rectangles vertically.md](scripts/Expand%20rectangles%20vertically.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Grid Selected Images.md](scripts/Grid%20Selected%20Images.md), [Icon Library.md](scripts/Icon%20Library.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Linear Calendar Generator.md](scripts/Linear%20Calendar%20Generator.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Rename Image.md](scripts/Rename%20Image.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Reverse arrows.md](scripts/Reverse%20arrows.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Dimensions.md](scripts/Set%20Dimensions.md), [Set Font Family.md](scripts/Set%20Font%20Family.md), [Set Link Alias.md](scripts/Set%20Link%20Alias.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Set Text Alignment.md](scripts/Set%20Text%20Alignment.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Split text by lines.md](scripts/Split%20text%20by%20lines.md), [Text Aura.md](scripts/Text%20Aura.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [To Line.md](scripts/To%20Line.md), [Uniform size.md](scripts/Uniform%20size.md)
|
||||
- **addElementsToView**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Change shape of selected elements.md](scripts/Change%20shape%20of%20selected%20elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Convert text to link with folder and alias.md](scripts/Convert%20text%20to%20link%20with%20folder%20and%20alias.md), [Create new markdown file and embed into active drawing.md](scripts/Create%20new%20markdown%20file%20and%20embed%20into%20active%20drawing.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Elbow connectors.md](scripts/Elbow%20connectors.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Collaboration Frame.md](scripts/Excalidraw%20Collaboration%20Frame.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Expand rectangles horizontally keep text centered.md](scripts/Expand%20rectangles%20horizontally%20keep%20text%20centered.md), [Expand rectangles horizontally.md](scripts/Expand%20rectangles%20horizontally.md), [Expand rectangles vertically keep text centered.md](scripts/Expand%20rectangles%20vertically%20keep%20text%20centered.md), [Expand rectangles vertically.md](scripts/Expand%20rectangles%20vertically.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Grid Selected Images.md](scripts/Grid%20Selected%20Images.md), [Icon Library.md](scripts/Icon%20Library.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Linear Calendar Generator.md](scripts/Linear%20Calendar%20Generator.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Rename Image.md](scripts/Rename%20Image.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Reverse arrows.md](scripts/Reverse%20arrows.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Dimensions.md](scripts/Set%20Dimensions.md), [Set Font Family.md](scripts/Set%20Font%20Family.md), [Set Link Alias.md](scripts/Set%20Link%20Alias.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Set Text Alignment.md](scripts/Set%20Text%20Alignment.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Split text by lines.md](scripts/Split%20text%20by%20lines.md), [Text Aura.md](scripts/Text%20Aura.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [To Line.md](scripts/To%20Line.md), [Uniform size.md](scripts/Uniform%20size.md), [VoronoiDiagramGenerator.md](scripts/VoronoiDiagramGenerator.md)
|
||||
- **addEllipse**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **addEmbeddable**: [Capture Note.md](scripts/Capture%20Note.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Collaboration Frame.md](scripts/Excalidraw%20Collaboration%20Frame.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **addEventListener**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **addFrame**: [Capture Note.md](scripts/Capture%20Note.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md)
|
||||
- **addImage**: [Capture Note.md](scripts/Capture%20Note.md), [Create new markdown file and embed into active drawing.md](scripts/Create%20new%20markdown%20file%20and%20embed%20into%20active%20drawing.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **addImage**: [Capture Note.md](scripts/Capture%20Note.md), [Create new markdown file and embed into active drawing.md](scripts/Create%20new%20markdown%20file%20and%20embed%20into%20active%20drawing.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **addLaTex**: [ExcaliMath.md](scripts/ExcaliMath.md)
|
||||
- **addLine**: [Boolean Operations.md](scripts/Boolean%20Operations.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Text to Path.md](scripts/Text%20to%20Path.md), [To Line.md](scripts/To%20Line.md)
|
||||
- **addLine**: [Boolean Operations.md](scripts/Boolean%20Operations.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Text to Path.md](scripts/Text%20to%20Path.md), [To Line.md](scripts/To%20Line.md), [VoronoiDiagramGenerator.md](scripts/VoronoiDiagramGenerator.md)
|
||||
- **addMermaid**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **addRect**: [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Linear Calendar Generator.md](scripts/Linear%20Calendar%20Generator.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Slideshow.md](scripts/Slideshow.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md)
|
||||
- **addRect**: [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Linear Calendar Generator.md](scripts/Linear%20Calendar%20Generator.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md)
|
||||
- **addText**: [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Linear Calendar Generator.md](scripts/Linear%20Calendar%20Generator.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Split text by lines.md](scripts/Split%20text%20by%20lines.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md)
|
||||
- **addToGroup**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Text Aura.md](scripts/Text%20Aura.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **addToGroup**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Text Aura.md](scripts/Text%20Aura.md), [Text to Path.md](scripts/Text%20to%20Path.md), [VoronoiDiagramGenerator.md](scripts/VoronoiDiagramGenerator.md)
|
||||
- **analyzeAIImage**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **attachInlineLinkSuggester**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **canvas**: [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md)
|
||||
- **checkAndCreateFolder**: [Capture Note.md](scripts/Capture%20Note.md)
|
||||
- **checkForActiveSidepanelTabForScript**: [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **clear**: [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **cloneElement**: [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Slideshow.md](scripts/Slideshow.md), [Text Aura.md](scripts/Text%20Aura.md)
|
||||
- **checkForActiveSidepanelTabForScript**: [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **clear**: [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md), [VoronoiDiagramGenerator.md](scripts/VoronoiDiagramGenerator.md)
|
||||
- **cloneElement**: [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Text Aura.md](scripts/Text%20Aura.md)
|
||||
- **cloneElements**: [Capture Note.md](scripts/Capture%20Note.md)
|
||||
- **colorNameToHex**: [Darken background color.md](scripts/Darken%20background%20color.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Repeat Elements.md](scripts/Repeat%20Elements.md)
|
||||
- **connectObjects**: [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Connect elements.md](scripts/Connect%20elements.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **convertStringToDataURL**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **copyViewElementsToEAforEditing**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Change shape of selected elements.md](scripts/Change%20shape%20of%20selected%20elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Convert text to link with folder and alias.md](scripts/Convert%20text%20to%20link%20with%20folder%20and%20alias.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Elbow connectors.md](scripts/Elbow%20connectors.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Expand rectangles horizontally keep text centered.md](scripts/Expand%20rectangles%20horizontally%20keep%20text%20centered.md), [Expand rectangles horizontally.md](scripts/Expand%20rectangles%20horizontally.md), [Expand rectangles vertically keep text centered.md](scripts/Expand%20rectangles%20vertically%20keep%20text%20centered.md), [Expand rectangles vertically.md](scripts/Expand%20rectangles%20vertically.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Invert colors.md](scripts/Invert%20colors.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Reverse arrows.md](scripts/Reverse%20arrows.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Dimensions.md](scripts/Set%20Dimensions.md), [Set Font Family.md](scripts/Set%20Font%20Family.md), [Set Link Alias.md](scripts/Set%20Link%20Alias.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Set Text Alignment.md](scripts/Set%20Text%20Alignment.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text Aura.md](scripts/Text%20Aura.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Uniform size.md](scripts/Uniform%20size.md)
|
||||
- **create**: [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md)
|
||||
- **createPDF**: [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **copyViewElementsToEAforEditing**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Change shape of selected elements.md](scripts/Change%20shape%20of%20selected%20elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Convert text to link with folder and alias.md](scripts/Convert%20text%20to%20link%20with%20folder%20and%20alias.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Elbow connectors.md](scripts/Elbow%20connectors.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Expand rectangles horizontally keep text centered.md](scripts/Expand%20rectangles%20horizontally%20keep%20text%20centered.md), [Expand rectangles horizontally.md](scripts/Expand%20rectangles%20horizontally.md), [Expand rectangles vertically keep text centered.md](scripts/Expand%20rectangles%20vertically%20keep%20text%20centered.md), [Expand rectangles vertically.md](scripts/Expand%20rectangles%20vertically.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Invert colors.md](scripts/Invert%20colors.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Reverse arrows.md](scripts/Reverse%20arrows.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Dimensions.md](scripts/Set%20Dimensions.md), [Set Font Family.md](scripts/Set%20Font%20Family.md), [Set Link Alias.md](scripts/Set%20Link%20Alias.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Set Text Alignment.md](scripts/Set%20Text%20Alignment.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text Aura.md](scripts/Text%20Aura.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Uniform size.md](scripts/Uniform%20size.md)
|
||||
- **createPDF**: [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md)
|
||||
- **createPNGBase64**: [ExcaliAI.md](scripts/ExcaliAI.md), [Image Occlusion.md](scripts/Image%20Occlusion.md)
|
||||
- **createSidepanelTab**: [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **createSidepanelTab**: [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **createSVG**: [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **createViewPNG**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **createViewSVG**: [Capture Note.md](scripts/Capture%20Note.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **deleteViewElements**: [Boolean Operations.md](scripts/Boolean%20Operations.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Split text by lines.md](scripts/Split%20text%20by%20lines.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md)
|
||||
- **DEVICE**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **elementsDict**: [Capture Note.md](scripts/Capture%20Note.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Text Aura.md](scripts/Text%20Aura.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md)
|
||||
- **extractCodeBlocks**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **FloatingModal**: [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **FloatingModal**: [ExcaliAI.md](scripts/ExcaliAI.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **formatAIUsageLabel**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **generateAIImage**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **generateAIText**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
@@ -50,20 +51,19 @@ This index maps methods and properties from ExcalidrawAutomate (`ea`), Excalidra
|
||||
- **getAISettings**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **getAPI**: [Capture Note.md](scripts/Capture%20Note.md)
|
||||
- **getAttachmentFilepath**: [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md)
|
||||
- **getBoundingBox**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Grid Selected Images.md](scripts/Grid%20Selected%20Images.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **getBoundingBox**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Grid Selected Images.md](scripts/Grid%20Selected%20Images.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **getBoundTextElement**: [Capture Note.md](scripts/Capture%20Note.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **getCM**: [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Invert colors.md](scripts/Invert%20colors.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palette loader.md](scripts/Palette%20loader.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Shade Master.md](scripts/Shade%20Master.md), [Text Aura.md](scripts/Text%20Aura.md)
|
||||
- **getCM6**: [ExcaliMath.md](scripts/ExcaliMath.md)
|
||||
- **getColorMapForImageElement**: [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md)
|
||||
- **getElement**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Slideshow.md](scripts/Slideshow.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [To Line.md](scripts/To%20Line.md)
|
||||
- **getElements**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Invert colors.md](scripts/Invert%20colors.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Uniform size.md](scripts/Uniform%20size.md)
|
||||
- **getElements**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Darken background color.md](scripts/Darken%20background%20color.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Invert colors.md](scripts/Invert%20colors.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Shade Master.md](scripts/Shade%20Master.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Uniform size.md](scripts/Uniform%20size.md)
|
||||
- **getElementsInArea**: [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md)
|
||||
- **getElementsIntersectionArea**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **getElementsInTheSameGroupWithElement**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap format.md](scripts/Mindmap%20format.md)
|
||||
- **getEmbeddedFilesLoader**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **getExcalidrawAPI**: [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Copy Selected Element Styles to Global.md](scripts/Copy%20Selected%20Element%20Styles%20to%20Global.md), [Custom Zoom.md](scripts/Custom%20Zoom.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Invert colors.md](scripts/Invert%20colors.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Palette loader.md](scripts/Palette%20loader.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set Grid.md](scripts/Set%20Grid.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Toggle Grid.md](scripts/Toggle%20Grid.md), [Uniform size.md](scripts/Uniform%20size.md), [Zoom to Fit Selected Elements.md](scripts/Zoom%20to%20Fit%20Selected%20Elements.md)
|
||||
- **getExcalidrawAPI**: [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Copy Selected Element Styles to Global.md](scripts/Copy%20Selected%20Element%20Styles%20to%20Global.md), [Custom Zoom.md](scripts/Custom%20Zoom.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Invert colors.md](scripts/Invert%20colors.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Palette loader.md](scripts/Palette%20loader.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set Grid.md](scripts/Set%20Grid.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Toggle Grid.md](scripts/Toggle%20Grid.md), [Uniform size.md](scripts/Uniform%20size.md), [Zoom to Fit Selected Elements.md](scripts/Zoom%20to%20Fit%20Selected%20Elements.md)
|
||||
- **getExportSettings**: [Icon Library.md](scripts/Icon%20Library.md)
|
||||
- **getLargestElement**: [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Connect elements.md](scripts/Connect%20elements.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Set Dimensions.md](scripts/Set%20Dimensions.md)
|
||||
- **getListOfTemplateFiles**: [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md)
|
||||
- **getMathEditorExtensions**: [ExcaliMath.md](scripts/ExcaliMath.md)
|
||||
- **getMaximumGroups**: [Auto Layout.md](scripts/Auto%20Layout.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Connect elements.md](scripts/Connect%20elements.md), [Expand rectangles horizontally keep text centered.md](scripts/Expand%20rectangles%20horizontally%20keep%20text%20centered.md), [Expand rectangles horizontally.md](scripts/Expand%20rectangles%20horizontally.md), [Expand rectangles vertically keep text centered.md](scripts/Expand%20rectangles%20vertically%20keep%20text%20centered.md), [Expand rectangles vertically.md](scripts/Expand%20rectangles%20vertically.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md)
|
||||
- **getOriginalImageSize**: [ExcaliMath.md](scripts/ExcaliMath.md)
|
||||
@@ -71,64 +71,76 @@ This index maps methods and properties from ExcalidrawAutomate (`ea`), Excalidra
|
||||
- **getPathForImageFileId**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **getPolyBool**: [Boolean Operations.md](scripts/Boolean%20Operations.md)
|
||||
- **getSceneFromFile**: [Palette loader.md](scripts/Palette%20loader.md)
|
||||
- **getScriptSettings**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Palette loader.md](scripts/Palette%20loader.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Shade Master.md](scripts/Shade%20Master.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md)
|
||||
- **getScriptSettings**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Palette loader.md](scripts/Palette%20loader.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Shade Master.md](scripts/Shade%20Master.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [VoronoiDiagramGenerator.md](scripts/VoronoiDiagramGenerator.md)
|
||||
- **getScriptSettingValue**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **getSidepanelLeaf**: [Capture Note.md](scripts/Capture%20Note.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **getSidepanelLeaf**: [Capture Note.md](scripts/Capture%20Note.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **getSVGColorInfoForImgElement**: [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **getViewCenterPosition**: [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md)
|
||||
- **getViewElements**: [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Elbow connectors.md](scripts/Elbow%20connectors.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Expand rectangles horizontally keep text centered.md](scripts/Expand%20rectangles%20horizontally%20keep%20text%20centered.md), [Expand rectangles horizontally.md](scripts/Expand%20rectangles%20horizontally.md), [Expand rectangles vertically keep text centered.md](scripts/Expand%20rectangles%20vertically%20keep%20text%20centered.md), [Expand rectangles vertically.md](scripts/Expand%20rectangles%20vertically.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Invert colors.md](scripts/Invert%20colors.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Select Elements of Type.md](scripts/Select%20Elements%20of%20Type.md), [Select Similar Elements.md](scripts/Select%20Similar%20Elements.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Slideshow.md](scripts/Slideshow.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Uniform size.md](scripts/Uniform%20size.md)
|
||||
- **getViewFileForImageElement**: [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [PDF Page Text to Clipboard.md](scripts/PDF%20Page%20Text%20to%20Clipboard.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **getViewSelectedElement**: [Capture Note.md](scripts/Capture%20Note.md), [Copy Selected Element Styles to Global.md](scripts/Copy%20Selected%20Element%20Styles%20to%20Global.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Select Similar Elements.md](scripts/Select%20Similar%20Elements.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Slideshow.md](scripts/Slideshow.md), [To Line.md](scripts/To%20Line.md)
|
||||
- **getViewSelectedElements**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Change shape of selected elements.md](scripts/Change%20shape%20of%20selected%20elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert text to link with folder and alias.md](scripts/Convert%20text%20to%20link%20with%20folder%20and%20alias.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Elbow connectors.md](scripts/Elbow%20connectors.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Expand rectangles horizontally keep text centered.md](scripts/Expand%20rectangles%20horizontally%20keep%20text%20centered.md), [Expand rectangles horizontally.md](scripts/Expand%20rectangles%20horizontally.md), [Expand rectangles vertically keep text centered.md](scripts/Expand%20rectangles%20vertically%20keep%20text%20centered.md), [Expand rectangles vertically.md](scripts/Expand%20rectangles%20vertically.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Grid Selected Images.md](scripts/Grid%20Selected%20Images.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Linear Calendar Generator.md](scripts/Linear%20Calendar%20Generator.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [PDF Page Text to Clipboard.md](scripts/PDF%20Page%20Text%20to%20Clipboard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Rename Image.md](scripts/Rename%20Image.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Reverse arrows.md](scripts/Reverse%20arrows.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Select Elements of Type.md](scripts/Select%20Elements%20of%20Type.md), [Select Similar Elements.md](scripts/Select%20Similar%20Elements.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Dimensions.md](scripts/Set%20Dimensions.md), [Set Font Family.md](scripts/Set%20Font%20Family.md), [Set Link Alias.md](scripts/Set%20Link%20Alias.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Set Text Alignment.md](scripts/Set%20Text%20Alignment.md), [Shade Master.md](scripts/Shade%20Master.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Split text by lines.md](scripts/Split%20text%20by%20lines.md), [Text Aura.md](scripts/Text%20Aura.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Uniform size.md](scripts/Uniform%20size.md), [Zoom to Fit Selected Elements.md](scripts/Zoom%20to%20Fit%20Selected%20Elements.md)
|
||||
- **imagesDict**: [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Image Occlusion.md](scripts/Image%20Occlusion.md)
|
||||
- **getViewSelectedElement**: [Capture Note.md](scripts/Capture%20Note.md), [Copy Selected Element Styles to Global.md](scripts/Copy%20Selected%20Element%20Styles%20to%20Global.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Select Similar Elements.md](scripts/Select%20Similar%20Elements.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [To Line.md](scripts/To%20Line.md)
|
||||
- **getViewSelectedElements**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Change shape of selected elements.md](scripts/Change%20shape%20of%20selected%20elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert text to link with folder and alias.md](scripts/Convert%20text%20to%20link%20with%20folder%20and%20alias.md), [Elbow connectors.md](scripts/Elbow%20connectors.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Expand rectangles horizontally keep text centered.md](scripts/Expand%20rectangles%20horizontally%20keep%20text%20centered.md), [Expand rectangles horizontally.md](scripts/Expand%20rectangles%20horizontally.md), [Expand rectangles vertically keep text centered.md](scripts/Expand%20rectangles%20vertically%20keep%20text%20centered.md), [Expand rectangles vertically.md](scripts/Expand%20rectangles%20vertically.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Grid Selected Images.md](scripts/Grid%20Selected%20Images.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Linear Calendar Generator.md](scripts/Linear%20Calendar%20Generator.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [PDF Page Text to Clipboard.md](scripts/PDF%20Page%20Text%20to%20Clipboard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Rename Image.md](scripts/Rename%20Image.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Reverse arrows.md](scripts/Reverse%20arrows.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Select Elements of Type.md](scripts/Select%20Elements%20of%20Type.md), [Select Similar Elements.md](scripts/Select%20Similar%20Elements.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Dimensions.md](scripts/Set%20Dimensions.md), [Set Font Family.md](scripts/Set%20Font%20Family.md), [Set Link Alias.md](scripts/Set%20Link%20Alias.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Set Text Alignment.md](scripts/Set%20Text%20Alignment.md), [Shade Master.md](scripts/Shade%20Master.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Split text by lines.md](scripts/Split%20text%20by%20lines.md), [Text Aura.md](scripts/Text%20Aura.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Uniform size.md](scripts/Uniform%20size.md), [VoronoiDiagramGenerator.md](scripts/VoronoiDiagramGenerator.md), [Zoom to Fit Selected Elements.md](scripts/Zoom%20to%20Fit%20Selected%20Elements.md)
|
||||
- **height**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **imagesDict**: [Image Occlusion.md](scripts/Image%20Occlusion.md)
|
||||
- **importSVG**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **intersectElementWithLine**: [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Expand rectangles horizontally keep text centered.md](scripts/Expand%20rectangles%20horizontally%20keep%20text%20centered.md), [Expand rectangles horizontally.md](scripts/Expand%20rectangles%20horizontally.md), [Expand rectangles vertically keep text centered.md](scripts/Expand%20rectangles%20vertically%20keep%20text%20centered.md), [Expand rectangles vertically.md](scripts/Expand%20rectangles%20vertically.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md)
|
||||
- **isExcalidrawFile**: [Capture Note.md](scripts/Capture%20Note.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palette loader.md](scripts/Palette%20loader.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **isExcalidrawFile**: [Capture Note.md](scripts/Capture%20Note.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palette loader.md](scripts/Palette%20loader.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **isExcalidrawMaskFile**: [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md)
|
||||
- **isExcalidrawView**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **maskEditAIImage**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **measureText**: [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **Modal**: [Image Occlusion.md](scripts/Image%20Occlusion.md)
|
||||
- **moveViewElementToZIndex**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md)
|
||||
- **obsidian**: [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Select Similar Elements.md](scripts/Select%20Similar%20Elements.md), [Set Grid.md](scripts/Set%20Grid.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **obsidian**: [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [ExcaliAI.md](scripts/ExcaliAI.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Select Similar Elements.md](scripts/Select%20Similar%20Elements.md), [Set Grid.md](scripts/Set%20Grid.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md), [VoronoiDiagramGenerator.md](scripts/VoronoiDiagramGenerator.md)
|
||||
- **onLinkClickHook**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **onSceneChangeHook**: [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **openFileInNewOrAdjacentLeaf**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Capture Note.md](scripts/Capture%20Note.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md)
|
||||
- **openFileInNewOrAdjacentLeaf**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Capture Note.md](scripts/Capture%20Note.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md)
|
||||
- **ownerDocument**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **parseText**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **plugin**: [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Rename Image.md](scripts/Rename%20Image.md), [Shade Master.md](scripts/Shade%20Master.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **placeholder**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **plugin**: [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Rename Image.md](scripts/Rename%20Image.md), [Shade Master.md](scripts/Shade%20Master.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **refreshTextElementSize**: [Capture Note.md](scripts/Capture%20Note.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Scribble Helper.md](scripts/Scribble%20Helper.md)
|
||||
- **registerElementActionProvider**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **reset**: [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md)
|
||||
- **saveScriptSettings**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **selectElementsInView**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Organic Line Legacy.md](scripts/Organic%20Line%20Legacy.md), [Organic Line.md](scripts/Organic%20Line.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Select Elements of Type.md](scripts/Select%20Elements%20of%20Type.md), [Select Similar Elements.md](scripts/Select%20Similar%20Elements.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Slideshow.md](scripts/Slideshow.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md)
|
||||
- **setScriptSettings**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Palette loader.md](scripts/Palette%20loader.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Shade Master.md](scripts/Shade%20Master.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md)
|
||||
- **selectionEnd**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **selectionStart**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **setRangeText**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **setScriptSettings**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap format.md](scripts/Mindmap%20format.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Palette loader.md](scripts/Palette%20loader.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Shade Master.md](scripts/Shade%20Master.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [VoronoiDiagramGenerator.md](scripts/VoronoiDiagramGenerator.md)
|
||||
- **setScriptSettingValue**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **setStrokeSharpness**: [Scribble Helper.md](scripts/Scribble%20Helper.md)
|
||||
- **setValue**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **setView**: [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **setView**: [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **setViewModeEnabled**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **showAIUsageModal**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **showColorPicker**: [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **sidepanelTab**: [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **sidepanelTab**: [Icon Library.md](scripts/Icon%20Library.md), [LayerManager.md](scripts/LayerManager.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **skipSidepanelScriptRestore**: [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md)
|
||||
- **style**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Linear Calendar Generator.md](scripts/Linear%20Calendar%20Generator.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Slideshow.md](scripts/Slideshow.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Split text by lines.md](scripts/Split%20text%20by%20lines.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [To Line.md](scripts/To%20Line.md)
|
||||
- **targetView**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Create new markdown file and embed into active drawing.md](scripts/Create%20new%20markdown%20file%20and%20embed%20into%20active%20drawing.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Folder Note Core - Make Current Drawing a Folder.md](scripts/Folder%20Note%20Core%20-%20Make%20Current%20Drawing%20a%20Folder.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palm Guard.md](scripts/Palm%20Guard.md), [PDF Page Text to Clipboard.md](scripts/PDF%20Page%20Text%20to%20Clipboard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **style**: [Add Connector Point.md](scripts/Add%20Connector%20Point.md), [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Concatenate lines.md](scripts/Concatenate%20lines.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Full-Year Calendar Generator.md](scripts/Full-Year%20Calendar%20Generator.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Linear Calendar Generator.md](scripts/Linear%20Calendar%20Generator.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Mindmap connector.md](scripts/Mindmap%20connector.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Split Ellipse.md](scripts/Split%20Ellipse.md), [Split text by lines.md](scripts/Split%20text%20by%20lines.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [To Line.md](scripts/To%20Line.md), [VoronoiDiagramGenerator.md](scripts/VoronoiDiagramGenerator.md)
|
||||
- **targetView**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Create new markdown file and embed into active drawing.md](scripts/Create%20new%20markdown%20file%20and%20embed%20into%20active%20drawing.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Folder Note Core - Make Current Drawing a Folder.md](scripts/Folder%20Note%20Core%20-%20Make%20Current%20Drawing%20a%20Folder.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Icon Library.md](scripts/Icon%20Library.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palm Guard.md](scripts/Palm%20Guard.md), [PDF Page Text to Clipboard.md](scripts/PDF%20Page%20Text%20to%20Clipboard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md)
|
||||
- **tex2dataURL**: [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md)
|
||||
- **toggleSidepanelView**: [Capture Note.md](scripts/Capture%20Note.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **toggleSidepanelView**: [Capture Note.md](scripts/Capture%20Note.md), [Icon Library.md](scripts/Icon%20Library.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **transformAIImage**: [ExcaliAI.md](scripts/ExcaliAI.md)
|
||||
- **updateViewSVGImageColorMap**: [Shade Master.md](scripts/Shade%20Master.md)
|
||||
- **verifyMinimumPluginVersion**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Select Elements of Type.md](scripts/Select%20Elements%20of%20Type.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Grid.md](scripts/Set%20Grid.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Toggle Grid.md](scripts/Toggle%20Grid.md)
|
||||
- **value**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **verifyMinimumPluginVersion**: [Add Link to Existing File and Open.md](scripts/Add%20Link%20to%20Existing%20File%20and%20Open.md), [Add Link to New Page and Open.md](scripts/Add%20Link%20to%20New%20Page%20and%20Open.md), [Add Next Step in Process.md](scripts/Add%20Next%20Step%20in%20Process.md), [Auto Layout.md](scripts/Auto%20Layout.md), [Boolean Operations.md](scripts/Boolean%20Operations.md), [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Box Selected Elements.md](scripts/Box%20Selected%20Elements.md), [Capture Note.md](scripts/Capture%20Note.md), [Comicbook Callout Editor.md](scripts/Comicbook%20Callout%20Editor.md), [Connect elements.md](scripts/Connect%20elements.md), [Convert freedraw to line.md](scripts/Convert%20freedraw%20to%20line.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Crop Vintage Mask.md](scripts/Crop%20Vintage%20Mask.md), [Darken background color.md](scripts/Darken%20background%20color.md), [Ellipse Selected Elements.md](scripts/Ellipse%20Selected%20Elements.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Excalidraw Writing Machine.md](scripts/Excalidraw%20Writing%20Machine.md), [ExcaliMath.md](scripts/ExcaliMath.md), [Fixed horizontal distance between centers.md](scripts/Fixed%20horizontal%20distance%20between%20centers.md), [Fixed inner distance.md](scripts/Fixed%20inner%20distance.md), [Fixed spacing.md](scripts/Fixed%20spacing.md), [Fixed vertical distance between centers.md](scripts/Fixed%20vertical%20distance%20between%20centers.md), [Fixed vertical distance.md](scripts/Fixed%20vertical%20distance.md), [Golden Ratio.md](scripts/Golden%20Ratio.md), [Image Occlusion.md](scripts/Image%20Occlusion.md), [Lighten background color.md](scripts/Lighten%20background%20color.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Modify background color opacity.md](scripts/Modify%20background%20color%20opacity.md), [Normalize Selected Arrows.md](scripts/Normalize%20Selected%20Arrows.md), [Organic Line.md](scripts/Organic%20Line.md), [Palette loader.md](scripts/Palette%20loader.md), [Palm Guard.md](scripts/Palm%20Guard.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Repeat Elements.md](scripts/Repeat%20Elements.md), [Repeat Texts.md](scripts/Repeat%20Texts.md), [Reset LaTeX Size.md](scripts/Reset%20LaTeX%20Size.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Select Elements of Type.md](scripts/Select%20Elements%20of%20Type.md), [Set background color of unclosed line object by adding a shadow clone.md](scripts/Set%20background%20color%20of%20unclosed%20line%20object%20by%20adding%20a%20shadow%20clone.md), [Set Grid.md](scripts/Set%20Grid.md), [Shade Master.md](scripts/Shade%20Master.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Toggle Grid.md](scripts/Toggle%20Grid.md)
|
||||
- **viewToggleFullScreen**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **viewUpdateScene**: [Invert colors.md](scripts/Invert%20colors.md), [Mindmap Builder.js.md](scripts/Mindmap%20Builder.js.md), [Palette loader.md](scripts/Palette%20loader.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Set Stroke Width of Selected Elements.md](scripts/Set%20Stroke%20Width%20of%20Selected%20Elements.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Toggle Grid.md](scripts/Toggle%20Grid.md)
|
||||
- **viewZoomToElements**: [Capture Note.md](scripts/Capture%20Note.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md)
|
||||
- **width**: [Slideshow.md](scripts/Slideshow.md)
|
||||
|
||||
## ExcalidrawAPI
|
||||
|
||||
- **features**: [ExcaliMath.md](scripts/ExcaliMath.md)
|
||||
- **getAppState**: [Box Each Selected Groups.md](scripts/Box%20Each%20Selected%20Groups.md), [Copy Selected Element Styles to Global.md](scripts/Copy%20Selected%20Element%20Styles%20to%20Global.md), [Custom Zoom.md](scripts/Custom%20Zoom.md), [ExcaliAI.md](scripts/ExcaliAI.md), [Invert colors.md](scripts/Invert%20colors.md), [Palette loader.md](scripts/Palette%20loader.md), [Printable Layout Wizard.md](scripts/Printable%20Layout%20Wizard.md), [Relative Font Size Cycle.md](scripts/Relative%20Font%20Size%20Cycle.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Set Grid.md](scripts/Set%20Grid.md), [Shade Master.md](scripts/Shade%20Master.md), [Slideshow.md](scripts/Slideshow.md), [Text to Path.md](scripts/Text%20to%20Path.md), [Toggle Grid.md](scripts/Toggle%20Grid.md)
|
||||
- **getSceneElements**: [Mindmap format.md](scripts/Mindmap%20format.md)
|
||||
- **history**: [Deconstruct selected elements into new drawing.md](scripts/Deconstruct%20selected%20elements%20into%20new%20drawing.md)
|
||||
- **getSceneElements**: [Mindmap format.md](scripts/Mindmap%20format.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **onChange**: [LayerManager.md](scripts/LayerManager.md)
|
||||
- **setActiveTool**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **setToast**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **startLineEditor**: [Slideshow.md](scripts/Slideshow.md)
|
||||
- **updateContainerSize**: [Capture Note.md](scripts/Capture%20Note.md), [Convert selected text elements to sticky notes.md](scripts/Convert%20selected%20text%20elements%20to%20sticky%20notes.md), [Scribble Helper.md](scripts/Scribble%20Helper.md), [Text to Sticky Notes.md](scripts/Text%20to%20Sticky%20Notes.md), [Uniform size.md](scripts/Uniform%20size.md)
|
||||
- **updateScene**: [Custom Zoom.md](scripts/Custom%20Zoom.md), [Palette loader.md](scripts/Palette%20loader.md), [Set Grid.md](scripts/Set%20Grid.md)
|
||||
- **updateScene**: [Custom Zoom.md](scripts/Custom%20Zoom.md), [LayerManager.md](scripts/LayerManager.md), [Palette loader.md](scripts/Palette%20loader.md), [Set Grid.md](scripts/Set%20Grid.md), [Slideshow.md](scripts/Slideshow.md)
|
||||
- **zoomToFit**: [Zoom to Fit Selected Elements.md](scripts/Zoom%20to%20Fit%20Selected%20Elements.md)
|
||||
|
||||
## ExcalidrawLib
|
||||
|
||||
@@ -84,7 +84,7 @@ export declare const getCommonBoundingBox: (elements: readonly ExcalidrawElement
|
||||
/* ************************************** */
|
||||
/* @excalidraw/element/groups -> node_modules/@zsviczian/excalidraw/types/element/src/groups.d.ts */
|
||||
/* ************************************** */
|
||||
export declare const getMaximumGroups: (elements: ExcalidrawElement[], elementsMap: ElementsMap) => ExcalidrawElement[][];
|
||||
export declare const getMaximumGroups: <T extends NonDeletedExcalidrawElement | ExcalidrawElement>(elements: T[], elementsMap: ElementsMap) => T[][];
|
||||
|
||||
/* ************************************** */
|
||||
/* @excalidraw/element/textMeasurements -> node_modules/@zsviczian/excalidraw/types/element/src/textMeasurements.d.ts */
|
||||
@@ -101,7 +101,7 @@ export declare const wrapText: (text: string, font: FontString, maxWidth: number
|
||||
/* @excalidraw/element/textElement -> node_modules/@zsviczian/excalidraw/types/element/src/textElement.d.ts */
|
||||
/* ************************************** */
|
||||
export declare const getBoundTextMaxWidth: (container: ExcalidrawElement, boundTextElement: ExcalidrawTextElement | null) => number;
|
||||
export declare const getContainerElement: (element: ExcalidrawTextElement | null, elementsMap: ElementsMap) => ExcalidrawTextContainer | null;
|
||||
export declare const getContainerElement: <T extends ExcalidrawTextElement, R extends ExcalidrawTextContainer>(element: T | null, elementsMap: ElementsMap) => R | null;
|
||||
|
||||
/* ************************************** */
|
||||
/* ./components/TTDDialog/MermaidToExcalidrawLib -> node_modules/@zsviczian/excalidraw/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts */
|
||||
@@ -223,21 +223,20 @@ export declare const TTDDialog: {
|
||||
/* ************************************** */
|
||||
/* ./components/TTDDialog/utils/TTDStreamFetch -> node_modules/@zsviczian/excalidraw/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts */
|
||||
/* ************************************** */
|
||||
export declare function parseSSEStream(reader: ReadableStreamDefaultReader<Uint8Array>): AsyncGenerator<string, void, unknown>;
|
||||
export declare function TTDStreamFetch(options: StreamingOptions): Promise<TTTDDialog.OnTextSubmitRetValue>;
|
||||
|
||||
/* ************************************** */
|
||||
/* ./actions/actionCanvas -> node_modules/@zsviczian/excalidraw/types/excalidraw/actions/actionCanvas.d.ts */
|
||||
/* ./viewport -> node_modules/@zsviczian/excalidraw/types/excalidraw/viewport.d.ts */
|
||||
/* ************************************** */
|
||||
export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
|
||||
export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fit, minZoom, maxZoom, steppedZoom, }: {
|
||||
bounds: SceneBounds;
|
||||
canvasOffsets?: Offsets;
|
||||
appState: Readonly<AppState>;
|
||||
/** whether to fit content to viewport (beyond >100%) */
|
||||
fitToViewport: boolean;
|
||||
/** zoom content to cover X of the viewport, when fitToViewport=true */
|
||||
viewportZoomFactor?: number;
|
||||
fit?: SetViewportOptions["fit"];
|
||||
minZoom?: number;
|
||||
maxZoom?: number;
|
||||
steppedZoom?: boolean;
|
||||
}) => {
|
||||
appState: {
|
||||
scrollX: number;
|
||||
@@ -254,4 +253,35 @@ export declare const DiagramToCodePlugin: (props: {
|
||||
/* ************************************** */
|
||||
export declare const CommandPalette: ((props: CommandPaletteProps) => import("react/jsx-runtime").JSX.Element | null) & {
|
||||
defaultItems: typeof defaultItems;
|
||||
|
||||
/* ************************************** */
|
||||
/* ./obsidianExcalidrawHost -> node_modules/@zsviczian/excalidraw/types/excalidraw/obsidianExcalidrawHost.d.ts */
|
||||
/* ************************************** */
|
||||
export declare const OBSIDIAN_EXCALIDRAW_HOST_PROTOCOL_VERSION: 2;
|
||||
/** Keyboard-blocking lifecycle returned by the host's inline suggester. */
|
||||
export interface ObsidianKeyBlocker {
|
||||
isBlockingKeys(): boolean;
|
||||
close(): void;
|
||||
}
|
||||
/** Plugin-wide capabilities consumed by the Excalidraw package. */
|
||||
export interface ObsidianExcalidrawHostAdapter {
|
||||
readonly protocolVersion: typeof OBSIDIAN_EXCALIDRAW_HOST_PROTOCOL_VERSION;
|
||||
isDoubleTapEraserEnabled(): boolean;
|
||||
getZoomToFitMaxLevel(): number;
|
||||
isPenModeCrosshairVisible(): boolean;
|
||||
isSingleFingerPanningEnabled(): boolean;
|
||||
isDoubleClickTextEditingDisabled(): boolean;
|
||||
getZoomStep(): number;
|
||||
getZoomMin(): number;
|
||||
getZoomMax(): number;
|
||||
isContextMenuDisabled(): boolean;
|
||||
shouldSyncElementLinkWithText(): boolean;
|
||||
loadFontFromFile(filename: string): Promise<ArrayBuffer | undefined>;
|
||||
getMermaid(): Promise<MermaidToExcalidrawLibProps>;
|
||||
runAction(action: "anyFile" | "LaTeX" | "card"): void;
|
||||
getLabel(key: string): string;
|
||||
attachInlineLinkSuggester(inputEl: HTMLInputElement | HTMLTextAreaElement, widthWrapper?: HTMLElement, container?: HTMLDivElement | null, suppressPlaceholder?: boolean): ObsidianKeyBlocker;
|
||||
}
|
||||
/** Idempotent cleanup returned when a package host is configured. */
|
||||
export type ObsidianExcalidrawHostDisposer = () => void;
|
||||
```
|
||||
+547
-304
@@ -1,332 +1,575 @@
|
||||
/*
|
||||
# Deconstruct Selected Elements Into New Drawing
|
||||
|
||||

|
||||
|
||||
Select some elements in the scene. The script will take these elements and move them into a new Excalidraw file, and open that file. The selected elements will also be replaced in your original drawing with the embedded Excalidraw file (the one that was just created). You will be prompted for the file name of the new deconstructed image. The script is useful if you want to break a larger drawing into smaller reusable parts that you want to reference in multiple drawings.
|
||||
Select elements in the current Excalidraw scene. The script moves the selected elements into a new Excalidraw file, replaces the original selection with an embedded reference to that new drawing, and optionally opens the new file.
|
||||
|
||||
<a href="https://www.youtube.com/watch?v=HRtaaD34Zzg" target="_blank"><img src ="https://i.ytimg.com/vi/HRtaaD34Zzg/maxresdefault.jpg" style="width:560px;"></a>
|
||||
The modal lets you choose the destination folder, filename, template, whether to open the new drawing, whether to reuse an adjacent tab, and whether the inserted embed should be anchored at 100% size.
|
||||
|
||||
<a href="https://www.youtube.com/watch?v=mvMQcz401yo" target="_blank"><img src ="https://i.ytimg.com/vi/mvMQcz401yo/maxresdefault.jpg" style="width:560px;"></a>
|
||||
Destination names are validated before creation. Filenames reject path separators and characters that are invalid or unsafe across common vault platforms (`\\ / : * ? " < > |` and control characters). Folder paths use `/` only as the path separator and validate each folder name independently.
|
||||
|
||||
```js
|
||||
## Usage
|
||||
|
||||
1. Select one or more elements in an Excalidraw drawing.
|
||||
2. Run **Deconstruct Selected Elements Into New Drawing**.
|
||||
3. Choose the destination folder, file name, and optional template.
|
||||
4. Choose **Insert** or **Insert @100%**.
|
||||
|
||||
The default filename and additional template paths can be configured through the script settings.
|
||||
|
||||
## Original demonstrations
|
||||
|
||||

|
||||

|
||||
|
||||
Build version: 2026-09-04T17:17:37.900Z
|
||||
|
||||
```javascript
|
||||
*/
|
||||
|
||||
if(!ea.verifyMinimumPluginVersion || !ea.verifyMinimumPluginVersion("2.7.3")) {
|
||||
new Notice("This script requires a newer version of Excalidraw. Please install the latest version.");
|
||||
return;
|
||||
}
|
||||
|
||||
// -------------------------------
|
||||
// Utility variables and functions
|
||||
// -------------------------------
|
||||
const excalidrawTemplates = ea.getListOfTemplateFiles();
|
||||
if(typeof window.ExcalidrawDeconstructElements === "undefined") {
|
||||
window.ExcalidrawDeconstructElements = {
|
||||
openDeconstructedImage: true,
|
||||
reuseTab: true,
|
||||
templatePath: excalidrawTemplates?.[0]?.path??""
|
||||
};
|
||||
} else if (typeof window.ExcalidrawDeconstructElements.reuseTab === "undefined") {
|
||||
window.ExcalidrawDeconstructElements.reuseTab = true;
|
||||
}
|
||||
|
||||
// Helper class for Folder Autocomplete
|
||||
class FolderSuggest extends ea.obsidian.AbstractInputSuggest {
|
||||
constructor(app, inputEl) {
|
||||
super(app, inputEl);
|
||||
this.inputEl = inputEl;
|
||||
// Script bundle
|
||||
/* EA Script — deconstruct-selected-elements-into-new-drawing | ea-scripts v1.0.0 */
|
||||
(() => {
|
||||
// src/sharedUtils/i18n.ts
|
||||
function interpolateTranslation(template, params = {}) {
|
||||
return Object.entries(params).reduce(
|
||||
(result, [key, value]) => result.split(`{${key}}`).join(String(value)),
|
||||
template
|
||||
);
|
||||
}
|
||||
|
||||
getSuggestions(query) {
|
||||
const folders = app.vault.getAllLoadedFiles().filter(f => f instanceof ea.obsidian.TFolder);
|
||||
const lowerQuery = query.toLowerCase();
|
||||
|
||||
// Filter folders that match the query
|
||||
const matches = folders.filter(f => f.path.toLowerCase().includes(lowerQuery));
|
||||
|
||||
// Custom Sort
|
||||
matches.sort((a, b) => {
|
||||
const aPath = a.path;
|
||||
const bPath = b.path;
|
||||
const aLower = aPath.toLowerCase();
|
||||
const bLower = bPath.toLowerCase();
|
||||
|
||||
// Priority 1: Starts with query (e.g. "Projects" comes before "Hobbies/Projects")
|
||||
const aStarts = aLower.startsWith(lowerQuery);
|
||||
const bStarts = bLower.startsWith(lowerQuery);
|
||||
|
||||
if (aStarts && !bStarts) return -1;
|
||||
if (!aStarts && bStarts) return 1;
|
||||
|
||||
// Priority 2: Alphabetical
|
||||
return aPath.localeCompare(bPath);
|
||||
});
|
||||
|
||||
return matches.map(f => f.path);
|
||||
}
|
||||
|
||||
renderSuggestion(value, el) {
|
||||
el.setText(value);
|
||||
}
|
||||
|
||||
selectSuggestion(value, evt) {
|
||||
this.inputEl.value = value;
|
||||
this.inputEl.dispatchEvent(new Event('input'));
|
||||
this.close();
|
||||
}
|
||||
}
|
||||
|
||||
let settings = ea.getScriptSettings();
|
||||
//set default values on first run
|
||||
if(!settings["Templates"]) {
|
||||
settings = {
|
||||
"Templates" : {
|
||||
value: "",
|
||||
description: "Comma-separated list of template filepaths"
|
||||
}
|
||||
};
|
||||
await ea.setScriptSettings(settings);
|
||||
}
|
||||
|
||||
if(!settings["Default file name"]) {
|
||||
settings["Default file name"] = {
|
||||
value: "deconstructed",
|
||||
description: "The default filename to use when deconstructing elements."
|
||||
};
|
||||
await ea.setScriptSettings(settings);
|
||||
}
|
||||
|
||||
const DEFAULT_FILENAME = settings["Default file name"].value;
|
||||
|
||||
const templates = settings["Templates"]
|
||||
.value
|
||||
.split(",")
|
||||
.map(p=>app.metadataCache.getFirstLinkpathDest(p.trim(),""))
|
||||
.concat(excalidrawTemplates)
|
||||
.filter(f=>Boolean(f))
|
||||
.sort((a,b) => a.basename.localeCompare(b.basename));
|
||||
|
||||
|
||||
// ------------------------------------
|
||||
// Prepare elements to be deconstructed
|
||||
// ------------------------------------
|
||||
const els = ea.getViewSelectedElements();
|
||||
if (els.length === 0) {
|
||||
new Notice("You must select elements first")
|
||||
return;
|
||||
}
|
||||
|
||||
const bb = ea.getBoundingBox(els);
|
||||
ea.copyViewElementsToEAforEditing(els);
|
||||
|
||||
// Handle Image elements logic from original script
|
||||
ea.getElements().filter(el=>el.type==="image").forEach(el=>{
|
||||
const img = ea.targetView.excalidrawData.getFile(el.fileId);
|
||||
const path = (img?.linkParts?.original)??(img?.file?.path);
|
||||
const hyperlink = img?.hyperlink;
|
||||
if(img && (path || hyperlink)) {
|
||||
const colorMap = ea.getColorMapForImageElement(el);
|
||||
ea.imagesDict[el.fileId] = {
|
||||
mimeType: img.mimeType,
|
||||
id: el.fileId,
|
||||
dataURL: img.img,
|
||||
created: img.mtime,
|
||||
file: path,
|
||||
hyperlink,
|
||||
hasSVGwithBitmap: img.isSVGwithBitmap,
|
||||
latex: null,
|
||||
colorMap,
|
||||
function createTranslator(requestedLocale, catalogs, fallbackLocale = "en") {
|
||||
const locale = requestedLocale.toLowerCase().replaceAll("_", "-");
|
||||
const baseLocale = locale.split("-")[0] ?? locale;
|
||||
return (key, params = {}) => {
|
||||
const template = catalogs[locale]?.[key] ?? catalogs[baseLocale]?.[key] ?? catalogs[fallbackLocale]?.[key] ?? key;
|
||||
return interpolateTranslation(template, params);
|
||||
};
|
||||
return;
|
||||
}
|
||||
const equation = ea.targetView.excalidrawData.getEquation(el.fileId);
|
||||
const eqImg = ea.targetView.getScene()?.files[el.fileId]
|
||||
if(equation && eqImg) {
|
||||
ea.imagesDict[el.fileId] = {
|
||||
mimeType: eqImg.mimeType,
|
||||
id: el.fileId,
|
||||
dataURL: eqImg.dataURL,
|
||||
created: eqImg.created,
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/de.ts
|
||||
var de = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/en.ts
|
||||
var en = {
|
||||
requiresNewerVersion: "This script requires Excalidraw 2.27.0 or newer. Please install the latest version.",
|
||||
selectElements: "You must select elements first.",
|
||||
templatesSettingDesc: "Comma-separated list of template filepaths",
|
||||
defaultFilenameSettingDesc: "The default filename to use when deconstructing elements.",
|
||||
modalTitle: "Deconstruct Elements",
|
||||
folderPath: "Folder path",
|
||||
fileName: "File name",
|
||||
selectTemplate: "Select template",
|
||||
noTemplate: "none",
|
||||
openDeconstructedImage: "Open deconstructed image",
|
||||
reuseExistingTab: "Reuse existing tab",
|
||||
reuseExistingTabDesc: "If available, open in an adjacent tab. Otherwise open in a new tab.",
|
||||
insert: "Insert",
|
||||
insertTooltip: "Insert without anchoring",
|
||||
insertAt100: "Insert @100%",
|
||||
insertAt100Tooltip: "Anchor to 100% size",
|
||||
filenameRequired: "Filename is required.",
|
||||
invalidFilenameCharacter: 'File name contains an invalid character: "{character}".',
|
||||
invalidFolderCharacter: 'Folder path contains an invalid character: "{character}".',
|
||||
invalidFilename: 'Invalid file name: "{name}".',
|
||||
invalidFolderPath: 'Invalid folder path near: "{name}".',
|
||||
somethingWentWrong: "Something went wrong while creating the deconstructed drawing.",
|
||||
deconstructionReady: "Deconstruction ready."
|
||||
};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/es.ts
|
||||
var es = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/fr.ts
|
||||
var fr = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/ru.ts
|
||||
var ru = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/zh-cn.ts
|
||||
var zhCn = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/index.ts
|
||||
var CATALOGS = { en, de, es, fr, ru, "zh-cn": zhCn };
|
||||
function createDeconstructTranslator(locale) {
|
||||
return createTranslator(locale, CATALOGS);
|
||||
}
|
||||
|
||||
// src/sharedUtils/eaEmbeddedFiles.ts
|
||||
function copyImageFile(ea2, element, fileId) {
|
||||
const view = ea2.targetView;
|
||||
if (!view) return false;
|
||||
const image = view.excalidrawData.getFile(fileId);
|
||||
const filePath = image?.linkParts?.original ?? image?.file?.path;
|
||||
const hyperlink = image?.hyperlink;
|
||||
if (!image || !filePath && !hyperlink) return false;
|
||||
ea2.imagesDict[fileId] = {
|
||||
mimeType: image.mimeType,
|
||||
id: fileId,
|
||||
dataURL: image.img,
|
||||
created: image.mtime,
|
||||
file: filePath,
|
||||
hyperlink,
|
||||
hasSVGwithBitmap: image.isSVGwithBitmap,
|
||||
latex: null,
|
||||
colorMap: ea2.getColorMapForImageElement(element)
|
||||
};
|
||||
return true;
|
||||
}
|
||||
function copyEquationFile(ea2, element, fileId) {
|
||||
const view = ea2.targetView;
|
||||
if (!view) return;
|
||||
const equation = view.excalidrawData.getEquation(fileId);
|
||||
const sceneFile = view.getScene()?.files[fileId];
|
||||
if (!equation || !sceneFile) return;
|
||||
ea2.imagesDict[fileId] = {
|
||||
mimeType: sceneFile.mimeType,
|
||||
id: fileId,
|
||||
dataURL: sceneFile.dataURL,
|
||||
created: sceneFile.created,
|
||||
file: null,
|
||||
hasSVGwithBitmap: null,
|
||||
latex: equation.latex,
|
||||
latex: equation.latex
|
||||
};
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// ----------------------
|
||||
// Execution Logic
|
||||
// ----------------------
|
||||
const executeDeconstruction = async (folderPath, fileName, shouldAnchor) => {
|
||||
// Ensure filename has extension
|
||||
if (!fileName.endsWith(".md")) fileName += ".md";
|
||||
|
||||
// Construct full path
|
||||
// normalizePath handles cases where folderPath might be empty or root
|
||||
const fullPath = ea.obsidian.normalizePath(`${folderPath}/${fileName}`);
|
||||
|
||||
// Separate back into folder and filename for ea.create
|
||||
const pathParts = fullPath.split("/");
|
||||
const finalFileName = pathParts.pop();
|
||||
const finalFolderName = pathParts.join("/");
|
||||
|
||||
// We use silent: true to prevent ea.create from opening the file automatically.
|
||||
// We handle opening manually based on user preference.
|
||||
const newPath = await ea.create ({
|
||||
filename: finalFileName,
|
||||
foldername: finalFolderName,
|
||||
templatePath: window.ExcalidrawDeconstructElements.templatePath,
|
||||
onNewPane: true,
|
||||
silent: true
|
||||
});
|
||||
|
||||
let f = app.vault.getAbstractFileByPath(newPath);
|
||||
let counter = 0;
|
||||
while((!f || !ea.isExcalidrawFile(f)) && counter++<100) {
|
||||
await sleep(50);
|
||||
f = app.vault.getAbstractFileByPath(newPath);
|
||||
}
|
||||
|
||||
if(!f || !ea.isExcalidrawFile(f)) {
|
||||
new Notice("Something went wrong");
|
||||
return;
|
||||
}
|
||||
|
||||
let padding = parseFloat(app.metadataCache.getCache(f.path)?.frontmatter["excalidraw-export-padding"]);
|
||||
if(isNaN(padding)) {
|
||||
padding = ea.plugin.settings.exportPaddingSVG;
|
||||
}
|
||||
|
||||
// Remove elements from current view and replace with image of new file
|
||||
ea.getElements().forEach(el=>el.isDeleted = true);
|
||||
await ea.addImage(bb.topX-padding, bb.topY-padding, f, false, shouldAnchor);
|
||||
await ea.addElementsToView(false, true, true);
|
||||
ea.getExcalidrawAPI().history.clear();
|
||||
|
||||
if(window.ExcalidrawDeconstructElements.openDeconstructedImage) {
|
||||
const reuse = window.ExcalidrawDeconstructElements.reuseTab;
|
||||
if (reuse) {
|
||||
ea.openFileInNewOrAdjacentLeaf(f);
|
||||
} else {
|
||||
// Force new tab
|
||||
await app.workspace.getLeaf('tab').openFile(f);
|
||||
function copyEmbeddedFilesToEa(ea2, elements) {
|
||||
for (const element of elements) {
|
||||
if (element.type !== "image" || !element.fileId) continue;
|
||||
if (!copyImageFile(ea2, element, element.fileId)) {
|
||||
copyEquationFile(ea2, element, element.fileId);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
new Notice("Deconstruction ready");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// ----------------------
|
||||
// Floating Modal UI
|
||||
// ----------------------
|
||||
|
||||
const modal = new ea.FloatingModal(ea.plugin.app);
|
||||
modal.titleEl.setText("Deconstruct Elements");
|
||||
|
||||
modal.onOpen = () => {
|
||||
const content = modal.contentEl;
|
||||
content.empty();
|
||||
|
||||
// -- Folder Path Input --
|
||||
const folderDiv = content.createDiv({ cls: "setting-item" });
|
||||
folderDiv.createDiv({ cls: "setting-item-info" }).createEl("label", { text: "Folder path" });
|
||||
const folderControl = folderDiv.createDiv({ cls: "setting-item-control" });
|
||||
const folderInput = new ea.obsidian.TextComponent(folderControl);
|
||||
|
||||
// Set default folder to current file's parent
|
||||
const currentFolder = ea.targetView.file.parent.path;
|
||||
folderInput.setValue(currentFolder);
|
||||
folderInput.inputEl.style.width = "100%";
|
||||
|
||||
// Attach Autocomplete
|
||||
new FolderSuggest(ea.plugin.app, folderInput.inputEl);
|
||||
|
||||
// -- Filename Input --
|
||||
const fileDiv = content.createDiv({ cls: "setting-item" });
|
||||
fileDiv.createDiv({ cls: "setting-item-info" }).createEl("label", { text: "File name" });
|
||||
const fileControl = fileDiv.createDiv({ cls: "setting-item-control" });
|
||||
const fileInput = new ea.obsidian.TextComponent(fileControl);
|
||||
fileInput.setValue(DEFAULT_FILENAME);
|
||||
fileInput.inputEl.style.width = "100%";
|
||||
|
||||
// Set focus to file input
|
||||
setTimeout(() => fileInput.inputEl.focus(), 50);
|
||||
|
||||
// -- Template Dropdown --
|
||||
new ea.obsidian.Setting(content)
|
||||
.setName(`Select template`)
|
||||
.addDropdown(dropdown => {
|
||||
templates.forEach(file => dropdown.addOption(file.path, file.basename));
|
||||
if(templates.length === 0) dropdown.addOption(null, "none");
|
||||
dropdown
|
||||
.setValue(window.ExcalidrawDeconstructElements.templatePath)
|
||||
.onChange(value => {
|
||||
window.ExcalidrawDeconstructElements.templatePath = value;
|
||||
})
|
||||
// src/sharedUtils/vaultPaths.ts
|
||||
var INVALID_FILE_NAME_CHARACTER = /[\\/:*?"<>|\u0000-\u001F]/u;
|
||||
var INVALID_FOLDER_SEGMENT_CHARACTER = /[\\:*?"<>|\u0000-\u001F]/u;
|
||||
var WINDOWS_RESERVED_NAME = /^(?:con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/iu;
|
||||
function isVaultRootFolderPath(folderPath) {
|
||||
return folderPath === "" || folderPath === "/";
|
||||
}
|
||||
function firstInvalidCharacter(value, pattern) {
|
||||
return value.match(pattern)?.[0] ?? null;
|
||||
}
|
||||
function validateSegment(segment, invalidCharacterPattern, allowEmpty) {
|
||||
if (!segment) {
|
||||
return allowEmpty ? { valid: true } : { valid: false, reason: "empty", segment };
|
||||
}
|
||||
if (segment === "." || segment === "..") {
|
||||
return { valid: false, reason: "dot-segment", segment };
|
||||
}
|
||||
const invalidCharacter = firstInvalidCharacter(segment, invalidCharacterPattern);
|
||||
if (invalidCharacter !== null) {
|
||||
return {
|
||||
valid: false,
|
||||
reason: "invalid-character",
|
||||
segment,
|
||||
character: invalidCharacter
|
||||
};
|
||||
}
|
||||
if (WINDOWS_RESERVED_NAME.test(segment)) {
|
||||
return { valid: false, reason: "reserved-name", segment };
|
||||
}
|
||||
if (/[. ]$/u.test(segment)) {
|
||||
return { valid: false, reason: "trailing-dot-or-space", segment };
|
||||
}
|
||||
return { valid: true };
|
||||
}
|
||||
function validateVaultFileName(fileName) {
|
||||
return validateSegment(fileName, INVALID_FILE_NAME_CHARACTER, false);
|
||||
}
|
||||
function validateVaultFolderPath(folderPath) {
|
||||
if (isVaultRootFolderPath(folderPath)) return { valid: true };
|
||||
if (folderPath.startsWith("/") || folderPath.endsWith("/") || folderPath.includes("//")) {
|
||||
return { valid: false, reason: "invalid-path-shape", segment: folderPath };
|
||||
}
|
||||
for (const segment of folderPath.split("/")) {
|
||||
const result = validateSegment(segment, INVALID_FOLDER_SEGMENT_CHARACTER, false);
|
||||
if (!result.valid) return result;
|
||||
}
|
||||
return { valid: true };
|
||||
}
|
||||
function getUniqueVaultFilePath(folderPath, fileName, pathExists) {
|
||||
const resolvedFolderPath = isVaultRootFolderPath(folderPath) ? "" : folderPath;
|
||||
const lastDot = fileName.lastIndexOf(".");
|
||||
const hasExtension = lastDot > 0;
|
||||
const stem = hasExtension ? fileName.slice(0, lastDot) : fileName;
|
||||
const extension = hasExtension ? fileName.slice(lastDot) : "";
|
||||
const joinPath = (name) => resolvedFolderPath ? `${resolvedFolderPath}/${name}` : name;
|
||||
let candidate = joinPath(fileName);
|
||||
let suffix = 1;
|
||||
while (pathExists(candidate)) {
|
||||
candidate = joinPath(`${stem} ${suffix}${extension}`);
|
||||
suffix += 1;
|
||||
}
|
||||
return candidate;
|
||||
}
|
||||
function formatVaultInvalidCharacter(character) {
|
||||
const codePoint = character.codePointAt(0);
|
||||
if (codePoint === void 0 || codePoint >= 32) return character;
|
||||
return `U+${codePoint.toString(16).toUpperCase().padStart(4, "0")}`;
|
||||
}
|
||||
function rankVaultFolderSuggestions(folderPaths, query) {
|
||||
const lowerQuery = query.toLowerCase();
|
||||
return [...new Set(folderPaths)].filter((path) => path.toLowerCase().includes(lowerQuery)).sort((left, right) => {
|
||||
const leftStarts = left.toLowerCase().startsWith(lowerQuery);
|
||||
const rightStarts = right.toLowerCase().startsWith(lowerQuery);
|
||||
if (leftStarts !== rightStarts) return leftStarts ? -1 : 1;
|
||||
return left.localeCompare(right);
|
||||
});
|
||||
}
|
||||
|
||||
// -- Open Toggle --
|
||||
new ea.obsidian.Setting(content)
|
||||
.setName(`Open deconstructed image`)
|
||||
.addToggle((toggle) => toggle
|
||||
.setValue(window.ExcalidrawDeconstructElements.openDeconstructedImage)
|
||||
.onChange(value => {
|
||||
window.ExcalidrawDeconstructElements.openDeconstructedImage = value;
|
||||
// Update visibility of the sub-toggle
|
||||
reuseSetting.settingEl.style.display = value ? "" : "none";
|
||||
// src/sharedUtils/windowTiming.ts
|
||||
function sleepInWindow(ownerWindow, milliseconds) {
|
||||
return new Promise((resolve) => ownerWindow.setTimeout(resolve, milliseconds));
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/deconstruction.ts
|
||||
async function waitForVaultFile(ea2, app2, path, ownerWindow) {
|
||||
for (let attempt = 0; attempt <= 100; attempt += 1) {
|
||||
const file = app2.vault.getAbstractFileByPath(path);
|
||||
if (file instanceof ea2.obsidian.TFile) {
|
||||
return file;
|
||||
}
|
||||
if (attempt < 100) await sleepInWindow(ownerWindow, 50);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
async function waitForDrawingFile(ea2, app2, path, ownerWindow) {
|
||||
for (let attempt = 0; attempt <= 100; attempt += 1) {
|
||||
const file = app2.vault.getAbstractFileByPath(path);
|
||||
if (file instanceof ea2.obsidian.TFile && ea2.isExcalidrawFile(file)) {
|
||||
return file;
|
||||
}
|
||||
if (attempt < 100) await sleepInWindow(ownerWindow, 50);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function getExportPadding(ea2, app2, file) {
|
||||
const rawPadding = app2.metadataCache.getCache(file.path)?.frontmatter?.["excalidraw-export-padding"];
|
||||
const parsedPadding = Number.parseFloat(String(rawPadding));
|
||||
return Number.isNaN(parsedPadding) ? ea2.plugin.settings.exportPaddingSVG : parsedPadding;
|
||||
}
|
||||
async function replaceSelectionWithEmbed(context, file, padding, shouldAnchor) {
|
||||
const { ea: ea2, bounds } = context;
|
||||
for (const element of ea2.getElements()) {
|
||||
element.isDeleted = true;
|
||||
}
|
||||
await ea2.addImage(bounds.topX - padding, bounds.topY - padding, file, false, shouldAnchor);
|
||||
await ea2.addElementsToView(false, true, true);
|
||||
ea2.getExcalidrawAPI()?.history.clear();
|
||||
}
|
||||
async function openCreatedDrawing(context, file) {
|
||||
const { ea: ea2, app: app2, uiState } = context;
|
||||
if (!uiState.openDeconstructedImage) return;
|
||||
if (uiState.reuseTab) {
|
||||
ea2.openFileInNewOrAdjacentLeaf(file);
|
||||
return;
|
||||
}
|
||||
await app2.workspace.getLeaf("tab").openFile(file);
|
||||
}
|
||||
function isVaultRootFilePath(path) {
|
||||
return path.length > 0 && !path.includes("/");
|
||||
}
|
||||
async function createDrawingAtDestination(context, destination) {
|
||||
const { ea: ea2, app: app2, uiState, ownerWindow } = context;
|
||||
const requestedVaultRoot = isVaultRootFolderPath(destination.folderPath);
|
||||
const intendedRootPath = requestedVaultRoot ? getUniqueVaultFilePath(
|
||||
"/",
|
||||
destination.fileName,
|
||||
(path) => Boolean(app2.vault.getAbstractFileByPath(path))
|
||||
) : null;
|
||||
const createOptions = {
|
||||
filename: destination.fileName,
|
||||
foldername: destination.folderPath,
|
||||
templatePath: uiState.templatePath,
|
||||
onNewPane: true,
|
||||
silent: true
|
||||
};
|
||||
const newPath = await ea2.create(createOptions);
|
||||
const normalizedNewPath = ea2.obsidian.normalizePath(newPath);
|
||||
if (!requestedVaultRoot || isVaultRootFilePath(normalizedNewPath)) {
|
||||
return normalizedNewPath;
|
||||
}
|
||||
const createdFile = await waitForVaultFile(ea2, app2, normalizedNewPath, ownerWindow);
|
||||
if (!createdFile) {
|
||||
return normalizedNewPath;
|
||||
}
|
||||
if (!intendedRootPath) return normalizedNewPath;
|
||||
const rootTarget = app2.vault.getAbstractFileByPath(intendedRootPath) ? getUniqueVaultFilePath(
|
||||
"/",
|
||||
destination.fileName,
|
||||
(path) => Boolean(app2.vault.getAbstractFileByPath(path))
|
||||
) : intendedRootPath;
|
||||
await app2.fileManager.renameFile(createdFile, rootTarget);
|
||||
return rootTarget;
|
||||
}
|
||||
async function executeDeconstruction(context, destination, shouldAnchor) {
|
||||
const { ea: ea2, app: app2, t: t2, uiState, ownerWindow } = context;
|
||||
const newPath = await createDrawingAtDestination(context, destination);
|
||||
const file = await waitForDrawingFile(ea2, app2, newPath, ownerWindow);
|
||||
if (!file) {
|
||||
new Notice(t2("somethingWentWrong"));
|
||||
return;
|
||||
}
|
||||
const padding = getExportPadding(ea2, app2, file);
|
||||
await replaceSelectionWithEmbed(context, file, padding, shouldAnchor);
|
||||
await openCreatedDrawing(context, file);
|
||||
if (!uiState.openDeconstructedImage) new Notice(t2("deconstructionReady"));
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/destination.ts
|
||||
function validateDeconstructionDestination(folderPath, fileName) {
|
||||
const fileValidation = validateVaultFileName(fileName);
|
||||
if (!fileValidation.valid) {
|
||||
return { valid: false, field: "file", validation: fileValidation };
|
||||
}
|
||||
const folderValidation = validateVaultFolderPath(folderPath);
|
||||
if (!folderValidation.valid) {
|
||||
return { valid: false, field: "folder", validation: folderValidation };
|
||||
}
|
||||
return {
|
||||
valid: true,
|
||||
folderPath: folderPath === "/" ? "" : folderPath,
|
||||
fileName: fileName.toLowerCase().endsWith(".md") ? fileName : `${fileName}.md`
|
||||
};
|
||||
}
|
||||
function formatDestinationValidationError(t2, result) {
|
||||
const { validation } = result;
|
||||
if (result.field === "file" && validation.reason === "empty") {
|
||||
return t2("filenameRequired");
|
||||
}
|
||||
if (validation.reason === "invalid-character" && validation.character !== void 0) {
|
||||
const character = formatVaultInvalidCharacter(validation.character);
|
||||
return t2(result.field === "file" ? "invalidFilenameCharacter" : "invalidFolderCharacter", {
|
||||
character
|
||||
});
|
||||
}
|
||||
return t2(result.field === "file" ? "invalidFilename" : "invalidFolderPath", {
|
||||
name: validation.segment
|
||||
});
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/folderSuggest.ts
|
||||
function attachFolderSuggest(ea2, app2, inputEl) {
|
||||
const BaseSuggest = ea2.obsidian.AbstractInputSuggest;
|
||||
class FolderSuggest extends BaseSuggest {
|
||||
targetInput;
|
||||
constructor() {
|
||||
super(app2, inputEl);
|
||||
this.targetInput = inputEl;
|
||||
}
|
||||
getSuggestions(query) {
|
||||
const folderPaths = app2.vault.getAllLoadedFiles().filter((file) => file instanceof ea2.obsidian.TFolder).map((folder) => folder.path);
|
||||
return rankVaultFolderSuggestions(folderPaths, query);
|
||||
}
|
||||
renderSuggestion(value, el) {
|
||||
el.setText(value);
|
||||
}
|
||||
selectSuggestion(value, _event) {
|
||||
this.targetInput.value = value;
|
||||
const ownerWindow = this.targetInput.ownerDocument.defaultView;
|
||||
if (ownerWindow) {
|
||||
this.targetInput.dispatchEvent(new ownerWindow.Event("input", { bubbles: true }));
|
||||
}
|
||||
this.close();
|
||||
}
|
||||
}
|
||||
return new FolderSuggest();
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/modal.ts
|
||||
function createTextInput(context, content, label, value) {
|
||||
const row = content.createDiv({ cls: "setting-item" });
|
||||
row.createDiv({ cls: "setting-item-info" }).createEl("label", { text: label });
|
||||
const control = row.createDiv({ cls: "setting-item-control" });
|
||||
const input = new context.ea.obsidian.TextComponent(control);
|
||||
input.setValue(value);
|
||||
input.inputEl.style.width = "100%";
|
||||
return input;
|
||||
}
|
||||
function addBehaviorSettings(context, content) {
|
||||
const { ea: ea2, t: t2, config, uiState } = context;
|
||||
new ea2.obsidian.Setting(content).setName(t2("selectTemplate")).addDropdown((dropdown) => {
|
||||
if (config.templates.length === 0) dropdown.addOption("", t2("noTemplate"));
|
||||
for (const file of config.templates) dropdown.addOption(file.path, file.basename);
|
||||
dropdown.setValue(uiState.templatePath).onChange((value) => {
|
||||
uiState.templatePath = value;
|
||||
});
|
||||
});
|
||||
let reuseSetting = null;
|
||||
new ea2.obsidian.Setting(content).setName(t2("openDeconstructedImage")).addToggle(
|
||||
(toggle) => toggle.setValue(uiState.openDeconstructedImage).onChange((value) => {
|
||||
uiState.openDeconstructedImage = value;
|
||||
if (reuseSetting) reuseSetting.settingEl.style.display = value ? "" : "none";
|
||||
})
|
||||
);
|
||||
|
||||
// -- Reuse Tab Toggle --
|
||||
const reuseSetting = new ea.obsidian.Setting(content)
|
||||
.setName(`Reuse existing tab`)
|
||||
.setDesc("If available, open in an adjacent tab. Otherwise open in a new tab.")
|
||||
.setClass("reuse-tab-setting")
|
||||
.addToggle((toggle) => toggle
|
||||
.setValue(window.ExcalidrawDeconstructElements.reuseTab)
|
||||
.onChange(value => {
|
||||
window.ExcalidrawDeconstructElements.reuseTab = value;
|
||||
reuseSetting = new ea2.obsidian.Setting(content).setName(t2("reuseExistingTab")).setDesc(t2("reuseExistingTabDesc")).setClass("reuse-tab-setting").addToggle(
|
||||
(toggle) => toggle.setValue(uiState.reuseTab).onChange((value) => {
|
||||
uiState.reuseTab = value;
|
||||
})
|
||||
);
|
||||
|
||||
// Initialize visibility and style
|
||||
reuseSetting.settingEl.style.display = window.ExcalidrawDeconstructElements.openDeconstructedImage ? "" : "none";
|
||||
reuseSetting.settingEl.style.borderTop = "none";
|
||||
|
||||
// -- Buttons --
|
||||
const buttonContainer = content.createDiv({ cls: "excalidraw-dialog-buttons", style: "margin-top: 20px; display: flex; gap: 12px; justify-content: flex-end;" });
|
||||
|
||||
const btnInsert = new ea.obsidian.ButtonComponent(buttonContainer)
|
||||
.setButtonText("Insert")
|
||||
.setTooltip("Insert without anchoring")
|
||||
.onClick(async () => {
|
||||
const folder = folderInput.getValue();
|
||||
const filename = fileInput.getValue();
|
||||
if (!filename) {
|
||||
new Notice("Filename is required");
|
||||
return;
|
||||
}
|
||||
modal.close();
|
||||
await executeDeconstruction(folder, filename, false);
|
||||
});
|
||||
reuseSetting.settingEl.style.display = uiState.openDeconstructedImage ? "" : "none";
|
||||
reuseSetting.settingEl.style.borderTop = "none";
|
||||
}
|
||||
async function submitDeconstruction(context, modal, inputs, shouldAnchor) {
|
||||
const destination = validateDeconstructionDestination(
|
||||
inputs.folder.getValue(),
|
||||
inputs.file.getValue()
|
||||
);
|
||||
if (!destination.valid) {
|
||||
new Notice(formatDestinationValidationError(context.t, destination));
|
||||
return;
|
||||
}
|
||||
modal.close();
|
||||
await executeDeconstruction(context, destination, shouldAnchor);
|
||||
}
|
||||
function addButtons(context, modal, content, inputs) {
|
||||
const buttons = content.createDiv({ cls: "excalidraw-dialog-buttons" });
|
||||
buttons.style.marginTop = "20px";
|
||||
buttons.style.display = "flex";
|
||||
buttons.style.gap = "12px";
|
||||
buttons.style.justifyContent = "flex-end";
|
||||
new context.ea.obsidian.ButtonComponent(buttons).setButtonText(context.t("insert")).setTooltip(context.t("insertTooltip")).onClick(async () => submitDeconstruction(context, modal, inputs, false));
|
||||
new context.ea.obsidian.ButtonComponent(buttons).setButtonText(context.t("insertAt100")).setTooltip(context.t("insertAt100Tooltip")).setCta().onClick(async () => submitDeconstruction(context, modal, inputs, true));
|
||||
}
|
||||
function openDeconstructModal(context) {
|
||||
const { ea: ea2, app: app2, t: t2, config } = context;
|
||||
const modal = new ea2.FloatingModal(app2);
|
||||
modal.setTitle(t2("modalTitle"));
|
||||
let folderSuggest = null;
|
||||
modal.onOpen = () => {
|
||||
const content = modal.contentEl;
|
||||
content.empty();
|
||||
const currentFolder = ea2.targetView?.file.parent?.path ?? "";
|
||||
const folderInput = createTextInput(context, content, t2("folderPath"), currentFolder);
|
||||
folderSuggest = attachFolderSuggest(ea2, app2, folderInput.inputEl);
|
||||
const fileInput = createTextInput(context, content, t2("fileName"), config.defaultFileName);
|
||||
ea2.targetView?.ownerWindow.setTimeout(() => fileInput.inputEl.focus(), 50);
|
||||
addBehaviorSettings(context, content);
|
||||
addButtons(context, modal, content, { folder: folderInput, file: fileInput });
|
||||
};
|
||||
modal.onClose = () => {
|
||||
folderSuggest?.close();
|
||||
modal.contentEl.empty();
|
||||
};
|
||||
modal.open();
|
||||
}
|
||||
|
||||
const btnInsertAnchor = new ea.obsidian.ButtonComponent(buttonContainer)
|
||||
.setButtonText("Insert @100%")
|
||||
.setTooltip("Anchor to 100% size")
|
||||
.setCta()
|
||||
.onClick(async () => {
|
||||
const folder = folderInput.getValue();
|
||||
const filename = fileInput.getValue();
|
||||
if (!filename) {
|
||||
new Notice("Filename is required");
|
||||
return;
|
||||
}
|
||||
modal.close();
|
||||
await executeDeconstruction(folder, filename, true);
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/settings.ts
|
||||
var TEMPLATES_SETTING = "Templates";
|
||||
var DEFAULT_FILE_NAME_SETTING = "Default file name";
|
||||
var DEFAULT_FILE_NAME = "deconstructed";
|
||||
function asTextScriptSetting(value) {
|
||||
if (!value || typeof value !== "object" || Array.isArray(value)) return null;
|
||||
const record = value;
|
||||
if (typeof record.value !== "string") return null;
|
||||
return {
|
||||
value: record.value,
|
||||
description: typeof record.description === "string" ? record.description : ""
|
||||
};
|
||||
}
|
||||
async function ensureSettings(ea2, t2) {
|
||||
const current = ea2.getScriptSettings() ?? {};
|
||||
const templates = asTextScriptSetting(current[TEMPLATES_SETTING]);
|
||||
const defaultFileName = asTextScriptSetting(current[DEFAULT_FILE_NAME_SETTING]);
|
||||
if (templates && defaultFileName) return current;
|
||||
const next = { ...current };
|
||||
if (!templates) {
|
||||
next[TEMPLATES_SETTING] = {
|
||||
value: "",
|
||||
description: t2("templatesSettingDesc")
|
||||
};
|
||||
}
|
||||
if (!defaultFileName) {
|
||||
next[DEFAULT_FILE_NAME_SETTING] = {
|
||||
value: DEFAULT_FILE_NAME,
|
||||
description: t2("defaultFilenameSettingDesc")
|
||||
};
|
||||
}
|
||||
await ea2.setScriptSettings(next);
|
||||
return next;
|
||||
}
|
||||
function resolveTemplates(ea2, app2, configuredPaths) {
|
||||
const customTemplates = configuredPaths.split(",").map((path) => path.trim()).filter(Boolean).map((path) => app2.metadataCache.getFirstLinkpathDest(path, "")).filter((file) => file !== null);
|
||||
const byPath = /* @__PURE__ */ new Map();
|
||||
for (const file of [...customTemplates, ...ea2.getListOfTemplateFiles() ?? []]) {
|
||||
byPath.set(file.path, file);
|
||||
}
|
||||
return [...byPath.values()].sort((left, right) => left.basename.localeCompare(right.basename));
|
||||
}
|
||||
async function loadDeconstructConfig(ea2, app2, t2) {
|
||||
const settings = await ensureSettings(ea2, t2);
|
||||
const templatesSetting = asTextScriptSetting(settings[TEMPLATES_SETTING]);
|
||||
const defaultFileNameSetting = asTextScriptSetting(settings[DEFAULT_FILE_NAME_SETTING]);
|
||||
const configuredTemplatePaths = templatesSetting?.value ?? "";
|
||||
return {
|
||||
defaultFileName: defaultFileNameSetting?.value || DEFAULT_FILE_NAME,
|
||||
templates: resolveTemplates(ea2, app2, configuredTemplatePaths)
|
||||
};
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/uiState.ts
|
||||
function getDeconstructUiState(ownerWindow, defaultTemplatePath) {
|
||||
const deconstructWindow = ownerWindow;
|
||||
const existing = deconstructWindow.ExcalidrawDeconstructElements;
|
||||
if (!existing) {
|
||||
const state = {
|
||||
openDeconstructedImage: true,
|
||||
reuseTab: true,
|
||||
templatePath: defaultTemplatePath
|
||||
};
|
||||
deconstructWindow.ExcalidrawDeconstructElements = state;
|
||||
return state;
|
||||
}
|
||||
if (typeof existing.reuseTab !== "boolean") existing.reuseTab = true;
|
||||
if (typeof existing.openDeconstructedImage !== "boolean") {
|
||||
existing.openDeconstructedImage = true;
|
||||
}
|
||||
if (typeof existing.templatePath !== "string") existing.templatePath = defaultTemplatePath;
|
||||
return existing;
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/run.ts
|
||||
async function runDeconstructSelectedElements(scriptEa, app2, t2) {
|
||||
if (!scriptEa.verifyMinimumPluginVersion("2.27.0")) {
|
||||
new Notice(t2("requiresNewerVersion"));
|
||||
return;
|
||||
}
|
||||
const targetView = scriptEa.targetView;
|
||||
if (!targetView) return;
|
||||
const selectedElements = scriptEa.getViewSelectedElements();
|
||||
if (selectedElements.length === 0) {
|
||||
new Notice(t2("selectElements"));
|
||||
return;
|
||||
}
|
||||
const ea2 = scriptEa;
|
||||
const bounds = ea2.getBoundingBox(selectedElements);
|
||||
ea2.clear();
|
||||
ea2.copyViewElementsToEAforEditing(selectedElements);
|
||||
copyEmbeddedFilesToEa(ea2, ea2.getElements());
|
||||
const config = await loadDeconstructConfig(ea2, app2, t2);
|
||||
const defaultTemplatePath = config.templates[0]?.path ?? "";
|
||||
const uiState = getDeconstructUiState(targetView.ownerWindow, defaultTemplatePath);
|
||||
if (uiState.templatePath && !config.templates.some((file) => file.path === uiState.templatePath)) {
|
||||
uiState.templatePath = defaultTemplatePath;
|
||||
}
|
||||
openDeconstructModal({
|
||||
ea: ea2,
|
||||
app: app2,
|
||||
t: t2,
|
||||
config,
|
||||
uiState,
|
||||
bounds,
|
||||
ownerWindow: targetView.ownerWindow
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/main.ts
|
||||
var t = createDeconstructTranslator(ea.obsidian.moment.locale());
|
||||
void runDeconstructSelectedElements(ea, app, t);
|
||||
})();
|
||||
|
||||
/* end of bundle */
|
||||
|
||||
modal.open();
|
||||
```
|
||||
File diff suppressed because it is too large.
Load diff
@@ -3378,11 +3378,36 @@ const zoomToFit = (mode) => {
|
||||
elementID: sel.id,
|
||||
level: nextLevel
|
||||
}
|
||||
api().scrollToContent([sel], {
|
||||
fitToViewport: true,
|
||||
viewportZoomFactor: getZoom(nextLevel),
|
||||
animate: true
|
||||
});
|
||||
|
||||
const targetZoom = getZoom(nextLevel);
|
||||
|
||||
// Fallback for older versions vs new Excalidraw 2.26.0+ Viewport API
|
||||
if (!ea.verifyMinimumPluginVersion("2.26.0")) {
|
||||
api().scrollToContent([sel], {
|
||||
fitToViewport: true,
|
||||
viewportZoomFactor: targetZoom,
|
||||
animate: true
|
||||
});
|
||||
} else {
|
||||
// For the new API, we calculate a target rect centered on the element
|
||||
// with dimensions that will force 'fit: "contain"' to reach our target zoom.
|
||||
const appState = api().getAppState();
|
||||
const targetW = appState.width / targetZoom;
|
||||
const targetH = appState.height / targetZoom;
|
||||
const cx = sel.x + sel.width / 2;
|
||||
const cy = sel.y + sel.height / 2;
|
||||
|
||||
api().setViewport({
|
||||
target: {
|
||||
x: cx - targetW / 2,
|
||||
y: cy - targetH / 2,
|
||||
width: targetW,
|
||||
height: targetH
|
||||
},
|
||||
fit: "contain",
|
||||
animation: true
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3411,10 +3436,20 @@ const focusSelected = () => {
|
||||
|
||||
if (!sel) return;
|
||||
|
||||
api().scrollToContent(sel, {
|
||||
fitToContent: false,
|
||||
animate: true,
|
||||
});
|
||||
// Fallback for older versions vs new Excalidraw 2.26.0+ Viewport API
|
||||
if (!ea.verifyMinimumPluginVersion("2.26.0")) {
|
||||
api().scrollToContent(sel, {
|
||||
fitToContent: false,
|
||||
animate: true,
|
||||
});
|
||||
} else {
|
||||
// fit: "none" recenters at the current zoom without changing it
|
||||
api().setViewport({
|
||||
target: [sel],
|
||||
fit: "none",
|
||||
animation: true
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const getMindmapOrder = (node) => {
|
||||
|
||||
@@ -83,4 +83,24 @@ Open the script you are interested in and save it to your Obsidian Vault includi
|
||||
|[Transfer TextElements to Excalidraw markdown metadata](Transfer%20TextElements%20to%20Excalidraw%20markdown%20metadata.md)|The script will delete the selected text elements from the canvas and will copy the text from these text elements into the Excalidraw markdown file as metadata. This means, that the text will no longer be visible in the drawing, however you will be able to search for the text in Obsidian and find the drawing containing this image.||[@zsviczian](https://github.com/zsviczian)|
|
||||
|[Zoom to Fit Selected Elements](Zoom%20to%20Fit%20Selected%20Elements.md)|Similar to Excalidraw standard <kbd>SHIFT+2</kbd> feature: Zoom to fit selected elements, but with the ability to zoom to 1000%. Inspiration: [#272](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/272)||[@zsviczian](https://github.com/zsviczian)|
|
||||
|[Hardware Eraser Suppoer](Hardware%20Eraser%20Support.md)|Allows the use of pen inversion/hardware erasers on supported pens.|[@threethan](https://github.com/threethan)|
|
||||
|[Hardware Eraser Suppoer](Auto%20Draw%20for%20Pen.md)|Automatically switched from the Select tool to the Draw tool when a pen is hovered, and then back.|[@threethan](https://github.com/threethan)|
|
||||
|[Hardware Eraser Suppoer](Auto%20Draw%20for%20Pen.md)|Automatically switched from the Select tool to the Draw tool when a pen is hovered, and then back.|[@threethan](https://github.com/threethan)|
|
||||
## Publishing a community script
|
||||
|
||||
The current Script Store reads metadata from `ea-scripts/script-store.json`. Add or update one catalog entry when publishing a script, plus the script file and its matching SVG icon/preview when applicable.
|
||||
|
||||
Run:
|
||||
|
||||
```bash
|
||||
npm run script-store:check
|
||||
npm run script-store:build
|
||||
```
|
||||
|
||||
`script-store:build` validates `script-store.json` and updates `directory-info.json` only for script or icon files that are actually modified/new in the current Git working tree. It **does not recalculate historical timestamps**, and repeated builds preserve an already-updated value. When the repository was exported without `.git`, all existing mtimes are left untouched.
|
||||
|
||||
`index-new.md` is a frozen legacy catalog for older Excalidraw versions. Routine Script Store publishing must not generate or modify it. New scripts added only to `script-store.json` are intentionally unavailable in older plugin versions unless a maintainer explicitly updates the legacy catalog separately.
|
||||
|
||||
Do not hand-edit unrelated `mtime` values. The plugin still uses these timestamps for backward-compatible script update detection.
|
||||
|
||||
### Beta release compatibility
|
||||
|
||||
Released 2.27.x clients fetch `ea-scripts/index-new.md` and `ea-scripts/directory-info.json` directly from the repository `master` branch at runtime. Keep `index-new.md` unchanged during routine 2.28 Script Store work. `directory-info.json` may still advance for scripts/icons that are actually updated, preserving the established update behavior for scripts already present in the legacy catalog.
|
||||
File diff suppressed because it is too large.
Load diff
+227
@@ -0,0 +1,227 @@
|
||||
/*
|
||||
This script generates a Voronoi diagram from selected elements on the drawing canvas.
|
||||
|
||||
The following parameters can be set in 'Voronoi Settings' window pop-up once the script is started:
|
||||
- Frame width (default: 100)
|
||||
- Roughness (default: 0)
|
||||
- Stroke width (default: 2)
|
||||
- Grouping (default: checked)
|
||||
|
||||
Setting parameters could be set back to default values by click on button 'Default'.
|
||||
Check info button for howto help during applying the script.
|
||||
|
||||
See background information about Voronoi diagram at Wikipedia : https://en.wikipedia.org/wiki/Voronoi_diagram
|
||||
|
||||
Comments and discussion are welcomed in the Sketch-Your-Mind community: https://community.sketch-your-mind.com
|
||||
|
||||
```js*/
|
||||
// ExcalidrawAutomate: Voronoi Diagram Generator
|
||||
ea.clear();
|
||||
|
||||
const DEFAULTS = {
|
||||
frameWidth: 100,
|
||||
roughness: 0,
|
||||
strokeWidth: 2,
|
||||
groupVoronoi: true
|
||||
};
|
||||
|
||||
let config = ea.getScriptSettings() || { ...DEFAULTS };
|
||||
|
||||
// --- UI SETTINGS MODAL ---
|
||||
async function openSettings() {
|
||||
return new Promise((resolve) => {
|
||||
const modal = new ea.obsidian.Modal(app);
|
||||
modal.contentEl.style.padding = "20px";
|
||||
|
||||
// Header container with Title and Info Button
|
||||
const headerContainer = modal.contentEl.createDiv();
|
||||
headerContainer.style.display = "flex";
|
||||
headerContainer.style.justifyContent = "space-between";
|
||||
headerContainer.style.alignItems = "center";
|
||||
headerContainer.style.marginBottom = "20px";
|
||||
|
||||
headerContainer.createEl("h2", { text: "Settings - Voronoi Diagram Generator", cls: "mod-header" }).style.margin = "0";
|
||||
|
||||
// Info button using Obsidian's native icon
|
||||
const btnInfo = headerContainer.createEl("button", { cls: "clickable-icon" });
|
||||
btnInfo.setAttribute("aria-label", "Information & Help");
|
||||
btnInfo.innerHTML = ea.obsidian.getIcon("info").outerHTML;
|
||||
|
||||
// Info modal content on click
|
||||
btnInfo.onclick = () => {
|
||||
const infoModal = new ea.obsidian.Modal(app);
|
||||
infoModal.contentEl.style.padding = "20px";
|
||||
infoModal.contentEl.createEl("h3", { text: "About - Voronoi Diagram Generator" });
|
||||
|
||||
// Native Obsidian Icon as HTML string
|
||||
const chatIcon = ea.obsidian.getIcon("message-square").outerHTML;
|
||||
|
||||
const p = infoModal.contentEl.createEl("p");
|
||||
p.innerHTML = `
|
||||
This script generates a Voronoi diagram from selected elements on the drawing canvas.<br><br>
|
||||
<h4 style="margin: 5px 0 5px 0; font-size: 1.1em;">HowTo & Parameters:</h4>
|
||||
<div line-height: 1.4;">
|
||||
<div style="margin-bottom: 10px;">1. <b>Select</b> at least 2 elements on your canvas.</div>
|
||||
<div style="margin-bottom: 4px;">2. <b>Run</b> the script and adjust your settings:</div>
|
||||
<div style="margin: 2px 0 10px 15px; line-height: 1.2;">
|
||||
- <b>Frame width:</b> Spacing around the diagram.<br>
|
||||
- <b>Roughness:</b> Hand-drawn effect (0-3).<br>
|
||||
- <b>Stroke width:</b> Line thickness.<br>
|
||||
- <b>Grouping:</b> Group generated cells together.<br>
|
||||
</div>
|
||||
<div style="margin-bottom: 15px;">3. Click <b>OK</b> to generate.</div>
|
||||
</div><br>
|
||||
<span style="display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;"> ${chatIcon} Feedback & chat: <a href="https://community.sketch-your-mind.com" target="_blank">Sketch Your Mind Community</a>
|
||||
</span>
|
||||
`;
|
||||
infoModal.open();
|
||||
};
|
||||
|
||||
const inputs = {};
|
||||
|
||||
// Helper function to create input rows
|
||||
const createInput = (label, key, type = "number") => {
|
||||
const container = modal.contentEl.createDiv();
|
||||
container.style.marginBottom = "15px";
|
||||
|
||||
container.createEl("label", { text: label });
|
||||
const input = container.createEl("input", { type: type });
|
||||
input.style.display = "block";
|
||||
input.style.marginTop = "5px";
|
||||
input.value = config[key];
|
||||
input.onchange = (e) => config[key] = type === "number" ? Number(e.target.value) : e.target.checked;
|
||||
inputs[key] = input;
|
||||
};
|
||||
|
||||
createInput("Frame width:", "frameWidth");
|
||||
createInput("Roughness (0-3):", "roughness");
|
||||
createInput("Stroke width:", "strokeWidth");
|
||||
|
||||
const checkContainer = modal.contentEl.createDiv();
|
||||
checkContainer.style.marginBottom = "25px";
|
||||
checkContainer.createEl("label", { text: "Grouping: " });
|
||||
inputs.groupVoronoi = checkContainer.createEl("input", { type: "checkbox" });
|
||||
inputs.groupVoronoi.checked = config.groupVoronoi;
|
||||
inputs.groupVoronoi.onchange = (e) => config.groupVoronoi = e.target.checked;
|
||||
|
||||
// Button container
|
||||
const btnContainer = modal.contentEl.createDiv();
|
||||
btnContainer.style.display = "flex";
|
||||
btnContainer.style.gap = "10px";
|
||||
btnContainer.style.justifyContent = "flex-end";
|
||||
|
||||
const btnDefault = btnContainer.createEl("button", { text: "Default" });
|
||||
const btnOk = btnContainer.createEl("button", { text: "OK" });
|
||||
|
||||
btnDefault.onclick = () => {
|
||||
config = { ...DEFAULTS };
|
||||
inputs.frameWidth.value = config.frameWidth;
|
||||
inputs.roughness.value = config.roughness;
|
||||
inputs.strokeWidth.value = config.strokeWidth;
|
||||
inputs.groupVoronoi.checked = config.groupVoronoi;
|
||||
new Notice("Settings reset to default");
|
||||
};
|
||||
|
||||
btnOk.onclick = () => {
|
||||
ea.setScriptSettings(config);
|
||||
modal.close();
|
||||
resolve(true);
|
||||
};
|
||||
|
||||
modal.open();
|
||||
});
|
||||
}
|
||||
|
||||
// Wait for user to configure settings
|
||||
const proceed = await openSettings();
|
||||
if (!proceed) return;
|
||||
|
||||
// --- ALGORITHM & EXECUTION ---
|
||||
const els = ea.getViewSelectedElements();
|
||||
|
||||
if (els.length < 2) {
|
||||
new Notice("Please select at least two items!");
|
||||
return;
|
||||
}
|
||||
|
||||
const seeds = els.map(el => ({ x: el.x + el.width / 2, y: el.y + el.height / 2 }));
|
||||
|
||||
if (seeds.length < 2) {
|
||||
new Notice("Please select at least two items!");
|
||||
return;
|
||||
}
|
||||
|
||||
const minX = Math.min(...seeds.map(s => s.x)) - config.frameWidth;
|
||||
const minY = Math.min(...seeds.map(s => s.y)) - config.frameWidth;
|
||||
const maxX = Math.max(...seeds.map(s => s.x)) + config.frameWidth;
|
||||
const maxY = Math.max(...seeds.map(s => s.y)) + config.frameWidth;
|
||||
|
||||
const bbox = [
|
||||
{ x: minX, y: minY },
|
||||
{ x: maxX, y: minY },
|
||||
{ x: maxX, y: maxY },
|
||||
{ x: minX, y: maxY }
|
||||
];
|
||||
|
||||
function clipPolygon(poly, p1, p2) {
|
||||
const mid = { x: (p1.x + p2.x) / 2, y: (p1.y + p2.y) / 2 };
|
||||
const n = { x: p2.x - p1.x, y: p2.y - p1.y };
|
||||
const isInside = (p) => (p.x - mid.x) * n.x + (p.y - mid.y) * n.y <= 0;
|
||||
|
||||
const intersect = (a, b) => {
|
||||
const num = (a.x - mid.x) * n.x + (a.y - mid.y) * n.y;
|
||||
const den = (b.x - a.x) * n.x + (b.y - a.y) * n.y;
|
||||
if (den === 0) return null;
|
||||
const t = -num / den;
|
||||
return { x: a.x + t * (b.x - a.x), y: a.y + t * (b.y - a.y) };
|
||||
};
|
||||
|
||||
const result = [];
|
||||
for (let i = 0; i < poly.length; i++) {
|
||||
const cur = poly[i];
|
||||
const prev = poly[(i - 1 + poly.length) % poly.length];
|
||||
const curIn = isInside(cur);
|
||||
const prevIn = isInside(prev);
|
||||
|
||||
if (curIn !== prevIn) {
|
||||
const ix = intersect(prev, cur);
|
||||
if (ix) result.push(ix);
|
||||
}
|
||||
if (curIn) result.push(cur);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
const polygons = seeds.map((s, i) => {
|
||||
let poly = [...bbox];
|
||||
seeds.forEach((_, j) => {
|
||||
if (i !== j) poly = clipPolygon(poly, seeds[i], seeds[j]);
|
||||
});
|
||||
return poly;
|
||||
});
|
||||
|
||||
ea.style.roughness = config.roughness;
|
||||
ea.style.strokeWidth = config.strokeWidth;
|
||||
ea.style.backgroundColor = "transparent";
|
||||
|
||||
const ids = [];
|
||||
|
||||
for (const poly of polygons) {
|
||||
if (poly.length < 3) continue;
|
||||
const points = poly.map(p => [p.x, p.y]);
|
||||
points.push(points[0]);
|
||||
ids.push(ea.addLine(points));
|
||||
}
|
||||
|
||||
if (config.groupVoronoi && ids.length > 0) {
|
||||
ea.addToGroup(ids);
|
||||
}
|
||||
|
||||
await ea.addElementsToView(false, false);
|
||||
|
||||
// Clear selection so nothing remains selected on the canvas
|
||||
const view = app.workspace.activeLeaf.view; if (view && view.excalidrawAPI) { view.excalidrawAPI.updateScene({ appState: { selectedElementIds: {} } }); }
|
||||
|
||||
new Notice("Voronoi diagram created!");
|
||||
|
||||
```
|
||||
@@ -1,13 +1,23 @@
|
||||
# Excalidraw Startup Script
|
||||
|
||||
ExcalidrawStartup Script can be configured in Plugin Settings under 'Excalidraw Automate'. When defined this script runs automatically when the Excalidraw plugin is loaded to Obsidian. The user can add automation tasks here that they want to run on every startup of Excalidraw in Obsidian such as defining Excalidraw event handlers (also known as hooks).
|
||||
|
||||
ExcalidrawStartup Script can be configured in Plugin Settings under 'Excalidraw Automate'. When defined this script runs once per Excalidraw plugin load using the plugin-global EA and utils.executionSource === 'plugin-startup'. Use ea.registerCleanup() for external listeners, timers, observers, or subscriptions that must be released when Excalidraw unloads. The user can add automation tasks here that they want to run on every startup of Excalidraw in Obsidian such as defining Excalidraw event handlers (also known as hooks).
|
||||
|
||||
### Template
|
||||
```js
|
||||
/*
|
||||
#exclude
|
||||
```js*/
|
||||
/**
|
||||
* Startup scripts receive the plugin-global EA for the plugin lifetime and
|
||||
* utils.executionSource === "plugin-startup". Register cleanup for resources
|
||||
* outside EA so plugin reload/unload cannot accumulate them.
|
||||
*/
|
||||
// const ref = app.workspace.on("file-open", (file) => {});
|
||||
// ea.registerCleanup(() => app.workspace.offref(ref));
|
||||
//
|
||||
// const interval = window.setInterval(() => {}, 1000);
|
||||
// ea.registerCleanup(() => window.clearInterval(interval));
|
||||
|
||||
/**
|
||||
* If set, this callback is triggered when the user closes an Excalidraw view.
|
||||
* onViewUnloadHook: (view: ExcalidrawView) => void = null;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,29 @@
|
||||
---
|
||||
name: obsidian-excalidraw-cli
|
||||
description: Create, inspect, edit and render Obsidian Excalidraw drawings through the running app's native CLI.
|
||||
---
|
||||
|
||||
Use a local terminal with Obsidian running and CLI enabled (API 1.12.2+).
|
||||
Always put vault="<name or ID>" before the command. Native root: obsidian-excalidraw-plugin.
|
||||
Start with obsidian vault="<vault>" obsidian-excalidraw-plugin:help, then :schema action=create.
|
||||
All results use apiVersion 1. Check ok, mutation and persistence; process exit zero alone does not prove success.
|
||||
Put large requests in a visible vault-relative JSON file and pass input="<file>". Inline json is for small requests.
|
||||
Requests in files include apiVersion:1; the native command supplies command. The in-process ea.executeCLI request also includes command.
|
||||
Use exact drawing paths including extensions. Never assume an active drawing. :open explicitly creates a tab and can run configured drawing scripts.
|
||||
Loop: :read source=live detail=elements (or detail=images to inventory) → :apply with expectedRevision and a unique requestId → check persistence=saved → :export → inspect the image file.
|
||||
For selected targets use :selection with an explicit path/view, or the drawing command Copy selected elements for agent. Retain packet IDs (including bound-label IDs), read those IDs at the packet revision, and apply only authorized targets. A stale packet needs inspection and a fresh revision, never guessed replacement IDs.
|
||||
For duplicate views use the view ID from :open or :read. Refresh after STALE_REVISION; retry BUSY with the same requestId only when refused before execution; unknown outcomes require read-back.
|
||||
New skeleton IDs are local labels; use returned idMap actual IDs for updates. Updates reject identity, bindings and asset internals.
|
||||
Every write requires requestId. Repeat the identical effective request to retrieve its receipt; different content with the same ID fails.
|
||||
:result requestId=<id> recovers a receipt after lost stdout. Receipts expire after 15 minutes/reload; unknown outcome requires read-back before another write.
|
||||
:api surface=ea name=<method> gives existing EA signatures. :api surface=lib lists the supported installed Lib reference; advanced exports remain available to scripts.
|
||||
:icons query=<name> discovers installed canonical Lucide names (paged); create icons / apply op=lucide insert editable native groups. groupMap maps logical icon aliases to groupId/elementIds; idMap remains single-element only. Defaults: size=96, strokeColor=#1e1e1e, roughness=1, opacity=100; optional strokeWidth is final scene units. No trusted script is required.
|
||||
:script requires trusted=true and an explicit existing local script file. utils.input contains args; utils.excalidrawLib is the installed runtime. Await all work; completion does not imply saved drawing.
|
||||
:status ready describes plugin startup. Inspect extras.components for optional service versions, active/compatible flags and requirements; extras may be null during startup. mindMapBuilder reports the resident script API's available/ready flags without starting it or selecting a view.
|
||||
One-shot ea.addMermaid preflights Extras and rejects unavailable dependencies with DEPENDENCY_UNAVAILABLE instead of opening an activation modal. Inspect any earlier script writes before retrying.
|
||||
One-shot EA is cleaned up; utility prompts fail INTERACTION_REQUIRED. Trusted code can still invoke other interactive APIs: this is not a sandbox, timeout cancellation or transaction.
|
||||
Export names an explicit out=.svg/.png; overwrite=true is required for existing outputs. Live exports never implicitly save. Disk exports require local Vault assets; use a loaded live source or placeholders for remote assets.
|
||||
For cheap previews: :read detail=images, then :export imagePolicy={"default":"placeholder","rules":[{"ids":["wanted-id"],"mode":"original"}]}. This is lossless for the underlying drawing, not the preview.
|
||||
imageMetadata apply operations set bounded descriptive label/tags, with null clearing; request-only imagePolicy.labels does not persist. Thumbnail mode uses thumbnailMaxDimension=512 by default; only PNG/JPEG/WebP with safe preflight dimensions are decoded (24 MiB / 16 million pixels maximum).
|
||||
maxWidth/maxHeight/maxPixels bound output dimensions; maxArtifactBytes caps final bytes. Source revision covers originals; representationId identifies the preview. SVG width controls display size, not embedded raster payload size; use imagePolicy for that.
|
||||
Use :schema for exact fields, operation limits, and runnable examples. Do not edit compressed drawing Markdown directly or install another Excalidraw CLI.
|
||||
@@ -0,0 +1,77 @@
|
||||
# AI models and credential sources
|
||||
|
||||
AI remains optional. Text, images and files are sent only when an AI workflow is
|
||||
invoked. Provider profiles select the API family, base URL and credential source;
|
||||
model entries select a model ID and its capabilities.
|
||||
|
||||
## Credential storage
|
||||
|
||||
Existing profiles and Taskbone continue using their saved keys by default. These
|
||||
are **obfuscated**, not plain text, in the vault's plugin settings. Obfuscation is
|
||||
reversible and is not encryption.
|
||||
|
||||
On Obsidian 1.11.4 or newer, create a secret in Obsidian's settings, then choose
|
||||
**Obsidian SecretStorage (this device)** and its name in the provider or Taskbone
|
||||
settings. Choosing that source removes the saved key from Excalidraw settings.
|
||||
Only the source and reference name are synced. Configure that secret on each
|
||||
device; an unavailable secret produces an error rather than falling back to a
|
||||
synced key. Excalidraw does not create, change or delete shared secrets.
|
||||
|
||||
Switching back to **Obfuscated settings** requires entering a key again. Existing
|
||||
backups and version-control history may still contain previously saved keys.
|
||||
The script-facing `getAISettings()` exposes availability, never credential values
|
||||
or secret names. Secret values are resolved afresh for each request.
|
||||
|
||||
## Reasoning effort
|
||||
|
||||
Add or edit an OpenAI text model and select **Reasoning effort**. **Default** omits
|
||||
the parameter and keeps the API's default. Choices are filtered through the
|
||||
reviewed capability table in `src/utils/aiReasoning.ts`; unrecognized models offer
|
||||
Default only. Dated snapshots of listed model IDs use the same capabilities.
|
||||
|
||||
For example, `gpt-6.1-sol` supports low, medium, high, xhigh and max; Terra and Luna
|
||||
also support none. Unsupported stored or scripted values fail before transport.
|
||||
OpenAI-only fields never enter Anthropic, Google, xAI or compatible-provider
|
||||
requests. Sampling parameters are omitted for reasoning models that reject them,
|
||||
including models reasoning at their API default. GPT-6 uses
|
||||
`max_completion_tokens`, including its reasoning-token budget.
|
||||
|
||||
EA requests inherit the selected text-model preference. A `reasoningEffort`
|
||||
override chooses another supported level; `null` explicitly restores the API
|
||||
default for that request. Raw `model` overrides do not inherit another model's
|
||||
effort. ExcaliAI applies and displays the selected OpenAI model's effort for
|
||||
text results, image analysis and the prompt-writing step before image generation.
|
||||
|
||||
## Recommendations for new installations
|
||||
|
||||
| Purpose | Default | Reason |
|
||||
| --- | --- | --- |
|
||||
| Text | `gpt-6-luna` | Efficient general text tasks |
|
||||
| Image-aware text | `gpt-6.1-terra` | Visual reasoning |
|
||||
| Image generation/editing | `gpt-image-2.6-flare` | Fast interactive iteration |
|
||||
|
||||
The new-install catalog also offers Sol, Claude Sonnet/Haiku/Opus 5.5, Gemini 3.8
|
||||
Flash, Grok 4.7, GPT Image 2.6 Sunburst, stable Gemini image models and Grok Imagine
|
||||
Image 2.0. Existing users keep their complete model maps, defaults, provider URLs,
|
||||
keys and custom fields; an upgrade never replaces their configured entries.
|
||||
Add current model IDs explicitly when retiring an old user-configured model.
|
||||
|
||||
GPT Image 2.6 supports custom dimensions. The settings supply a useful subset
|
||||
within its documented limits rather than claiming that the old GPT Image sizes
|
||||
are exhaustive. PNG remains the pipeline's default output; SVG/GIF-specific
|
||||
options are not exposed by this change. Gemini Lite exposes only its supported
|
||||
1K tier; xAI pixel selections are converted to its `aspect_ratio` parameter.
|
||||
|
||||
Provider documentation reviewed on November 16, 2026:
|
||||
|
||||
- [OpenAI model compatibility](https://developers.openai.com/api/docs/guides/latest-model)
|
||||
- [OpenAI image generation and dimensions](https://developers.openai.com/api/docs/guides/image-generation)
|
||||
- [Claude models](https://platform.claude.com/docs/en/models/overview)
|
||||
- [Gemini models](https://ai.google.dev/gemini-api/docs/models)
|
||||
- [Gemini image Lite](https://aistudio.google.com/docs/models/gemini-3.1-flash-lite-image)
|
||||
- [xAI image generation](https://docs.x.ai/developers/model-capabilities/images/generation)
|
||||
|
||||
Automated tests use fake credentials and mocked transport. They validate request
|
||||
construction, response normalization, secret isolation and persistence without
|
||||
paid API access. Live model availability, account permissions, provider billing
|
||||
and output quality require a separate test with the maintainer's own keys.
|
||||
Vendored
+24
@@ -476,6 +476,30 @@ export declare class ExcalidrawAutomate {
|
||||
* @returns {string} The ID of the added rectangle element.
|
||||
*/
|
||||
addRect(topX: number, topY: number, width: number, height: number, id?: string): string;
|
||||
/**
|
||||
* Adds a sticky note and its optional fitted label to the ExcalidrawAutomate
|
||||
* instance. Width and height default to Excalidraw's sticky-note size.
|
||||
* @param {number} topX - The x-coordinate of the top-left corner.
|
||||
* @param {number} topY - The y-coordinate of the top-left corner.
|
||||
* @param {string} text - The sticky-note text. An empty string creates an unlabeled note.
|
||||
* @param {Object} [formatting] - Sticky-note size and label formatting.
|
||||
* @param {number} [formatting.width] - The initial width of the note.
|
||||
* @param {number} [formatting.height] - The initial height of the note.
|
||||
* @param {number} [formatting.fontSize] - The label's maximum font size.
|
||||
* @param {number} [formatting.fontFamily] - The label font family.
|
||||
* @param {"left" | "center" | "right"} [formatting.textAlign] - The label's horizontal alignment.
|
||||
* @param {"top" | "middle" | "bottom"} [formatting.textVerticalAlign] - The label's vertical alignment.
|
||||
* @param {string} [id] - The ID of the sticky-note element.
|
||||
* @returns {string} The ID of the added sticky note.
|
||||
*/
|
||||
addStickyNote(topX: number, topY: number, text: string, formatting?: {
|
||||
width?: number;
|
||||
height?: number;
|
||||
fontSize?: number;
|
||||
fontFamily?: number;
|
||||
textAlign?: "left" | "center" | "right";
|
||||
textVerticalAlign?: "top" | "middle" | "bottom";
|
||||
}, id?: string): string;
|
||||
/**
|
||||
* Adds a diamond element to the ExcalidrawAutomate instance.
|
||||
* @param {number} topX - The x-coordinate of the top-left corner.
|
||||
|
||||
@@ -219,3 +219,24 @@ ea.onDropHook = (data) => {
|
||||
return false;
|
||||
}
|
||||
```
|
||||
|
||||
### Drawing templates and destination paths (2.29.1)
|
||||
|
||||
```typescript
|
||||
readonly templateFilePath: string;
|
||||
getListOfTemplateFiles(): TFile[] | null;
|
||||
getDrawingFilePath(filename: string, foldername?: string): string;
|
||||
```
|
||||
|
||||
`templateFilePath` reads the live configured template file or folder. Resolve it
|
||||
with `getListOfTemplateFiles()` to populate a dropdown, retaining complete paths
|
||||
as option values. Folder results include descendants, excluding sibling folders
|
||||
with a similar prefix. No configuration returns `null`.
|
||||
|
||||
`getDrawingFilePath()` accepts a filename stem and explicit vault folder (empty
|
||||
means root). It applies the current compatibility/extension preference without
|
||||
creating anything or adding collision suffixes. Use a fresh `getAPI()` instance
|
||||
and `create({ exactPath, templatePath, silent: true })` to create the selected
|
||||
format without a chooser or opening a leaf. Omit `templatePath` for a blank
|
||||
workbench. Destroy that instance in `finally`; do not reset a shared EA instance.
|
||||
Check `verifyMinimumPluginVersion("2.29.1")` before using these additions.
|
||||
+312
@@ -0,0 +1,312 @@
|
||||
# Excalidraw CLI
|
||||
|
||||
Use a terminal on the computer running Obsidian, with Obsidian's CLI enabled.
|
||||
Native registration requires Obsidian API **1.12.2 or newer** and the registration
|
||||
method to be present. Excalidraw still supports Obsidian 1.8.7; older installations
|
||||
simply omit native handlers. The same JSON dispatcher is available to scripts as
|
||||
`await ea.executeCLI(request)` on every supported version.
|
||||
|
||||
Select **Excalidraw: Show CLI and agent instructions** in the command palette to
|
||||
copy a short prompt linking to the CLI documentation, then replace the user-instructions
|
||||
placeholder with your task. The portable [agent skill](AITrainingData/excalidraw-cli/SKILL.md)
|
||||
can be installed in your agent's normal skill directory manually. Excalidraw
|
||||
does not install agent configuration or require a particular model provider.
|
||||
|
||||
```sh
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:help
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:status
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:schema action=create
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:skill format=markdown
|
||||
```
|
||||
|
||||
Put `vault` before the command. On Windows use Obsidian's console launcher,
|
||||
`Obsidian.com`, when capturing output. A remote/container/WSL terminal needs
|
||||
access to the local executable and running app. Agent integrations such as
|
||||
Claudian, Agent Client, and Copilot need a terminal-capable backend and permission
|
||||
to invoke that executable. A missing command means you should check the host API,
|
||||
enabled plugin, CLI setting, launcher, and selected vault before retrying.
|
||||
|
||||
All ordinary responses are JSON with `apiVersion: 1`, `session`, `command`,
|
||||
`status`, `ok`, `mutation`, `persistence`, `warnings`, and optional `data`,
|
||||
`target`, `revision`, or `error`. `skill format=markdown` returns Markdown on
|
||||
native stdout. Check `ok` and the persistence receipt: process exit zero alone
|
||||
does not prove success. Errors include a stable code and recovery instruction.
|
||||
|
||||
## Author a drawing
|
||||
|
||||
Save this UTF-8 JSON request as a visible vault file, for example `CLI/create.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"apiVersion": 1,
|
||||
"command": "create",
|
||||
"requestId": "flow-create-1",
|
||||
"path": "Drawings/Flow.excalidraw.md",
|
||||
"elements": [
|
||||
{"id":"start","type":"rectangle","x":0,"y":0,"width":180,"height":80,"label":{"text":"Start"}},
|
||||
{"id":"end","type":"rectangle","x":280,"y":0,"width":180,"height":80,"label":{"text":"Finish"}},
|
||||
{"id":"connection","type":"arrow","x":180,"y":40,"start":{"id":"start"},"end":{"id":"end"}}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
```sh
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:create input="CLI/create.json"
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:open path="Drawings/Flow.excalidraw.md"
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:read path="Drawings/Flow.excalidraw.md" source=live detail=elements
|
||||
```
|
||||
|
||||
`create` uses the existing EA serializer, keeps template prose/metadata, and
|
||||
never overwrites or appends a filename suffix. Paths are exact and include an
|
||||
extension; root paths remain at the vault root. `.excalidraw.md` creates modern
|
||||
Markdown; `.excalidraw` explicitly creates legacy JSON. `template` is an exact
|
||||
existing drawing path, with no template picker. `open` explicitly creates/reveals
|
||||
a normal tab if needed; configured drawing scripts may run as part of opening.
|
||||
Use a modern destination for templates with linked asset metadata that legacy
|
||||
JSON cannot retain; this conversion is rejected rather than dropping the assets.
|
||||
|
||||
Skeleton IDs are request-local labels. The response `data.idMap` maps them to
|
||||
actual IDs; generated labels also appear in `createdIds`. Omitted IDs use `@0`,
|
||||
`@1`, etc. Prefer explicit local IDs when using several add operations. Every
|
||||
new element, including bound text, receives an eight-character ID. Supported
|
||||
types are rectangle, ellipse, diamond, text, arrow, line, frame, and stickynote.
|
||||
Arrow `start`/`end` bindings and frame `children` reference IDs in their batch.
|
||||
Frames require children and cannot nest. Use `connect` for existing endpoints.
|
||||
|
||||
Line skeletons and line `update.set` accept boolean `polygon`. True requires
|
||||
an explicitly closed contour: at least four points with the last equal to the
|
||||
first. The CLI does not reshape the path. False retains ordinary line semantics;
|
||||
a closed path can still fill from its background color. Use a transparent
|
||||
background to remove fill. Other element types reject this field.
|
||||
Line/arrow skeletons allow 2–1000 points, with at most 100000
|
||||
points per batch. Use a request file for dense contours. Ordinary lines do not
|
||||
accept `strokeLinecap`; custom free-draw styling belongs in an explicit EA script.
|
||||
Text skeleton `x` is the left/center/right anchor according to `textAlign`;
|
||||
an existing text element's `update.set.x` is its stored scene coordinate.
|
||||
|
||||
## Selected targets for agents
|
||||
|
||||
Select canvas objects and run **Excalidraw: Copy selected elements for agent**,
|
||||
then paste the JSON packet with the requested edit. The read-only native
|
||||
equivalent is `:selection path="Drawings/Flow.excalidraw.md" view="<view-id>"`.
|
||||
It requires an open drawing and an explicit view when duplicate views exist;
|
||||
it does not write the clipboard or drawing.
|
||||
|
||||
The packet includes `packetVersion`, `vault`, `path`, `view`, `revision`, and up
|
||||
to 500 `elements` including bound labels. Entries contain `id`, `type`, `selected`,
|
||||
`text`, `frameId`, `containerId`, `labelId`, and scene `bounds` as
|
||||
`[minX,minY,maxX,maxY]`. Related labels have `selected: false` unless selected
|
||||
directly. This identifies targets after selection changes; it creates no hidden
|
||||
marks. Frame selection does not implicitly authorize edits to every descendant.
|
||||
|
||||
Read the exact IDs at the packet's live `revision` before editing, then use
|
||||
`expectedRevision` and actual label IDs for text changes. A stale packet requires
|
||||
fresh inspection of those IDs and their relationships. Never guess replacement
|
||||
targets from text or position. A migrated/closed view requires explicit resolution
|
||||
of the same drawing's current view ID.
|
||||
|
||||
## Native Lucide icons
|
||||
|
||||
Check `status` for `lucideIcons`, then use `icons query=database limit=50` to
|
||||
discover the installed Obsidian catalog. Discovery is read-only and paginated;
|
||||
reuse its `revision` for later pages. Custom registered icons are excluded.
|
||||
Inspect `schema action=create` and `schema action=apply` before authoring.
|
||||
|
||||
`create` accepts an `icons` array alongside `elements`. Each entry requires a
|
||||
unique request-local `id` and an installed `icon` name, for example:
|
||||
|
||||
```json
|
||||
{"id":"storage","icon":"database","x":240,"y":0,"size":96,"roughness":0}
|
||||
```
|
||||
|
||||
`apply` accepts the same fields with `"op":"lucide"`, using the usual live
|
||||
revision guard and save receipt. Defaults are x/y 0, size 96, stroke color
|
||||
`#1e1e1e`, roughness 1 and opacity 100. `size` is the longest nominal viewport
|
||||
dimension in scene units; 48/96/192 match the picker presets. The installed SVG
|
||||
stroke scales with size (normally 4/8/16); optional `strokeWidth` overrides the
|
||||
final scene width. Aspect ratio and internal padding are preserved.
|
||||
|
||||
Each icon expands to editable native elements in a fresh outer group. The
|
||||
response `data.groupMap[id]` contains `icon`, `groupId`, `elementIds`, `warnings`
|
||||
and nominal `viewport`; `createdIds` includes every member. `idMap` retains
|
||||
single-element aliases. Group aliases cannot be used as a single binding or
|
||||
update target: use returned member IDs. Aliases must be unique across shapes,
|
||||
icons and existing element IDs. All icons stage before publication; an unknown,
|
||||
empty or incompletely convertible icon rejects the request. No image or vault
|
||||
attachment is created. Expanded scene limits are 5,000 elements and 100,000
|
||||
linear points, including existing/template content.
|
||||
|
||||
To edit, copy the current live `data.revision` and actual IDs into a new request:
|
||||
|
||||
```json
|
||||
{
|
||||
"apiVersion": 1,
|
||||
"command": "apply",
|
||||
"requestId": "flow-edit-1",
|
||||
"path": "Drawings/Flow.excalidraw.md",
|
||||
"expectedRevision": "copy-from-live-read",
|
||||
"operations": [
|
||||
{"op":"update","id":"actual-shape-id","set":{"backgroundColor":"#e7f5ff"}},
|
||||
{"op":"update","id":"actual-bound-text-id","set":{"text":"Ready"}}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
`apply` stages one coherent edit, checks its file/view/API identity and scene,
|
||||
document/asset metadata, and settings again before publication, then uses the
|
||||
existing save queue. A stale preparation publishes nothing. If publication
|
||||
succeeds but saving fails, the response reports `mutation: applied` and
|
||||
`persistence: unsaved` or `unknown`; keep the recoverable drawing open and save
|
||||
or inspect it before continuing. A save receipt acknowledges the accepted edit,
|
||||
not every later human edit. A handoff is not reported as durable.
|
||||
|
||||
| Operation | Fields after `op` |
|
||||
| --- | --- |
|
||||
| `add` | `elements`: new skeleton batch |
|
||||
| `update` | `id`, `set`: finite style/geometry/text fields |
|
||||
| `delete` | `ids`; nonempty frames require `children: "delete"` or `"detach"` |
|
||||
| `connect` | `from`, `to`; optional local `id`, `fromSide`, `toSide` (top/bottom/left/right) |
|
||||
| `group` | `ids`; returns a new group ID |
|
||||
| `ungroup` | `ids`, `groupId`; preserves other groups |
|
||||
| `imageMetadata` | `id`, `label` (1–80 characters or `null` to clear), `tags` (up to 12 unique short strings or `null`) |
|
||||
| `image` | `asset`: exact vault PNG/JPEG/GIF/WebP/SVG or recognized Excalidraw drawing; optional `id`, `x`, `y`, `scale`, `anchor` (booleans) |
|
||||
| `latex` | `text`; optional `id`, `x`, `y`, `scaleX`, `scaleY`; requires compatible enabled Extras MathJax |
|
||||
| `lucide` | `id`, `icon`; optional `x`, `y`, `size`, `strokeColor`, `strokeWidth`, `roughness`, `opacity`; returns `groupMap` |
|
||||
|
||||
`update` accepts x/y/width/height/angle, strokeColor/backgroundColor/fillStyle,
|
||||
strokeWidth/strokeStyle/roughness/opacity, locked/link, and text/fontSize/fontFamily/
|
||||
textAlign/verticalAlign, and line-only boolean polygon. Text fields require a text element; edit the bound label
|
||||
ID to change its text. Linear resizing and identity, version, binding, frame,
|
||||
binary, or Markdown-image metadata edits require a trusted script. Unknown
|
||||
requested fields are rejected; existing custom data is preserved. Delete uses
|
||||
tombstones and binding cleanup and does not delete attachment files.
|
||||
|
||||
Drawing images use the existing EA loader and retain a source link; ordinary
|
||||
Markdown notes and direct self-embeds are refused. `scale=true` fits the image to
|
||||
the normal insertion size. With `scale=false`, `anchor=true` (default) retains
|
||||
the source-size `100%` option; `anchor=false` allows later manual scaling to
|
||||
survive refresh. Verify the source link, saved/reopened host, and rendered content.
|
||||
The existing nested-drawing depth limit remains; source edits may need a host
|
||||
reload to refresh their rendition. Arbitrary `customData` remains script-only.
|
||||
|
||||
## Read, render, and recover
|
||||
|
||||
`list` returns exact paths. `read` defaults to a summary without asset bodies;
|
||||
`detail=elements` returns at most 50 elements per page (maximum 200); `detail=images` inventories placements, media types, loaded sizes (or unknown), existing labels/tags, and load state without base64. The inventory separates `loadedRenditionBytes` (decoded data-URL bytes) from `originalBytes` (known Vault attachment size); unknown values are `null`. It reports natural dimensions only when known from crop metadata. Use
|
||||
`nextOffset` and the same `revision` for later pages. A changed snapshot returns
|
||||
`STALE_REVISION`. `ids` filters explicit IDs and `selectedOnly` needs a live view.
|
||||
|
||||
`source=auto` uses an unambiguous live view, otherwise disk; `source=live` requires
|
||||
a ready open drawing; `source=disk` reads saved content without opening/saving it.
|
||||
If several views show the same drawing, specify `view` using its returned ID.
|
||||
Disk reads/exports reject a view ID. No command silently selects the active drawing.
|
||||
|
||||
```sh
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:export path="Drawings/Flow.excalidraw.md" source=live out="Drawings/Flow.png" requestId=preview-1
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:result requestId=flow-edit-1
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:api surface=ea name=addText
|
||||
obsidian vault="My vault" obsidian-excalidraw-plugin:api surface=lib name=mutateElement
|
||||
```
|
||||
|
||||
Export writes only the explicit `.svg`/`.png` artifact. Existing files require
|
||||
`overwrite=true`; output cannot replace the request, drawing, or a referenced
|
||||
asset. Source/revision, theme, byte count, and dimensions are returned. Live export
|
||||
does not save the drawing. Optional `theme` is light/dark, `padding` is 0–200
|
||||
(default 10), `scale` is 0.1–4 for PNG (default 1), and `area` is an exact
|
||||
`{x,y,width,height}` scene rectangle. Inspect the image before another revision.
|
||||
Missing originals fail explicitly. A request-only `imagePolicy` opts into per-image preview reduction before image loading and SVG construction; no policy means original fidelity. For example:
|
||||
|
||||
```json
|
||||
{
|
||||
"apiVersion": 1, "command": "export", "requestId": "overview-1",
|
||||
"path": "Drawings/Flow.excalidraw.md", "source": "live", "out": "Previews/Flow.svg",
|
||||
"imagePolicy": {
|
||||
"default": "placeholder",
|
||||
"rules": [
|
||||
{ "ids": ["chosen-element-id"], "mode": "original" },
|
||||
{ "tags": ["context"], "mode": "thumbnail" },
|
||||
{ "mimeTypes": ["image/svg+xml"], "maxBytes": 65536, "mode": "original" }
|
||||
],
|
||||
"labels": { "another-element-id": "Context screenshot" },
|
||||
"thumbnailMaxDimension": 512
|
||||
},
|
||||
"maxWidth": 1200, "maxHeight": 900, "maxPixels": 1000000,
|
||||
"maxArtifactBytes": 4194304
|
||||
}
|
||||
```
|
||||
|
||||
Rules use AND across conditions and OR within each ID/tag/MIME list, first match wins. Unknown asset size does not match `maxBytes`; one rule must contain a matching condition. `default` is `original`, `thumbnail`, or `placeholder`. Placeholder labels come from request-only `labels`, then persisted namespaced metadata, then a short element ID. Set persisted `label`/`tags` with the guarded `apply` `imageMetadata` operation. The tool preserves unrelated `customData`, image placement, stacking and rotation, and never edits the source drawing during export.
|
||||
|
||||
Thumbnail resolution is distinct from PNG pixel output bounds: thumbnail generation preflights PNG/JPEG/WebP headers before decoding and refuses sources over 24 MiB, images over 16 million pixels, and formats with unknown dimensions. SVG, GIF, animated WebP, and unsupported headers require `original` or `placeholder`. Disk thumbnails require direct PNG/JPEG/WebP sources; use loaded live renditions for composite drawing/PDF/Markdown assets. Conversions run sequentially and release temporary images and canvases. Cropped thumbnails preserve the original crop; placeholder labels rotate and mirror with the image, within its visible footprint. Original images can still exceed the final 32 MiB SVG cap. `maxWidth`, `maxHeight`, and `maxPixels` bound output dimensions (including the intermediate PNG canvas); PNG can derive a scale below 0.1 to fit a requested bound. SVG dimensions change display size but do not reduce embedded image bytes. `maxArtifactBytes` (1 KiB–32 MiB) bounds final bytes, with an early embedded-payload preflight. The export receipt returns `effectiveScale`, representation counts, the first 50 per-element decisions with a total count, output bounds, a scene-to-preview mapping (including frame titles and padding), and a separate `representationId` describing the preview. The source `revision` always describes the full original content. Image annotations are descriptive metadata, not a trust signal.
|
||||
|
||||
Missing/undecoded assets fail explicitly when required by the chosen representation. Live previews use currently loaded content. Disk exports re-read consumed Vault attachments and compare content digests before publication, bypass cached drawing/PDF renditions, and refuse intervening Vault edits (including unrelated edits, conservatively). Disk exports refuse required remote or machine-local assets because those cannot participate in a Vault snapshot; use a loaded live source or placeholders. Live remote assets use normal plugin permissions and may require network access. Core shape/text and SVG/PNG
|
||||
rendering work without Extras; optional features are never activated automatically.
|
||||
|
||||
Every write requires a unique 1–80 character `requestId` (letters, digits, `_`,
|
||||
`.`, `-`). Repeating the identical effective request returns its receipt; different
|
||||
content with the same ID is rejected. Script source is part of that identity.
|
||||
`result` can recover lost stdout or report `status: pending, ok: null`. Completed
|
||||
receipts expire after 15 minutes; there are at most 128 in one plugin session.
|
||||
Reload/expiry/unknown outcomes require read-back before issuing another write.
|
||||
Competing CLI operations on the same target return `BUSY`; a refusal known to occur before lock acquisition can be retried with the *identical* requestId. An unexpected internal error is reported as `INTERNAL_ERROR` without leaking payloads or stack traces, and any possibly started write has an unknown outcome; read back before retrying. human editing remains
|
||||
possible, so always refresh after `STALE_REVISION`.
|
||||
|
||||
Input is limited to 2 MiB and nesting to 30 levels; output to 512 KiB. Use either
|
||||
`input=<visible vault JSON file>` or small inline `json`, never both. Supplied
|
||||
flags must agree with JSON. Construction is limited to 500 skeletons per batch,
|
||||
100 operations, 5000 scene elements for edits/exports, 16 MiB drawings/assets,
|
||||
and 16 million raster pixels / 16384 pixels per side / 32 MiB artifacts. The
|
||||
machine schema describes structure; runtime geometry, relationship, and lifecycle
|
||||
guards also apply. Hidden, absolute, traversal, and ambiguous paths are rejected.
|
||||
|
||||
## Trusted advanced scripts
|
||||
|
||||
Choose an explicit existing `.md` script, or an enabled `.js` script, and
|
||||
acknowledge `trusted=true`. `path` is optional for view-free construction; a
|
||||
targeted script requires an explicit ready drawing. For example:
|
||||
|
||||
```js
|
||||
const input = utils.input; // JSON arguments, never interpolated into source
|
||||
const bounds = utils.excalidrawLib.getCommonBounds(ea.getViewElements());
|
||||
return { label: input.label, bounds, source: utils.executionSource }; // "cli"
|
||||
```
|
||||
|
||||
The existing ScriptEngine compiles/caches the file and runs it with a fresh EA.
|
||||
`utils.excalidrawLib` is the installed shared runtime; `api surface=lib` documents
|
||||
an intentional supported subset, while scripts can use other installed exports.
|
||||
The CLI-owned EA and its registered cleanups/hooks/sidepanel are destroyed on
|
||||
completion or failure. Manual and persistent sidepanel scripts retain their
|
||||
existing lifetimes. Utility prompts/suggesters fail with `INTERACTION_REQUIRED`.
|
||||
|
||||
Trusted code is not sandboxed or transactional and can call other interactive
|
||||
APIs. Await all writes/saves and do not retain timers, hooks, or unawaited work.
|
||||
Script completion reports unknown mutation/persistence; it does not implicitly
|
||||
save everything touched. Undefined returns become null; non-JSON or oversized
|
||||
results fail without claiming rollback. A terminal timeout cannot preempt
|
||||
arbitrary synchronous code or undo side effects. PDF, Mermaid, SVG import, and
|
||||
advanced Markdown-image workflows remain available through existing EA/Extras
|
||||
APIs with their normal dependency and interaction requirements.
|
||||
|
||||
### Stroke conversion and concatenation
|
||||
|
||||
Discover `convertLineToFreedraw`, `convertFreedrawToLine`, and `concatenateLines`
|
||||
with `api surface=ea name=...`. These operate only on copied workbench elements;
|
||||
publish with `await ea.addElementsToView(false, false)` to mark the view dirty,
|
||||
then `await ea.targetView.save(false)` and verify saved disk content.
|
||||
They retain IDs, frame/groups and unrelated metadata, and reject unsupported
|
||||
labels, bindings and arrowheads before mutation. They return JSON-safe results
|
||||
with point counts and warnings.
|
||||
|
||||
Conversion samples rounded line curves in world coordinates instead of retagging
|
||||
control points. `tolerance` defaults to 0.5 scene units, `maxPoints` to 10000;
|
||||
`strokeWidth` overrides the nominal-width estimate. Line-to-free-draw accepts
|
||||
the fork's full `penOptions`. **excalidraw.com ignores custom free-draw options**,
|
||||
so appearance can differ. Reverse conversion simplifies the centerline to a
|
||||
polyline and loses pressure, taper, custom caps and outlines. Compare an export.
|
||||
|
||||
Concatenation joins 2–100 compatible open lines by nearest endpoints, handles
|
||||
reversal, rotation and sharp corners, and samples rounded sections. `maxGap`
|
||||
defaults to 1 scene unit. The first ID survives; other input IDs are staged as
|
||||
deleted. Styles, frame, groups and metadata must match; disconnected/branching
|
||||
sets and exceeded budgets are refused without partial deletion. Keep actual
|
||||
branches separate, then inspect and save the published result.
|
||||
@@ -0,0 +1,209 @@
|
||||
# Drawing embed controls
|
||||
|
||||
In Live Preview, hover a drawing embed to show its toolbar. Small embeds place
|
||||
the toolbar below the image; touch layouts keep the controls visible. Drag the
|
||||
bottom-right corner to resize, or focus it and use the arrow keys. A completed
|
||||
resize changes only that occurrence in the containing note, with one undo step.
|
||||
|
||||
The toolbar offers **Outer padding** for default thumbnails, whole scenes, groups
|
||||
and frame references, using the **box-select** icon. **Area expansion** keeps the
|
||||
**square-dot** icon for `area=` references: it includes more of the surrounding
|
||||
drawing. Outer padding adds space without including additional elements.
|
||||
A compact horizontal Obsidian slider appears directly below the toolbar and previews
|
||||
padding in increments of 1. Outer padding ranges from 0 to 100. Area expansion
|
||||
uses the largest distance from a zero-padding crop edge to the corresponding
|
||||
scene edge, plus 100. Saved geometry is read once when the control opens, without
|
||||
refreshing embedded text or images, and the range stays fixed during the gesture.
|
||||
The controls occupy the first row, with one small value underneath and then a
|
||||
short description. Changing digit counts never changes the track width.
|
||||
Existing saved padding remains unchanged until edited, including values above
|
||||
the current slider maximum. You can drag, click the track, use the
|
||||
arrow keys, or scroll over the slider. Closing the popup or pressing Enter saves
|
||||
one source change; Escape cancels. **Use default padding** removes the explicit
|
||||
`,padding=N` parameter and uses the drawing's export padding preference.
|
||||
|
||||
The padding preview holds the embed's displayed dimensions steady while its
|
||||
content changes. It does not change the drawing file. A stale source, closed
|
||||
note, replaced widget, or plugin unload cancels the gesture and its pending
|
||||
preview. Paths, aliases, Markdown titles, dimensions, and table escapes are
|
||||
preserved. Identical embeds remain independent.
|
||||
|
||||
Padding controls require an editable Live Preview source binding. They are absent for text references,
|
||||
Reading view, read-only editors, nested Markdown transclusions, and Canvas.
|
||||
Reading view retains preview and open-drawing actions.
|
||||
|
||||
Padding is independent of the selected view. For example,
|
||||
`![[Drawing#^as-image,padding=30|300]]` follows the current default thumbnail with
|
||||
30 units of outer padding; `![[Drawing#^frame=,padding=30|300]]` shows the whole
|
||||
scene with that padding. Switching views retains the padding override. Thumbnail
|
||||
contents stay clipped to the original frame rectangle before padding is added.
|
||||
|
||||
## Drawing images inside a scene
|
||||
|
||||
Select a drawing-backed image and use **Configure drawing preview** (scan-eye)
|
||||
next to its existing image actions. The popover previews the chosen view and
|
||||
padding without editing the scene. A thin outline marks the rendered image's
|
||||
bounds, including transparent padding. The view selector explains how to create
|
||||
views by adding frames or marker frames and replacing their default names.
|
||||
**Anchor at original size (100%)** follows
|
||||
the rendered source dimensions and disables manual resizing. **Apply** commits;
|
||||
Cancel or Escape discards the draft.
|
||||
|
||||
When the source drawing appears in several images in the same scene, Apply asks
|
||||
whether to update **All images** or **Only this image**. Only edited settings are
|
||||
applied, preserving each copy's other view, padding and anchor choices. Each
|
||||
image retains its center; unanchored images retain their area when the aspect
|
||||
ratio changes. Anchored images follow their new intrinsic dimensions.
|
||||
|
||||
Configuration is saved in each image's embedded-file link, including `|100%`.
|
||||
Independent references are created internally; the source drawing is never
|
||||
duplicated or modified. One Undo restores the previous references and geometry.
|
||||
|
||||
## Frames and drawing thumbnails
|
||||
|
||||
Select a named frame or marker frame and use **Set as drawing thumbnail** in its
|
||||
context menu. The document property `excalidraw-thumbnail` stores its exact name
|
||||
and can also be edited manually. Names must be unique. Implicit previews in
|
||||
notes, hover previews and other drawings crop to the frame rectangle, without
|
||||
its outline or title. A missing, invalid or ambiguous name falls back to the
|
||||
whole scene. PNG/SVG autoexports continue to export the full scene.
|
||||
|
||||
On save, `excalidraw-anchors` lists unique named frames and marker frames in
|
||||
scene order. Unnamed frames are omitted; a frame deliberately named `Frame`
|
||||
is included. New properties appear at the top of frontmatter and existing
|
||||
properties retain their positions. Unrelated properties are preserved.
|
||||
|
||||
The first rename of a thumbnail frame asks whether to always update its document
|
||||
property, ask on each rename or leave it unchanged. Change this preference later
|
||||
in the saving settings. Deleting the frame leaves a stale name and the preview
|
||||
falls back to the whole scene.
|
||||
|
||||
For editable Live Preview embeds whose drawing has frames, the **scan-eye**
|
||||
button opens a frame picker. **Default thumbnail** removes the explicit override;
|
||||
**Whole scene** writes `#^frame=` and ignores the thumbnail property. Other items
|
||||
choose a frame by ID, including unnamed frames and names ending in `,padding=N`.
|
||||
Existing explicit `frame=` and `clippedframe=` rendering remains unchanged.
|
||||
|
||||
Use **Excalidraw: Navigate to frame** to fuzzy-search regular and marker frames
|
||||
in the current drawing. It uses the existing viewport navigation and selection
|
||||
behavior, preserving editing mode and Search text.
|
||||
|
||||
## Focused validation
|
||||
|
||||
Source checks cover detached Reading sections, relative paths, source ownership,
|
||||
history, padding previews, cancellation, and cleanup. Run the affected
|
||||
`scripts/testing/*embed*.test.mjs` files with Node's test runner, plus
|
||||
`scripts/testing/markdownEmbeds.test.mjs`, then build and run CSS policy lint.
|
||||
|
||||
`node scripts/testing/host/verify.mjs --embed-regressions` builds and deploys the
|
||||
current workspace artifacts into the marker-owned test vault. It checks six
|
||||
cases in the main window and a popout: relative and vault-path links in Live
|
||||
Preview; detached long-note Reading rendering in all three image formats;
|
||||
and padding preview, exact-occurrence editing, undo, cancellation, and unchanged
|
||||
drawing bytes. These cases also belong to complete native profiles.
|
||||
|
||||
The prepared test vault must be open, trusted, and CLI-enabled. See
|
||||
[native testing](OBSIDIAN_RUNTIME_TESTING.md). A prepared build with an unmet
|
||||
host prerequisite is not a native test pass. Physical touch devices and other
|
||||
desktop operating systems remain separate manual environments.
|
||||
|
||||
For frame metadata, thumbnails, navigation and source controls, run
|
||||
`node scripts/testing/host/verify.mjs --frame-semantics`. Add
|
||||
`--devices --device-profiles=phone-portrait-light,tablet-portrait-full-light`
|
||||
for focused phone/tablet emulation. Complete profiles include these cases too.
|
||||
|
||||
Before the UI refinement below, the 2026-11-11 Windows run on Obsidian 1.14.5 passed thirteen desktop frame
|
||||
cases (main window, popout and actual plugin reload), twelve frame cases in
|
||||
phone/tablet emulation, both device profiles, and the six existing embed regressions.
|
||||
It exercises the selected-image popover, both shared-source choices, native
|
||||
Undo/Redo, intrinsic-size anchoring, cancellation and save/reopen. Saved links
|
||||
retain their configuration while following the writer's existing path-shortening
|
||||
rules. SVG, SVG-image and PNG checks verify padded thumbnail dimensions and
|
||||
ensure padding never reveals neighboring elements outside the thumbnail frame.
|
||||
|
||||
The aggregate report records **37 passed, zero failed or blocked**, with artifact
|
||||
hashes, source stability and baseline restoration verified. Reports are under
|
||||
`.test-work/reports/preview-config-2026-11-11-03/`; earlier failed receipts remain
|
||||
intact. Desktop console/window errors are zero and all cleanup gates passed.
|
||||
|
||||
Focused source checks passed 111/111, existing image-geometry/parsing checks
|
||||
32/32, and bundle/runner/host-contract checks 19/19. Targeted lint added no
|
||||
findings (24 existing findings remain in adjacent legacy code); CSS policy lint,
|
||||
inventory and feature mappings passed. The production bundle is 5,128,954 bytes,
|
||||
leaving 113,926 bytes under 5 MiB. Physical touch devices, other operating systems
|
||||
and the minimum supported host version remain manual checks. Complete regression
|
||||
profiles were not run.
|
||||
|
||||
The subsequent UI refinement uses one-unit steps in both padding sliders, puts
|
||||
the compact controls above their description without a visible heading, explains
|
||||
named frames in the view selector, and outlines the preview image's actual bounds.
|
||||
Its focused source checks passed 111/111 and bundle checks 5/5; targeted ESLint
|
||||
and CSS policy lint are clean. The six native embed cases, extended with these
|
||||
UI assertions in the main window and popout, passed with four host gates (10/10)
|
||||
and successful source stability, baseline restoration and cleanup. Receipt:
|
||||
`.test-work/reports/preview-ui-2026-11-11-01/`. This build is 5,129,362 bytes,
|
||||
leaving 113,518 bytes under 5 MiB. Mobile emulation was not repeated for this
|
||||
refinement; physical touch remains a separate check.
|
||||
|
||||
The range/readout refinement passed 115 focused source checks, five bundle
|
||||
checks, and the same six native cases plus four host gates (10/10) on Windows
|
||||
Obsidian 1.14.5. Native mouse dragging verifies a fixed 5,100-unit area limit
|
||||
from a distant scene element, one visible value below each track, unchanged
|
||||
track widths, the 100-unit outer-padding cap, and retention of a saved 750-unit
|
||||
override until edited. Switching an in-scene image between area and whole-scene
|
||||
views restores the appropriate range. Plain, compressed and legacy geometry
|
||||
readers, deleted elements and off-center crops have source coverage.
|
||||
Targeted lint adds zero findings; CSS policy lint, source stability, artifact
|
||||
hashes, baseline restoration and cleanup pass, with zero unexpected console or
|
||||
window errors. Receipt: `.test-work/reports/preview-ranges-2026-11-11-01/`.
|
||||
The bundle is 5,130,731 bytes, leaving 112,149 bytes under 5 MiB. Mobile layouts
|
||||
and physical touch were not repeated for this refinement.
|
||||
|
||||
## Investigation checkpoint: 2026-11-10
|
||||
|
||||
Baseline: plugin `master@2ef81a5d`; implementation branch
|
||||
`2026-11-10-embed-rendering-padding`. No component or Extras source changes.
|
||||
|
||||
- **#3039:** synchronous `is-loaded` claiming prevents native fallback, while
|
||||
connection checks can abandon an off-document section before queueing or
|
||||
during export. Claiming was added in `f31dff9e`; the detachment checks are
|
||||
older. Neither originated in #3037. Reading embeds now use the existing
|
||||
Markdown render-context owner, including generation checks and disposal.
|
||||
- **#3040:** `src` belongs to the containing note, but Live Preview runs the
|
||||
drawing's postprocessor with the drawing's own `sourcePath`. Re-resolving a
|
||||
relative link from that folder can fail or choose the wrong target. The
|
||||
re-resolution came from `5e2bb771` (#2979). For a matching relative drawing
|
||||
link, rendering now retains Obsidian's already-resolved drawing identity.
|
||||
Unrelated native images and text transclusions keep their original routing.
|
||||
|
||||
Both new regression cases failed before the changes and passed afterward.
|
||||
The final focused run passed **94/94** cases: 89 source checks and five built
|
||||
bundle checks. Targeted ESLint, CSS policy lint, inventory, feature mappings,
|
||||
and `git diff --check` passed. The production build adds no TypeScript
|
||||
diagnostics; its existing 18 circular-dependency warnings remain. `main.js`
|
||||
is 5,101,162 bytes, leaving 141,718 bytes below the 5 MiB target.
|
||||
|
||||
The first native preparation stopped because the test vault was not open. After
|
||||
the maintainer opened it, a fresh Windows run on Obsidian **1.14.5** passed all
|
||||
**six targeted cases**, with zero unexpected console/window errors and matching
|
||||
built, installed and reported artifact hashes. This establishes focused Windows
|
||||
evidence; the reports' Obsidian 1.15 environment remains a separate check.
|
||||
|
||||
The original native report retains its failed cleanup status: baseline restoration
|
||||
found an inactive synthetic drawing from **2026-11-07**, unrelated to the current
|
||||
run. It had no open view, controller or print task. Recovery backed up that exact
|
||||
file, verified its unchanged bytes and timestamp, deleted it through the Vault
|
||||
API, and reran the baseline-restoration gate successfully. Immutable fixtures
|
||||
needed no repairs; plugin and Extras settings were verified on disk and in memory.
|
||||
The failed report and separate successful `cleanup-recovery.json` receipt remain
|
||||
under `.test-work/reports/embed-regressions-2026-11-10-verified/`. Full regression
|
||||
profiles were not run.
|
||||
|
||||
The subsequent UI refinement replaces the padding trigger with `square-dot` and
|
||||
the vertical popup with an Obsidian `SliderComponent` in one compact horizontal
|
||||
row beneath the toolbar. It retains the value readout and an icon-only default
|
||||
reset. Placement flips above the toolbar when needed to stay in the viewport.
|
||||
All 15 focused padding/controller checks, the production build, targeted ESLint,
|
||||
CSS policy lint and registry checks passed. This visual refinement was not rerun
|
||||
in the native lane; the six native results above apply to the preceding UI.
|
||||
The rebuilt `main.js` is 5,101,447 bytes, below the 5 MiB target.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -17,11 +17,49 @@ You will be able to access your scripts from Excalidraw via the Obsidian Command
|
||||
|
||||

|
||||
|
||||
This will allow you to assign hotkeys to your favorite scripts just like to any other Obsidian command.
|
||||
|
||||

|
||||
|
||||
## Script development
|
||||
This will allow you to assign hotkeys to your favorite scripts just like to any other Obsidian command.
|
||||
|
||||

|
||||
|
||||
## EA script execution lifecycles
|
||||
|
||||
`utils.executionSource` describes why the current top-level script invocation
|
||||
happened. It does not indicate whether the source was compiled previously,
|
||||
whether the script has run before, or whether runtime state was retained.
|
||||
|
||||
| Trigger | `utils.executionSource` | EA received | Approximate lifetime |
|
||||
| --- | --- | --- | --- |
|
||||
| Script button, command, or hotkey | `manual` | fresh view EA | existing ordinary script/view lifecycle |
|
||||
| Plugin startup script | `plugin-startup` | global plugin EA | plugin lifetime |
|
||||
| `registerAutostart()` attachment | `view-autostart` | fresh view-local EA | view lifetime |
|
||||
| Persisted sidepanel reconstruction | `sidepanel-restore` | sidepanel host EA | sidepanel tab lifetime |
|
||||
| Sidepanel script reload | `sidepanel-reload` | reloaded sidepanel host EA | sidepanel tab lifetime |
|
||||
| `excalidraw-onload-script` | `drawing-onload` | view-local EA | drawing/view lifetime |
|
||||
|
||||
Compilation caching is transparent: compiled JavaScript may be shared while
|
||||
unchanged, but each invocation retains its existing EA ownership and execution
|
||||
semantics. Manual execution remains repeatable even for a script that also uses
|
||||
view autostart.
|
||||
|
||||
Use `ea.registerCleanup()` for resources that EA does not own directly:
|
||||
|
||||
```js
|
||||
const ref = app.workspace.on("file-open", handler);
|
||||
ea.registerCleanup(() => app.workspace.offref(ref));
|
||||
|
||||
window.addEventListener("resize", handler);
|
||||
ea.registerCleanup(() => window.removeEventListener("resize", handler));
|
||||
|
||||
const interval = window.setInterval(callback, 1000);
|
||||
ea.registerCleanup(() => window.clearInterval(interval));
|
||||
```
|
||||
|
||||
Cleanup runs when that particular EA instance is destroyed, so its exact
|
||||
lifetime depends on whether it is the plugin-startup EA, a view-local EA, or a
|
||||
sidepanel host EA. The function returned by `registerCleanup()` unregisters the
|
||||
callback without executing it.
|
||||
|
||||
## Script development
|
||||
An Excalidraw script will automatically receive two objects:
|
||||
- `ea`: The Script Engine will initialize the `ea` object including setting the active view to the View from which the script was called.
|
||||
- `utils`: I have borrowed functions exposed on utils from [QuickAdd](https://github.com/chhoumann/quickadd/blob/master/docs/QuickAddAPI.md), though currently not all QuickAdd utility functions are implemented in Excalidraw. As of now, these are the available functions. See the example below for details.
|
||||
|
||||
@@ -0,0 +1,716 @@
|
||||
# File persistence refactor: implementation handoff
|
||||
|
||||
Updated: 2026-09-14. Status: checkpoint 5b is accepted and committed as `31592829`. Checkpoint 6a ordinary dirty-unload handoff is accepted and committed as `178d3178`. Checkpoint 6b.1 physical per-path write exclusion is accepted and committed as `e5ba009c`. Checkpoint 6b.2 replacement-owned migration persistence is accepted and committed as `c033e8b6`; checkpoint 6 is complete. Checkpoint 7 ordered exact-payload BAK and its recovery callback correction are accepted and committed as `d1bd628c`. Checkpoint 8's same-file multi-owner gate and its migration/loaded-file corrections passed the full maintainer stress gate and are committed as `25d7e164`. Checkpoint 9's complete normalized save/export snapshot contract passed its runtime and memory gates and is committed as `a634ce27`. Checkpoint 10's detached snapshot autoexports, successful-write publication, migration deferral, live settings, global serialization, and same-source save-batch coalescing are accepted and committed as `452107f6`. Checkpoint 11's exact-target asynchronous load generation and recovery-ordering correction passed the maintainer runtime gate and is committed as `1d1dd365`. Checkpoint 12a's persistence-state extraction passed the maintainer runtime gate and is committed as `839f0547`. Checkpoint 12b's own-write reload-guard extraction passed its maintainer runtime gate and is committed as `b9481c32`. The planned persistence transformation is complete; remaining semaphore groups are deliberately scoped to lifecycle, initial load, and interaction behavior rather than persistence ownership.
|
||||
|
||||
This is the execution specification for checkpoint 5b and original checkpoints 6–12. Read it with [AGENTS.md](../AGENTS.md), [CONTRIBUTING.md](../CONTRIBUTING.md), the opening review in [File Persistence Lifecycle Design](<Excalidraw Plugin File Persistence Lifecycle Design.md>), and the concluding “Updated File persistance refactor plan 2026-09-12 (Astra)” section of [RefactorPlan.md](../RefactorPlan.md). This document owns detailed tasks and acceptance gates; RefactorPlan owns checkpoint summaries, maintainer acceptance, and commit/action history. Do not maintain another independent task list.
|
||||
|
||||
The earlier failed 5b experiment produced dirty/save ping-pong. Restoring 5a and applying only `CaptureUpdateAction.NEVER` resolved that symptom, while later traces separately proved a destructive dirty-receiver route and cross-view notifications dropped by timing-only suppression. Those findings led to the staged 5b.2–5b.5 implementation rather than restoration of the failed combined patch. The prior divergence is now resolved in instrumented maintainer testing; retain its causal history here so later work does not regress to heuristic timer changes or explanations involving retained views from an earlier plugin runtime.
|
||||
|
||||
## 1. Execution ledger and rules
|
||||
|
||||
The six 5b steps below are numbered consecutively for handoff clarity. In the earlier lifecycle review, minimum snapshot ownership was called “9a before 5b.3”; here it is **5b.3 (original 9a)**, observation is **5b.4**, and enabling matching is **5b.5**. They are the same six tasks, not additional checkpoints.
|
||||
|
||||
| ID | Deliverable | State | Evidence / acceptance / commit |
|
||||
| --- | --- | --- | --- |
|
||||
| 5b.0 | Preserve experiment; establish committed 5a baseline | Comparison completed | Source stash `2b158abb204fd9b7e76aeea0a80e12476ce9879e`; HEAD `3899d056`; baseline bundle SHA-256 `cd2f5459151c56cb6ec920bb7ff369eec489be76cc87159292bf4e7dd90dc560`; maintainer confirmed 5a works. This is a comparison result, not certification of all stress interleavings |
|
||||
| 5b.0a | Publish incoming synchronization as non-undoable remote state | Dirty-loop correction confirmed and committed | Only `IMMEDIATELY` → `NEVER` restored. Commit `45144b52`; pre-instrumentation bundle SHA-256 `acfe02c8592ccae73aaea8ffb1ab034b8517358081f1c72360088244ee14adeb`. Remaining alternating-edit divergence is tracked under 5b.1–5b.5; detailed undo/viewport coverage is not newly certified by this report |
|
||||
| 5b.1 | Trace first missed propagation, with dirty-origin tracing if needed | Evidence complete; diagnostics removed | Trace A: dirty V2 was routed through full reload and its edit was cleared. Trace B: six modify events were cross-suppressed by the receiver's stale post-save Boolean; both views finally reported clean/idle with different scene fingerprints. The broad temporary `EXCALIDRAW_PERSISTENCE_5B` instrumentation was never committed and was removed before the clean 5b.2/5b.3 checkpoints |
|
||||
| 5b.2 | Reproduce failure; implement demonstrated prerequisites | Complete; committed | Production routing sends stale dirty/busy Markdown receivers through pending incremental synchronization; clean idle stale and raw-file routes are unchanged. Executable checks and maintainer stress/reopen validation pass. Commit `58d8ea84`. Cross-view post-save suppression remains a proved failing requirement carried through 5b.3–5b.5 |
|
||||
| 5b.3 / 9a | Minimum immutable save ownership | Complete; committed | Save intent now carries producer/target-generation/operation/requested-revision identity. Save-owned scene, nested element data, app-state subset, files, deletions, selected IDs, and source envelope are detached before normalization; `PreparedSave` owns the exact final text and actual captured revision. Only physical successful write outcomes publish a successful prepared identity. Focused checks/builds and maintainer large-scene runtime tests pass. Commit `071e3ef3`; suppression behavior is intentionally unchanged |
|
||||
| 5b.4 | Observe candidate content classification | Complete; diagnostics removed | Exact-byte classifier covers successful/accepted/pending/failed/handed-off/different/unknown states and newer local revisions. Ordinary own echoes matched successful writes while cross-view notifications consumed by the Boolean contained different content. The traces also proved the distinct **Open in new window** reentrant replacement failure. Temporary observation code is removed from source and the rebuilt bundle |
|
||||
| 5b.5 | Enable matching at the coalesced read boundary | Complete; committed | Boolean-armed Markdown events now continue through the existing pending latest-state synchronization loop. Its single owned Vault read revalidates runtime/target identity and skips parse/publication only for exact successful-write or accepted-content matches; all other classifications process normally. Raw `.excalidraw` suppression and same-file edit ownership remain unchanged. Explicit `setViewData()` completion ownership fixes the diagnostic-sensitive **Open in new window** lifecycle race. Commit `31592829` |
|
||||
| 6 | Detached persistence ownership and ordering | Complete; 6b.2 accepted | Ordinary dirty unload hands immutable prepared text to a plugin-owned FIFO and reports `persistence-handed-off`; commit `178d3178`. Commit `e5ba009c` adds data-only leases preventing live `super.save()`, direct main-realm migration writes, and ordinary detached requests from physically overlapping or overtaking accepted work. Checkpoint 6b.2 folds serialized popout-to-main handoff storage and ordering into that queue while retaining replacement-owned physical persistence; its runtime gate passed. Drawing-runtime handoff remains separate |
|
||||
| 7 | BAK after successful detached persistence | Complete; committed | Successful live, detached, and migration writes schedule the exact prepared text while still inside their shared per-path ordering boundary. Failed writes and non-empty-ineligible snapshots do not advance BAK; backup failure remains independent from source persistence. Recovery confirmation no longer depends on a retired view. Commit `d1bd628c` |
|
||||
| 8 | Same-file multi-owner edit gate | Complete; committed | View-local owner identities replace the shared Boolean. Canvas elements and Markdown-image controllers release independently through the established grace period; blocked modifies retain one latest-state synchronization without requiring another event. The migration-envelope and loaded-file marker corrections passed targeted and broad stress testing. The rejected owner-specific pre-save experiment remains preserved as stash object `8e69125349180b35fc4a534801bbbd79b430e688`. Commit `25d7e164` |
|
||||
| 9 | Complete normalized save/export snapshot | Complete; committed | `PreparedSave` owns a detached normalized scene, captured binary files, deletions, selection, file creation identity, and export settings in addition to exact text/revision identity. Long-lived coordinator/classifier state retains only `PreparedSaveIdentity`, preventing the completed save from pinning a second large scene. All persistence/migration/convergence tests passed; large-scene memory returned to its original value after explicit GC. Commit `a634ce27` |
|
||||
| 10 | Snapshot autoexports, then ordered exports | Complete; committed | The reviewed candidate replaces the rejected view-owned 10a draft. Automatic SVG, PNG, and raw `.excalidraw` output is submitted from every successful live, detached-close, and migration persistence route to a plugin-owned coordinator. Inputs are detached, hooks are materialized before view retirement, stale work is rejected before final Vault writes, migration rendering waits for replacement load, and automatic renders are globally serialized with task yields between formats. Same-source save activity holds heavy work and coalesces the batch to its newest persisted snapshot, including autosave. Automatic options read current settings/frontmatter at each save; manual exports remain live-scene/dialog operations. Commit `452107f6` |
|
||||
| 11 | Async load generation | Complete; committed | Every `setViewData()` owns a monotonic token plus exact `TFile`, path, and creation identity. Replacement loads and clear/unload/close/migration invalidate and settle the old ownership promise. Parsing, fonts, transclusion text, migration persistence, library/React initialization, recovery prompts, hook continuation, final loaded marker, and accepted-content baseline check current ownership. Existing reload/synchronization target generations and scene-loader API/path guards remain separate. Recovery lookup now precedes the error-path Markdown fallback so that fallback cannot invalidate its own BAK prompt. Commit `1d1dd365` |
|
||||
| 12 | Remaining semaphore/timer cleanup | Complete; committed | Persistence execution, autosave execution, force-save execution, and dirty-path storage moved intact from `ViewSemaphores` into `ViewSaveCoordinator`; commit `839f0547`. Checkpoint 12b moved the remaining own-write Boolean and cleanup timer into one view-owned `OwnWriteReloadGuard`, preserving compatibility delegates and accepted Markdown/raw routing; commit `b9481c32`. Lifecycle, load, hover, text-edit, import, and scene-loader state remain intentionally unchanged pending separate evidence and risk gates |
|
||||
|
||||
For each implementation increment:
|
||||
|
||||
1. State the invariant, concrete failing evidence, affected callers, and smallest proposed correction. Do not bundle history, viewport, image loading, and dirty policy into an echo-detection change.
|
||||
2. Update this ledger and RefactorPlan with what is implemented versus manually accepted. A build is not acceptance. Never mark all of 5b complete because one reproduction improves.
|
||||
3. Run production build and focused diagnostics before handing off a test build. Keep genuine failures/notices visible; hiding a busy notice or rejecting a modify silently is not a fix.
|
||||
4. Recommend risk-based tests, wait for required maintainer results, and commit only when requested. Remove temporary diagnostics before a production commit. If a correction fails, record that, preserve its comparison patch, and return to its preceding accepted boundary rather than stacking another guessed predicate.
|
||||
5. Preserve the TextFileView facade, public scripting APIs, existing serialized data, merge behavior outside the demonstrated defect, early migration unmount, viewport ownership, and dependency-refresh fallback. No new protocol, blanket CRDT, version bump, package upgrade, or manager solely to make a diagram cleaner.
|
||||
|
||||
## 2. Checkpoint 5b.0 — recover and validate the baseline
|
||||
|
||||
### Exact state at handoff
|
||||
|
||||
- Branch observed: `file-persistence-improvements`; HEAD `3899d056`, `fix: deduplicate copied markdown image renders`.
|
||||
- `af1cbe74`, `fix: retain latest external drawing sync`, is the committed checkpoint 4/5a baseline. `3899d056` adds only the separately accepted image-loader fix. Prefer `3899d056` initially so the image waves do not confound the stress test.
|
||||
- `a42e9525` is the save/synchronization ownership checkpoint. Do not jump back that far unless the 5a comparison supplies a reason.
|
||||
- Uncommitted experimental runtime paths at review: `src/core/managers/FileManager.ts`, `src/types/excalidrawViewTypes.ts`, `src/view/ExcalidrawView.ts`, `src/view/components/CustomEmbeddable.tsx`, `src/view/managers/ViewSaveCoordinator.ts`.
|
||||
- Documentation changes include the maintainer's appended plan and this handoff. They remained outside the source-only stash and are still present in the working tree. No branch switch or destructive rollback was performed.
|
||||
|
||||
### Safe preservation procedure
|
||||
|
||||
1. Read `git status --short`, `git branch --show-current`, `git log -6 --oneline`, `git diff --stat`, and `git diff --cached --stat`. Inspect all overlapping/new changes. Stop if the five paths above now contain unrelated user work; do not assume this inventory is still exact.
|
||||
2. Record plugin dependency/lockfile identity, installed `@zsviczian/excalidraw` version and hashes of its four `dist/obsidian` artifacts, Node/npm versions, current production bundle hash, and sibling-repository branch/status if its artifacts were copied locally. `node_modules` is ignored and survives stashing: a Git commit alone does not identify the runtime package. At review the declared Excalidraw dependency was `0.18.135`; verify rather than reinstalling blindly.
|
||||
3. Preserve the known experiment with a **path-scoped stash**, leaving documentation in the working tree. After confirming the inventory and index, use:
|
||||
|
||||
```sh
|
||||
git stash push -m "checkpoint-5b failed experiment before baseline validation" -- \
|
||||
src/core/managers/FileManager.ts \
|
||||
src/types/excalidrawViewTypes.ts \
|
||||
src/view/ExcalidrawView.ts \
|
||||
src/view/components/CustomEmbeddable.tsx \
|
||||
src/view/managers/ViewSaveCoordinator.ts
|
||||
git rev-parse 'stash@{0}'
|
||||
git stash show --stat 'stash@{0}'
|
||||
git status --short
|
||||
git diff 3899d056 -- src
|
||||
```
|
||||
|
||||
Record the resolved stash object ID in the ledger, not only `stash@{0}` (its index can change). Inspect the saved patch and verify the final source diff is empty. If new experiment files are untracked, preserve them explicitly too; the command above does not include them. Never use `git stash -a`, broad cleaning, or a hard reset. Do not include the roadmap in a blanket stash and then lose the instructions needed to resume.
|
||||
4. At the reviewed HEAD, stashing those paths restores baseline source without moving the branch. If HEAD has advanced, plan a separate baseline worktree after preserving changes rather than overwriting unrelated commits. The exact `af1cbe74` comparison can also use a separate worktree; do not silently remove the accepted image fix from the development branch.
|
||||
5. Keep the stash until the replacement 5b is accepted. Consult it as evidence with `git stash show -p <recorded-OID>`. Do not automatically `pop` it after a good baseline test: that would reintroduce all the unvalidated predicates together. Restoring any part later is a separately reviewed action.
|
||||
6. Keep these documentation edits through the comparison. If the maintainer requests a documentation checkpoint, stage only the explicit documentation paths, not the source experiment. This specification does not itself authorize a commit or deployment.
|
||||
|
||||
The procedure above was executed on 2026-09-12 for the documented five source paths. It remains here as the recovery/audit procedure; revalidate the inventory before reusing it.
|
||||
|
||||
### 5b.0 execution record
|
||||
|
||||
- Branch/HEAD after restoration: `file-persistence-improvements` at `3899d056`. `git diff 3899d056 -- src` was empty.
|
||||
- Failed experiment: stash object `2b158abb204fd9b7e76aeea0a80e12476ce9879e`, message `checkpoint-5b failed experiment before baseline validation`. It contains exactly the five documented source paths, 144 insertions and 61 deletions. Retain this object through 5b acceptance; do not identify it later only as `stash@{0}`.
|
||||
- The three planning files were excluded from the stash. Their pre-stash SHA-256 values were `7546b8f...ed0` (`RefactorPlan.md`), `e4dd2686...1eb` (lifecycle design), and `e5a0e919...d99` (this handoff). They subsequently changed only to record this execution; they were not rolled back or stashed.
|
||||
- Toolchain: Node `v22.22.2`, npm `10.9.7`. Declared and installed `@zsviczian/excalidraw` version: `0.18.135`. Sibling fork was on `master` with no reported working-tree changes.
|
||||
- Installed fork artifact SHA-256 values: production JS `42e36f9e...e2`; development JS `5df27a6a...f61`; production CSS `e371caed...7db`; development CSS `1151ae7f...947`. Preserve the full command output in the conversation record; abbreviations here are for readability.
|
||||
- Failed-experiment bundle before restoration: 4,904,430 bytes, SHA-256 `003c1de0...e15`. Rebuilt baseline bundle: 4,903,363 bytes, SHA-256 `cd2f5459...560`.
|
||||
- `npm run build` passed in 11.1 seconds and reported 33 circular-dependency warnings (three shown plus “and 30 more”). `node --check dist/main.js` passed. Focused ESLint across the five restored paths reported the existing 19 errors: 18 in `ExcalidrawView.ts` and one in `CustomEmbeddable.tsx`; the other three files were clean. `git diff --check` passed.
|
||||
- No deployment destination or private fixture identity was inferred or recorded. No Obsidian runtime test has been performed against this rebuilt baseline yet.
|
||||
- The maintainer subsequently confirmed that 5a still works. The receiving view nevertheless became dirty after receiving only view A's synchronized input. This is the accepted baseline observation motivating isolated checkpoint 5b.0a.
|
||||
|
||||
### Baseline test record
|
||||
|
||||
Build baseline with Node 22+, `npm run build`, and `node --check dist/main.js`. Record actual build warnings, touched-file lint baseline, `dist/main.js` size/hash, and deployment destination. Do not assume the historical 33 Rollup circular warnings or earlier lint counts still apply. Use the established maintainer test-vault deployment workflow and only an authorized destination. Do not edit generated artifacts by hand. Verify the deployed bundle is the one just built, then fully restart Obsidian.
|
||||
|
||||
Use disposable fixture copies, preserving the original outside the test mutation path. Record compression/text mode, autosave interval/settings, autoexport options, zoom-to-fit setting, Obsidian/Electron/OS versions, open leaves, and whether both views were fully loaded before interaction. Do not log private fixture contents into the repository.
|
||||
|
||||
Test first with a minimal drawing, then the reported approximately 4,400-element drawing with 500+ Markdown images (72 distinct images copied repeatedly). Start every comparison from the same fixture bytes; prior experiments may have altered versions/indices even if the drawing looks unchanged.
|
||||
|
||||
| Baseline case | Required observation |
|
||||
| --- | --- |
|
||||
| One edit in A; switch once to B; no more input | Same intended content; finite save/sync activity; both eventually clean; no rescue edit/save needed |
|
||||
| A/B deliberately at different pan/zoom; alternate edits | Elements propagate; receiving camera stays local |
|
||||
| Both edit before the other write is applied | Distinct non-conflicting edits survive; no perpetual dirty cycle after input stops |
|
||||
| Repeat incoming unchanged contents / reopen unchanged drawing | No endless normalization saves; reopening preserves content and layers |
|
||||
| Back-of-note editor held active while other view edits, then released | Pending scene update appears after release; Markdown content survives |
|
||||
| Receiving view has not saved for more than five minutes | Record whether full reload runs; verify local content and viewport, not merely the incremental path |
|
||||
|
||||
Wait for initial asset work and at least multiple configured autosave periods after input stops; record actual timings rather than declaring success after the old two-second suppression window. Compare file contents after close/reopen as well as visible canvases. Run image-loading overlap as a separate case, not an accidental variation between builds.
|
||||
|
||||
**Gate:** baseline comparison completed. The maintainer confirmed that 5a still works; preserve that observation without extending it to unreported stress/undo/platform cases. Continue from the isolated capture-mode result below.
|
||||
|
||||
### Checkpoint 5b.0a — isolated remote history publication
|
||||
|
||||
The baseline publishes the merged incoming scene using `CaptureUpdateAction.IMMEDIATELY`. The maintainer observed that a clean receiver becomes dirty after receiving only that synchronized input. Apply only the previously attempted capture-mode correction: publish with `CaptureUpdateAction.NEVER`, documenting that incoming Vault state is not a local undoable edit and that locally retained merge state is handled by the existing explicit dirty branch above publication.
|
||||
|
||||
Do not restore the failed experiment's content hash, expected-write record, viewport app-state injection, dirty-predicate replacement, semaphore removal, or `CustomEmbeddable` edits. This checkpoint does not claim to solve checkpoint 5b's echo-classification problem.
|
||||
|
||||
**Gate:** with clean A and B, edit only A and let synchronization settle. B must receive the element change without entering dirty state, adding the incoming operation to its local undo history, saving the same state back, or moving its independent viewport. Then make a local edit in B and verify it becomes dirty, can be undone, persists, and synchronizes to A. Finally repeat several alternating edits on the large fixture and stop input; both views must converge cleanly without a force save. If ping-pong returns, record the first unexpected transition under 5b.1 rather than adding another adjacent fix.
|
||||
|
||||
Automated validation: `npm run build` passed in 11.6 seconds with the established 33 circular-dependency warnings; `node --check dist/main.js` and `git diff --check` passed. The bundle is 4,903,357 bytes with the SHA-256 recorded in the ledger. Focused `ExcalidrawView.ts` lint reports its same 18 existing errors, none on the changed publication. The maintainer confirms dirty ping-pong is resolved, but reports sustained alternating-edit divergence. Retain this narrow improvement and proceed to 5b.1 for the remaining failure. The broad convergence portion of the gate remains open for overall 5b acceptance; do not keep adding fixes under baseline checkpoint 5b.0a.
|
||||
|
||||
### Assessment after 5b.0a — separate progress from convergence
|
||||
|
||||
The remaining issue belongs to checkpoint 5b. It should be investigated now in 5b.1 and reproduced in 5b.2; its eventual correction may depend on 5b.3 snapshot ownership or 5b.4/5b.5 content classification. No later checkpoint is guaranteed to fix it. Original checkpoints 6–12 remain gated on live-view convergence. In particular, the detached-write queue does not fix two active `TextFileView` writers by itself.
|
||||
|
||||
Keep `3899d056` plus the isolated `NEVER` change as the current diagnostic starting point. The only source diff at this assessment is that capture mode and its two comment lines. The five-file failed experiment remains stashed. Do not repeat baseline restoration or pop the stash. A controlled comparison without `NEVER` is useful only if a trace implicates history/dirty callbacks; record matching fixtures and edit cadence, and restore the accepted change after comparison. Do not infer causation from the order of user reports.
|
||||
|
||||
Current source gives these concrete investigation targets, in this order of boundary observation rather than certainty of cause:
|
||||
|
||||
| Boundary / verified behavior | What the trace must establish |
|
||||
| --- | --- |
|
||||
| `FileManager.modifyEventHandler()` calls `consumeOwnWriteReloadSuppression()` before setting a pending-sync marker. It checks only the Boolean. | Was the first notification needed by the receiver consumed here? A marker cannot preserve a notification that never reaches it |
|
||||
| `executeSaveRequest()` arms the Boolean before `super.save()`, then calls `setPreventReload()` after success; that method sets it to true again and schedules cleanup. | If the own-write modify already consumed the first arm before the save promise resolved, did completion re-arm it and consume another view's later write? This is a source-permitted timing sequence, not a reproduced explanation of the current incident |
|
||||
| Suppression timeout only clears the flag; it does not reread or schedule synchronization. | Did both views settle with no pending work despite a suppressed required notification? Waiting for the timeout cannot itself recover that notification |
|
||||
| Notification routing can choose full reload, including after five minutes since last save; `reload()` can return early while save/sync or same-file editing is active. | Did a routed event get no incremental marker and no applied reload? Log the branch and early-return reason; a returned `true` is not proof content was installed |
|
||||
| The save loop yields to the whole sync drain; per-view saves do not coordinate cross-view writes. | Is a missing change queued but waiting, or did another write supersede its disk state before read/merge? Distinguish active operation, whole-loop lifetime, trailing request, and dirty revision |
|
||||
| Live capture and model normalization share mutable inputs; incoming application can catch errors internally. | Did the change reach prepared bytes and successful publication, and did it survive later callbacks? Parse completion or a resolved application promise alone is not proof of publication |
|
||||
|
||||
For the re-arm scenario, the conditional timeline is A arms → A's own event clears → A save resolves and arms again → B writes → A consumes B's event with no pending marker. Trace event/write ordering in Obsidian before selecting any correction. Shortening/removing the timer or deleting the second arm still leaves the origin-blind Boolean; neither is a sufficient general solution without the controlled cases.
|
||||
|
||||
`NEVER` may eliminate redundant saves that previously happened to emit another modify and retry a missed synchronization. That is a hypothesis to test, not grounds to restore unnecessary dirty revisions. Also check the opposite failure: if real local work is no longer tracked, the first break occurs before source persistence. The desired contract is explicit eventual propagation after finite edits without depending on an accidental follow-up save.
|
||||
|
||||
### First diagnostic run for the remaining divergence
|
||||
|
||||
Use the current build's settings and a fresh fixture. For the first attribution run, wait for initial image loading and make distinct changes to separate simple elements (or add distinct simple shapes), recording anonymous element/edit identities. Repeat the user's A/B switching cadence; editing different elements separates propagation failure from same-element conflict policy. Add image-loading overlap and same-element competing edits as subsequent cases.
|
||||
|
||||
Capture both views' operations on one sequence timeline. Begin with cheap routing, suppression arm/consume/re-arm/expiry, save completion, pending-marker and ownership events. Trace selected edit identity/version through captured/prepared and read/published states. Use the already-owned save text and sync read for payload observation; do not add an asynchronous Vault read for every modify just for diagnostics. Deep raw/parsed/merged field comparisons are the second tier if the event reaches reconciliation but content changes unexpectedly.
|
||||
|
||||
At the first visible divergence, stop editing and collect a read-only snapshot of both scenes' relevant edit identities, disk state, current/saved revisions, active/queued save, pending sync/loop, same-file guard, and suppression state. Record elapsed settling time. Avoid force-save, reload, or close until this evidence is captured because those actions alter the state under investigation. No automatic diagnostic writes or repair loop.
|
||||
|
||||
Classify the earliest break:
|
||||
|
||||
1. **Source edit absent from prepared/successfully written content:** inspect local dirty tracking, capture revision, normalization and acknowledgement (5b.2/5b.3).
|
||||
2. **Source write present but receiver event consumed/unrouted:** inspect suppression/routing; reproduce the decision and implement its validated replacement (5b.2 then 5b.4/5b.5 as needed).
|
||||
3. **Receiver work queued but never acquired/completed:** inspect save/sync/gate waits, exceptions and request fairness (5b.2).
|
||||
4. **Read/merge/publication omits a required change, or subsequent work overwrites it:** inspect actual write order, merge results, publication and callbacks; use 5b.2 or 5b.3 according to the demonstrated boundary.
|
||||
|
||||
These are classifications for selecting the correction, not four changes to implement speculatively. The next implementation deliverable is the trace and its smallest reproducible failing case.
|
||||
|
||||
## 3. Source map and verified hazards
|
||||
|
||||
Use symbol searches; line numbers in older notes drift. The following describes reviewed source and the failed working patch, not guaranteed post-stash behavior.
|
||||
|
||||
| Boundary | Inspect these files/symbols | What must be distinguished |
|
||||
| --- | --- | --- |
|
||||
| Notification and leaf-switch entry | `src/core/managers/FileManager.ts: modifyEventHandler`; `EventManager.ts: onModifyHandler`, `onActiveLeafChangeHandler` | Same-path Markdown versus raw `.excalidraw`; initialized view versus `ExcalidrawLoading`; split-switch/full-reload/Markdown-view branches |
|
||||
| Per-view persistence | `src/view/managers/ViewSaveCoordinator.ts: enqueueSave`, `drainSaveQueue`, `performQueuedSave`, `completeSaveRevision`, `setDirty`, `flush`, `forceSaveWithPolicy` | Active write versus queued save-loop lifetime; queued/requested versus captured revision; dirty visuals versus acknowledged state |
|
||||
| External synchronization | `src/view/ExcalidrawView.ts: requestExternalSynchronization`, `startExternalSyncLoop`, `drainExternalSynchronization`, `acquireSynchronization`, `yieldToPendingExternalSynchronization`, `applyIncomingSynchronization` | Notification marker versus read in progress; parser model versus live merge; same-file guard; cancellation/finally boundaries |
|
||||
| All dirty sources | Same view: `onExcalidrawIncrement`, `onChange`, `checkSceneVersion`, explicit `setDirty`; tracked-app-state helpers | Durable store increments, tracked persisted app state, ordered version hash, explicit reconciliation, delayed metadata/image mutations |
|
||||
| Save representations | Same view: `executeSaveRequest`, `getSceneWithAppState`, `prepareGetViewDataFromSnapshot`, `getViewData`, `loadDrawing`, `setViewData`; `src/shared/ExcalidrawData.ts: loadData`, `syncElements` | Raw Markdown buffer; raw parsed JSON; normalized mutable model; live API; exact text passed to TextFileView |
|
||||
| Image publication | `src/view/managers/ViewSceneFileManager.ts`; `src/shared/EmbeddedFileLoader.ts`; view `addFiles`/`updateScene`; image scaling helpers | Queued loader versus actual callback/decode completion; render-only work versus persisted geometry/customData |
|
||||
| Fork store/index behavior | Sibling `packages/element/src/index.ts: hashElementsVersion`; `fractionalIndex.ts: syncInvalidIndices`; installed fork `CaptureUpdateAction`, store callbacks, `updateScene` implementation | Real published artifact behavior; ordered nonce hashing; index mutation; synchronous flush versus delayed callback; history capture semantics |
|
||||
| Detached persistence | View migration callback and unload branches; `src/core/managers/ViewMigrationPersistenceHandoffManager.ts`, `ViewMigrationHandoffManager.ts`; `src/shared/BackupPersistenceQueue.ts` | Drawing-state transfer versus serialized persistence transfer; accepted handoff versus completed source write |
|
||||
|
||||
Verified facts to preserve in future reasoning:
|
||||
|
||||
- `loadData()` applies remaining non-text `elementLinkMap` entries by setting the link and incrementing `version` and `versionNonce` unconditionally. An isolated execution of that exact loop with an unchanged link demonstrated the increment; the loop also exists at `3899d056`. This is **not** an end-to-end reproduction of ping-pong. Do not remove version increments globally without checking actual link changes and consumers.
|
||||
- `hashElementsVersion()` is ordered nonce hashing, not a numerical revision sum or complete content comparison. Reordering can be a genuine layer edit. `ExcalidrawView.updateScene()` normalizes indices after synchronization has computed `previousSceneVersion`; the normalization can mutate versions. Trace the actual installed array and callbacks before changing baseline timing.
|
||||
- The uncommitted `hasLocalStateToPersist && !isDirty()` guard suppresses revision advancement for an already-dirty view. An already-dirty Boolean does not establish whether a waiting/active request includes a newly reconciled change. Conversely, every repeated reconciliation is not automatically a new document change.
|
||||
- `setDirty()` advances `currentRevision` and updates a trailing request when `saveLoopPromise` exists. The loop can be alive while `activeSaveRevision` is null and it is awaiting external synchronization. Trace whether the trailing request receives the reconciliation revision. `forceSave` refuses several kinds of busy state; the notice does not prove a physical Vault write is hung.
|
||||
- `yieldToPendingExternalSynchronization()` awaits the **whole** external drain, not one iteration despite its comment. Further events can extend it. Pending state being bounded does not guarantee finite work or fairness.
|
||||
- Incoming tombstone IDs filter local elements before the live-element version comparison. Do not claim newer-local-versus-older-deletion behavior is version-aware without a separate correction and test.
|
||||
- `getSceneWithAppState()` retains API elements and nested objects; a shallow files map still shares values. `syncElements()` assigns the provided scene and mutates it across awaits, including clearing `scene.files` after synchronization. `readonly` does not make this an immutable capture.
|
||||
- `loadDrawing(false, deletedElements)` may run during save normalization. Camera stripping in the reload branch is not automatically exercised by that call. Adding app state to `updateScene()` can change flush behavior as well as values. The observed camera improvement does not prove which mechanism caused it.
|
||||
- `await loadSceneFiles()` does not await all image publication/decoding. Some image helpers change geometry/customData without a version bump; do not classify all image differences as disposable cache noise.
|
||||
- Incremental sync does not explicitly adopt the drain's raw Markdown into `this.data`; serialization uses that buffer's envelope. Verify Obsidian's actual TextFileView callback/buffer contract before claiming a stale buffer, or fixing one by blindly overwriting local Markdown. `setViewData()` has a same-file early return after asynchronous initialization.
|
||||
- Exact prepared-text equality describes observed bytes, not who emitted a Vault event. View revisions are local counters. Even serialized writes in a single JavaScript realm can race across awaits; a per-view coordinator is not a per-path write coordinator.
|
||||
|
||||
## 4. Checkpoint 5b.1 — trace the first erroneous transition
|
||||
|
||||
Create a temporary, isolated diagnostic patch with prefix such as `EXCALIDRAW_PERSISTENCE_5B`. Use `log` from `src/utils/debugHelper.ts`, not direct console calls. Emit one copyable string per event, with monotonically assigned anonymous view/operation IDs and sequence numbers. Bound captured observations; do not retain views, scenes, or giant payloads in a global debug buffer. Remove diagnostics and search both `src/` and the rebuilt `dist/main.js` before a production commit.
|
||||
|
||||
Trace the missing-propagation boundary first as specified above. The following is the available diagnostic inventory; enable deeper per-element comparisons only when routing/write evidence requires them. Dirty-origin tracing remains necessary for source edits and any recurrence of ping-pong, but an unexpected dirty event is no longer required to begin diagnosis.
|
||||
|
||||
- Dirty origin and before/after current/saved/active/requested revision; previous/current ordered scene hash; tracked-app-state category; whether a queued request was created/replaced. Do not merely log the final header-icon color.
|
||||
- Save trigger (autosave, switch/blur, force, flush, teardown), capture start, preparation completion, actual write invocation/completion/failure/no-op, queue yield/resume, and terminal acknowledgement. A resolved whole-loop promise is not an individual write-completion event.
|
||||
- Modify notification, classification candidate/result, pending marker transitions, sync acquisition/release, exact target/runtime validity, Vault read start/completion, parse start/completion, publication, and full-reload branch.
|
||||
- At raw, parsed, merged, published, and serialized boundaries: bounded anonymous element transition samples plus counts of changed IDs, versions/nonces, indices/order, links, text dimensions, deletion state, image geometry/customData, and tracked app-state categories. Capture immutable scalar observations immediately; do not inspect a live object later and call it its earlier state.
|
||||
- Fingerprint raw/prepared text at selected operation boundaries. Do not hash multi-megabyte scenes on every `onChange` or await extra diagnostic work inside behavior-critical paths. If hashing is deferred, label when input was captured versus when the digest completed. Measure diagnostic overhead and confirm the uninstrumented symptom too.
|
||||
- Observe TextFileView `getViewData`/`setViewData` and its inherited save contract using the supported runtime/debugger or local typings/source where available; use obsidian-typings as the API reference. Do not introduce an unverified TextFileView override merely to collect a trace.
|
||||
- Separate delayed loader callbacks, scene publication, and store/onChange notification. A queued loader, synchronous API return, frame callback, and actual paint are different milestones.
|
||||
|
||||
Start with a single edit/switch to establish normal routing, then reproduce the reported repeated alternating edits. Identify the first required edit that fails to reach the other view; a quiet but divergent pair is as significant as busy queues. If a new dirty loop occurs, identify its first unwarranted dirty transition and follow the resulting write. If normalization produces a required write, check that its result stabilizes on the next cycle.
|
||||
|
||||
**Gate:** attach a concise trace interpretation and unresolved questions to the ledger. If the trace changes timing enough to hide the bug, reduce it and use deterministic barriers in the test harness; do not declare resolution. Do not add a new production manager/guard in this diagnostic checkpoint.
|
||||
|
||||
### 5b.1 instrumentation execution record
|
||||
|
||||
- Commit `45144b52` is the accepted boundary containing `CaptureUpdateAction.NEVER` and the three persistence planning documents. The failed combined experiment remains preserved as stash object `2b158abb204fd9b7e76aeea0a80e12476ce9879e` and was not reapplied.
|
||||
- The temporary diagnostic patch remains uncommitted. It adds `src/utils/persistenceTrace.ts` and instruments `PluginFileManager`, `EventManager`, `ViewSaveCoordinator`, and `ExcalidrawView`. It does not add a persistence manager, guard, suppression decision, queue transition, or other intended behavior correction.
|
||||
- Every diagnostic event goes through `log()` as exactly one fully rendered string beginning `EXCALIDRAW_PERSISTENCE_5B`. It assigns anonymous per-runtime view IDs and a global sequence/elapsed time. It never prints a Vault path, Markdown text, element content, or object payload. Large prepared/read text and ordered scenes are represented by synchronous fingerprints and counts; selected local element changes use hashed IDs and bounded metadata for at most eight elements.
|
||||
- The trace covers local dirty origins and revision transitions; leaf leave/enter and save request completion; save queue creation, coalescing, dequeue, write, acknowledgement, yield, and release; suppression arm/consume/re-arm/expiry; modify routing; pending-sync marker and loop transitions; read/parse/merge/publication; and reload early-return reasons. A five-second delayed read-only snapshot after leaf activation records both the live scene fingerprint and settled save/sync/pending/suppression state, so a quiet divergent pair is observable without rescue input.
|
||||
- Node 22.22.2 production build passed in 10.2 seconds with the established 33 circular-dependency warnings. `node --check dist/main.js` and `git diff --check` passed. The instrumented bundle is 4,914,810 bytes with SHA-256 `91993059ab69fff35ebb4313811d4d76089dd7c29539b3860cff9e5af5de1fe7`. Focused lint reports only the same 18 established `ExcalidrawView.ts` findings; the new helper and the other three instrumented files are clean.
|
||||
|
||||
Runtime capture procedure:
|
||||
|
||||
1. Deploy the instrumented bundle and fully restart Obsidian. Open the disposable large fixture in two adjacent fully loaded Excalidraw views and let initial Markdown-image work settle.
|
||||
2. Open Developer Tools, filter Console output by `EXCALIDRAW_PERSISTENCE_5B`, and optionally clear the filtered console immediately before editing.
|
||||
3. Make distinct edits to separate elements while alternating A → B → A → B as in the reported reproduction. Continue only until the first visible missed propagation or divergence.
|
||||
4. At the first divergence, stop all input. Do not force save, reload, close a leaf, or make a rescue edit. Wait at least five seconds so the delayed settled-state snapshot is emitted.
|
||||
5. Copy all filtered trace lines as plain text and report which view missed which visible edit. Preserve line order. If the trace volume or overhead prevents reproduction, report that rather than extending the test or treating it as a pass.
|
||||
|
||||
### 5b.1 trace interpretation
|
||||
|
||||
The two maintainer traces reproduce two independent failure boundaries. These are observed event sequences, not inferred plugin-runtime history or timing guesses.
|
||||
|
||||
**Trace A — a dirty receiver is destructively full-reloaded.** V2 records a local durable edit at sequences 53–55 while V1 is preparing its save. V1 writes at sequences 56–58. V2 receives that modify while dirty (`modify-match`, sequence 59), but routes it to `modify-route-full-reload` at sequence 61; `reload-enter` at sequence 62 confirms `full=1` and `preserveViewport=0`. The reload later advances/clears V2's dirty baseline at sequences 81–82 and completes at sequence 83. No incremental synchronization marker, read, merge, or publication occurs for V2. Therefore V2's edit is replaced by the disk snapshot written from V1. The five-minute heuristic is unsafe whenever its target has local unpersisted state; this failure is independent of expected-write matching.
|
||||
|
||||
**Trace B — post-save suppression consumes another view's write.** Own writes normally consume the suppression armed immediately before `super.save()`, then successful completion arms the same Boolean again for the cleanup window. The re-armed Boolean has no writer or content identity. The trace records six events where the view consuming suppression is not the view whose `textfile-save-begin` caused the modify: sequences 474, 796, 849, 894, 942, and 1054. The first is already conclusive: V2 re-arms after its own save at sequence 416; V1 writes at sequence 471; V2 consumes that event with `cleanupTimer=1` at sequences 472–474, so it creates no pending synchronization. Its timeout at sequence 495 only observes the Boolean already cleared and cannot recover the event.
|
||||
|
||||
The final transition proves this is a dropped notification, not work that merely needs more time. V1 finishes a write and re-arms at sequence 1003. V2 subsequently writes different prepared bytes at sequence 1048. V1 is clean, not saving, and not busy at sequence 1052, but consumes V2's event from the stale cleanup-window Boolean at sequences 1053–1054. After timers settle, V1 and V2 both report `dirty=0`, `saving=0`, `synchronizing=0`, `pending=0`, and `syncLoop=0`, yet their live scene summaries differ at sequences 1069 and 1072 (`4432:3:2080337:47643cfd:3c5b39d6` versus `4432:0:2080312:c16304cc:92a2bd45`). No later queue action exists that can reconcile them. Earlier cross-suppressions in both directions explain why the user-visible missing direction can vary during sustained alternation.
|
||||
|
||||
The trace does not show a hung save, an exception, an unreleased synchronization flag, or an unprocessed pending marker. It does show expected parse-time/installation version changes, but those are downstream of successfully routed notifications and are not needed to explain either first break. Preserve those normalization concerns for the deterministic convergence suite; do not mix them into the two demonstrated routing corrections.
|
||||
|
||||
## 5. Checkpoint 5b.2 — reproduce and establish convergence
|
||||
|
||||
There is no established plugin view/model unit-test suite in `package.json`. Do not invent an `npm test` success claim. Establish a small reproducible harness with a documented command using current tooling; prefer actual functions/classes and injected Vault/scheduler boundaries over a copied imitation of the algorithm. A source-loop micro-test proves only that loop. Test helpers may control promise completion order; avoid timing-dependent real sleeps. Pure helpers can be extracted mechanically only when needed and separately reviewed.
|
||||
|
||||
Implement and validate the demonstrated boundaries as separate increments:
|
||||
|
||||
1. **Dirty-receiver routing.** Reproduce Trace A with a receiver whose `lastSaveTimestamp` is more than five minutes old and which has a local unsaved edit when another view writes. A same-file Markdown modify must not enter destructive full reload while the receiver is dirty or persistence/synchronization-busy. Route it through the existing pending incremental synchronization path so acquisition, latest-file read, version merge, explicit retained-local dirty state, and viewport preservation remain in force. Keep the clean, inactive stale-view refresh policy unchanged unless its own test proves it unsafe. Verify the local edit and incoming non-conflicting edit both survive, the receiver remains dirty only until the merged state is persisted, and reopen contains both. This correction is eligible for its own checkpoint/test before suppression replacement.
|
||||
2. **Cross-view suppression reproduction.** Encode the Trace B order explicitly: A completes an own write, its immediate own modify consumes the pre-write arm, completion re-arms the Boolean, then B writes before A's cleanup timeout. Assert that current code suppresses B's event and leaves no pending marker. Retain this failing regression through 5b.3–5b.5. Do not “fix” it by merely shortening the timeout or deleting the completion re-arm: Vault notification timing can differ by platform, and either timing-only change recreates a missed-own-echo or external-write window.
|
||||
|
||||
The demonstrated durable replacement is the planned content-aware path: 5b.3 must associate exact prepared bytes and actual successful completion with a save operation; 5b.4 must verify the candidate classification against these interleavings without suppressing; 5b.5 must mark same-file Markdown events as pending work before classification, acquire the existing read boundary, and skip only content already represented by a relevant successful/accepted identity. A different view's differing bytes must remain eligible even during the former cleanup window. Equality may establish redundant content, not writer identity. Keep `CustomEmbeddable`'s non-save calls to `setPreventReload()` explicitly inventoried; removing save-owned Boolean suppression does not authorize deleting same-file editor protection before checkpoint 8 supplies an equivalent owner/grace model.
|
||||
|
||||
Define three separate comparisons:
|
||||
|
||||
1. **Exact bytes:** what the Vault read or actual save contained. Suitable for redundant-content detection, not merge ownership.
|
||||
2. **Persisted document meaning:** elements including order/deletions/custom fields, persisted app state, and Markdown envelope under existing format rules. Any excluded field requires a concrete reason; do not erase all indices, nonces, camera values, or image dimensions to make tests pass.
|
||||
3. **View-local runtime state:** camera, selection, render caches, and editor state where the existing policy treats them as local. Some camera/tool settings are serialized under current settings; local runtime ownership does not authorize removing them from the file format.
|
||||
|
||||
Required controlled cases:
|
||||
|
||||
| Case | Assertion / decision required |
|
||||
| --- | --- |
|
||||
| Parse and serialize unchanged non-text links repeatedly | After any explicitly justified normalization, versions and writes reach a fixed point; real link changes still persist |
|
||||
| Equal elements with different order/invalid fractional indices | Genuine layer changes survive; normalization converges; dirty baseline corresponds to what was actually installed |
|
||||
| Raw/parsed text, bound text, equations, copied Markdown images | Normalization does not endlessly toggle fields; durable geometry changes are retained |
|
||||
| Older incoming N, newer local N+1 | Local result remains eligible for persistence even if the receiver was previously clean or already dirty |
|
||||
| Incoming-only changes to a clean receiver | Accepting the persisted baseline alone does not create a write-back loop |
|
||||
| Same element changed in both views; deletion versus edit | Record existing tie/deletion policy; preserve it unless a demonstrated correction is explicitly approved; never claim both conflicting values survive |
|
||||
| Repeated/duplicate notification and notification during sync finalization | Latest work is not lost at marker clear or promise-finally boundaries; unchanged events do not generate writes |
|
||||
| Pending save waits for sync; reconciliation changes state | Pending request covers the reconciled revision; acknowledgement cannot strand that change |
|
||||
| Save fails, parse fails, or view changes while awaiting | Flags/promises release; dirty state and existing valid drawing survive; no false success or stale publication |
|
||||
| Markdown/back-of-note changes while scene save is preparing | Latest accepted envelope is retained or a conflict is explicitly handled; no silent header/tail overwrite |
|
||||
|
||||
Control at least these cross-view interleavings: A writes, B reads A, B merges/saves; A and B both prepare before either completes; B writes between A's notification and A's read; A receives another notification while applying the first; old read/hash completes after navigation/record replacement. Test on-demand leaf-switch saves with autosave, not autosave alone.
|
||||
|
||||
If two saves can overwrite an unseen non-conflicting edit before any reader observes it, a latest-read marker alone cannot fix that. Produce the failing timeline and decide whether a narrow plugin-owned per-path reconciliation/write boundary is needed. Such coordination must still use `super.save()` for live writes, must reread/reconcile under the relevant boundary, and must preserve main-realm migration rules. Mere FIFO serialization or choosing the last arrival is not conflict resolution. Treat this as an explicit prerequisite checkpoint, not an incidental new queue inside hash detection.
|
||||
|
||||
**Gate:** record the earliest failing case and its responsible boundary. For a queue/merge correction implemented here, record its passing reproduction and callback/history effects. If the failure is specifically the Boolean suppression that 5b.4/5b.5 replace, or snapshot ownership addressed in 5b.3, retain the failing regression case and explicitly carry that acceptance requirement to the named step. Do not require 5b.2 to solve the Boolean with an interim heuristic just to reach the designed replacement, and do not claim overall convergence before it is fixed. Independent defects must not be hidden by the pending replacement. Undo/redo must keep local edits undoable without making remote acceptance a spurious user edit. Re-run both first-edit and sustained large-scene cases after each relevant correction.
|
||||
|
||||
### 5b.2a dirty-receiver routing execution record
|
||||
|
||||
The first demonstrated correction is implemented as an isolated routing change. `getDrawingModifyRoute()` is a pure production helper used by `PluginFileManager.modifyEventHandler()`. For same-file Markdown, a dirty or persistence-busy receiver now selects `incremental-sync` before the five-minute stale-view decision. That route uses the existing latest pending marker, acquisition, Vault read, merge, non-undoable publication, retained-local dirty marking, and autosave. A clean and idle stale Markdown view still uses the existing full reload; raw `.excalidraw` routing is unchanged.
|
||||
|
||||
`node scripts/check-file-modify-routing.mjs` imports the production helper and verifies stale+dirty → incremental, stale+busy → incremental, clean+idle+stale → full reload, the existing Markdown-side/recent-switch protection, and both raw-file routes. It passes. Focused lint for the new helper, `FileManager`, and all temporary diagnostic support files passes. The Node 22.22.2 production build passed in 10.7 seconds with the established 33 circular-dependency warnings; bundle syntax and `git diff --check` pass. The bundle is 4,915,216 bytes, SHA-256 `16534db42f8f0f1b28d69c123166ef02f5a2c6a056e3544c61fbb9bd876a6327`.
|
||||
|
||||
Manual gate is deliberately scoped to Trace A because Trace B remains unfixed. Start from a full Obsidian restart with the large drawing's file modification time older than five minutes and neither view carrying a prior suppression timer. Open it in adjacent fully loaded views. Edit A, switch immediately to B, and make a distinct edit while A is still preparing/writing. B's matching modify must log `dirty=1` followed by `modify-route-sync`, never `modify-route-full-reload`; B must retain its own edit while accepting A's non-conflicting edit, preserve its viewport, and persist the merged result. After work settles, verify the persisted/reopened drawing contains both. The still-known stale suppression may prevent A from immediately receiving B's merged write, so that symptom alone does not reject 5b.2a; record it under the already proved 5b.3–5b.5 requirement. Any loss of B's local edit, full reload while B is dirty/busy, or failure of the persisted merged result rejects this increment.
|
||||
|
||||
Maintainer validation passes this scoped gate. Across 1,223 trace lines there is no `modify-route-full-reload`; every matching event not consumed by the known Boolean enters `modify-route-sync`, including dirty receivers. The alternating dual-edit scenario remained responsive longer and was reported as definitely better. The two live views eventually diverged on screen, but closing and reopening the view that missed updates loaded those updates from persisted content; the reopened V3 settled with 4,435 live elements. This confirms the former dirty full-reload loss is removed and the accumulated result remains reopenable.
|
||||
|
||||
The residual divergence is not new evidence against 5b.2a. The same trace contains seven cross-view suppression events (sequences 563, 684, 731, 850, 903, 1012, and 1123), each caused by a receiver's prior post-save cleanup-window Boolean rather than the current writer. For example, V1 writes at sequence 1117 while clean/idle V2 consumes the event at sequences 1121–1123 with `cleanupTimer=1`, creating no pending synchronization. V2 later shows a different live summary, while reopen obtains the later persisted scene. This precisely matches the accepted 5b.3–5b.5 regression and requires no additional routing change in 5b.2.
|
||||
|
||||
## 6. Checkpoint 5b.3 — minimum save ownership (original 9a)
|
||||
|
||||
Before implementing, write the capture/acknowledgement contract. Conceptual names below describe roles, not a demand for new managers or final public types:
|
||||
|
||||
- **Save intent:** trigger, force/guard/side-effect policy, producer identity, and requested revision. A queued intent can predate capture.
|
||||
- **SaveSnapshot:** file identity/runtime generation, capture revision, owned scene/app-state/deletion/selection inputs, and the Markdown envelope or its explicitly accepted base identity.
|
||||
- **PreparedSave:** exact final text, normalized state identity, producer/capture revision, and persistence-relevant eligibility/options. Mutable preparation scratch is not exposed as an immutable result.
|
||||
- **Write completion:** operation identity, actual successful prepared payload identity, and the revision it is safe to acknowledge. Failure/skipping/handoff are not successful disk writes.
|
||||
|
||||
Use existing project/fork types; keep view-scoped types local unless shared. Choose the revision-capture point explicitly: forwarding `requestedRevision` is not enough if capture happens later. Either capture that exact revision when requested, or capture current state later and return its actual captured revision. Do not acknowledge revisions that arrived after capture. Preserve public `save(...)`/force-save delegates and policy merging.
|
||||
|
||||
Inventory every mutable input used after an await: elements and nested points/bindings/customData, deleted elements, selected IDs, app-state nested objects, file metadata, Markdown envelope/element maps, and normalization outputs. Copy mutable structures needed by preparation; share immutable strings/bytes only under a documented ownership rule. Do not JSON-clone the entire live API/app state (it contains runtime objects), nor duplicate all image data URLs unnecessarily. Dev tests can freeze owned captures, but must not freeze objects still owned by Excalidraw.
|
||||
|
||||
`syncElements()` currently installs and mutates the scene in `this.excalidrawData`. Determine which preparation mutations must later be reflected in the live model. Do not solve immutability by simply detaching everything and dropping normalized metadata, or by publishing an old snapshot over newer local edits. Prove that API mutations during compression cannot change prepared text or exported normalized state.
|
||||
|
||||
Capture after any intentionally awaited edit/deletion prompt, with target revalidation. For migration, capture all API-owned values synchronously and unmount before the **first await**, as required today; do not move an ordinary save's waits into that pre-unmount path. Keep teardown and replacement file identity checks distinct from source runtime lifetime.
|
||||
|
||||
Audit `getViewData()` and `super.save()` so the text fingerprinted is exactly the text the inherited bridge consumes, including headers/frontmatter/back-of-note and compression. Preserve forced no-op save's explicit reload behavior (`reloadIfWriteDidNotEmitModify`); unchanged text can still require a refresh without a modify event. Verify BAK's existing `lastSavedData` source corresponds to this completed write before building on it.
|
||||
|
||||
**Gate:** paused compression plus further edits, nested-object mutation, queued revision advancement, failed write, no-op force save, malformed incoming Markdown, navigation, and migration. Older completion cannot clear a newer revision; normalization cannot overwrite newer live work. Measure peak retained data on the large fixture. No export queue yet.
|
||||
|
||||
### 5b.3 implementation record
|
||||
|
||||
`ViewSaveCoordinator` now assigns each physical attempt a save intent containing the view producer, save-target generation, operation ID, and requested revision. `ExcalidrawView` samples the actual current revision at scene capture, after the existing deletion-prompt await and target checks. A save-target generation advances when `TextFileView` starts loading a different target; this identity is only for persistence records and deliberately does not claim to be the asynchronous load fence planned in checkpoint 11.
|
||||
|
||||
`saveSnapshot.ts` creates save-owned copies of the scene envelope, elements and their nested plain data, the persisted app-state subset, binary-file records, deleted elements, selected IDs, and source Markdown envelope. Runtime render caches (`shape` and `canvas`) are excluded, while immutable data-URL strings are shared. Existing `ExcalidrawData.syncElements()` still owns normalization and its metadata maps; after it settles, `generateMDBase()` synchronously materializes those maps and the normalized scene into strings before asynchronous compression. Therefore the resulting `PreparedSave.text` is the exact immutable text passed through `getViewData()` to `TextFileView.save()`. Completing an older capture acknowledges only its captured revision; edits arriving during normalization/compression remain newer and retain/queue dirty work even if their data was conservatively included in the prepared bytes.
|
||||
|
||||
The coordinator retains the latest `PreparedSave` only for a completed live `super.save()` or the awaited main-realm migration write. A requested, skipped, failed, delayed-unload, or migration-handed-off operation is not labeled a successful physical write. The current Boolean is still armed and consumed exactly as before; no modify event is classified or skipped using this record in 5b.3.
|
||||
|
||||
Automated validation: `node scripts/check-save-snapshot.mjs` proves nested element/deletion/app-state/file detachment, render-cache exclusion, immutable data-URL sharing, exact prepared text identity, target generation, and captured-versus-requested acknowledgement. Focused lint, unused-symbol checks, production and library builds, bundle syntax, and `git diff --check` pass. The Node 22.22.2 production build retains the established 33 circular-dependency warnings; `ExcalidrawView.ts` retains exactly its established 18 lint errors. With the temporary trace removed, the production bundle is 4,905,956 bytes with SHA-256 `46873e0e72d5264b3aa240be88cb395a37d44b72a1f09fe2fc16e07ea05c9de5`.
|
||||
|
||||
The maintainer accepted the focused runtime gate on the 4,400+ element scene: edits made around compression persisted, all tested change types passed, bound linear elements did not change the outcome, and no regression was identified. This gate does not require two-view convergence: the known post-save Boolean may still discard the other view's notification until 5b.5.
|
||||
|
||||
## 7. Checkpoint 5b.4 — observe classification without changing suppression
|
||||
|
||||
Alongside the now-validated baseline behavior, maintain a temporary candidate record and log what a replacement would do. Do not consume notifications based on the candidate yet. Keep candidate calculations bounded and separate from production scheduling; observation can perturb timing, so compare uninstrumented runs as well.
|
||||
|
||||
Candidate identity needs a producer/operation ID, target file/runtime identity, captured revision, exact prepared-text fingerprint, and write state. Producer revision is meaningful only for that producer. A newly started write must not be labeled successful; a record from an older operation must not clear its replacement after a delayed promise settles. Track a successfully accepted document baseline separately where needed. Bound retention; do not store an unbounded hash history.
|
||||
|
||||
| Observed state | Required interpretation |
|
||||
| --- | --- |
|
||||
| Bytes match this target's known successful prepared write, with no newer local edits | Candidate redundant content; not proof the notification originated here |
|
||||
| Same bytes, but local edits occurred after capture | Do not clear or acknowledge those newer edits; any skipped merge is only an optimization for already represented disk content |
|
||||
| Bytes match only a pending/failed/abandoned attempt | Not established successful content; defer/classify after outcome or process normally |
|
||||
| Bytes match the fully accepted current document baseline | Repeated notification may be redundant without a current expected-write record; define this independently of timeout expiry |
|
||||
| Different or unknown bytes; read/hash failure | Keep external work eligible; report failure through existing paths; do not consume as an own write |
|
||||
| Target/runtime/record changed during await | Result cannot classify the replacement target; preserve any newer target work |
|
||||
| Later writer produced identical bytes | Equality can make content redundant, but cannot establish writer identity |
|
||||
|
||||
Test record replacement, successful write notification before/after promise completion, no-op write without notification, duplicate/delayed events, failed write, rename, close, A→B→A navigation, and two writers. Observe force-save and same-file editor callers, including the two suppression calls removed in the failed `CustomEmbeddable.tsx` patch.
|
||||
|
||||
**Gate:** every skip decision is justified by known accepted/successful content and cannot lose newer local state. Record disagreements with actual outcomes before changing behavior. Timeout is cleanup, never evidence of origin.
|
||||
|
||||
### 5b.4 implementation record
|
||||
|
||||
The observation patch is intentionally uncommitted. The bounded classifier compares exact retained strings, while console output uses only length/FNV fingerprints. It distinguishes successful writes, accepted input, still-pending attempts, failed attempts, unconfirmed handoffs, differing known content, and missing/stale target identity. A matching successful write or accepted baseline also reports whether a newer local revision exists; observation never clears that revision.
|
||||
|
||||
Existing incremental synchronization classifies the Vault text it already read. To inspect events that the legacy Boolean currently drops, a view temporary per-view marker coalesces only those Markdown events into one latest-state shadow read after local save/sync/edit ownership settles. That read neither parses nor publishes data and never marks dirty or schedules persistence. It captures and revalidates the save-target generation before and after awaits. Initial successfully loaded text and successfully applied synchronization text establish the observation-only accepted baseline. Prepared write attempts are recorded before persistence and transition only when the matching producer/target/operation completes; an older completion cannot replace a newer candidate.
|
||||
|
||||
All diagnostics use `log()` and emit one complete string prefixed `EXCALIDRAW_PERSISTENCE_5B4`; they contain anonymous view IDs, revisions/states, and bounded fingerprints, never paths, note contents, image data, or expandable objects. `node scripts/check-save-content-classification.mjs` covers successful content with/without newer local work, accepted content, pending/failed/handed-off attempts, different content, target-generation invalidation, and operation replacement. Focused lint, unused-symbol lint, the production build, bundle syntax, and `git diff --check` pass. The instrumented bundle is 4,912,850 bytes with SHA-256 `62d4a318aec18fc275c6c5fd624d0d53f65309c1a0347b803a9c721c3e0bc731`; the build retains 33 established circular warnings and `ExcalidrawView.ts` retains its established 18 lint errors.
|
||||
|
||||
Runtime gate: deploy and restart Obsidian, filter the console by `EXCALIDRAW_PERSISTENCE_5B4`, and run the same alternating two-view large-scene test until the first visible missed propagation. Stop input and wait several seconds before copying all filtered strings. For an ordinary own-write echo, the suppressed shadow read should classify `matches-successful-write`. For the proved cross-view defect, the receiving view's legacy Boolean may still consume the event, but its shadow read must classify `different-from-known-content` (or another explicitly non-skippable state), never a successful/accepted redundant match. Also capture one duplicate notification/settled no-op and one edit made during a save; matching content with `newerLocal=1` must not imply that the newer revision can be cleared. Any mismatch between these candidate results and the known event outcome rejects 5b.4 and must be explained before 5b.5.
|
||||
|
||||
### 5b.4 runtime evidence and popout follow-up
|
||||
|
||||
The two supplied `EXCALIDRAW_PERSISTENCE_5B4` traces validate the candidate distinction for main-window views 1 and 3. Each view's own notification shadow-read repeatedly classified `matches-successful-write`. Four notifications consumed in the other view's post-save Boolean window classified `different-from-known-content` (trace sequences 93–98, 108–113, 132–135, and 147–150). These are exactly the events that 5b.5 must retain as pending work. Sequence 106 also records `matches-successful-write newerLocal=1`, confirming that byte equality must not acknowledge or clear a later local revision.
|
||||
|
||||
The three-view extension reveals a separate pre-classification gap. View 4 records `content-accepted` at sequence 152, proving that its runtime loaded the persisted document, but subsequent saves from views 1 and 3 produce no view-4 suppression, route, sync-read, or accepted-content event. That absence does **not** yet prove why the view was skipped: the original 5b.4 logging begins only after `getExcalidrawViews(app, true)` and target checks. Keep production routing unchanged and temporarily record every Excalidraw leaf visible through both `getLeavesOfType()` and `iterateAllLeaves()`, plus `_loaded`, API readiness, closing/migration state, file match, and the selected route. The next reproduction must establish whether the popout is absent from type enumeration, rejected by the initialized-only filter, rejected by lifecycle/file targeting, or routed to ignore. Correct only the demonstrated boundary, then rerun this main/popout case before enabling or accepting 5b.5.
|
||||
|
||||
The follow-up trace resolves that routing question. In this session the affected popout is anonymous view 3. Across all 17 observed modifications it is returned by type enumeration, `_loaded=1`, API-ready, and matched to the modified file, but `closingOrMigrating=1`; `PluginFileManager` therefore takes its intentional lifecycle early return. This is not an initialized-view or file-target failure. View 3 also prepares and completes three later writes through `window-migration-persisted` (sequences 66–77, 146–157, and 257–268), proving `windowMigrating` itself remains active while the user continues editing. Do not merely bypass `isClosingOrMigrating()` in `FileManager`: that would let a source-runtime guard fail open.
|
||||
|
||||
The phase traces establish two different Obsidian operations. **Move to popout** completes `closeLeafView()` with `sourceStillLeaf=0`, then creates a distinct replacement (`sameAsSource=0`) that becomes API-ready and receives later updates. **Open in popout** invokes the callback while the newly created leaf's own view-state transition is still active: `closeLeafView()` resolves in the same millisecond with `sourceStillLeaf=1`, and replacement setup resolves with `sameAsSource=1`. That source object then becomes API-ready while retaining `windowMigrating`, so it is visible and writable but excluded from incoming synchronization. The correction preserves synchronous capture and pre-await unmount, completes any required save flush, then yields one main task on the destination window before calling `closeLeafView()`. This lets the outer state transition finish before the nested source replacement. The phase trace must now show `sourceStillLeaf=0` and `sameAsSource=0` for both opening modes; if either remains `1`, do not clear the migration flag or bypass the guard.
|
||||
|
||||
The reported 4,400-element lock/select latency reproduces on Excalidraw.com. Treat it as an upstream Excalidraw performance investigation unless a separate profile demonstrates additional plugin synchronization overhead; it is not evidence against the current persistence classification. The phase-observation build passes the focused classifier/snapshot/routing scripts, unused-symbol lint, focused lint, production build, bundle syntax, and `git diff --check`. `ExcalidrawView.ts` retains exactly its 18 established lint errors, the build retains the 33 established circular warnings, and the bundle is 4,914,732 bytes with SHA-256 `3c7607fbf2648cf162a4ad32e21f403f7427d068edad324524b3027e8f6f690e`.
|
||||
|
||||
## 8. Checkpoint 5b.5 — enable coalesced content matching
|
||||
|
||||
Keep the modify callback lightweight: initialized-target validation, existing routing, and marking latest-state work. For the incremental Markdown path, the view's pending-sync operation should own the fresh read and candidate comparison after acquiring the appropriate save/sync/lifecycle boundary. Reuse that read for parsing; do not create a separate per-event read/hash task ahead of it. Preserve raw `.excalidraw`, full-reload, explicit refresh, and same-file branches; either route them through a validated equivalent classification boundary or explicitly retain their safe behavior during staged rollout.
|
||||
|
||||
Logical operation (adapt existing code rather than introducing another loop):
|
||||
|
||||
1. Mark a current file as needing inspection; notifications while busy retain this demand.
|
||||
2. Acquire the operation boundary without waiting on a whole save loop that is itself waiting for this sync. Revalidate the exact runtime/file after meaningful awaits; same path alone is insufficient for navigation away and back.
|
||||
3. Claim the current pending marker before the read, preserving any later notification as trailing demand. Read current Vault text once, compare against valid success/acceptance identity, and parse only if reconciliation is needed.
|
||||
4. On redundant content, do not alter newer local dirty revisions or manufacture a new save. On changed content, parse/reconcile through the tested pipeline and advance the accepted baseline only after successful application. If an editor acquires the file meanwhile, retain pending demand and wait for release.
|
||||
5. Release ownership in `finally`; inspect any trailing demand, including one arriving between the last loop check and promise cleanup. Use existing bounded state if sufficient; add a notification epoch only if a proved gap requires it. Parse failure must retain valid live state without starting an endless retry loop on the same malformed bytes.
|
||||
6. Save genuinely unpersisted reconciled state through the existing coordinator. Prove fairness between finite pending sync and trailing saves; no early return may strand a dirty revision behind a stale request.
|
||||
|
||||
Hashing must be browser/mobile-safe. Exact bytes are the write identity; if a fingerprint is used, document collision assumptions and failure behavior. Do not confuse the Excalidraw scene hash with a full-text fingerprint. Revalidate record/runtime after asynchronous digest completion. Timeouts only release abandoned records; expired records must not cause an otherwise unchanged document to start a save cycle.
|
||||
|
||||
Before removing `preventReload` storage/accessors, search **all** callers and classify their purpose: ordinary save echo, explicit force/reload request, same-file editor grace, migration, and teardown. Keep the successful 5a rule (no arming before serialization) until its replacement is accepted. Do not carry forward the failed patch's history mode, camera arguments, or dirty predicate simply because they are adjacent in the diff; each needs its own evidence and gate. If the same-file ownership gate is a prerequisite, execute checkpoint 8 explicitly before retiring those calls.
|
||||
|
||||
### 5b.5 implementation record
|
||||
|
||||
The staged implementation leaves the legacy Boolean storage and all existing callers in place, but it no longer allows that Boolean to discard a Markdown drawing notification. `PluginFileManager` consumes the one-shot flag for compatibility, then continues through the established route. Raw `.excalidraw` notifications still retain their former early return. Same-file embeddable callers still own `embeddableIsEditingSelf`; their Markdown notification becomes pending and waits at `acquireSynchronization()` until ownership releases.
|
||||
|
||||
The pending synchronization loop remains the only active read boundary. After acquiring save/sync/edit ownership, it claims the current marker, reads the latest Vault text once, and revalidates both file/runtime identity and target generation. Exact bytes classified as `matches-successful-write` or `matches-accepted-content` do not parse, publish, clear dirty state, or schedule a save. This remains true when a newer local revision exists: the disk content is redundant, while the later local revision remains dirty. Pending, failed, handed-off, different, or unknown identity follows the existing parse/reconciliation/accepted-baseline path. The temporary separate shadow-read loop was removed, so enabling the decision adds no diagnostic Vault read.
|
||||
|
||||
Executable checks cover Markdown deferral versus raw suppression and redundant/non-redundant classification, including successful bytes with newer local work. Classifier, snapshot, and route scripts; focused lint; unused-symbol lint; production build; bundle syntax; and `git diff --check` pass. `ExcalidrawView.ts` retains its exact 18-error baseline and the build retains 33 established circular warnings. The accepted instrumented bundle, including the **Open in popout** correction, was 4,913,456 bytes with SHA-256 `b5d3e75b650bfa20c54126710cb15bad3f01ecc730bdeca780cf39761980ecc0`.
|
||||
|
||||
The maintainer then accepted the instrumented runtime gate. Sustained work on the approximately 4,400-element drawing did not break save or synchronization. Additional passing cases covered an active back-of-note editor while switching tabs, adjacent Markdown and Excalidraw representations of the same note, dirty migration to a popout without a prior save, and switching an unsaved drawing to Markdown mode by hotkey. **Open in popout** now creates an updating replacement rather than leaving the visible source permanently migrating; **Move to popout** remains healthy. All changes were preserved.
|
||||
|
||||
Temporary fingerprints, anonymous-view enumeration, migration-phase logging, and classification-decision logging were then removed. A repository and rebuilt-bundle search finds no `EXCALIDRAW_PERSISTENCE_5B4`, `persistenceClassificationTrace`, or `persistenceClassificationFingerprint`. The first clean production bundle was 4,909,082 bytes with SHA-256 `a1b49ad6b31e527c291ecc0dfdcf585d20cb272da010f1068aa0859f8faa86a9`; it retained the 33 established Rollup circular warnings. The three executable checks, focused lint, unused-symbol lint, bundle syntax, and `git diff --check` passed; `ExcalidrawView.ts` retained exactly its established 18 lint errors.
|
||||
|
||||
That first clean build failed the **Open in new window** runtime case while **Move to new window** continued to work, so it is rejected as a checkpoint candidate. The accepted instrumented trace records `content-accepted` for the source view during the supposed timer boundary, before `closeLeafView()` succeeds. Removing fingerprint/logging work allowed the zero-delay destination timer to run before that asynchronous `setViewData()` continuation completed. The corrected invariant is therefore not “one timer has elapsed”; it is “the exact active view-data load has settled, followed by one destination task.” `setViewData()` now owns a bounded completion record, settles it on successful, early-return, and rejected layout-ready continuations, and migration captures the active promise before synchronous unmount. This is completion observation only: it does not invalidate loads, alter file identity, or claim the broader generation work of checkpoint 11.
|
||||
|
||||
The revised clean production bundle is 4,909,585 bytes with SHA-256 `15733871836c02a3dfcd84a3e9c817028ca34d153366b352c40c2c467f7a3982`. It contains no temporary trace prefix. The three executable persistence checks, unused-symbol lint, production build, bundle syntax, and `git diff --check` pass; `ExcalidrawView.ts` retains exactly its established 18 lint errors and Rollup retains 33 established circular warnings.
|
||||
|
||||
**Final 5b gate:** accepted. The maintainer confirmed the revised clean **Open in new window** path works correctly. The broader instrumented convergence and lifecycle cases listed above also passed, and **Move to new window** remained healthy throughout the clean-build regression comparison. One physical-mobile save/synchronization smoke test remains recommended before release, but checkpoint 6 may begin after the clean 5b commit.
|
||||
|
||||
## 9. Original checkpoint 6 — plugin-owned detached persistence
|
||||
|
||||
Start with ordinary dirty unload as its own change; migrate the special window-handoff path only after ordinary handoff is proven. Reuse the scheduling/cleanup lessons of `BackupPersistenceQueue`, not its entire policy: that queue currently drops pending work on `destroy()` and uses latest arrival, neither of which automatically provides source-document durability.
|
||||
|
||||
Define a data-only immutable request with operation/producer identity, file targeting information, captured revision, exact text, reason, and captured backup eligibility. Never retain view/Window/DOM/React/API/package lease references or callbacks closing over them. The plugin/main realm owns timers and execution and resolves the `TFile` at execution with `getFileByPath()`.
|
||||
|
||||
Required decisions before implementation:
|
||||
|
||||
- How the request relates to the last accepted source state and to newer live writes. View-local revisions cannot establish a global newest payload. If a successful-write sequence is introduced, define it at the actual ordered write boundary; assigning arrival tickets does not make two stale snapshots causally comparable.
|
||||
- One active plus one newest trailing payload is safe only when the trailing candidate demonstrably supersedes the previous candidate. For independent producers, reuse any validated per-path reconciliation boundary from 5b.2 or explicitly resolve the conflict. Do not silently discard independent edits to preserve a queue-size target; if no safe bounded policy has been specified, stop and request the design decision.
|
||||
- Separate `accepted/handed-off`, `persisted`, `superseded`, and `failed`. Replace `view-unload-scheduled` honestly. Decide how the coordinator/migration state represents pending responsibility without claiming Vault completion. Do not mark a handed-off revision as persisted merely to clear the old view's icon.
|
||||
- Rename/delete/recreate-same-path behavior: resolve at execution but do not write stale text into a different file merely because the path exists again. Define cancellation/retargeting using the repository's lifecycle, not an invented permanent TFile ID.
|
||||
- Shutdown/failure: define a bounded retained failure/reporting policy and flush opportunity; plugin unload/application exit may not await promises. An in-memory queue survives a view, not process failure. Do not add a hidden retry loop, recreate deleted files, or claim crash durability.
|
||||
|
||||
Keep live writes on `super.save()`. Preserve synchronous capture and source unmount before asynchronous migration work; popout-to-main final writing remains replacement/main-realm owned. Keep `ViewMigrationHandoffManager` drawing state separate. Deleting `ViewMigrationPersistenceHandoffManager` is the final proven consolidation, not the first edit.
|
||||
|
||||
**Tests:** dirty ordinary close; closing two views with distinct edits; old unload payload versus newer live save; immediate reopen; rename/delete/recreate; injected failure; source popout destroyed; dirty migration both directions; last popout close; plugin shutdown. Confirm no duplicate writes and no source runtime retained. Main-window ordering tests first, then native Electron teardown on available desktop systems and one mobile unload/navigation run.
|
||||
|
||||
### Checkpoint 6a implementation record — ordinary dirty unload only
|
||||
|
||||
The first increment replaces the view-owned 200 ms fire-and-forget callback only for ordinary `viewunload`. `executeSaveRequest()` hands the exact `PreparedSave` text and its producer, target-generation, operation, requested/captured revision, file path, captured file creation time, non-empty-scene eligibility, and `view-unload` reason to `ViewPersistenceQueue`. The save result is now honestly named `persistence-handed-off`; it transfers responsibility without publishing a successful-write identity. Normal live `super.save()`, both window-migration branches, drawing-state handoff, and migration persistence handoff are unchanged.
|
||||
|
||||
`ViewPersistenceQueue` is plugin-owned and contains only immutable request data plus a captured Vault capability. It resolves the current `TFile` immediately before execution and refuses a missing path, an empty payload, or a same-path file whose creation time differs. Requests execute FIFO per path and are never coalesced because independent view revisions do not establish supersession. Failures are contained so later requests still run, and they produce the existing long-lived serious-error notice plus structured error logging without file contents. The queue has no timer or listener and intentionally has no destructive unload cleanup: plugin unload begins asynchronous view conversions before their handoffs arrive, while completed path chains release themselves.
|
||||
|
||||
This increment does **not** solve or claim ordering between a detached request and a concurrent live `super.save()`, nor safe consolidation of two independently dirty closing views. Those remain checkpoint 6b design requirements. It also carries `hasNonDeletedElements` forward but does not write a BAK; that remains checkpoint 7. Do not collapse `ViewMigrationPersistenceHandoffManager` yet.
|
||||
|
||||
`node scripts/check-view-persistence-queue.mjs` verifies FIFO execution without coalescing, a blocked first write with a trailing request, missing and recreated targets, empty-payload rejection, injected write failure, later progress after failure, and flush settlement. Focused queue/main/coordinator lint, unused-symbol lint, the prior classifier/snapshot/routing checks, production build, bundle syntax, and `git diff --check` pass. Rollup retains 33 established circular warnings. The bundle is 4,911,256 bytes with SHA-256 `59b4e3a2c8184a3f77d7eb97d4d857c5b17a5e857c18e4bff7fd40132380c496`.
|
||||
|
||||
**6a runtime gate:** in the main window, edit a drawing and immediately close its tab without manually saving; reopen it only after a short settle and verify the edit is present. Repeat by switching an unsaved Excalidraw view to Markdown mode, and by disabling/reloading the plugin with an unsaved edit, then fully restart Obsidian and verify persisted contents. Repeat the immediate-close case once with the large compressed drawing to exercise serialization followed by retired-view writing. There must be no unhandled rejection or serious-error notice. A BAK update is not expected yet. Do not use two independently dirty closing views as an acceptance claim for 6a; record that separately for the 6b ordering design.
|
||||
|
||||
**6a runtime acceptance — 2026-09-13:** the maintainer accepted this increment after aggressive testing with five simultaneous representations of one drawing: one Markdown view, four Excalidraw views, adjacent views, a tab moved to a popout, and an independently opened popout. Persistence and synchronization remained stable and receiving viewports did not jump. A second test combined one mobile and two desktop views with parallel Markdown-embeddable editing. Obsidian Sync temporarily delivered malformed drawing JSON, which the existing Notice surfaced; after Sync settled, an explicit save persisted the latest valid scene and the file remained intact. A third mixed mobile/desktop/Markdown-view test remained stable under Sync latency. These results validate 6a's ordinary handoff in realistic lifecycle stress, but they do not prove the still-unimplemented 6b ordering between concurrent live and detached writers or migration-handoff consolidation.
|
||||
|
||||
### Checkpoint 6b.1 implementation record — physical write exclusion
|
||||
|
||||
`ViewPersistenceQueue.acquireWriteLease()` reserves the same FIFO path boundary used by immutable detached requests. The lease contains only an idempotent release function; the queue retains a promise gate, never the live `ExcalidrawView`, its callback, DOM, Window, React root, API, or package lease. `ExcalidrawView` invokes `super.save()` itself while holding the lease. The existing direct main-realm migration `vault.modify()` also holds the lease. For ordinary unload, the view acquires the lease, enqueues its immutable request behind that reservation, and releases; physical persistence then continues after the view can retire.
|
||||
|
||||
This increment establishes exclusion and accepted-operation order only. It does not reinterpret view-local revisions as a global sequence, coalesce independent producers, or claim that FIFO order merges two snapshots captured before either observed the other. The popout-to-main branch still transfers text through `ViewMigrationPersistenceHandoffManager`, and the replacement's later `vault.modify()` is not yet consolidated into this boundary. Those are explicit 6b.2 decisions, not hidden assumptions in the lease.
|
||||
|
||||
The queue check covers both directions: a live lease cannot overtake already accepted detached writes, and a detached request cannot execute while a live lease is held. Release is idempotent. The previous existing FIFO, missing/recreated target, empty request, failure isolation, later progress, and flush checks remain. Focused lint, unused-symbol lint, save-classifier/snapshot/routing checks, production build, bundle syntax, and `git diff --check` pass. Rollup retains the established 33 circular warnings. Candidate bundle: 4,912,110 bytes, SHA-256 `cb41dd492d89456811401685f3b32edb4f39de6a9f00292901dbfdf445823c3c`.
|
||||
|
||||
**6b.1 runtime gate:** first repeat ordinary save and immediate dirty close on one drawing. Then use two views with distinct visible edits: begin a large-scene save in one and immediately save or close the other; after settlement, both views and a reopened third view must contain both edits, with no save stall, dirty ping-pong, or viewport jump. Repeat with two dirty views closed in quick succession. These convergence cases are diagnostic as well as acceptance tests: exclusion guarantees non-overlap, but any lost independent edit proves that 6b.2 needs reconciliation before persistence rather than another ordering predicate. Finally smoke-test **Move to new window** in both directions because its direct main-realm write now uses the lease, and verify **Open in new window** remains unchanged. Do not accept migration-handoff consolidation from this increment.
|
||||
|
||||
**6b.1 runtime acceptance — 2026-09-13:** the maintainer reports the complete recommended gate passed successfully. This accepts the shared physical-write boundary for the tested large-scene live-save/dirty-close interleavings, rapid independent dirty closes, and both popout workflows. It does not retroactively claim that FIFO is a general merge algorithm; the specialized popout-to-main persistence transfer remains the next scoped change.
|
||||
|
||||
### Checkpoint 6b.2 implementation record — replacement-owned migration persistence
|
||||
|
||||
The specialized `ViewMigrationPersistenceHandoffManager` has been removed. `ViewPersistenceQueue` now stores the same immutable migration request used by detached persistence, including producer, target-generation, operation, requested/captured revision, file path, captured creation time, exact prepared text, non-empty-scene eligibility, and `window-migration` reason. `ViewMigrationHandoffManager` remains separate because it transfers live drawing-runtime state rather than persistence responsibility.
|
||||
|
||||
The source popout preserves the established destructive-boundary sequence: capture API-owned state and unmount synchronously before the first await, complete preparation, then register data only. Registration immediately reserves the shared per-path boundary but starts no Vault operation. The recreated main-window view consumes the matching leaf/path handoff and thereby initiates the queued physical write; it loads the exact handed-off text and waits for confirmed persistence before recording it as saved. Thus a later live or detached operation cannot overtake the migration write, while the source popout never starts the final Vault/native operation.
|
||||
|
||||
Consumption is one-shot and validates both leaf and file path. A mismatch releases its reservation, reports `target-changed`, and never exposes the other file's text to the replacement. Physical execution resolves the current `TFile` and validates its captured creation time through the same queue path as ordinary detached persistence. Failed writes remain visible through the plugin-owned serious-error notice/log path and leave the replacement dirty after loading the recoverable handoff text. An unconsumed handoff expires after 15 seconds on a main-window-owned timer, reports `handoff-expired`, and releases its path so later persistence cannot remain blocked. Explicit discard after failed source replacement releases ordering without writing. The queue continues to retain no view, Window, DOM, React root, Excalidraw API, or package lease.
|
||||
|
||||
Executable queue checks cover reservation without early writing, migration-before-trailing ordering, one-shot matching consumption, mismatch rejection without exposing text, discard progress, deterministic expiry progress, and all 6a/6b.1 FIFO, target, failure, and lease cases. Focused queue/main lint, unused-symbol lint, classifier/snapshot/routing checks, production build, bundle syntax, and `git diff --check` pass; `ExcalidrawView.ts` retains exactly its established 18 lint findings and Rollup retains 33 established circular warnings. Candidate bundle: 4,913,022 bytes, SHA-256 `aeb201a5cf81a49b99741ea5473b12094d21157c6d6f0a8650210d1162c3f680`. Runtime acceptance remains pending.
|
||||
|
||||
**6b.2 runtime gate:** first edit a drawing in a popout and use **Move to new window** to return it to the main workspace without manually saving. Verify the recreated view contains the edit, settles clean, and a reopened view reads it from disk. While that migration is in progress, make a distinct edit in another view of the same drawing; after settlement, both edits must converge without save stall, dirty ping-pong, viewport movement, serious-error notice, or duplicate write symptoms. Repeat main → popout to ensure its existing direct main-realm write remains healthy. Separately repeat **Open in new window**, which must keep both source and new views active and synchronizing; it is not equivalent to migration. Close the last dirty popout and test a large compressed drawing once. A deliberately failed replacement may pause same-path writes only until explicit discard or the bounded expiry; normal migration must not approach that timeout. Checkpoint 7 must not begin until these cases pass.
|
||||
|
||||
**6b.2 runtime acceptance — 2026-09-13:** the maintainer reports that the runtime gate passed successfully. This accepts replacement-owned popout-to-main persistence, its shared per-path ordering, and preservation of the two distinct popout workflows for the tested scenarios. Checkpoint 6 is complete. Work stops at this boundary; checkpoint 7 has not started.
|
||||
|
||||
## 10. Original checkpoint 7 — detached BAK after successful source write
|
||||
|
||||
Schedule BAK only from confirmed Vault completion using that operation's exact text and captured non-empty-scene eligibility. Do not inspect a retired view or a later live scene to decide whether the old write is safe to back up. Preserve the existing safeguard; its current element-count semantics must not silently change with tombstone representation.
|
||||
|
||||
Coalesced/superseded attempts that never write produce no BAK. Failed source writes produce no BAK. Integrate scheduling with existing main-window `ImageCache`/`BackupPersistenceQueue` storage rather than creating a second database or per-popout store. Order backups consistently with successful source writes, including live and detached completions. An older delayed callback must not replace a newer successful backup. Define source-write failure and backup-write failure as different results; a backup failure does not undo a source write.
|
||||
|
||||
**Tests:** exact payload identity, source failure preserving prior BAK, backup failure, empty scene, trailing supersession, slow older versus newer write, source close immediately after handoff, purge/clear with queued work. Verify durable backups are never treated as disposable preview cache. Keep recovery reporting plugin-owned and privacy-preserving.
|
||||
|
||||
### Checkpoint 7 implementation record — ordered exact-payload BAK
|
||||
|
||||
Every successful drawing persistence path now schedules recovery data from the immutable text and non-empty-scene eligibility captured by that operation. `ViewPersistenceQueue` schedules BAK only after its detached or replacement-owned migration `vault.modify()` resolves. A source failure, missing/recreated target, discarded or expired migration, and invalid request therefore cannot advance BAK. The queue never consults a retired view or later live scene.
|
||||
|
||||
Normal live `super.save()` and the direct main-realm migration write retain their existing persistence mechanisms, but their BAK scheduling now occurs immediately after successful completion and before releasing the shared per-path write lease. This closes an ordering gap in which a newer source write could previously complete and schedule its backup before an older live continuation scheduled afterward. All three paths use exact `PreparedSave.text`; the old live path no longer recaptures `lastSavedData`. The existing 50 ms delay and `hasNonDeletedElements` safeguard are unchanged.
|
||||
|
||||
The established main-window `ImageCache` and `BackupPersistenceQueue` remain the only BAK store and scheduler. Because successful source writes schedule while still ordered, its one-active/one-newest-trailing policy cannot allow an older delayed callback to replace a newer successful backup. Backup scheduling or IndexedDB failure is reported through its own `ImageCache` logging path and does not turn a confirmed source write into a source-persistence failure. Existing rename handling flushes pending BAK before moving the key, backup removal cancels pending work for the path, and clearing backups cancels all pending work before clearing the durable store. This remains in-memory scheduling rather than crash durability; no new retry loop, store, view reference, or popout-owned database was introduced.
|
||||
|
||||
Recovery validation exposed one stale-view callback independent of BAK generation: after corrupt-data handling called `setMarkdownView()`, the later confirmation callback still referenced `this.app`, although that originating `ExcalidrawView` could already be retired. The callback already captured stable `plugin`, `file`, and `leaf`; the restore write now uses `plugin.app.vault.modify()` as well. This changes no restore target or prompt policy and removes the dead-view dependency that made the first confirmation click reject.
|
||||
|
||||
`check-view-persistence-queue.mjs` now proves exact payload/order for detached and migration completions, source failure preserving the prior BAK, ineligible empty-scene persistence preserving it, and independent backup-scheduling failure. `check-backup-persistence-queue.mjs` proves pending latest-payload replacement, a newer trailing payload behind a slow active write, failure isolation with later progress, and cancel-all behavior used by backup clearing. Focused lint, unused-symbol lint, the persistence classifier/snapshot/routing checks, production build, bundle syntax, and `git diff --check` pass. `ExcalidrawView.ts` retains exactly its established 18 lint findings with none in the changed range, and Rollup retains 33 established circular warnings. Revised candidate bundle: 4,913,587 bytes, SHA-256 `ccd00809e6b87ef4b05bac43bd389f845e66d0a4ffd3212b47c5518b29737e53`. Runtime acceptance remains pending.
|
||||
|
||||
**Checkpoint 7 runtime gate:** use disposable drawings because recovery is deliberately exercised. First make a non-empty edit, save normally, wait for the short BAK delay, deliberately corrupt only the disposable drawing JSON in Markdown mode, and verify the first confirmation click restores the exact last successfully persisted scene without an unhandled rejection. Repeat after editing and immediately closing an Excalidraw tab, and after a dirty popout → main migration, to cover both detached paths. For ordering, make distinct rapid changes from two open views, let persistence settle, corrupt the source, and verify the recovered BAK matches the final disk state rather than an older completion. A BAK cannot merge edits from views that were already divergent when independently closed; that is a synchronization/convergence limitation, not a backup-order guarantee. Establish a known non-empty backup, then persist an empty scene and verify that later recovery retains the prior non-empty backup. Finally smoke-test saving followed immediately by renaming the drawing and confirm recovery is available at the new path. There must be no save stall, dirty ping-pong, viewport movement, serious source-persistence notice, duplicate backup prompt, or BAK stored under the retired path. Automated injection covers source/backup failures and clear/cancel ordering; do not manufacture an IndexedDB failure in the primary vault.
|
||||
|
||||
**Checkpoint 7 runtime acceptance — 2026-09-13:** the maintainer accepts the revised candidate for commit. Small-drawing synchronization and recovery worked. Aggressive testing with two already-divergent very large views produced a BAK containing the final independently persisted snapshot rather than a union of both views; this is the documented non-merge limitation of complete-snapshot persistence and does not contradict BAK payload/order semantics. The asynchronous first-click recovery failure was traced to and corrected as described above. Checkpoint 8 may begin after the checkpoint 7 commit.
|
||||
|
||||
## 11. Original checkpoint 8 — same-file edit ownership gate
|
||||
|
||||
Read the complete entry/flush/release paths in `CustomEmbeddable.tsx`, `MarkdownImageEditor.ts`, and the view's self-edit guard methods. Identify whether ownership is view-local, per file, or shared between paths before selecting storage scope; changing scope to plugin-global is a behavior change, not an accessor rename.
|
||||
|
||||
Specify idempotent `acquire(ownerId)`, `release(ownerId, graceMs)`, `hasActiveOwners`, `isInGracePeriod`, `isBlocked`. Different simultaneous editors need distinct IDs; repeated acquire from one owner must not leak a counter. Final-owner release starts the relevant grace period; reacquire cancels/replaces only the appropriate release state. Old timers must not unblock a new owner or a different file. Distinguish editor flush completion from its UI closing.
|
||||
|
||||
Resume pending latest-state synchronization after release/grace without another modify event. Preserve raw Markdown and explicit bypass/force-save semantics. Replace clear/re-arm workarounds only after their original ordering is reproduced by the new gate. Ensure editor teardown releases ownership even on failed saves, without claiming the failed content persisted.
|
||||
|
||||
**Tests:** two overlapping owners, switching image editors while the old one flushes, Canvas self-embed plus image editor, reactivation during grace, final Markdown modify during grace, external drawing change held pending, navigation/close/migration, and touch edit/exit on a physical mobile device. Add no new debounce duration without measured need.
|
||||
|
||||
### Checkpoint 8 implementation record — view-local multi-owner gate
|
||||
|
||||
`ViewSemaphores.embeddableIsEditingSelf` and its single reset timer are replaced by a view-owned `SameFileEditGate`. The gate keeps idempotent active-owner identities and independent per-owner grace records. Reacquiring an owner cancels only that owner's pending release; timer callbacks verify their exact timer identity before deleting state, and each timer is cleared through the `Window` that created it. Destruction cancels every pending release and active owner. The existing 2,000 ms release grace is retained; no new delay or plugin-global lock was added. The no-argument view methods preserve their former compatibility behavior, while new feature-owned callers use explicit identities.
|
||||
|
||||
Canvas/back-of-note ownership is keyed by Excalidraw element ID and is released by edit exit, startup failure, node removal, factory purge, or view teardown. Canvas edit entry is fenced by a per-node request identity across its pre-edit force-save: exiting or removing the node during that await invalidates the continuation and releases ownership before `node.startEditing()` can run. The Markdown-image editor assigns one unique controller ID and holds it across render, force-save, and raw-data refresh. Selection without a Markdown image, controller invalidation/handoff, and close release that exact controller. Old and new controllers therefore cannot clear each other's ownership while an editor flush is in flight. The prior Markdown-image clear/re-arm sequence around `reload()` is removed because reload no longer mutates ownership.
|
||||
|
||||
When a same-file owner blocks a drawing modify, `reload()` may refresh the raw Markdown envelope but now also arms the existing one-per-view latest-state synchronization marker. Its existing acquisition loop waits through all active owners and grace records, then rereads the latest Vault contents before parsing and reconciliation. No modify event is consumed merely to end a grace period, and no extra event or rescue edit is required after release. Force-save bypass semantics, raw `.excalidraw` routing, incremental merge behavior, viewport protection, and non-undoable incoming publication remain unchanged.
|
||||
|
||||
Initial runtime validation exposed one migration boundary not covered by the normal drain. A back-of-note modify could be pending behind the gate when the source was moved to a new window. Migration invalidated that synchronization, captured the drawing, and later serialized it against the source view's older `data` envelope; the delayed migration write could therefore remove Markdown already visible from the Vault. Whether this interleaving predates checkpoint 8 is not inferred, but it fails checkpoint 8's required migration gate. The source still captures and synchronously unmounts before its first await. After unmount, a Markdown migration save now honors the already-established same-file grace when necessary and rereads the current Vault text before serialization, combining the captured scene with the latest Markdown envelope. Compatibility-mode JSON and migrations without evidence of pending same-file synchronization retain their existing path.
|
||||
|
||||
The next large-scene runtime test demonstrated a deletion after a Markdown-image editor in view A was reopened while view B had a new shape not yet visible in A. An owner-specific pre-save reconciliation was implemented as an experiment, but its next runtime test failed earlier: after leaving the editor in A and adding the shape in B, the shape was removed as soon as A's Markdown-image update reached B, before the editor was reopened. That result rejects the experiment and does not establish its proposed stale-save explanation. The complete tracked experimental state is preserved in `refs/stash` as object `8e69125349180b35fc4a534801bbbd79b430e688` (recorded as `stash@{0}` when stored); use the object ID because stash indices move, and do not reapply it as a group. The owner-specific bypass, active-image preservation, accepted-text mutation, and added pre-save calls have been removed. The independently confirmed migration-envelope correction and the core gate remain.
|
||||
|
||||
Temporary `EXCALIDRAW_PERSISTENCE_8` diagnostics now record one fully rendered console string per event. They cover same-file ownership acquire/release, dirty revisions and scene counts, save start/result, modify routing with receiver dirty/busy state, full reload/defer/completion, synchronization request/read classification, and incoming/local/merged counts. Their sole first gate is the simpler failure: edit a Markdown image in A, click B so the editor clears, add one distinct shape, and stop when the Markdown update removes it. Copy the complete filtered trace from before the handoff through deletion. The decisive first question is whether B took `full-reload` while its local shape was not yet represented as dirty, or entered `incremental-sync` and lost the shape during or after merge. Do not add another reconciliation rule until the trace establishes that transition.
|
||||
|
||||
The first supplied trace rejects both branches of that initial diagnostic question. Receiving view `cd0e817d0c5008b2` records its local edit as dirty and increases from 4,421 to 4,422 elements at sequence 128. It then selects `incremental-sync` at sequence 129 and acquires synchronization with all 4,422 elements still present at sequence 133. No `sync-read`, `sync-merge-start`, `sync-scene-updated`, full reload, or reload completion appears before the captured trace ends. Source view `f34f52c2bd1b4522` independently completes a 4,421-element write. Therefore the evidence does not attribute the deletion to routing or the merge; either the deletion occurs after the last captured event or another scene-publication path is responsible. Instrumentation now also covers every view-wrapper element publication plus `setViewData()` and `loadDrawing()` entry/publication, without changing their behavior. The next capture must include at least five seconds after the visible deletion so an already-running Vault read/parse can finish and log its outcome.
|
||||
|
||||
The expanded trace establishes the first destructive transition. View B records its local shape as dirty and increases from 4,420 to 4,421 elements at sequence 27. Its incremental synchronization then merges A's 4,420-element file while retaining all 4,421 live elements at sequences 40–44. A later Markdown-image-editor handoff performs `reload(false, file)` in B and completes with 4,421 elements at sequences 70–74. That successful non-full reload nevertheless clears `textFileViewLoadedFile`. Consequently, the next ordinary same-file `TextFileView.setViewData()` reports `sameLoadedFile=false` at sequence 119, enters new-load initialization, and publishes A's 4,420-element disk snapshot over B's 4,421-element live scene at sequence 123. This is the observed deletion; neither the modify route nor incremental merge removed the shape.
|
||||
|
||||
The corrective rule is deliberately scoped to that boundary: a successful non-full reload triggered for the current modified file retains `textFileViewLoadedFile === this.file`. Such a reload refreshes the Markdown envelope while intentionally retaining the reconciled live scene, so the following base-class delivery is a duplicate bridge notification and must take `setViewData()`'s existing same-file early return. Full reloads, settings reloads, initial/different-file loads, compatibility behavior, modify routing, and merge policy retain their existing marker behavior. `shouldRetainLoadedFileAfterReload()` makes this two-input decision executable; its check covers the exact case plus full-reload, non-modify, and combined negatives.
|
||||
|
||||
The maintainer confirms both targeted scenarios pass: the simple editor-handoff/add-shape case and the extended reopen-editor/**Render now** case. The traces corroborate the outcome: same-file base deliveries report `sameLoadedFile=true` and take the early return, while incremental merges retain 4,421 elements and later propagate that union to the other view. No destructive 4,421 → 4,420 publication recurs.
|
||||
|
||||
All temporary `EXCALIDRAW_PERSISTENCE_8` source instrumentation and its helper are removed. Searches of `src/` and the rebuilt bundle contain no prefix. `check-same-file-edit-gate.mjs` covers repeated acquire, overlapping Canvas/Markdown owners, independent grace expiry, reacquisition in a different owning window, stale callback rejection, same-owner release refresh, legacy release cancellation, unknown release, and teardown. Reload-policy, snapshot, content-classification, modify-routing, detached-persistence, and backup-queue checks pass. Focused lint is clean outside the established 18 findings in `ExcalidrawView.ts` and one in `CustomEmbeddable.tsx`; unused-symbol lint, production build, bundle syntax, and `git diff --check` pass with the established 33 Rollup circular warnings. Clean candidate bundle: 4,915,827 bytes, SHA-256 `555d6a2aeae81d8dbc6644342ecdde95126c311d8fcc16df1038588e11eaddcd`. Broader checkpoint-8 runtime acceptance remains pending.
|
||||
|
||||
Subsequent broad runtime validation retained all changes, including the previously failing Markdown-image/shape interleavings. One migration boundary remains unresolved: after editing a Markdown image and immediately migrating its tab to a popout, the main-workspace peer displayed the serious-save warning and `ViewPersistenceQueue` reported `Migration persistence handoff expired before replacement`. The expiry proves that a source save registered an immutable persistence handoff and no matching consumer removed it during its 15-second lifetime. It does **not** prove why. Static inspection identifies a contract asymmetry worth measuring but not yet changing: source registration is selected from the source package window, while `setViewData()` attempts persistence consumption only when the replacement reports `isInMainObsidianWorkspace`. A delayed or absent replacement `setViewData()`, an early same-file return, or a target mismatch remain possible.
|
||||
|
||||
Temporary `EXCALIDRAW_MIGRATION_HANDOFF` diagnostics therefore cover only the decisive boundaries and emit one complete copyable string without paths or contents: callback source/destination realm and relevant state; save flush and source registration; close/replacement request; replacement `setViewData()` entry/early return and destination realm; and queue register, consume attempt/match/miss/target mismatch, and expiry. They do not alter the 15-second TTL, queue reservation, migration branch, write timing, or warning policy. Reload-policy, same-file-gate, and persistence-queue checks, focused diagnostic/queue lint, unused-symbol lint, production build, bundle syntax, and `git diff --check` pass. The instrumented bundle is 4,919,089 bytes with SHA-256 `d1369924a12c095a9f31cab930347a01e673e13c8c5b81c363980a4136002ce7`; Rollup retains 33 established circular warnings. The next gate is the exact immediate Markdown-image edit → tab migration reproduction. If the warning appears, wait beyond 15 seconds and copy all strings containing the prefix from before migration through expiry. Do not lengthen the timeout or broaden consumption until this trace identifies the missing transition. Remove the diagnostics before checkpoint-8 commit.
|
||||
|
||||
The resulting trace proves an ordering failure rather than a timeout or destination-realm failure. For leaf `cd0e817d0c5008b2`, popout→main migration began clean at 340,322 ms, closed and requested its replacement by 340,398 ms, and the replacement checked an empty persistence queue at 340,808 ms. A Markdown-image owner invalidation that had escaped the migration wait then completed its forced save against the retired source: it registered operation 1/revision 39 at 342,252 ms, 1,444 ms after the only consumer check. With no later replacement to consume it, the reservation expired exactly at 357,252 ms. The stack identifies `MarkdownImageEditorController.invalidateOwner()` reached from its view-attachment path. Earlier dirty popout→main migrations in the same trace demonstrate the intended order: registration precedes replacement creation and the matching consumer removes the handoff within tens of milliseconds.
|
||||
|
||||
The correction makes Markdown-image invalidation part of the migration boundary. Migration now starts or joins the active controller's invalidation synchronously before capturing API-owned state. The nullable completion reports ownership synchronously, so the migration retains a save snapshot even if the editor flush has not yet advanced dirty state. It then unmounts the source React root before its first `await`, awaits the editor invalidation, and only then proceeds through save flush, source close, and replacement creation. Thus the editor's forced save must either finish/register before replacement `setViewData()` or fail within the awaited owner operation; it cannot register after the consumer has passed. The invalidation path also skips its normal post-save `reload(false, file)` for a closing or migrating source runtime. No queue TTL, persistence-consumption guard, write ordering, or fallback write was changed.
|
||||
|
||||
Reload-policy, same-file-gate, and persistence-queue checks pass. Focused lint is clean for the diagnostic, queue, and Markdown-image editor; `ExcalidrawView.ts` retains exactly its established 18 findings. Unused-symbol lint, production build, bundle syntax, and `git diff --check` pass with the established 33 Rollup warnings. The corrected instrumented bundle is 4,919,403 bytes with SHA-256 `5e7f731476669c4853b84def675fdd748af17a605684581977cbc80820d0ea57`. Keep diagnostics for the runtime gate: repeat rapid Markdown-image editing and popout→main migration until the formerly rare branch is exercised. For a source save, the same leaf must show `persistence-register` before replacement `persistence-consume-match`; there must be no `persistence-expired`, serious-save warning, lost content, or source reload. Remove diagnostics before checkpoint-8 commit.
|
||||
|
||||
The maintainer then stress-tested repeated Markdown-image edits and main↔popout migration and could not reproduce an error or lose changes. The trace repeatedly exercises the exact popout→main handoff boundary. Source registrations occur before `migration-editor-unload-complete`, save flush, source close, and replacement request; each replacement then consumes the same leaf's pending handoff. Several complete examples include operations/revisions 1/37, 1/40, 3/62, 3/82, and 1/10. The slowest captured replacement did not enter `setViewData()` until approximately 11.3 seconds after registration and consumed with 2,954 ms left on the unchanged TTL, while ordinary cases consumed within roughly 60–130 ms. There is no expiry event. This directly validates the new register-before-replacement invariant under both common and delayed replacement timing.
|
||||
|
||||
All temporary `EXCALIDRAW_MIGRATION_HANDOFF` source instrumentation and its helper are removed, and searches of `src/` and the rebuilt bundle contain neither the prefix nor helper symbol. Reload-policy, same-file-gate, persistence-queue, save-snapshot, content-classification, file-modify-routing, and backup-queue checks pass. Focused lint is clean for the queue and Markdown-image editor; unused-symbol lint, production build, bundle syntax, and `git diff --check` pass with the established 33 Rollup warnings. Clean checkpoint-8 candidate: 4,916,026 bytes, SHA-256 `e2851c6b6cddd219d7ff86bb931b38710426350c795cac8daea6acfd6eac3e74`. Checkpoint 8 awaits explicit commit direction; do not restore either temporary diagnostic helper.
|
||||
|
||||
**Remaining checkpoint 8 runtime gate:** retain the accepted back-of-note paragraph → immediate **Move to new window** result. Use two small side-by-side views to hold a back-of-note embeddable active in A, edit the scene in B, exit the embeddable, and make no further input; A must receive B's pending scene change after the grace period, remain viewport-stable, and settle clean. Repeat Markdown-image switching, hiding/reopening the sidepanel, and closing it during a save. Then overlap a Canvas self-embed and the Markdown-image editor so releasing either one alone cannot unblock synchronization; release the final owner and verify the newest Vault state appears without another modify or force save. Reactivate an owner during its grace period and verify no early reload, loss, dirty ping-pong, or undo entry. Repeat navigation away/close and the distinct **Open in new window** path. Finally run the alternating-edit large-scene smoke test and one physical-mobile touch edit/exit. The highest-risk remaining failure is an owner leak or premature final-owner release; either would leave synchronization permanently blocked or allow a destructive same-file reload during overlapping editors.
|
||||
|
||||
## 12. Original checkpoint 9 — finish the normalized snapshot contract
|
||||
|
||||
Extend accepted 9a/5b.3 rather than recapturing the live API after persistence. `PreparedSave` should retain the normalized scene and settings/input identity needed by secondary outputs, as well as exact source text. Normalization may clear runtime file payloads; preserve or resolve the corresponding export assets without reading a later live view's scene.
|
||||
|
||||
Specify ownership of embedded-file metadata, Markdown/equation references, deletions, selection, app-state export options, and file path. Reference-based external assets may themselves change while exporting: document whether fidelity means source-scene revision or also frozen dependency contents. Do not promise historical external-asset bytes unless captured; avoid embedding all large image payloads by default. Persisted unknown/custom fields must survive.
|
||||
|
||||
**Tests:** full-scene versus selected export, parsed/raw text, equations, Markdown images, PDF crops, app-state-only edits, deleted elements, normalization during concurrent editing, migration, and peak retained memory while one operation plus a trailing operation exists. Releasing a view must not leak a snapshot through callbacks.
|
||||
|
||||
### Checkpoint 9 implementation record — detached normalized export input
|
||||
|
||||
The save capture now records the source file creation time and the export settings that can affect automatic secondary output: theme, embedded-scene policy, padding, scale, background, internal-link handling, and mask status. Checkpoint 9 initially reused an already-open export dialog when present. Checkpoint 10 supersedes that behavior for automatic output: every save reads current frontmatter/plugin helpers directly, while manual exports retain dialog state. This captures the choices associated with the saved revision without retaining a dialog.
|
||||
|
||||
`ExcalidrawData.syncElements()` normalizes the save-owned cloned scene and, in the normal Markdown format, clears `scene.files` after synchronizing assets. `SaveSnapshot` therefore keeps a separate cloned `exportFiles` collection captured before normalization. `createPreparedSave()` runs only after serialization and creates a second detached scene containing the normalized elements/app state plus those captured binary payloads. It also detaches deleted elements, selected IDs, and export options. Later API edits, continued normalization, or mutation of the temporary save snapshot cannot change the prepared scene. Reference-based Markdown/PDF/external dependencies remain references resolved at export time; this checkpoint does not promise historical dependency bytes.
|
||||
|
||||
The heavy `PreparedSave` is operation-scoped. `ViewSaveCoordinator` and content classification now retain a separate `PreparedSaveIdentity` containing only operation/revision/path, exact serialized text, and non-empty status. This preserves exact-content echo classification and BAK eligibility without indefinitely retaining a second 4,400-element scene after save completion. Checkpoint 10 may transfer the heavy prepared value into a plugin-owned autoexport request, but must release it after the active/trailing export settles and must not make source persistence await rendering.
|
||||
|
||||
Automated validation covers capture-before-normalization file preservation, save-time normalized element changes, detachment of prepared scene/deletions/selection/options, and removal of heavy scene fields from retained identities. Snapshot, content-classification, reload-policy, same-file-gate, persistence-queue, modify-routing, and backup-queue checks pass. Focused lint, unused-symbol lint, production build, bundle syntax, and `git diff --check` pass with the established 33 Rollup warnings. Candidate bundle: 4,917,634 bytes, SHA-256 `d69ccc4e2b9d5350f75c3b005f6c4c661d2b6aca006f78a2738e48a88d31e9cb`.
|
||||
|
||||
**Remaining checkpoint 9 runtime gate:** save the 4,400-element/500+-Markdown-image fixture repeatedly and compare peak, settled, and explicit-GC memory across several cycles. A temporary peak is expected because the operation owns both its working snapshot and final detached prepared scene, but settled memory must not rise monotonically. Verify parsed Markdown and compatibility/raw drawings containing a normal image, Markdown image, equation, links/bindings, deleted elements, and selection changes; save while making a newer edit, reopen, and require the newer dirty revision to survive the older completion. Repeat side-by-side alternating edits, dirty close, dirty **Move to new window**, and **Open in new window** as regression smokes. Changing export settings/frontmatter before save must not affect source persistence; matching autoexport output is checkpoint 10's acceptance gate, not checkpoint 9's.
|
||||
|
||||
**Checkpoint 9 runtime acceptance — 2026-09-13:** the maintainer reports all requested persistence, side-by-side, migration, raw/parsed, and large-scene tests passed. Memory returned to its original value after explicit garbage collection, confirming that the coordinator's lightweight retained identity does not pin the heavy prepared scene.
|
||||
|
||||
## 13. Original checkpoint 10 — autoexport fidelity, then ordering
|
||||
|
||||
**10a:** Make automatic `saveSVG`, `savePNG`, and raw `.excalidraw` output consume the successful `PreparedSave`, including normalized scene/options/path. Inspect `ViewExportManager`'s downstream `loadFilesForExport` and option getters: passing only a scene argument is insufficient if they still consult a later live model. Preserve manual exports' live-scene behavior and existing autoexport trigger policy, including blur and forced-save distinctions. Never export a failed/merely handed-off source request as a successful source revision.
|
||||
|
||||
**10b:** Add one active export and one newest eligible trailing export per source/format/theme, ordered by the validated source-persistence identity. Per-view revision maximum is invalid. Check resolved output-path collisions across formats/themes/renames too. Serialize or reject obsolete completion before the final output write so a slow old render cannot overwrite a newer export. A queued old autoexport must not write to a renamed/recreated target without an explicit path policy.
|
||||
|
||||
Do not make source persistence wait for slow image rendering/export completion. Detached autoside-effect behavior must be specified separately; never retain a retired view merely to finish an export. Raw `.excalidraw` autoexport can participate in existing modify/compatibility routing; test that it does not create another feedback loop.
|
||||
|
||||
**Tests:** N saving while N+1 is edited, slow N rendering versus N+1, two source views, light/dark outputs, source failure, export failure with newer trailing success, rename, close, manual export during queued autoexport, and matching exported elements to the saved source scene rather than the latest API scene.
|
||||
|
||||
### Checkpoint 10 reviewed action plan and implementation record
|
||||
|
||||
The first checkpoint-10 draft is rejected as a commit candidate. Although it rendered the prepared scene, it still completed through the originating `ExcalidrawView`. Dirty close and migration returned before scheduling output, so their persisted drawing revision produced no image exports; a view retired during rendering also made `getHookServer()` dereference cleared plugin/EA state. The draft retained mutable `EmbeddedFile` descriptors, had no cross-save completion order, duplicated alternate-theme asset preparation between SVG and PNG, and left `createOrOverwriteFile()` exposed to a check/create race. Do not restore that view-owned completion model.
|
||||
|
||||
Implement and retain the following sequence as one revised checkpoint-10 candidate:
|
||||
|
||||
1. **Freeze render inputs at save capture.** `PreparedSave` owns the normalized scene, autoexport policy, export options, and—when SVG/PNG rendering is enabled or a trigger hook may enable it—detached data-only embedded-file states. Raw-only, autosave, and no-output saves do not pay that registry-copy cost. The state includes cached light/dark data URLs, resolved path/link metadata, color map, PDF crop/render scale, Markdown-image source, equation source, Markdown render defaults, and PDF scale. Copy nested mutable records both into `SaveSnapshot` and from snapshot into `PreparedSave`; never share the live `EmbeddedFile` object. Immutable data-URL strings may be shared. External Markdown/PDF/image file bytes remain reference-resolved at execution time and are explicitly not a historical-byte guarantee.
|
||||
2. **Materialize view-dependent policy before retirement.** While the source view is valid, run `onTriggerAutoexportHook` and `onImageExportPathHook`, capture the final normalized destination paths, and reduce a request with no enabled outputs to a lightweight persistence barrier. Preserve the hook's historical extension values: a one-theme default path remains `.svg`/`.png`, while the hook receives `.light.svg`, `.dark.svg`, `.light.png`, or `.dark.png`; paired outputs use their suffixed paths and extensions. Hook failure must be contained and must fall back to a barrier rather than cancel or reclassify source persistence. `onImageFilePathHook` remains exclusively on the image-import path and is unchanged. For detached close/migration, hook materialization necessarily occurs before the final write, because retaining the hook server would retain view/runtime state; normal live-save hooks still run after the established source-write boundary.
|
||||
3. **Publish from every successful persistence route.** Normal live `super.save()`, direct main-realm migration writes, replacement-owned migration handoffs, and ordinary detached close all submit the prepared render request only from their established successful-write boundary. `ViewPersistenceQueue` invokes its completion callback after the exact write and BAK scheduling but before releasing per-path order. Completion-callback failure is isolated from the already successful source result. A merely registered handoff, failed write, missing/recreated source, or known no-write force/reload branch submits no render request. Saves for which automatic output is intentionally disabled submit only a lightweight barrier so an older active export cannot later claim to represent the newest persisted source.
|
||||
4. **Own execution in the plugin/main realm.** `AutoexportCoordinator` retains no view, `Window`, DOM, React root, API, export dialog, package lease, or hook callback. It re-resolves the captured source path and creation time before rendering and again immediately before output writing. A renamed, deleted, or same-path-recreated source cancels the old request; it is never silently retargeted. Heavy work starts on a main-window task after queue order has been assigned, allowing source persistence to release its path lease without synchronously cloning or stringifying the large scene. Plugin unload invalidates scheduled, trailing, and not-yet-writing work so a previous plugin runtime cannot publish later; an already-issued Vault write cannot be canceled.
|
||||
5. **Bound and order output work.** Source identity is `path + creation time`, and enqueue order comes from the accepted physical source-persistence boundary rather than incomparable per-view revisions. Keep one active whole-request render and one newest trailing request per source; replacing a trailing request releases its destination claims. A global accepted sequence also tracks every hook-resolved destination, covering collisions across source views, source files, formats, and themes. Recheck source freshness and destination freshness inside a per-destination async lock immediately before the final Vault write. Thus an old render may finish computation, but it cannot overwrite a newer accepted destination. If multiple outputs in one request resolve to one path, the last planned output wins without rendering the displaced formats. Rendering or diagnostic failure must not strand the trailing request.
|
||||
6. **Reuse work and make final writes race-safe.** Raw `.excalidraw`, SVG, and PNG outputs for one source revision execute sequentially, bounding concurrent large-scene memory. Each render receives a fresh scene clone, but the coordinator prepares theme-dependent assets only once per theme and reuses that result across SVG and PNG; the captured source-theme data URLs are reused without reloading. Alternate-theme preparation recreates mutable loader descriptors from detached state and uses captured Markdown/PDF render defaults. `createOrOverwriteFile()` converts `Blob` before inspecting the target, tolerates a concurrently created output folder, and recovers a file-create race by resolving and modifying the file that won creation. Existing manual export commands remain current-live-scene operations and keep their established hook path.
|
||||
7. **Resolve live settings and prioritize migration/UI work.** Automatic save capture reads export theme, background, padding, scale, embedded-scene, internal-link, and mask policy directly from current plugin settings/frontmatter helpers; it never reads the potentially long-lived `ExportDialog`. Manual commands continue to honor their live dialog state. A successful migration write immediately submits a lightweight source barrier, invalidating older output without starting a render. Its render request is held by leaf identity until the replacement view's existing `setViewData()` load completion reports success for the same file path. Load failure/path mismatch discards the render, and a 60-second main-realm timer only cleans up an abandoned record; it is not used to guess migration completion. All automatic render requests share one global execution lock and yield a browser task before each requested format, allowing input, paint, and lifecycle tasks between raw/SVG/PNG work. One Excalidraw SVG or PNG render remains synchronous main-thread work and cannot be preempted or honestly described as worker/background execution; source persistence and migration completion never await it.
|
||||
8. **Coalesce the complete save batch before rendering.** First-active/newest-trailing export queuing bounds memory but does not prevent an early snapshot from rendering while a large drawing still has trailing saves. Each view-owned `ViewSaveCoordinator` therefore marks its complete save-loop lifetime against the plugin-owned `path + creation-time` source identity. Detached and replacement-owned physical writes mark the same activity boundary. Every successful persisted snapshot still submits an immediate lightweight barrier, so an older render can never write after the newer source state is accepted, but the detached render request remains only as the newest pending state. Rendering is released after all known activity for that source reaches zero and a 500 ms quiet-settle timer completes; a newer activity or persisted snapshot cancels/restarts that timer. Autosave now captures and publishes its prepared render state instead of a no-output barrier, ensuring a burst whose last physical write is autosave can still produce output matching the final persisted drawing. If a previous batch's non-preemptible renderer was already executing before a genuinely new edit burst began, it may finish computation, but source/destination guards prevent its obsolete write and the new batch renders once it settles.
|
||||
|
||||
The ordering unit covers active N, replaced N+1, newest trailing N+2; cross-source destination collision; a newer no-output barrier; render failure followed by trailing success; logger failure containment; and same-destination serialization with independent-destination progress. Snapshot validation mutates live and intermediate embedded-file metadata/defaults and proves that the prepared request remains detached. Detached-persistence validation proves that only successful writes publish completion and that a completion callback cannot change a successful persistence result.
|
||||
|
||||
The output still intentionally uses current external dependency bytes at execution time. SVG link conversion and file-derived CSS classes also use current Vault/metadata state. These are presentation/dependency inputs, not the saved drawing scene, and freezing their bytes or the entire metadata cache is outside checkpoint 10. If that distinction becomes user-visible, open a separately scoped design checkpoint rather than retaining a view.
|
||||
|
||||
Automated validation passes for save-snapshot detachment, save-content classification, TextFileView reload policy, same-file ownership, detached persistence and completion-callback isolation, file-modify routing, BAK ordering, autoexport coalescing/obsolescence/failure recovery/deferred start/unload invalidation, save-batch activity/coalescing, focused lint, unused-symbol lint, production Rollup build, bundle syntax, diagnostic-prefix search, and `git diff --check`. The save-batch test proves two simultaneous activities hold N/N+1, a new persisted N+2 restarts the settle timer, only N+2 is released, and a final no-output state cancels pending work. The persistence test proves detached and migration activity spans each complete physical write. `ExcalidrawView.ts` retains 17 established unrelated lint findings and none is in either changed range. Rollup reports the established 33 circular-dependency warnings and no TypeScript warning. Candidate `dist/main.js`: 4,932,865 bytes, SHA-256 `a074d3522e830bac296b46d25ccfede2cde5ffe2926bc4db19f857a1e5ba1a89`.
|
||||
|
||||
**Revised checkpoint 10 runtime gate:**
|
||||
|
||||
1. Enable SVG, PNG, and raw `.excalidraw` autoexport for one theme. Save an identifiable revision N and immediately add an obvious N+1 change while N renders. No N output may contain unsaved live N+1; after N+1 persists, every final output must represent N+1 even if N was slower.
|
||||
2. Repeat with two views of one drawing and deliberately overlap saves. Test both an already existing destination and first-time creation of missing SVG/PNG files. There must be no `File already exists`, retired-view `getHookServer`, unhandled promise, or serious-save error, and the eventual output must correspond to the last persisted request.
|
||||
3. With the large fixture, include normal images, nested Excalidraw, Markdown images, equations, PDF crops, back-of-note cards, internal/external links, bindings, and color-mapped SVG. Verify visible content in single-theme and paired light/dark output. Modify a captured embedded link/color map or Markdown/PDF render setting while an older export is delayed; the older render must retain its captured descriptor/default values, while external source-file bytes may legitimately resolve to their latest version.
|
||||
4. Reproduce the two reported durability gaps: make a dirty edit and immediately close the tab; then repeat with dirty **Move to new window**, **Open in new window**, popout-to-main migration, and switching to Markdown mode. After a short settle, source Markdown and enabled outputs must all exist and represent the persisted scene. Neither source persistence nor migration UI should wait for image rendering to finish. Separately disable/reload the plugin during a slow export: drawing persistence must remain safe and no old-runtime output/error may appear afterward; completion of secondary output is deliberately not promised across plugin unload.
|
||||
5. Exercise `onTriggerAutoexportHook` enabling/disabling formats and `onImageExportPathHook` routing each format/theme, including two outputs deliberately mapped to the same destination. Confirm the hook receives the source `TFile` and historical extension strings described above; for a same-request destination collision, confirm the last planned output is the one written. Confirm image insertion still invokes `onImageFilePathHook` unchanged. Hook exceptions or invalid paths may suppress that revision's output but must not lose the drawing, suppress BAK, or block a later valid export.
|
||||
6. Rename, delete, and recreate the source while an export is delayed. The old request must not write after source identity changes; a later save at the new/current identity must export normally. Force an output failure if practical, then make a newer save and require the newer output to complete.
|
||||
7. Trigger manual SVG, PNG, raw, clipboard, and selected-only exports while an automatic export is queued. Manual exports must continue to use the current live/selected scene and current dialog settings. Concurrent Vault destinations must not throw a create collision; manual and automatic output of the same path is not assigned a new cross-feature winner policy in this checkpoint, so record the observed final writer if testing that exact collision.
|
||||
8. Repeat several large-scene save/export cycles while recording peak, settled, and explicit-GC memory plus perceived save/close responsiveness. One prepared request, one active render clone, one theme asset set, and at most one trailing source request are expected. Settled memory must not rise monotonically, source save must not await export completion, and SVG/PNG for the same theme must not visibly perform duplicate asset-reload waves.
|
||||
9. Run a physical-mobile smoke test with one normal image, Markdown image, and equation. Automatic PNG/SVG generation must complete without Node-only assumptions or a retained desktop/popout runtime.
|
||||
|
||||
**Focused follow-up gate after initial runtime testing:**
|
||||
|
||||
1. Keep one Excalidraw view open, change **Export image with theme**, make another edit/save, and inspect the next SVG/PNG without reopening the drawing. Repeat for the opposite theme and, if used, one file-level frontmatter override. The next save must use the new setting. Then invoke a manual export and verify its open-dialog choices remain independent.
|
||||
2. Make an identifiable dirty edit and immediately use **Move to new window** in both directions. The drawing write may finish during migration, but SVG/PNG rendering must not start until the replacement view has finished loading. Repeat **Open in new window** to confirm that its two-view synchronization remains intact. A failed/abandoned replacement may omit secondary output after the bounded cleanup, but must not emit stale output or affect drawing persistence.
|
||||
3. With the large fixture and SVG+PNG enabled, interact with the destination/replacement view during export. Confirm migration itself completes before export work begins and that input/paint can progress between output formats. Individual PNG/SVG rendering may still cause one unavoidable main-thread pause. Rapidly save two different large drawings and verify their automatic renders do not overlap, source saves remain responsive, eventual outputs are current, and settled/GC memory does not rise monotonically.
|
||||
4. Repeat the reported rapid two-view test on the large drawing. Make identifiable alternating changes faster than persistence completes, then stop and wait without forcing another save. No heavy export should begin while either view still has an active/trailing save loop. After both loops and the quiet-settle period finish, exactly the newest prepared state should render; final SVG and PNG must match the persisted drawing. Intermediate `PNG too large` notices must not recur merely because obsolete save snapshots were rendered. Repeat once where the final physical write is timer-driven autosave rather than Ctrl+S/tab blur.
|
||||
|
||||
Do not commit or begin checkpoint 11 until this gate passes or any failure is causally explained and explicitly accepted. Remove any temporary runtime instrumentation before commit; the current candidate adds none.
|
||||
|
||||
**Checkpoint 10 runtime acceptance — 2026-09-14:** the maintainer confirmed that export settings take effect immediately without reopening the view, automatic output starts only after migration completes, and the final save-batch correction resolves both rapid-save findings: obsolete large-scene PNG attempts no longer surface and final SVG/PNG match the settled persisted drawing. Checkpoint 10 is accepted for commit and checkpoint 11 may begin.
|
||||
|
||||
## 14. Original checkpoint 11 — asynchronous load generation
|
||||
|
||||
Add a monotonically increasing view/runtime load generation. Each `setViewData()` entry captures generation and exact target identity before asynchronous initialization. Invalidate on replacement load, clear, close, and migration. Check after meaningful awaits and before mutations of model, raw text, API, React tree, file state, and dirty baselines. File-path equality alone fails A→B→A navigation. Disposal must invalidate work even if the field still points to the same path.
|
||||
|
||||
Keep `textFileViewLoadedFile` and its explanatory comment: it suppresses duplicate same-file TextFileView delivery, not obsolete async continuations. Coordinate with the loader's existing API/path checks rather than replacing them with one broad Boolean. Stale tasks may finish private computation and clean up their own resources, but must not clear flags/baselines belonging to the current generation. Do not serialize all loads behind a dying runtime.
|
||||
|
||||
If generation checks were required earlier by 5b, document exactly what is already covered and finish only the remaining boundaries here. Check main/popout replacement identity without violating early unmount.
|
||||
|
||||
**Tests:** slow A then fast B; A→B→A; repeated same-file `setViewData`; close during fonts/initialization/compression; migration during load; delayed asset callback from retired API; parse failure followed by valid load; physical-mobile rapid navigation. No stale task may dirty or clear the replacement drawing.
|
||||
|
||||
### Checkpoint 11 implementation record — exact-target load ownership
|
||||
|
||||
`ViewLoadGeneration` issues a monotonically increasing token containing the exact `TFile` reference plus the captured `path + creation-time` identity. A→B→A therefore cannot revive the first A continuation, and deleting/recreating a path cannot match its former target. Starting another `setViewData()` settles the previous view-load ownership promise before registering the new token. Public `clear()`, `onUnloadFile()`, `onClose()`, `onunload()`, and the synchronous beginning of `onWindowMigrated()` invalidate and settle the active token idempotently. The load's internal clear path resets content without invalidating its own token.
|
||||
|
||||
`setViewData()` checks ownership after plugin initialization, migration persistence, layout/font readiness waits, legacy/current parsing, BAK lookup and confirmation, library/React initialization, `loadDrawing()`, file-open hooks, onload-script confirmation, and settings persistence. Recovery callbacks capture the exact target file and refuse to write or reopen after invalidation. `ExcalidrawData.loadData()` and `loadLegacyData()` accept an optional current-generation predicate; they check it after compatibility-file reads, iframe confirmation, font loading, each awaited Markdown transclusion parse, and text-mode rendering before further model mutation. `loadDrawing()` rechecks after library acquisition and guarded React initialization. The final `textFileViewLoadedFile`, accepted-content identity, load messages, `isLoaded`, and migration-autoexport success are committed only by the still-current generation. Moving the loaded-file marker to this final boundary is essential: a partial A load can no longer mark A as complete and cause a replacement A delivery to take the duplicate same-file early return.
|
||||
|
||||
This generation is intentionally limited to full `setViewData()` ownership. Incremental Vault synchronization already carries `saveTargetGeneration`, path revalidation, and a latest-state acquisition loop; scene-file work already checks exact API and file path. Those mechanisms are not replaced with a broad load Boolean. An `onFileOpenHook` or user onload script is invoked only while current and the host continuation rechecks afterward, but arbitrary extension/script code already executing against a supplied live view is not forcibly canceled by this token.
|
||||
|
||||
`check-view-load-generation.mjs` proves A→B, A→B→A, explicit invalidation, exact-reference identity, and same-path recreation behavior. All established save classification, reload policy, same-file gate, modify routing, BAK, persistence, snapshot, and autoexport checks pass. Unused-symbol validation, production build, bundle syntax, and `git diff --check` pass. `ExcalidrawView.ts` retains its 17 and `ExcalidrawData.ts` its 16 established unrelated lint findings; neither has a new finding in changed ranges. Rollup retains 33 established circular warnings. After the recovery-ordering correction, candidate `dist/main.js`: 4,934,416 bytes, SHA-256 `3f629a2d7390eb1d7bf0f7ae9bcfc52fac505cc8a4bec615311f5d631a7c637c`.
|
||||
|
||||
**Checkpoint 11 runtime gate:**
|
||||
|
||||
1. Use two materially different drawings, with A being the large image/Markdown fixture. Open A, immediately navigate the same leaf to B before A finishes, and require only B to appear and remain clean. Repeat A→B→A quickly; the final A must load fully, and neither an intermediate canvas, late font notice, recovery prompt, dirty icon, nor viewport update may arrive from the first A or B continuation.
|
||||
2. Rapidly deliver the same file to one leaf by closing/reopening or switching Markdown→Excalidraw while its first load is incomplete. The newer load must finish rather than being suppressed by `textFileViewLoadedFile`. Then repeat a normal fully loaded same-file delivery/reload smoke test to confirm the established duplicate-delivery protection and checkpoint-8 Markdown-image synchronization remain intact.
|
||||
3. Start loading the large drawing and immediately close the tab; repeat by switching the leaf to Markdown, using **Move to new window** in both directions, and opening a separate popout. No retired load may clear/dirty the replacement, initialize a React root in the old document, emit a serious error, or interfere with migration persistence/autoexport. The synchronous migration unmount must remain before its first await.
|
||||
4. With disposable files, start a slow/invalid load and then navigate to a valid drawing before parse or backup recovery completes. No stale restore prompt may modify/reopen the old target. Independently open the invalid file and confirm its normal current-generation error/recovery flow still works.
|
||||
5. If a drawing has an `onFileOpenHook` or onload script, repeat rapid navigation and confirm only a current load starts the hook/script. Finally run one physical-mobile rapid-navigation and close-during-load smoke test because font, WebView, and lifecycle scheduling differ from desktop.
|
||||
|
||||
Do not commit or begin checkpoint 12 until this gate passes. The candidate adds no temporary runtime instrumentation.
|
||||
|
||||
**Checkpoint 11 runtime finding — recovery ordering:** desktop tests passed rapid A→B→A replacement, repeated Markdown/Excalidraw switching, close during load, and both migration directions. A corrupted drawing exposed one generation-related regression: the parse-error path started backup recovery and immediately called `setMarkdownView()`, whose unload correctly invalidated the same load token and thereby canceled its own BAK lookup/prompt. The candidate now keeps recovery lookup and confirmation inside the current generation and changes to Markdown only when no backup exists or recovery is declined. An independent navigation still invalidates the token, so a stale prompt cannot write or reopen the former target. Re-test both successful BAK restoration and navigation away while the recovery prompt is open before acceptance.
|
||||
|
||||
**Checkpoint 11 runtime acceptance — 2026-09-14:** BAK restoration works again, rapid target replacement and same-file mode switching complete without stale updates, close-during-load preserves changes and automatic output, and ordinary migration during load works in both directions. One deliberately extreme sequence—restore a corrupted 4,400-element drawing, migrate it before its canvas appears, then immediately migrate the still-initializing replacement back—can reach the existing post-unmount migration safety stop: `WARNING_SERIOUS_ERROR` is shown and the tab remains blank until closed and reopened. Repeatedly stacking migrations can reach the same state. The attached trace contains only the expected corrupt-JSON parse errors, the restored file remains valid, and reopening loads it correctly. This is recorded as a non-blocking reentrant-migration UX limitation, not evidence for weakening early unmount, dirty-write refusal, or generation invalidation with a timing heuristic.
|
||||
|
||||
## 15. Original checkpoint 12 — remaining flags and timers
|
||||
|
||||
Inventory every remaining semaphore/timer by owner, acquisition, release, cancellation, callback target, and durability requirement. Use a table in the completion review. Retire one cohesive group per checkpoint; do not rename the entire object while behavior is changing.
|
||||
|
||||
- Save ownership belongs to its accepted coordinator; synchronization to its accepted acquisition/drain; content identities to the tested classifier; same-file editor ownership to its gate.
|
||||
- Keep lifecycle state (closing/migrating/popout teardown), initial-load/autozoom state, and interaction throttles distinct. A single generic `isBusy` is a caller convenience, not an adequate owner model.
|
||||
- Durability timers belong to the plugin/main realm; scene-file timers to `ViewSceneFileManager`; interaction timers may be view-owned. Never transfer IndexedDB/local-storage ownership to a popout.
|
||||
- Clear timers/listeners idempotently, protect callback generation, and verify there is no wait cycle between save, sync, gate release, and unload. Use existing Obsidian registration helpers where appropriate.
|
||||
- Path-scoping residual global embed invalidation and Canvas capability hardening remain lower-priority separate changes. Do not reopen the accepted image-render deduplication fix without new evidence.
|
||||
|
||||
**Tests:** main-window close/navigation, restored/new popout, dirty migration, last-popout destruction, mobile navigation, repeated enable/disable, no late callback after release, and the full first-edit/two-view convergence gate once cleanup finishes.
|
||||
|
||||
### Checkpoint 12 ownership inventory and staged execution
|
||||
|
||||
This inventory is the boundary for checkpoint 12; it prevents a broad semaphore rename from hiding unrelated lifecycle changes. “Durability” means the state can affect whether or when drawing text reaches the Vault, not merely whether a UI callback runs.
|
||||
|
||||
| State | Current owner and acquisition | Release/cancellation and callback target | Durability classification / next action |
|
||||
| --- | --- | --- | --- |
|
||||
| `saving`, `autosaving`, `forceSaving`, `dirty` | Before 12a these were stored in `ViewSemaphores`, although every production mutation except one dirty read was already in `ViewSaveCoordinator` | Save `finally`, force-save `finally`, autosave completion, revision acknowledgement, clear/adopt baseline; callbacks target the same coordinator/view | Direct durability state. **12a accepted and committed:** moved intact to private `saveInProgress`, `autosaveInProgress`, `forceSaveInProgress`, and `dirtyFilePath`; the view's one raw dirty read now calls `isDirty()` |
|
||||
| `preventReload` | Before 12b this was a `ViewSemaphores` Boolean armed immediately around applicable live writes and by `setPreventReload()` | Consumed once by modify/reload routing or cleared by its timeout, force save, load, close, and unload | Content-convergence relevant. **12b accepted:** moved with its timer into view-owned `OwnWriteReloadGuard`. Markdown events still reach exact-content classification; raw `.excalidraw` and same-file embeddable compatibility routes are unchanged |
|
||||
| `viewunload` | Terminal view lifecycle flag set synchronously in `onunload()` | Never reopens for that instance; consumers are save, scene-loader, observer, navigation, and callback guards | Durability/lifetime boundary. Keep view-owned; later extraction may expose a lifecycle object but must preserve synchronous acquisition |
|
||||
| `windowMigrating` | Migration transaction flag acquired before source-root unmount | Cleared on explicit pre-replacement failure; successful source instance retires. Consumers include persistence policy, scene loaders, API callbacks, and close guards | Durability and realm boundary. Keep separate from `viewunload`; the accepted early-unmount protocol is not a cleanup target |
|
||||
| `popoutUnload` | Computed during `onunload()` when the last tab leaves a popout | Terminal for the retiring instance; save normalization reads it | Realm-specific durability safeguard. Keep lifecycle-owned until last-popout teardown has a dedicated tested owner |
|
||||
| `viewloaded` | Set after the view's layout-ready initialization | Terminal false→true for an instance; checked by full-load and UI rendering paths | Initial-load readiness, not durability. Candidate for later load-state extraction with no timing change |
|
||||
| `scriptsReady` | Set at the end of synchronous `onload()` setup | `instantiateExcalidraw()` waits with the existing bounded loop | Initial runtime readiness. Retain until the bounded wait can be replaced by an already-owned readiness promise without changing startup ordering |
|
||||
| `justLoaded` | Armed by `loadDrawing()` and by container-size correction | Consumed by the next Excalidraw `onChange()` | One-shot initial-publication guard affecting false dirty detection and autozoom. Keep coupled to load publication; never merge with load generation |
|
||||
| `preventAutozoom` | Armed by `suppressAutozoomOnce()` | Cleared by its existing one-second callback; read by initial-load/resize paths | Viewport-only one-shot. Later move with `justLoaded` into initial-load state, preserving public `preventAutozoom()` compatibility |
|
||||
| `isEditingText` | Armed by text edit/focus handling | Cleared by `isEditingTextResetTimer` or unload; read by mobile resize/keyboard behavior | Interaction throttle. Move only with its timer after physical-mobile validation |
|
||||
| `hoverSleep` | Armed by hover-link handling | Anonymous 500 ms callback clears it; hover paths consume it | Interaction throttle, no durability role. Candidate for a small hover-controller extraction together with `wheelTimeout` |
|
||||
| `wheelTimeout` | Wheel handler stores the current timeout handle | Replaced on wheel activity and cleared by callback/unload; hover paths check it | Interaction throttle, no durability role. Keep paired with `hoverSleep` |
|
||||
| `shouldSaveImportedImage` | Image-tool/paste paths arm it | `shouldSaveImportedImageTimer` clears after three seconds; `onChange()` schedules a forced save when qualifying files arrive | Import-to-durability bridge. Retain as its own group; test paste, Image Tool, SVG-with-bitmap, close, and mobile before extraction |
|
||||
| `warnAboutLinearElementLinkClick` | Reset during view clear; link navigation consumes and disables it | No timer; lifetime resets with loaded content | Navigation UX latch only. Move to `ViewLinkNavigationManager` in a naming/mechanical checkpoint |
|
||||
|
||||
| Timer/handle | Owner and acquisition | Cancellation / callback target | Durability requirement / disposition |
|
||||
| --- | --- | --- | --- |
|
||||
| `ViewSaveCoordinator.autosaveTimer` | View save coordinator recursively schedules against autosave interval | Reset after saves/first edit; cleared by coordinator `destroy()` | Starts durability but does not own a detached write. Remain coordinator-owned and view-lifetime bounded |
|
||||
| `OwnWriteReloadGuard.cleanupTimer` (formerly `preventReloadResetTimer`) | The view-owned guard is armed by successful applicable live writes and the two retained back-of-note compatibility calls | Re-arm cancels the previous exact timer; consume, force-save reset, load, close, unload, and `destroy()` cancel it; the current timeout clears only its own suppression generation | Convergence relevant. **12b accepted:** state and callback identity now have one owner; scheduler remains in the plugin main realm, matching the former direct `window` timer |
|
||||
| `SameFileEditGate` per-owner release timers | Gate records exact owner window and timer identity | Reacquire cancels its owner only; release callback identity-checks; `destroy()` cancels all | Convergence relevant and already correctly owned; no checkpoint-12 change planned |
|
||||
| `shouldSaveImportedImageTimer` | View import/paste latch | Replaced on new import and cleared on unload; clears import flag | Can trigger persistence indirectly; move only with its flag |
|
||||
| `isEditingTextResetTimer` | View text-edit handling | Replaced on edit and cleared on unload; clears mobile keyboard guard | Interaction-only; retain pending mobile test |
|
||||
| `semaphores.wheelTimeout` and anonymous `hoverSleep` timeout | View hover/wheel handling | Wheel handle is replaced/cleared on unload; hover timeout self-clears but has no retained handle | Interaction-only; extract together and add destruction identity before changing behavior |
|
||||
| `colorChangeTimer`, `resizeBatchTimer`, `excalidrawInitializeTimer` | View canvas-color, mobile resize, and API-initialization paths | Replaced where applicable and cleared on unload; initialization callback also checks exact API plus lifecycle flags | View interaction/load work; already bounded. Later move to their functional controllers, not a generic timer bag |
|
||||
| `ViewSceneFileManager.deferredValidationTimer` plus local loader fallback/retry timers | View scene-file manager | Manager termination clears the retained validation timer and invalidates callbacks through API/path/lifecycle checks; local timers settle/recheck their operation | Scene-loader-owned by design. Preserve ownership and exact API/path guards |
|
||||
| `MarkdownImageController` bounded completion timeout | View Markdown-image controller and owning window | Cleared when operation settles; callback resolves only that operation | Same-file editor completion boundary; retain with controller |
|
||||
| `BackupPersistenceQueue` per-path timers | Plugin/main-realm image cache queue | Reschedule/flush/cancel/cancel-all clear through recorded owner window | Durability-critical and correctly plugin-owned; no move |
|
||||
| `ViewPersistenceQueue.cleanupTimer` | Plugin/main-realm detached/migration persistence queue | Replaced/canceled by queue lifecycle; expires abandoned migration handoffs | Durability-critical and correctly plugin-owned; no move |
|
||||
| `ViewMigrationHandoffManager.cleanupTimer` | Plugin/main-realm drawing-state handoff manager | Rescheduled on registry changes and cleared on destroy | Migration-state lifetime; keep separate from persistence handoff |
|
||||
| `AutoexportCoordinator` deferred-migration timers and `AutoexportSaveBatchGate` quiet timers | Plugin/main-realm automatic-output coordination | Completion/discard/destroy clear exact records; newest source payload replaces older work | Secondary-output durability/order; accepted checkpoint-10 ownership, no move |
|
||||
| `ImageCache` purge timers | Plugin/main-realm cache owner | Cleared during cache shutdown/reinitialization | Derived-cache/BAK maintenance; never transfer to a popout |
|
||||
| `EventManager` active-leaf timers and `StencilLibraryManager.reloadTimer` | Plugin-global managers | Replaced on new events and cleared by manager teardown | UI/plugin coordination, not drawing durability; outside the first persistence-state extraction |
|
||||
| Anonymous view one-shots | Individual focus, tooltip, navigation, resize, menu, and delayed-refresh call sites | Mostly self-settling and guarded by current API/view state; not a shared state machine | Audit only when moving the owning feature. Do not consolidate unrelated callbacks merely to reduce `setTimeout` count |
|
||||
|
||||
**Checkpoint 12a invariant:** save execution ownership, autosave/force-save exclusion, and the path-qualified dirty marker have exactly one storage owner: `ViewSaveCoordinator`. Revision comparisons, save queue ordering, timer intervals, notices, visual dirty callbacks, migration decisions, and public view accessors are unchanged. The archived `TheBrain-navigation.md` script directly mutates `semaphores.saving` while explicitly labeling it a non-published API; 12a intentionally removes that unsupported internal override rather than retaining a second writable source of truth.
|
||||
|
||||
**Checkpoint 12a risk gate:** repeat ordinary edit/autosave and Ctrl+S; alternate edits between two views until settled; edit during an in-flight large save and verify the trailing revision persists; close a dirty main-window tab; move a dirty tab main→popout and popout→main; test **Open in new window**; confirm the dirty icon clears only after the latest revision is acknowledged. One paste/Image Tool smoke test ensures the untouched import latch still forces persistence. No temporary runtime instrumentation is included.
|
||||
|
||||
`check-save-state-ownership.mjs` verifies that the four retired fields are absent from `ViewSemaphores` and all view/coordinator semaphore access, and that their explicit replacements are private coordinator state. This check and all established persistence, reload, gate, routing, BAK, snapshot, autoexport, and load-generation checks pass. Unused-symbol validation, focused coordinator/type lint, production build, bundle syntax, and `git diff --check` pass. `ExcalidrawView.ts` retains exactly its 17 established unrelated lint findings. Rollup retains 33 established circular warnings. Candidate `dist/main.js`: 4,934,276 bytes, SHA-256 `f0d268ced6b49f2b8e32009d057a18d9c27cf06af29f4a15ce2e15d39dcc782d`.
|
||||
|
||||
**Checkpoint 12b invariant:** own-write reload suppression and its cleanup callback have exactly one storage owner, `OwnWriteReloadGuard`. Save serialization still clears suppression before its asynchronous preparation and arms it only immediately around the physical live write. Successful save completion retains the established bounded cleanup window; failed writes, force-save entry, scene publication, close, and unload clear the complete guard. `setPreventReload()` and `clearPreventReloadTimer()` remain public compatibility delegates. The accepted modify path is unchanged: a suppressed Markdown notification continues to the exact-content classifier, while a suppressed raw `.excalidraw` notification retains its one-shot early return. Same-file edit ownership remains exclusively in `SameFileEditGate`.
|
||||
|
||||
The extraction makes callback identity explicit without extending the suppression interval: re-arming cancels the former timer, consuming suppression cancels its pending cleanup, and a callback checks that it is still the current timer before clearing state. This removes the former possibility that an older uncancelled timeout could clear a later arm. It does not add hashing, file reads, reloads, waits, or another coordination state.
|
||||
|
||||
**Checkpoint 12b risk gate:** first verify an ordinary autosave and Ctrl+S neither reload the saving view nor move its viewport. Then alternate edits between two views of the large drawing through overlapping saves, stop, and require both views and a reopen to converge without dirty ping-pong. Exercise a forced save because that path deliberately disables suppression and may invoke its reload fallback. Open/save/reopen one raw `.excalidraw` compatibility drawing; its own write must not reload unexpectedly, while an external edit must still be observed. Finally edit a back-of-note same-file card, release it, and verify pending scene changes apply; repeat one dirty main↔popout migration/close and one physical-mobile save smoke test to catch late callbacks or owner-window assumptions. No temporary runtime instrumentation is included.
|
||||
|
||||
`check-own-write-reload-guard.mjs` deterministically covers one-shot consumption, exact-timer replacement, current-timeout expiry, consumption cancellation, explicit false state, destruction, and source ownership assertions that the Boolean/timer no longer exist in `ViewSemaphores` or `ExcalidrawView`. It and all established persistence, reload, gate, routing, BAK, snapshot, autoexport, and load-generation checks pass. Focused owner/coordinator/type lint and unused-symbol validation pass; `ExcalidrawView.ts` retains exactly its 17 established unrelated lint findings. Production and library builds, bundle syntax, source ownership search, and `git diff --check` pass; Rollup retains 33 established circular warnings. Candidate `dist/main.js`: 4,936,295 bytes, SHA-256 `a3c40836eed143b6577668d3227c20d2bd550c489781f92fb50f661243e30f5e`.
|
||||
|
||||
**Checkpoint 12b runtime acceptance — 2026-09-14:** ordinary autosave and Ctrl+S, alternating multi-view editing, forced-save behavior, raw `.excalidraw` own-write suppression plus external modification, back-of-note release synchronization, migration/close, and the remaining requested smoke tests all completed successfully. Checkpoint 12b is committed as `b9481c32`.
|
||||
|
||||
**Post-completion branch audit — 2026-09-14:** the complete branch was reviewed from merge base `8e13a180`. No temporary persistence/migration instrumentation, tracked build output, pasted attachment, or unintended runtime logging remains. The accepted managers represent separate ownership domains and no safe consolidation was identified. Cleanup removed two unused public methods (`ViewSaveCoordinator.getLastSuccessfulPreparedSave()` and the test-only `ViewPersistenceQueue.flush()`), corrected minor end-of-file whitespace and an obsolete checkpoint comment, and brought the lifecycle overview/current-status text in sync with the accepted implementation. All 12 focused lifecycle checks, unused-symbol validation, focused lint, production/library builds, bundle syntax, and cumulative diff checks pass. Rollup retains 33 established circular warnings. Final reproducible bundle: 4,936,617 bytes, SHA-256 `698e47581470b1e9a211c58bad05ed2000d56fd3097b4cb17be55856530fb73e`. `npm run madge` could not run because the `madge` CLI is not installed or declared in this checkout; the cleanup changes no imports and Rollup's graph result is unchanged.
|
||||
|
||||
**Confirmed checkpoint-10 follow-up — save-owned frontmatter:** at diagnosis, `capturePreparedSaveExportOptions()` called `getPNGScale(plugin, file)`, which read `metadataCache.getFileCache(file)` before the source write. During rapid successive writes the metadata cache can temporarily be absent or behind the save-owned Markdown envelope. A drawing whose exact text says `excalidraw-export-pngscale: 0.1` could therefore fall back to the global scale (commonly `1`), plausibly producing the observed `couldn't export to blob` on a 4,400-element scene. The correction is kept as a separate increment after 12a: parse automatic-export overrides from `PreparedSave.text`, apply them to the detached request, and retain metadata/dialog resolution for manual exports. At minimum test scale `0.1` against an intentionally missing/stale metadata cache; preferably resolve all automatic-export frontmatter options from the same saved envelope so theme, padding, transparency, embed-scene, internal-link, mask, and autoexport selection cannot split from the persisted revision.
|
||||
|
||||
**Save-owned autoexport-frontmatter correction:** automatic save capture now starts from current plugin settings rather than `MetadataCache`, parses frontmatter from the in-memory source envelope, and re-resolves it from final `PreparedSave.text` after serialization. The detached automatic request therefore owns the scale, theme, padding, transparency, embedded-scene, internal-link, mask, and SVG/PNG selection written with that exact revision. Global “both themes” still takes precedence over a single frontmatter theme, raw `.excalidraw` selection remains a plugin setting, and `onTriggerAutoexportHook` still receives and may replace the resolved automatic configuration. Manual export/dialog methods retain their existing metadata and live-dialog resolution. Malformed or absent save-owned frontmatter falls back to the captured plugin settings without blocking persistence.
|
||||
|
||||
`check-prepared-autoexport-frontmatter.mjs` proves that a save-owned `0.1` scale overrides a simulated global scale of `1` without any metadata cache, covers all other supported automatic overrides, preserves both-theme behavior, retains deprecated SVG padding fallback, rejects an invalid scale, and leaves defaults intact when frontmatter is absent. The new helper and export manager lint cleanly; all established persistence checks, unused-symbol validation, production build, bundle syntax, and `git diff --check` pass. Rollup retains 33 established circular warnings. Candidate `dist/main.js`: 4,935,817 bytes, SHA-256 `25297e75bc6623baa9ed8dc2c414e6500bba567b289b063da46d1c388af8d406`.
|
||||
|
||||
**Runtime gate:** retain global PNG scale `1` (or another deliberately unsafe large-scene value) and the drawing frontmatter scale `0.1`. Rapidly alternate edits/saves until several source writes coalesce; no PNG blob failure should occur and the final PNG must use the small scale and match the persisted scene. Then change only the frontmatter scale while the drawing remains open and verify the next automatic PNG uses it without waiting for metadata indexing or reopening. Smoke-test one manual export to confirm its dialog scale is unchanged, plus one SVG-only/PNG-only/none frontmatter transition and one both-theme export.
|
||||
|
||||
**Runtime acceptance — 2026-09-14:** the maintainer completed the rapid large-scene, live frontmatter change, manual export, and automatic-output selection tests without error. The intermittent PNG blob failure is resolved. This corrective increment is committed as `1354930d`.
|
||||
|
||||
## 16. Required handoff record after each step
|
||||
|
||||
Update the ledger with: source commit or uncommitted scope; fixture/settings and installed artifact identity; exact automated commands/results; manual cases passed/failed/not run; new invariant and evidence; remaining uncertainties; next permitted action. Record rollback/stash identity if used. Keep private reproduction material outside committed docs unless the maintainer explicitly provides a public fixture.
|
||||
|
||||
No further production behavior change without either a deterministic failing case or a causal runtime trace. No proceeding to detached persistence while checkpoint 5 still requires another edit or forced save to settle. This is a sequence of independently reviewable experiments with acceptance gates, not authorization to implement all remaining checkpoints unattended.
|
||||
@@ -0,0 +1,213 @@
|
||||
# Drawing controls, creation actions and companion reliability
|
||||
|
||||
Validation record for [plugin PR #3052](https://github.com/zsviczian/obsidian-excalidraw-plugin/pull/3052)
|
||||
and [fork PR #484](https://github.com/zsviczian/excalidraw/pull/484).
|
||||
[Sanitized case results, source identities and artifact hashes](testing-evidence/3052/results.json)
|
||||
are committed with this record; full local reports remain ignored.
|
||||
|
||||
## Tested checkpoints
|
||||
|
||||
| Component | Revision and scope |
|
||||
| --- | --- |
|
||||
| Plugin baseline | `78674a39ccf046b93b5de4155edcc871d82602cf` |
|
||||
| Complete portable/native checkpoint | `fdca179677bcabccb83e883e89026723345be67b` |
|
||||
| Final keyboard follow-up | `78782221011caa2e8eb0e5f9655f426d4bb60c01`; only production difference from the complete checkpoint is the pen-repeat guard |
|
||||
| Fork | `8260fa444f84c616d1486c2a47365c1b72c4be9a`, based on `29b11ad978d0a793f6502dcdc259f3481054c368` |
|
||||
| Extras | Clean `4bd7af3325a8059a5ca68fc3e88169507b08c773`; manifest 0.2.1, API package 0.1.1, Mermaid service 3.6.0 |
|
||||
| K-Plex in the complete native run | Clean `69eb4642dbf7bb995bff6d1b2e8409fd6e2c5046` |
|
||||
|
||||
Native host: Windows, Obsidian **1.15.1**, installer **1.14.5**,
|
||||
Electron **43.8.3**, Chromium **150.0.7871.250**. Build tooling uses Node 22.22.3.
|
||||
Only the marker-owned `.test-work/vaults/excalidraw-auto-test/` was used.
|
||||
Every sequence rebuilt, froze, installed and hash-verified its selected sources
|
||||
under the shared application-user-data lock, then restored its declared baseline.
|
||||
|
||||
## Issue outcomes
|
||||
|
||||
Maintainer follow-up, 2026-11-15: the empty-tab action is now **New Drawing**
|
||||
and enabled by default, overriding the original issue's opt-in proposal. Explicit
|
||||
persisted opt-outs remain respected; no migration overwrites existing choices.
|
||||
The creation regression now loads the actual production defaults and checks
|
||||
default visibility, independent opt-outs, host rerenders and cleanup. The native
|
||||
and portable counts below remain evidence for their explicitly named earlier
|
||||
checkpoints, which preceded this default/copy change.
|
||||
|
||||
This follow-up's production build and all 789 fast cases pass, including the five
|
||||
bundle checks and maintained-locale inflation. The strengthened real-defaults
|
||||
creation regression fails before the default change and passes afterward. This
|
||||
localized default/copy change does not alter the creation pipeline or controller;
|
||||
the earlier complete native run is not represented as a new native validation.
|
||||
The new production bundle is 5,145,119 bytes (97,761 bytes below 5 MiB).
|
||||
|
||||
The maintainer also requested a mandatory consent control for compatibility work
|
||||
with another plugin. It is canonical in `CODING_STANDARDS.md` and prominently
|
||||
linked from `AGENTS.md` and `CONTRIBUTING.md`. On 2026-11-15 the maintainer
|
||||
explicitly approved retaining the generic #3051 Extras guards and their regression
|
||||
coverage. No Lazy Loader-specific production workaround was introduced or approved.
|
||||
|
||||
| Issue | Implementation and observable evidence |
|
||||
| --- | --- |
|
||||
| [#3049](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/3049) | Prefer the physical table/cell boundary even when native images have an `internal-embed` wrapper. Preserve file, renderer-generation, document and stale-source guards. Reset `right` for in-flow phone/coarse-pointer controls. Source regressions fail before the fix. Native main/split/popout and phone/tablet cases pass for PNG and both SVG formats, repeated cells, alignment, exact source, history, fullscreen and Reading controls. |
|
||||
| [#3047](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/3047) | Independent ribbon visibility and **New Drawing** action, both on by default after the maintainer's 2026-11-15 follow-up, using the existing folder/format/template pipeline. Both settings layouts and maintained locales are covered. Earlier native main/popout creation passes; nondefault preferences and an unknown-key sentinel survive actual plugin reload and on-disk persistence. Core empty-tab actions remain present. |
|
||||
| [#3044](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/3044) | Plugin-only unmodified P toggle through the existing editor API. Exclude inputs, embeds, modifiers, composition, active drawing, view mode and retired views. Review found that repeats after selection commits could reenter pen; the strengthened state-mutating source test fails before the final guard and passes afterward. Actual repeated-key input passes in main/popout: second P selects mouse, holding it preserves selection, fresh P selects pen, input text and V still work. |
|
||||
| [#3048](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/3048) | Two fingerprinted fork conditions route normalized YouTube videos/playlists through the existing iframe instead of a guest webview. Four real-editor provider cases pass after two baseline failures. Both actual browser artifacts pass nested cross-origin offline-player fullscreen at zoom 0.5 and 2. Native main/popout tests pass iframe routing, viewport-sized HTML fullscreen and trusted player-button exit. Actual YouTube playback and physical Escape remain unverified. |
|
||||
| [#3051](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/3051) | Guard absent/incomplete Extras APIs, check versions before feature access and reject missing/non-string component versions through the normal unavailable/update path. Preserve the exact Mermaid 3.6 handshake. Native missing/incomplete API cancellation, continued drawing access, recovery and late plugin enablement pass. The original startup failure is not reproduced or claimed fixed. |
|
||||
|
||||
The [reporter's follow-up](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/3051#issuecomment-6875289427)
|
||||
says a two-plugin vault works and immediate loading avoids the approximately
|
||||
60-plugin vault's failure with Lazy Loader's 20-second delay. Its quoted
|
||||
NotebookLM explanations are not established facts: the main plugin owns the
|
||||
waiting view/layout-ready path and already converts fallback Markdown leaves.
|
||||
Controlled enablement after layout readiness works without a usable Extras API.
|
||||
Current Extras also already includes MathJax startup isolation (`6c55a9d`).
|
||||
No unrelated startup refactor or automatic closure of #3051 is justified.
|
||||
|
||||
## Maintainer-approved PNG correction
|
||||
|
||||
### Android fullscreen follow-up, 2026-11-15
|
||||
|
||||
The maintainer reports a long "Loading preview" wait on physical Android when
|
||||
Markdown preview type is PNG, while Native SVG opens quickly. Git history traces
|
||||
the fullscreen `fwidth: "1600"` / fresh-payload path to commit `14115712` in
|
||||
PR #3037; PR #3052 retained it. That path bypasses the cache and requests scale 3,
|
||||
so it can rasterize nine times the base pixel area on every opening. This is a
|
||||
confirmed unnecessary-work path, not a measured attribution of every Android delay.
|
||||
|
||||
Owned PNG images now retain a weakly keyed reference to their existing encoded
|
||||
blob. Fullscreen reuses those pixels through a new independently owned URL in the
|
||||
source document without waiting for another scene export or cache availability.
|
||||
At the maintainer's request, a fresh 3x PNG export then runs in the background.
|
||||
The viewer waits for its decode before replacing only the image, preserving the
|
||||
existing fit, zoom, pan and pointer gesture. Closing aborts deferred startup,
|
||||
embedded-file loading and subsequent raster/DOM work. An already running browser
|
||||
encoder cannot be preempted; its late result is discarded without an object URL
|
||||
or image insertion. SVG/Native SVG and unowned-payload fallback paths remain unchanged.
|
||||
|
||||
The new routing regression fails before the fix because fullscreen starts a second
|
||||
raster export. Pixel-copy coverage includes cached/uncached images, close/reopen,
|
||||
source retirement, document ownership and plugin teardown. All 41 focused
|
||||
Markdown/PNG cases, all 791 fast cases, 251 measured source cases and the
|
||||
production build pass for the first-stage checkpoint `7aedebfa`. The progressive
|
||||
follow-up adds executable swap/decode/failure/cancellation cases and native
|
||||
read-gated assertions for immediate display, 3x replacement, preserved zoom/pan
|
||||
and closing a pending export. Native embed validation and
|
||||
physical Android confirmation are recorded separately; earlier full-profile
|
||||
counts are not acceptance evidence for this follow-up.
|
||||
|
||||
Progressive follow-up source validation passes 54 focused cases, 796 fast cases,
|
||||
the production build and all five bundle checks. `main.js` is 5,147,272 bytes
|
||||
(95,608 bytes below the release target). Focused lint is clean for the viewer,
|
||||
postprocessor, PNG ownership helper and preview types. The export utility reports
|
||||
two pre-existing unsafe-`any` findings at its unchanged text-conversion code;
|
||||
no new lint finding is introduced by the cancellation checks. Before/after
|
||||
regression output is retained under `.test-work/reports/pr3052-progressive-*`.
|
||||
|
||||
Final production checkpoint `b5f97cea` passes **55 focused source tests, 797 fast
|
||||
tests and 30/30 fresh focused native cases**, with strict error/idle gates,
|
||||
cleanup and baseline restoration passing. Main, split, popout and emulated phone
|
||||
exercise PNG, SVG image and Native SVG; desktop coverage includes tray mode.
|
||||
PNG opens with the exact 248x180 / 6,316-byte displayed payload and an independent
|
||||
URL, then replaces it with the decoded 744x542 export without changing zoom/pan.
|
||||
Closing a pending upgrade prevents late insertion. Actual dimensions include
|
||||
normal export rounding. Physical Android performance remains unverified.
|
||||
|
||||
Native popout validation exposed a production bug: adopting an image changes its
|
||||
document but retains its original JavaScript prototype. The destination-window
|
||||
`instanceof` check therefore missed the owned PNG and used the blocking fallback.
|
||||
The PNG ownership record now narrows these images for cloning, upgrade/decode and
|
||||
root-image disposal. General window type guards and SVG behavior are unchanged.
|
||||
The new adopted-image source regression fails before this correction and passes
|
||||
afterward. Earlier test-gate/measurement failures, the constrained desktop run and
|
||||
the actual popout failure remain recorded in the
|
||||
[sanitized follow-up results](testing-evidence/3052/png-progressive.json).
|
||||
|
||||
The final bundle is **5,147,278 bytes**, leaving **95,602 bytes** below the release
|
||||
target. [Hosted Plugin tests](https://github.com/zsviczian/obsidian-excalidraw-plugin/actions/runs/43708519373)
|
||||
and [CodeQL](https://github.com/zsviczian/obsidian-excalidraw-plugin/actions/runs/43708519308)
|
||||
pass for `b5f97cea`. The tested build was deployed to Zsolt's Brain with a backup,
|
||||
verified plugin reload, identical settings bytes and unchanged enabled-plugin
|
||||
configuration. No package version, dependency, lockfile or fork source changed.
|
||||
|
||||
Native validation independently exposed concurrent cold renders revoking an
|
||||
earlier image's URL, and warm-cache siblings sharing a revocable URL. The
|
||||
postprocessor now reads cached raster blobs and gives every image its own URL.
|
||||
The cache stores the blob without owning that renderer's URL. Cache schemas,
|
||||
drawing backups and fork source are unchanged.
|
||||
|
||||
Images and wrappers enter the destination document before loading. A live image's
|
||||
URL is created in the stable main plugin realm and stays readable until
|
||||
replacement, discard, decode failure or plugin unload. This supports frame pixel
|
||||
consumers and actual Markdown main-to-popout-to-main migration. Plugin teardown
|
||||
releases remaining sources; weak references provide a fallback for legacy DOM
|
||||
consumers that omit retirement callbacks.
|
||||
|
||||
Source cases cover cold concurrency, warm siblings, pixel reads, uncached
|
||||
payloads, errors, cache shutdown and stale plugin disposers. The PNG helper has
|
||||
100% measured line/function and 89.47% branch coverage at the complete checkpoint.
|
||||
Its source is unchanged by the final keyboard follow-up.
|
||||
|
||||
## Validation results and acceptance scope
|
||||
|
||||
| Lane | Result |
|
||||
| --- | --- |
|
||||
| Complete portable at `fdca1796` | **1,023 canonical cases pass**, plus source/package gates: 789 plugin fast, 161 fork owned, 24 fork built-browser, 30 Extras source and 19 Extras browser cases |
|
||||
| Measured plugin source at that checkpoint | **250 cases in 39 files pass**; coverage gate passes |
|
||||
| Complete native at `fdca1796` | **468/468 required cases pass**, including **160 device cases**, 40 device/layout profiles and all 258 behavioral obligations |
|
||||
| Native diagnostics and restoration | Both negative controls pass; strict idle, unexpected-error, source-stability, cleanup and baseline-restoration gates pass. One isolated ResizeObserver notification, no storm. Deliberately injected write-failure logs remain recorded separately from unexpected errors. |
|
||||
| Final localized follow-up at `78782221` | Strengthened source test red before / green after; all **789 fast cases pass**. Fresh focused native build passes all nine issue identities, **13 total checks**, including actual held-P input in both windows. Errors, cleanup and baseline restoration pass. |
|
||||
| Hosted final source checks | [Plugin tests](https://github.com/zsviczian/obsidian-excalidraw-plugin/actions/runs/43649533527) and [CodeQL](https://github.com/zsviczian/obsidian-excalidraw-plugin/actions/runs/43649533590) both pass at `78782221`. |
|
||||
| Builds and packaging | Complete checkpoint production/development/library and package-consumer gates pass. Final keyboard production/native rebuild passes. Production artifact: **5,145,115 bytes**, **97,765 bytes** below 5 MiB. Its SHA-256 is in the evidence file. |
|
||||
| Lint and inventory | Modified postprocessor/PNG helper and final pen helper have zero focused ESLint errors/warnings. CSS policy, feature mappings and public/test inventory pass. Full-plugin lint retains the previously recorded **116-error backlog**; no global clean-lint claim. |
|
||||
| Fork checks | Full/owned types, both Obsidian modes and declarations pass. Owned coverage floors pass; final local run measures 48.03% lines, 64.03% branches, 44.86% functions. Fifteen audit tests and the 276-path ledger comparison against upstream `82d5847e57dcb6fb5982833ea9ec2137fe0b2bd5` pass. |
|
||||
|
||||
The complete native run is deliberately identified separately from the final
|
||||
localized keyboard follow-up. A complete native profile was not repeated after
|
||||
that guard-only change. The final fast working-tree diff was verified byte-for-byte
|
||||
against the subsequently committed `78782221`; its fresh native artifacts use the
|
||||
clean commit. Fork and Extras artifact hashes match the complete checkpoint.
|
||||
|
||||
## Retained failures and limits
|
||||
|
||||
- Earlier native runs exposed PNG cache, document-migration and premature
|
||||
URL-release failures; the existing frame pixel assertions were retained.
|
||||
A complete run also recorded a sustained ResizeObserver storm. No observer
|
||||
production fix, error suppression or gate waiver is claimed. The final complete
|
||||
run passed with native observer methods and one isolated notification.
|
||||
- One portable attempt stopped before browser execution because the local
|
||||
Playwright cache path was unset. Pointing it to the existing pinned Chromium
|
||||
cache produced the complete 1,023-case pass; no source change was needed.
|
||||
- Required raw inherited `yarn test:update` remains red and discovers ignored
|
||||
historical copies. Its current-tree subset has 1,331 passed / 1,513 failed
|
||||
assertions plus one todo across 175 files (82 failing). This is not a clean
|
||||
compatibility result or parent comparison. All 16 generated primary-tree
|
||||
snapshot/inline-snapshot edits were preserved as a patch and restored.
|
||||
- Physical Windows Escape could not be checked: desktop automation failed twice
|
||||
to activate the visible/focused test window, sent no physical input and cleaned
|
||||
its owned fixture. CDP Escape does not invoke Chromium's reserved browser
|
||||
shortcut, so it was not substituted as a passing physical test.
|
||||
|
||||
Priority manual checks before release: physical phone/tablet touch on Reading and
|
||||
table controls; actual stylus-button P/hold/release; real YouTube
|
||||
playback/fullscreen/Escape in main and popout; minimum supported Obsidian and
|
||||
other desktop OSes; isolated whole-app cold startup. Desktop mobile emulation
|
||||
does not establish physical Android/iOS behavior. The exact #3051 third-party
|
||||
startup combination remains unconfirmed.
|
||||
|
||||
Local reports include `pr3052-portable-live-source-ready/`,
|
||||
`pr3052-native-full-live-source/`, `pr3052-pen-repeat-fast/` and
|
||||
`pr3052-native-pen-repeat-final/` under `.test-work/reports/`.
|
||||
Use `npm.cmd run test:regression:portable` with the pinned Playwright Chromium
|
||||
cache, `npm.cmd run test:native` for a complete native profile, and
|
||||
`npm.cmd run verify:obsidian:plugin -- --issue-3052` for the focused issue lane.
|
||||
Run the complete portable and native commands separately: the combined wrapper's
|
||||
30-minute child timeout is shorter than this native profile's approximately
|
||||
44-minute execution.
|
||||
|
||||
## Package handoff
|
||||
|
||||
CI pins the tested fork/Extras implementations. Four generated local fork files
|
||||
were copied into the ignored installed package and hash-verified for integration.
|
||||
No package version, dependency or lockfile was changed. Publication and the exact
|
||||
published dependency handoff remain a later maintainer step. This PR includes no
|
||||
personal-vault deployment or merge. Keep both PRs draft for the remaining manual
|
||||
and release-coordination checks.
|
||||
@@ -0,0 +1,69 @@
|
||||
# Optional K-Plex ontology completion
|
||||
|
||||
Excalidraw's existing inline link suggester can use the optional
|
||||
`window.kplexApi.v1.completeOntology` capability. K-Plex owns trigger matching,
|
||||
role eligibility, inverse-aware filtering, ordering and field annotations.
|
||||
Excalidraw reads no private K-Plex settings or editor instances and performs no
|
||||
ontology matching of its own. No fork change or hard plugin dependency is needed.
|
||||
|
||||
The element-link editor, text inputs and ExcalidrawAutomate's existing
|
||||
`attachInlineLinkSuggester()` share one input-owned popup and keyboard scope.
|
||||
File, alias, heading, block, frame, clipped-frame and tag contexts take precedence.
|
||||
The integration keeps K-Plex's exact physical spelling; annotations are inert text.
|
||||
|
||||
With `|` denoting the caret:
|
||||
|
||||
```text
|
||||
:::| → friend::|
|
||||
::p| → parent::|
|
||||
(:::| → (parent:: |)
|
||||
(::p|) → (parent:: |)
|
||||
[:::| → [friend:: |]
|
||||
[:::|] → [friend:: |]
|
||||
```
|
||||
|
||||
Adjacent wrappers retain their opener and existing matching closer. Missing
|
||||
closers are inserted before unrelated suffix text. Type `[[` after selection to
|
||||
continue ordinary note completion, including bracket-containing filenames.
|
||||
K-Plex's `boldFields` and Markdown trailing-space policy remain specific to its
|
||||
native Markdown suggester; HTML link inputs use plain field names.
|
||||
|
||||
Every input update and selection reacquires the public provider. Selection checks
|
||||
the provider/API/method identity, configuration revision, original text/caret,
|
||||
replacement range and selected exact field. A stale row cannot edit the input.
|
||||
Semantic/index revisions do not invalidate these configuration-only offers.
|
||||
Missing, disabled, incompatible, retired or malformed providers leave ordinary
|
||||
editing and existing completion available. Reload needs no plugin restart.
|
||||
|
||||
The consumer accepts at most 65,536 UTF-16 input units and requests 20 candidates
|
||||
within K-Plex's advertised completion limits. It validates bounded detached
|
||||
results before displaying them. Wrapper mutation, caret placement, input/change
|
||||
events and browser Undo belong to Excalidraw's owning input document. Composition
|
||||
temporarily closes suggestions and fences Enter until composition ends.
|
||||
|
||||
## Combined validation
|
||||
|
||||
`npm run test:kplex-ontology` builds the selected fork, Extras, K-Plex and plugin,
|
||||
freezes their artifacts, verifies hashes, then stages the actual plugins in
|
||||
`.test-work/vaults/excalidraw-auto-test/`. Set `EXCALIDRAW_KPLEX_ROOT` when K-Plex
|
||||
is not the sibling `../kplex`. Fork and Extras retain their existing root overrides.
|
||||
The test vault's small K-Plex fixture uses on-demand indexing on every device.
|
||||
Preparation acknowledges only K-Plex's owned theme migration dialog through its
|
||||
normal action; it verifies all declared settings before exercising the UI.
|
||||
|
||||
The focused command covers main/popout completion, exact carets, keyboard/mouse
|
||||
selection, Undo/Redo, scripted composition, note continuation, physical drawing
|
||||
save/reopen, native Markdown insertion, passive API reads, live configuration and
|
||||
provider disable/re-enable/reload. Full native/regression profiles require these
|
||||
cases and repeat them in responsive phone/tablet layouts. Desktop mobile
|
||||
emulation does not establish physical touch, OS IME or native mobile WebView behavior.
|
||||
|
||||
A linked Git worktree shares only its verified primary checkout's marker-owned
|
||||
native vault. Build/source roots remain worktree-local. Git common-directory and
|
||||
reverse ownership checks reject copied or redirected metadata; arbitrary vault
|
||||
overrides remain forbidden. The shared application-user-data lock still serializes
|
||||
all staging, native cases and cleanup across repositories.
|
||||
|
||||
Release coordination: ship K-Plex's additive public capability before, or together
|
||||
with, this plugin feature. Earlier K-Plex versions remain compatible but offer no
|
||||
ontology completion. No release version or published package is changed here.
|
||||
@@ -0,0 +1,235 @@
|
||||
# Lucide icon insertion (#3019)
|
||||
|
||||
Checkpoint: 2026-10-27; validation review and simplification: 2026-10-28.
|
||||
The maintainer authorized committing, pushing and merging the paired source on
|
||||
2026-10-28, with package publication and the dependency update deferred until
|
||||
other changes accumulate. This is an intermediate source checkpoint. No package,
|
||||
release version, dependency or lockfile is changed by this handoff.
|
||||
|
||||
## Source and release boundary
|
||||
|
||||
| Repository | Branch | HEAD before implementation |
|
||||
| --- | --- | --- |
|
||||
| Plugin | `2026-10-27-lucide-icon-picker` | `19e9a116fcfff75c3429840b42cfbca787590feb` |
|
||||
| Component | `2026-10-27-lucide-icon-picker` | `02d5b607525da43eadaad72954d4fc644f3c157a` |
|
||||
| CLI skill | existing `cli-image-efficiency` | `c1ccb89c294ba1048f4859a083eccf85859d2bd7` |
|
||||
|
||||
The component's Excalidraw host protocol is now **3**. Its only feature changes
|
||||
are the shared image-menu entry and forwarding the initiating editor ID through
|
||||
the typed host adapter. The plugin resolves that ID without storing a current
|
||||
view in the shared runtime. Common-host protocol 1 is unchanged.
|
||||
|
||||
The four locally built component artifacts were copied into the plugin's ignored
|
||||
installed package for integration testing. Package metadata still says
|
||||
`@zsviczian/excalidraw` 0.18.145; these are **unpublished protocol-3 bytes**.
|
||||
The runner's `installed-package` label describes its build input directory,
|
||||
not published-tarball provenance. This pair is not a durable release handoff.
|
||||
Publish the next component version, update the plugin's exact dependency and
|
||||
lockfile, install it, then repeat production/contract/native verification.
|
||||
|
||||
The earlier #3018 CSS-specificity and translucent-use warning fixes remain in
|
||||
this worktree. Their independent evidence is in
|
||||
[SVG import validation](SVG_IMPORT_VALIDATION.md). They are not new Lucide APIs.
|
||||
|
||||
## Implemented behavior
|
||||
|
||||
- The command palette and shared image menu reveal one reusable sidepanel.
|
||||
Search uses the installed `getIconIds()` Lucide entries and `getIcon()`
|
||||
thumbnails, with at most 60 icon buttons mounted. Search and size are
|
||||
session-local; native buttons, arrow navigation and accessible labels share
|
||||
component-owned event cleanup. Controls disable for unavailable targets.
|
||||
- UI insertion centers the nominal viewport in the intended drawing and uses
|
||||
its current stroke color, roughness and opacity. Presets 48/96/192 scale a
|
||||
standard two-unit source stroke to 4/8/16 scene units. Preparation sets the
|
||||
actual SVG viewport before curve sampling and preserves padding/aspect ratio.
|
||||
- Every icon is editable native geometry with a fresh outer group, including
|
||||
single-element icons. Standard selection, history, persistence and export
|
||||
apply. No icon image, attachment or registry dependency is saved.
|
||||
- Synchronous `ea.addLucideIcon(options)` appends only after full preparation
|
||||
and returns canonical `icon`, `groupId`, `elementIds`, warnings and nominal
|
||||
viewport. It needs no view and preserves unrelated workbench elements,
|
||||
images and EA style. Optional stroke width is in final scene units.
|
||||
- Native `icons` discovery is read-only, bounded and revision-paginated.
|
||||
`create.icons` and `apply`'s `lucide` operation stage through the same EA
|
||||
constructor with deterministic defaults. `groupMap` has one-to-many handles;
|
||||
`idMap` retains single-element aliases. Alias conflicts, unsupported or
|
||||
incomplete conversions, and aggregate element/point limits fail before
|
||||
publication. Existing revision, identity, save and receipt semantics remain.
|
||||
- EA declarations, API suggester, release notes, five maintained locales,
|
||||
embedded CLI guidance and the companion CLI skill/example are updated.
|
||||
The skill checks installed capability rather than inferring availability
|
||||
from this branch. General SVG import remains a separate workflow.
|
||||
|
||||
## Automated checks
|
||||
|
||||
| Check | Result |
|
||||
| --- | --- |
|
||||
| Node | 22.22.3 |
|
||||
| Production plugin and public library builds | Pass |
|
||||
| Canonical generated local-fork host declarations | Pass using `EXCALIDRAW_FORK_ROOT` |
|
||||
| `npm run test:lucide` | 38 tests pass (31 CLI, seven constructor/EA) |
|
||||
| `npm run test:svg-import` | 55 tests pass |
|
||||
| `npm run test:bundle` | Four tests pass |
|
||||
| `npm run test:obsidian:runner` | 11 tests pass |
|
||||
| Focused new plugin module lint | Clean |
|
||||
| Full `npm run code` | Retains 119 baseline errors; not a clean repository lint claim |
|
||||
| Component artifact/declaration build | Pass |
|
||||
| Component host tests | Seven current tests pass; filter also ran seven preserved baseline tests |
|
||||
| Component full typecheck | Same four baseline test diagnostics: matcher, missing rawText, App fixture, tool query |
|
||||
| Component focused lint | Zero errors, one inherited ImageMenu import-order warning |
|
||||
| Component inventory | 15 checker tests pass; 237 reviewed paths and complete fingerprints match upstream `14bb42edee3d6fee6be264e3ee78670b3b9cee79` |
|
||||
| CLI `npm run check` | 25 offline tests pass |
|
||||
| CLI bundle from another working directory | Frontmatter, 31 relative links and Lucide JSON example pass |
|
||||
|
||||
The local-fork environment variable selects the generated declarations for the
|
||||
prebuild contract test. Rollup itself still reads installed 0.18.145 declarations
|
||||
and reports the expected old action-union mismatch after deriving the plugin
|
||||
signature from the canonical contract. Both builds emit successfully; rebuilding
|
||||
after that type-only change preserves the exact native-tested main.js hash.
|
||||
A normal build without the local-fork override fails the intentional protocol-3
|
||||
prebuild check until the matching published package is installed.
|
||||
|
||||
The Python skill validator could not import PyYAML; frontmatter was checked
|
||||
with the plugin's existing Node `js-yaml` instead. `npm run madge` could not run
|
||||
because the executable is absent. Hosted Obsidian CodeScanner was not available;
|
||||
its review remains pending after the picker CSS additions.
|
||||
|
||||
## Native Windows acceptance
|
||||
|
||||
Final combined run: `%TEMP%/excalidraw-obsidian-uvQpEQ/report.json`, **passed**,
|
||||
including the JavaScript-error gate and owned-fixture cleanup. Vault:
|
||||
`C:/Obsidian/excalidraw-test`; Obsidian 1.14.5 (installer 1.14.0), console launcher
|
||||
`C:/Program Files/Obsidian/Obsidian.com`. Test assets were supplied by the
|
||||
maintainer under `TestAssets` and retained unchanged.
|
||||
|
||||
```powershell
|
||||
$env:EXCALIDRAW_TEST_VAULT_NAME='excalidraw-test'
|
||||
$env:EXCALIDRAW_TEST_VAULT_PATH='C:/Obsidian/excalidraw-test'
|
||||
$env:EXCALIDRAW_TEST_CONFIG_DIR='C:/Obsidian/excalidraw-test/.obsidian'
|
||||
$env:EXCALIDRAW_FORK_ROOT='C:/Users/viczi/GitHub/excalidraw'
|
||||
npm run verify:obsidian:plugin -- --lucide --svg-import --native-cli
|
||||
```
|
||||
|
||||
Lucide checks cover discovery pages, exact create/collision refusal, idempotent
|
||||
replay, atomic invalid batches, alias conflicts, native grouping/no assets,
|
||||
explicit stroke width, stale apply refusal, saved apply/read-back and SVG/PNG
|
||||
export. All 1,935 installed names were attempted at three presets: **5,802
|
||||
successful constructions**, 23,226 native members and 387,415 sampled points
|
||||
across separate workbench calls. One installed SVG, `lucide-save-off`, extends
|
||||
outside its viewBox and is deliberately refused at all three sizes with a
|
||||
viewport error. A registered name does not promise lossless conversion.
|
||||
|
||||
UI checks pass for actual image-menu dispatch, singleton reuse, bounded/empty
|
||||
search, keyboard navigation, three presets/current styles, selected grouping,
|
||||
single Undo/Redo, two drawings, scoped fresh-popout insertion, deferred stale
|
||||
target refusal and close/reopen session state. The stale-target test deliberately
|
||||
produces the localized refusal notice visible in `lucide-picker.png`.
|
||||
`lucide-presets.png` was visually inspected: database/brain/ellipsis at all three
|
||||
sizes retain curves, round dots, color and expected initial stroke widths.
|
||||
|
||||
An early probe loaded the drawing immediately after `openPopoutLeaf()`, before
|
||||
Obsidian moved the initially empty leaf. It timed out with a retiring view marked
|
||||
closing/migrating, which the picker correctly disabled. The final probe waits
|
||||
for the empty leaf's destination document before starting the drawing load.
|
||||
No general migration fix or duplicate-view migration acceptance is claimed.
|
||||
|
||||
The same run also passes the SVG corpus (1,992 registered icons, five unchanged
|
||||
supplied files, 19 cases on five backgrounds), main/popout editing/history,
|
||||
copy/export/save/reopen and plugin reload. Existing native CLI authoring,
|
||||
bindings/frames, template prose, receipt and failed-save recovery checks pass.
|
||||
Those regression checks do not establish physical touch behavior.
|
||||
|
||||
## Tested artifact identity (2026-10-27)
|
||||
|
||||
Production `main.js`: **5,028,698 bytes**, leaving 214,182 bytes below 5 MiB.
|
||||
Installed test-vault files match built files exactly.
|
||||
|
||||
| Artifact | SHA-256 |
|
||||
| --- | --- |
|
||||
| Plugin main.js | `34a0b15cd98d4c7875ca24bf0215934ac4691ad77b51a1defd2833e292d459c5` |
|
||||
| Plugin styles.css | `0510f43d1ba875a1a68aa91424d21c00298aa09e4003702dbb8b0702403b28f2` |
|
||||
| Plugin manifest.json | `4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0` |
|
||||
| Component production JS | `a63ddd897a1c461042e0fb52c689b216aa166aa8e3dab6717ba02ef2e1c533f0` |
|
||||
| Component development JS | `35b2ad0a4b4a3c21a4a7ab746570b4f9fa31a3eecadfedc372fc5f2ffe24a24c` |
|
||||
| Component production CSS | `0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002` |
|
||||
| Component development CSS | `192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883` |
|
||||
|
||||
## Validation review (2026-10-28)
|
||||
|
||||
Reviewed constructor atomicity, scaling/style semantics, EA workbench ownership,
|
||||
CLI aliases/budgets/receipts, host lifetime/protocol, sidepanel focus/migration,
|
||||
listener cleanup, and the accompanying API/skill references. No further feature
|
||||
correctness defects were found. The existing target, publication and persistence
|
||||
guards remain necessary; the prior native popout evidence does not justify
|
||||
removing them.
|
||||
|
||||
Simplified the grid to one component-owned delegated click listener. Search and
|
||||
paging now replace only DOM/buttons; they no longer create a page Component and
|
||||
60 individual listeners. Removed the unused component field and repeated
|
||||
writability evaluation. CLI alias checking now uses the supplied array directly
|
||||
instead of allocating a Set for each icon. The documentation generator's optional
|
||||
template sync now has one shared conditional after the full-mode output branch.
|
||||
No fork source or companion skill behavior changed during this review.
|
||||
|
||||
Revalidation passes: 38 CLI/EA tests, 55 SVG tests, four bundle tests, 25 CLI-bundle
|
||||
tests, focused plugin lint, production/library output and local generated-fork
|
||||
host contracts. Generator/host-probe syntax checks pass. Native Windows report
|
||||
`%TEMP%/excalidraw-obsidian-enKChi/report.json` passes Lucide plus existing native
|
||||
CLI authoring, the JavaScript-error gate and fixture cleanup. It additionally
|
||||
checks next/previous pages and clicks on nested SVG paths and text labels after
|
||||
search/page replacement. History, main/fresh-popout insertion and stale-target
|
||||
refusal still pass. Catalog results remain 5,802 successes and the three expected
|
||||
save-off viewport refusals. The SVG native corpus was not rerun in this review;
|
||||
its earlier combined acceptance above remains the recorded evidence.
|
||||
|
||||
Current production main.js is **5,028,518 bytes** (180 fewer than the prior
|
||||
checkpoint, 214,362 bytes below 5 MiB), SHA-256
|
||||
`b9a471eeea1f0f81d158fa0cc68032447cbe73b6a6f1a0fef131dbc026db9cb0`.
|
||||
The native-installed files match the built artifacts. CSS, manifest and the four
|
||||
component artifacts retain the hashes above.
|
||||
|
||||
**Published-package release dependency:** running the host contract against the declared
|
||||
installed 0.18.145 declarations still fails: protocol 3 is not assignable to
|
||||
protocol 2, and its action union lacks Lucide. The same contract passes with the
|
||||
generated paired-fork declarations. A fresh installation of the declared package
|
||||
therefore cannot build/run this plugin change as shipped. The maintainer has
|
||||
explicitly approved merging this intermediate source state and will publish the
|
||||
fork and advance the dependency later. Publish the fork's protocol-3 package,
|
||||
install it as the plugin's exact dependency/lockfile and repeat the normal
|
||||
build/native gate before releasing the plugin. No
|
||||
fallback or type suppression was added to conceal this mismatch. Existing full
|
||||
lint/typecheck and platform/CodeScanner limitations above remain unchanged.
|
||||
|
||||
## Authorized intermediate merge (2026-10-28)
|
||||
|
||||
The maintainer explicitly approved committing, pushing and merging the paired
|
||||
fork/plugin source while retaining the current versions and dependency. The
|
||||
fork publication and plugin dependency/lockfile update will be handled later
|
||||
after other changes accumulate. This approval supersedes the earlier review's
|
||||
merge restriction; it does not make the currently published package compatible.
|
||||
Companion source: [Excalidraw fork PR #476](https://github.com/zsviczian/excalidraw/pull/476),
|
||||
commit `f54ec6061739009267bce4f4f5320ab167843932`.
|
||||
|
||||
The fork's required precommit snapshot-update run completed: 81 suites pass and
|
||||
81 fail; 1,242 tests pass, 1,477 fail, 47 are skipped and one is todo, with three
|
||||
unhandled errors. The changed host suite passes all seven tests. The broad run
|
||||
includes the previously recorded harness/host failures and a five-second public
|
||||
root import timeout; no clean broad-suite result is claimed. All 16 generated
|
||||
snapshot/inline-test file changes were restored to their exact pre-run bytes.
|
||||
Full typecheck retains the same four baseline diagnostics. The generated
|
||||
paired-fork plugin host contract still passes. Test-only generated changes and
|
||||
runtime build artifacts are excluded from the source commits.
|
||||
The export file passes all ten tests with a 30-second test timeout; its public
|
||||
root import takes 5.64 seconds, exceeding the unchanged five-second default.
|
||||
|
||||
## Remaining manual and release gates
|
||||
|
||||
Highest-probability risk: focus/target ownership during drawing switches and
|
||||
window migration. Repeat command/menu insertion, tab switching, saving, closing
|
||||
and reopening in main and restored popouts after cold application restart.
|
||||
Check dense icons and resize/recolor/rotate on physical mobile, including native
|
||||
touch and scrolling. Repeat on macOS/Linux; the clean Windows error gate does
|
||||
not resolve the historical macOS ResizeObserver notification. Complete hosted
|
||||
CodeScanner review and repeat verification against the published paired package
|
||||
before release. Group resizing intentionally retains normal Excalidraw stroke
|
||||
behavior; this feature does not introduce proportional stroke resizing.
|
||||
@@ -0,0 +1,55 @@
|
||||
# Mermaid 3.1 integration: fork PR #478
|
||||
|
||||
The fork keeps Mermaid external; Extras bundles converter 3.1.0 and every lazy
|
||||
Pele diagram module into one offline runtime. The unreleased Extras service
|
||||
contract remains 3.0.0 as directed. No plugin production code, PDF printing,
|
||||
package/API version or plugin dependency declaration changes.
|
||||
|
||||
Fork checkpoint: `d22f8ec1758a79fea6e106c9d1a80bf589d34f27`.
|
||||
Extras checkpoint: `df1f2b5659259c43780c5ef07cd433fa6c3e14fa`.
|
||||
Both portable and manual-native CI pin those exact sources.
|
||||
|
||||
**701 portable cases pass**, including seven new real-scene flowchart cases
|
||||
and 13 new Extras production-browser cases. The existing native gateway now
|
||||
converts twelve diagram kinds offline, asserting normalized geometry, editable
|
||||
labels/image representation, image decoding and error recovery. It executes in
|
||||
both focused Extras testing and the full native profile.
|
||||
|
||||
The additional real-Extras diagnostic passes **43 assertions across 13 kinds**,
|
||||
including swimlane, EA insertion, selected-source main/popout previews, PNG
|
||||
export and byte-preserving save/reopen. No notifications or unexpected errors;
|
||||
cleanup/restoration pass. Its artifact matches the combined portable/full-native
|
||||
candidate: main.js 5,031,203 bytes, SHA-256
|
||||
`8854030e4242ab2f91488fde3eb058db6056f9f853f046ca48acb46dc54cafb8`.
|
||||
|
||||
Full native acceptance remains **349/357 passed, eight settling failures**.
|
||||
All 258 behavioral obligations and 40 device profiles pass. The sustained exact
|
||||
ResizeObserver notification loop starts during `native:lifecycle-new-popout-survivor`,
|
||||
before Mermaid loads. A fresh renderer running rebuilt pre-merge fork/Extras
|
||||
reproduces the same ordered-prefix failure. This establishes that the observed
|
||||
failure predates #478, without assigning its cause. It is not suppressed or
|
||||
reclassified as a passing full run; production observers, deadlines, exclusions
|
||||
and negative controls are unchanged. Cleanup and baseline restoration pass.
|
||||
|
||||
From this checkout, with the documented one-time test-vault trust/CLI setup:
|
||||
|
||||
```powershell
|
||||
npm.cmd run test:regression:portable
|
||||
npm.cmd run test:native
|
||||
npm.cmd run verify:obsidian -- --extras-services --diagnostics
|
||||
```
|
||||
|
||||
Every native entry builds/deploys/hash-verifies the current selected workspace
|
||||
revisions in `.test-work/vaults/excalidraw-auto-test/`, enables/configures both
|
||||
plugins and restores baseline state. Never substitute a personal vault.
|
||||
|
||||
[Public review, repeatable additional dialog probe and limitations](https://github.com/zsviczian/excalidraw/blob/d22f8ec1758a79fea6e106c9d1a80bf589d34f27/dev-docs/Obsidian/pr-478-merge-review.md)
|
||||
and [sanitized case results, artifact hashes and baseline comparison](https://github.com/zsviczian/excalidraw/blob/d22f8ec1758a79fea6e106c9d1a80bf589d34f27/dev-docs/Obsidian/pr-478-results.json)
|
||||
retain the failed native gate separately from passing feature checks. The old
|
||||
`review3022ProductionDiff.mjs` is scoped to #3022's approved patch, rather than
|
||||
an allowlist for subsequent upstream feature merges.
|
||||
|
||||
Manual follow-up: complex saved Mermaid syntax/configuration and labels,
|
||||
especially source editing/export in popouts and physical Android/iOS touch.
|
||||
Native macOS/Linux, isolated cold application startup and physical devices
|
||||
remain separate environments.
|
||||
@@ -0,0 +1,764 @@
|
||||
# Obsidian runtime testing on macOS and Windows
|
||||
|
||||
The optional [K-Plex ontology completion lane](KPLEX_ONTOLOGY_COMPLETION.md)
|
||||
builds and stages the companion K-Plex alongside the selected plugin/fork/Extras
|
||||
artifacts. Use `npm run test:kplex-ontology` for focused main/popout coverage;
|
||||
add `-- --devices --device-profiles=phone-portrait-light,tablet-portrait-full-light`
|
||||
for the two responsive integration layouts. Full/regression profiles require
|
||||
both. `EXCALIDRAW_KPLEX_ROOT` selects a non-sibling source checkout. The guarded
|
||||
runner supplies and verifies all three `KPLEX_TEST_*` vault identity variables.
|
||||
Build manifests and baseline restoration include K-Plex; missing capability or
|
||||
producer artifacts cannot satisfy these cases. Source worktrees share only their
|
||||
verified primary checkout's marker-owned test vault, under the same host lock.
|
||||
|
||||
Current acceptance is **2/2 complete matching-build passes**, each with all
|
||||
**357 required native cases**, including 258 behavioral obligations and 40
|
||||
device/layout profiles. Final portable validation passes **666 cases** and the
|
||||
production audit passes. See [case results, exact revisions/hashes, diagnostic
|
||||
limits and restoration](testing-evidence/3022/README.md). Historical observer
|
||||
storms remain recorded; their original cause is not claimed fixed, and the
|
||||
unchanged strict gate must still reject a recurrence.
|
||||
|
||||
The suite tests the currently running Obsidian, including alpha releases. There
|
||||
is no exact Obsidian/Electron version allowlist or version-specific pass baseline.
|
||||
CLI/app version, installer version, Electron/Chromium/Node versions and user agent
|
||||
are recorded as evidence. Required capabilities and behavioral, persistence,
|
||||
rendering, exception and cleanup assertions determine success. A host update
|
||||
must not cause automatic skips, weaker assertions or refreshed expected results.
|
||||
Historical runtime findings below are diagnostic context, not version requirements.
|
||||
|
||||
Use the repository-local, marker-owned vault:
|
||||
|
||||
`obsidian-excalidraw-plugin/.test-work/vaults/excalidraw-auto-test/`
|
||||
|
||||
From the plugin checkout, the preparation-and-test entry point is:
|
||||
|
||||
```powershell
|
||||
npm.cmd run test:native
|
||||
```
|
||||
|
||||
On macOS use `npm run test:native`. This builds current selected workspace
|
||||
revisions, freezes them, installs the real plugin and available Extras binaries,
|
||||
hash-verifies deployment, applies deterministic settings, enables both plugins,
|
||||
verifies the running CLI-selected canonical vault/config paths, runs the expanded
|
||||
native suite and restores the declared baseline. Every CLI call explicitly uses
|
||||
`vault=excalidraw-auto-test`. Conflicting inherited vault environment variables
|
||||
are rejected before mutation. There is no personal/default/desktop-vault fallback.
|
||||
|
||||
## One-time preparation
|
||||
|
||||
1. Install this checkout's npm dependencies, the sibling fork's Yarn dependencies
|
||||
and available Extras npm dependencies. Use Node 22.22.3 or newer.
|
||||
2. Run `npm run test:native -- --prepare-only` to build and install the working
|
||||
vault before opening it. This is the same entry point with execution omitted;
|
||||
a copied seed without binaries is not a prepared installation.
|
||||
3. Open that exact folder as a vault in Obsidian once. Accept the community-plugin
|
||||
trust prompt and enable/register **Settings ? General ? Command line interface**.
|
||||
Leave the vault open. The runner never edits the global vault registry.
|
||||
4. Repeat `npm run test:native`. Subsequent runs require no manual copying,
|
||||
plugin enabling or Extras service configuration.
|
||||
|
||||
The immutable seed in `tests/vault/` contains synthetic CC0 notes, drawings and
|
||||
assets plus `.obsidian` configuration and both plugins' `data.json`. The runner
|
||||
copies current builds into the working vault's plugin directories:
|
||||
|
||||
- `.obsidian/plugins/obsidian-excalidraw-plugin/{main.js,manifest.json,styles.css,data.json}`
|
||||
- `.obsidian/plugins/excalidraw-extras/{main.js,manifest.json,styles.css,data.json}`
|
||||
|
||||
Executable builds, installed manifests and runtime work are ignored, never
|
||||
committed as fixtures. `.excalidraw-automation.json` records ownership/seed
|
||||
identity; `.excalidraw-installed-build.json` records installed hashes and frozen
|
||||
producer provenance. Latest means these selected workspace revisions, including
|
||||
recorded dirty-diff and lock hashes. Missing Extras is explicit and cannot count
|
||||
as passed service coverage.
|
||||
|
||||
## Focused and complete commands
|
||||
|
||||
The current acceptance remains failed; see the [accessible closeout evidence](testing-evidence/3022/README.md).
|
||||
The unchanged exclusive recheck and focused corrected stability/drop run used:
|
||||
|
||||
```powershell
|
||||
npm.cmd run verify:obsidian -- --text-undo --devices --device-profiles=desktop-wide-full-light
|
||||
npm.cmd run verify:obsidian -- --internal-drop --stability
|
||||
```
|
||||
|
||||
These focused passes do not count as complete repeats. The full profile still
|
||||
requires all 357 identities and strict exception/cleanup gates. Text-history
|
||||
readiness and dirty-migration exceptions must be diagnosed before another full
|
||||
attempt; retain the exact failed evidence and make no unapproved product changes.
|
||||
|
||||
| Command | Work |
|
||||
| --- | --- |
|
||||
| `npm run test:native` | Preparation, complete native core and expanded behavior matrix, popout drop variants and device workflows |
|
||||
| `npm run test:native -- --prepare-only` | Build/freeze/install/apply configuration; report first-open prerequisite or verify live readiness |
|
||||
| `npm run test:regression` | Complete native work plus independent portable/source/browser/package gates |
|
||||
| `npm run verify:obsidian:smoke` | Same current-workspace preparation, then focused editor startup |
|
||||
| `npm run verify:obsidian -- --extras-services` | Same preparation; real MathJax/Mermaid gateways and a single native PDF export |
|
||||
| `npm run verify:obsidian -- --behavior-matrix` | Same preparation; expanded desktop/main/split/nested/popout behavioral workflows |
|
||||
| `npm run verify:obsidian -- --stability` | Same preparation; unchanged six large-scene save/reopen cycles with passive first-commit state snapshots |
|
||||
| `npm run verify:obsidian:diagnostics` | Same fresh-build preparation, then the real unhandled-error negative control |
|
||||
|
||||
The historical `verify:obsidian:plugin` name is retained as a command alias; it
|
||||
now prepares current workspace inputs too. `--plugin-only` is rejected. No native
|
||||
sequence silently consumes a previous installed artifact. Set
|
||||
`EXCALIDRAW_FORK_ROOT` / `EXCALIDRAW_EXTRAS_ROOT` only for non-sibling checkouts;
|
||||
the dedicated target vault remains local to this plugin repository.
|
||||
|
||||
For portable checks install the fork's pinned Chromium once (`yarn playwright
|
||||
install chromium`, with `--with-deps` on Linux CI). Native input uses the real
|
||||
Obsidian Electron host and its owned debugger, not Playwright's Chromium.
|
||||
|
||||
## Recovering from native test failures
|
||||
|
||||
A prepared vault must contain fresh, compatible plugin **and Extras** artifacts.
|
||||
When a run fails, continue diagnosis and repair within the authorized test scope;
|
||||
an available workspace build or a repairable harness error is not an unavailable
|
||||
environment. Preserve the first failed report and rerun the failed scenarios and
|
||||
every profile blocked by them. A later focused pass does not overwrite a failed
|
||||
full-profile result.
|
||||
|
||||
1. Verify the selected repository revisions and locked dependency installations.
|
||||
After changing checkouts, use `npm ci` in the plugin/Extras repositories and
|
||||
`yarn install --frozen-lockfile` in the fork when installations are stale.
|
||||
A new `package.json` alongside old `node_modules` can silently bundle an old
|
||||
converter. Build Extras `main.js`, `styles.css` and `manifest.json` together;
|
||||
use the normal coordinator to deploy/hash-verify them, enable services and
|
||||
check the actual live API versions against the plugin gateway. Do not fake a
|
||||
version or relax a version handshake to accept mismatched components.
|
||||
The converter package version and Extras service-contract version are distinct.
|
||||
The coordinated 3.6 upgrade bundles converter 3.6.0 and advertises service
|
||||
contract 3.6.0. Verify both boundaries and keep the producer advertisement and
|
||||
consumer requirement paired.
|
||||
2. For `Concurrent host requests`, inspect the outstanding request ID, method,
|
||||
target renderer, acknowledgement and original error. Distinguish UI-readiness
|
||||
waits from transport completion. Settle or explicitly cancel the exact owned
|
||||
request before another input step; preserve genuine dispatch failures and
|
||||
strict case assertions. Never clear a pending native operation to hide it.
|
||||
A lost response to a read-only state poll may be retried within the existing
|
||||
task deadline (at most two retries), with every timeout retained as transport
|
||||
evidence. Never replay input, writes or other mutations under this policy.
|
||||
The coordinator also retains a uniquely owned last-operation receipt for eval
|
||||
and CDP calls. If their response is lost, adopt only that exact completed
|
||||
receipt; never execute the operation again. Missing, mismatched or still-pending
|
||||
receipts remain failures and preserve native resources. Actual operation errors
|
||||
remain errors. Remove the receipt after the sequence and record every recovered
|
||||
acknowledgement. Real plugin CLI commands continue through the actual CLI.
|
||||
Response waiting is bounded separately from operation completion: eval/CDP
|
||||
replies have a one-second transport deadline, then the exact owned receipt is
|
||||
polled within the original 60-second operation budget. Timing out the CLI
|
||||
launcher does not cancel the renderer job. Do not spend the full UI scenario
|
||||
deadline waiting for a lost acknowledgement. A timed-out error-buffer clear
|
||||
may be accepted only after reading an empty buffer; never clear again and erase
|
||||
newly captured errors. Known read-only CLI commands use bounded read retries.
|
||||
This includes only the exact exported `nativeReadyCode` reload probe: its
|
||||
renderer may disappear during mobile-mode reload, so it must not depend on
|
||||
that renderer retaining an operation receipt. Other evals and lookalikes
|
||||
retain strict receipt ownership and are never replayed as readiness reads.
|
||||
A screenshot reply may be recovered only from its uniquely owned, previously
|
||||
absent artifact after the native image decoder confirms a complete image.
|
||||
Never capture again to obtain a replacement acknowledgement, and never treat
|
||||
the image as behavioral coverage. Preserve foreign/existing destinations.
|
||||
3. Check current UI labels at their registration/localization source and in the
|
||||
running host. The file-menu label is **New drawing** (`CREATE_NEW`). A DOM
|
||||
menu assertion must use `Menu.setUseNativeMenu(false)` and wait for mounting;
|
||||
macOS native menu rendering cannot be found with a DOM selector. Record which
|
||||
renderer was exercised. Do not diagnose a renamed action from a failure label.
|
||||
4. A retained Electron window proxy can report `closed === false` after Obsidian
|
||||
retires a popout. Save owned edits, detach owned leaves, and verify all editor
|
||||
APIs are unmounted, DOM is disconnected and workspace registration is gone.
|
||||
Preserve shared/unowned leaves and all resources of genuinely pending work.
|
||||
Never delete fixtures or reload services while printing/saving remains pending.
|
||||
5. Investigate error/trust dialogs after timeouts. Ask for human assistance when
|
||||
needed; identify the exact action and reason. Never force-close a shared app.
|
||||
Successful guarded recovery permits a fresh run; it does not turn the original
|
||||
cleanup failure or blocked profiles into passes.
|
||||
|
||||
Device profiles retain their declared CSS viewport sizes. If the OS clamps a
|
||||
native window to the display work area, use owned CDP device-metrics emulation
|
||||
to fit that exact viewport, record both the actual native dimensions and transport,
|
||||
and clear the override before detaching the debugger. Keep the same geometry,
|
||||
breakpoint and input assertions; do not shrink profiles or substitute CSS widths.
|
||||
An unexplained mismatch within the available display must still fail readiness.
|
||||
Oversized evals on every desktop platform use an owned temporary UTF-8 script;
|
||||
Windows also uses it for multiline/long console payloads. Preserve the argument
|
||||
arrays, remove owned scripts after each launcher call, and never solve E2BIG by
|
||||
truncating the scenario or removing assertions.
|
||||
PDF.js can split a printed token into multiple text items: concatenate their
|
||||
actual strings without inserting spaces, and retain the PDF/rendered page before
|
||||
content assertions so a failure can be inspected after fixture cleanup. The fitted surface also changes the
|
||||
coordinate space used by CDP input: scale mouse/touch coordinates by the recorded
|
||||
surface scale, then assert that trusted pointer events arrive at the original
|
||||
CSS hit-test point. Keep the unchanged viewport and classification assertions.
|
||||
Wait for sliding modal controls to hold a stable uncovered rectangle before
|
||||
trusted input; a hit test during their entrance animation is not readiness. For
|
||||
keyboard tool changes, focus the actual editor and wait for the requested tool
|
||||
state before clicking the canvas; protocol delivery does not establish a React
|
||||
commit. Keep the original editing, undo/redo and persistence assertions. When
|
||||
frontmatter changes externally, observing the new view text does not establish
|
||||
that synchronization has released persistence ownership. Wait for the exact
|
||||
view's save/synchronization busy state to clear before requesting a forced save.
|
||||
Still require a persisted receipt, retain its revision fields on failure, compare
|
||||
the physical scene and reopen it. Never count skipped/failed saves as durable.
|
||||
|
||||
|
||||
## Transport, ownership and safe cleanup
|
||||
|
||||
Reserve foreground access for native input/device sequences. Another Obsidian
|
||||
vault shares the application session and can change focus while trusted keyboard
|
||||
or pointer input is in flight. If the maintainer needs the machine, stop further
|
||||
UI dispatch, preserve unsettled native work, complete owned cleanup and restoration,
|
||||
and record the run as interrupted. Resume with a fresh full run after availability
|
||||
is confirmed; do not reinterpret input failures or count a partial run as a repeat.
|
||||
Portable source/package checks and headless browser tests can continue separately.
|
||||
|
||||
The Windows launcher discovers `Obsidian.com` under the standard installation
|
||||
locations; use `EXCALIDRAW_OBSIDIAN_CLI` for another executable path. macOS uses
|
||||
the installed Obsidian CLI/application binary. See the official
|
||||
[CLI installation guide](https://obsidian.md/help/cli). The driver launches
|
||||
npm/Yarn through the current Node binary and passes native argument arrays.
|
||||
Long Windows evals use an owned temporary UTF-8 script cleaned after each call.
|
||||
|
||||
All native work is serial under the application-user-data lock, including build,
|
||||
preparation, staging, debugger ownership and cleanup. Never detach another
|
||||
owner's debugger or restart a shared application. Whole-app cold restart remains
|
||||
an optional, separately guarded isolated-session workflow.
|
||||
|
||||
Every scenario owns its exact UUID files/controllers. It waits for asynchronous
|
||||
work and physical save acknowledgement before deleting owned data. Successful
|
||||
runs restore declared settings/theme, fixture content and preferences, retain the
|
||||
installed working vault for inspection and record cleanup/restoration evidence.
|
||||
Reports live under `.test-work/reports` or `EXCALIDRAW_TEST_REPORT_DIR`.
|
||||
|
||||
A tooling deadline is a failed test, not cancellation of native printing.
|
||||
Unsettled native work retains its resources/controller/files and recovery record.
|
||||
Do not delete or reload it while a native promise is pending. The single-export
|
||||
PDF scenario waits for real completion, verifies its header/page geometry/text
|
||||
and decoded pixels, and retains `native-single-export.pdf` plus its rendered page
|
||||
in the report directory. There is no native concurrent-print acceptance test.
|
||||
|
||||
The expanded matrix records actual mobile mode, measured geometry, scene state,
|
||||
saved/reopened data, decoded output, errors and cleanup. Trusted CDP interaction
|
||||
and synthetic drag payloads are labeled separately. Phone/tablet emulation is
|
||||
not physical Android/iOS, native OS drag or stylus evidence.
|
||||
|
||||
## Earlier focused scenario details
|
||||
|
||||
Run `npm run verify:obsidian -- --sidepanel-popout` for the desktop sidepanel
|
||||
setting. It checks the default right sidebar, popout document ownership,
|
||||
singleton/tab-input reuse, deferred popout on the next reveal of a live or restored
|
||||
sidebar tab, docking as a sibling tab without expanding the sidebar through both
|
||||
settings controls, preservation of later manual moves, Markdown
|
||||
image insertion retaining popout/editor focus, extraction-section padding, and
|
||||
non-default settings plus unknown-key preservation across plugin unload and
|
||||
startup. It restores its settings and closes its owned panels/windows. Mobile's
|
||||
desktop-preference guard has source coverage; physical mobile and other desktop
|
||||
operating systems remain separate manual checks.
|
||||
|
||||
The following scenario notes retain their feature-specific assertions. Their
|
||||
native execution now uses the preparation and local vault contract above.
|
||||
|
||||
For the workflow fixes in PR #3030, run `npm.cmd run verify:obsidian -- --workflow-bundle --diagnostics`.
|
||||
The extraction case checks the actual dialog, root/nested/Unicode drawing folders,
|
||||
another active drawing, explicit destination changes, cancellation, collisions,
|
||||
content and external-source persistence after reopen, and a popout. The same
|
||||
cases are required by the complete native profile.
|
||||
The Zen case measures exit/zoom bounds inside the editor and hit targets,
|
||||
repeatedly activates both controls in LTR/RTL at wide/narrow widths and 125% UI
|
||||
scale in main/popout windows. Device
|
||||
profiles also exercise applicable full/compact footers in both directions with
|
||||
trusted mouse/touch input; phone/tray chrome retains its existing separate controls.
|
||||
The text-save cases use trusted keyboard input with autosave disabled and read
|
||||
the physical drawing: raw/parsed and bound/plain text, undo/redo, canvas save,
|
||||
save/reopen and main/popout ownership. Standalone save attempts are intercepted
|
||||
in memory, both as a failing-before guard for Ctrl/Cmd+S and to prove Shift+S
|
||||
still uses its existing route without opening an OS dialog or creating a file.
|
||||
Use `--text-save-shortcut` to run those cases independently during diagnosis;
|
||||
the complete native profiles always include them.
|
||||
Use `--code-cards` for native pasted-code sizing: short/multiple/long lines,
|
||||
bounded long blocks and scrolling, plain/fenced input, CR/LF normalization,
|
||||
duplicate titles, unchanged EA/shared-card defaults, and initial/manual dimensions
|
||||
after save/reopen in main/popout windows. Initial fitting runs only from the
|
||||
paste-code command, preserves the insertion center and width, and stops after a
|
||||
user resize or a file/API/lifecycle change. Desktop testing does not establish
|
||||
physical mobile keyboard, touch or WebView behavior.
|
||||
|
||||
## Troubleshooting and further coverage
|
||||
|
||||
For the Lucide picker, run `npm run test:lucide`, then the guarded
|
||||
`npm run verify:obsidian:plugin -- --lucide`. Protocol 3 requires the matching
|
||||
component artifacts and declarations. For a temporary paired checkout, build the
|
||||
fork, copy its four Obsidian artifacts as described above, and set
|
||||
`EXCALIDRAW_FORK_ROOT` to the fork root for the generated declaration
|
||||
preflight. This is local integration, not published dependency verification.
|
||||
|
||||
The Lucide lane checks read-only paginated discovery, atomic create/apply,
|
||||
group/member handles, deterministic style and all three insertion presets,
|
||||
workbench-only construction across the installed catalog, bounded picker DOM,
|
||||
search/keyboard navigation, selection, native Undo/Redo, two-drawing styles,
|
||||
popout targeting, deferred stale-target refusal, session reuse, export and saved
|
||||
read-back. Malformed installed icons are recorded as rejected inputs, never
|
||||
counted as successful conversions. The existing `--svg-import` lane retains the
|
||||
supplied corpus read-only. Physical touch, restored popouts after cold restart
|
||||
and other operating systems remain separate gates.
|
||||
|
||||
For text separators and editable-image geometry (#3013, #3014, #2947), run
|
||||
`npm run test:image-geometry`. These tests cover one/multiple newline separators,
|
||||
independent image copies, unresized content growth, a resize during rendering,
|
||||
cancelled renders, reload geometry, crops, and versioned LaTeX bounds updates.
|
||||
Run `npm run verify:obsidian:plugin -- --image-geometry` for real formula editing,
|
||||
cached bounds, and save/reopen in the main window and a popout. Its deterministic
|
||||
SVG gateway tests the plugin lifecycle without requiring Extras or claiming to
|
||||
test MathJax rendering. The scenario also opens the actual Markdown-image
|
||||
sidepanel, edits content after a canvas resize, and checks the displayed size
|
||||
after rendering and reopen. It waits for the render-complete indicator between
|
||||
edits; a metadata update alone does not establish that persistence has finished.
|
||||
The temporary gateway, owned panel tab and fixtures are cleaned up.
|
||||
|
||||
The Markdown sidepanel case also duplicates an image with the same file ID,
|
||||
gives the copy a different canvas size, and changes the editor's Width input.
|
||||
Both instances must adopt the new intrinsic dimensions without moving. A later
|
||||
content edit and save/reopen must keep their shared width and file ID. Source
|
||||
tests also cover unrelated images and a duplicate created during rendering.
|
||||
|
||||
A separate owned Markdown table case creates two cropped siblings (one full-width
|
||||
and one aligned to the right edge), then changes the uncropped copy's Width up
|
||||
and down through the real sidepanel input. It checks relative crop windows,
|
||||
finite geometry and aspect ratios, reads saved geometry back from disk after
|
||||
each edit, exports SVG and PNG, edits content, and reopens the drawing. Crop
|
||||
geometry is initialized through the scene API with the same fields as the crop
|
||||
tool; physical crop gestures and popout/mobile crop editing remain manual checks.
|
||||
Source regressions also verify that cropped local Markdown/equation images skip
|
||||
PDF-link synchronization during saving while file-backed PDFs retain it.
|
||||
|
||||
With Excalidraw Extras installed and **MathJax-to-SVG** enabled, run
|
||||
`npm run verify:obsidian:plugin -- --image-geometry-real`. This uses the actual
|
||||
Extras renderer for the #3014 short/long formula edits, cached bounds and
|
||||
save/reopen checks in the main window and a popout, plus both Markdown sidepanel
|
||||
cases. Latex Suite is not required; its preview-specific gate remains separate.
|
||||
|
||||
On 2026-10-26, the real Extras renderer passed formula expansion/shrinkage,
|
||||
matching cached bounds and save/reopen in both windows. The short formula was
|
||||
20×11 and the expanded formula 80×15, with matching runtime bounds. The Markdown
|
||||
sidepanel cases, including cropped table Width changes from 500 to 700 to 300,
|
||||
disk save/readback, SVG/PNG exports and reopen, and fixture cleanup also passed.
|
||||
All four feature cases passed. The overall run failed its
|
||||
clean-error gate on the previously recorded ResizeObserver teardown
|
||||
notifications; this real-renderer run is not an overall clean pass.
|
||||
|
||||
For wheel zoom limits (#3008), run
|
||||
`npm run verify:obsidian -- --wheel-zoom`. It builds/copies the local fork and
|
||||
dispatches actual wheel events with deliberately changed live minimum/maximum
|
||||
settings, including scroll constraints and zoom above 3000%, in the main window
|
||||
and a popout. Test settings are restored without saving them. This option can
|
||||
be combined with `--image-geometry`. Use the current-workspace lane only after the
|
||||
installed component contains the fix. Unpublished artifact copies remain a
|
||||
local integration checkpoint; the declared published dependency is unchanged.
|
||||
|
||||
On macOS, both feature scenarios passed on 2026-10-26, including formula
|
||||
expansion/shrinkage, matching cached bounds and reopen. Fixture cleanup passed.
|
||||
The overall clean-error gate failed on the already documented popout teardown
|
||||
`ResizeObserver loop completed with undelivered notifications`; no clean overall
|
||||
native pass is claimed. Windows, Linux pen input and physical mobile remain
|
||||
separate validation environments.
|
||||
|
||||
A later combined-development-build run of `--image-geometry` passed the entire
|
||||
native runner, including its clean-error and cleanup gates, formula main/popout
|
||||
cases, and the real Markdown sidepanel resize/edit/reopen case. The earlier
|
||||
ResizeObserver failures remain recorded; one clean run does not establish that
|
||||
the intermittent teardown issue is fixed.
|
||||
|
||||
For browser drag actions (#2967), run `npm run test:drop-actions`, then
|
||||
`npm run verify:obsidian:plugin -- --web-drop`. The native scenario serves an
|
||||
owned tiny PNG over localhost and supplies mixed Files/URI-list/HTML payloads
|
||||
with deliberately conflicting web/local modifier maps. Twenty cases check
|
||||
URL-backed versus vault-file references, actual PNG attachment bytes, linked
|
||||
image versus page targets, extensionless/blob URL file fallback, and save/reopen
|
||||
in the main window and a popout. The source tests also exercise the production
|
||||
URL recognition helpers, hook consumption, internal drags, genuine OS-file
|
||||
actions, and duplicate-file Use/Overwrite/Import choices. Settings are restored
|
||||
and only newly created, owned attachments are removed. No external image service
|
||||
is contacted. Cancellation waits for scenario cleanup before the parent removes
|
||||
the disposable drawing.
|
||||
|
||||
On macOS on 2026-10-26, all twenty native cases and fixture cleanup passed.
|
||||
The overall runner failed its clean-error gate on the previously observed
|
||||
popout ResizeObserver loop notifications; no unrelated observer fix is claimed.
|
||||
|
||||
These synthetic payloads do not establish physical Windows browser drag
|
||||
behavior. Before merging #2992, manually check a browser image and linked image
|
||||
with all four web actions, a search-result image with an extensionless URL,
|
||||
YouTube thumbnail import/navigation, and a real OS-file drag repeated through
|
||||
the Use/Overwrite/Import choices. Save/reopen the drawing, and repeat the linked
|
||||
image case in a popout. Extensionless/blob image references use the supplied file
|
||||
as a vault attachment because they cannot be persisted as a supported image URL.
|
||||
|
||||
For internal file eligibility, run `npm run test:drop-actions`, then
|
||||
`npm run verify:obsidian:plugin -- --internal-drop`. The native scenario uses
|
||||
Obsidian's file-drag payload factory and the live modifier mappings with owned
|
||||
font/image fixtures in main and popout windows. Unsupported fonts must advertise
|
||||
only Insert link, with no other-modifiers hint, and insert a link regardless of
|
||||
the requested image/frame action. A real PNG must still advertise and insert an
|
||||
image with Shift. Both workflows survive save/reopen; fixture files, tooltip and
|
||||
drag/controller state are cleaned up. Source tests cover default Mac/Windows
|
||||
modifiers, singular/plural payloads, Markdown/PDF/media support and registered
|
||||
custom views. These synthetic events supplement real drag gestures.
|
||||
|
||||
For YouTube thumbnail URL regressions, run `npm run test:drop-actions`, then
|
||||
`npm run verify:obsidian:plugin -- --youtube-drop`. This opt-in network scenario
|
||||
requests the reported public video's JPEGs from `https://i.ytimg.com`. It checks
|
||||
Chrome-style link and mixed thumbnail payloads with both image URL/import
|
||||
actions in main/popout windows, real JPEG decoding beyond the missing-image
|
||||
placeholder size, retained video navigation, vault storage and save/reopen.
|
||||
It also dispatches DOM drop events through the canvas with the live Option frame
|
||||
mapping (Ctrl+Shift on Windows), covering plain/URI/HTML-only links and thumbnails
|
||||
with and without Files. The original drag data is cleared after synchronous
|
||||
dispatch. The plugin must hand off an independent URL-only transfer so Excalidraw
|
||||
can parse it asynchronously and own provider-specific insertion and sizing.
|
||||
Twenty-two frame cases check native YouTube (560×315), Shorts (315×560), Vimeo
|
||||
(560×315) and Twitter (480×480) dimensions, frame mounting and save/reopen. With
|
||||
image cases this makes thirty checks across main and popout windows. The provider
|
||||
frames use public URLs; their third-party content may load during these checks.
|
||||
Only owned drawings and newly created attachments are removed, and modifier
|
||||
settings are restored. The source tests cover the actual thumbnail URL resolver
|
||||
at every fallback resolution, including the required `/vi/` path and tracking
|
||||
parameters. This mode needs network access; the ordinary `--web-drop` scenario
|
||||
continues to use localhost only.
|
||||
|
||||
For Markdown embed changes, run the focused tests and the native regression for
|
||||
issue #2953:
|
||||
|
||||
```bash
|
||||
npm run test:markdown-embeds
|
||||
npm run verify:obsidian:plugin -- --embed-recovery
|
||||
```
|
||||
|
||||
For #3039, #3040 and interactive area padding, run
|
||||
`node scripts/testing/host/verify.mjs --embed-regressions`. Its six main/popout
|
||||
cases cover relative Live Preview links, long detached Reading sections in PNG,
|
||||
SVG image and native SVG formats, plus padding preview, exact source edits,
|
||||
undo, cancellation and unchanged drawing bytes. See
|
||||
[drawing embed controls](DRAWING_EMBED_CONTROLS.md). The cases are also included
|
||||
in complete native profiles; this focused command does not run those profiles.
|
||||
|
||||
Use `npm.cmd` in PowerShell. `--embed-recovery` also works with `verify:obsidian`
|
||||
and can be combined with `--text-undo` or `--grouped-link-click`. The offline tests exercise the real
|
||||
postprocessor with deferred image generation, including failed renders, temporary
|
||||
detachment, overlapping attribute updates, repeated callbacks, loader cancellation,
|
||||
and permanent context unload. They require no Obsidian process or extra DOM package.
|
||||
|
||||
The native scenario creates four UUID-named Markdown files (including a hybrid
|
||||
drawing), one tiny PNG, and adds text to the parent runner's disposable drawing.
|
||||
A long embedded note uses a collapsed callout
|
||||
so three repeated drawing embeds stay in the viewport. It temporarily defers the
|
||||
test plugin's `awaitInit()`, detaches the owned note's content for longer than the
|
||||
loader's cancellation interval, and verifies rendering and decoding after
|
||||
reattachment. SVG image, PNG, and inline SVG are checked in Live Preview, Reading
|
||||
mode, warm reopen, and width updates; an additional popout checks detachment and
|
||||
width updates in its own document. Closing a context with a pending render must
|
||||
stop insertion. The hybrid fixture uses `excalidraw-open-md: true`, a relative
|
||||
`![[#^as-image]]`, a nested drawing, and a native PNG. Live Preview and Reading mode
|
||||
must show all three, both directly and inside another note's Markdown transclusion;
|
||||
a filename-qualified `#^as-image` must still force the drawing side. These checks
|
||||
run in the popout and require a Markdown drawing for the parent smoke fixture.
|
||||
The scenario restores the temporary method override and preview
|
||||
setting, closes its own leaves, deletes only its recorded fixture paths, and
|
||||
removes its controller in `finally`. The parent runner still checks deployed
|
||||
hashes, JavaScript errors, and drawing cleanup.
|
||||
|
||||
This is a controlled lifecycle regression, not a reproduction of every reported
|
||||
layout race. Separately check an expanded long embedded note and scrolling,
|
||||
Hybrid Note PDF export, and cold application startup. Record live macOS and
|
||||
physical mobile coverage separately; Windows results do not establish those gates.
|
||||
|
||||
For grouped Ctrl/Cmd-click selection and link navigation, run:
|
||||
|
||||
```bash
|
||||
npm run verify:obsidian:plugin -- --grouped-link-click
|
||||
```
|
||||
|
||||
This regression dispatches synthetic pointer events through the mounted editor.
|
||||
It checks first-click selection, unlinked members, second-click navigation with
|
||||
Shift/Alt, nested groups, bound labels, and unchanged ungrouped link behavior.
|
||||
It observes the real link resolver and intercepts its final navigation hook to
|
||||
keep the test in its disposable drawing. Settings and hooks are restored afterward.
|
||||
This establishes desktop event routing, not physical mouse/touch input.
|
||||
|
||||
For text-edit/history changes, run the repeatable regression for issue #2976:
|
||||
|
||||
```bash
|
||||
npm run verify:obsidian:plugin -- --text-undo
|
||||
```
|
||||
|
||||
Use `npm.cmd` in PowerShell. The same `--text-undo` option works with
|
||||
`verify:obsidian` for a fork integration build. The complete #2976 fix also needs
|
||||
the component's unchanged-text history fix, included in the paired source
|
||||
checkpoint but pending package publication. Until the next component package and plugin dependency update,
|
||||
use `verify:obsidian` with the matching sibling source to test the complete pair;
|
||||
the declared `0.18.140` package does not include that component fix. The scenario
|
||||
uses native CDP
|
||||
keyboard input and the **Undo**/**Redo** toolbar buttons in the runner's
|
||||
temporary drawing. It checks raw and parsed text modes, reopening after undo and
|
||||
redo, submitting without changes, editing after undo, Markdown source preservation,
|
||||
and legacy/empty source handling. The matrix includes plain text, `[[link]]`,
|
||||
`[[link]]]` with an extra closing bracket, and `[[link|alias]]`. It writes a
|
||||
`text-undo-2976` result to the report; the parent runner still owns drawing cleanup
|
||||
and JavaScript error checks. The scenario uses the toolbar's stable test IDs, so
|
||||
labels may be localized. Physical mobile and popout checks remain separate.
|
||||
|
||||
For settings teardown changes, run `npm.cmd run verify:obsidian -- --lifecycle --diagnostics`.
|
||||
The reload case also replaces `data.json` with `{}` while the plugin is disabled,
|
||||
then verifies startup recovery from real device-local IndexedDB, byte-identical
|
||||
settings on disk, wheel zoom, pinned tools, custom note types and unknown keys.
|
||||
Its plugin-reload case persists non-default values and unknown
|
||||
nested settings, checks late retired-instance saves before/after replacement,
|
||||
and verifies disk and loaded preferences alongside the existing drawing/runtime
|
||||
assertions. Source timing controls run with `node --test scripts/testing/settings/settingsManagerLifecycle.source.test.mjs`.
|
||||
A write
|
||||
already inside native storage is awaited as real work; the tests do not claim
|
||||
it was cancelled by destroying a manager.
|
||||
|
||||
It also draws four earlier shapes, A, a `[[link]]` label and B using trusted
|
||||
pointer/keyboard input. Eight additional sequences cover bound/standalone text,
|
||||
raw/parsed mode and keyboard/toolbar history. They undo B, the text, A and every
|
||||
earlier shape to an empty scene, then redo the full sequence and compare element
|
||||
identity, geometry, Markdown source, link metadata and bindings. Evidence is
|
||||
written to `text-creation-history.json`; these sequences extend the existing
|
||||
`text-undo-2976` identity rather than adding new canonical native case IDs.
|
||||
An optional selection-only editor entry is verified separately: it must have
|
||||
no element delta, consume exactly one history entry and leave the scene unchanged.
|
||||
Every drawing-action entry must still undo in the specified order.
|
||||
|
||||
For the native Excalidraw authoring protocol, run:
|
||||
|
||||
```sh
|
||||
node --test scripts/testing/cli.test.mjs
|
||||
npm run verify:obsidian:plugin -- --native-cli
|
||||
```
|
||||
|
||||
The native scenario uses real registered commands and owned fixtures for file
|
||||
input, construction, template prose, read/apply/save/reopen, replay/stale/busy
|
||||
receipts, delayed text preparation, save failure, SVG/PNG, vault image metadata,
|
||||
and trusted script context/source changes/prompt refusal. Its temporary hooks and
|
||||
files are restored/deleted in `finally`. It records actual artifact dimensions
|
||||
and bytes. The separate text-undo scenario still requires the component fix
|
||||
described above. Run one driver at a time; UI/CDP input also needs the intended
|
||||
vault window to retain focus.
|
||||
|
||||
The native CLI lane also saves a light/dark SVG/PNG image-policy matrix in the
|
||||
report's `image-previews/` directory before cleaning its Vault fixtures. It covers
|
||||
shared-image originals, thumbnails and placeholders, crop/mirroring/rotation,
|
||||
transparency, frame title bounds, source/dirty-state preservation, metadata clear
|
||||
semantics, and an actual same-size/same-mtime
|
||||
attachment replacement after disk asset preparation. No raced output may publish. Set `EXCALIDRAW_CLI_POPOUT=1` to add
|
||||
popout inventory/export/teardown. This host currently reports ResizeObserver
|
||||
notifications when closing even a blank drawing popout; the runner preserves
|
||||
those errors and fails its clean-error gate rather than hiding them.
|
||||
|
||||
Set `EXCALIDRAW_CLI_LARGE_IDENTITY=1` for the explicit native identity stress:
|
||||
387 synthetic file records hold more aggregate payload characters than V8's
|
||||
maximum single-string length, including prepared descriptor payloads. It checks
|
||||
stable read/pagination revisions, last-byte replacement, stale-apply refusal and
|
||||
placeholder export, recording read timings and sampled JS heap usage. Its strings
|
||||
share immutable backing storage; this is not a benchmark of 570 MB of independently
|
||||
decoded real images, regenerated-equal payloads, peak memory or UI responsiveness.
|
||||
Those measurements still require an image-heavy drawing copy in the test vault.
|
||||
|
||||
For SVG-to-native conversion fidelity (#3018), run:
|
||||
|
||||
```bash
|
||||
npm run test:svg-import
|
||||
npm run verify:obsidian:plugin -- --svg-import
|
||||
```
|
||||
|
||||
Use `npm.cmd` in PowerShell. This lane reads the test vault's `TestAssets/*.svg`
|
||||
without changing them, verifies before/after hashes, and imports every actual
|
||||
installed Obsidian `getIconIds()`/`getIcon()` SVG. Its temporary owned module is
|
||||
unloaded/deleted afterward; no icon catalog or native CLI operation is added to
|
||||
the product. Original samples and generated previews remain local.
|
||||
|
||||
The runner reconstructs the old converter from pinned Git source and compares
|
||||
source-browser rendering, old native output and new native output on five
|
||||
backgrounds. Self-authored fixtures cover holes, overlaps, opacity and known-good
|
||||
primitives. Main/popout checks exercise command and EA insertion, scripted edits,
|
||||
grouping, native public history actions, clipboard between disposable drawings,
|
||||
SVG-as-image insertion, exports, save/reopen and plugin reload. Scripted transforms
|
||||
do not establish physical pointer/touch behavior. Approximate group compositing
|
||||
and unsupported text are reported separately from fidelity passes. See
|
||||
[the measured corpus, costs and remaining limits](SVG_IMPORT_VALIDATION.md).
|
||||
The runner continues to fail its strict JavaScript-error gate if it captures the
|
||||
previously observed, unattributed ResizeObserver notification; it does not hide it.
|
||||
|
||||
For LaTeX dialog input and window ownership (#2970), run:
|
||||
|
||||
```bash
|
||||
npm run verify:obsidian:plugin -- --latex-input
|
||||
```
|
||||
|
||||
Use `npm.cmd` in PowerShell. This option also works with `verify:obsidian`.
|
||||
Close any existing LaTeX dialog in the test vault first. The scenario exercises
|
||||
the real plugin prompt and CodeMirror in the main window, a direct popout, and
|
||||
a tab moved to a popout. Native CDP input checks click placement, arrows,
|
||||
Backspace, selection replacement, undo, Mod-Enter, formula save/reopen, cancel
|
||||
and editor destruction. Popout input attaches only to the single new page target
|
||||
created by the scenario. It restores its temporary gateway override, detaches
|
||||
its CDP session, closes its popouts, and removes its controller in `finally`;
|
||||
the parent runner owns the disposable drawing and final JavaScript-error check.
|
||||
|
||||
This input regression supplies a deterministic local SVG renderer through the
|
||||
MathJax gateway. It requires no Extras installation or network access and does
|
||||
not test MathJax rendering, its activation flow, or Latex Suite extensions.
|
||||
For the optional Latex Suite preview-positioning gate, install that separate
|
||||
extension in the local working vault and enable its math previews once. The
|
||||
coordinator installs/configures Extras MathJax automatically. Latex Suite is not
|
||||
a dependency of the required core profile. Then run:
|
||||
|
||||
```bash
|
||||
npm run verify:obsidian:plugin -- --latex-preview
|
||||
```
|
||||
|
||||
Use `npm.cmd` in PowerShell. This gate uses the real renderer without a gateway
|
||||
override and repeats the input/save/cancel checks in all three window cases. It
|
||||
also requires a visible, successfully rendered preview in each owning window.
|
||||
The paired Extras fix registers tooltip positioning in existing and newly opened
|
||||
popouts; testing only the main plugin cannot establish that companion gate.
|
||||
|
||||
Obsidian 1.14.0's Temml renderer rejects Latex Suite's `\class` cursor and
|
||||
bracket markers with “Function \class is not trusted.” This is separate from
|
||||
CodeMirror window ownership and Extras tooltip positioning. A vault with a
|
||||
pre-existing global MathJax may render successfully despite identical plugin
|
||||
versions. [Obsidian 1.14.1 switched to MathJax 4.1.3](https://obsidian.md/changelog/2026-09-08-desktop-v1.14.1/).
|
||||
Update Obsidian to 1.14.1 or newer, or temporarily clear Latex Suite's **Cursor
|
||||
symbol** and disable **Highlight brackets in preview** when testing 1.14.0.
|
||||
Do not weaken renderer trust or install a global MathJax as a test workaround.
|
||||
|
||||
On Windows, the real-preview gate passed after upgrading the test host to
|
||||
Obsidian 1.14.4 with the original Latex Suite settings. Main-window, direct-popout
|
||||
and moved-tab input, rendered previews, save/reopen, cancel, JavaScript error
|
||||
checks and fixture cleanup all passed without disabling cursor decorations.
|
||||
|
||||
Separately validate modal
|
||||
dragging outside the editor, macOS/Linux popouts, restored windows and physical
|
||||
mobile input. Windows CDP results do not establish these platform/extension gates.
|
||||
|
||||
If CLI access is disabled, enable it in Obsidian first. If the app is running but
|
||||
the CLI cannot reach it, check host permissions: a sandbox may lack access to the
|
||||
macOS CLI socket or Windows IPC. Retry with authorized host access instead of
|
||||
opening a second instance or choosing another vault.
|
||||
|
||||
If a call times out, inspect pending trust, onboarding, or native error dialogs.
|
||||
On Windows, malformed inline eval transport can produce a main-process JSON
|
||||
parse error dialog that blocks later commands. Dismiss it and retry through the
|
||||
Node helper. If necessary, ask the user to save work and restart Obsidian; do not
|
||||
force-close the application while other vaults are open. After interrupted cleanup,
|
||||
review the report/controller's exact drawing path before removing leftovers; never
|
||||
delete notes by prefix alone.
|
||||
|
||||
The historical default smoke covers one newly created main-window drawing. For the
|
||||
current reproducible workspace smoke/full/device/soak profiles, source and fixture
|
||||
guards, see [the maintained testing guide](TESTING.md). A smoke alone does not validate
|
||||
saved scenes, clipboard, text editing, fonts/images, export, custom pens, popout
|
||||
migration, offline assets, or physical mobile touch. For affected features, follow
|
||||
the fork's [native validation procedure](https://github.com/zsviczian/excalidraw/blob/master/dev-docs/Obsidian/OBSIDIAN_RUNTIME_TESTING.md)
|
||||
and its V03–V11 gates (also available in the sibling checkout). Record macOS and
|
||||
Windows live results separately, along with artifact identity and unavailable
|
||||
gates. A test of platform argument construction is not a live macOS smoke.
|
||||
|
||||
### Exact browser diagnostic policy (2026-10-29)
|
||||
|
||||
The native coordinator retains the exact browser ResizeObserver notification as
|
||||
raw diagnostic evidence, including timing and affected task/case phases. It does
|
||||
not suppress events or patch observers. Every context/profile and post-cleanup
|
||||
host must reach one second of unchanged geometry with no new notifications within
|
||||
five seconds. Persistent storms, unstable geometry, JavaScript exceptions, other
|
||||
errors, failed behavior and failed cleanup fail acceptance. The exact message is
|
||||
`ResizeObserver loop completed with undelivered notifications.`; messages carrying
|
||||
an Error/stack or broader exception text are not eligible. Instrumentation
|
||||
triggered one reproduced loop; sole causation of every notification is unproven.
|
||||
Full runs include uncaught-exception and deliberately incorrect-layout negative
|
||||
controls, reported separately from the 357 required feature cases.
|
||||
|
||||
Desktop behavioral editing uses registered native plugin CLI commands. Phone and
|
||||
tablet workflows use public `EA.executeCLI`; those two in-process workflows are
|
||||
not counted as native CLI command invocations. The current plan therefore has
|
||||
six native CLI-bearing feature cases (five editing plus Lucide) and two mobile EA CLI cases.
|
||||
|
||||
### Two complete matching-build repeats and shareable evidence
|
||||
|
||||
Keep all three selected workspace revisions unchanged between repeats:
|
||||
|
||||
```powershell
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/native-repeat-1'
|
||||
npm.cmd run test:native
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/native-repeat-2'
|
||||
npm.cmd run test:native
|
||||
node scripts/testing/summarizeNativeEvidence.mjs .test-work/reports/native-repeat-1 .test-work/reports/native-repeat-2
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/final-portable'
|
||||
npm.cmd run test:regression:portable
|
||||
node scripts/testing/review3022ProductionDiff.mjs
|
||||
```
|
||||
|
||||
The full native profile enforces all 357 required feature identities, including
|
||||
258 behavioral cases. Diagnostic negative controls are additional and separate.
|
||||
The evidence exporter refuses incomplete repeats, failed cleanup/baseline
|
||||
restoration, dirty source revisions, changed build manifests or mismatched
|
||||
artifacts. It writes sanitized case results, geometry, notification records,
|
||||
PDF/Canvas evidence and artifact/source manifests to `docs/testing-evidence/3022/`.
|
||||
These small documents may be committed and linked from the existing PRs; generated
|
||||
plugin binaries and full local reports remain ignored. No publication is needed.
|
||||
|
||||
Focused device diagnosis can use `--profile=devices --device-profiles=phone-portrait-light,tablet-portrait-full-light`.
|
||||
The profile still runs all 43 workflows in each selected context. Full/regression
|
||||
profiles reject this filter and continue to require all 40 device profiles and
|
||||
all 258 behavioral obligations.
|
||||
|
||||
Independent core diagnosis: `node scripts/testing/host/verify.mjs --core --diagnostics`
|
||||
builds/deploys the same three repositories and requires all 59 non-matrix core
|
||||
identities, including popout drops. It does not satisfy the full 357-case profile.
|
||||
Returned, fully cleaned scenarios may retain failures while independent scenarios
|
||||
continue; pending task/print resources stop the sequence. Existing report evidence
|
||||
cannot be overwritten: select a fresh report directory for each attempt.
|
||||
|
||||
The immutable seed now declares a single main reading-view tab and collapsed
|
||||
sidebars in `.obsidian/workspace.json`. Preparation and baseline restoration apply
|
||||
that layout through Obsidian's live workspace API and verify the active leaf and
|
||||
sidebar state. Native tests therefore do not inherit a previous picker/split
|
||||
layout. Behavioral split/popout/device scenarios still construct and assert their
|
||||
own declared contexts. Canvas preview scenarios collapse sidebars before fitting
|
||||
their multi-node fixture, preserving rendered-preview and independent-resize checks.
|
||||
|
||||
### Ordered ResizeObserver reductions
|
||||
|
||||
Use focused context/case filters to remove predecessors while retaining their
|
||||
original relative order. Compare an evidenced failing sequence with its halves,
|
||||
then reduce the failing half or the interaction between halves. A passing subset
|
||||
does not clear the complete-sequence failure. Record every trial and its frozen
|
||||
artifact hashes, including clean controls; never spend another full run without
|
||||
a new hypothesis.
|
||||
|
||||
Optional passive state evidence is enabled only by
|
||||
`EXCALIDRAW_TEST_STATE_EVIDENCE=1`. It records before/after each behavior context,
|
||||
each lifecycle case and lifecycle cleanup: per-setting hashes, workspace/sidebar
|
||||
layout, active leaf/editor/document, surviving leaves/popouts, registered event
|
||||
slots, main debugger listener count and background-throttling state. It performs
|
||||
no geometry measurement, observer patch, focus or scheduling write. Compare
|
||||
matched trials with this option off when evaluating instrumentation effects.
|
||||
|
||||
```powershell
|
||||
$env:EXCALIDRAW_TEST_STATE_EVIDENCE = '1'
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/reduce-main-split'
|
||||
npm.cmd run verify:obsidian -- --behavior-matrix --behavior-context=main,split --lifecycle
|
||||
# A separate matched control uses the same ordered cases and artifacts:
|
||||
Remove-Item Env:EXCALIDRAW_TEST_STATE_EVIDENCE
|
||||
```
|
||||
|
||||
The usual preparation, canonical-vault checks, host lock, error/idle gates,
|
||||
assertions and cleanup remain active. No native reduction earns full acceptance
|
||||
credit. Preserve failed evidence and keep any necessary saved-baseline recovery
|
||||
outside the trial; never reset a renderer mid-run to obtain a pass.
|
||||
|
||||
An imperative editor setter may schedule React state without committing it
|
||||
synchronously. After `setActiveTool()` (as after a keyboard tool shortcut), wait
|
||||
for the exact captured API's `getAppState().activeTool.type` before dispatching
|
||||
native drawing/text input. Bound that wait and fail if the API, view or file
|
||||
owner changes. Do not accept a successful setter call as input readiness or add
|
||||
blind delays; keep the actual editing/history/persistence assertions unchanged.
|
||||
@@ -0,0 +1,116 @@
|
||||
# SVG conversion entry points
|
||||
|
||||
The image menu offers **Import SVG as Excalidraw**, opening the system file
|
||||
picker with an SVG filter. The selected file is read directly and converted
|
||||
to grouped native geometry and editable text in one operation. It does not
|
||||
first copy an SVG image into the vault or scene. Cancelling leaves the drawing
|
||||
unchanged. The existing separate vault-import command remains available.
|
||||
|
||||
When Mermaid output is an SVG image, **Insert** offers
|
||||
**Convert to elements**, **Keep SVG image** and **Cancel**. Keeping the image
|
||||
preserves its Mermaid source; cancellation inserts nothing and retains the
|
||||
last source in the existing dialog storage. Native Mermaid diagrams and
|
||||
programmatic `ea.addMermaid()` retain their existing behavior without a prompt.
|
||||
|
||||
Right-click an SVG image in the drawing and select **Convert SVG to editable
|
||||
elements**. Generated Mermaid SVGs use their embedded scene data; no vault SVG
|
||||
file is required. Conversion replaces only that image, retaining its viewport,
|
||||
rotation, opacity, outer groups, frame, link and scene layer. One undo restores
|
||||
the original image, and shared SVG bytes remain available to other images.
|
||||
Locked images and drawing embeds retain their existing workflows. Reset a
|
||||
crop first: native geometry cannot retain image clipping.
|
||||
|
||||
The converter's [font/layout/effect limitations](../src/shared/svgToExcalidraw/readme.md)
|
||||
still apply, including approximations for reflected text and nonuniform text
|
||||
scaling. Source SVGs remain inert and local. Invalid/excessive source, invalid
|
||||
image geometry, empty conversion and changed editor/file/document identities
|
||||
cannot publish a partial replacement.
|
||||
SVG-local CSS custom properties and nested `var()` fallbacks are resolved,
|
||||
including inheritance, case-sensitive names, local overrides and cycles.
|
||||
Obsidian's theme is never consulted. The supplied Mermaid mindmap now retains
|
||||
its four series colors, translucent fills, light root fill and 13 editable
|
||||
labels. Missing variables without a fallback use inherited/initial presentation
|
||||
and produce a CSS warning. Advanced selectors, geometric CSS, font shorthands
|
||||
and complex effects remain limited; this is not a full browser CSS engine.
|
||||
Variables are bounded to 1,024 names per element, 32 references/fallback levels,
|
||||
8,192 characters per expanded value and the existing conversion work budget.
|
||||
Placement uses the converter's initial matrix rather than adding SVG wrappers.
|
||||
A regression checks that `svg { opacity: .5 }` applies once and that `g rect`
|
||||
does not start matching a root rectangle; the original wrapper implementation
|
||||
failed with blue/15% instead of red/30%. Both source and real-pixel native checks
|
||||
retain this assertion.
|
||||
|
||||
## Integration and repeatable validation
|
||||
|
||||
The plugin owns conversion, prompts, target guards, scene replacement, saving
|
||||
and cleanup. The fork changes four production files: the shared image menu,
|
||||
typed host adapter contract, fork-owned dispatch helper and a fingerprinted
|
||||
TTD pre-insertion hook. This requires paired host protocol 4; Extras and its
|
||||
service API are unchanged. Release/package/dependency versions are unchanged.
|
||||
Local matching artifacts/declarations prove integration only; publish/install
|
||||
the matching fork package before a durable release handoff.
|
||||
|
||||
From the plugin checkout, using Node 22+ and the existing vault trust/CLI
|
||||
prerequisites in [the runtime guide](OBSIDIAN_RUNTIME_TESTING.md):
|
||||
|
||||
```powershell
|
||||
npm.cmd run test:svg-import
|
||||
npm.cmd run test:fast
|
||||
npm.cmd run test:source-coverage
|
||||
npm.cmd run lib
|
||||
npm.cmd run test:bundle
|
||||
npm.cmd run test:inventory
|
||||
npm.cmd run test:features
|
||||
npm.cmd run verify:obsidian:plugin -- --svg-paint --svg-text --svg-entry-points
|
||||
```
|
||||
|
||||
The native command automatically builds the selected workspace fork/plugin/Extras,
|
||||
deploys and hash-checks them, applies the declared configuration and tests only
|
||||
`.test-work/vaults/excalidraw-auto-test/`. It restores the baseline and leaves
|
||||
installed builds available. New UI cases use trusted CDP input and the existing
|
||||
owned main/popout test environment, exception capture and bounded stable-idle
|
||||
checks. They assert actual scene state, decoded pixels, undo/redo and physical
|
||||
save/reopen; screenshots and menu registration alone do not count as behavior.
|
||||
|
||||
The initial run passed main-window import and all three Mermaid choices, then
|
||||
stopped on an obsolete `scrollToContent` call in test setup. The test now uses
|
||||
the supported `zoomToFit`, with every behavioral assertion retained. The next
|
||||
run passed all ten new cases across main and popout. A later combined run found
|
||||
a replaced context-menu button retained by the test. The helper now reacquires
|
||||
that menu target while preserving the visible/uncovered hit test; three
|
||||
regressions prove detached, covered and missing controls still fail. Failed
|
||||
evidence remains in ignored reports, including `svg-entry-native-css-final`.
|
||||
|
||||
Final combined validation passes **20 native cases**: ten new main/popout UI
|
||||
cases and ten reused converter cases. Both contexts decode 20,000 red pixels
|
||||
at the expected 30% opacity in the stylesheet regression. Console, CLI and
|
||||
window errors and browser notifications are empty; bounded settling, cleanup
|
||||
and baseline restoration pass. The installed test vault remains usable.
|
||||
|
||||
System chooser interception is required after trusted menu clicks, including
|
||||
`Page.fileChooserOpened` and the SVG filter. Selection supplies an actual file
|
||||
outside the vault through `DOM.setFileInputFiles`. Cancellation is explicitly
|
||||
synthetic; physical OS-dialog navigation remains a manual check. Both contexts
|
||||
decode 18,120 translucent-blue pixels in the supplied mindmap. An independent
|
||||
Canvas reference accounts for premultiplied-alpha rounding. The first pixel
|
||||
assertion expected unrounded source RGB; a solid-color control reproduced the
|
||||
rounding, and the corrected oracle passes. Failed evidence remains under the
|
||||
ignored `svg-system-colors-native` report.
|
||||
|
||||
Portable validation passes **549 tests** (31 new cases across conversion, UI,
|
||||
picker and input tooling), including the **105-case measured-source subset**
|
||||
and **96 focused SVG cases**. The fork passes 146 owned tests (seven new),
|
||||
20 existing built-browser cases, full type checking, both artifact/declaration
|
||||
builds, a clean packed consumer and the pinned 268-path audit. Build, library,
|
||||
five bundle checks, inventory and feature mapping also pass. Matching-type lint
|
||||
introduces no findings; existing view/import-order findings remain documented.
|
||||
The plugin bundle is 5,042,947 bytes, with 199,933 bytes below the release target.
|
||||
|
||||
See [sanitized case results, source identities, hashes and diagnostics](testing-evidence/svg-entry-points/results.json).
|
||||
The source identities record each repository's base commit and uncommitted
|
||||
source-diff hash; documentation is finalized after the native run.
|
||||
|
||||
The focused checks do not replace the complete 357-case matrix. Physical mobile,
|
||||
other desktop systems, restored/cold-start popouts and provider-backed AI
|
||||
generation remain separate validation environments; no external AI request is
|
||||
needed for these local Mermaid tests.
|
||||
@@ -0,0 +1,224 @@
|
||||
# SVG import validation — #3018
|
||||
|
||||
## Original macOS checkpoint
|
||||
|
||||
Measured on macOS on 2026-10-27, Node 22.22.2, Obsidian CLI/app
|
||||
1.15.0 (installer 1.14.0), plugin manifest 2.29.0. The old converter is pinned
|
||||
to `5e4c83f6370f93d3f794ef7afb9545a6b6208c11`. The guarded runner builds that
|
||||
source into its owned report directory; both versions pass through the same EA
|
||||
workbench staging before comparison. Browser rendering of the original SVG is
|
||||
the independent appearance reference. No external asset request is needed.
|
||||
|
||||
The component dependency remains 0.18.144. Integration used the previously
|
||||
authorized, locally copied unpublished fork artifacts; this change introduces
|
||||
no fork API dependency or fork source modification. Exact artifact SHA-256:
|
||||
|
||||
| Component artifact | SHA-256 |
|
||||
| --- | --- |
|
||||
| `excalidraw.production.min.js` | `6b9188c0a3ca14dbe5b57f040892f534ec73b89f18503c79bcd303a48ff99248` |
|
||||
| `excalidraw.production.min.css` | `0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002` |
|
||||
| `excalidraw.development.js` | `517ae39d2ed6758a41658ad40e58e9e843fc7d5c11ec170a342fae2b1d0768fb` |
|
||||
| `excalidraw.development.css` | `192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883` |
|
||||
|
||||
## Corpus and appearance
|
||||
|
||||
The local `excalidraw-test/TestAssets` corpus contains five SVGs, not a Git
|
||||
checkout. Before/after SHA-256 checks confirm the originals are unchanged.
|
||||
Third-party sample contents and generated previews are not committed.
|
||||
|
||||
| Sample | SHA-256 |
|
||||
| --- | --- |
|
||||
| `startup.svg` | `08ab5ad1a4ca5b325e1ffae7094abfc9920b7fb30c3e7fcbedb771f617f6dfbe` |
|
||||
| `project.svg` | `8e4c5cf9c2b902b94072612c686a237e2666a29c441a2997124266dc23443cd0` |
|
||||
| `rocket.svg` | `fc366fdeec6a151603736fc2c8cf0e2684c4679e219fda0bd8fe406e4bc56b62` |
|
||||
| `noun_Rocket_8415980.svg` | `c716bf9a1c47e5ec5a2a805953dbb761b1c8a58fd2b2fc2cc2f20df3da7c0057` |
|
||||
| `Icon - brain - Flaticon.svg` | `438f371bea62da56b374ba263843e698f344e924d48cdc84d081eb9c83029838` |
|
||||
|
||||
Actual installed `getIconIds()`/`getIcon()` yielded **1,982** registered SVGs:
|
||||
**1,935** `lucide-` IDs and **47** other registered IDs/aliases. All now convert
|
||||
successfully to nonempty native elements. Before changes, five returned empty
|
||||
output despite reporting success: `lucide-equal`, `lucide-equal-not`,
|
||||
`lucide-frame`, `lucide-hash`, `lucide-italic`. No fixed catalog count is encoded
|
||||
in the tests. An owned temporary plugin exposes Obsidian's real exports to the
|
||||
probe and is unloaded/deleted afterward; no catalog is added to product code.
|
||||
|
||||
Nineteen representative cases (seven actual Lucide icons, five supplied files,
|
||||
seven self-authored fixtures) each compare source/old/new on transparent, white,
|
||||
dark, green and checker backgrounds: **95 comparisons**. Roughness is zero for
|
||||
appearance measurement. Numbers below are mean normalized RGBA channel error
|
||||
on the checker background, lower is better; they are not perceptual scores or
|
||||
claims of exact raster equality.
|
||||
|
||||
| Fixture | Old error | New error | Classification |
|
||||
| --- | ---: | ---: | --- |
|
||||
| `startup.svg` | 0.103985 | 0.000355 | Improved |
|
||||
| `project.svg` | 0.224040 | 0.000380 | Improved |
|
||||
| `rocket.svg` | 0.166479 | 0.000182 | Improved; real transparent hole |
|
||||
| `Icon - brain - Flaticon.svg` | 0.178850 | 0.000496 | Improved |
|
||||
| `noun_Rocket_8415980.svg` | 0.066359 | 0.004445 | Improved geometry; unsupported copyright text omitted with notice |
|
||||
| Seven selected Lucide icons | 0.041081–0.190394 | 0.000150–0.000946 | Improved; lines, curves, primitive and previously empty cases |
|
||||
| Known-good translated rectangle | 0 | 0 | Unchanged |
|
||||
| Known-good mixed primitives | 0.026707 | 0.000338 | Improved; existing triangle defect corrected |
|
||||
| Transparent compound hole | 0.092525 | 0.000690 | Improved; underlying checker visible |
|
||||
| Even-odd overlapping contours | 0.054331 | 0 | Improved |
|
||||
| Inherited lines | 0.034490 | 0.000696 | Improved |
|
||||
| Independent opacity | 0.163733 | 0 | Improved |
|
||||
| Overlapping group opacity | 0.115591 | 0.014953 | Explicit native compositing approximation; not a fidelity pass |
|
||||
|
||||
The representable cases stay below 0.01 mean error on every tested background.
|
||||
The copyright-text and group-compositing cases are explicitly excluded from that
|
||||
acceptance threshold. Source/old/new rocket, transparent-hole and colored-brain
|
||||
previews were also inspected visually. This finite corpus does not establish
|
||||
full SVG compatibility; see the [support matrix](../src/shared/svgToExcalidraw/readme.md).
|
||||
|
||||
## Geometry and cost
|
||||
|
||||
One sequential native run measured the following. API time includes parsing,
|
||||
conversion and EA staging; export time measures native SVG construction only.
|
||||
These are single-run observations, not stable benchmarks or actual paint latency.
|
||||
Serialized bytes count native element JSON, without scene/file wrappers.
|
||||
|
||||
| Fixture | Elements old → new | Points old → new | JSON bytes old → new | API ms old → new | SVG export ms old → new |
|
||||
| --- | ---: | ---: | ---: | ---: | ---: |
|
||||
| `startup.svg` | 41 → 35 | 1,491 → 1,503 | 80,054 → 77,919 | 61.8 → 34.2 | 48.9 → 33.9 |
|
||||
| `project.svg` | 32 → 32 | 1,380 → 1,728 | 69,426 → 83,789 | 10.1 → 16.1 | 21.3 → 17.7 |
|
||||
| `rocket.svg` | 5 → 4 | 108 → 435 | 6,912 → 19,734 | 1.3 → 16.8 | 2.1 → 6.1 |
|
||||
| `noun_Rocket_8415980.svg` | 11 → 10 | 330 → 559 | 18,809 → 27,751 | 7.1 → 20.0 | 5.5 → 9.7 |
|
||||
| `Icon - brain - Flaticon.svg` | 66 → 65 | 2,367 → 5,723 | 122,810 → 250,725 | 32.4 → 113.2 | 51.9 → 109.1 |
|
||||
|
||||
Fidelity has a real cost for curved files. Correct viewport scaling and adaptive
|
||||
scene-space accuracy preserve details the old sampling lost. Dense straight
|
||||
outlines retain their vertices without an element per segment; a sweep and
|
||||
containment path avoid unnecessary all-pairs face work. Regression tests cover
|
||||
a 6,000-point simple outline and 4,400-point compound outline in both fill rules.
|
||||
No indiscriminate point deletion is used to manufacture smaller output.
|
||||
|
||||
Representative cold bounds-query time for the colored brain grew from 21.4 to
|
||||
46.3 ms; 100 subsequent bounds calls were 2.9 ms for each version. For project,
|
||||
cold bounds were 6.2 → 4.6 ms and 100 warm calls 0.4 → 0.3 ms. For rocket they
|
||||
were 0.2 → 1.6 ms and 0.2 → below timer resolution. Both versions use the same
|
||||
staging/version path. These queries do not measure drag responsiveness or paint.
|
||||
Large repeated complex imports and physical transforms remain review priorities.
|
||||
|
||||
## Editor and compatibility checks
|
||||
|
||||
`npm run test:svg-import`: **51 passed**, including the actual converter,
|
||||
independent winding-grid comparisons, malformed/resource limits, style and
|
||||
coordinate behavior, and extracted real importer/API boundary methods. Minimal
|
||||
old-converter reproductions failed for opacity, open strokes and white holes
|
||||
before fixes. The dense-outline regression also failed before its topology
|
||||
optimization. Inherited image-geometry tests (32), drop tests (147) and runner
|
||||
tests (11) pass. Production/library builds and four packaging checks pass.
|
||||
Focused converter/dialog lint is clean; full lint has 119 errors versus 120 at
|
||||
baseline. `npm run madge` is unavailable because its binary is not installed;
|
||||
it is not recorded as passing.
|
||||
The converter reuses the already installed path parser as an explicit runtime
|
||||
dependency. Offline tests declare patched `@xmldom/xmldom` 0.9.12 directly;
|
||||
that XML implementation is not included in the plugin runtime.
|
||||
|
||||
The native feature scenario passes in both main and popout windows:
|
||||
|
||||
- Actual command/dialog and EA insertion, synchronous append, untouched
|
||||
unrelated workbench contents, and atomic failure on malformed input.
|
||||
- Native grouping/ungrouping, scripted color/roughness changes, duplication,
|
||||
resizing and rotation; native public history Undo/Redo actions.
|
||||
- Actual clipboard event to another disposable drawing, SVG/PNG export, save
|
||||
and close/reopen with unchanged geometry/styles/groups.
|
||||
- Ordinary SVG-as-image insertion, plus a plugin disable/enable and reopening
|
||||
converted native elements without regeneration.
|
||||
- Before/after original asset hashes and owned fixture/controller cleanup.
|
||||
|
||||
These are scripted native checks, not physical pointer/touch gesture tests.
|
||||
Windows/Linux, cold application restart, restored popouts, physical mobile and
|
||||
offline/disconnected-device execution remain separate coverage. Product
|
||||
conversion itself makes no network requests and uses no desktop-only API.
|
||||
|
||||
## Unresolved runtime notification
|
||||
|
||||
The full native run's SVG assertions and cleanup pass, but its **strict
|
||||
JavaScript-error gate fails** on repeated `ResizeObserver loop completed with
|
||||
undelivered notifications.` events. This notification was observed in earlier
|
||||
work, including blank-popout teardown. Its responsible observer has not been
|
||||
identified; it must not be labeled harmless, test-only, or definitively a plugin
|
||||
bug. The test runner preserves it and does not filter it out. Passing SVG
|
||||
assertions do not establish the cause or absence of a lifecycle/layout problem.
|
||||
|
||||
The browser emits this event when resize observations remain undelivered after
|
||||
its loop-protection processing, deferring pending observations to another
|
||||
rendering cycle. See the [Resize Observer processing model](https://www.w3.org/TR/resize-observer/#deliver-resize-loop-error).
|
||||
Attribution requires tracing the responsible observer/layout writes separately;
|
||||
there is no related runtime suppression or ResizeObserver change in #3018.
|
||||
|
||||
Local evidence: guarded report `excalidraw-obsidian-E2gEVq/report.json` and its
|
||||
`svg-corpus.json`/PNG companions in the host temporary directory. The report
|
||||
records exact built/installed hashes: `main.js` SHA-256
|
||||
`8dbb8b9b29a08a1f241b2a81742510be5d7ea9c7e9a646b5719bd2d65e76682e`,
|
||||
5,006,500 bytes, 236,380 bytes below the 5 MiB release target. Reports/previews
|
||||
are local evidence, not files shipped in the plugin.
|
||||
The finalized corpus-lookup/test-dependency run (`excalidraw-obsidian-icsGTc`)
|
||||
repeated all feature and cleanup passes with identical installed artifact hashes;
|
||||
its strict error gate again failed on the same unattributed notification.
|
||||
|
||||
## Windows follow-up — 2026-10-27
|
||||
|
||||
Rechecked merged PR #3018 at `9e52063296ffcd3b38d6a2bd5b23546d7e6268f7`
|
||||
with the local follow-up changes: CSS specificity now compares ID/class/type
|
||||
counts lexicographically, and translucent `<use>` instances diagnose the existing
|
||||
compositing approximation when expansion emits multiple pieces. Direct/nested
|
||||
reuse, opaque/single-piece controls, repeated classes/types, universal selectors
|
||||
and source-order ties have regression coverage. Both reported reproductions
|
||||
failed before their respective fixes; all **55** converter/importer tests pass.
|
||||
|
||||
`npm run build`, four bundle tests and focused ESLint pass. Full `npm run code`
|
||||
retains exactly the same **119** baseline errors; Rollup's circular-dependency
|
||||
warnings are unchanged. No public EA signature, locale key, CSS or fork API changed.
|
||||
|
||||
`npm run verify:obsidian:plugin -- --svg-import` passed on Windows, Node 22.22.3,
|
||||
Obsidian **1.14.5 (installer 1.14.0)**, using only the dedicated `excalidraw-test`
|
||||
vault. The plugin manifest remains 2.29.0; these changes target the upcoming
|
||||
2.29.1 release without a version bump. The installed-package lane identified
|
||||
component **0.18.145** and the following actual bytes. This run did not reinstall
|
||||
the component or establish published-tarball provenance for locally installed
|
||||
artifacts; the preceding Mermaid integration used local artifact copying.
|
||||
|
||||
| Component artifact | SHA-256 |
|
||||
| --- | --- |
|
||||
| `excalidraw.production.min.js` | `dd9fca04252b4f1b74dc8c293fc77d0960af6d0461cb2d4092adbdc62a4ab00a` |
|
||||
| `excalidraw.production.min.css` | `0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002` |
|
||||
| `excalidraw.development.js` | `392dd6954b105f25675d210d7470e3a83d035299481050489f8da28296ad5ffc` |
|
||||
| `excalidraw.development.css` | `192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883` |
|
||||
|
||||
All **1,992/1,992** registered icons converted to nonempty native output,
|
||||
including **1,935** Lucide-prefixed IDs. The five supplied SVGs have the same
|
||||
before/after hashes listed above. Nineteen representative cases across five
|
||||
backgrounds produced **95** source/baseline/current comparisons; unsupported
|
||||
copyright text and group compositing retain their documented fidelity exclusions.
|
||||
The generated source/current checkerboard PNGs for the colored brain and project
|
||||
rocket were also visually inspected. Catalog conversion is not visual
|
||||
certification of every icon.
|
||||
|
||||
Main-window and fresh-popout command/EA import, append/failure isolation,
|
||||
grouping, scripted edits/duplicate/resize/rotate, native Undo/Redo, cross-drawing
|
||||
clipboard, SVG-as-image, SVG/PNG export and save/reopen passed. Plugin reload,
|
||||
the strict JavaScript-error gate and fixture/controller cleanup also passed.
|
||||
This clean Windows run does not identify or resolve the historical macOS
|
||||
ResizeObserver notification.
|
||||
|
||||
Local evidence: `excalidraw-obsidian-PlL0Xr/report.json`, `svg-corpus.json` and
|
||||
PNG companions in the host temporary directory. Built and deployed hashes match:
|
||||
|
||||
| Plugin artifact | SHA-256 |
|
||||
| --- | --- |
|
||||
| `main.js` | `f1cd74d06fd9a5e977ca2961f0bca6921a1c70d2d95494b305d8ff448d2e97e1` |
|
||||
| `styles.css` | `cabd7e32c71e41dca2cbaff8bb7f4f06b27417901da143d88608d4c7175a8284` |
|
||||
| `manifest.json` | `4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0` |
|
||||
|
||||
`main.js` is **5,012,500 bytes**, leaving **230,380 bytes** below the 5 MiB target.
|
||||
The companion CLI skill/reference update stays on `cli-image-efficiency`;
|
||||
its 25 offline tests and frontmatter/relative-link checks pass. These are not
|
||||
live acceptance of a trusted SVG script through the companion bundle.
|
||||
|
||||
Priority remaining checks: repeat the new specificity/use-opacity examples in
|
||||
main/restored popouts; assess dense SVG editing on physical mobile; rerun against
|
||||
published component bytes before release. Cold restart, Linux and physical touch
|
||||
remain separate environments. Existing representation limits remain unchanged.
|
||||
@@ -0,0 +1,83 @@
|
||||
# SVG paint fallback — 2026-10-31
|
||||
|
||||
This records the original paint-only checkpoint. The subsequent
|
||||
[editable-text follow-up](SVG_TEXT_VALIDATION.md) adds SVG and plain Mermaid
|
||||
HTML labels in the same PR; its current results supersede the text-omission
|
||||
limitation below. The original artifact hashes remain historical evidence.
|
||||
|
||||
An unsupported solid color, including `color(display-p3 ...)`, previously made
|
||||
`ea.importSVG()` return `false` and discard the whole conversion. Paint now
|
||||
uses the SVG's own current color, or black when that is unsupported, and emits
|
||||
the localized `paint` approximation notice. Supported colors, independent
|
||||
alpha, explicit `none` and zero opacity retain their behavior. Paint-server
|
||||
URLs use an explicit solid/`none` fallback without resolving/fetching the URL;
|
||||
without one, that paint remains omitted. This is not gradient rendering or a
|
||||
nearest-color conversion. Malformed/unsafe/excessive geometry still fails
|
||||
atomically without publishing partial elements.
|
||||
|
||||
Four regressions failed before the fix and pass afterward. The focused
|
||||
converter/importer suite passes **59 cases**, including alpha/holes, inherited
|
||||
styles, grouping, transforms, resource guards, atomic failure and cleanup.
|
||||
The full plugin fast lane passes **507 tests**; the separately measured
|
||||
whole-module source-coverage lane passes **84 tests** and its ratchets. Feature
|
||||
and public/test inventories pass. Production and public-library builds pass.
|
||||
All nine touched TypeScript files lint with zero warnings. Whole-repository
|
||||
`npm run code` still reports 118 type-safety/project-service errors; this
|
||||
change does not fix that unrelated gate.
|
||||
|
||||
The focused native sequence builds the matching workspace plugin, fork and
|
||||
Extras; installs and hash-verifies them in
|
||||
`.test-work/vaults/excalidraw-auto-test/`; and restores the defined baseline.
|
||||
All **eight focused cases** pass, with no captured console/JavaScript errors or
|
||||
browser notifications, and with passing settling, cleanup and restoration:
|
||||
|
||||
| Workflow | Evidence |
|
||||
| --- | --- |
|
||||
| Unsupported paint through EA | Both native rectangles remain; PNG decoding finds 400 opaque fallback-color pixels and 400 red pixels. Visual inspection confirms both rectangles. IDs/colors survive acknowledged save and reopen. |
|
||||
| Real Extras pie → SVG → EA | 6 native geometry elements |
|
||||
| Real Extras mindmap → SVG → EA | 2 native geometry elements |
|
||||
| Real Extras Gantt → SVG → EA | 10 native geometry elements |
|
||||
| Real Extras journey → SVG → EA | 14 native geometry elements |
|
||||
| Real Extras timeline → SVG → EA | 6 native geometry elements |
|
||||
| Real Extras Git graph → SVG → EA | 4 native geometry elements |
|
||||
| Real Extras quadrant → SVG → EA | 5 native geometry elements |
|
||||
|
||||
These seven small Mermaid fixtures establish a geometry-conversion route,
|
||||
not faithful conversion of arbitrary diagrams. SVG text/images and unsupported
|
||||
effects are omitted; labels, bound arrows and semantic graph relationships
|
||||
are not reconstructed. Keep the SVG image when fidelity matters more than
|
||||
editing paths. Native element resizing also differs from SVG-image resizing:
|
||||
ordinary geometry resizing does not proportionally change stored stroke width.
|
||||
|
||||
[Sanitized results and artifact manifests](testing-evidence/svg-paint/results.json)
|
||||
retain exact tested source identities, runtime hashes, assertions and diagnostic
|
||||
lists. Native validation used Windows Obsidian and the shared application-session
|
||||
lock. The final production rebuild matches the native-tested `main.js` hash:
|
||||
`f73848b0216b2971c88b746e55e6e724ed0823f9249ce979d0e93fb9b4a8e18d`
|
||||
(5,031,850 bytes; 211,030 bytes below the 5 MiB target). No generated binaries,
|
||||
personal-vault data, version or dependency changes are committed.
|
||||
|
||||
Repeat from the plugin checkout (Node 22+, native vault trust/registration
|
||||
prerequisites from [the runtime guide](OBSIDIAN_RUNTIME_TESTING.md)):
|
||||
|
||||
```powershell
|
||||
npm.cmd run test:svg-import
|
||||
npm.cmd run build
|
||||
npm.cmd run test:fast
|
||||
npm.cmd run test:source-coverage
|
||||
npm.cmd run lib
|
||||
npm.cmd run verify:obsidian:plugin -- --svg-paint
|
||||
npm.cmd run test:inventory
|
||||
npm.cmd run test:features
|
||||
```
|
||||
|
||||
The CLI skill bundle's existing `cli-image-efficiency` branch now documents
|
||||
the native Mermaid families, SVG-image fallback, `ea.importSVG()`, Lucide
|
||||
`create.icons`/`apply` and `ea.addLucideIcon()`, including stroke scaling and
|
||||
fidelity limits. Its 25 offline checks pass; those are separate from the live
|
||||
EA/Extras evidence above.
|
||||
|
||||
This focused run does not replace the full 357-case acceptance profile. It does
|
||||
not establish physical-mobile, macOS/Linux or popout coverage for this patch.
|
||||
Priority manual checks are a previously failing SVG with unsupported paint,
|
||||
transparent/holed artwork over a colored background, and main/popout import.
|
||||
@@ -0,0 +1,89 @@
|
||||
# Editable SVG and Mermaid labels
|
||||
|
||||
The supplied mindmap stores its ten labels in XHTML inside SVG
|
||||
`foreignObject` nodes. Its SVG `text` nodes are empty placeholders except for
|
||||
the footer. The previous converter deliberately omitted both forms of text.
|
||||
|
||||
`ea.importSVG()` now stages SVG `text`/positioned `tspan` content and plain
|
||||
HTML labels as editable native text, using EA's existing font measurements.
|
||||
Colors, opacity, basic alignment, ancestor groups and ordinary transforms are
|
||||
retained. Text uses the same short, block-reference-safe IDs as EA-created text;
|
||||
this avoids ID replacement during Markdown persistence. The real save/reopen
|
||||
test caught the original long-ID mismatch before this checkpoint.
|
||||
|
||||
This is plain-text extraction from inert XML. Source HTML is never attached to
|
||||
the document, and scripts, handlers, images and remote resources never execute
|
||||
or load. Character, line, traversal, element and coordinate limits remain
|
||||
bounded; a fatal error leaves the workbench unchanged.
|
||||
|
||||
Available fonts replace arbitrary source fonts. Rich inline styling, exact
|
||||
glyph baselines, wrapping, text-on-path, skew/nonuniform scaling and complex
|
||||
HTML layout can differ and produce a localized text-approximation notice.
|
||||
Images/effects are still limited by the converter's
|
||||
[support matrix](../src/shared/svgToExcalidraw/readme.md). Shape bindings and
|
||||
Mermaid's semantic graph are not reconstructed. Keep the SVG image when exact
|
||||
appearance matters more than editing.
|
||||
|
||||
## Verified checkpoint — 2026-10-31
|
||||
|
||||
The final native build uses plugin `0c994859ed8b8aa0c5a80c111815a5b8413ece5b`,
|
||||
fork `745d62f7071be4da192f595bb75e140a7b741fc0` and Extras
|
||||
`df1f2b5659259c43780c5ef07cd433fa6c3e14fa`, all clean at build time.
|
||||
[Sanitized cases, source identities and artifact manifests](testing-evidence/svg-text/results.json)
|
||||
record the exact build and assertions without publishing the supplied SVG or
|
||||
its rendered image.
|
||||
|
||||
- **69 focused SVG tests** and **518 full fast tests** pass. The fast total
|
||||
includes 11 new text tests; the measured whole-module subset passes 85 tests
|
||||
and its existing coverage ratchets. CLI wrapper checks separately pass 25.
|
||||
- **10 focused native cases** pass: two new text workflows plus eight reused
|
||||
paint/real-Extras workflows, with expected editable-label assertions added to
|
||||
the Mermaid conversions. No full-matrix acceptance credit is inferred.
|
||||
- The supplied mindmap yields 41 native elements, including all ten labels
|
||||
and its footer as 11 editable text elements. A text-only export contains
|
||||
5,607 visible glyph pixels. Editing, acknowledged saving, exact IDs/text after
|
||||
reopen, popout loading/export, cleanup, settling and baseline restoration pass.
|
||||
The source hash is unchanged. Visual inspection confirms the labels render.
|
||||
- Production/library builds, five packaging checks, inventory and feature
|
||||
mappings pass. All 18 touched TypeScript files lint clean. Whole-repository
|
||||
lint still reports the same 118 unrelated errors; it is not a passing gate.
|
||||
- No captured console/JavaScript errors or browser notifications occurred.
|
||||
`main.js` is 5,033,282 bytes, leaving 209,598 bytes below the 5 MiB target.
|
||||
Its deployed hash matches
|
||||
`bf05168f57e66718452b010e770d57722ff11135584de17877dcdf8b90d6f004`.
|
||||
|
||||
No version, dependency, fork, Extras or PDF production changes are included.
|
||||
This build was installed in the prepared test vault; the personal-vault build
|
||||
is not updated by these checks.
|
||||
|
||||
## Repeatable checks
|
||||
|
||||
Use Node 22+ from the plugin checkout. Native runs use only
|
||||
`.test-work/vaults/excalidraw-auto-test/`, following the one-time trust/CLI
|
||||
prerequisites in [the runtime guide](OBSIDIAN_RUNTIME_TESTING.md). Each sequence
|
||||
builds and hash-verifies the selected workspace fork/plugin/Extras, installs
|
||||
them, applies baseline settings, and restores the baseline after cleanup.
|
||||
|
||||
```powershell
|
||||
npm.cmd run test:svg-import
|
||||
npm.cmd run build
|
||||
npm.cmd run test:fast
|
||||
npm.cmd run test:source-coverage
|
||||
npm.cmd run lib
|
||||
npm.cmd run test:bundle
|
||||
npm.cmd run test:inventory
|
||||
npm.cmd run test:features
|
||||
npm.cmd run verify:obsidian:plugin -- --svg-paint --svg-text
|
||||
```
|
||||
|
||||
The text probe defaults to a tracked, self-authored fixture embedded in its
|
||||
source. To test a particular SVG, set `EXCALIDRAW_SVG_TEXT_FIXTURE` to its absolute
|
||||
path before the last command. The file is read-only and hashed before/after;
|
||||
generated images and private diagnostics stay in the ignored report directory.
|
||||
|
||||
The focused native cases assert real Extras-generated SVG conversions, all
|
||||
expected editable labels, measured text geometry, visible glyph pixels in a
|
||||
text-only export, editing, acknowledged save, exact IDs/text after reopen,
|
||||
popout loading/export, settling and cleanup. Visual inspection is recorded
|
||||
separately from automated assertions. These checks do not replace the complete
|
||||
357-case acceptance profile or physical-mobile/macOS/Linux validation.
|
||||
+438
@@ -0,0 +1,438 @@
|
||||
# Maintaining the test lanes
|
||||
|
||||
## Coordinated Mermaid 3.6 requirement — 2026-11-05
|
||||
|
||||
The plugin requires Extras Mermaid service exactly **3.6.0**. Extras must build
|
||||
the matching converter 3.6/Pele 1.13 implementation, including legacy caller
|
||||
curve compatibility. The handshake rejects older services and unmatched patch
|
||||
versions. The component's npm dependency stays at 0.18.146 for the explicitly
|
||||
requested intermediate handoff; local integration uses the merged fork source.
|
||||
The portable/native workflow source pins select that same fork/Extras pair.
|
||||
|
||||
Run the normal portable and native profiles before readiness. A requested
|
||||
personal-vault deployment backs up installed binaries and settings, saves open
|
||||
drawings before reload, verifies artifact hashes and preserves settings and
|
||||
enabled-plugin configuration. It does not run the synthetic native test suite
|
||||
inside the personal vault.
|
||||
|
||||
Optional K-Plex ontology completion has a combined fresh-build native lane:
|
||||
`npm run test:kplex-ontology`. Its source, API contract, fixture ownership and
|
||||
release coordination are documented in [K-Plex ontology completion](KPLEX_ONTOLOGY_COMPLETION.md).
|
||||
The full native/regression profiles require its main/popout cases and responsive
|
||||
phone/tablet cases. The ordinary portable lane keeps K-Plex optional.
|
||||
|
||||
## Current checkpoint (2026-10-30)
|
||||
|
||||
[Accessible sanitized case summaries and artifact manifests](testing-evidence/3022/README.md)
|
||||
record the tested plugin `fd32ac68`, fork `053a3b9` and Extras `1cdcb7c`.
|
||||
Fresh portable verification passes **666 canonical cases (68 new, 598 reused)**,
|
||||
source/package gates, builds and declarations. Both complete native repeats pass
|
||||
**357/357 cases**, including all **258 behavioral obligations** and all **40
|
||||
device/layout profiles**. Source revisions, frozen/deployed artifact hashes and
|
||||
seed match; cleanup, baseline restoration and both native negative controls pass
|
||||
in each repeat. Native accounting remains **273 new / 84 reused identities**;
|
||||
diagnostic repetitions add no canonical cases.
|
||||
|
||||
The normal repeats use `npm.cmd run test:native` in the repository-local vault,
|
||||
without observer interception or optional state snapshots. They retain one and
|
||||
two exact transient ResizeObserver notifications respectively; every idle gate
|
||||
passes and device captures are quiet. The historical sustained storm did not
|
||||
recur and its original observer remains unidentified. No production fix or sole
|
||||
host/instrumentation cause is inferred, and a future storm must still fail.
|
||||
|
||||
All 16 text-history variants, all six large-scene cycles and all 15 popout-drop
|
||||
variants pass in both complete repeats. Both actual uncaught-error and deliberately
|
||||
wrong-layout negative controls prove strict rejection. The accepted production
|
||||
fixes, `patchMobileView` behavior and PDF timeout/concurrency-lock rollback remain
|
||||
unchanged. The final production-diff audit passes.
|
||||
|
||||
The preceding 231-case full desktop/core trace and matched untraced comparison
|
||||
pass but earn no complete acceptance credit. The diagnostic is removed before
|
||||
both ordinary repeats, with no diagnostic reset between those repeats. Historical
|
||||
failed reports and raw events remain published. The working vault is installed,
|
||||
restored, quiet and usable. The full plan has six registered native CLI-bearing
|
||||
cases (five editing plus Lucide) and two separate mobile public `EA.executeCLI`
|
||||
workflows. Physical devices, other native OSes, real OS drag/clipboard and isolated
|
||||
whole-app cold start remain separate environments, not additional claimed passes.
|
||||
|
||||
## Required current-product regression
|
||||
|
||||
Current fork behavior is the accepted baseline. Run `npm run test:regression`.
|
||||
Native work always prepares `.test-work/vaults/excalidraw-auto-test/` from the
|
||||
current selected workspace revisions; no desktop-vault environment is needed. It builds the three
|
||||
repositories, runs independent fork/Extras source and built-browser tests, plugin
|
||||
fixture/source tests and coverage gates, clean package consumers, and native
|
||||
CLI/ExcalidrawAutomate/persistence/rendering checks, main/popout lifecycle and the
|
||||
40-case device/layout matrix plus the expanded behavioral workflows. Every
|
||||
required case and error/cleanup gate must pass. The earlier 685-case core
|
||||
checkpoint does not satisfy omitted important behaviors in this follow-up. JSON, JUnit, command logs and source
|
||||
identities are written together under `.test-work/reports/regression-<uuid>`.
|
||||
|
||||
Use `npm run test:regression:portable` in hosted CI or without an Obsidian session.
|
||||
It explicitly reports portable coverage and does not claim native validation.
|
||||
Install the fork's pinned Playwright Chromium first (`yarn playwright install
|
||||
chromium`; Linux CI also needs `--with-deps`). Run the same command again for a
|
||||
fresh repeat; reports are not reused. Never automatically update expectations.
|
||||
|
||||
Focused native, soak and isolated restart profiles remain available. See
|
||||
[suspected failures and decisions](TESTING_FINDINGS_3022.md) before
|
||||
treating any of them as accepted behavior. The historical upstream web-app audit
|
||||
is opt-in; it is not part of the independent fork regression gate.
|
||||
|
||||
Use Node 22.22.3, npm here and in Extras, and Yarn in the fork. Source-mapped
|
||||
tests use Node's synchronous registration hooks and require Node 22.15 or newer.
|
||||
The plugin still supports its declared Obsidian minimum; the native CLI has a
|
||||
separate installer floor (1.12.7) and desktop-only transport.
|
||||
|
||||
## Repository-local preparation and test entry point
|
||||
|
||||
From the plugin checkout:
|
||||
|
||||
```powershell
|
||||
npm.cmd run test:native -- --prepare-only
|
||||
# Open .test-work/vaults/excalidraw-auto-test/ once in Obsidian and accept trust.
|
||||
npm.cmd run test:native
|
||||
```
|
||||
|
||||
`test:native` is one preparation-and-test entry point; `--prepare-only` is an
|
||||
optional first-open convenience. It installs real `main.js`, `manifest.json`,
|
||||
`styles.css` and declared `data.json` for the plugin and available workspace
|
||||
Extras. Subsequent runs rebuild, freeze, deploy/hash-verify, configure and enable
|
||||
both automatically. Installer/CLI registration and the first Obsidian vault
|
||||
opening/trust are one-time host prerequisites. No global vault-registry edit,
|
||||
manual plugin copy, service configuration or personal/desktop-vault fallback is
|
||||
part of a run. Conflicting inherited vault environment variables fail early.
|
||||
|
||||
The seed includes synthetic content and deterministic application/core-plugin/
|
||||
community-plugin/plugin settings. Generated executables remain in the ignored
|
||||
working vault. See [runtime preparation, commands and recovery](OBSIDIAN_RUNTIME_TESTING.md).
|
||||
|
||||
For all portable and native gates together, use:
|
||||
|
||||
```powershell
|
||||
$env:PLAYWRIGHT_BROWSERS_PATH = Join-Path (Resolve-Path ../excalidraw) '.test-work/browsers'
|
||||
yarn.cmd --cwd ../excalidraw playwright install chromium # One-time portable browser setup
|
||||
npm.cmd run test:regression
|
||||
```
|
||||
|
||||
Repeat the same command for fresh evidence. Default reports use unique output
|
||||
directories. `npm.cmd` / `yarn.cmd` avoid blocked PowerShell `.ps1` shims.
|
||||
|
||||
## Expanded behavioral obligations
|
||||
|
||||
`tests/features.json.behaviorMatrix` defines all factor domains, reviewed
|
||||
expected results/assertions, case templates and required context-specific IDs.
|
||||
There are currently **258 additional required behavioral cases** across main,
|
||||
ordinary split, nested split, popout, emulated phone and emulated tablet contexts.
|
||||
Four desktop behavior cases use registered native plugin CLI `read`/`apply`;
|
||||
the two phone/tablet CLI cases use public `EA.executeCLI`. Native authoring and
|
||||
Lucide export are the other two desktop CLI-bearing cases. Other host cases
|
||||
use native EA/renderers and trusted CDP input as applicable. Fifteen popout
|
||||
web/internal-drop variants are also required and explicitly labeled synthetic
|
||||
payload evidence. Existing native command-authoring and lifecycle cases remain.
|
||||
|
||||
The settings plan covers every pair in its declared domains plus explicit
|
||||
high-risk rows, including conflicting defaults/overrides, missing values,
|
||||
false and zero. Export rows check actual decoded output. Markdown rows use real
|
||||
reading view and Live Preview; image rows cover shared sources, independent
|
||||
crops/sizes, source edits, missing assets, drawing/Markdown/PDF and local
|
||||
embeddables. EA and actual palette/menu/shortcut workflows run in each context.
|
||||
Phone/tablet workflows therefore establish more than rectangle layout tests.
|
||||
|
||||
Source discovery enumerates 187 settings, 24 frontmatter fields, 161 public EA
|
||||
entries, 76 commands and 14 hooks. Enumeration is not proof that every member is
|
||||
behaviorally covered. Reports retain the exact exercised cases and genuine gaps;
|
||||
physical touch/stylus, OS drag/clipboard, other native OSes and isolated whole-app
|
||||
restart remain separate environments. Missing important required cases keep the
|
||||
expanded suite unfinished; they cannot be waived by the old core count.
|
||||
|
||||
**Current follow-up status:** PDF rollback, real PDF output, source gates and
|
||||
installation guards pass. The isolated approved focus correction passes natively.
|
||||
Two complete native repeats remain required; foreground native work is paused.
|
||||
Do not treat implemented case declarations as passed evidence.
|
||||
|
||||
Reports distinguish new/reused canonical identities against
|
||||
`tests/reused-case-ids-3022.json`, actual plugin CLI command cases, host/EA/input
|
||||
cases and mobile emulation. That historical ID list is only count accounting;
|
||||
it is never an expected-failure or acceptance allowlist.
|
||||
|
||||
## Follow-up evidence, 2026-10-28 (unfinished)
|
||||
|
||||
The clean follow-up portable aggregate passes **633 canonical cases**: 458 plugin
|
||||
fast, 124 fork source, 18 fork browser, 29 Extras source and four Extras browser.
|
||||
It includes **35 new and 598 reused canonical identities**. The overlapping
|
||||
plugin source-coverage gate passes 73 cases; both packed-consumer gates pass.
|
||||
Evidence: `.test-work/reports/expanded-portable-clean/`, using clean plugin
|
||||
`d7d9a355efdf07fe1f47ded0f7e32f5c6b1225bf`, fork
|
||||
`6fc8f6b7176b93e098c75f3d8846c06c4cfb3106` and Extras
|
||||
`1cdcb7c425a9b80afdc7b39c88861143b4b85e58`.
|
||||
The first pre-checkpoint portable run also passed (632 cases, before the added
|
||||
live-configuration tooling case). Later follow-ups strengthen only native export
|
||||
geometry assertions and update documentation; these native assertions remain
|
||||
unexecuted until the local-vault prerequisite is completed.
|
||||
|
||||
The current required native denominator is **357 cases**: 317 core/behavior/drop
|
||||
cases and 40 device/layout cases (273 new identities / 84 reused). Six exercise
|
||||
registered desktop plugin CLI commands; two mobile workflows use public
|
||||
`EA.executeCLI` separately. Host/EA/trusted-input cases and emulated contexts are
|
||||
counted separately. The historical native IDs are omitted by the portable profile,
|
||||
rather than removed tests. Three old PDF deadline/lock identities were replaced
|
||||
or removed. The dated 2026-10-28 follow-up had zero fresh native passes; current
|
||||
subset results are recorded above and do not satisfy the complete-repeat gate.
|
||||
| Required follow-up | Current result |
|
||||
| --- | --- |
|
||||
| PDF timeout/lock rollback | Source regression passes; completion remains event-driven |
|
||||
| Delay beyond two minutes | Controlled clock passes at 120001 ms and a further 15 minutes; resources remain owned until completion |
|
||||
| Real plugin-to-Extras PDF and decoded-page inspection | **Passed**, `opened-single-pdf-repeat/`: one page, 288 x 216 pt, preserved text and 3330 red pixels |
|
||||
| Actual installed plugin and Extras files | Present and hash-verified; latest preparation/provenance must be refreshed after changes |
|
||||
| One-time local vault registration/trust | **Completed** by maintainer; native canonical-path verification passes |
|
||||
| 258 cross-context behavioral cases | Isolated F17 correction passes; full repeats remain pending after a foreground-access interruption |
|
||||
| 15 additional popout drop variants | **Passed** in the 59-case independent core run |
|
||||
| Two complete matching-build native runs | **Pending** |
|
||||
| Follow-up production diff | Pass: exact PDF rollback and approved plain-PDF/font/internal-preview-focus fixes and release notes |
|
||||
|
||||
The portable report records **zero native cases**. Source simulation, actual
|
||||
browser rendering, CLI command transport and host/EA/trusted-input evidence are
|
||||
separate. Profile-omitted native cases are not described as deleted tests. The
|
||||
new/reused ledger records canonical identities rather than new test files or
|
||||
changed assertion counts. No new suspected product defect has been established
|
||||
by these unexecuted native cases; failures must be reproduced and reported before
|
||||
any further production change.
|
||||
|
||||
## Portable checks
|
||||
|
||||
Install each checkout's declared dependencies. Set `EXCALIDRAW_FORK_ROOT`,
|
||||
and `EXCALIDRAW_EXTRAS_ROOT` to explicit sibling
|
||||
checkouts when they are elsewhere. Then run:
|
||||
|
||||
```sh
|
||||
npm run test:build-workspace
|
||||
npm run build
|
||||
npm run test:contracts
|
||||
npm run lib
|
||||
npm run test:packages
|
||||
npm run test:fixtures
|
||||
npm run test:inventory
|
||||
npm run test:features
|
||||
npm run test:fast
|
||||
npm run test:source-coverage
|
||||
```
|
||||
|
||||
On macOS, use a canonical temporary directory for guarded fixtures, for example
|
||||
`TMPDIR=/private/tmp npm run test:fast` (and the same environment for native
|
||||
commands). A shell-provided `/var/...` alias may traverse a symlink and correctly
|
||||
trip the redirected-path guard. Keep the guard; correct the fixture environment
|
||||
rather than accepting redirected vault/config paths.
|
||||
|
||||
If a fresh packed consumer reports `ETARGET` while using `--prefer-offline`,
|
||||
inspect its registry log before assuming the declared version is unpublished.
|
||||
Revalidate the exact package/version with `npm view <package>@<version> version
|
||||
--prefer-online --json`, then rerun the unchanged consumer command. A lockfile
|
||||
can install a valid cached tarball while independent resolution still sees stale
|
||||
registry metadata. Do not downgrade, edit the package manifest or substitute a
|
||||
local dependency merely to make that check pass. If the official registry truly
|
||||
lacks the version, retain that failure as a publication blocker.
|
||||
|
||||
Build first: the fast command includes production-bundle assertions. Every
|
||||
repository-owned `.test.mjs` is discovered; zero discovery, missing files,
|
||||
duplicate IDs, failed/todo/skipped cases and ratchet regressions fail. Regenerate
|
||||
`tests/inventory.json` with `node scripts/testing/inventory.mjs` after intentional
|
||||
surface/test changes, then review the diff. Fixture changes require the same
|
||||
deliberate regeneration/review through `scripts/testing/fixtures.mjs`.
|
||||
|
||||
`tests/features.json` maps P01–P12 source anchors, fixture IDs, executable cases,
|
||||
success/failure/cleanup expectations and remaining obligations. It is an
|
||||
obligation list. A mapping or AST inventory is not execution coverage of every
|
||||
command, setting, EA method or hook. Keep unresolved cases in the denominator.
|
||||
Source coverage measures actual compiled production modules with source maps;
|
||||
historical extraction/VM tests receive no original-source coverage credit.
|
||||
|
||||
## Native workspace profiles
|
||||
|
||||
The target is fixed to the marker-owned repository-local vault. The coordinator
|
||||
sets its name, canonical vault/config paths and ownership root; do not point
|
||||
native commands at the historical desktop vault. `EXCALIDRAW_TEST_REPORT_DIR`
|
||||
may select a fresh report directory. `EXCALIDRAW_TEST_USER_DATA_PATH` selects an
|
||||
explicit host identity when the normal application data location differs; the
|
||||
actual CLI host must match the held session lock.
|
||||
|
||||
Provisioning installs executable builds as well as the immutable seed. It never
|
||||
edits the global registry. Complete the first opening/trust/CLI prerequisite
|
||||
above once; subsequent native profiles perform preparation automatically.
|
||||
|
||||
| Command | Required work |
|
||||
| --- | --- |
|
||||
| `npm run verify:obsidian:smoke` | Build/freeze/stage all three repositories; load commands, protocol and one main-window drawing |
|
||||
| `npm run verify:obsidian:regression` | Full production native profile: core/persistence, main/popout lifecycle, real services, CLI/EA, trusted tools, imports/text/history, six large-scene round trips, the required behavior matrix, popout drop variants and 40 device/layout cases |
|
||||
| `npm run verify:obsidian:full` | Smoke plus data/lifecycle, real Extras services/PDF, workflow/pickers, Lucide, text/history, images/embeds, wheel, CLI, links, LaTeX input, core EA authoring, stability and device matrix |
|
||||
| `npm run verify:obsidian:devices` | Smoke then 40 measured desktop/mobile-emulation/theme/layout/breakpoint cases plus phone/tablet behavioral workflows |
|
||||
| `npm run verify:obsidian:soak` | Smoke then 25 bounded 1,000-element open/edit/save/export/close cycles |
|
||||
| `npm run verify:obsidian:diagnostics` | Separate negative control: an actual intentional unhandled host exception must be captured and rejected by the ordinary oracle |
|
||||
| `npm run verify:obsidian:cold` | Official app restart and durable workspace restoration, guarded by an isolated single-vault session proof |
|
||||
|
||||
Each producer freezes bytes and generated declaration evidence before staging.
|
||||
Only the four runtime fork artifacts are copied to the installed exact npm
|
||||
package; dependency pins and published declarations remain unchanged. This is
|
||||
workspace verification, not a published-package release claim. Reports record
|
||||
producer commits, dirty-diff/lockfile hashes and installed artifact hashes.
|
||||
The maintainer has deferred fork publication and the plugin pin update.
|
||||
|
||||
The normal build and explicit `test:contracts` command use the same type source.
|
||||
An unpublished handoff uses generated sibling declarations only when all four
|
||||
installed runtime files exactly match its build. Unrelated/missing sibling
|
||||
artifacts leave installed-package type resolution intact. Tests never run as a
|
||||
`prebuild` hook, and CI does not supply a separate test-only type override.
|
||||
|
||||
Native calls run serially under the shared application-user-data lock. Never
|
||||
steal DevTools/debugger ownership. Async host operations settle before cleanup;
|
||||
unsettled work preserves its exact owned fixtures/controller for guarded
|
||||
recovery. Each scenario gets a separate UUID-owned drawing. Dirty cleanup saves
|
||||
first, then uses the Vault delete event to retire the view before detaching.
|
||||
Do not globally clear IndexedDB or delete notes by prefix. A nonpassing required
|
||||
scenario, unexpected error or failed cleanup fails the suite.
|
||||
|
||||
Desktop emulation uses actual Obsidian mobile mode and trusted input, but does
|
||||
not establish physical Android/iOS WebView, stylus, native keyboard or safe-area
|
||||
behavior. Whole-application restart is allowed only in an isolated automation
|
||||
session. Plugin reload is separate evidence and must never be called cold restart.
|
||||
|
||||
The cold lane also requires `EXCALIDRAW_TEST_USER_DATA_PATH` and a frozen smoke
|
||||
`EXCALIDRAW_TEST_COMBINATION_PATH`. Its user-data directory must contain
|
||||
`.excalidraw-native-session.json` with `{ "schemaVersion": 2, "owner":
|
||||
"obsidian-excalidraw-tests", "vaultId": "<owned provisioner vault ID>" }`.
|
||||
The actual CLI user-data path and sole registered vault must match the markers.
|
||||
The driver then checks a changed main-process PID and saved drawing restoration.
|
||||
Missing isolation is a required blocked result. Its driver guards are tested;
|
||||
the real restart remains unexecuted in the maintainer's shared session.
|
||||
The native workflow requires a configured protected `native-test-approval`
|
||||
environment, an approved exact SHA, the environment variables above and a
|
||||
prepared `excalidraw-isolated` runner. This PR does not configure repository
|
||||
access, environment reviewers or runner provisioning.
|
||||
|
||||
## Supplemental release-matrix audit
|
||||
|
||||
This older exhaustive matrix includes historical upstream diagnostics and
|
||||
unavailable platform obligations. It is retained as an investigation tool, not
|
||||
the passing current-product regression baseline. Its failed historical report
|
||||
must not be presented as completion of the regression-suite task.
|
||||
|
||||
Run `npm run test:acceptance -- --report=<canonical.json> ...
|
||||
--gate=<quality.json> ... --output=<directory>`. Pass canonical fast, fork-owned,
|
||||
fork-inherited, both browser, Extras-source, native full, device, error-oracle and
|
||||
cold reports once each. Pass plugin source coverage, packed fork/Extras consumers
|
||||
and the soak report as gates. The required suite IDs live in `tests/features.json`.
|
||||
Package reports are written under `.test-work/reports/package-fork` and
|
||||
`package-extras`; producer-independent basic consumer evidence is explicitly
|
||||
adapted to schema 2 by the coordinator.
|
||||
|
||||
The audit rejects missing cases/suites, duplicate canonical IDs, stale or mixed
|
||||
source identities, mismatched frozen producers, failed cleanup and required
|
||||
blocked obligations. Coverage and soak overlap other tests and therefore do not
|
||||
inflate canonical discovery. Existing inherited failures remain failures.
|
||||
Physical/mobile/legacy/OS limits stay documented in the registry and release
|
||||
checks; a source or emulated pass does not satisfy those workflows.
|
||||
|
||||
## Historical acceptance evidence
|
||||
|
||||
[The baseline/checkpoint record](TESTING_BASELINE_3022.md) preserves first
|
||||
attempts, inherited failures and unavailable lanes. Raw machine-specific reports
|
||||
are ignored under `.test-work/reports` and `tmp/pr3022-baseline`.
|
||||
|
||||
Before the scheduler correction, this Windows host (Obsidian 1.14.5, installer
|
||||
1.14.0, Electron 43.3.0) passed functional assertions but failed its native error
|
||||
gate on popout teardown. The browser-scheduler correction now passes all 44
|
||||
production native cases and 40 device/layout cases with zero unexpected errors.
|
||||
Development-mode dirty migration retains a separately tracked exception under
|
||||
the maintainer's 30-minute investigation cap. Keep errors visible without
|
||||
wildcard suppression. The underlying host fix is in Electron 43.5.0.
|
||||
See [Electron's fix/release record](https://releases.electronjs.org/pr/53041).
|
||||
|
||||
The earlier tested code was `eb616f363e7da356e3e848d26b4ded859948451b`, paired with
|
||||
fork `d04bc1a6` and Extras `e37c06fe`. All 18 native functional scenarios and
|
||||
40 device cases pass; the native run still fails on 12 teardown exceptions.
|
||||
The exact-source 25-cycle soak and real-error negative control pass cleanly.
|
||||
The audit has 3,341 canonical cases with no missing inputs or source mismatch,
|
||||
and correctly remains failed. Follow-up documentation-only commits do not
|
||||
change that tested runtime or the recorded code checkpoint.
|
||||
|
||||
Device error capture is attached after CLI/plugin readiness in each profile;
|
||||
it does not establish a continuous pre-initialization stream across emulation
|
||||
reloads. The host's emulator retains its phone device flag at tablet geometry;
|
||||
those cases establish measured tablet-size layouts/input. Actual tablet
|
||||
preference branches also have source tests; physical-device behavior remains
|
||||
separate evidence.
|
||||
|
||||
The fork's independent gate does not run or transform upstream test helpers.
|
||||
The optional inherited diagnostic preserves its own failures and is available
|
||||
through manual workflow dispatch. It is not a required PR job. Workflows upload
|
||||
their reports even on failure. Ordinary hosted CI never launches Obsidian or
|
||||
accesses vaults.
|
||||
|
||||
## Native execution checkpoint, 2026-10-29
|
||||
|
||||
Reports under the ignored working tree retain source/diff identities, artifact
|
||||
hashes, all failures and cleanup evidence. The plugin artifact remains 5,029,887
|
||||
bytes with SHA-256 `676808bf603c5169886a25a7b4d5b193e32e1c580276bc078b832516aab048fd`;
|
||||
Extras remains `28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb`.
|
||||
|
||||
- `opened-single-pdf-repeat/`: real gateway/export, decoded output and cleanup
|
||||
pass. Retained `native-single-export.pdf` is 10,610 bytes; SHA-256
|
||||
`7e93eafebb3710df05efce6697ae39287b4c9348038c1255e53dd7a7a6ef1bc8`.
|
||||
Its decoded page was also visually inspected. An earlier tooling display-render
|
||||
deadline remains recorded as failed; PDF.js print intent avoids waiting for a
|
||||
display animation frame in an occluded renderer. This changes test tooling only.
|
||||
- `follow-up-fast/`: 462 tests in 51 files pass, including four additional
|
||||
tooling regressions since the 458-case portable checkpoint. A fresh full
|
||||
portable aggregate is still required before reporting a new aggregate count.
|
||||
- `behavior-desktop-contexts/`: broad desktop execution; the failed popout
|
||||
cleanup awaited a promise whose realm Obsidian destroyed. Failed evidence and
|
||||
guarded recovery are retained. Only the verified local-vault renderer was
|
||||
reloaded after proving no native print resources remained. The task was not
|
||||
reported as settled or passed.
|
||||
- `behavior-split-popout-targeted/`: eight real behavior cases pass; cleanup
|
||||
passes; acceptance fails on ResizeObserver notifications. No error filtering.
|
||||
|
||||
The padding oracle follows the maintainer decision: frame-enabled exports retain
|
||||
their existing no-padding policy; explicit padding cases disable frame rendering.
|
||||
A separate policy case runs in every context. Behavior input scopes background throttling to its owned renderer, records actual
|
||||
mode/geometry and uses ordinary window focus. CDP focus emulation was removed
|
||||
after reproducing a host-only ResizeObserver loop. Trusted CDP input does not
|
||||
establish physical touch or OS drag behavior. Lifecycle tests keep their
|
||||
own focus semantics. Popout error capture uses the same strict combined oracle;
|
||||
expected missing-asset ENOENT diagnostics require the exact owned path and count.
|
||||
|
||||
## Authorized defect fixes, 2026-10-29
|
||||
|
||||
The maintainer explicitly approved immediate fixes for the plain-PDF page-1
|
||||
null-reference error and Helvetica Markdown-image empty-source font fetch. The
|
||||
PDF loader now handles a missing crop reference; the fork CSS helper skips local
|
||||
system-font content. Exact patches and release notes are checked by
|
||||
`scripts/testing/review3022ProductionDiff.mjs`. This approval expands the original
|
||||
PDF rollback-only follow-up scope; no other runtime changes are authorized.
|
||||
Five actual-method PDF simulations and the 127-case independent fork suite pass.
|
||||
Native composite embeds use plain PDF TFiles and Helvetica to confirm both fixes;
|
||||
explicit PDF page-reference coverage remains in the separate native PDF case.
|
||||
|
||||
## Host-tooling recovery checkpoint, 2026-10-29
|
||||
|
||||
The current approved-fix build passes all 172 desktop behavioral case assertions,
|
||||
five lifecycle cases, three real Extras gateway cases and seven data-integrity
|
||||
cases. The old Canvas workflow stopped because the local seed omitted the Canvas
|
||||
core plugin. The deterministic core configuration now includes Canvas and the
|
||||
workflow asserts its activation before opening a .canvas file. Exact owned
|
||||
resources and markers were recovered; no personal vault was used.
|
||||
|
||||
A bounded idle control reproduced about 60 ResizeObserver errors/second with both
|
||||
community runtimes fully unloaded and zero editors. Ordinary debugger attachment
|
||||
produced zero; CDP focus emulation triggered the loop. That unnecessary emulation
|
||||
was removed, and only the registered local-vault window was closed/reopened to
|
||||
clear its host state. The fresh renderer control reports zero errors with both
|
||||
plugins loaded and Canvas enabled. No errors are filtered. Native startup now
|
||||
requires an error-free baseline and the behavioral gate includes all recorded
|
||||
window errors. Complete core/mobile acceptance and two complete repeats remain
|
||||
required. Portable CI passed 645 cases at e3f421b3; its artifact upload separately
|
||||
failed with ECONNRESET after upload, not during build or tests.
|
||||
|
||||
### Runtime compaction
|
||||
|
||||
`npm run verify:obsidian -- --runtime-compaction` builds the selected local component and plugin, then verifies real local CJK font pixels and first/warm WASM font export in main/popout documents. It restores settings, owned files and layout under the shared host lock. The four cases are also mandatory in the full regression profile. Physical mobile and other native operating systems remain separate coverage.
|
||||
@@ -0,0 +1,126 @@
|
||||
# Testing baseline: 2026-10-28
|
||||
|
||||
**Historical attempts below are superseded by the current-product regression
|
||||
contract in [TESTING.md](TESTING.md).** The maintainer rejected completion with
|
||||
failed build/acceptance and clarified that current fork behavior is accepted by
|
||||
default. Required tests now use independent fork contracts and affected upstream
|
||||
workflows, rather than requiring the stale upstream web-app suite to pass.
|
||||
Suspected errors and retained product fixes are reviewed in
|
||||
[TESTING_FINDINGS_3022.md](TESTING_FINDINGS_3022.md). Preserve the earlier failed
|
||||
evidence as history; it is not the new regression expectation.
|
||||
|
||||
This is an implementation checkpoint, not comprehensive acceptance.
|
||||
|
||||
| Repository | Initial revision | Actual checks |
|
||||
| --- | --- | --- |
|
||||
| Plugin | master `48e70b73`, reconciled into the existing #3022 branch | 346 Node tests pass in 23 files; production build passes with the inherited protocol-2 declaration warning; full lint has 119 errors, zero warnings |
|
||||
| Fork | `9ede0da2`, companion handoff branch | Ordinary Vitest diagnostic: 5,465 tests, 2,392 pass, 2,977 fail, 94 pending; typecheck fails. The default discovery includes an ignored historical checkout under tmp, so these are raw command counts, not the current-source coverage denominator. Bounded current-source compatibility discovery is being investigated separately |
|
||||
| Extras | `f82fe17c`, companion handoff branch | Four Mermaid and three tooltip tests pass; production and API builds pass |
|
||||
|
||||
Environment: Windows, Node 22.22.3, installed Obsidian 1.14.5, Electron 43.3.0.
|
||||
The CLI supports `dev:mobile` and `dev:debug`. The dedicated legacy test host
|
||||
reports the expected user-data identity and no attached debugger. No other
|
||||
vault is authorized for the native lane.
|
||||
|
||||
The initial inherited `h.app` bootstrap failure was traced to Vitest resolving
|
||||
the raw Testing Library `render` star export ahead of the existing async
|
||||
`renderApp` override. A fingerprint-checked, test-only transform makes the
|
||||
exports explicit. A second bounded helper adapter advances the fork's actual
|
||||
zero-delay tool-selection task inside React `act`; production scheduling is
|
||||
unchanged and trusted browser input separately verifies it. All 79 fork-owned
|
||||
tests pass. The current-source inherited diagnostic now has 2,692 tests:
|
||||
2,264 pass, 380 fail, 47 pending and one todo. It remains a failed lane.
|
||||
|
||||
The portable core corpus contains 15 deterministic, synthetic fixtures with
|
||||
CC0 provenance. No desktop-vault content, settings, font files or third-party
|
||||
artwork was copied. Provisioning/reset guards run at two independent filesystem
|
||||
roots, including spaces and Unicode; this proves filesystem portability, not
|
||||
second-machine/native registration acceptance. The initial Unicode copy
|
||||
attempt failed; per-file copies with hash verification corrected it.
|
||||
|
||||
The initial source-only run passed 36 tests in seven files. Node's built-in
|
||||
coverage summary later proved unstable when it merged native type stripping
|
||||
and several isolated compilations of the same source URL. Its percentages are
|
||||
diagnostics, not the coverage baseline. Pinned development-only c8 12.0.0 now
|
||||
remaps distinct whole-module compilation graphs before merging source counts.
|
||||
Two repeated 59-test source runs pass the per-area ratchets; the aggregate fast
|
||||
lane passes 403 tests in 36 files. Historical VM/extraction cases remain in fast
|
||||
discovery but receive no original-source coverage credit. Twenty-three source
|
||||
modules execute; 235 other runtime modules remain listed explicitly; 24 erased type-only modules are excluded separately. This is not a global
|
||||
feature-coverage claim.
|
||||
|
||||
The actual fork production and development artifacts pass ten Chromium checks,
|
||||
including trusted pointer drawing/keyboard undo, owner-document isolation and
|
||||
decoded PNG/SVG output. Extras passes 23 Node tests, source-mapped ratchets and
|
||||
four actual-bundle browser cases for MathJax pixels, strict-error recovery,
|
||||
editable Mermaid/image fallback and capability/unload boundaries. Browser:
|
||||
Chromium 145.0.7632.6, Playwright 1.58.2, with external requests blocked.
|
||||
|
||||
Native checkpoints in the dedicated vault: seven data-integrity cases pass;
|
||||
five split/fullscreen/migration/reload cases pass; real Extras gateway rendering
|
||||
and an Electron-generated PDF pass. PDF.js verifies one 288×216-point page,
|
||||
the expected text and rendered red SVG pixels. Data testing captures exactly
|
||||
the two intentional write-error logs and zero unexpected errors. Initial
|
||||
readiness, cleanup, wrong-tab-group, external seed-ID and delete/detach races
|
||||
remain in the raw failure logs; they were corrected in test orchestration, not
|
||||
hidden by console filters. An isolated autosave rejection regression failed
|
||||
before the small coordinator fix and passes afterward.
|
||||
|
||||
Actual mobile emulation passes an initial desktop/phone/tablet probe with
|
||||
trusted mouse/touch input and disk round trips. Mode changes reload Obsidian;
|
||||
the driver reacquires CLI/plugin readiness and restores theme, mode, geometry,
|
||||
preferences and layout. All 28 device cases pass, including 16 trusted-touch cases, with clean error and state-restoration gates.
|
||||
A pre-existing 254-pixel nested full-layout pane leaves almost no uncovered
|
||||
canvas. Device viewport cases therefore explicitly use the owned pane's
|
||||
reversible fullscreen; ordinary split behavior has its separate lifecycle
|
||||
lane. Neither case is represented as physical mobile acceptance.
|
||||
|
||||
Ignored raw logs are in `tmp/pr3022-baseline/` and `.test-work/reports/`.
|
||||
Portable JSON schemas and executable byte/path/report validation are under
|
||||
`scripts/testing/`; the shared contract is [documented here](testing-contracts.md).
|
||||
Future checkpoints must retain first-attempt failures, required blocked lanes,
|
||||
inherited-suite results and physical/legacy/platform gaps explicitly.
|
||||
|
||||
## Core/device/frozen-workspace checkpoint
|
||||
|
||||
- Plugin: 414 fast tests in 42 files; 59 measured whole-module tests with ratchets pass. Direct native EA authoring, image/decoded export, SVG import and disposal pass. Trusted toolbar/history, custom highlighter and transient-laser semantics pass.
|
||||
- Devices: 40 measured desktop/mobile-emulation/theme/layout/breakpoint cases pass, including exact boundaries and trusted input. Physical mobile remains untested.
|
||||
- Stability: six 1000-element edit/save/reopen cycles pass with fresh APIs, retired roots and actual decoded PNG pixels; the subsequent 16 text/history variants and grouped-link checks pass with zero captured errors.
|
||||
- Fork d04bc1a6: 93 owned tests, 12 built-browser cases, full/owned typechecks and clean packed consumer pass. Selected source coverage is 43.2% lines, 61.08% branches, 40.52% functions. Eighteen runtime modules remain unexecuted. The inherited lane stays failed: 2264 pass, 380 fail, 47 pending, one todo (2692 total). The required root update diagnostic also failed; all 16 generated golden changes were restored.
|
||||
- Extras e37c06fe: 30 source tests/ratchets, four production-bundle browser cases, production/API builds and clean packed API consumer pass. Native real MathJax, editable Mermaid and PDF checks pass; PDF is one 288x216pt page with text and 3330 red SVG pixels.
|
||||
|
||||
The full frozen diagnostic has 12 passing functional scenarios and passing owned cleanup, but its overall error gate fails: three primitive illegal-access exceptions and two ENOENT errors after fixture deletion. A revised save-then-Vault-delete retirement sequence passes a later multi-scenario clean run; full repeat remains required. Electron documents the matching child-window teardown defect as fixed in 43.5.0 (https://releases.electronjs.org/pr/53041), newer than this host's 43.3.0. Treat the match as a hypothesis requiring a fixed-host run, not an approved suppression.
|
||||
|
||||
Earlier exploratory maintained-script evidence is retained only in ignored diagnostics. Script-specific coverage is outside this PR following maintainer direction; core EA has its own direct native cases. Current remaining obligations are tracked in tests/features.json. Hosted and exact-SHA trusted-native workflows are implemented but have not yet run remotely. Native cold restart/fresh session registration, legacy/minimum hosts, macOS/Linux and physical Android/iOS are explicit unavailable gates in this shared session.
|
||||
|
||||
## Final core verification checkpoint
|
||||
|
||||
424 fast tests in 45 files pass. Direct native PDF reference import through PDF.js preserves page/source metadata and unchanged source bytes, with decoded blue pixels and a physical drawing save. Trusted eraser input removes scene elements and undo restores exact IDs. Ten portable local-server web-drop and five internal-file payload cases pass with saved/reopened storage identity, zero captured errors and clean cleanup. These drop events are explicitly synthetic; native pointer/keyboard/touch coverage is separate.
|
||||
|
||||
The first portable-drop driver stalled waiting for its local HTTP server after all in-app controllers had settled. Its exact owned Node PID was verified and stopped, the recorded owned drawing/debugger were recovered and the failure remains in ignored evidence. Explicit connection teardown fixes the driver; the repeat passes. Cancellation and legacy cleanup-failure ownership have dedicated regressions.
|
||||
|
||||
The maintained native unhandled-exception negative control passes. Cold-start safety tests reject a shared session and a renderer-only reload; the live lane is blocked before CLI mutation because no isolated owned session is configured. Fresh plugin discovery has a capability-checked host path and regression tests; actual first-vault registration/trust remains an explicit setup prerequisite.
|
||||
|
||||
The full committed 680e8a54 native run passes all 15 functional scenarios and owned cleanup. Its only captured errors are six primitive illegal-access exceptions during popout teardown; the previous ENOENT deletion errors are gone. The 25-cycle committed native soak passes cleanly. The initial 40-case device run passes; final metadata/bounds assertions need the final exact-source rerun.
|
||||
|
||||
Hosted Linux Plugin tests at 680e8a54 pass installation, frozen producer builds, library, fixture/inventory/feature, fast, source-coverage and bundle-syntax gates. Extras e37c06fe remote validation/build/CodeQL pass. Fork remote workflow execution is not claimed. Its refreshed d04bc1a6 owned source/ratchets pass (43.2% lines, 61.09% branches, 40.52% functions); its refreshed inherited lane remains failed with the same 380 cases and 37 console-reported unhandled errors. Both clean packed consumers pass and now have explicit coordinator schema-2 evidence adapters.
|
||||
|
||||
The acceptance audit requires all declared suites, unique canonical cases, exact matching source identities and frozen producers, separate overlapping coverage/soak gates, clean cleanup and remaining obligations. JUnit preserves suite/error failures even when another suite already has failing assertions. Missing reports and blocked cold start cannot produce green acceptance. Final verification results will identify the exact tested code commit.
|
||||
|
||||
## Final recorded results
|
||||
|
||||
Exact tested code: eb616f363e7da356e3e848d26b4ded859948451b; fork d04bc1a6211a15394a1cc7036e7a7532608bf421; Extras e37c06feff9fef48877f565328762433a676afcc. All producer identities are clean and match the acceptance input reports. Later documentation-only changes leave this tested runtime unchanged.
|
||||
|
||||
- Plugin: 424 fast tests/45 files pass; 59 whole-module source tests/10 files and ratchets pass. That source layer lists 235 unexecuted runtime modules rather than inferring complete coverage.
|
||||
- Native full: all 18 functional scenarios and cleanup pass. Twelve primitive illegal-access teardown exceptions make the overall gate fail. No ENOENT deletion error remains.
|
||||
- Native devices: all 40 cases and cleanup pass, including current/normal window bounds restoration. Runtime versions, fixture hash and installed artifact hashes are recorded.
|
||||
- Native soak: all 25 large-scene cycles pass, zero unexpected errors, clean cleanup and stable source identities.
|
||||
- Native error oracle: the real intentional unhandled error is captured and rejected by the ordinary clean-error oracle; owned cleanup passes.
|
||||
- Native cold: blocked before any CLI mutation because this is a shared application session; driver isolation/reload/PID guards pass. A genuine cold-start positive run is still required.
|
||||
- Fork: 93 owned source/coverage and 12 built-browser cases pass at the pushed commit. The inherited run remains 2264 pass/380 fail/47 pending/one todo, with 37 unhandled errors in its console output.
|
||||
- Extras: 30 source/coverage and four actual-bundle browser cases pass at the pushed commit. Both isolated packed API consumers pass.
|
||||
- Hosted Linux Plugin tests at eb616f36 pass all install/build/library/package/fixture/inventory/feature/fast/source/syntax steps. Extras remote validation/build/CodeQL pass. No fork remote run or self-hosted native run is claimed.
|
||||
|
||||
The final audit contains 3341 canonical cases: 2912 passed, 380 failed and 49 blocked. It has zero missing required cases, suites, gates or source-provenance mismatches. Required remaining obligations, inherited failures and native error gates keep acceptance failed; overlapping coverage/soak evidence is attached without double-counting. Machine-specific raw evidence is in .test-work/reports/final-* and tmp/pr3022-baseline/final-*.
|
||||
|
||||
Desktop emulation is not physical-device acceptance. The emulator retains a phone host flag at tablet geometry, so tablet cases establish measured layouts/input and source tests separately exercise tablet preference branches. Per-case debugger capture starts after readiness and does not prove a continuous startup stream across reloads. Legacy/minimum hosts, other OSes, OS clipboard/drag transports and physical Android/iOS remain explicit registry/release limits. The plan-only handoff is retired in favor of maintained TESTING.md, testing-contracts.md, features.json and this evidence record.
|
||||
@@ -0,0 +1,853 @@
|
||||
# Test findings for maintainer review
|
||||
|
||||
**Acceptance checkpoint: F32 and the [2026-10-30 acceptance report](testing-evidence/3022/README.md). Later approved link-history fix: F33.**
|
||||
Earlier findings retain their original hosts and failed attempts as history.
|
||||
The required native pair passes 357/357 in both complete matching-build repeats.
|
||||
Earlier failures remain historical evidence; no production observer fix is claimed.
|
||||
|
||||
The current fork is the accepted baseline. A historical upstream test failure is
|
||||
not a product defect. The independent regression suite checks fork contracts and
|
||||
the editing workflows affected by those contracts. It does not require upstream's
|
||||
web-app suite, old DOM snapshots, render counts or synchronous tool scheduling.
|
||||
No snapshots or expected-failure lists are automatically accepted.
|
||||
|
||||
## F01 - Popout teardown: confirmed production trigger and residual
|
||||
|
||||
The maintainer confirmed this is longstanding and authorized a 30-minute
|
||||
investigation, then separate follow-up for anything unresolved. The investigation
|
||||
ran from 17:18 to 17:45 UTC on 2026-10-28.
|
||||
|
||||
The private React scheduler selected Electron's Node `setImmediate` rather than
|
||||
its browser MessageChannel path. Keeping that choice lexical to the private
|
||||
runtime removes the reproduced production trigger without changing host globals,
|
||||
React package entrypoints, fork protocols, save ordering or view lifecycle code.
|
||||
|
||||
| Controlled check | Unexpected exceptions | Result |
|
||||
| --- | ---: | --- |
|
||||
| Original production scheduler, focused lifecycle | 3 | Failed |
|
||||
| Browser scheduler, same focused lifecycle | 0 | Passed twice |
|
||||
| Restore original scheduler, same lifecycle | 3 | Failed again |
|
||||
| Browser scheduler, full production functional run | 0 | All 44 canonical cases passed |
|
||||
| Same production run, device/layout matrix | 0 | All 40 cases and restoration passed |
|
||||
| Browser scheduler, development lifecycle and CLI | 3 | Functional checks and cleanup passed; error gate failed during dirty popout-to-main migration |
|
||||
|
||||
The shipped-bootstrap regression also fails with the original payload (two
|
||||
reads of Node's scheduler), and passes with the corrected production and
|
||||
development payloads. A/B artifacts, hashes and raw errors are retained under
|
||||
`.test-work/reports/repair-react-*`. The original no-stack exceptions report
|
||||
line 0 of `app://obsidian.md/index.html`; no exception has been whitelisted.
|
||||
|
||||
Electron documents the underlying shared-event-loop teardown error in
|
||||
[the original fix](https://github.com/electron/electron/pull/52964) and
|
||||
[the 43.x backport](https://github.com/electron/electron/pull/53041), released in
|
||||
[43.5.0](https://releases.electronjs.org/pr/53041). This host uses Electron
|
||||
43.3.0. Clean Markdown-only controls with DOM timers, Node immediates and read-only
|
||||
filesystem callbacks did not reproduce it. This confirms a private-React trigger,
|
||||
not that every filesystem/Node teardown path in the host is repaired.
|
||||
|
||||
**Residual for separate follow-up:** development-mode dirty migration still
|
||||
produced three primitive illegal-access exceptions. The maintainer's time cap
|
||||
ends this investigation; the existing runtime beyond the narrow scheduler change
|
||||
is retained. Reproduce by building with `npm run dev`, deploying the three
|
||||
artifacts to the dedicated vault, editing in a popout and moving it back to main.
|
||||
The required regression runs production artifacts, including main/popout
|
||||
lifecycle, with strict error and cleanup gates. Physical devices and other desktop
|
||||
hosts still require their own evidence.
|
||||
|
||||
Current production residual, 2026-10-29: the expanded production suite also
|
||||
captures eight primitive illegal-access exceptions at 9c08d814 and four during
|
||||
dirty popout-to-main migration at 098e6ee1. The residual is therefore not limited
|
||||
to development builds. The upstream 43.5.0 fix was rechecked; this host remains
|
||||
43.3.0. A matching signature is not proof of complete causation. No host upgrade,
|
||||
additional production mitigation or exception exclusion was made. See F21.
|
||||
|
||||
## Product fixes retained in scope after evidence review
|
||||
|
||||
| Finding | Before | Regression evidence and expected contract |
|
||||
| --- | --- | --- |
|
||||
| F02 — Autosave rejection | An unexpected rejected save leaves the autosave busy flag set and prevents later attempts. | `saveCoordinator.source.test.mjs` rejects the first request, verifies the busy flag clears, then physically acknowledges a later request and clears dirty state. Normal failed outcomes remain dirty. |
|
||||
| F03 — Fork type exports | Package export paths point to nonexistent `dist/types` files rather than generated `types` files. | Both clean packed consumers compile supported public/host calls and reject invalid calls. No runtime protocol or version change in this test PR. |
|
||||
| F04 — Extras activation | Temporary activation expiry can revoke a permanent activation; retained API closures can reactivate an unloaded plugin. | Whole-module feature tests retain permanent activation and reject stale lifecycle operations. |
|
||||
| F05 — PDF resource lifetime | Invalid dimensions and failing IPC/print paths can retain resources. | Whole-module tests cover validation, owning realm, completion-driven waiting, listeners, style/DOM cleanup, rejection and later retry. The introduced 120000 ms timeout and per-document lock were rolled back at maintainer request; no replacement mechanism was added. A controlled delay beyond two minutes retains resources until real completion. Native tests decode a single real Electron PDF and retain its output. |
|
||||
|
||||
These are concrete error paths, rather than changes made to reproduce an upstream
|
||||
snapshot. They remain independently reviewable in their repositories.
|
||||
|
||||
## Test-infrastructure findings
|
||||
|
||||
- **F06 — Normal build failure: repaired.** Host-contract tests ran as `prebuild`
|
||||
against old published declarations although this workspace intentionally uses an
|
||||
unpublished paired runtime. Tests are explicit commands now. The ordinary build
|
||||
and contract test share local declarations only when all four runtime files
|
||||
match byte-for-byte. Production and library builds pass without the former
|
||||
test-only override. The published dependency/version is unchanged as requested.
|
||||
- **F07 — Historical upstream deviations: individual review.** The
|
||||
[fork's case index](../../excalidraw/dev-docs/Obsidian/test-deviations-3022.json)
|
||||
records each failed assertion, location, evidence and assessment. It is
|
||||
review material, not an expected-failure allowlist used to make tests pass.
|
||||
The independent fork suite no longer adapts upstream test helpers.
|
||||
- **F08 — Library search/menu: no reproduced product defect.** Trusted input in
|
||||
both actual built artifacts clears search with Escape, leaves the sidebar open
|
||||
and exposes its load control through the document portal. The old synchronous,
|
||||
ancestor-scoped tests failed before establishing those actual behaviors.
|
||||
- **F09 — Cold restart: environment prerequisite.** The shared Obsidian session
|
||||
cannot be restarted safely as an isolated single-vault test. The optional cold
|
||||
profile remains guarded and reports this limitation. It is not a product failure
|
||||
or a required case in the production regression profile.
|
||||
|
||||
Source/model tests use controlled fixture data and boundary substitutes. Browser
|
||||
tests exercise real production/development artifacts. Native tests exercise real
|
||||
Obsidian CLI, EA, file persistence and decoded exports. Reports keep those forms
|
||||
of evidence distinct. Physical mobile and other operating systems require their
|
||||
own validation; desktop emulation does not establish those environments.
|
||||
|
||||
## F10 - Plain PDF TFile input: approved fix, source regression passes
|
||||
|
||||
In `behavior-main-scheduled/report.json`, `EA.addImage(x,y,pdfTFile)`
|
||||
reproduces a loader error followed by a null-size exception. The API documents
|
||||
`TFile | string`, and the loader defaults the page to 1, but its crop parsing
|
||||
reads `linkParts.ref.split(...)` when ref is null. An explicit
|
||||
`pdfTFile.path + '#page=1'` works. The maintainer confirmed that a plain PDF must
|
||||
load page 1 and approved an immediate fix. Optional crop-reference access now
|
||||
preserves that default. Source regressions pass; native workflows again use the
|
||||
plain TFile, while separate explicit-page coverage is retained.
|
||||
|
||||
## F11 - System-font Markdown image: approved fix, source regression passes
|
||||
|
||||
The same native report records `Failed to fetch font "Helvetica" from urls "" []`
|
||||
for Markdown-image frontmatter `excalidraw-font: Helvetica`. The plugin comment
|
||||
expects an empty CSS definition for that system font; the fork font-content
|
||||
helper instead reports the empty source list. The maintainer classified this as
|
||||
a defect and approved an immediate fix. The helper now respects metadata.local;
|
||||
local no-fetch and bundled-font regressions pass. Native workflows again use
|
||||
Helvetica. No exception allowlist has been introduced.
|
||||
|
||||
## F12 - Native tooling teardown and layout diagnostics
|
||||
|
||||
The broad desktop run `behavior-desktop-contexts/` closed the final popout via
|
||||
`await leaf.setViewState({type:'empty'})`. Obsidian destroyed that renderer while
|
||||
the promise remained pending, the same host limitation already documented in the
|
||||
lifecycle helper. It also produced repeated primitive illegal-access exceptions.
|
||||
The failed run was retained. Guarded recovery verified renderer 252 was destroyed,
|
||||
that no print DOM remained, then reloaded only the canonical local-vault renderer
|
||||
250 and removed the exact two owned scenario paths. No native print was cancelled;
|
||||
the orphaned promise was not represented as settled.
|
||||
|
||||
The behavior cleanup now follows the existing lifecycle pattern: physically save
|
||||
if dirty, close the owning popout window, and wait from the main realm for actual
|
||||
host teardown. A focused split/popout repeat completed all eight business cases
|
||||
and cleanup without that stranded promise, but failed the strict error gate on
|
||||
ResizeObserver notifications. This remains a failed run, not a waived host error.
|
||||
Test input was also unnecessarily scrolling already-visible fixed controls; the
|
||||
next run checks targeted input without those extra layout changes. Reproduce and
|
||||
classify any residual before proposing a production change.
|
||||
|
||||
## Maintainer decision - Export padding and frames
|
||||
|
||||
Frame-enabled SVG/PNG exports suppress padding even without frame elements. The
|
||||
maintainer confirmed this is intended. Padding combinations explicitly disable
|
||||
frame rendering, and a separate default/enabled policy case protects the existing
|
||||
behavior in each context. No production modification is needed.
|
||||
|
||||
## Maintainer authorization and fixes, 2026-10-29
|
||||
|
||||
The maintainer classified F10 and F11 as defects and explicitly requested immediate
|
||||
fixes, expanding the earlier rollback-only production scope. PDF crop parsing now
|
||||
uses optional access for a missing reference, preserving the existing page-1
|
||||
default. Five AST-isolated actual-method cases pass: null/missing reference,
|
||||
explicit page, explicit crop, and a negative control reproducing the old failure.
|
||||
These receive no whole-module coverage or native-render credit.
|
||||
|
||||
The fork CSS helper now respects the existing `metadata.local` flag, returning an
|
||||
empty definition for system fonts without fetching font-file content. The 127-case
|
||||
independent fork suite includes local-font no-fetch and bundled-font CSS regressions;
|
||||
artifact/declaration build, full typecheck and focused lint pass. The native
|
||||
composite embed workflow again uses a plain PDF TFile and Helvetica in every
|
||||
context. Native confirmation and complete repeated acceptance remain pending.
|
||||
|
||||
The production-diff audit now verifies the exact two approved patches and their
|
||||
release-note lines, plus the unchanged targeted Extras rollback. No other runtime
|
||||
edits are permitted. Broad plugin lint still reports 119 existing diagnostics;
|
||||
focused lint of both touched plugin source files passes.
|
||||
|
||||
## F13 - ResizeObserver notifications and instrumentation interference
|
||||
|
||||
A control reproduced a notification loop after explicit CDP focus emulation;
|
||||
ordinary debugger attachment did not reproduce it in that comparison. The loop
|
||||
also continued after both community runtimes were unloaded. This establishes
|
||||
instrumentation interference, not that instrumentation is the sole cause of
|
||||
every later notification or that no plugin observer could be involved. Unnecessary
|
||||
focus emulation remains removed. No production observer is patched or silenced.
|
||||
|
||||
The maintainer approved a narrow diagnostic policy on 2026-10-29. Only the exact
|
||||
browser notification `ResizeObserver loop completed with undelivered notifications.`
|
||||
without a JavaScript Error/stack is classified separately. CLI text must have the
|
||||
exact timestamped notification format; other messages and all debugger exceptions
|
||||
remain failures. Raw events, timestamps, affected task/case phases and counts are
|
||||
retained. Behavioral and cleanup assertions remain required. Each host/context
|
||||
must reach 1000 ms of notification-free, stable measured geometry within 5000 ms;
|
||||
persistent storms or geometry changes fail. Native CLI deadlines still detect an
|
||||
unresponsive renderer. Failed input, persistence or cleanup assertions cannot be
|
||||
waived by this policy. Source controls reject unrelated exceptions, near matches,
|
||||
storms and deliberately unstable geometry. Full native runs additionally exercise
|
||||
an actual uncaught exception and an intentionally incorrect measured-layout case
|
||||
through the normal task/case failure collector.
|
||||
|
||||
|
||||
## F14 - Missing Canvas preparation prerequisite
|
||||
|
||||
The original local core-plugin list omitted Canvas, which the existing #3020
|
||||
Canvas-embedding cases require. Opening an unsupported .canvas file caused repeated
|
||||
open-URI attempts and an EBUSY cleanup failure. Enabling the required core plugin,
|
||||
closing the exact owned leaves and deleting only the report-owned paths completed
|
||||
recovery. The immutable seed and regenerated hashes now include Canvas. The old
|
||||
workflow checks this prerequisite before creating Canvas files. This changes only
|
||||
test setup and avoids a personal-vault/runtime dependency.
|
||||
|
||||
## F15 - Canvas target ownership and workflow cleanup investigation
|
||||
|
||||
The reviewed-head focused workflow reproduced three loaded Canvas nodes with empty
|
||||
preview containers. A minimal Canvas with copied seed drawings rendered correctly;
|
||||
a second minimal reproduction using freshly generated drawings and a simple
|
||||
popout cycle also rendered correctly. Evidence is retained in
|
||||
`canvas-focused-current/canvas-{minimal,generated,after-popout,zoom}.json`.
|
||||
|
||||
Inspection found an empty popout still alive after workflow cleanup. Its document
|
||||
could become the target of later `getLeaf("tab")` calls. The workflow now closes
|
||||
its owned popout and waits for actual window/API teardown, explicitly selects a
|
||||
main-window anchor, and asserts Canvas document ownership. All preview, growth
|
||||
and independent-size assertions remain. Focused native confirmation passes (`canvas-owned-diagnostic-policy/`): all six SVG/SVGIMG/PNG x immersive combinations render, selected-node preview growth is 2.006x, independent-copy geometry is unchanged, fullscreen/template workflows and cleanup pass. Both real native negative controls pass.
|
||||
A stylesheet-unload exception also occurred while that extra popout was alive;
|
||||
production code remains unchanged. It is not classified as a ResizeObserver
|
||||
notification. The focused run has no such exception after correct owned-window cleanup; reassess if it recurs.
|
||||
|
||||
## F16 - First complete attempt: strict storm failure and mobile activation
|
||||
|
||||
`native-repeat-1/` at plugin 0e6c48c5 is failed and retained. All 172 desktop
|
||||
behavior cases, lifecycle, Extras including real PDF, data integrity and Canvas
|
||||
pass. The Lucide scenario completes its functional assertions but leaves an empty
|
||||
host sidepanel/layout behind; the post-scenario idle check records roughly
|
||||
60 ResizeObserver notifications/second and fails within five seconds. No storm
|
||||
waiver or production change was made. The scenario now restores its original
|
||||
layout. A trusted command-palette/open/close control checks idle while the ordinary
|
||||
picker is open and after closing it, before the exhaustive workflow.
|
||||
|
||||
Phone and tablet each complete 41 of 43 behavioral obligations. Both remaining
|
||||
failures use saveReopen after deliberately activating another drawing: the helper
|
||||
reopens its owned tab without selecting it, then checks an inactive editor's
|
||||
form factor. Disk-save checks pass. The helper now explicitly selects the owned
|
||||
leaf before/after reopen; scene-ID, durable-save and form-factor checks remain.
|
||||
All 40 device interaction/layout profiles executed; six earlier desktop profiles
|
||||
fail the inherited notification storm and the two feature-bearing profiles also
|
||||
reflect their workflow failures. Cleanup and baseline restoration pass. Neither
|
||||
required full repeat has passed yet.
|
||||
|
||||
## F17 - Mobile embedding exception: approved focus correction
|
||||
|
||||
The isolated command below reproduces the exception with only the embedding
|
||||
workflow selected; its rendering/save/reopen assertions pass but the JavaScript
|
||||
error gate correctly fails:
|
||||
|
||||
```powershell
|
||||
node scripts/testing/host/verify.mjs --profile=devices --device-profiles=phone-portrait-light --behavior-cases=drawing-and-markdown-embeds
|
||||
```
|
||||
|
||||
`mobile-embeddable-isolated/` records Obsidian's mobile-toolbar `update` calling
|
||||
`activeEditor.editor.hasFocus()` while the active editor is the plugin-owned
|
||||
embedded Markdown preview with no editor. The active drawing remains Excalidraw.
|
||||
Inspection of Obsidian 1.14.5's actual `createFileNode` implementation confirms
|
||||
that omitted `focus` defaults to selection/focus of the new node. The plugin's
|
||||
internal Canvas-node factory omitted that option. The maintainer explicitly
|
||||
approved the narrow fix: create this internal node with `focus: false`, preserving
|
||||
deliberate editing activation. This correction is now implemented, with four
|
||||
actual-method regressions covering construction, replacement, explicit editing
|
||||
and a negative control reproducing the old missing-editor failure. All four pass.
|
||||
The existing `patchMobileView` visibility workaround remains unchanged: preventing
|
||||
unrequested editor activation does not establish that mobile visibility patching
|
||||
can be removed. Native confirmation at plugin `38bf80fb` now passes the isolated
|
||||
phone case with actual mobile mode, a 390 x 844 viewport, decoded rendering,
|
||||
save/reopen, no window errors and successful device/baseline restoration. The
|
||||
exception gate has not been weakened. [Sanitized evidence and artifact hashes](testing-evidence/3022/focus-correction-summary.json).
|
||||
|
||||
The next independent-core run retains failures from cleaned scenarios instead of
|
||||
omitting later unrelated cases. Pending native work still stops the sequence.
|
||||
The nested-pane context-menu driver also now sends its trusted press/release in
|
||||
one CLI dispatch sequence, avoiding an uncontrolled CLI-duration button hold;
|
||||
selection, shortcut, save/reopen and scene assertions are unchanged.
|
||||
|
||||
## F18 - Deterministic baseline layout and Canvas level of detail
|
||||
|
||||
The first independent core attempt restored a prior open-sidebar layout, leaving
|
||||
Canvas only 380 pixels wide. Its fitted multi-node scene correctly used Obsidian's
|
||||
far-zoom placeholders, so rendered-preview assertions failed. This is distinct
|
||||
from F15's wrong-window targeting. The seed now includes an explicit single-tab,
|
||||
collapsed-sidebar baseline, applied and verified through the live workspace API.
|
||||
Canvas also collapses sidebars for its fit/resize measurement. No production
|
||||
rendering policy or preview/resize assertion changed. Safe task failures now carry
|
||||
an explicit cleanup-verified marker so independent scenarios can continue; actual
|
||||
unsettled work still stops all subsequent work.
|
||||
|
||||
## Verified independent checkpoint (2026-10-29)
|
||||
|
||||
At plugin 3fc7cc9c / fork 053a3b9 / Extras 1cdcb7c, all 59 independent core cases
|
||||
plus the focused nested-pane toolbar/context-menu case pass. This includes all 15
|
||||
popout drop variants, real PDF decoding/visual inspection, cleanup and declared
|
||||
baseline restoration. Both actual native negative controls pass. There are zero
|
||||
recorded notifications or unexpected exceptions in that run. Fresh portable
|
||||
verification passes 650 canonical cases (52 new, 598 reused), plus source/package
|
||||
gates. [Sanitized, accessible evidence](testing-evidence/3022/README.md) records
|
||||
case results and actual source/artifact hashes.
|
||||
|
||||
This does not establish full acceptance: neither complete matching-build repeat
|
||||
has passed. The approved F17 correction is now independently confirmed above. CLI accounting includes the
|
||||
Lucide case's real native commands: six CLI-bearing cases in the full plan, with
|
||||
the two mobile public EA protocol cases reported separately.
|
||||
|
||||
## Foreground-access interruption after the focus correction
|
||||
|
||||
The next full attempt at plugin `38bf80fb` passed all 172 desktop behavioral
|
||||
cases and reached the independent/device workflows. It also recorded a parsed
|
||||
keyboard redo/submission mismatch and a trusted pointer timeout. The maintainer
|
||||
requested foreground use of another Obsidian vault during this interval. A focus
|
||||
conflict is plausible, but causation is not established; retain both failures and
|
||||
rerun the unchanged assertions with exclusive access before classifying them.
|
||||
|
||||
The native dispatcher was stopped to avoid further UI interference. Its owned
|
||||
task settled with cleanup passed, no print work was pending, and recovery restored
|
||||
the exact device geometry and declared vault baseline. Both plugins are ready;
|
||||
no test tasks, print resources or popouts remain. This interrupted attempt is not
|
||||
one of the two required complete repeats. Foreground tests remain on hold until
|
||||
the maintainer signals availability. Independent background portable validation
|
||||
passes 654 canonical cases (56 new / 598 reused), plus source/package gates.
|
||||
|
||||
## F19 - Exclusive input recheck and failed full acceptance at 9c08d814
|
||||
|
||||
The maintainer confirmed exclusive foreground access. The unchanged text-undo
|
||||
scenario passes all 16 parsed/raw, keyboard/button variants, including parsed
|
||||
keyboard wikilink redo and unchanged submission. The unchanged first desktop
|
||||
trusted-pointer profile passes drawing, physical save and restoration. No window
|
||||
or unexpected JavaScript errors occur in that focused rerun. The prior failures
|
||||
remain preserved; foreground interference is plausible but not established.
|
||||
|
||||
Fresh portable verification at 9c08d814 / 053a3b9 / 1cdcb7c passes 654 canonical
|
||||
cases and source/package gates. The next full `npm.cmd run test:native` attempt
|
||||
passes all 258 behavioral obligations and all 40 device/layout profiles, but fails
|
||||
`native:stability-roundtrip:3` waiting for the large scene's first commit. Cycles
|
||||
4/5 and the successful JavaScript-error gate remain missing. Eight uncaught
|
||||
`illegal access` exceptions and one Obsidian `children` null-reference exception
|
||||
are retained and fail the gate. The two exact trusted ResizeObserver notifications
|
||||
in popout Markdown reading settle under the existing bounded policy; no exclusion
|
||||
was broadened. Cleanup, baseline restoration and both native negative controls
|
||||
pass. This is not a complete passing repeat: acceptance remains zero of two.
|
||||
|
||||
## F20 - Stability failure cleanup races Obsidian's file-delete handler
|
||||
|
||||
The captured Obsidian 1.14.5 stack resolves to its file-view `onDelete` handler:
|
||||
after awaiting an empty-file open, it still accesses the leaf parent's children.
|
||||
The test deletes the open file and then detaches its leaf while that handler is
|
||||
pending, making the parent null. A deterministic actual-function regression fails
|
||||
with the old order and passes when the test retires its view/leaf before deleting
|
||||
the fixture. This is a test-only cleanup correction; production is unchanged.
|
||||
|
||||
That correction does not establish the cause of the earlier first-commit timeout
|
||||
or the eight `illegal access` exceptions. Added passive per-cycle load snapshots
|
||||
and a focused `--stability` selector for diagnosis without changing the six-cycle,
|
||||
1000-element, save/reopen, root-retirement, rendering or timeout assertions. Both
|
||||
full repeats must use a new clean checkpoint after any test-tooling changes.
|
||||
|
||||
## F21 - Current acceptance remains failed at 098e6ee1
|
||||
|
||||
The frozen test-only checkpoint passes build, 477 fast tests and the final portable
|
||||
gate: 655 canonical cases (57 new / 598 reused), plus source/package gates. The
|
||||
exact production audit passes and the production diff from reviewed 9c08d814 is
|
||||
empty. The installed plugin remains 5,030,423 bytes with the same artifact hash.
|
||||
|
||||
A freshly built focused `--internal-drop --stability` run passes popout drop and
|
||||
all six unchanged 1000-element save/reopen cycles with no notifications or
|
||||
unexpected exceptions. Passive snapshots show each new editor reaching 1000
|
||||
elements with a fresh API. This validates the corrected cleanup, not the cause of
|
||||
the earlier load timeout.
|
||||
|
||||
The next full `npm.cmd run test:native` attempt passes all 258 behavior cases and
|
||||
40 device profiles, but `text-undo-2976` fails with `history button unavailable`.
|
||||
The parent records it as a feature-scenario failure, so its result and the later
|
||||
20 required identities are missing. There are 336 recorded required passes, not a
|
||||
complete 357-case pass. The helper does not retain its exact variant/action for
|
||||
this direct eval error; capture button state/readiness and that label before
|
||||
classifying the cause or changing assertions. The earlier unchanged isolated
|
||||
16-variant run passes, so neither interference nor a product defect is assumed.
|
||||
|
||||
Four uncaught primitive `illegal access` exceptions are timestamped while
|
||||
`native:lifecycle-dirty-popout-to-main` is active. Its persistence/scene assertions
|
||||
pass, but exceptions remain fatal. No broader diagnostic rule is applied. The
|
||||
first failed full attempt's two exact ResizeObserver notifications settle under
|
||||
the bounded policy; the latest attempt has none. [Current sanitized reports,
|
||||
counts, raw events, hashes and missing cases](testing-evidence/3022/README.md).
|
||||
|
||||
Both failed full attempts pass task cleanup, device/baseline restoration and the
|
||||
two actual native error/layout negative controls. The working vault is installed,
|
||||
both plugins are ready, and no tasks, print roots or popouts remain. Foreground
|
||||
testing stopped; final portable checks use headless browsers and do not drive
|
||||
Obsidian. Acceptance is zero of two complete passes. Keep all PRs draft and do not
|
||||
merge. Next steps are focused text-action diagnostics, an approved fixed-host
|
||||
migration comparison, and two fresh complete matching-build runs once blockers
|
||||
are resolved. Production fixes still require explicit approval.
|
||||
|
||||
## F22 - Invalid text-mode fixture and exact history failure
|
||||
|
||||
At 65f63a30 the full desktop/core prefix reproduces `raw/button/wikilink`, second
|
||||
undo after unchanged redo submission. Undo is present, visible, enabled and
|
||||
uncovered in the correct main-window drawing. Its stack drops from three entries
|
||||
to two, but raw source stays `[[other]]`; cached display is stale and link metadata
|
||||
has changed. This is not an unavailable-button occurrence.
|
||||
|
||||
Native setup snapshots prove `changeTextMode(mode, false)` sets the view raw while
|
||||
leaving its data model parsed. Tests now await the normal mode save/reload before
|
||||
clearing the next scene/history. The same failing step then has two coherent
|
||||
entries and restores source. All 16 variants pass after full predecessors at
|
||||
e4a36a6b and 9cb6c5eb. Structural comparison preserves all 28 original assertion/
|
||||
poll calls. The earlier unavailable-button occurrence remains unreproduced; no
|
||||
control is skipped/retried, and no history assertion or deadline is weakened.
|
||||
|
||||
## F23 - Markdown-image test retires a still-closing drawing
|
||||
|
||||
Passive native snapshots at 4199a3dd show the crop helper signals tab close and
|
||||
starts retiring its drawing while `sameFileEditGate.hasActiveOwners` is still
|
||||
true. The non-crop helper's 100-ms sample is already released. Feature close is
|
||||
asynchronous and includes native editor flush, save and reload; signalling close
|
||||
is not its completion.
|
||||
|
||||
Only test tooling changes: a shared bounded helper waits for ownership release
|
||||
and persistence completion before retirement, including failed-scenario cleanup.
|
||||
Two offline controls prove asynchronous waiting and that deadline failure retains
|
||||
the live owner without cancellation. At 9cb6c5eb both native image cases release
|
||||
ownership before retirement. Existing dimensions/crops, disk save/reopen and SVG/
|
||||
PNG assertions remain. This does not establish a cause or fix for the storms.
|
||||
|
||||
## F24 - Retained storms, finite evidence retrieval and host controls
|
||||
|
||||
The full e4a36a6b attempt fails the unchanged quiet/stable gate around web drop.
|
||||
Pane geometry stays fixed while the event counter grows around 60/second through
|
||||
desktop cleanup. It reaches 14,428. The old single-response raw retrieval exceeds
|
||||
CLI capacity; complete desktop raw payloads are absent, with only idle counters
|
||||
and the latest 50 CLI notification lines retained. This evidence limitation is
|
||||
explicit. Finite prefix pagination now preserves large streams, tested above
|
||||
4 MB without chasing later events. Device cleanup disposes its own listener even
|
||||
if retrieval fails. No browser/production event or observer is suppressed.
|
||||
|
||||
At 9cb6c5eb native retrieval retains 674 exact notifications and one unrelated
|
||||
window error. A post-run passive control observes 113 notifications while loaded,
|
||||
112 with both community runtimes fully unloaded, and 115 after restoration, each
|
||||
over two seconds. No debugger, input, drawing, popout or geometry sampling is
|
||||
active. The active community runtimes are not required to sustain that loop; its
|
||||
trigger remains unproven. F13's earlier focus-emulation reproduction does not
|
||||
establish instrumentation as the sole cause of later notifications.
|
||||
|
||||
After retaining evidence, recovery reloads only the verified, fully saved
|
||||
test-vault renderer. Other vault windows and installer remain untouched. Its final
|
||||
two-second passive sample is quiet and both plugins/baseline are restored. This
|
||||
recovery earns no acceptance credit. Storms still fail within five seconds; the
|
||||
one-second quiet/stable interval, unrelated exception and cleanup gates remain.
|
||||
|
||||
## F25 - 2026-10-29 acceptance and runtime decision (historical)
|
||||
|
||||
Final portable verification at 9cb6c5eb / 053a3b9 / 1cdcb7c passes 662 canonical
|
||||
cases: 64 new / 598 reused, plus source/package gates. Production build and the
|
||||
exact accepted-scope audit pass. No production behavior changes follow f240fb86.
|
||||
|
||||
The e4a36a6b full attempt has 345 required passes, 11 failures and one missing
|
||||
identity (`lucide-3019`), with all 258 behavior cases executed and 34/40 device
|
||||
profiles passing. Five desktop native-CLI cases and both mobile public EA protocol
|
||||
cases execute; all six desktop CLI cases execute in the later focused core. The
|
||||
corrected core has no required identity missing, all text assertions and six
|
||||
large-scene cycles pass, but strict acceptance still fails at Lucide idle and an
|
||||
unrelated popout-close exception. No complete passing repeat exists: **0/2**.
|
||||
|
||||
Four primitive illegal-access exceptions recur during dirty popout-to-main after
|
||||
desktop predecessors at 4199a3dd. Both migration routes can pass with the same
|
||||
predecessors. Six alternating-route plain Markdown migrations pass with both
|
||||
community runtimes unloaded. Those controls neither establish sole host causation
|
||||
nor exonerate drawing migration. Current core additionally throws
|
||||
`t.webContents.getZoomFactor is not a function` in Obsidian's `updateStatus`,
|
||||
called during fresh popout close. Its installed callback reads Electron zoom
|
||||
while checking the DOM window's closed state. No workaround or exception waiver.
|
||||
|
||||
Installed executable 1.14.0 runs app code 1.14.5 on Electron 43.3.0. The official
|
||||
[1.14.5 installer](https://obsidian.md/changelog/2026-10-22-desktop-v1.14.5/)
|
||||
uses Electron 43.8.3, including the related
|
||||
[43.5.0 child-window teardown fix](https://releases.electronjs.org/release/v43.5.0).
|
||||
A controlled comparison is proposed, not a proven resolution. Explicit maintainer
|
||||
approval is pending; no installer or production change was made. [Accessible
|
||||
case results, complete available raw payloads, limitations and hashes](testing-evidence/3022/README.md)
|
||||
are published. Keep all three PRs draft pending both complete native passes.
|
||||
|
||||
## F26 - Pixel-verifier CORS and missing-source setup
|
||||
|
||||
At bebf652f, eight Markdown pixel-verification cases fail because their verifier
|
||||
loads vault-resource URLs without CORS opt-in. Native default/anonymous/fetched-
|
||||
blob controls decode the same actual resources: default canvas reads throw
|
||||
SecurityError; anonymous loading before `src` and fetched blobs expose the same
|
||||
expected colors/transparency. The corrected verifier opts into CORS and creates
|
||||
its canvas detached in the owning document. No production change, security
|
||||
bypass, version branch or pixel assertion removal. The actual-helper regression
|
||||
enforces CORS ordering and rejects live-body canvas insertion.
|
||||
|
||||
The missing-source case also deleted an image while its drawing editor remained
|
||||
alive and required exactly one incidental filesystem error. Nested-split behavior
|
||||
recovers correctly with zero such logs. Setup now retires the editor before
|
||||
deletion, then reopens the drawing; the incidental-error allowance is removed.
|
||||
All missing-reference, save/reopen, recreation and decoded-recovery assertions
|
||||
remain. A second actual-source regression enforces retirement before deletion.
|
||||
All 12 focused cases and both full attempts pass these behaviors at 9b2874ba.
|
||||
|
||||
## F27 - 2026-10-30 complete attempts and retained storm
|
||||
|
||||
The maintainer installed Obsidian 1.14.5 / Electron 43.8.3. Versions are recorded
|
||||
metadata, never an exact-version allowlist, skip or altered success criterion.
|
||||
The existing runner-success test now exercises a future alpha version. No
|
||||
installer action was performed by the agent and no production behavior changed.
|
||||
|
||||
At plugin 9b2874ba / fork 053a3b9 / Extras 1cdcb7c, two complete native runs use
|
||||
identical source revisions and all matching artifact identities. First: **357/357
|
||||
pass**. Second: **350 pass / seven fail**, no missing IDs. Both pass all 258
|
||||
behavioral obligations, 16 text-history variants, six large-scene cycles, all 15
|
||||
popout-drop variants, physical save/cleanup and baseline restoration. Six desktop
|
||||
cases use registered native CLI commands; both mobile public EA.executeCLI cases
|
||||
are separate. Both actual error/layout negative controls pass in each attempt.
|
||||
|
||||
The second fails `lucide-3019` and six light desktop profiles (wide/narrow times
|
||||
full/tray/compact) on the unchanged quiet-idle gate. Its 702 exact notifications
|
||||
start inside the exhaustive Lucide probe, before the final screenshot. Functional
|
||||
assertions pass and no unrelated JavaScript exception is captured. This does not
|
||||
establish Lucide as the sole trigger or allow those failures to count as passed.
|
||||
|
||||
At diagnostic-only checkpoint 84a30be0, passive Lucide stage labels are retained
|
||||
without changing actions or thresholds. Isolated Lucide passes with zero events.
|
||||
The 172-desktop-plus-core replay retains 16,879 notifications: one earlier popout
|
||||
Markdown notification settles, but a sustained loop starts during
|
||||
`native:lifecycle-new-popout-survivor`, before Lucide. Subsequent parent idle and
|
||||
cleanup-idle gates fail. All functional cases execute; all history variants and
|
||||
six large cycles still pass. Restoration succeeds but does not waive failed idle.
|
||||
|
||||
After restoration, a two-second passive sample captures 120 notifications with no
|
||||
debugger, input, layout sampling, drawing or popout. The unload control records
|
||||
120 loaded, 121 with both community runtimes unloaded, then zero while restoring.
|
||||
A short native timeline records repeated resize-delivery phases and JavaScript
|
||||
error-handler calls; it does not identify the observer. Isolated lifecycle passes
|
||||
with zero events. The 43-popout-case prefix followed by lifecycle passes with one
|
||||
transient notification that settles. Three empty-popout controls (no added
|
||||
observer, test-owned main-realm observer, owning-realm observer) are clean with
|
||||
both community runtimes unloaded. These controls do not prove sole host causation
|
||||
or justify a production observer change. Earlier focus instrumentation did trigger
|
||||
a loop; sole instrumentation causation of every later event remains unproven.
|
||||
|
||||
The exact diagnostic policy is unchanged: one second of stable geometry and
|
||||
notification-free idle within five seconds. Storms, unrelated exceptions,
|
||||
unresponsive controls, failed behavior/persistence and cleanup fail. No browser
|
||||
event or production observer is suppressed or patched. The earlier illegal-access
|
||||
and getZoomFactor exceptions were not reproduced here; historical evidence stays.
|
||||
|
||||
Final portable at 84a30be0 passes **664 cases: 66 new / 598 reused**, plus source,
|
||||
package, build and declaration gates. Exact production-diff audit passes. The
|
||||
first full PDF is decoded and visually inspected: 10,616 bytes, one 288 x 216 pt
|
||||
page, expected text and 3330 red pixels. PDF rollback remains completion-driven.
|
||||
|
||||
The historical pair is one pass and one failure, not accepted. Two fresh complete
|
||||
matching-build passes remain required at the resolved checkpoint. Next: isolate
|
||||
state retained between desktop workflows and fresh-popout teardown; propose a
|
||||
minimal production fix for explicit approval only if evidence supports it. No
|
||||
additional full reruns were spent after the ordered reproduction. Keep all PRs
|
||||
draft. Sanitized cases, raw payloads, source/artifact hashes, controls and restored
|
||||
baseline are [published together](testing-evidence/3022/README.md). Final installed
|
||||
plugins are ready with no owned work and a quiet passive sample; recovery earns
|
||||
no acceptance credit.
|
||||
|
||||
## F28 - Ordered reductions and unmatched visibility (before approved trace)
|
||||
|
||||
At 780d1440, main -> split -> lifecycle passes with zero notifications; nested
|
||||
split -> popout -> lifecycle passes with one settling notification. Their
|
||||
document visibility is hidden, unlike the historical visible failing prefix.
|
||||
They therefore do not clear that failure. Native inspection finds the window
|
||||
visible/focused/non-minimized while its document reports hidden. Ordinary native
|
||||
show/focus restores visible state in 58 ms without emulation or renderer reset.
|
||||
|
||||
The new passive reader initially misclassifies internal registrations. Installed
|
||||
source uses Events._ for event-name maps and Component._events for cleanup
|
||||
callbacks. The extended actual-shape regression fails before correction and
|
||||
passes after; unsupported internals are explicitly unavailable. No production
|
||||
observer or callback is patched by this reader, and behavioral errors propagate.
|
||||
|
||||
At f5d5d217, the visible nested-split/popout prefix and then a visible
|
||||
split/nested-split/popout prefix both pass with one settling notification.
|
||||
The exact original 172-case prefix followed by lifecycle passes with snapshots
|
||||
off (two settling notifications) and on (zero). All frozen artifacts match the
|
||||
historical complete pair. Settings, inspected registrations, layout/sidebar,
|
||||
root/popout and temporary scheduling evidence return to their expected baseline.
|
||||
No retained leak in these inspected fields or a stable failing reduced sequence
|
||||
is demonstrated. No sole instrumentation/host causation or harmlessness follows.
|
||||
|
||||
Final portable passes 666 cases (68 new / 598 reused), including 488 plugin fast;
|
||||
source/package/build/declaration gates and production audit pass. No new full
|
||||
native run is attempted because the intermittent trigger is unresolved. The
|
||||
historical failed pair and raw notifications remain unchanged and all PRs stay
|
||||
draft. A 30-minute diagnostic-only observer creation/target-lifetime trace is
|
||||
proposed, requiring an explicit exception to the earlier no-patching rule. It is
|
||||
not implemented or run. No production/PDF change, suppression, threshold increase
|
||||
or mid-run renderer reset was made. [Accessible reductions and boundary state](testing-evidence/3022/resize-reduction-2026-10-30.json)
|
||||
include exact source/artifact identities, cases, raw diagnostics and restoration.
|
||||
|
||||
## F29 - Approved ownership trace and minimal frame-lifetime control
|
||||
|
||||
The explicitly approved 30-minute diagnostic ends live experiments at
|
||||
10:49:39 UTC, before 10:51:04. Main/popout observer construction and method calls
|
||||
are intercepted only in the diagnostic run; callback receiver/arguments/return/
|
||||
throw and restoration checks pass. The traced prefix/lifecycle/Lucide sequence
|
||||
passes with one settling notification, 2,331 observer records and no tracer errors.
|
||||
It earns no acceptance credit. Interception is removed, followed by a verified
|
||||
saved-baseline renderer-only reload to clear captured wrappers. Native methods
|
||||
and quiet restored service/layout state are verified afterward. No production or
|
||||
printing code is changed; no observer suppression or idle threshold change.
|
||||
|
||||
The smaller matched test uses only a native ResizeObserver and same-origin
|
||||
iframe DOM, with both community plugins unloaded and no workspace/popout calls.
|
||||
An element is adopted into the iframe before registration, and the iframe is
|
||||
then removed while the observer remains. No observer: zero notifications in the
|
||||
one-second sample. Main-document constructor: 62. Iframe constructor: zero.
|
||||
Disconnecting the test-owned main observer stops the iframe notifications. Last
|
||||
delivery remains nonzero (123 x 81), with no zero-size delivery before disconnect.
|
||||
A separate iframe case records 61 messages; a frameless-HTML-document control is
|
||||
quiet and delivers zero size. This isolates a retained cross-frame observation
|
||||
mechanism, not the exact responsible observer in the original failing suite.
|
||||
|
||||
The popout reproduction also occurs through native BrowserWindow.close with
|
||||
both plugins unloaded; replacing DOM window.close alone is not supported as a
|
||||
fix. Contaminated/aborted controls and startup/readiness refusals are documented
|
||||
without credit or invented counts. Detached WeakRef targets alone are not called
|
||||
leaks; available targets at trace end include host workspace containers but no
|
||||
available cross-realm target. Missing/collected targets are not miscounted.
|
||||
|
||||
All small controls temporarily use backgroundThrottling=false, as existing native
|
||||
tooling does. A matched scheduling comparison under verified visible conditions
|
||||
remains necessary before classifying tooling versus production/host responsibility.
|
||||
No sole host cause or harmlessness is concluded, and the one-second samples are
|
||||
not represented as a measured five-second gate failure. Historical long storms
|
||||
remain failures. The diagnostic cap is over; a bounded untraced follow-up is
|
||||
proposed, with permission pending. Source archives, full observer records, raw
|
||||
controls, matching artifacts and removal/recovery proofs are
|
||||
[accessible together](testing-evidence/3022/observer-diagnostic-2026-10-30.json).
|
||||
|
||||
## F30 - Scheduling comparison complete; original observer still unidentified
|
||||
|
||||
The maintainer authorized continuation without further time-extension questions.
|
||||
This follow-up uses native observer constructors and methods throughout, with
|
||||
no interception. Under verified visible/focused conditions, normal scheduling
|
||||
produces 0/62/0 iframe notifications (none/main/owner constructor); unthrottled
|
||||
scheduling also produces 0/62/0. Reverse-order repetitions produce 0/62/0 and
|
||||
0/61/0. Only the test-owned observer is disconnected; all next-second samples
|
||||
are quiet and original scheduling is restored. The smaller mechanism does not
|
||||
require the tooling's throttling override. This does not identify the original
|
||||
suite observer or establish a five-second failure from one-second samples.
|
||||
|
||||
Fresh automatic build/deploy/hash/configuration at plugin `ab1ef6da`, fork
|
||||
`053a3b9`, Extras `1cdcb7c` matches all frozen artifacts. The 172-case desktop
|
||||
prefix, original lifecycle and six saved/dirty close controls pass all 183 child
|
||||
cases with zero notifications. Saved/dirty 2,000-element closes pass. All 40
|
||||
profiles plus both 43-case phone/tablet workflows pass, followed by another
|
||||
desktop/lifecycle/Lucide replay with two settling notifications and passing
|
||||
restoration. A real pending save during a 2,000-element popout close hands off
|
||||
persistence successfully, reaches disk and retires its API/root without errors.
|
||||
The host-only resize/close timing controls and hidden-popout close are quiet for
|
||||
5.5 seconds with both plugins unloaded and no added observers.
|
||||
|
||||
The first isolated close probe omitted its parent result status. All six child
|
||||
assertions passed, but the parent correctly failed; that failed evidence is
|
||||
preserved. The ignored wrapper was corrected before the distinct ordered probe.
|
||||
No maintained test assertions or production behavior changed. These are
|
||||
diagnostic occurrences, not new canonical coverage or complete native repeats.
|
||||
|
||||
Passive evidence confirms the fresh lifecycle popout is visible/focused before
|
||||
closing. The real pending-save probe observes a main-realm ToolsPanel observer
|
||||
and an API/root still present at the first closed-window check, but no notifications. These
|
||||
observations alone do not justify a constructor or lifecycle production change.
|
||||
Fresh portable validation passes 666 (68 new / 598 reused), with all source,
|
||||
package, build and declaration gates; production audit passes. The installed
|
||||
vault is restored, quiet and usable, with no tasks, print roots or popouts.
|
||||
|
||||
The original sustained failure remains unresolved. Renewing the earlier
|
||||
forwarding-only trace over the full desktop/core sequence was rejected before
|
||||
execution by automatic approval review: the original exception expired and the
|
||||
later authorization specified untraced controls. No trace was installed or
|
||||
rejection bypassed. Explicit trace approval is pending. No full acceptance
|
||||
retry, production/PDF change, exception exclusion, timeout increase or diagnostic
|
||||
renderer reset was used in this continuation. Required mobile-mode changes and
|
||||
restoration reload Obsidian through its normal emulation command. Keep all PRs draft and retain the required
|
||||
two fresh matching-build complete passes. [Sanitized case evidence and source
|
||||
archives](testing-evidence/3022/observer-scheduling-followup-2026-10-30.json)
|
||||
include failed-wrapper evidence, raw notifications and exact artifact hashes.
|
||||
|
||||
## F31 - Full desktop/core trace and matched untraced comparison
|
||||
|
||||
The maintainer instructed autonomous continuation within the PR purpose. At
|
||||
plugin `fd32ac68`, fork `053a3b9` and Extras `1cdcb7c`, the forwarding-only trace
|
||||
passes all 231 required desktop/core identities and records 3,511 observers,
|
||||
1,478 targets and two isolated settling notifications. Recording failures and
|
||||
overflow are zero. Its available closed-document observation has a final
|
||||
zero-size delivery; no available target fits the smaller nonzero-size orphaned
|
||||
condition. WeakRef liveness, missing targets or ownership mismatch alone do not
|
||||
identify the historical storm's cause.
|
||||
|
||||
The trace is removed and native methods restored. A verified saved-baseline
|
||||
renderer-only reload clears captured wrappers after the completed diagnostic,
|
||||
outside acceptance evidence. The matched untraced 231-case core run then passes
|
||||
with one settling notification. Both use identical artifact bytes. Neither
|
||||
focused run counts as a complete acceptance repeat. No production, lifecycle,
|
||||
observer gate, timing threshold or upstream-test change follows this diagnosis.
|
||||
[Complete comparison and raw trace](testing-evidence/3022/observer-core-comparison-2026-10-30.json)
|
||||
retain identities, counts, target/constructor evidence, limitations and recovery.
|
||||
|
||||
## F32 - Two complete matching-build native passes
|
||||
|
||||
Both subsequent standard `npm.cmd run test:native` runs pass **357/357** required
|
||||
identities, including all **258 behavioral obligations** and **40 device/layout
|
||||
profiles**. Each has six registered desktop CLI-bearing cases and two public
|
||||
mobile `EA.executeCLI` cases. All text-history variants, six stability cycles,
|
||||
15 popout-drop variants, cleanup, baseline restoration and both native negative
|
||||
controls pass. No identity is missing, skipped or replaced by a focused probe.
|
||||
|
||||
The repeats use clean plugin `fd32ac682e2aadc0f982fa23d36da482011117f9`, fork
|
||||
`053a3b9f9e77917c457fce8ca9453d38b92a303b` and Extras
|
||||
`1cdcb7c425a9b80afdc7b39c88861143b4b85e58`; artifact and seed hashes match.
|
||||
No diagnostic loader, observer interception, optional state snapshots or
|
||||
diagnostic reset is used between the complete repeats. Main captures retain one
|
||||
and two exact transient notifications respectively, all settling; device captures
|
||||
are quiet. Every unrelated exception/error and sustained storm remains fatal.
|
||||
|
||||
Final portable validation passes **666 cases (68 new / 598 reused)**, with source,
|
||||
package, build and declaration gates. Production audit passes. Native accounting
|
||||
remains 273 new / 84 reused; this completion adds no canonical test identities.
|
||||
Each repeat performs a real single PDF export and verifies page/text/pixels and
|
||||
resource cleanup; the final rendered page was visually inspected. The working
|
||||
vault contains both installed plugins, restored configuration and no owned work.
|
||||
|
||||
The historical sustained observer trigger is still unidentified. Passing current
|
||||
runs do not prove it was harmless or fixed; the failed evidence remains linked
|
||||
and the strict gate is unchanged. Physical touch/WebView/stylus, real OS
|
||||
drag/clipboard, native macOS/Linux and isolated whole-app cold start remain
|
||||
separate environments. [Both complete case matrices and manifests](testing-evidence/3022/native-acceptance-pair-2026-10-30.json)
|
||||
support review readiness without claiming those additional environments.
|
||||
|
||||
## F33 - Parsed-link submission discarded earlier drawing history
|
||||
|
||||
The maintainer reproduced drawing earlier shapes, A, a bound `[[link]]` label
|
||||
and B, then undoing B and the label but being unable to undo A or earlier shapes.
|
||||
Source execution confirms this predates the testing PR and the October 11 text
|
||||
restoration fix. The parser submission branch explicitly cleared the entire
|
||||
history whenever raw Markdown differed from parsed display text. The initial
|
||||
focused native reproduction confirms the same failure: after two undos, five
|
||||
rectangles remain with undo depth zero. Original evidence is retained under
|
||||
`.test-work/reports/2026-10-30-link-history-before/`.
|
||||
|
||||
The maintainer authorized fixing this on October 30. Remove only that ordinary
|
||||
parsed-link submission reset: the matching fork already captures raw Markdown,
|
||||
parsed display and link metadata in the text transaction. Leave the independent
|
||||
mode-switch, asynchronous-transclusion and invalid-clipboard reset paths intact.
|
||||
No fork or Extras production code, observer or printing changes.
|
||||
|
||||
Four new source cases use the actual submission hook and parser for raw/parsed
|
||||
and bound/standalone text, each checking plain text, wiki links, aliases and
|
||||
Markdown links plus cache refresh after undo. Eight native sequences use real
|
||||
CDP drawing/text input and keyboard/toolbar history. They undo B, the link text,
|
||||
A and all four earlier rectangles to an empty scene, then redo the entire scene
|
||||
and compare identities, geometry, source, links and bindings. The first fixed
|
||||
probe exposed a test assumption: entering a label may capture a selection-only
|
||||
entry. That failed evidence remains in `2026-10-30-link-history-after/`. The
|
||||
corrected test explicitly verifies at most one such entry, no element delta,
|
||||
unchanged scene and one consumed history entry; no drawing-action assertion is
|
||||
removed. The final focused run passes all eight sequences and all 16 existing
|
||||
text-edit variants, error controls, cleanup and baseline restoration:
|
||||
`.test-work/reports/2026-10-30-link-history-verified/`.
|
||||
|
||||
Repeat with `node --test scripts/testing/textSubmissionHistory.test.mjs` and
|
||||
`npm.cmd run verify:obsidian -- --text-undo --diagnostics`. Broader portable and
|
||||
build verification uses `npm.cmd run test:regression:portable`; the exact
|
||||
production audit now includes this specifically authorized patch. Native case
|
||||
identity remains `text-undo-2976`; no earlier complete-run evidence is relabeled
|
||||
as testing this later fix. Main-window trusted input is covered; popout and
|
||||
physical mobile remain separate risk checks for this follow-up.
|
||||
|
||||
Broader verification also exposed an independent fork-owned browser setup
|
||||
error. After the preceding tool workflow already selects Selection, clicking
|
||||
that active toolbar button intentionally activates Lasso. Passive failure
|
||||
capture confirms `activeTool.type === "lasso"`; the existing readiness assertion
|
||||
correctly fails. Guard only that redundant setup click. All 18 normal browser
|
||||
cases then pass with the original group/delete/history assertions unchanged.
|
||||
The fork inventory records this test-only correction. Use the documented
|
||||
`PLAYWRIGHT_BROWSERS_PATH` when running portable checks; no browser upgrade is
|
||||
needed. Initial failed reports remain in the ignored local evidence directories.
|
||||
|
||||
Local deployment verification caught a settings-file rewrite during reload.
|
||||
The original backup was restored while the plugin was unloaded, then loaded
|
||||
again and verified byte-identical after settling. The fixed runtime and drawing
|
||||
editors are ready. The rewrite's original cause is unassigned; no settings
|
||||
production change is included, and private settings/backups remain untracked.
|
||||
|
||||
## F34 - Settings replacement during reload: unsafe late-save path reproduced
|
||||
|
||||
The preserved deployment evidence shows a substantive replacement, not merely
|
||||
canonical JSON ordering: 212 persisted keys became 187. Canonical comparison
|
||||
against source literals matches 178 of 179 comparable default properties; the
|
||||
exception is the normal once-off compression-reset flag. Eight computed defaults
|
||||
are outside that static comparison. The replacement differs from the native
|
||||
vault's configured fixture, and the two vaults have distinct recovery namespaces.
|
||||
This supports default initialization/persistence as the failure mechanism; it
|
||||
does not prove which load or save initiated the incident.
|
||||
|
||||
There is a concrete unsafe lifecycle path. `onunload()` destroys the settings
|
||||
manager and sets `settings = null`. The manager's `destroy()` closes the recovery
|
||||
store but does not reject later `saveSettings()` calls. The API-key persistence
|
||||
helper spreads its input (`{ ...settings }`), so a null input becomes an empty
|
||||
object. The still-active writer can then save `{}`. The loader accepts an empty
|
||||
object as a valid record and fills defaults on the next load.
|
||||
|
||||
An isolated reproduction executes the actual manager, serialization writer and
|
||||
key-obfuscation modules with fake storage: destroy the manager, clear host
|
||||
settings, invoke a late save. It performs one write after destruction and loses
|
||||
the non-default sentinel. This is evidence of the unsafe path, not a native
|
||||
capture of the original callback. The private diagnostic is
|
||||
`tmp/reproduce-late-settings-save.mjs`, with results under the ignored deployment
|
||||
evidence directory; no real settings are used in that reproduction.
|
||||
|
||||
Existing native coverage saves/loads settings on a live plugin instance. The
|
||||
separate plugin-reload case asserts drawing/runtime/command survival, without
|
||||
asserting custom settings across that boundary. A combined regression must use
|
||||
non-default values and unknown keys, cover delayed saves during teardown, reload
|
||||
the plugin, and check both persisted data and loaded preferences. Keep any
|
||||
production fix separate until approved. Original settings were restored from
|
||||
the exact backup and their loaded preferences verified. No additional reload
|
||||
experiment was performed in the personal vault for this diagnosis.
|
||||
|
||||
The maintainer subsequently authorized the fix. A retired manager now refuses
|
||||
new saves/loads, stops queued work before storage begins, and checks ownership
|
||||
after awaited reads, recovery operations and recovery choices. Invalid runtime
|
||||
settings are rejected before the key helper can turn null into `{}`. Pending
|
||||
startup continuations stop when unload has cleared settings. Already-started
|
||||
disk writes retain their real completion; no cancellation is claimed.
|
||||
|
||||
Eleven whole-module regressions cover the null late-save reproduction, invalid
|
||||
snapshots, idempotent disposal, queued and recovery-delayed writes, delayed file
|
||||
reads, recovery choices, active error propagation/retry and a fresh manager's
|
||||
custom-field reload. The initial nine-case run retained eight failures before
|
||||
the fix. The existing native plugin-reload case now saves non-default settings
|
||||
and an unknown nested zero/false sentinel, calls the retired plugin's save both
|
||||
before and after replacement, and checks the physical file and live preferences.
|
||||
Baseline restoration removes only the scenario-owned mutations.
|
||||
|
||||
Verification passes: all 11 new source cases, all five native lifecycle cases
|
||||
(plus plugin/drawing/error/source gates), cleanup/restoration and 681 portable
|
||||
canonical cases with source coverage, browser/package checks and builds. Native
|
||||
and portable plugin artifact hashes match; changed production files have zero
|
||||
lint diagnostics. The exact authorized source patch is retained in
|
||||
`tests/approved-settings-lifecycle.patch` for the scoped production-diff audit.
|
||||
The incident's original callback remains untraced; this fixes the reproduced
|
||||
unsafe path without claiming complete causal attribution. No personal-vault
|
||||
reload was used for this fix's validation.
|
||||
@@ -0,0 +1,133 @@
|
||||
# Workflow fixes: PR #3020
|
||||
|
||||
Date: 2026-10-28. Plugin branch `2026-10-28-small-workflow-fixes`, reconciled
|
||||
with master `962416bb`. Source checkpoints: `1d4a7aa6` (#2743 fullscreen) and
|
||||
`d8877a18` (#2649 templates). No fork, Extras, CLI-bundle, dependency, version or
|
||||
scene-format changes are part of this PR. The prepared handoff is removed.
|
||||
|
||||
## Outcomes
|
||||
|
||||
| Issue | Before | Result |
|
||||
| --- | --- | --- |
|
||||
| #2743 | A lower-right drawing becomes 0x0: an outer mod-root split gets `excalidraw-hidden`. Optional header lookup can also throw, and exit removes unrelated classes/styles. | Keep the complete ancestor path visible, hide surrounding sibling panes, and restore only owned classes. One owner per document; migration cleanup retains the entry document. Temporary CSS classes preserve existing inline styles. |
|
||||
| #2649 | Same-named templates display identical labels. Escape falls through to blank content after the destination folder is created. | Dedicated template/blank/cancel results, relative folder labels and initially selected explicit blank. Interactive callers prepare before folder/file/embed/editor/leaf effects. |
|
||||
| #2729 | The reported SVG-only fixed-size behavior was not reproduced on this host. | No speculative MarkdownPostProcessor, image-cache or rendering change. Width scaling passes in all six preview/immersive combinations. Tall previews are clipped in all three modes; this observation does not establish the reported SVG-versus-PNG cause. Keep the issue unresolved. |
|
||||
|
||||
The public `getBlankDrawing(): Promise<string>` and `createDrawing(): Promise<TFile>`
|
||||
contracts remain. The former retains its legacy script dismissal fallback;
|
||||
internal `prepareDrawing()` exposes cancellation to UI workflows. Existing
|
||||
explicit initData, EA and exact-path CLI creation bypass interactive preparation.
|
||||
The legacy `templatePromt` export remains as a file-or-null adapter. Shared link
|
||||
prompts are unchanged. Zero/single-template automatic selection is preserved.
|
||||
|
||||
## Reproduction and regression evidence
|
||||
|
||||
Six initial fullscreen fixture tests failed on the baseline. Seven now pass,
|
||||
covering depth 0-3, optional controls, existing classes/styles, repeated toggles,
|
||||
another drawing/window, ownership transfer and cleanup after document migration.
|
||||
The two original template creation-boundary tests also failed before the fix.
|
||||
Five chooser/creation tests now pass, including Obsidian's close-before-selection
|
||||
order and theme, compatibility and compression combinations.
|
||||
|
||||
Native pre-fix fullscreen evidence: `%TEMP%/excalidraw-obsidian-mSpMEO` and the
|
||||
baseline probe log `%TEMP%/workflow-3020-baseline-direct.log`. Runtime main.js
|
||||
matches the original master artifact, SHA-256
|
||||
`b9a471eeea1f0f81d158fa0cc68032447cbe73b6a6f1a0fef131dbc026db9cb0`.
|
||||
That probe recorded the hidden outer split and 0x0 content; its later Canvas
|
||||
API test was incomplete and is not claimed as an overall pass.
|
||||
|
||||
The intermediate `%TEMP%/excalidraw-obsidian-pFgYJY/report.json` passes native
|
||||
fullscreen after its fix and records the old template behavior: two identical
|
||||
labels, Escape creates a drawing and a destination folder. It also records the
|
||||
unchanged wide-Canvas width scaling before the template changes.
|
||||
|
||||
## Final native acceptance
|
||||
|
||||
**Passed:** `%TEMP%/excalidraw-obsidian-uhyar0/report.json`, including the strict
|
||||
JavaScript-error gate and owned-fixture cleanup. Windows, Node 22.22.3, Obsidian
|
||||
1.14.5 (installer 1.14.0), console launcher
|
||||
`C:/Program Files/Obsidian/Obsidian.com`, vault `C:/Obsidian/excalidraw-test`.
|
||||
|
||||
```powershell
|
||||
$env:EXCALIDRAW_TEST_VAULT_NAME='excalidraw-test'
|
||||
$env:EXCALIDRAW_TEST_VAULT_PATH='C:/Obsidian/excalidraw-test'
|
||||
$env:EXCALIDRAW_TEST_CONFIG_DIR='C:/Obsidian/excalidraw-test/.obsidian'
|
||||
$env:EXCALIDRAW_FORK_ROOT='C:/Users/viczi/GitHub/excalidraw'
|
||||
npm run verify:obsidian:plugin -- --workflow-fixes --native-cli --embed-recovery
|
||||
```
|
||||
|
||||
- Quarter split: 958x641 becomes 2560x1438 and returns to identical bounds.
|
||||
Eighth split: 479x641 becomes 2560x1438 and restores. Popout: 1024x722 becomes
|
||||
1024x800 and restores. Repeated toggles, second-drawing ownership transfer,
|
||||
closing a fullscreen drawing, unchanged drawing elements and main/popout
|
||||
isolation pass. Layout restoration is measured, not inferred from class names.
|
||||
- The actual chooser initially selects **Blank drawing** and distinguishes
|
||||
`Alpha/Same.excalidraw.md` from `Beta/Same.excalidraw.md`. Filtering selects the
|
||||
Beta contents. Explicit blank creates one drawing. Escape/outside dismissal,
|
||||
new-and-embed, note conversion and the actual file-explorer folder menu cancel
|
||||
without extra files/folders or note edits. Zero/single templates, legacy JSON
|
||||
and explicit initialization work without new prompts.
|
||||
- Two differently sized Canvas nodes reference one drawing; a third uses a tall
|
||||
drawing. All SVG/SVG-as-image/PNG cases with immersive mode off/on scale the
|
||||
small wide preview from 318 to 638 pixels as its node grows from 320 to 640;
|
||||
the second preview remains unchanged. These cases use fresh Canvas views and
|
||||
shared warm image-cache entries. The tall preview is 318x1643 in a 320x480
|
||||
node across all modes, so height fitting/clipping is explicitly not accepted
|
||||
as fixed. No old-environment or universal #2729 resolution is claimed.
|
||||
- Existing native CLI authoring/receipt/save/read-back/export checks pass, as do
|
||||
18 embed-recovery assertions spanning Live Preview, Reading mode, warm reopen,
|
||||
width refresh, popouts and hybrid Markdown/image rendering.
|
||||
|
||||
The probe fits Canvas in a normal-sized pane: at far zoom in an eighth-width
|
||||
pane, Obsidian intentionally renders placeholders. It waits for newly created
|
||||
and restored drawings' first render before teardown; a returned filename alone
|
||||
does not establish editor readiness. Early runs recorded a late onChange error
|
||||
reading cleared settings during reload, and a menu-builder test double lacked a
|
||||
core API. The final probe uses the actual Obsidian Menu via EA, awaits editor
|
||||
readiness and retains the strict error gate. No lifecycle production fix or
|
||||
error filtering is claimed.
|
||||
|
||||
## Checks and artifact identity
|
||||
|
||||
| Check | Result |
|
||||
| --- | --- |
|
||||
| `npm run test:workflow-fixes` | 12 pass |
|
||||
| `npm run test:markdown-embeds` | 20 pass |
|
||||
| `npm run test:drawing-load-error` | Four pass |
|
||||
| `npm run test:obsidian:runner` | 11 pass |
|
||||
| `npm run test:bundle` | Four pass |
|
||||
| Production and public-library output | Build successfully |
|
||||
| Generated paired-fork host declarations | Pass |
|
||||
| Focused lint on touched production modules | Clean |
|
||||
| Full `npm run code` | 119 existing errors, zero warnings; not claimed green |
|
||||
|
||||
Final production main.js: **5,029,444 bytes**, 213,436 below 5 MiB; SHA-256
|
||||
`c9f2f53c05b5c8b977d62cee20562931173455dc9e95ed73ec63107df9b6bec3`.
|
||||
CSS SHA-256: `4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d`.
|
||||
The test vault's three installed artifacts match the build exactly.
|
||||
|
||||
The declared component version remains 0.18.145. Its four installed runtime
|
||||
artifacts still contain the locally built protocol-3 changes from fork #476,
|
||||
as already authorized for the #3019 intermediate source merge. Their hashes
|
||||
remain in [Lucide validation](LUCIDE_ICON_VALIDATION.md). The environment variable
|
||||
above checks generated matching declarations; Rollup still warns about the old
|
||||
installed action union. This PR introduces no new package coordination. Normal
|
||||
published-byte verification remains deferred to the maintainer's release step.
|
||||
|
||||
## Maintainer review and remaining limits
|
||||
|
||||
Local review artifacts are copied to the ignored `tmp/pr3020-validation/` folder:
|
||||
`before-nested-layout.png`, `before-fullscreen.png`, `after-fullscreen.png`,
|
||||
`after-eighth-layout.png`, `before-template-chooser.png`,
|
||||
`after-template-chooser.png`, `canvas-before-resize.png`,
|
||||
`canvas-after-resize.png`, and the final `report.json`. Screenshots of the
|
||||
chooser and Canvas were visually inspected. They are synthetic dedicated-vault
|
||||
fixtures, not a published image corpus.
|
||||
|
||||
Priority manual checks: nested fullscreen and restored popouts after cold
|
||||
restart; annotation/NewFileActions nested dialogs; physical mobile focus,
|
||||
keyboard/touch and scrolling. macOS/Linux and physical mobile were not run.
|
||||
Hosted CodeScanner is unavailable locally and remains pending for the two
|
||||
fullscreen CSS rules. No issue is closed, no new labels are assigned, and the
|
||||
PR stays draft. The separate categorization work in the original preparation
|
||||
was not expanded by this implementation.
|
||||
@@ -0,0 +1,732 @@
|
||||
# Obsidian Excalidraw CLI — research and implementation handoff
|
||||
|
||||
Prepared by **Zsolt's Codex Agent** on **2026-10-11**.
|
||||
|
||||
**Status:** Implemented and validated locally; the maintainer authorized committing, pushing, and merging on 2026-10-11. The original research and proposed contract remain below as the decision record. Actual behavior and validation are recorded in the implementation sections and [CLI reference](../CLI.md).
|
||||
|
||||
### Implementation baseline — 2026-10-11
|
||||
|
||||
The local implementation investigation continued on this PR branch at
|
||||
`44dac3237cdfb9e542a51cc2e83f3f24ec908e4f`, using Node `v22.22.2` and the
|
||||
installed `@zsviczian/excalidraw` `0.18.140`. The initial production build
|
||||
passed with the existing 32 circular-dependency warnings. `node --check
|
||||
dist/main.js` passed, and all 11 offline native-runner tests passed.
|
||||
The baseline `npm run code` reports 120 existing errors; no source code
|
||||
was changed during this baseline investigation.
|
||||
|
||||
The resulting `dist/main.js` is **4,995,829 bytes**, leaving **247,051 bytes**
|
||||
under the maintainer's intended **5 MiB (5,242,880-byte)** budget. Its SHA-256 is
|
||||
`44d6f37e518c4d2db2de3409a42b1cc1cd538ad336de48ad3cdb25c65263f529`.
|
||||
The initial investigation mistakenly interpreted the "5 MB" limit as decimal
|
||||
5,000,000 bytes and reported a budget conflict. The maintainer corrected that
|
||||
interpretation; implementation continues against the 5 MiB budget without a
|
||||
packaging optimization. Final bundle measurements must use the explicit byte
|
||||
threshold to avoid repeating this unit error.
|
||||
|
||||
Native transport probes used the existing, running `excalidraw-test` vault
|
||||
on macOS, Obsidian **1.14.4 (installer 1.14.0)**, launched through
|
||||
`scripts/testing/host/processTools.mjs` with explicit `vault=excalidraw-test`
|
||||
and captured subprocess stdout. Temporary native handlers on the already
|
||||
installed plugin returned valid JSON for a synchronous return, a resolved
|
||||
promise, a 30 ms timer, a Vault read, and a real library PNG render
|
||||
(1,133-byte in-memory blob). All five returned `ok: true`; each process
|
||||
exited zero. The probe removed its own handler registrations and cleanup
|
||||
callbacks afterward. It did not deploy the newly built baseline or write
|
||||
an exported image to the vault. The installed runtime's skeleton converter
|
||||
was present and used in the PNG probe.
|
||||
|
||||
These results support ordinary awaited CLI replies on this macOS/Codex
|
||||
subprocess combination. They do not establish Windows, Linux, another agent
|
||||
host, mobile startup, production command registration/unload, or the full
|
||||
authoring workflow. No receipt-mode transport workaround is currently
|
||||
justified. The exact canonical CLI declarations were also read from the
|
||||
official `obsidianmd/obsidian-api` `obsidian.d.ts`: the registration method
|
||||
and `CliData`, `CliFlag`, `CliFlags`, and `CliHandler` are tagged `1.12.2`.
|
||||
The maintainer requires both `requireApiVersion("1.12.2")` and method-presence
|
||||
validation before registration, with local structural types and no change
|
||||
to the Obsidian `1.8.7` dependency or minimum app version.
|
||||
|
||||
### Implementation and validation — 2026-10-11
|
||||
|
||||
The local implementation now covers all thirteen actions and the native root,
|
||||
with the same versioned dispatcher exposed as `ea.executeCLI`. Native
|
||||
registration is desktop-only and checks both API 1.12.2 and method presence.
|
||||
Canonical CLI types are local; Obsidian 1.8.7, manifests, lockfile, component,
|
||||
and Extras dependencies are unchanged. Session IDs use the existing mobile-safe
|
||||
`nanoid` helper, avoiding a new `crypto.randomUUID` startup requirement.
|
||||
|
||||
| Checkpoint | Implemented behavior | Recorded evidence |
|
||||
| --- | --- | --- |
|
||||
| 0 | Awaited native transport and baseline | Five captured native probes; 4,995,829-byte baseline |
|
||||
| 1 | Descriptors, JSON dispatcher, discovery/schema/API/list/read/open, EA facade | 5,019,055-byte build; native help/status/schema/read registration |
|
||||
| 2 | Converter validation, local/label IDs, strict EA creation, templates | 5,028,949-byte build; labels/arrows/frames, root path and collision round-trip |
|
||||
| 3 | Guarded request-local text metadata, finite edits, save acknowledgments | Native stale/busy, delayed text, failed-save recovery, relationship edits, replay and saved read-back |
|
||||
| 4 | Vault images, optional MathJax preflight, live/disk SVG/PNG and area bounds | Native image metadata round-trip; source-tagged exports; PNG visual inspection; 200×80 crop with zero padding |
|
||||
| 5 | Trusted existing scripts, JSON/library utilities, exact source cache check, one-shot cleanup | Native context, replay/source conflict, prompt refusal; production-method tests preserve manual lifetime |
|
||||
| 6 | Offline skill, localized help/copy command, README/reference, declarations, release notes, repeatable runner | Production and library build; 19 focused tests and 11 runner tests; full native scenario passed |
|
||||
|
||||
Final production `dist/main.js`: **5,053,346 bytes**,
|
||||
**57,517 bytes** over baseline, leaving
|
||||
**189,534 bytes** under **5,242,880 bytes**.
|
||||
SHA-256: `7705eeba5d23a0bf54c2e3ea874d7d0ae0b270186ed4b2e326e6e45f3cfd7a9b`.
|
||||
Builds have no TypeScript diagnostics. Existing circular-dependency warnings
|
||||
remain. `npm run code` still reports exactly the baseline **120 errors, zero
|
||||
warnings**; the new CLI modules, types, dialog, and save-outcome seam lint cleanly.
|
||||
`npm run lib` regenerated the ignored public declaration graph, including
|
||||
`executeCLI`, its request/result DTOs, and the strict creation parameters.
|
||||
No generated build artifacts were hand-edited or added as source changes.
|
||||
|
||||
The complete registered-command scenario passed on **macOS / Codex subprocess
|
||||
execution / Obsidian 1.14.4 (installer 1.14.0)** with the installed published
|
||||
component **0.18.140**:
|
||||
|
||||
`npm run verify:obsidian:plugin -- --native-cli`
|
||||
|
||||
Final report:
|
||||
`/var/folders/b1/2dys0jfs7bq73whkl2qnyyym0000gn/T/excalidraw-obsidian-jQHWu0/report.json`.
|
||||
The report pins built/installed artifact hashes and confirms owned fixture
|
||||
cleanup. The fixture exercises native file input, discovery, templates, invalid
|
||||
construction/collision refusal, stable text IDs, fresh revisions, duplicate
|
||||
receipts, competing writes, delayed text preparation, save failure, finite
|
||||
relationships/frame guards, core rendering, vault images, scripts, and reopening.
|
||||
Separate live/light and disk/dark exports were also checked; a PNG was visually
|
||||
inspected to confirm labels, connector and frame placement. The localized help
|
||||
dialog and its copy button mounted successfully. All seven manual checkpoint
|
||||
fixtures were removed after their inspections; repeatable scenarios clean their
|
||||
own temporary files and hooks.
|
||||
|
||||
A combined `--text-undo --native-cli` attempt timed out in the existing
|
||||
text-undo eval probe before reaching CLI scenarios; its cleanup passed. Report:
|
||||
`/var/folders/b1/2dys0jfs7bq73whkl2qnyyym0000gn/T/excalidraw-obsidian-8npk9o/report.json`.
|
||||
An independent Kplex runner was active at the time; that observation does not
|
||||
establish the timeout's cause. The declared 0.18.140 component also lacks the
|
||||
separate unchanged-text history fix, as already documented in the runtime guide.
|
||||
The focused CLI scenario runs independently and passed. Driver subprocesses now
|
||||
use SIGKILL at timeout, so an ignored SIGTERM cannot leave the runner waiting.
|
||||
|
||||
Decisions/limits: schema uses `action` to avoid the native transport's
|
||||
`command` name; JSON schemas describe request structure while runtime geometry,
|
||||
relationship, and lifecycle guards remain authoritative. Lib help is an explicit
|
||||
supported subset of the installed runtime. Save handoffs/unchanged attempts are
|
||||
conservatively unacknowledged. Scripts report unknown mutation/persistence and
|
||||
cannot promise rollback or timeout cancellation. A legacy destination is rejected
|
||||
when a template's linked assets would lose their Obsidian metadata. No agent
|
||||
configuration is installed automatically, and no new outbound service is used.
|
||||
|
||||
Remaining risk-based maintainer checks (separate environments):
|
||||
|
||||
1. Apply text/image edits in an inactive popout, then migrate/unload during
|
||||
preparation; check stale/busy refusal, undo/redo, and absence of duplicate saves.
|
||||
2. Load on real Obsidian 1.8.7 and a physical mobile device; native registration
|
||||
should be absent and ordinary editing/help should work. Older API, missing
|
||||
method, and mobile registration guards are covered by automated tests.
|
||||
3. Run the full flow from a second terminal-capable agent host and Windows/Linux
|
||||
launcher. Claudian/Agent Client/Copilot, physical devices, and those platforms
|
||||
have not been tested here; conditional compatibility is not runtime evidence.
|
||||
|
||||
### Maintainer-requested visual authoring test — 2026-10-11
|
||||
|
||||
Recreated the supplied check-in/Q&A reference in `excalidraw-test` entirely
|
||||
through native CLI commands: Obsidian `create` staged the trusted EA script,
|
||||
Excalidraw `script` constructed the drawing, `read` verified disk persistence,
|
||||
`open` opened it, finite `apply` refined capsule geometry with a fresh revision
|
||||
and returned `persistence=saved`, and `export` rendered the PNG for inspection.
|
||||
No eval transport, direct drawing-file writes, or raster imports were used.
|
||||
|
||||
The saved `CLI recreation - Check-in and QA.excalidraw.md` contains **73 editable
|
||||
elements**: 9 rectangles, 28 lines, 21 text elements, and 15 ellipses, with zero
|
||||
image assets. Its **1692×961** PNG was visually checked after refinement. Both
|
||||
outputs remain in the test vault at the maintainer's request; the three temporary
|
||||
script/request notes were moved to trash through the native CLI.
|
||||
|
||||
Two native Obsidian `create` transport details were handled in the test client:
|
||||
escaped newlines in source strings expand during note creation, and an input
|
||||
request using a `.json` path is created as a Markdown note. Reading back the
|
||||
actual generated path/content resolved both; neither failure mutated the drawing.
|
||||
|
||||
The maintainer approved merging after this test. Cross-platform and physical
|
||||
device coverage remains limited to the evidence listed above.
|
||||
|
||||
### Verification after integrating current master — 2026-10-11
|
||||
|
||||
Merged `origin/master@07dec121` into the implementation branch at `769d58ea`,
|
||||
preserving the newly added embed, grouped-link, and LaTeX runner options alongside
|
||||
`--native-cli`. Resolved additive conflicts in the runtime guide and runner only.
|
||||
The release notes also document the new EA signatures.
|
||||
|
||||
Production/library builds and `node --check dist/main.js` passed. All **50 tests**
|
||||
across CLI, runner, process launchers, and Markdown embeds passed. Targeted CLI,
|
||||
type, dialog, and save-coordinator ESLint passed. The updated production bundle is
|
||||
**5,057,617 bytes**, leaving **185,263 bytes** under the **5,242,880-byte** budget;
|
||||
SHA-256 `18a27d7455cf57f83840c5053ea28ff7a88bc6b7661516ec0141482f322b95c1`.
|
||||
|
||||
The full smoke runner verified matching installed hashes, plugin load, and the
|
||||
main-window drawing, then timed out in the feature phase. Fixture cleanup passed;
|
||||
report: `/var/folders/b1/2dys0jfs7bq73whkl2qnyyym0000gn/T/excalidraw-obsidian-3FaWmy/report.json`.
|
||||
The exact timed-out command was not captured. Native readiness returned healthy
|
||||
and the app error buffer was empty afterward.
|
||||
|
||||
Reran the complete `runNativeCLIScenario` on uniquely owned fixtures against that
|
||||
same installed artifact, with command-level timeout tracing. All assertions
|
||||
passed, including save/reopen, live/disk exports, script context, guarded edits,
|
||||
failed-save recovery, and owned fixture cleanup. Evidence:
|
||||
`/private/tmp/excalidraw-cli-premerge-result.json` and
|
||||
`/private/tmp/excalidraw-cli-premerge-trace.json`. This focused rerun does not
|
||||
relabel the full runner's timeout as a pass.
|
||||
|
||||
**Implementation workspace:** `2026-10-11-obsidian-excalidraw-cli`, initially branched from plugin `master@bf541ca5d460f5773a5547ba4511eba3ff0f2e5b`. Continue on this branch and its draft PR. Recheck its head, current instructions, and related changes before coding. The maintainer requested the detailed plan in this file: retain it through implementation, update decisions and validation here, and do not treat it as the usual disposable one-paragraph planning stub.
|
||||
|
||||
## 1. Recommended design
|
||||
|
||||
Implement a **native Obsidian CLI extension in the plugin**, backed by a small transport-neutral dispatcher. Use ExcalidrawAutomate for Obsidian-aware operations and the already-exported `ExcalidrawLib.convertToExcalidrawElements` for convenient batch construction. Reuse the current view, file, asset, export, and save paths rather than building another drawing engine.
|
||||
|
||||
The intended agent loop is:
|
||||
|
||||
`discover → inspect schema → read drawing → apply a bounded edit → verify persistence → render → inspect image`
|
||||
|
||||
| Decision | Recommendation |
|
||||
| --- | --- |
|
||||
| Transport | Public `Plugin.registerCliHandler`, not an `eval`-only protocol or a new executable. |
|
||||
| Implementation scope | Plugin only. No new fork or Extras API is indicated by the source. Verify against the installed fork package, not just its remote `master`. |
|
||||
| Normal authoring | JSON requests with readable skeletons, explicit targets, and a small set of semantic operations. |
|
||||
| Full advanced access | A documented, explicitly trusted, one-shot EA script command plus progressive EA/Lib API help. Do not generate a command for every method. |
|
||||
| Discovery | Native help/autocomplete, runtime schemas/examples, a short portable Agent Skill, and a human Command Palette entry pointing to CLI help. |
|
||||
| Existing drawings | Mutate a specifically resolved live view through existing plugin logic. Require an explicit open operation when a drawing is not open. Do not add a second closed-file persistence engine. |
|
||||
| Output | JSON results by default; save SVG/PNG to an explicit vault path and return a small artifact descriptor. |
|
||||
| Non-goals | No Excalidraw+ account integration, HTTP server, MCP server, provider SDK, browser download, global agent-config editing, or generic workflow/job framework. |
|
||||
|
||||
A broad API does not mean every operation can run unattended: modals, long-lived sidepanels, optional Extras features, and trusted code have different requirements. Expose those requirements instead of hiding them behind a misleading universal command.
|
||||
|
||||
## 2. Research findings and evidence
|
||||
|
||||
### 2.1 The announced Excalidraw CLI is a reference, not a dependency
|
||||
|
||||
The supplied [announcement URL][announcement] could not be read reliably. I located and inspected the official `excalidraw/cli` repository and the Excalidraw+ roadmap instead. This analysis does not infer the tweet's exact wording or announcement date.
|
||||
|
||||
At inspected revision `55fe7f494837078781a062c4d3faf29c159ebec5`, the official CLI combines local rendering with Excalidraw+ workspace/scene/collection operations. Local rendering does not require an account. Its command registration, content validation, and browser-side rendering code are useful references. [E1], [E2], [E3], [E4]
|
||||
|
||||
Reuse the **design patterns**: machine-readable output, command-specific help, file-based JSON input, validation before writes, bounded output, and explicit partial-failure reporting. Do not copy its cloud authentication model, server content-reconciliation assumptions, Commander/Zod dependency stack, or separate browser-rendering process into the plugin. Obsidian already hosts the rendering runtime and owns vault persistence.
|
||||
|
||||
### 2.2 Obsidian has a public custom CLI API
|
||||
|
||||
The current official `obsidian.d.ts`, inspected at `9abd9605ce081383674aae1ed111c456edde0688`, declares the following public API, tagged `@since 1.12.2`: [O1]
|
||||
|
||||
```ts
|
||||
registerCliHandler(
|
||||
command: string,
|
||||
description: string,
|
||||
flags: CliFlags | null,
|
||||
handler: CliHandler,
|
||||
): void;
|
||||
|
||||
interface CliData { [key: string]: string | 'true'; }
|
||||
interface CliFlag {
|
||||
value?: string;
|
||||
description: string;
|
||||
required?: boolean;
|
||||
}
|
||||
type CliFlags = Record<string, CliFlag>;
|
||||
type CliHandler = (params: CliData) => string | Promise<string>;
|
||||
```
|
||||
|
||||
Command IDs are global, and duplicate registration throws. Use the existing plugin ID as the namespace. Native flag descriptions feed help/autocomplete. Do not confuse these handlers with Command Palette commands exposed by `obsidian commands` and `obsidian command id=...`.
|
||||
|
||||
The documented desktop CLI requires the running app, CLI enablement/registration, and a suitable installer. Use an explicit `vault=<name-or-id>` **before the command** in agent instructions. Paths are vault-relative; native parameters use `key=value` and boolean switches are bare flags. This is not Obsidian Headless. [O2]
|
||||
|
||||
The plugin currently compiles against Obsidian types `1.8.7`. Keep its existing minimum app compatibility. Add only the canonical missing CLI declarations using the repository's established typing approach, and feature-detect the registration method at runtime. Do not assume a declaration proves runtime support or raise the minimum app version solely for this optional feature. [P1], [P2]
|
||||
|
||||
### 2.3 Async CLI delivery is a real test gate
|
||||
|
||||
An April–May 2026 firsthand report describes Obsidian 1.12.7 plugin handlers losing stdout after real asynchronous work, especially through pipes/agent tools; a second reporter reproduced it without Codex. That is historical evidence, not proof that current Obsidian still has the bug. [O3]
|
||||
|
||||
**First implementation task:** register a small test handler and check synchronous return, a resolved promise, a short timer, vault I/O, and a real PNG export through native CLI stdout. Test a terminal and an actual agent subprocess, including redirected/piped output. Record app, installer, platform, launcher, and harness versions.
|
||||
|
||||
Prefer the ordinary `Promise<string>` return contract. Do not introduce a mandatory background-job system based on an old report. If supported environments reproduce lost async output, add only an explicit asynchronous receipt mode and a synchronous `:result` lookup using the same bounded session receipt map described below. Do not block Obsidian's event loop waiting for work, scrape developer-console output, or claim an empty stdout/zero exit code means success.
|
||||
|
||||
### 2.4 Agent integrations: use their existing execution paths
|
||||
|
||||
| Integration inspected | Relevant behavior | Design implication |
|
||||
| --- | --- | --- |
|
||||
| **Claudian** | Its README describes local coding-agent execution and vault tools. Its Claude command catalog relies on native SDK discovery of commands/skills rather than independently interpreting every skill directory. | A native CLI plus a standard skill fits its existing terminal/skill model. Do not depend on Claudian-private APIs. [A1], [A2] |
|
||||
| **Agent Client** | ACP clients expose terminal requests; sessions can use a directory other than the vault, and the README documents native agent skills and permissions. | Always name the vault. Terminal access depends on the selected agent's capabilities and approval, not merely on ACP being present. [A3], [A4] |
|
||||
| **Copilot for Obsidian** | Current source includes an Obsidian CLI skill for coding-agent backends and platform-specific CLI executable discovery. | Reuse the host's CLI execution and skill support; do not characterize every Copilot mode as shell-capable or add a custom provider bridge. [A5], [A6] |
|
||||
| **MCP-only or API-only chat clients** | A chat interface does not inherently provide a local terminal. | Expose the same JSON dispatcher in-process for integrations. An external MCP adapter can forward it later; no built-in MCP server is needed for V1. |
|
||||
|
||||
Agent Skills provides the portable `SKILL.md` convention and progressive disclosure. Skill availability still depends on the harness's discovery rules and permissions. Do not promise universal automatic discovery or treat a skill's `allowed-tools` metadata as a security boundary. [A7]
|
||||
|
||||
### 2.5 Existing plugin and fork primitives
|
||||
|
||||
Source baselines inspected:
|
||||
|
||||
| Repository | Revision | Role |
|
||||
| --- | --- | --- |
|
||||
| `zsviczian/obsidian-excalidraw-plugin` | `bf541ca5d460f5773a5547ba4511eba3ff0f2e5b` | Accepted plugin baseline for this plan. |
|
||||
| `zsviczian/excalidraw` | `6ec95a327b77df2696e170cb0c9d8a84ac115121` | Inspection of exported functions and skeleton conversion. |
|
||||
| `zsviczian/obsidian-excalidraw-extras` | `18ed02765078ac8e9f78df7449ccb907cb000460` | Optional feature boundary, previously inspected 0.1.1 source. |
|
||||
| `excalidraw/cli` | `55fe7f494837078781a062c4d3faf29c159ebec5` | Official CLI reference implementation. |
|
||||
|
||||
The plugin declares `@zsviczian/excalidraw` **0.18.140**. Its installed artifact must be checked independently of the fork's current source. The CLI should not require an unpublished API or automatically bump the fork package. [P1]
|
||||
|
||||
| Source | Verified behavior / implication |
|
||||
| --- | --- |
|
||||
| `src/core/index.ts`, EA `getAPI(view)` | Existing factory creates a separate EA. Allocate one per operation; never use the mutable global EA workbench for concurrent requests. [P3], [P4] |
|
||||
| EA `elementsDict`, `imagesDict`, `clear`, `setView` | EA stages edits. `clear()` clears the workbench, not the drawing. Automatic `setView()` can select active/last/first; CLI targeting must not use that fallback. [P4] |
|
||||
| EA `help`, `SuggesterInfo.ts` | Help uses existing signature/description metadata but prints to the console. A CLI help handler must return metadata, not return `ea.help()` or scrape its logs. [P4], [P5] |
|
||||
| EA `addElementsToView`, view `addElements` | Existing route handles text parsing, image/equation metadata, runtime file publication, container/arrow refresh, and saving. Reuse it, with narrow guards/receipts where required. [P4], [P6] |
|
||||
| `ViewSaveCoordinator` | Internal save outcomes exist, but public save helpers often return `void`; a resolved call is not a durable-save receipt. [P7] |
|
||||
| EA `create`, `FileManager.createDrawing` | Existing serialization handles plugin Markdown, but defaults include global format/folder settings and collision suffixing. An exact-path CLI needs a small explicit per-call option, not temporary global setting changes. [P4], [P8] |
|
||||
| EA `getSceneFromFile` | Returns elements/appState, not a complete asset/Markdown metadata round-trip. Do not use it to overwrite a drawing. [P4] |
|
||||
| EA `createViewSVG/PNG`, `createSVG/PNG` | Existing live-view and file/template export routes exist. `elementsOverride` is a complete candidate list, not a patch. [P4] |
|
||||
| `Scripts.ts` | Script execution already returns a value and supports fresh EAs, but existing scripts intentionally retain lifetime for hooks/sidepanels. Add CLI-only one-shot cleanup rather than changing all scripts. [P9] |
|
||||
| Fork `index.tsx`, plugin constants/types | `convertToExcalidrawElements`, restoration, geometry, mutation helpers, and exports are already exposed. No new fork export is required. [F1], [P10], [P11] |
|
||||
|
||||
## 3. Command surface and discovery contract
|
||||
|
||||
Use `obsidian-excalidraw-plugin` as the native root command and `obsidian-excalidraw-plugin:<action>` for actions. Keep the long but collision-safe native name in examples; no shell alias or separate npm installation is required.
|
||||
|
||||
All action handlers call the same dispatcher. A proposed public EA method, **`ea.executeCLI(request)`**, should delegate to that dispatcher and return the same JSON-compatible result. It must not reuse the caller's staged elements or automatically target the caller's current view. This is the documented in-process route for other plugins; native CLI remains the primary agent route.
|
||||
|
||||
| Action | Purpose and principal inputs |
|
||||
| --- | --- |
|
||||
| root / `help` | Short overview, action names, next command to run, and examples. |
|
||||
| `status` | CLI API version, plugin/runtime readiness, installed dependency capabilities, current vault identity, optional-feature availability. No keys or complete settings dump. |
|
||||
| `schema` | `command=<action>`; return that command's JSON input/output schema, defaults, side effects, and runnable example. |
|
||||
| `api` | `surface=ea\|lib`, `query=<text>` or `name=<method>`; bounded method search, signatures, descriptions, relevant examples. Discovery only, not reflective invocation. |
|
||||
| `list` | Drawing paths with bounded pagination; optional `folder`. Use the plugin's drawing classification rather than extension-only guesses. |
|
||||
| `read` | Exact `path`, optional `view`, `source=auto\|live\|disk`, `detail=summary\|elements`, selection/ID filters, pagination. Return source/revision/dirty state. |
|
||||
| `open` | Resolve or explicitly open a drawing as Excalidraw and return a ready view identity. This command can change the workspace; no hidden opens in `read`. |
|
||||
| `create` | Exact new `path`, optional explicit template, and JSON construction request. Fail on an existing target by default. |
|
||||
| `apply` | One bounded edit request against an explicit live target and expected revision. Stage edits, publish through the plugin, and report persistence. |
|
||||
| `export` | SVG/PNG to an explicit vault-relative `out`; source/selection/area, theme, padding, and bounded scale options. Return artifact metadata. |
|
||||
| `script` | Explicit existing script path, target when needed, JSON arguments, and a `trusted` acknowledgment. One-shot execution for advanced EA/Lib use. |
|
||||
| `skill` | Return the portable CLI skill; `format=markdown` is useful for saving or attaching it. Default JSON can contain the Markdown string. |
|
||||
| `result` | Retrieve a recent operation receipt by caller-supplied request ID. Session-only; not a persistent job service. |
|
||||
|
||||
The root index, schema, and API help should be short and useful without a loaded drawing. An unavailable optional operation must be reported as unavailable with a reason, not silently omitted from documentation or registered as a no-op.
|
||||
|
||||
### Discovery layers
|
||||
|
||||
1. Register native descriptions and `CliFlags` so `obsidian help` and `obsidian help obsidian-excalidraw-plugin:apply` explain the actual command.
|
||||
2. Return a small machine-readable index from the root command. Include `apiVersion`, capability flags, input style, and next-step examples.
|
||||
3. Return detailed schemas only when requested. Derive help, examples, validation, and skill action names from one small command descriptor registry. Do not bundle a general JSON-schema engine solely to validate this finite command set.
|
||||
4. Reuse EA's existing documentation metadata and generated Lib references for progressive API help. Do not invent signatures from runtime function arity or expose private plugin methods/settings through reflection.
|
||||
5. Add a Command Palette entry such as **Excalidraw: Show CLI and agent instructions**, with a copy action for the skill. This also helps agents that first discover the plugin through `commands filter=obsidian-excalidraw-plugin`.
|
||||
6. Add a short README entry and a CLI reference document linked from the existing EA skill. The installed plugin is normally three artifacts; repository documentation is not automatically present in every user's vault. The runtime `skill`/`help` route must work without fetching GitHub.
|
||||
|
||||
Keep the portable skill small: when to use the CLI, explicit vault/target rules, the read/apply/export loop, structured errors, and links to deeper runtime help. Exporting/installing a skill is a user action. Never overwrite vault `AGENTS.md`, `CLAUDE.md`, `.claude`/`.agents` directories, provider configuration, or Claudian's per-device skill links automatically.
|
||||
|
||||
## 4. Requests, results, and examples
|
||||
|
||||
### 4.1 Input and target rules
|
||||
|
||||
Small operations can use native flags. For construction and edits, prefer **`input=<vault-relative UTF-8 JSON file>`**. This avoids fragile shell escaping and oversized Windows IPC arguments. A small `json=<payload>` alternative may be supported; require exactly one of them. Do not interpret JSON strings as code.
|
||||
|
||||
JSON payloads use `apiVersion: 1`. The native action supplies `command`; the in-process method includes it explicitly. If a target is supplied both in flags and the file, require the values to agree rather than silently override one. Paths are exact vault-relative paths, including the extension. A missing path is an error, not permission to edit the active drawing.
|
||||
|
||||
For existing drawings, `apply` requires a fresh `expectedRevision` from a live `read`. `view` is required when more than one eligible view shows the same file. A stale or unavailable target returns a useful error and the candidates; do not pick the first or most recently active leaf.
|
||||
|
||||
`source=auto` uses an unambiguous live view when present, otherwise disk; multiple live candidates require a view choice. `source=live` fails when no ready view exists. `source=disk` does not open or save the drawing. Selection filters require a live source. Use one snapshot for each read response, with a default summary and bounded element pages. Omit base64 asset bodies and return a revision/source marker. A changed snapshot invalidates a pagination cursor. An explicit disk read may differ from unsaved live content and must say so.
|
||||
|
||||
### 4.2 Result envelope
|
||||
|
||||
A proposed completed result shape is:
|
||||
|
||||
```json
|
||||
{
|
||||
"apiVersion": 1,
|
||||
"requestId": "diagram-pass-01",
|
||||
"status": "completed",
|
||||
"ok": true,
|
||||
"command": "apply",
|
||||
"target": {
|
||||
"vault": "Design Vault",
|
||||
"path": "Drawings/Flow.excalidraw.md",
|
||||
"viewId": "opaque-view-id"
|
||||
},
|
||||
"revision": "opaque-new-revision",
|
||||
"persistence": "saved",
|
||||
"data": {
|
||||
"createdIds": ["a1b2c3d4"],
|
||||
"updatedIds": [],
|
||||
"deletedIds": [],
|
||||
"idMap": {"nodeA": "a1b2c3d4"}
|
||||
},
|
||||
"warnings": []
|
||||
}
|
||||
```
|
||||
|
||||
`status` is `completed`, `failed`, or `pending`. A pending response is **not success**: use `ok: null` and direct the caller to `result`. `persistence` is `not-applicable`, `saved`, `unsaved`, or `unknown`; `saved` means the corresponding mutation was acknowledged durable by the existing save path, not merely queued or visible. A `result` lookup may return pending while an ordinary awaited request is still running.
|
||||
|
||||
Errors include a stable code, short explanation, relevant field, and recovery action. Initial codes should cover `INVALID_INPUT`, `UNSUPPORTED_COMMAND`, `NOT_READY`, `NOT_FOUND`, `NOT_EXCALIDRAW`, `AMBIGUOUS_TARGET`, `BUSY`, `STALE_REVISION`, `ALREADY_EXISTS`, `DEPENDENCY_UNAVAILABLE`, `INTERACTION_REQUIRED`, `RENDER_FAILED`, `SAVE_FAILED`, and `OUTCOME_UNKNOWN`. Report whether a mutation was not applied, applied, partial, or unknown when failure follows side effects. Do not expose stack traces or private payloads by default.
|
||||
|
||||
Return strings from native handlers. Do not use `console.log` as the response channel, patch global logging, or call `process.exit` inside Obsidian. The host owns process exit behavior; agents must parse the result rather than infer success from exit code alone.
|
||||
|
||||
### 4.3 End-to-end authoring example
|
||||
|
||||
These are proposed commands for the implementation agent to turn into tested examples:
|
||||
|
||||
```sh
|
||||
obsidian vault="Design Vault" help obsidian-excalidraw-plugin:create
|
||||
obsidian vault="Design Vault" obsidian-excalidraw-plugin:status
|
||||
obsidian vault="Design Vault" obsidian-excalidraw-plugin:schema command=create
|
||||
obsidian vault="Design Vault" obsidian-excalidraw-plugin:create input="Agent IO/create-flow.json"
|
||||
obsidian vault="Design Vault" obsidian-excalidraw-plugin:open path="Drawings/Flow.excalidraw.md"
|
||||
obsidian vault="Design Vault" obsidian-excalidraw-plugin:read path="Drawings/Flow.excalidraw.md" source=live detail=elements
|
||||
obsidian vault="Design Vault" obsidian-excalidraw-plugin:export path="Drawings/Flow.excalidraw.md" source=live format=png out="Agent IO/flow-preview.png" requestId=preview-flow-01
|
||||
```
|
||||
|
||||
`Agent IO/create-flow.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"apiVersion": 1,
|
||||
"requestId": "create-flow-01",
|
||||
"path": "Drawings/Flow.excalidraw.md",
|
||||
"operations": [
|
||||
{
|
||||
"op": "add",
|
||||
"elements": [
|
||||
{
|
||||
"id": "input",
|
||||
"type": "rectangle",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 180,
|
||||
"height": 90,
|
||||
"label": {"text": "Input"}
|
||||
},
|
||||
{
|
||||
"id": "output",
|
||||
"type": "rectangle",
|
||||
"x": 320,
|
||||
"y": 0,
|
||||
"width": 180,
|
||||
"height": 90,
|
||||
"label": {"text": "Output"}
|
||||
},
|
||||
{
|
||||
"id": "flow",
|
||||
"type": "arrow",
|
||||
"x": 180,
|
||||
"y": 45,
|
||||
"width": 140,
|
||||
"height": 0,
|
||||
"start": {"id": "input"},
|
||||
"end": {"id": "output"}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Here input IDs are **request-local labels**, not instructions to overwrite elements with those IDs. The result maps them to actual IDs. Generated label elements must also be discoverable in the result/read response. An edit request uses the returned actual IDs and live revision:
|
||||
|
||||
```json
|
||||
{
|
||||
"apiVersion": 1,
|
||||
"requestId": "edit-flow-02",
|
||||
"path": "Drawings/Flow.excalidraw.md",
|
||||
"view": "view-id-from-open",
|
||||
"expectedRevision": "revision-from-live-read",
|
||||
"operations": [
|
||||
{
|
||||
"op": "update",
|
||||
"id": "actual-output-container-id",
|
||||
"set": {"backgroundColor": "#e7f5ff"}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
The agent saves that payload to a new input file, calls `:apply`, checks the receipt, exports again, and inspects the rendered image through its host's image tool. Excalidraw should not call an AI provider merely to inspect its own export.
|
||||
|
||||
### 4.4 Session receipts, not a job framework
|
||||
|
||||
Require a caller-supplied request ID for drawing writes, output-file writes, and trusted scripts. Maintain a small bounded in-memory receipt map, scoped to the plugin session, keyed by ID and a fingerprint of the effective request. Fingerprint parsed input contents, not just an input filename; include the executed script's source identity for scripts. The same ID and same request returns the existing receipt rather than applying again; the same ID with different content is an error. Include a session identifier and document expiration. Do not evict active entries; reject new work when capacity is exhausted.
|
||||
|
||||
This permits `:result requestId=...` after lost stdout or a client timeout. It does **not** provide durable exactly-once execution across reloads. After restart/expiration, report unknown outcome and require read-back before a new mutation. Do not silently retry writes. If the async transport issue is reproduced, an explicit `async` flag can return the receipt immediately and let callers poll the same map. In that mode require `requestId` in the native flags before any awaited input-file read; a matching ID inside the file is allowed. No additional queue, database, or HTTP endpoint is necessary.
|
||||
|
||||
## 5. Element construction and editing
|
||||
|
||||
### 5.1 Use the existing converter for new skeleton batches
|
||||
|
||||
The fork's `packages/element/src/transform.ts` does more than fill defaults: it generates measured text, labels, arrow bindings, frame membership, and element ordering. It operates on a temporary scene containing **only the supplied skeletons**. It does not know the current Obsidian scene. [F2]
|
||||
|
||||
Implementation sequence:
|
||||
|
||||
1. Validate the complete batch before invoking the converter: supported types, finite coordinates/dimensions, unique local IDs, valid references, valid frame children, and bounded size. Preserve intentional zero values rather than applying truthy defaults in the CLI.
|
||||
2. Allocate collision-free IDs using the plugin's conventions; map local IDs and all intra-batch references before conversion. Pass `regenerateIds: false` after this mapping so the returned ID map remains useful. Account for the plugin's short text IDs and additional IDs generated for bound labels; verify post-save IDs, not just immediate constructor output.
|
||||
3. Call the **installed** library's converter once for the batch. Verify the resulting IDs, references, and supported types before publication. The converter may log/skip duplicates and may throw on invalid references; it is not a substitute for CLI validation.
|
||||
4. Put the generated elements into a fresh EA's workbench and use the plugin's insertion or creation path as appropriate. Do not write the returned array directly into a `.excalidraw.md` file or skip text/asset metadata synchronization.
|
||||
|
||||
Do not run existing scene elements through the converter just to change their style or text: that risks rebuilding identities and bindings. A new arrow referring to an **existing** scene element cannot rely on the converter's local-ID map. Copy the required live endpoints into EA and use existing `connectObjects`/arrow helpers, then publish the coherent change.
|
||||
|
||||
Do not add newly supported fork-only element types to the CLI's advertised schema until the installed package supports them. Basic shapes/text/arrows/frames can establish the first usable slice. Special elements remain accessible through documented EA methods without duplicating every constructor.
|
||||
|
||||
### 5.2 Small semantic operation set
|
||||
|
||||
`apply` should support these operations through the same staging/publication path:
|
||||
|
||||
| Operation | Implementation direction |
|
||||
| --- | --- |
|
||||
| `add` | Skeleton batch as above; ordinary shapes, text, arrows, frames, and other installed supported types. |
|
||||
| `update` | Actual element ID plus validated `set` fields. Copy live elements to EA; preserve IDs/bindings/unknown existing custom data, and maintain version/nonce increments through existing mutation helpers. Route text changes through existing raw/parsed text and measurement behavior. |
|
||||
| `delete` | Explicit IDs; use deletion/tombstone and binding cleanup behavior, not array omission or attachment deletion. Include bound labels consistently. Require an explicit children option before removing a nonempty frame's contents. |
|
||||
| `connect` | Existing/request-created endpoint IDs, optional side/arrow styling. Reuse EA's connection helpers; no new routing engine. |
|
||||
| `group` / `ungroup` | Explicit IDs/group, using existing grouping conventions and preserving unaffected groups. |
|
||||
| `image` | Explicit vault asset and coordinates, through EA image loading and `imagesDict`. No unsupported bare `fileId` with absent binary/source data. |
|
||||
| `latex` | Explicit source and coordinates through EA; preflight the existing Extras feature and report unavailable/interaction-required rather than opening consent UI unexpectedly. |
|
||||
|
||||
The first release does not need a generic full-scene replacement, arbitrary JSON Pointer patcher, or reflective `ea[method](...args)` command. Use trusted scripts for uncommon operations, advanced layouts, Mermaid, SVG import, Markdown-image workflows, or selection/view automation until their semantics warrant a stable structured command.
|
||||
|
||||
An `update` schema must identify fields that cannot be assigned directly: IDs, type changes, version bookkeeping, raw binary data, frame/arrow relationships, and special Markdown-image metadata. Reject unsupported edits with the relevant EA method/help link. Never silently discard unknown requested properties. Do preserve unknown properties already in the drawing.
|
||||
|
||||
## 6. Persistence, targeting, and side effects
|
||||
|
||||
### 6.1 Explicit live ownership
|
||||
|
||||
Resolve the target once to a file, view, and runtime API identity. Check file identity and lifecycle again after awaited work. Return `BUSY` during closing/migration, active same-file Markdown editing, or incompatible synchronization rather than bypassing existing guards. Do not use `getEA().setView()` without an explicit view, `activeWindow`, or a last-active leaf as a hidden fallback.
|
||||
|
||||
A specifically requested `open` may reveal a normal main-window tab so the existing React lifecycle actually mounts; a hidden leaf is not guaranteed to initialize. Report the resulting view ID. Existing popout views can be targeted explicitly. Do not migrate the user's leaf or construct a headless React root solely for CLI work. Opening a drawing may run its existing user-configured scripts: document that normal workspace side effect rather than claiming an execution sandbox.
|
||||
|
||||
Serialize CLI mutations for the same drawing using a small in-flight guard; return `BUSY` for competing requests rather than creating another persistence queue. Other drawings may proceed independently. This guard does not lock out human editing, so optimistic validation is still needed.
|
||||
|
||||
### 6.2 Revisions must cover the data actually being edited
|
||||
|
||||
A live read returns an opaque revision tied to the current session, file/view/API generation, and authoritative edit state. Reuse existing save revisions and source identities where they cover the operation. The fork's legacy sum-of-element-versions is not sufficient; even its ordered element hash does not describe Markdown-image source, binary mappings, or all document metadata. [F3], [P7]
|
||||
|
||||
Before publication, confirm that the state used to prepare the edit is still current. Include relevant document/asset metadata in the check or refuse an operation while that state is changing. Do not invent a universal merge policy or overwrite newer user edits.
|
||||
|
||||
**Important source trap:** view `addElements` performs awaited text work before publication. A check only at CLI entry is insufficient. Add a narrow optional prepublication validation hook or equivalent internal seam, preserving existing callers. Trace where text/asset metadata is changed as well: a guard only immediately before `updateScene` must not leave partially changed metadata from earlier preparation. Prefer request-local preparation and existing lifecycle identities; do not use a full scene rollback that could erase concurrent user work. If a path cannot meet the prepublication contract without broader redesign, keep that path out of structured `apply` and document its trusted-script alternative until resolved. [P6]
|
||||
|
||||
### 6.3 Report durable saves, not attempted saves
|
||||
|
||||
The current coordinator has useful internal outcomes including `persisted`, `unchanged`, `skipped`, `failed`, and persistence/window handoffs. Public `save()` discards the result, and force-save can return after skipping or catching an error. `addElementsToView()` returning true is therefore not proof that the requested edit reached disk. [P7]
|
||||
|
||||
Add the smallest internal outcome-returning method and view facade needed by the CLI while retaining old signatures/behavior for existing callers. Map the result to the CLI's receipt using the acknowledged revision. Do not return the internal prepared-save object or serialized vault content. A handoff is not durable until its existing completion confirms that revision.
|
||||
|
||||
Use the existing save coordinator and file persistence rules. Do not add direct `vault.modify` writes to an open drawing. Do not call `clearDirty`, drop failed edits, reset history, or print “saved” because the view currently looks clean. A save failure after scene publication must report `mutation: applied` with unsaved/unknown persistence and preserve the user's recovery options. A late client timeout does not undo the mutation.
|
||||
|
||||
Publish a coherent edit with the existing capture/update policy so normal undo remains meaningful. Add focused regression coverage for text/rawText, containers, bindings, and asset publication. Preserve the recently merged undo fix; this CLI task does not authorize reworking it.
|
||||
|
||||
### 6.4 Strict creation without another serializer
|
||||
|
||||
Reuse EA's Markdown/template construction. However, `create()` currently derives format from global compatibility mode, treats an empty folder as the configured default, and delegates to a creator that silently picks a unique filename. Those are good interactive conveniences but poor implicit CLI behavior. [P4], [P8]
|
||||
|
||||
Add a narrow backward-compatible per-call strict creation option, shared with the existing creator: exact vault path (including root), explicit format, fail-on-existing policy, and noninteractive template choice. Existing callers keep their defaults. Let the final Vault create fail on a race instead of choosing an unexpected suffix. Return the actual created path; never delete a concurrently created file as cleanup.
|
||||
|
||||
For V1, new CLI drawings default explicitly to modern `.excalidraw.md`; existing legacy drawings retain their format. Reject a contradictory extension/format request. Do not temporarily change plugin settings, invoke a template picker, or duplicate the serializer. Prevalidate construction before creating the file. If later asset/persistence work fails, return the created path and partial outcome instead of hiding an orphan drawing.
|
||||
|
||||
Template and back-of-note content must survive. Test the serialization of request-created text/labels and asset records, not just whether a file exists. Do not pretend an elements/appState-only read is a lossless document representation.
|
||||
|
||||
## 7. Assets, export, and advanced scripts
|
||||
|
||||
### 7.1 Preserve Obsidian asset semantics
|
||||
|
||||
Use EA for vault images, PDFs, LaTeX, Markdown images, and linked content rather than manufacturing file IDs. Excalidraw binary files and the plugin's `## Embedded Files`, equation, and Markdown-image metadata are related but not interchangeable. Runtime `updateScene` is not the binary-file loading channel; reuse the existing path that also publishes files. [P4], [P6]
|
||||
|
||||
No automatic feature activation. Preflight optional Extras operations through the typed gateway and current user settings. Missing dependencies return an actionable structured result. Core shape/text creation and ordinary SVG/PNG rendering must not require Extras. Read-only inspection should not fetch external assets unnecessarily.
|
||||
|
||||
Existing remote assets can make rendering perform network work under normal plugin rules. Declare this possibility in schema/help, preserve consent and network policy, and do not claim the CLI is a sandbox. Do not add a new outbound service, credentials, remote-code loader, or filesystem privilege to make the CLI work.
|
||||
|
||||
### 7.2 Visual feedback is part of completion
|
||||
|
||||
Use `createViewSVG/PNG` for a selected live scene and the existing file/template exporter for an explicit disk source. Do not auto-save a dirty drawing merely to render it. The result states whether it depicts live or disk content, the revision, effective theme/padding, dimensions, and missing-asset warnings. If a stable requested revision changes while assets are loading, report that conflict rather than claiming the image depicts the earlier revision. [P4]
|
||||
|
||||
Await the relevant existing asset/font readiness. Bound the wait and fail clearly when required images cannot be decoded or resolved; do not label a placeholder render as complete. Ordinary read/schema commands must not wait for all image decoding. Prefer a modest preview-size default with explicit bounded scale/dimensions for larger exports.
|
||||
|
||||
Write binary PNG with Vault APIs and SVG as UTF-8 to a caller-selected output path. Reject traversal/absolute paths and accidental overwrite of the source drawing or request file. Existing output requires explicit overwrite authorization. Return a small descriptor, not megabytes of base64 in default stdout. Inline image data is unnecessary for V1 because terminal-capable agents can inspect the saved file.
|
||||
|
||||
PDF export remains documented as dependency- and interaction-sensitive through existing EA. Do not invent a silent PDF destination contract or another print implementation just for this release.
|
||||
|
||||
### 7.3 Full EA/Lib access through one-shot trusted scripts
|
||||
|
||||
The advanced command should accept an explicit existing vault script file and JSON arguments. Reuse ScriptEngine's compilation/cache and execution path. Add a CLI-specific execution mode rather than concatenating user arguments into JavaScript. Proposed script context:
|
||||
|
||||
```ts
|
||||
// Existing script body, executed only after explicit trusted acknowledgment.
|
||||
// utils.input is parsed JSON; ea is a fresh, explicitly targeted EA.
|
||||
const options = utils.input;
|
||||
const chosen = ea.getViewSelectedElements();
|
||||
return { count: chosen.length, requestedLabel: options.label };
|
||||
```
|
||||
|
||||
Provide the already-loaded Excalidraw library through a documented CLI script utility such as `utils.excalidrawLib`, referencing the same runtime as the target view (or the initialized plugin runtime for view-free construction). This is an additional utility reference, not a second import/evaluation or new fork export. The API help must describe its actual installed exports.
|
||||
|
||||
Implement a small `executeScriptFileForCLI` facade or equivalent optional execution configuration that supplies `utils.input`, `utils.executionSource = "cli"`, and the library reference; returns the script result; and destroys the CLI-owned EA in `finally`. Existing manual, startup, and sidepanel script lifetime must remain unchanged. The current engine's finally block does not generally destroy EA because persistent hooks and sidepanels depend on it. [P9]
|
||||
|
||||
CLI one-shot scripts must not retain hooks, sidepanels, unawaited writes, or timers after completion. Default `utils.inputPrompt`/`suggester` should fail with `INTERACTION_REQUIRED` rather than leave a terminal waiting for a hidden modal. Arbitrary trusted code can still call other APIs directly; this is not a security sandbox or an enforceable side-effect whitelist. A client timeout cannot safely preempt arbitrary synchronous JavaScript or undo its prior side effects.
|
||||
|
||||
Keep execution restricted to explicit local source with a `trusted` flag; no remote script URL, implicit script found in a drawing, or code execution through `read`/`schema`. Respect the current script-file format policy. Return JSON-serializable values with size limits; convert an undefined return to a documented null result. Do not serialize live views/DOM/plugin objects. If result serialization fails after edits, report that side effects may already have occurred.
|
||||
|
||||
Structured `apply` can promise its bounded validation/publication behavior; arbitrary scripts cannot promise all-or-nothing edits, universal noninteractive behavior, or automatic persistence. Script help must explain explicit `await`/save discipline and the receipt must distinguish script completion from a verified saved drawing. Do not add an implicit “save everything touched” pass.
|
||||
|
||||
## 8. Implementation organization and integration points
|
||||
|
||||
Start with a few cohesive modules, not a framework:
|
||||
|
||||
| Proposed file / existing seam | Responsibility |
|
||||
| --- | --- |
|
||||
| `src/core/managers/ExcalidrawCLI.ts` | Plugin-owned registration, dispatcher, lifecycle cleanup, small in-flight/receipt maps. |
|
||||
| `src/core/cli/cliCommands.ts` | Action descriptors, input normalization/validation, help/schema/examples, finite command handlers. Split by concern only when justified by size. |
|
||||
| `src/core/cli/cliTarget.ts` | Exact file/view resolution and readiness/revision checks; no alternative view lifecycle. |
|
||||
| `src/types/excalidrawCliTypes.ts` | Public JSON DTOs/errors; derive element-related types from published fork types instead of copying them. |
|
||||
| `src/core/main.ts` | Own the manager and register it at a deliberate lifecycle point; minimal composition only. |
|
||||
| `src/types/types.d.ts` | Canonical compatibility declarations for the optional native CLI API while using older Obsidian types. |
|
||||
| `src/shared/ExcalidrawAutomate.ts` | Small `executeCLI` delegation and backward-compatible creation options where needed; no CLI parser embedded in EA. |
|
||||
| `src/shared/Scripts.ts` | CLI-only arguments/library utility/one-shot cleanup and result handling. |
|
||||
| `ExcalidrawView.ts`, `ViewSaveCoordinator.ts` | Narrow guarded-publication and outcome-returning seams, backed by tests; no new persistence subsystem. |
|
||||
| `FileManager.ts` | Strict per-call creation behavior shared with current serializers. |
|
||||
| `SuggesterInfo.ts`, docs generators, CLI docs/skill | Keep public API, generated declarations, discovery, and usage examples aligned. |
|
||||
|
||||
Register help/status without eagerly loading optional components. Mutating handlers require initialized plugin/runtime and a valid target. Use `plugin.awaitInit()` only with a bounded readiness policy; never deadlock startup waiting for the component the handler registration itself blocks. On unload, remove handlers through the registration lifecycle, reject/cancel prepublication work, release maps and EA instances, and prevent stale continuations from mutating a replacement plugin/view.
|
||||
|
||||
The public EA addition requires its SuggesterInfo documentation and generated/public library declarations to be updated in the same change. Add concise user release notes and maintain localized UI strings in the required languages. CLI command IDs and JSON keys stay stable/nonlocalized; descriptions may use the existing localization system.
|
||||
|
||||
### Bundle and startup budget
|
||||
|
||||
The plugin is already close to its release size ceiling. PR #2987 reports a 4,995,385-byte production bundle for its validation; this is historical PR evidence, not a fresh measurement of this branch. Measure the actual baseline locally before implementation. [P12]
|
||||
|
||||
Do not add Commander, Zod, AJV, Playwright, an MCP server, or an embedded copy of the full EA training corpus to production. Use existing runtime exports, small descriptors/guards, and build-time generation. Return API documentation progressively. Track byte delta after every checkpoint and keep `main.js` under the existing 5 MB policy. If the feature cannot fit, stop and report the measured trade-off; do not silently raise the limit, move it to Extras, or start unrelated size refactors.
|
||||
|
||||
## 9. Implementation checkpoints
|
||||
|
||||
Each checkpoint should build independently and update this note with actual evidence. The PR remains draft until the complete agreed slice and available validation are done.
|
||||
|
||||
### Checkpoint 0 — native transport and baseline
|
||||
|
||||
- Read current AGENTS/CONTRIBUTING, record plugin head, installed fork/Extras versions, and bundle bytes.
|
||||
- Prove native registration/help/unload and async return delivery on the intended desktop installers, including piped agent execution.
|
||||
- Confirm the installed runtime's converter and export helpers. Verify that no dependency on unpublished fork code has slipped in.
|
||||
- Choose ordinary awaited output; add the explicit receipt-mode fallback only if a recorded reproduction requires it.
|
||||
|
||||
**Exit:** written transport evidence and a runnable small probe, not an assumed `eval` workaround.
|
||||
|
||||
### Checkpoint 1 — discovery and read-only operations
|
||||
|
||||
- Implement the dispatcher, native descriptors, result envelope, `help/status/schema/api/list/read`.
|
||||
- Add the proposed EA facade without changing its workbench.
|
||||
- Test explicit vault/path/view selection, multiple matching views, disk versus live content, pagination, unsupported host API, and plugin reload.
|
||||
|
||||
**Exit:** an agent can discover the interface and inspect a drawing without mutating it or loading unnecessary assets.
|
||||
|
||||
### Checkpoint 2 — creation and skeleton construction
|
||||
|
||||
- Implement validated converter staging and stable returned ID mappings.
|
||||
- Add strict per-call creation with explicit root path/format/collision behavior through the existing serializer.
|
||||
- Test labels, arrows, frames, text IDs after save/reopen, templates, collision races, and no partial file on validation failure.
|
||||
|
||||
**Exit:** the example flow is a normal editable Obsidian drawing, not just a valid-looking JSON object.
|
||||
|
||||
### Checkpoint 3 — guarded edits and persistence receipts
|
||||
|
||||
- Implement finite `apply` operations, current-target/revision validation, one in-flight CLI mutation per drawing, and bounded request receipts.
|
||||
- Add only the necessary prepublication and save-outcome seams.
|
||||
- Test concurrent human edits, two agent requests, delayed text/asset preparation, save failures, and unload/migration; preserve undo and unrelated metadata.
|
||||
|
||||
**Exit:** applied versus saved versus unknown outcomes are truthful, with no silent active-file fallback or second writer.
|
||||
|
||||
### Checkpoint 4 — assets and visual feedback
|
||||
|
||||
- Add vault image/LaTeX preflight and use the current metadata paths.
|
||||
- Implement live/disk SVG/PNG export, output path/overwrite checks, asset readiness, and bounded dimensions.
|
||||
- Test default core functionality without Extras, missing optional features, existing remote assets under current permissions, and dirty-live versus disk previews.
|
||||
|
||||
**Exit:** the agent can inspect an exported image of the state it actually edited.
|
||||
|
||||
### Checkpoint 5 — advanced script coverage
|
||||
|
||||
- Add explicit trusted local script execution with JSON arguments, installed Lib reference, result serialization, and CLI-only cleanup.
|
||||
- Add tests proving manual/sidepanel script lifetime remains unchanged.
|
||||
- Document which interactions cannot run unattended and avoid promising script-level transaction isolation.
|
||||
|
||||
**Exit:** advanced EA/Lib functionality is reachable without dozens of bespoke commands or new provider integrations.
|
||||
|
||||
### Checkpoint 6 — agent discovery and release readiness
|
||||
|
||||
- Add the short portable skill, human help/copy entry, README/reference links, generated declarations, and real examples.
|
||||
- Exercise the workflow through at least two different agent harnesses/Obsidian hosts with terminal access; record tested combinations separately from expected compatibility.
|
||||
- Run build, relevant tests/lint, library generation, documented runtime lane, and final size/startup checks.
|
||||
- Replace the PR's plan-only summary with implemented behavior, actual validation, remaining limits, and source/artifact identities. Keep this research/decision record until the maintainer decides its final documentation home.
|
||||
|
||||
## 10. Validation matrix and acceptance
|
||||
|
||||
### Automated checks
|
||||
|
||||
Test parsers/dispatch with plain fixtures and mock only external boundaries where possible. Reuse the repository's test conventions; do not introduce a broad test framework just for the CLI.
|
||||
|
||||
- **Protocol:** required/unknown flags; mutually exclusive JSON inputs; invalid JSON/version; `true` string handling; numeric finiteness; bounded request/output sizes; harmful object keys; stable errors; same request ID with same/different effective payload; expired/reloaded receipts.
|
||||
- **Path safety:** exact root/nested paths, spaces/Unicode, malformed/traversal/absolute paths, source/input/output collisions, output overwrite consent, drawing classification, two files with the same basename.
|
||||
- **Selection and ownership:** two views of one file, inactive popout, missing view, explicit open readiness, file switch/API replacement across an await, same-file Markdown editing, unload and reload.
|
||||
- **Authoring:** measured text, raw/parsed links, bound labels, connectors, frame children, ordering, duplicate/dangling skeleton IDs, zero coordinates, existing IDs and version/nonce behavior on updates, deletion/binding cleanup, unrelated custom data preserved.
|
||||
- **Persistence:** rejected validation causes no published edit; stale preparation does not leave mutated metadata; accepted scene plus failed save remains recoverable; repeated request does not duplicate; later human edits are not acknowledged as saved by an earlier receipt; save/reopen round-trip.
|
||||
- **Assets/export:** binary/source metadata preserved, missing/decode-failed assets explicit, optional Extras disabled, dirty-live versus disk image, area/selection bounds, effective theme, no base64 in default reads, output file bytes and dimensions.
|
||||
- **Scripts:** input not interpolated into source; existing engine return/errors propagate; one-shot cleanup on success/failure; persistent manual scripts unchanged; modal helper refusal; nonserializable result after side effects does not claim rollback.
|
||||
- **Discovery:** descriptor/help/schema/example consistency; API search not reflection execution; skill available offline; no automatic edits to agent configuration.
|
||||
|
||||
### Native Obsidian checks
|
||||
|
||||
Use the dedicated `excalidraw-test` vault and the existing documented safety/cleanup contract. `npm run test:obsidian:runner` covers the offline host harness; `npm run verify:obsidian:plugin` tests the plugin with its installed component. Add focused native CLI scenarios rather than substituting a blank-drawing smoke for feature coverage. [P13], [P14]
|
||||
|
||||
Test macOS and Windows launchers, including `Obsidian.com` on Windows; Linux native execution and a real agent-host invocation need their own evidence. The existing large Windows `eval` temporary-file bridge is test-only and is not a production implementation strategy for these new native commands. Use argument arrays when an agent host exposes process execution, and file input for large payloads. WSL/container/remote agents require access to the actual local Obsidian executable/session; list these as conditional, not universally supported.
|
||||
|
||||
Run one complete discovery → create → read → edit → save/reopen → export → image-inspection scenario through Claudian or a direct coding CLI, and a second through Agent Client or Copilot's terminal-capable backend. A single model provider is not a compatibility test of all hosts. Permission-denied and missing-CLI outcomes must be actionable.
|
||||
|
||||
Desktop CLI support does not justify breaking mobile plugin startup or increasing `minAppVersion`. Run a mobile/no-CLI loading smoke when feasible. Actual mobile native CLI support is not promised by this design.
|
||||
|
||||
### Completion criteria
|
||||
|
||||
- Native commands are discoverable and explained without prior knowledge of plugin internals.
|
||||
- A terminal-capable agent can author and revise a linked diagram without hand-writing Excalidraw bookkeeping or editing compressed Markdown.
|
||||
- Advanced scripts can use the existing EA and installed library under explicit trust, with accurate limitations.
|
||||
- No request silently chooses the active drawing, replaces newer user edits, or reports an attempted save as durable.
|
||||
- Visual exports identify their source/revision and unresolved assets rather than silently claiming complete output.
|
||||
- The implementation stays in the plugin, uses existing lifecycle/save/asset behavior, and remains within packaging limits.
|
||||
- The PR records actual test/build/device evidence, unresolved transport/platform limits, and up to three maintainer manual checks. Nothing is merged automatically.
|
||||
|
||||
## 11. Questions that require evidence, not speculative architecture
|
||||
|
||||
There is no maintainer product decision blocking this plan. Resolve the following in the local environment and record results before broadening scope:
|
||||
|
||||
1. Does native async stdout work on the currently supported installers and actual agent transports? If not, use the small explicit receipt mode, not a new server.
|
||||
2. Which installed fork exports/types exactly match the inspected source? Use only that compatible subset; no CLI-driven fork work is currently needed.
|
||||
3. Can existing prepublication/save seams provide the required revision and durability evidence without broader refactoring? If not, narrow the structured operation rather than inventing another persistence model.
|
||||
4. Does the measured production bundle leave sufficient headroom? Report a real budget conflict before changing packaging scope.
|
||||
|
||||
## Sources
|
||||
|
||||
Repository links below are pinned to inspected revisions where source behavior matters. External documentation and integration READMEs are observations as of 2026-10-11, not compatibility guarantees for future versions.
|
||||
|
||||
[announcement]: https://x.com/excalidraw/status/2108249557519970369?s=20
|
||||
[E1]: https://github.com/excalidraw/cli/blob/55fe7f494837078781a062c4d3faf29c159ebec5/README.md
|
||||
[E2]: https://github.com/excalidraw/cli/blob/55fe7f494837078781a062c4d3faf29c159ebec5/src/cli.ts
|
||||
[E3]: https://github.com/excalidraw/cli/blob/55fe7f494837078781a062c4d3faf29c159ebec5/src/scene-content.ts
|
||||
[E4]: https://github.com/excalidraw/cli/blob/55fe7f494837078781a062c4d3faf29c159ebec5/src/render-page.ts
|
||||
[O1]: https://github.com/obsidianmd/obsidian-api/blob/9abd9605ce081383674aae1ed111c456edde0688/obsidian.d.ts
|
||||
[O2]: https://obsidian.md/help/cli
|
||||
[O3]: https://forum.obsidian.md/t/codex-cannot-get-results-from-delayed-handlers-registerd-with-registerclihandler/113184
|
||||
[A1]: https://github.com/YishenTu/claudian/blob/main/README.md
|
||||
[A2]: https://github.com/YishenTu/claudian/blob/1891ce25c2d83ba92334ab1358466ccd2a4fccf3/src/providers/claude/commands/ClaudeCommandCatalog.ts
|
||||
[A3]: https://github.com/RAIT-09/obsidian-agent-client/blob/3d069c91636588be4e65d955e670403a9ea642d8/README.md
|
||||
[A4]: https://github.com/RAIT-09/obsidian-agent-client/blob/3d069c91636588be4e65d955e670403a9ea642d8/src/acp/acp-client.ts
|
||||
[A5]: https://github.com/logancyang/obsidian-copilot/blob/cd873037c357d6a4d60a90ddb9e33705b65f6865/src/builtinSkills/obsidianSkills.ts
|
||||
[A6]: https://github.com/logancyang/obsidian-copilot/blob/cd873037c357d6a4d60a90ddb9e33705b65f6865/src/agentMode/backends/shared/obsidianCliPath.ts
|
||||
[A7]: https://agentskills.io/specification
|
||||
[P1]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/package.json
|
||||
[P2]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/AGENTS.md
|
||||
[P3]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/src/core/index.ts
|
||||
[P4]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/src/shared/ExcalidrawAutomate.ts
|
||||
[P5]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/src/shared/Dialogs/SuggesterInfo.ts
|
||||
[P6]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/src/view/ExcalidrawView.ts
|
||||
[P7]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/src/view/managers/ViewSaveCoordinator.ts
|
||||
[P8]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/src/core/managers/FileManager.ts
|
||||
[P9]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/src/shared/Scripts.ts
|
||||
[P10]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/src/constants/constants.ts
|
||||
[P11]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/src/types/excalidrawLib.d.ts
|
||||
[P12]: https://github.com/zsviczian/obsidian-excalidraw-plugin/pull/2987
|
||||
[P13]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/docs/OBSIDIAN_RUNTIME_TESTING.md
|
||||
[P14]: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/bf541ca5d460f5773a5547ba4511eba3ff0f2e5b/scripts/testing/host/processTools.mjs
|
||||
[F1]: https://github.com/zsviczian/excalidraw/blob/6ec95a327b77df2696e170cb0c9d8a84ac115121/packages/excalidraw/index.tsx
|
||||
[F2]: https://github.com/zsviczian/excalidraw/blob/6ec95a327b77df2696e170cb0c9d8a84ac115121/packages/element/src/transform.ts
|
||||
[F3]: https://github.com/zsviczian/excalidraw/blob/6ec95a327b77df2696e170cb0c9d8a84ac115121/packages/element/src/index.ts
|
||||
@@ -0,0 +1,45 @@
|
||||
# Issue assessment
|
||||
|
||||
Use this template for a source-based GitHub issue assessment intended for a separate implementation agent. Post the completed assessment as an issue comment only when authorized. Investigation does not authorize code changes.
|
||||
|
||||
Before writing, read the issue and comments, related PRs and commits, and the relevant repositories' `AGENTS.md` / `CONTRIBUTING.md`. Trace the affected code and callers at known revisions. Link to commit-pinned source where useful. Keep verified evidence separate from hypotheses; omit sections that do not apply.
|
||||
|
||||
## Triage and handoff
|
||||
|
||||
1. Investigate and comment on each issue; check whether a fix or PR already exists.
|
||||
2. Return a short prioritized list to the maintainer, including issues ready for implementation and those needing more evidence.
|
||||
3. Only after the maintainer selects specific issues, prepare implementation branches and draft PRs using [issue resolution](issue-resolution.md). An assessment alone does not authorize them.
|
||||
|
||||
## GitHub issue comment template
|
||||
|
||||
### Technical assessment — Zsolt's Codex Agent
|
||||
|
||||
**Scope and baseline:** Issue #…; plugin `master@SHA`; fork / Extras revisions if relevant.
|
||||
|
||||
**Observed behavior and evidence**
|
||||
- Reproduction conditions and expected versus actual behavior:
|
||||
- Relevant code paths, issue discussions, and existing fix attempts (links):
|
||||
|
||||
**Root-cause assessment**
|
||||
- Verified facts:
|
||||
- Most likely explanation and confidence (**high / medium / low**):
|
||||
- What would confirm or disprove it:
|
||||
|
||||
**Recommended resolution**
|
||||
- Proposed change and owning repository/repositories:
|
||||
- Dependencies, related PRs, or coordinated release requirements:
|
||||
- Important alternatives or trade-offs, if any:
|
||||
|
||||
**Validation and acceptance**
|
||||
- Automated regression tests to add or update:
|
||||
- Manual checks appropriate to the risk (for example main window, popout, mobile, reload, or offline):
|
||||
- Acceptance criteria:
|
||||
|
||||
**Risks and remaining questions**
|
||||
- Potential regressions and unresolved evidence:
|
||||
|
||||
**Disposition**
|
||||
- **Implement / review existing fix / investigate further / defer**, with priority and reason:
|
||||
- Prerequisites for an implementation handoff:
|
||||
|
||||
Do not describe a hypothesis as a proven cause, or a proposed test as an executed test. Keep the assessment actionable without prescribing an unnecessary refactor.
|
||||
@@ -0,0 +1,54 @@
|
||||
# Issue implementation handoff and resolution
|
||||
|
||||
Use this workflow after the maintainer selects an issue from the [assessment shortlist](issue-assessment.md). The assessment remains in the GitHub issue; a draft PR is the implementation queue and its branch is the implementation workspace. Follow `AGENTS.md` and `CONTRIBUTING.md`.
|
||||
|
||||
## Prepare a draft PR — chat agent
|
||||
|
||||
1. Recheck the issue, comments, existing PRs, and current `master`; do not duplicate ongoing or merged work.
|
||||
2. Create a dedicated `YYYY-MM-DD-issue-N-short-topic` branch from the appropriate repository's `master`. Keep plugin, fork, and Extras changes in their owning repositories; link companion PRs when coordination is required.
|
||||
3. GitHub requires a commit difference before opening a PR. For a **plan-only** branch, commit a small `docs/agent-handoffs/issue-N.md` file linking the issue and stating that the file is temporary. Do not modify runtime code. The implementing agent must remove this file before the PR is finalized.
|
||||
4. Open a **draft** PR targeting `master`, with a title such as `Plan: Fix #N — short description`, using the template below. Confirm the draft PR and branch are readable; return the link. Do not mark the issue fixed.
|
||||
|
||||
### Draft PR description template
|
||||
|
||||
**Status:** Implementation handoff only; not yet a fix.
|
||||
|
||||
**Issue and assessment:** #N, link to the detailed technical assessment comment.
|
||||
|
||||
**Baseline and dependencies:** Source commit(s), owning repository, related branches/PRs, required fork/Extras package coordination.
|
||||
|
||||
**Implementation plan**
|
||||
- Likely root cause and evidence (brief; do not duplicate the assessment):
|
||||
- Recommended code changes and key paths:
|
||||
- Constraints, alternatives, and risks:
|
||||
|
||||
**Acceptance and tests**
|
||||
- Expected behavior:
|
||||
- Automated regression tests:
|
||||
- Manual checks (main window / popout / reload / mobile / offline as relevant):
|
||||
|
||||
**For the implementing agent:** Re-read the current issue, PR, source, and repo instructions; verify assumptions, implement on this branch, remove the plan-only handoff file, update the PR description with actual results, and leave the PR as draft until ready for maintainer review.
|
||||
|
||||
## Complete the implementation — local agent
|
||||
|
||||
Use the same branch and draft PR. Before coding, confirm the branch head and whether the issue or dependencies have changed. Do not start a new competing PR. Commit the code and tests, remove the temporary handoff file, and replace the plan-only PR description with a concise outcome summary:
|
||||
|
||||
### Completed PR / handoff template
|
||||
|
||||
**Problem and root cause**
|
||||
- What failed, under which conditions:
|
||||
- Confirmed cause and key source references:
|
||||
|
||||
**Change**
|
||||
- What changed and why this is the smallest safe fix:
|
||||
- Affected files and repositories; dependency or package-release coordination:
|
||||
|
||||
**Validation**
|
||||
- Automated tests, builds, and lint actually run, with results:
|
||||
- Manual Obsidian checks completed (platform, main window, popout, reload, mobile, etc.):
|
||||
|
||||
**Remaining risk**
|
||||
- Known limitations or untested cases:
|
||||
- Up to three priority manual checks for the reviewer:
|
||||
|
||||
Link the original issue, assessment, and companion PRs. Never describe planned tests as completed. Mark ready for review only when implementation and available validation are complete; do not merge without maintainer authorization.
|
||||
@@ -0,0 +1,127 @@
|
||||
# Automate anything with Excalidraw
|
||||
|
||||

|
||||
|
||||
Excalidraw Automate scripts are small programs that run inside the Obsidian Excalidraw plugin. They can automate repetitive drawing work, build custom tools and interfaces, work with files in your Obsidian vault, and combine several steps of a workflow into a single command.
|
||||
|
||||
The useful question is no longer _“does a community script already exist for this?”_ but _“what would I like Excalidraw to do for me?”_
|
||||
|
||||
## The easiest way to create your own script
|
||||
|
||||
Use the **[ExcalidrawAutomate script workspace](https://github.com/zsviczian/ea-script-template)**. It is a GitHub template designed for developing one or many Excalidraw Automate scripts with modern tooling and AI coding agents.
|
||||
|
||||
The repository already contains:
|
||||
|
||||
- Excalidraw Automate API types and reference material for AI agents.
|
||||
- Agent instructions and practical API-usage examples.
|
||||
- Script scaffolding, linting, type checking, bundling, and preview support.
|
||||
- A clean source layout for keeping reusable helpers separate from individual scripts.
|
||||
- An update workflow so your script repository can receive improvements from the template without replacing your own scripts and guidance.
|
||||
|
||||
### Quick start
|
||||
|
||||
1. Open [zsviczian/ea-script-template](https://github.com/zsviczian/ea-script-template) and choose **Use this template → Create a new repository**.
|
||||
2. Clone your new repository and install its dependencies with Node 22.13 or newer.
|
||||
3. Create a script:
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run new-script -- --name "My Script"
|
||||
```
|
||||
|
||||
4. Tell your AI coding agent what you want the script to accomplish. Describe the workflow, the user interaction, and what should happen on the Excalidraw canvas or in the Obsidian vault.
|
||||
5. Ask the agent to read the repository instructions and the bundled Excalidraw Automate references before implementing the script.
|
||||
6. Validate and build:
|
||||
|
||||
```bash
|
||||
npm run check
|
||||
npm run build
|
||||
```
|
||||
|
||||
7. Copy the generated `.md` script and its preview SVG from `build/` into the Script Engine folder configured in Excalidraw settings. Run the script from an Excalidraw drawing.
|
||||
|
||||
> **Important:** files under `src/scripts/{slug}/` are development source files. In particular, `src/scripts/{slug}/main.ts` is **not** a script you can copy into Obsidian and run directly. After creating or changing a script, ask your coding agent to run `npm run build`, or run it yourself. The ready-to-run Script Engine artifact is generated under `build/{slug}/`.
|
||||
|
||||
The generated `.md` file contains executable JavaScript for the Excalidraw Script Engine; it is not an Obsidian plugin. If `.md` and `.js` versions with the same script name are both present, Excalidraw prefers the `.md` version.
|
||||
|
||||
### Keep your script workspace up to date
|
||||
|
||||
The template can update its shared tooling, Excalidraw Automate types, agent guidance, and build infrastructure without replacing your scripts. A good update sequence is:
|
||||
|
||||
```bash
|
||||
npm run update-template:check
|
||||
npm run update-template
|
||||
npm install
|
||||
npm run check
|
||||
npm run build
|
||||
```
|
||||
|
||||
Run `npm install` after `npm run update-template` because a template update may change `package.json` or `package-lock.json`. Then run the checks and rebuild your scripts before testing them in Obsidian.
|
||||
|
||||
## Why AI agents work so well for scripting
|
||||
|
||||
The workflow demonstrated in **[AI Scripting Superpowers](https://youtu.be/6BjhUyfS4iM)** is still the core idea:
|
||||
|
||||
1. Give the AI accurate Excalidraw Automate API context.
|
||||
2. Describe a concrete problem and the behavior you want.
|
||||
3. Let the AI build a first version.
|
||||
4. Run it in Obsidian and report the exact error or behavior that needs improvement.
|
||||
5. Iterate until the workflow feels natural.
|
||||
|
||||
The video builds a Layer Manager as an example: a purpose-built tool that did not already exist in the script library. The current script workspace takes this workflow further. Instead of manually feeding a large training document to an AI chat, the repository carries agent instructions, API references, types, examples, and validation tools alongside your source code.
|
||||
|
||||
You do not need to start by knowing the Excalidraw Automate API. Start by knowing what you want to automate.
|
||||
|
||||
## What can a script automate?
|
||||
|
||||
Practically anything that Excalidraw Automate and Obsidian expose, for example:
|
||||
|
||||
- Batch-format or rearrange selected elements.
|
||||
- Build specialized drawing, layout, connector, annotation, or image tools.
|
||||
- Create custom modals, controls, and persistent sidepanels.
|
||||
- Create, rename, link, embed, or update files in your vault.
|
||||
- Generate dashboards or drawings from vault data.
|
||||
- Add startup, drawing-load, or long-lived automation where appropriate.
|
||||
- Export drawings, images, or structured information.
|
||||
- Combine several repetitive actions into a single command tailored to your workflow.
|
||||
|
||||
Browse the Community Script Store for examples and inspiration before starting from scratch.
|
||||
|
||||
## A few authoring rules worth knowing
|
||||
|
||||
The template's authoring guidance handles the details, but these principles matter:
|
||||
|
||||
- Work in `src/scripts/{slug}/`; treat `build/` as generated output. Do not hand-edit the built script as your source of truth.
|
||||
- Excalidraw scene elements are immutable; edit them through the Excalidraw Automate workbench and commit the result back to the view.
|
||||
- The Script Engine injects `ea` and `utils`. Runtime Obsidian APIs are available through `ea.obsidian`.
|
||||
- Scripts with UI or long-lived behavior need deliberate cleanup and lifecycle handling.
|
||||
- Test cancellation, empty selections, undo/save behavior, view changes, and any mobile-specific UI on a physical mobile device.
|
||||
- Run `npm run check` and `npm run build` before testing or distributing a changed script.
|
||||
|
||||
## Scripts are code
|
||||
|
||||
A script can change your drawing and can also work with files in your vault. Treat scripts like any other code you install: use sources you trust, review unfamiliar scripts, keep backups, and test destructive workflows on disposable data first.
|
||||
|
||||
## Share a script with the community
|
||||
|
||||
Community scripts are maintained in the central [Obsidian Excalidraw repository](https://github.com/zsviczian/obsidian-excalidraw-plugin/tree/master/ea-scripts). Publish the **built** `.md` artifact, not `src/scripts/{slug}/main.ts`, together with its matching SVG icon/preview when applicable and an entry in `ea-scripts/script-store.json`.
|
||||
|
||||
The current Script Store workflow is:
|
||||
|
||||
```bash
|
||||
npm run script-store:check
|
||||
npm run script-store:build
|
||||
```
|
||||
|
||||
`script-store:build` validates the catalog and updates `directory-info.json` only for script or icon files that actually changed. Do not hand-edit unrelated `mtime` values: existing timestamps are part of backward-compatible update detection.
|
||||
|
||||
`ea-scripts/index-new.md` is the frozen legacy catalog for older Excalidraw versions. Routine Script Store publishing should not modify it. New scripts are published through `script-store.json` unless a maintainer deliberately updates the legacy catalog separately.
|
||||
|
||||
For the repository-specific publishing rules and current compatibility notes, see [ea-scripts/README.md](../ea-scripts/README.md).
|
||||
|
||||
## More resources
|
||||
|
||||
- [ExcalidrawAutomate script workspace](https://github.com/zsviczian/ea-script-template)
|
||||
- [AI Scripting Superpowers](https://youtu.be/6BjhUyfS4iM)
|
||||
- [Excalidraw Script Engine documentation](https://zsviczian.github.io/obsidian-excalidraw-plugin/ExcalidrawScriptsEngine.html)
|
||||
- [Excalidraw Automate API declaration](API/ExcalidrawAutomate.d.ts)
|
||||
@@ -0,0 +1,76 @@
|
||||
# Test contracts, schema 2
|
||||
|
||||
The plugin owns the native coordinator; fork and Extras own independent suites.
|
||||
All files below are test tooling and must stay outside production graphs.
|
||||
|
||||
The native working vault is always
|
||||
`.test-work/vaults/excalidraw-auto-test/` in this checkout. `npm run test:native`
|
||||
builds, freezes and deploys the selected workspace revisions, including current
|
||||
Extras when present, before executing scenarios. Installed hashes and running
|
||||
vault/config identities must match. The immutable seed includes both plugin
|
||||
`data.json` files and the enabled-plugin/core-plugin configuration; generated
|
||||
executable files are installed only in the ignored working copy. Ownership
|
||||
markers and the shared host lock span all preparation, deployment and cleanup.
|
||||
|
||||
`tests/features.json.behaviorMatrix` contains reviewed factor domains, case
|
||||
templates with expected behavior/assertions, all required host contexts and the
|
||||
expanded canonical case IDs. Missing important cases fail the regression audit;
|
||||
the previous core count cannot substitute for the expanded matrix. Reports keep
|
||||
native plugin-command cases, native host/EA/trusted-input cases, emulated layout
|
||||
cases, source simulations and actual built-browser cases distinct. Synthetic
|
||||
drop payloads never establish real OS drag transport or physical-device input.
|
||||
|
||||
PDF export itself has no introduced deadline or per-document lock. Tooling has
|
||||
bounded deadlines but cannot cancel an Electron print: a pending native promise
|
||||
retains its content, style, listener, controller and owned paths for recovery.
|
||||
Only actual completion or a settled error allows cleanup. Single-export native
|
||||
evidence retains the generated PDF and decoded page beside its report.
|
||||
|
||||
The required `core-regression` report combines independent current-product
|
||||
suites. It requires native CLI/EA, popout lifecycle and device case identities unless explicitly run in
|
||||
portable mode; missing suites, failed cleanup, unexpected errors and coverage
|
||||
regressions remain failures. Upstream diagnostic mismatches and supplemental
|
||||
platform/restart obligations do not define the accepted fork baseline. Keep
|
||||
suspected defects visible in TESTING_FINDINGS_3022.md for maintainer decisions.
|
||||
|
||||
`scripts/testing/contracts.mjs` is the executable artifact/report contract.
|
||||
Sibling producers may import it from an explicit `--contract-root` supplied by
|
||||
the coordinator. Their independent tests must not require this checkout. Keep
|
||||
contract fixtures and producer adapters versioned in their own repository.
|
||||
|
||||
Artifact manifests contain `schemaVersion: 2`, kind (`plugin`, `fork`, `extras`),
|
||||
`repository`, 40-character `commit`, `dirty`, SHA-256 `diffHash` and
|
||||
`lockfileHash`, `buildCommand`, `toolchain`, `evidence` and `artifacts`.
|
||||
Each artifact has `role`, slash-separated producer-relative `relativePath`,
|
||||
`sha256` and `bytes`. Empty files, duplicate paths/roles, missing roles, path
|
||||
escapes and redirected ancestors fail validation. The coordinator freezes a
|
||||
verified snapshot and revalidates both source and destination; it consumes only
|
||||
that snapshot. Workspace byte tests and published-package checks remain separate.
|
||||
|
||||
Required roles:
|
||||
|
||||
| Producer | Roles |
|
||||
| --- | --- |
|
||||
| plugin | main, manifest, styles |
|
||||
| fork | production-js, production-css, development-js, development-css, declarations |
|
||||
| extras | main, manifest, styles, declarations |
|
||||
|
||||
Suite reports contain `schemaVersion: 2`, `suiteId`, `status`, `cleanup` and
|
||||
`tests`, plus source/profile/environment/fixture/evidence metadata appropriate
|
||||
to the layer. Every test has a globally unique `testId`, `featureIds`, `status`
|
||||
and assertions. Status is `passed`, `failed`, `blocked` or `notApplicable`;
|
||||
nonpasses require a reason. Required blocked/not-applicable/missing tests, zero
|
||||
discovery, duplicate identities, unsuccessful suites and cleanup failure fail
|
||||
the aggregate. Legacy schema-1 native reports require `adaptSmokeReport()`;
|
||||
adaptation does not assign feature coverage to unexecuted scenarios.
|
||||
|
||||
Native scenario contributions export an async function taking the existing
|
||||
`{ cli, drawingPath, reportDir }` context and returning a scenario result with
|
||||
`id`, `status`, assertions and evidence. Contribute in a producer-owned file;
|
||||
only the plugin coordinator edits registration/staging files. Native calls,
|
||||
debugger/input, staging and device transitions run serially under
|
||||
`host/hostLock.mjs`, keyed to the explicit canonical application user-data path.
|
||||
Independent suites do not acquire the host lock or control Obsidian.
|
||||
|
||||
The complete feature registry is an obligation list. A foundation checkpoint
|
||||
does not satisfy unexecuted rendering, lifecycle, device or service obligations.
|
||||
@@ -0,0 +1,487 @@
|
||||
# Testing acceptance and approved follow-ups
|
||||
|
||||
The later maintainer-approved parsed-link history and settings teardown fixes
|
||||
are committed in `7e80c1bd76072b9631a0efef6678e30ed97cfe7f`. Verification passes
|
||||
**681 portable cases**, including 11 new settings regressions, and all five
|
||||
focused native lifecycle cases with cleanup/restoration and matching artifacts.
|
||||
[Sanitized follow-up results, case IDs, source/artifact identities and limits](settings-lifecycle-verification-2026-10-30.json)
|
||||
keep that evidence separate from the original full-repeat checkpoint below.
|
||||
The settings follow-up did not repeat the entire 357-case native matrix twice.
|
||||
The maintainer explicitly requested merging the paired source branches while
|
||||
deferring fork/Extras releases and version/dependency updates.
|
||||
|
||||
## Original complete native acceptance checkpoint
|
||||
|
||||
At plugin `fd32ac682e2aadc0f982fa23d36da482011117f9`, fork
|
||||
`053a3b9f9e77917c457fce8ca9453d38b92a303b` and Extras
|
||||
`1cdcb7c425a9b80afdc7b39c88861143b4b85e58`, both fresh complete runs pass
|
||||
**357/357 required cases**, including all **258 behavioral obligations** and
|
||||
**40 device/layout profiles**. Cleanup, baseline restoration, source/artifact
|
||||
identity and both native error/layout negative controls pass in each run.
|
||||
Final portable validation passes **666 cases (68 new / 598 reused)** and the
|
||||
production-diff audit passes. The original completion commits changed
|
||||
documentation and inert diagnostic archives only; the later approved production
|
||||
fixes and their scoped verification are described above.
|
||||
|
||||
The historical sustained ResizeObserver storm did not recur. Its cause remains
|
||||
unidentified, and no production fix or sole host/instrumentation cause is
|
||||
claimed. The strict storm gate remains unchanged. Earlier failed attempts,
|
||||
including the `9b2874ba` 357-pass / 350-pass pair, remain preserved below.
|
||||
|
||||
At that checkpoint, no production behavior changed after reviewed `f240fb86`. The PDF timeout and
|
||||
concurrency-lock rollback and all previously approved fixes are preserved.
|
||||
|
||||
## Accessible evidence
|
||||
|
||||
- [Both complete native runs, all case results, source/artifact hashes, diagnostics and restoration](native-acceptance-pair-2026-10-30.json)
|
||||
([JSON download](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/native-acceptance-pair-2026-10-30.json))
|
||||
- [Full desktop/core ownership trace and matched untraced comparison](observer-core-comparison-2026-10-30.json)
|
||||
([raw observer records](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/observer-core-trace-records-2026-10-30.json))
|
||||
- [Current status and artifact manifests](acceptance-status.json)
|
||||
- [Complete case results, assertions, measurements, diagnostics and restoration](acceptance-investigation-2026-10-30.json)
|
||||
([JSON download](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/acceptance-investigation-2026-10-30.json))
|
||||
- [Sanitized raw notification payloads](native-event-payloads-2026-10-30.jsonl)
|
||||
([JSONL download](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/native-event-payloads-2026-10-30.jsonl))
|
||||
- [SHA-256 evidence manifest](acceptance-evidence-manifest.json)
|
||||
- [Ordered reductions, matched snapshot controls and boundary state](resize-reduction-2026-10-30.json)
|
||||
([JSON download](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/resize-reduction-2026-10-30.json))
|
||||
- [Approved observer diagnostic and minimal ownership controls](observer-diagnostic-2026-10-30.json)
|
||||
([JSON download](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/observer-diagnostic-2026-10-30.json))
|
||||
- [Complete sanitized observer records](approved-observer-trace-records-2026-10-30.json)
|
||||
([JSON download](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/approved-observer-trace-records-2026-10-30.json))
|
||||
- [Scheduling comparison, subsequent native controls and fresh portable results](observer-scheduling-followup-2026-10-30.json)
|
||||
([JSON download](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/observer-scheduling-followup-2026-10-30.json))
|
||||
- [Earlier failed attempts and controls](acceptance-investigation-2026-10-29.json),
|
||||
[9c08d814](acceptance-failed-9c08d814.json) and
|
||||
[098e6ee1](acceptance-failed-098e6ee1.json) remain retained.
|
||||
|
||||
Each observer's raw arrays retain ordered event IDs, duplicate IDs and original
|
||||
counts. Payloads are stored once in JSONL. **Do not sum independent observer
|
||||
counts as distinct notifications.** Payload and file hashes and references are
|
||||
verified. Historical transport loss is documented in the earlier report; the
|
||||
current finite-paging capture is complete.
|
||||
|
||||
## Results
|
||||
|
||||
| Check | Result |
|
||||
| --- | --- |
|
||||
| Fresh complete native run 1 at `fd32ac68` | **357/357 pass**; all 258 behavioral obligations and all 40 profiles; cleanup/restoration and both negative controls pass |
|
||||
| Matching fresh complete native run 2 | **357/357 pass**, same source/artifacts; all behavior, profile, cleanup/restoration and negative-control gates pass |
|
||||
| Final portable at `fd32ac68` | **666 passed: 68 new / 598 reused**, plus source/package/build/declaration gates |
|
||||
| Plugin fast | 488 passed: 54 new / 434 reused |
|
||||
| Fork source / browser | 127 passed (12 new / 115 reused) / 18 reused passes |
|
||||
| Extras source / browser | 29 passed (2 new / 27 reused) / four reused passes |
|
||||
| Historical native attempt 1 at `9b2874ba` | **357/357 pass**; 258 behavioral obligations and 40 profiles pass |
|
||||
| Historical matching native attempt 2 | **350 pass / seven fail**; all 258 behavior cases pass, 34/40 profiles pass |
|
||||
| Text history | All 16 original variants pass in both complete attempts and the ordered replay |
|
||||
| Large scenes | All six 1000-element cycles pass in both complete attempts and the ordered replay |
|
||||
| Popout drag/drop | All 15 variants execute and pass in both complete attempts |
|
||||
| Native negative controls | Both actual unhandled-exception and broken-layout controls pass in each full attempt; outside the 357 denominator |
|
||||
| Focused Markdown/pixel/missing-source confirmation | All 12 cases pass in main, split, nested-split and popout |
|
||||
| Isolated traced Lucide | Pass; zero window events |
|
||||
| 172 desktop behavior cases followed by core at `84a30be0` | All functional cases execute; sustained storm fails strict idle gates |
|
||||
| Isolated lifecycle | Pass; zero window events |
|
||||
| 43 popout behavior cases followed by lifecycle | Pass; one transient exact notification settles |
|
||||
| Test-owned empty-popout observer controls | All three variants clean with both community runtimes unloaded; no acceptance credit |
|
||||
| Final production-diff audit | Pass; no additional production behavior change |
|
||||
| Final vault inspection | Plugins ready, baseline restored, no tasks/print roots/popouts, passive sample quiet |
|
||||
|
||||
Both complete attempts record **273 new / 84 reused native identities**. Six
|
||||
desktop cases use registered native plugin CLI commands. The two mobile cases
|
||||
use public `EA.executeCLI` and are reported separately. Individual command calls,
|
||||
inventory entries, screenshots and diagnostics are not added to the case count.
|
||||
The [feature registry](../../../tests/features.json), executable cases and all
|
||||
original functional, persistence, rendered-output and cleanup assertions remain.
|
||||
|
||||
## Final complete repeats and diagnostic distinction
|
||||
|
||||
Both normal repeats use `npm.cmd run test:native`, with no observer interception,
|
||||
diagnostic loader or optional state snapshots. Every sequence freshly builds
|
||||
the three selected workspace revisions, deploys/hash-verifies the executable
|
||||
plugins, applies configuration, enables services and verifies the explicit
|
||||
canonical CLI vault/config paths. All code artifact hashes and the immutable
|
||||
seed match between repeats. No diagnostic renderer reset occurs between them.
|
||||
Required mobile-mode changes and restoration use Obsidian's normal reload path.
|
||||
|
||||
| Final result | Run 1 | Run 2 |
|
||||
| --- | ---: | ---: |
|
||||
| Required native cases | 357 / 357 passed | 357 / 357 passed |
|
||||
| Behavioral obligations | 258 / 258 | 258 / 258 |
|
||||
| Device/layout profiles | 40 / 40 | 40 / 40 |
|
||||
| Registered desktop CLI-bearing cases | 6 passed | 6 passed |
|
||||
| Public mobile `EA.executeCLI` cases | 2 passed | 2 passed |
|
||||
| Main-window exact notifications | 1, settled | 2, settled |
|
||||
| Profile notification captures | 0 | 0 |
|
||||
| Cleanup and baseline restoration | Passed | Passed |
|
||||
| Unrelated-error and broken-layout negative controls | Both passed | Both passed |
|
||||
|
||||
The preceding diagnostic trace covers all **231 required desktop/core
|
||||
identities** and records **3,511 observers / 1,478 targets**, with two isolated
|
||||
settling notifications, zero recording failures and no overflow. Its available
|
||||
closed-document observation has a final zero-size delivery; no available target
|
||||
fits the smaller nonzero-size orphaned-observation condition. Missing/collected
|
||||
targets are unavailable evidence, not misclassified cross-realm targets. This
|
||||
does not identify or exonerate the historical observer.
|
||||
|
||||
The trace is restored and removed; a verified saved-baseline renderer-only
|
||||
reload clears captured wrappers **after that diagnostic and before both normal
|
||||
repeats**, outside acceptance evidence. The matched untraced 231-case core run
|
||||
then passes with one settling notification. Neither focused core run earns
|
||||
complete native acceptance credit. The subsequent two ordinary complete runs
|
||||
provide that evidence. No lifecycle workaround, observer suppression, idle
|
||||
threshold increase, production fix or upstream-test rewrite was introduced.
|
||||
|
||||
Both normal repeats export and decode one real plugin-to-Extras PDF: 10,616
|
||||
bytes, one 288 x 216 pt page and 3330 red pixels, with restored print resources.
|
||||
Their decoded page hashes equal
|
||||
`7ef3e029a4a65827e1e3855a95d58971f7d6a923e419d9b1ff116ce9f22bd152`;
|
||||
the final rendered page was visually inspected. Per-export PDF hashes are in
|
||||
the case records. Waiting remains completion-driven, with no production timeout
|
||||
or per-document concurrency lock.
|
||||
|
||||
The final working vault remains installed and usable: both plugins ready,
|
||||
desktop mode, baseline note/layout restored, native observer methods, no tasks,
|
||||
print roots, popouts or debugger and a quiet passive sample. The public report
|
||||
records the final bytes/hashes of all eight installed plugin files, including
|
||||
both `data.json` files. Physical-device/WebView/stylus, real OS drag/clipboard,
|
||||
other native OSes and isolated whole-app cold start remain separate environments.
|
||||
|
||||
The [pair audit source](native-pair-audit-source.txt),
|
||||
[trace loader](observer-core-loader-source.txt),
|
||||
[candidate analysis](observer-candidate-analysis-source.txt) and
|
||||
[trace-removal guard](observer-core-removal-source.txt) are inert review archives,
|
||||
not imports of the ordinary acceptance command.
|
||||
|
||||
The two new portable cases after the previous 662-case checkpoint exercise the
|
||||
actual CORS-enabled detached image decoder and safe missing-source setup. The
|
||||
existing runner success case also verifies a future alpha-version string; it is
|
||||
reused, not counted as a new case.
|
||||
|
||||
Two further offline cases verify the new opt-in passive reader: it does not
|
||||
write settings/layout/focus/scheduling or expose setting values, and preserves
|
||||
an original behavioral failure and cleanup evidence. Its initial listener-shape
|
||||
assumption failed an extended actual-shape regression; the corrected reader
|
||||
distinguishes Events maps from Component cleanup callbacks and labels missing
|
||||
internals unavailable. This diagnostic correction does not explain the storm.
|
||||
|
||||
## Historical ordered reductions
|
||||
|
||||
All trials rebuild/deploy/configure through the standard coordinator and match
|
||||
every frozen artifact against the earlier complete pair. Each retains its
|
||||
original functional, persistence, error/idle and cleanup assertions.
|
||||
|
||||
| Ordered predecessors, then unchanged lifecycle | Matrix + lifecycle occurrences | Snapshots | Main document | Result / raw main-window notifications |
|
||||
| --- | ---: | --- | --- | --- |
|
||||
| Main -> split | 86 + 5 | On, initial reader | Hidden | Pass / 0 |
|
||||
| Nested split -> popout | 86 + 5 | On, initial reader | Hidden | Pass / 1 settling |
|
||||
| Nested split -> popout | 86 + 5 | On, corrected reader | Visible | Pass / 1 settling |
|
||||
| Split -> nested split -> popout | 129 + 5 | On | Visible | Pass / 1 settling |
|
||||
| Exact original four-context prefix | 172 + 5 | **Off** | Visible | Pass / 2 settling |
|
||||
| Exact original four-context prefix | 172 + 5 | **On** | Visible | Pass / 0 |
|
||||
|
||||
These are repeated occurrences of existing IDs, not new native cases or complete
|
||||
acceptance repeats. The first two hidden-document runs are not matched controls
|
||||
against the historical visible failure. Electron reported a visible/focused,
|
||||
non-minimized native window while its document was hidden. Ordinary native
|
||||
show/focus restored document visibility in 58 ms, without emulation, observer
|
||||
changes or a renderer reset. Subsequent visible trials also pass, so this
|
||||
precondition mismatch is not claimed as the original cause or a resolution.
|
||||
|
||||
With the corrected reader, all setting digests, workspace/vault/metadata event
|
||||
registrations and plugin cleanup-registration counts return to the pre-prefix
|
||||
baseline before lifecycle. Layout/sidebar state, roots, popouts and temporary
|
||||
main scheduling also return as expected; owned lifecycle additions retire during
|
||||
cleanup. Owner identities and scheduling are recorded. Initial-reader listener
|
||||
records are explicitly unavailable evidence, not zero registrations. The matched
|
||||
original-prefix controls do not establish that passive snapshots cause or cure
|
||||
the intermittent failure.
|
||||
|
||||
**Original-suite blocker:** the responsible observer is not yet identified; the
|
||||
ordered reductions do not reliably fail. The historical storm remains a failure
|
||||
and the current prefix passes are not a fix. The subsequent approved diagnostic
|
||||
isolates a smaller ownership/lifetime mechanism below. No new 357-case run was
|
||||
spent and no acceptance gate was weakened.
|
||||
|
||||
## Historical approved observer diagnostic: completed within cap
|
||||
|
||||
The maintainer approved a 30-minute diagnostic-only exception. Investigation
|
||||
started at 10:21:04 UTC; last live experiment ended at 10:49:39, before the
|
||||
10:51:04 deadline. Budapest was UTC+1: the earlier spoken 12:51 deadline was an
|
||||
hour too late; the runtime guard always used the correct UTC deadline, 11:51 local.
|
||||
|
||||
The traced 172-case prefix, lifecycle and Lucide workflow passes with one exact
|
||||
notification that settles. It records 2,331 observers/968 targets across five
|
||||
realms, with no recording errors. Constructor/method interception was restored
|
||||
before export. A verified saved-baseline renderer-only reload then cleared
|
||||
callbacks/constructors that modules could have captured, outside the trial and
|
||||
with no acceptance credit. Final native-function checks show original
|
||||
ResizeObserver/observe/unobserve/disconnect, no trace global or owned work, both
|
||||
plugins ready and a quiet passive sample.
|
||||
|
||||
**Small failing mechanism, without workspace/popout operations:** create a
|
||||
same-origin iframe, adopt a test element into its document, observe it, then
|
||||
remove the iframe while retaining the observation. Both community plugins are
|
||||
unloaded during these matched controls. Registration occurs after adoption in
|
||||
all observer arms, and the target delivers the same live dimensions first.
|
||||
|
||||
| Observer constructor | Notifications in the 1-second sample after frame removal | Next 1-second sample after own-observer disconnect |
|
||||
| --- | ---: | ---: |
|
||||
| No observer | 0 | 0 |
|
||||
| Main document's ResizeObserver | **62** | 0 |
|
||||
| Iframe document's ResizeObserver | **0** | 0 |
|
||||
|
||||
The main observer's last delivery is 123 x 81; no zero-size delivery follows
|
||||
frame removal before disconnect. A separate iframe trial records 61 messages in
|
||||
one second and zero after disconnect. Adopting into a frameless HTML document
|
||||
instead is quiet and delivers zero size. The retained condition is a main-realm
|
||||
observation of an element whose iframe has been removed, not a retained setting
|
||||
or event-registration difference. These one-second controls reproduce rapid
|
||||
repeated notifications; they do not independently claim five seconds of
|
||||
persistence. Historical native storms beyond that unchanged gate remain retained.
|
||||
|
||||
An adopted-element popout control also repeats notifications with both plugins
|
||||
unloaded using native BrowserWindow.close(), so changing only the close entry
|
||||
point is not an evidenced fix. An earlier multi-arm trial was contaminated after
|
||||
a loop and is explicitly not independent; another aborted before returning JSON
|
||||
and has no invented counts. Guarded recovery/readiness failures are retained.
|
||||
|
||||
**Limit at that checkpoint:** all small controls temporarily disabled background
|
||||
throttling, matching the native tooling, and restored it. Scheduling had not yet
|
||||
been compared before the cap. The untraced follow-up below completes that
|
||||
comparison; the original workflow's responsible observer remains unproven.
|
||||
|
||||
The [complete bounded control](iframe-ownership-control-source.txt),
|
||||
[guarded vault/session runner](guarded-native-probe-source.txt),
|
||||
[trace source](approved-observer-trace-source.txt),
|
||||
[loader](approved-observer-loader-source.txt) and
|
||||
[forwarding/restoration self-check](approved-observer-selfcheck-source.txt) are
|
||||
inert source archives for review, not production/acceptance imports. The trace
|
||||
deadline is expired. Any fresh interception requires new authorization; the
|
||||
untraced control does not replace ResizeObserver or alter production observers.
|
||||
Reports include source/artifact hashes, raw notifications and recovery records.
|
||||
|
||||
## Historical untraced scheduling and native follow-up
|
||||
|
||||
The maintainer authorized continued work without further time-extension
|
||||
confirmations. No observer interception was used in this follow-up. The
|
||||
[complete sanitized results](observer-scheduling-followup-2026-10-30.json) retain
|
||||
case results, source/artifact identities, raw notifications, native window state,
|
||||
restoration and the fresh 666-case portable report.
|
||||
|
||||
With both plugins unloaded, the iframe control ran with normal and unthrottled
|
||||
scheduling, then repeated in reverse order. Every arm verified actual document
|
||||
visibility, focus and native window visibility/focus; original scheduling was
|
||||
restored in `finally`.
|
||||
|
||||
| Scheduling | None / main-constructor / iframe-constructor notifications in one second |
|
||||
| --- | --- |
|
||||
| Normal, first | 0 / 62 / 0 |
|
||||
| Unthrottled, first | 0 / 62 / 0 |
|
||||
| Unthrottled, repeated | 0 / 62 / 0 |
|
||||
| Normal, repeated | 0 / 61 / 0 |
|
||||
|
||||
Every next-second sample after disconnecting only the test-owned observer is
|
||||
quiet. Unthrottled scheduling is not required for this smaller mechanism. These
|
||||
one-second samples still do not establish the original five-second gate failure.
|
||||
|
||||
| Native workflow at clean plugin `ab1ef6da`, fork `053a3b9`, Extras `1cdcb7c` | Result |
|
||||
| --- | --- |
|
||||
| Host-only open/resize/close, both plugins unloaded, no added observers | Quiet for 5.5 seconds with immediate, 50 ms and 500 ms close timing |
|
||||
| Host-only hide then close | Verified hidden popout; quiet for 5.5 seconds |
|
||||
| Six isolated saved/dirty drawing closes | All child assertions pass; initial parent fails because the ignored wrapper omitted its result status; failed evidence preserved |
|
||||
| 172 desktop behaviors, original five lifecycle cases, then corrected six close controls | All 183 child cases pass; zero notifications; cleanup/restoration pass |
|
||||
| Saved and dirty 2,000-element drawing closes | Both pass; zero notifications; disk persistence and retired APIs verified |
|
||||
| All 40 device profiles plus 43 phone and 43 tablet behaviors | All 126 pass; zero captured profile notifications; restoration passes |
|
||||
| Subsequent 172 desktop behaviors, original lifecycle and Lucide | Pass; two transient notifications settle; cleanup/restoration pass |
|
||||
| 2,000-element popout close with a real save already pending | Pass; immutable persistence handoff reaches disk, API/root retire, zero notifications |
|
||||
|
||||
The passive lifecycle snapshot verifies that the fresh popout is visible,
|
||||
focused, non-minimized and fully loaded before closing. The pending-save control
|
||||
also observes a main-realm ToolsPanel observer and an API/root still present at
|
||||
the first closed-window check, followed by successful retirement without errors.
|
||||
Neither constructor mismatch nor asynchronous retirement alone is therefore
|
||||
established as the historical storm's cause. No production fix is inferred.
|
||||
|
||||
All automatic coordinator runs freshly build, deploy/configure and hash-check
|
||||
the three workspace revisions; their artifact bytes match the earlier frozen
|
||||
pair. The initial small scheduling controls reuse the already installed frozen
|
||||
build and earn no acceptance credit. Diagnostic repeats create **zero new
|
||||
canonical cases**. The four desktop behavioral CLI cases use registered native
|
||||
commands; the two mobile CLI cases use public `EA.executeCLI`. Lucide also
|
||||
exercises registered export commands in the post-device replay; the separate
|
||||
`native-cli-authoring` workflow was not rerun in those focused profiles.
|
||||
|
||||
Portable validation freshly passes **666 cases (68 new / 598 reused)** at these
|
||||
revisions, plus source/package gates, builds and declarations. Production audit
|
||||
passes; no maintained test source or production/PDF code changed in this
|
||||
continuation. The original long storm remains unresolved and no complete native
|
||||
357-case acceptance run was spent. All three PRs remain draft.
|
||||
|
||||
The proposed next diagnostic is the unchanged forwarding-only observer trace
|
||||
over the full desktop/core sequence, which includes workflows omitted from the
|
||||
smaller controls. **Automatic approval review rejected restarting it** because
|
||||
the original trace exception expired and the subsequent permission covered
|
||||
untraced controls. That command did not execute; no new trace was installed or
|
||||
workaround attempted. At that checkpoint renewed-trace authorization was
|
||||
pending. The maintainer subsequently instructed autonomous continuation within
|
||||
the PR purpose; the completed full core trace, untraced comparison and ordinary
|
||||
complete repeats are reported above.
|
||||
|
||||
Inert control sources are archived alongside the evidence:
|
||||
[scheduling](observer-scheduling-control-source.txt),
|
||||
[host resize](observer-host-resize-control-source.txt),
|
||||
[drawing close](observer-drawing-close-control-source.txt),
|
||||
[scenario loader](observer-close-loader-source.txt),
|
||||
[passive window state](observer-passive-close-state-source.txt),
|
||||
[large drawing](observer-large-close-control-source.txt),
|
||||
[pending save](observer-inflight-close-control-source.txt), and
|
||||
[hidden host window](observer-hidden-host-control-source.txt).
|
||||
|
||||
To repeat the device-predecessor/desktop comparison from the plugin checkout,
|
||||
with the same one-time vault prerequisites and exclusive foreground access:
|
||||
|
||||
```powershell
|
||||
New-Item -ItemType Directory -Force tmp | Out-Null
|
||||
Copy-Item -LiteralPath docs/testing-evidence/3022/observer-passive-close-state-source.txt -Destination tmp/pr3022-passive-close-state-loader.mjs
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/unique-device-predecessor'
|
||||
npm.cmd run verify:obsidian -- --profile=devices
|
||||
$env:EXCALIDRAW_TEST_STATE_EVIDENCE = '1'
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/unique-post-device-prefix'
|
||||
node --import ./tmp/pr3022-passive-close-state-loader.mjs scripts/testing/host/verify.mjs --behavior-matrix --lifecycle --lucide
|
||||
Remove-Item Env:EXCALIDRAW_TEST_STATE_EVIDENCE
|
||||
```
|
||||
|
||||
The loader adds only the archived passive pre-close snapshot; it does not change
|
||||
observer methods, readiness or assertions. Both commands rebuild, deploy and
|
||||
verify the workspace artifacts automatically. Use fresh report names, keep the
|
||||
revisions fixed, and retain a failed first command rather than interpreting a
|
||||
later pass as its replacement. These focused profiles are not full acceptance.
|
||||
|
||||
## Historical failures and focused evidence
|
||||
|
||||
The historical second complete attempt at `9b2874ba` fails:
|
||||
|
||||
- `lucide-3019`
|
||||
- `native:device:desktop-wide-full-light`
|
||||
- `native:device:desktop-wide-tray-light`
|
||||
- `native:device:desktop-wide-compact-light`
|
||||
- `native:device:desktop-narrow-full-light`
|
||||
- `native:device:desktop-narrow-tray-light`
|
||||
- `native:device:desktop-narrow-compact-light`
|
||||
|
||||
Its 702 exact notifications start within the exhaustive Lucide probe, before the
|
||||
final screenshot. Behavioral assertions pass; its parent idle gate and the six
|
||||
early profile idle gates correctly fail. There are no unrelated exceptions.
|
||||
|
||||
The later 172-desktop-plus-core replay retains **16,879 raw notifications**. One
|
||||
earlier popout Markdown notification settles. The sustained loop first appears
|
||||
during `native:lifecycle-new-popout-survivor`, before Lucide, and persists through
|
||||
subsequent parent idle checks and cleanup idle. All text variants and six large
|
||||
cycles still pass. Cleanup and baseline restoration pass; their success does
|
||||
not waive the failed idle gates.
|
||||
|
||||
A passive two-second sample after restoration retains 120 notifications with
|
||||
no debugger, input, geometry sampling, drawing or popout. An unload control
|
||||
records 120 while loaded and 121 while both community runtimes are unloaded,
|
||||
then zero during restoration. A short timeline records repeated native resize
|
||||
delivery and JavaScript error-handler calls, without identifying the responsible
|
||||
observer. Isolated lifecycle and Lucide pass; popout-only predecessors followed
|
||||
by lifecycle pass. Closing an empty popout with no added observer, a test-owned
|
||||
main-realm observer, or an owning-realm observer is also clean. These controls
|
||||
do not prove sole host causation, exonerate the ordered drawing sequence, or
|
||||
justify changing a production observer.
|
||||
|
||||
The subsequent reductions and ownership trace do not reliably reproduce that
|
||||
sustained failure, so its retained state and exact observer remain unidentified.
|
||||
No production change is inferred. The final two complete runs retain the strict
|
||||
gate and pass; the earlier failed evidence is not replaced or waived.
|
||||
The earlier illegal-access and `getZoomFactor` exceptions were not reproduced
|
||||
on this host; their historical failures remain visible and no waiver is added.
|
||||
|
||||
## Diagnostic and runtime policy
|
||||
|
||||
Only the exact trusted browser notification
|
||||
`ResizeObserver loop completed with undelivered notifications.` without an
|
||||
Error/stack is classified separately. Geometry and notification-free idle must
|
||||
hold for **1000 ms within 5000 ms**. Storms, unstable geometry, unresponsive
|
||||
controls, unrelated errors, every JavaScript exception, failed persistence and
|
||||
cleanup still fail. Both native negative controls confirm strict rejection.
|
||||
Unnecessary focus emulation stays removed. Earlier instrumentation triggered a
|
||||
reproduced loop; instrumentation being the sole cause of every later notification
|
||||
remains unproven. No events or production observers are suppressed or patched.
|
||||
|
||||
The maintainer installed Obsidian **1.14.5 / Electron 43.8.3**; Chromium is
|
||||
150.0.7871.250. These are recorded evidence, **not a version allowlist**. The
|
||||
suite does not pin or skip versions, including future Obsidian alphas. Build
|
||||
Node is 22.22.3; runtime Node is 24.22.0.
|
||||
|
||||
## Revisions, artifacts and PDF
|
||||
|
||||
Both final complete attempts use:
|
||||
|
||||
- Plugin `fd32ac682e2aadc0f982fa23d36da482011117f9`
|
||||
- Fork `053a3b9f9e77917c457fce8ca9453d38b92a303b`
|
||||
- Extras `1cdcb7c425a9b80afdc7b39c88861143b4b85e58`
|
||||
|
||||
Maintained test code is unchanged from plugin `f5d5d217`; intervening completion
|
||||
commits contain documentation and inert diagnostic archives. Fork and Extras
|
||||
code is unchanged at the tested heads above. All artifact identities match in
|
||||
the final pair; reports include installed/configuration/seed hashes and final
|
||||
file inspection. The older `9b2874ba` pair is preserved as historical evidence.
|
||||
|
||||
Plugin `main.js`: **5,030,423 bytes**, SHA-256
|
||||
`cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df`;
|
||||
212,457 bytes below the release target. Fork production JS:
|
||||
`9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14`.
|
||||
Extras `main.js`:
|
||||
`28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb`.
|
||||
|
||||
Both complete attempts produce a real single plugin-to-Extras PDF: 10,616 bytes,
|
||||
one 288 x 216 pt page, expected extracted text and 3330 red pixels. The first
|
||||
output was decoded and visually inspected; its PDF SHA-256 is
|
||||
`19d3629d2b45bb22b3646668a9c41061943636b27245159c5d0a8520946d3203`
|
||||
and rendered-page SHA-256 is
|
||||
`7ef3e029a4a65827e1e3855a95d58971f7d6a923e419d9b1ff116ce9f22bd152`.
|
||||
Print resources restore. Production waiting remains completion-driven, with no
|
||||
timeout or per-document concurrent-export rejection. Portable fake-time coverage
|
||||
retains pending work/resources beyond two minutes until real completion. Test
|
||||
deadlines preserve unsettled native work and do not claim cancellation.
|
||||
|
||||
## Repeatable commands and prepared vault
|
||||
|
||||
Run from the plugin checkout, exclusively in
|
||||
**`.test-work/vaults/excalidraw-auto-test/`**. One-time trust/CLI prerequisites are
|
||||
complete. Each native entry builds the selected workspace fork/plugin/Extras,
|
||||
freezes and deploys/hash-verifies artifacts, configures/enables both plugins,
|
||||
verifies canonical vault/config/application identity under the shared session
|
||||
lock, cleans owned data and restores baseline. No stale or personal-vault fallback.
|
||||
|
||||
```powershell
|
||||
# Focused reproductions do not replace complete repeats:
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/unique-prefix'
|
||||
npm.cmd run verify:obsidian -- --behavior-matrix --core
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/unique-lifecycle'
|
||||
npm.cmd run verify:obsidian -- --lifecycle
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/unique-popout-prefix'
|
||||
npm.cmd run verify:obsidian -- --behavior-matrix --behavior-context=popout --lifecycle
|
||||
# Two complete repeats, with exclusive foreground access and fixed revisions:
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/fresh-complete-1'
|
||||
npm.cmd run test:native
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/fresh-complete-2'
|
||||
npm.cmd run test:native
|
||||
$env:PLAYWRIGHT_BROWSERS_PATH = Join-Path (Resolve-Path ../excalidraw).Path '.test-work/browsers'
|
||||
$env:EXCALIDRAW_TEST_REPORT_DIR = Join-Path $PWD '.test-work/reports/fresh-portable'
|
||||
npm.cmd run test:regression:portable
|
||||
node scripts/testing/review3022ProductionDiff.mjs
|
||||
```
|
||||
|
||||
[Preparation, reports and safe recovery](../../OBSIDIAN_RUNTIME_TESTING.md) remain
|
||||
maintained. Failed evidence is retained. A verified saved-baseline renderer-only
|
||||
reload was used for recovery, with no acceptance credit; other vault windows
|
||||
were untouched. Final installed plugins/baseline are usable, with no owned work
|
||||
or debugger and a quiet passive sample. Native input has stopped.
|
||||
|
||||
Physical touch/WebView/stylus, real OS drag/clipboard, native macOS/Linux and
|
||||
isolated whole-app cold start remain separate environments. Acceptance evidence
|
||||
supports ready-for-review status for all three PRs. No merge, package publication,
|
||||
version/dependency bump or upstream test rewrite was performed.
|
||||
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"status": "evidence-index",
|
||||
"files": [
|
||||
{
|
||||
"name": "acceptance-status.json",
|
||||
"sha256": "801b94434cd168deac9cf5cf37892a432053baa150b35d8b9d32b72f9c1908e1",
|
||||
"bytes": 363050
|
||||
},
|
||||
{
|
||||
"name": "acceptance-investigation-2026-10-30.json",
|
||||
"sha256": "13047c5474fcccb825da6db1de29c8ff04d132f533eee72c6f54b29053dd48a1",
|
||||
"bytes": 10165255
|
||||
},
|
||||
{
|
||||
"name": "native-event-payloads-2026-10-30.jsonl",
|
||||
"sha256": "1b953af190410aeb57b9ec8515832cca7d085022b87d2fa10f87c01e9a7c6b36",
|
||||
"bytes": 14754983
|
||||
},
|
||||
{
|
||||
"name": "acceptance-investigation-2026-10-29.json",
|
||||
"sha256": "5383d34d37b4dc0b77df8789ec0ed183a95bc67f0303f184ad2db8328eff1e68",
|
||||
"bytes": 3955148
|
||||
},
|
||||
{
|
||||
"name": "native-event-payloads-2026-10-29.jsonl",
|
||||
"sha256": "c29b7c73c1e74a7e2e0aedea4cbeeb7edbad9033a11931fa6c416a86eb7b674f",
|
||||
"bytes": 3455034
|
||||
},
|
||||
{
|
||||
"name": "acceptance-failed-9c08d814.json",
|
||||
"sha256": "42920c346cb3ac27f69e806f93b9bfc6cdd04fac2338af0b48b54d754d5f943e",
|
||||
"bytes": 1664130
|
||||
},
|
||||
{
|
||||
"name": "acceptance-failed-098e6ee1.json",
|
||||
"sha256": "869a0ca3aec1a1e469bcc6870fbe9078ce193bdc9c7832603a69bcb8dd58e52e",
|
||||
"bytes": 1442703
|
||||
},
|
||||
{
|
||||
"name": "resize-reduction-2026-10-30.json",
|
||||
"sha256": "488fc402c5ec448ef508a12655db2374780f913bfeafe101652155230475df78",
|
||||
"bytes": 1470628
|
||||
},
|
||||
{
|
||||
"name": "approved-observer-trace-source.txt",
|
||||
"sha256": "06fbbcfa59e21c05fa7cac4b3071fe3bcbcdb4d6033b80bec8178e716f6d143f",
|
||||
"bytes": 7682
|
||||
},
|
||||
{
|
||||
"name": "iframe-ownership-control-source.txt",
|
||||
"sha256": "d7ea0e0ecf51aeab53fb3a5b56bdc0c9a411492e35c79e1a84edcbc8b4264de6",
|
||||
"bytes": 2804
|
||||
},
|
||||
{
|
||||
"name": "approved-observer-trace-records-2026-10-30.json",
|
||||
"sha256": "a780a34b6f30d0eea1bc3021c659f27496c7dc8c6378dc4faed0b0d7cb23193e",
|
||||
"bytes": 11412429
|
||||
},
|
||||
{
|
||||
"name": "observer-diagnostic-2026-10-30.json",
|
||||
"sha256": "5c57b1772b69177e1551604ff7e65dd7207a12b6215cf0905e57469a973ef657",
|
||||
"bytes": 324063
|
||||
},
|
||||
{
|
||||
"name": "approved-observer-loader-source.txt",
|
||||
"sha256": "6bcee571b710e77076d64cf88a96cc26bfad008a7608a05d85cf0b50294546d1",
|
||||
"bytes": 2787
|
||||
},
|
||||
{
|
||||
"name": "approved-observer-selfcheck-source.txt",
|
||||
"sha256": "776f6292ca924a77cc8f3b41a1d342715706ed4382b3a3d6381e027ea0fe0c15",
|
||||
"bytes": 2293
|
||||
},
|
||||
{
|
||||
"name": "guarded-native-probe-source.txt",
|
||||
"sha256": "c4a0237d0ea24da172d9927c5b4f5fe8a04b6cecc44b03a89ae36149e9a07bd2",
|
||||
"bytes": 1251
|
||||
},
|
||||
{
|
||||
"name": "observer-scheduling-followup-2026-10-30.json",
|
||||
"sha256": "70810ac6db52a5add5814407baf551ba7f7ab3dc9ad4e41443bd5ece48444fc2",
|
||||
"bytes": 2138399
|
||||
},
|
||||
{
|
||||
"name": "observer-scheduling-control-source.txt",
|
||||
"sha256": "4e4bad111179bd9f205fe52d241cb796599478218e45adc38c18fa98eae223a6",
|
||||
"bytes": 4440
|
||||
},
|
||||
{
|
||||
"name": "observer-host-resize-control-source.txt",
|
||||
"sha256": "cbbe6643c2e7c896c7053b44721512810df5d4e328ef7ce85264dd4e6e66bc03",
|
||||
"bytes": 2845
|
||||
},
|
||||
{
|
||||
"name": "observer-drawing-close-control-source.txt",
|
||||
"sha256": "0a08c25f1657a844fa4f6f48bd0f24b6897bccc8229f9ab450ad14c6f413d7ab",
|
||||
"bytes": 4127
|
||||
},
|
||||
{
|
||||
"name": "observer-close-loader-source.txt",
|
||||
"sha256": "40ae55c81e85b2f45504dffd23e6dc72fbe3a5f57bfacf536293df818de29bb9",
|
||||
"bytes": 641
|
||||
},
|
||||
{
|
||||
"name": "observer-passive-close-state-source.txt",
|
||||
"sha256": "7d638b33c4652a53f3fc157b9c13980ae2b37f2712ef3e0193199f10d19d8920",
|
||||
"bytes": 1409
|
||||
},
|
||||
{
|
||||
"name": "observer-large-close-control-source.txt",
|
||||
"sha256": "4259ead1b27c74f944b28f9050868192c8599896acfddfe8faf82fc0c99f80f2",
|
||||
"bytes": 4114
|
||||
},
|
||||
{
|
||||
"name": "observer-inflight-close-control-source.txt",
|
||||
"sha256": "1d7bda8c94f0a2efcdda1d32555831dad538c9811045f079ed1189126a6d8f0c",
|
||||
"bytes": 4990
|
||||
},
|
||||
{
|
||||
"name": "observer-hidden-host-control-source.txt",
|
||||
"sha256": "7efb2d484481c54ec74fb0770a4c17c88c0cd75d6da0576c2f426337742b95df",
|
||||
"bytes": 3072
|
||||
},
|
||||
{
|
||||
"name": "observer-core-loader-source.txt",
|
||||
"sha256": "b552f1828bf2fe4c6962d8b0bce81279e8b9b43460d408d62d786427ea843226",
|
||||
"bytes": 3030
|
||||
},
|
||||
{
|
||||
"name": "observer-candidate-analysis-source.txt",
|
||||
"sha256": "0c9e1f59dc3193b9a4264ee74bb6b67d34d18d35120f630e9ea69caf927197ad",
|
||||
"bytes": 3432
|
||||
},
|
||||
{
|
||||
"name": "observer-core-removal-source.txt",
|
||||
"sha256": "f621935bbbeed10a03afde9edfd9f105c0f8bc8033a27e2a405906a6733bfd0d",
|
||||
"bytes": 2785
|
||||
},
|
||||
{
|
||||
"name": "observer-core-trace-records-2026-10-30.json",
|
||||
"sha256": "68e29beac911881081efbb515e37db34565c4ed262788eff65c3032852231b4e",
|
||||
"bytes": 17158694
|
||||
},
|
||||
{
|
||||
"name": "observer-core-comparison-2026-10-30.json",
|
||||
"sha256": "b93d26256efa17cf6f9ac8337a06bbf3f53917e5df9789add83038f94fd020ae",
|
||||
"bytes": 1118823
|
||||
},
|
||||
{
|
||||
"name": "native-acceptance-pair-2026-10-30.json",
|
||||
"sha256": "04835f5b4e5464be6b24d37ecd77455c14abbc587a4b0c53accbccf033dea538",
|
||||
"bytes": 3204901
|
||||
},
|
||||
{
|
||||
"name": "native-pair-audit-source.txt",
|
||||
"sha256": "fec11a6586205b7ff55e3ab7a54218333af3bf06a1c1967d3746f8bb8ec10607",
|
||||
"bytes": 4505
|
||||
},
|
||||
{
|
||||
"name": "settings-lifecycle-verification-2026-10-30.json",
|
||||
"sha256": "37e00b89a71f0c6b013c54918553057003ccf99a5ca3e4da34456e9a0c63dfd1",
|
||||
"bytes": 137077
|
||||
}
|
||||
],
|
||||
"note": "Index only: acceptance-status.json describes the frozen full-repeat checkpoint; settings-lifecycle-verification-2026-10-30.json describes the later scoped follow-up. This index does not assert two full repeats for the follow-up."
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,458 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"status": "acceptance-incomplete",
|
||||
"fullNativeRepeatsPassed": 0,
|
||||
"requiredFullNativeRepeats": 2,
|
||||
"historicalCheckpoint": {
|
||||
"plugin": "9b2874ba173d5b28a3304920ccacd94c3fcbe02c",
|
||||
"completePassed": 1,
|
||||
"completeFailed": 1
|
||||
},
|
||||
"currentCodeCheckpoint": {
|
||||
"pluginRevision": "84a30be09918e4bbbb913eb5212c4e3b137c72e6",
|
||||
"pluginDirty": false,
|
||||
"forkRevision": "053a3b9f9e77917c457fce8ca9453d38b92a303b",
|
||||
"forkDirty": false,
|
||||
"buildMode": "workspace-frozen",
|
||||
"requestedProfile": "focused",
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"declaredNativeCases": 357,
|
||||
"declaredBehavioralObligations": 258,
|
||||
"plannedNativeIdentities": {
|
||||
"new": 273,
|
||||
"reused": 84
|
||||
},
|
||||
"attempts": [
|
||||
{
|
||||
"report": "2026-10-30-native-repeat-1-9b2874ba",
|
||||
"status": "passed",
|
||||
"startedAt": "2026-10-30T04:43:27.383Z",
|
||||
"completedAt": "2026-10-30T04:49:30.889Z",
|
||||
"source": {"pluginRevision":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case18.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case1.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case2.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case3.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case4.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case5.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case6.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case7.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case8.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case9.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case10.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case11.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case12.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case13.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case14.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case15.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case16.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case17.excalidraw.md","__excalidraw_cli_smoke_22addb4f-fbaa-4aba-a548-8f4103515b56_case18.excalidraw.md"]},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"5877ab2c5e3f7040c6ed594e53cd429a0ac8cec2be5d15e20bed939d31b12d83"}},
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-f278fc2c-c310-435c-8675-a353ae8ec401\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"scenarios": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"behavior-matrix","status":"passed","tests":[{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"861f2d689f9bb144","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"861f2d689f9bb144","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"861f2d689f9bb144","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackets":false,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":Line truncated
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793335411064,"completed":1793335412160,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793335411064,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335411165,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335411277,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335411387,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335411499,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335411606,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335411717,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335411827,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335411938,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335412049,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335412160,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"windowEvents": {"rawEventCount":1,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["79440124a6e19890a0fd3fa61132da9d87b8305f5d30c534b9530735a25416f8"]},
|
||||
"browserDiagnostics": {"diagnostics":{"rawEventCount":1,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["79440124a6e19890a0fd3fa61132da9d87b8305f5d30c534b9530735a25416f8"]},"unexpected":[]},
|
||||
"unexpectedConsoleErrors": [],
|
||||
"consoleErrors": [{"kind":"console","messages":["Error: EXCALIDRAW_OWNED_WRITE_FAILURE\n at t.faulty [as modify] (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:163:89)\n at Ix.<anonymous> (app://obsidian.md/app.js:1:2808857)\n at app://obsidian.md/app.js:1:254188\n at Object.next (app://obsidian.md/app.js:1:254293)\n at a (app://obsidian.md/app.js:1:253011) [{\"name\":\"stack\",\"type\":\"string\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.fau…293)\\n at a (app://obsidian.md/app.js:1:253011)\"},{\"name\":\"message\",\"type\":\"string\",\"value\":\"EXCALIDRAW_OWNED_WRITE_FAILURE\"}]"]},{"kind":"console","messages":["Object [{\"name\":\"plugin\",\"type\":\"string\",\"value\":\"Excalidraw\"},{\"name\":\"where\",\"type\":\"string\",\"value\":\"ExcalidrawView.save\"},{\"name\":\"fn\",\"type\":\"string\",\"value\":\"save\"},{\"name\":\"error\",\"subtype\":\"error\",\"type\":\"object\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.faulty [as modify] (eval at <anonymous> (eval at <an…\"}]"]}],
|
||||
"cliErrors": {"raw":"05:45:19 ResizeObserver loop completed with undelivered notifications.","diagnostics":["05:45:19 ResizeObserver loop completed with undelivered notifications."],"unexpected":[]},
|
||||
"cleanupCLIErrors": {"raw":"05:45:19 ResizeObserver loop completed with undelivered notifications.","diagnostics":["05:45:19 ResizeObserver loop completed with undelivered notifications."],"unexpected":[]},
|
||||
"cleanupIdle": {"status":"passed","label":"native-main","started":1793335769091,"completed":1793335770193,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793335769091,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335769200,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335769312,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335769423,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335769535,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335769646,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335769756,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335769865,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335769974,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335770083,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793335770193,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1}]},
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]},
|
||||
"aggregate": {"status":"passed","requiredCases":357,"recordedRequired":357,"passedRequired":357,"failedRequired":0,"missing":[],"cases":[{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"861f2d689f9bb144","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"861f2d689f9bb144","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"861f2d689f9bb144","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackeLine truncated
|
||||
"devices": {"schemaVersion":2,"suiteId":"native-devices","status":"passed","cleanup":"passed","tests":[{"testId":"native:device:desktop-wide-full-light","featureIds":["P07","P08"],"assertions":["actual Obsidian mobile/desktop mode","measured editor classification","actual host and drawing theme","visible uncovered tool","trusted pointer selects and draws","device edit saves to disk"],"requested":{"id":"desktop-wide-full-light","mobile":false,"width":1200,"height":900,"mode":"full","theme":"light","formFactor":"desktop","input":"mouse","pane":"fullscreen"},"actual":{"viewport":{"width":1200,"height":900},"retiredRestoredOwnedEditors":0,"paneBefore":{"x":44,"y":40,"width":856,"height":860,"top":40,"right":900,"bottom":900,"left":44},"fullscreen":true,"editorBounds":{"x":1,"y":0,"width":1198,"height":900,"right":1199,"bottom":900},"canvas":{"x":1,"y":0,"width":1198,"height":900,"right":1199,"bottom":900},"tool":{"x":470.8125,"y":12,"width":28.796875,"height":30,"right":499.609375,"bottom":42},"editorInterface":{"formFactor":"desktop","desktopUIMode":"full","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"mobile":false,"maxTouchPoints":2,"coarsePointer":false,"events":[{"trusted":true,"pointerType":"mouse"}]},"status":"passed","windowEvents":[],"browserDiagnostics":[],"cliErrors":{"raw":"No errors captured.","diagnostics":[],"unexpected":[]},"browserIdle":{"status":"passed","label":"desktop-wide-full-light","started":1793335776302,"completed":1793335777407,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793335776302,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335776412,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335776521,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335776631,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335776742,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335776854,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335776964,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335777076,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335777185,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335777296,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335777407,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0}]}},{"testId":"native:device:desktop-wide-tray-light","featureIds":["P07","P08"],"assertions":["actual Obsidian mobile/desktop mode","measured editor classification","actual host and drawing theme","visible uncovered tool","trusted pointer selects and draws","device edit saves to disk"],"requested":{"id":"desktop-wide-tray-light","mobile":false,"width":1200,"height":900,"mode":"tray","theme":"light","formFactor":"desktop","input":"mouse","pane":"fullscreen"},"actual":{"viewport":{"width":1200,"height":900},"retiredRestoredOwnedEditors":0,"paneBefore":{"x":44,"y":40,"width":856,"height":860,"top":40,"right":900,"bottom":900,"left":44},"fullscreen":true,"editorBounds":{"x":1,"y":0,"width":1198,"height":900,"right":1199,"bottom":900},"canvas":{"x":1,"y":0,"width":1198,"height":900,"right":1199,"bottom":900},"tool":{"x":467.609375,"y":12,"width":28.796875,"height":30,"right":496.40625,"bottom":42},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"mobile":false,"maxTouchPoints":2,"coarsePointer":false,"events":[{"trusted":true,"pointerType":"mouse"}]},"status":"passed","windowEvents":[],"browserDiagnostics":[],"cliErrors":{"raw":"No errors captured.","diagnostics":[],"unexpected":[]},"browserIdle":{"status":"passed","label":"desktop-wide-tray-light","started":1793335782114,"completed":1793335783208,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793335782114,"geometry":[["workspace-leaf mod-active",44,40,856,860],["workspace-leaf",900,40,300,860]],"eventCount":0},{"at":1793335782219,"geometry":[["workspace-leaf mod-active"Line truncated
|
||||
"negativeControls": {"schemaVersion":2,"suiteId":"native-error-oracle","status":"passed","cleanup":"passed","source":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}]},"tests":[{"testId":"native:diagnostics-rejects-unhandled","featureIds":["P11"],"status":"passed","assertions":["actual uncaught host exception captured by a fresh owned stream","ordinary clean-error oracle rejects it","no unrelated error is filtered"]},{"testId":"native:diagnostics-rejects-broken-layout","featureIds":["P11"],"status":"passed","assertions":["actual workspace geometry measured","ordinary native task/case collector rejects deliberately wrong width","negative-control cleanup passes"]}],"initialCLIErrors":{"raw":"No errors captured.\n","diagnostics":[],"unexpected":[]},"captured":[{"kind":"exception","timestamp":1793336060580.74,"tasks":[],"details":{"columnNumber":250,"exception":{"className":"Error","description":"Error: EXCALIDRAW_TEST_EXCEPTION_2ec1f8f43fd145db85afc4814b00f90f\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)","objectId":"7032996421866244547.112.36","preview":{"description":"Error: EXCALIDRAW_TEST_EXCEPTION_2ec1f8f43fd145db85afc4814b00f90f\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)","overflow":false,"properties":[{"name":"stack","type":"string","value":"Error: EXCALIDRAW_TEST_EXCEPTION_2ec1f8f43fd145db8…obsidian.md/app.js:1:1638663), <anonymous>:1:251)"},{"name":"message","type":"string","value":"EXCALIDRAW_TEST_EXCEPTION_2ec1f8f43fd145db85afc4814b00f90f"}],"subtype":"error","type":"object"},"subtype":"error","type":"object"},"exceptionId":1,"executionContextId":112,"lineNumber":0,"scriptId":"9784","stackTrace":{"callFrames":[{"columnNumber":250,"functionName":"eval","lineNumber":0,"scriptId":"9784","url":""}]},"text":"Uncaught"},"messages":["Error: EXCALIDRAW_TEST_EXCEPTION_2ec1f8f43fd145db85afc4814b00f90f\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)"]}],"layoutNegativeControl":[{"testId":"negative-control:broken-layout","featureIds":["P11"],"status":"failed","reason":"Error: INTENTIONAL_LAYOUT_MISMATCH: 1024 !== 1041\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:85:36)\n at c.case (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:46:30)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:83:85)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:64:24)\n at installTask (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:81:5)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:83:3)\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:1)\n at eval (<anonymous>)\n at e.<anonymous> (app://obsidian.md/app.js:1:1638663)\n at app://obsidian.md/app.js:1:254188"}]},
|
||||
"identityAccounting": {"policy":"New/reused identity accounting only; a call or inventory entry does not establish behavior.","lanes":[{"suiteId":"native-current-required","total":357,"reused":84,"new":273,"passed":357}],"removedOrReplaced":[],"notRunInProfile":[],"native":{"pluginCommandCases":6,"hostEAAndTrustedInputCases":351,"emulatedContextCases":126,"physicalDeviceCases":0,"commandCaseIds":["native:behavior:main:cli-atomic-targeted-edit","native:behavior:split:cli-atomic-targeted-edit","native:behavior:nested-split:cli-atomic-targeted-edit","native:behavior:popout:cli-atomic-targeted-edit","native-cli-authoring","lucide-3019"],"mobileProtocolCases":2,"mobileProtocolCaseIds":["native:behavior:phone:cli-atomic-targeted-edit","native:behavior:tablet:cli-atomic-targeted-edit"]},"newCaseIds":["native:behavior:main:settings-01","native:behavior:main:settings-02","native:behavior:main:settings-03","native:behavior:main:settings-04","native:behavior:main:settings-05","native:behavior:main:settings-06","native:behavior:main:settings-07","native:behavior:main:settings-08","native:behavior:main:settings-09","native:behavior:main:settings-10","native:behavior:main:settings-11","native:behavior:main:settings-12","native:behavior:main:settings-13","native:behavior:main:settings-14","native:behavior:main:settings-15","native:behavior:main:settings-16","native:behavior:main:export-01","native:behavior:main:export-02","native:behavior:main:export-03","native:behavior:main:export-04","native:behavior:main:export-05","native:behavior:main:export-06","native:behavior:main:export-07","native:behavior:main:export-08","native:behavior:main:export-09","native:behavior:main:export-10","native:behavior:main:export-11","native:behavior:main:export-12","native:behavior:main:export-frame-padding-policy","native:behavior:main:settings-live-persistence","native:behavior:main:frontmatter-prefixes-theme-scale","native:behavior:main:cli-atomic-targeted-edit","native:behavior:main:markdown-reading","native:behavior:main:markdown-live-preview","native:behavior:main:markdown-source-edit","native:behavior:main:raw-parsed-text","native:behavior:main:images-shared-crops","native:behavior:main:images-source-edit-missing","native:behavior:main:drawing-and-markdown-embeds","native:behavior:main:ea-selection-groups-bindings-frames","native:behavior:main:ea-hooks-targeting-invalid","native:behavior:main:command-palette-selection-cancel","native:behavior:main:toolbar-context-shortcuts","native:behavior:split:settings-01","native:behavior:split:settings-02","native:behavior:split:settings-03","native:behavior:split:settings-04","native:behavior:split:settings-05","native:behavior:split:settings-06","native:behavior:split:settings-07","native:behavior:split:settings-08","native:behavior:split:settings-09","native:behavior:split:settings-10","native:behavior:split:settings-11","native:behavior:split:settings-12","native:behavior:split:settings-13","native:behavior:split:settings-14","native:behavior:split:settings-15","native:behavior:split:settings-16","native:behavior:split:export-01","native:behavior:split:export-02","native:behavior:split:export-03","native:behavior:split:export-04","native:behavior:split:export-05","native:behavior:split:export-06","native:behavior:split:export-07","native:behavior:split:export-08","native:behavior:split:export-09","native:behavior:split:export-10","native:behavior:split:export-11","native:behavior:split:export-12","native:behavior:split:export-frame-padding-policy","native:behavior:split:settings-live-persistence","native:behavior:split:frontmatter-prefixes-theme-scale","native:behavior:split:cli-atomic-targeted-edit","native:behavior:split:markdown-reading","native:behavior:split:markdown-live-preview","native:behavior:split:markdown-source-edit","native:behavior:split:raw-parsed-text","native:behavior:split:images-shared-crops","native:behavior:split:images-source-edit-missing","native:behavior:split:drawing-and-markdown-embeds","native:behavior:split:ea-selection-groups-bindings-frames","native:behavior:split:ea-hooks-targeting-invalid","native:behavior:split:command-palette-selection-cancel","native:behavior:split:toolbar-context-shortcuts","native:behavior:nested-split:settings-01","native:behavior:nested-split:settings-02","native:behavior:nested-split:settings-03","native:behavior:nested-split:settings-04","native:behavior:nested-split:settings-05","native:behavior:nested-split:settings-06","native:behavior:nested-split:settings-07","native:behavior:nested-split:settings-08","native:behavior:nested-split:settings-09","native:behavior:nested-split:settings-10","native:behavior:nested-split:settings-11","native:behavior:nested-split:settings-12","native:behavior:nested-split:settings-13","native:behavior:nested-split:settings-14","native:behavior:nested-split:settings-15","native:behavior:nested-split:settings-16","native:behavior:nested-split:export-01","native:behavior:nested-split:export-02","naLine truncated
|
||||
},
|
||||
{
|
||||
"report": "2026-10-30-native-repeat-2-9b2874ba",
|
||||
"status": "failed",
|
||||
"error": "Required native scenario lucide-3019 is failed: Browser did not reach stable geometry and notification-free idle",
|
||||
"startedAt": "2026-10-30T04:56:59.633Z",
|
||||
"completedAt": "2026-10-30T05:03:09.666Z",
|
||||
"source": {"pluginRevision":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case18.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case1.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case2.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case3.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case4.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case5.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case6.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case7.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case8.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case9.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case10.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case11.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case12.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case13.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case14.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case15.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case16.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case17.excalidraw.md","__excalidraw_cli_smoke_6025d702-a819-4718-b681-08693341b260_case18.excalidraw.md"]},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"5877ab2c5e3f7040c6ed594e53cd429a0ac8cec2be5d15e20bed939d31b12d83"}},
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-3119ab86-f46e-4552-afbd-a3d42927b9b6\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"scenarios": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"behavior-matrix","status":"passed","tests":[{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"7ddd554fb0fc35e3","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"7ddd554fb0fc35e3","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"7ddd554fb0fc35e3","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackets":false,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":Line truncated
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793336223270,"completed":1793336224378,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793336223270,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336223379,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336223488,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336223598,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336223709,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336223820,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336223932,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336224043,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336224155,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336224267,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793336224378,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"windowEvents": {"rawEventCount":702,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["6e72eb20cc8cebb945da5d4eca3b8a5eaccbaf81cfcb8ab7d5c70b937c3d155e","7d071afd7b5d5be3c9e06318b21d6017a6b73439260e0d6028ea987b683877c9","8052d42e8ce9ab832891f14083e1aeb2bb1aab9085940bb275f5bb20d9036452","345da683c22321a8c88069a8bbd7a3c9cf4622dd25d3e95be1f9cf752f499a6f","5f4b1dd46227907a4e493cfed7e6a0686253ec1dd94d646d028c9e2a9a2a946a","ced38cd45756609233808b17ddfcbb52ee82875a9e8525acd7c30d7e43b22f30","f54f581471a784ca1ae202f32421a9aedf5d24160c6868472568c1e5964158f4","4e277665d09b78b110bfa32ddf7933095002800ca7a95c859b4fbddc3262073c","824d863b2caa54e1b6e5324a48e72e148dcdfb9b79b72ce985008176ccc34fea","4741597e71f698ae30b09cc62780f0b63fb9fbc74141a38e8fa5b6583c888a5c","08407dfad68f8b84d1f2ab85ed9950f8cac67005e62db61cf563302d5396067c","e6c8e353e6ac51704723ebfc5a10f6f1ad46cee3165baf3151b70e6d8e44b092","353377098ee7422d9c5f57c6ea4f22d346d939632e38b1219c5472d4d27b5888","5f8fb15cc18c0a0561468da37030b3d6b1581838cf74d9965d4b4e9343c006f5","bb141973e32aede620bbf089ef76a214343bd9a17c4596591047942b5bfcf5a8","7907eff6ccb39b1fcf635d6f26149ff6f72534cb18496389656c1fc53dbd5dd1","a8c23c38830b11e7b2312c8507962152e5598334874ecf6635e2e03b9a9d9f1b","d1e2d5c4cc479febdce02cbd79414b2ab950d5a029f802cf65fbcbaf37e5f9d8","c73d650ffc4a116b76d36edaafc08c08785a9dbe789a6a8d5654f9007f088353","81e09e8bb0ebd97ea8c2ea53a69e8c628481f33be4ecd606cd096b54e1d5dfb7","f000e7ec91b653c811cdf84a1886afbbc4e277c28821f8bcb843a0646f0b1330","13ff71dd1cb00cab28c2d7bb98801ce564ce4c1ab4d9f9cfe87e87b6ac163cb9","db4e1d0179a5f0334467e3cdcf475e7275ad12f22961a4ca89a23ac9379daa39","dac60e1be3443ca738d8aebe6efbe15f03ec7279df2250062beb06454362c4b2","b5606307ffdd6131c58b932ffd52a77b8fb57bf54012f33a5ab9177255472db3","f53a5682747207bb9ec0e1ef55f111fbb6abb90bfc2cb9994880b3d1425c48f1","073e4b97e070400578802cd6be994f10b4bf6c5f9ea9c055e0dc95a12d26513b","970a92fdc34b58239fd8542f8413845ceb9fa6506aaf5abb02d862d7df8b940a","f017d7968ee8bd9790b2c083e41873cab30318f0e6703e6f052891b88ca3abbd","5558a100f676de6e49beb572baaab788f1189b00c3a44de5b9cd8fb813151731","0a82a2299a43aa4e5b936d751d6e931e3e1f2e61c0b37c96cc7c9ff474446f39","297781ad0f6008df4f6d93259d3d7588ab5ecb4c3cfcd94b74336cfe679251d2","982031f89ae1ea8e66ca1ec744ec3cab780d0d7227b41378e7a4d0d34fcda9c0","7adc45755cf3df2a1b0ce95124b8369be236dc7e7f2fcd01ed2dcfa8a2db5f3b","872eed65f02a09f09130d64d831331088fabf3bacfa59aec5685166c36f568fa","34601283b78f7f52ff0c0092f0f21f6d2c66b4c1ef90b823abf734a551d46779","481ff1073c0815edd7d0d5aed20f17df96051e729d51a9adb60b8a619f36b1ce","023f49267478be3df939ed0def03ac1f70d4f751ea25c6f55767ae043ea3af39","59bd1e760958145b4a5b548152f13ec645129d74dcb8ff97ea96cdb449e37252","ead9127b3a81c808a46362f60e334ee7e9d8ea4084b693167790381f1eedce56","fa8b96c07f3c021a641e52e0462fe42f048574ba6cb0258900f26dfa01df997a","be6e1388972ee8856048e46ca227467e830a04db42a090723ef1bb3d953b7269","321d31bee8c6741452ed529632dc09604e4f0f46a4d8a2f88b1c07777ecd9ba2","05b216a82e7b0e9d6f6cf9917544a8c1fbf8398352cab5691ed11ba05f743526","91341142fe3b895fc26fd0d198df0efe627f0fef63690972f981e08a37984929","eaf502e5b989136dc3330f07fde497776bdbfce6994661bd07eba4bddaa07070","a8fcf5b2e73a7e1319387c0006ae58ce9ca858910ca9295597c5bc398af873e7","debe1d3e95e6d65d93a74fb1fb6a0af081b261b8d4447eb3df22643d63855400","20b59f81591ee4ea0c1512a313c7858cb2f2655baec9fe651aa84fe740a8a3f0","fdc9a13de507d91ae82d092f4acf6aca405a2c9be1b98f4545e8596607d5e928","b63df69f80f461066610383855784f10f4e18c437b59d589ad4db003cd18e29f","d29e47bfb30fccc4ebf2fe5ba498c7b31a6ba241c4abc149966642e5e3ec4678","4148bd2f23de6033b5e226a60c89ef463d805aa68e3acef17001f72c14c98b77","5a5a4dcda63707dfd5348033edec715e02ee4cd1292405806cc367c59bf435fa","8974e00486d767c1c55daf7100736cb4f2d8238c9a16565f6130002064e0b591","c316fd6795ef06d370834a727fb5224fd79fb6dee29ab94aa438d4c40ec6abb3","bd70fd86280993486c31cfc970a3806329a737909a2e70594cac591e3a76c2a9","c9da07776c33da5246889254f96d9a6ff076fe4145e3b411c1d73dc8940dbd50","35f83a3b584f4b05ed9fc62b2ba7747cae0f5c862b0cb54ed9b4ea664031bd58","46c1ffd86d42779b4927a0be6fd55c49299506277d9891cbae8f1fce0ace9509","9953e830cf6d9a1d507d0977811ac152903247a5aec92b57f1f1fcccc5218c19","29282e93fce6446d602948d8193b549f18a02e0b78e59a99d8bd21525b21cdfe","626591b5ef354494084dee5a0d210c41ec40064b15a6fad9ca93459ead276257","411b52f4c2a773cc577b89b30e74f3732ac857b16ee74fd5ed84813fe3ec9418","0bcbb9acd010ffa0a6a293e7ef0e900615d8a7e4daed8cc76d9a5b636a1a23e2","48ed836d0d417f9c6b93ce95d5b8451453c8e59e66d263c6a913c8d7ee36f00f","cbe85482a776d62e2d8975deeae5fee3d47fb6fc7ed94544d64b7a2eb93c913b","dc965d666e24a512f5e4709a24f89e4823e75989a52d6d79954d97baf6771815","24365c670d339749490ed815bf7df51455f08440bd749a5be2d47a1b07ae40ef","42ca49ec5c758c0e60285f26806b365ea81b8f490e5ff96dcbc495c7bab659ec","37236b2aca734a971d32a08026e497f6f17c49125813b5918a344705b7e09599","50e23d5360a8651a586273171c56471f26e84591bf85f2a015ee865bb90a111d","bcb09cbbbf5d273de717242dcf318a9c05640892d69f59f6859d1fe066c0eb4Line truncated
|
||||
"browserDiagnostics": {"diagnostics":{"rawEventCount":702,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["6e72eb20cc8cebb945da5d4eca3b8a5eaccbaf81cfcb8ab7d5c70b937c3d155e","7d071afd7b5d5be3c9e06318b21d6017a6b73439260e0d6028ea987b683877c9","8052d42e8ce9ab832891f14083e1aeb2bb1aab9085940bb275f5bb20d9036452","345da683c22321a8c88069a8bbd7a3c9cf4622dd25d3e95be1f9cf752f499a6f","5f4b1dd46227907a4e493cfed7e6a0686253ec1dd94d646d028c9e2a9a2a946a","ced38cd45756609233808b17ddfcbb52ee82875a9e8525acd7c30d7e43b22f30","f54f581471a784ca1ae202f32421a9aedf5d24160c6868472568c1e5964158f4","4e277665d09b78b110bfa32ddf7933095002800ca7a95c859b4fbddc3262073c","824d863b2caa54e1b6e5324a48e72e148dcdfb9b79b72ce985008176ccc34fea","4741597e71f698ae30b09cc62780f0b63fb9fbc74141a38e8fa5b6583c888a5c","08407dfad68f8b84d1f2ab85ed9950f8cac67005e62db61cf563302d5396067c","e6c8e353e6ac51704723ebfc5a10f6f1ad46cee3165baf3151b70e6d8e44b092","353377098ee7422d9c5f57c6ea4f22d346d939632e38b1219c5472d4d27b5888","5f8fb15cc18c0a0561468da37030b3d6b1581838cf74d9965d4b4e9343c006f5","bb141973e32aede620bbf089ef76a214343bd9a17c4596591047942b5bfcf5a8","7907eff6ccb39b1fcf635d6f26149ff6f72534cb18496389656c1fc53dbd5dd1","a8c23c38830b11e7b2312c8507962152e5598334874ecf6635e2e03b9a9d9f1b","d1e2d5c4cc479febdce02cbd79414b2ab950d5a029f802cf65fbcbaf37e5f9d8","c73d650ffc4a116b76d36edaafc08c08785a9dbe789a6a8d5654f9007f088353","81e09e8bb0ebd97ea8c2ea53a69e8c628481f33be4ecd606cd096b54e1d5dfb7","f000e7ec91b653c811cdf84a1886afbbc4e277c28821f8bcb843a0646f0b1330","13ff71dd1cb00cab28c2d7bb98801ce564ce4c1ab4d9f9cfe87e87b6ac163cb9","db4e1d0179a5f0334467e3cdcf475e7275ad12f22961a4ca89a23ac9379daa39","dac60e1be3443ca738d8aebe6efbe15f03ec7279df2250062beb06454362c4b2","b5606307ffdd6131c58b932ffd52a77b8fb57bf54012f33a5ab9177255472db3","f53a5682747207bb9ec0e1ef55f111fbb6abb90bfc2cb9994880b3d1425c48f1","073e4b97e070400578802cd6be994f10b4bf6c5f9ea9c055e0dc95a12d26513b","970a92fdc34b58239fd8542f8413845ceb9fa6506aaf5abb02d862d7df8b940a","f017d7968ee8bd9790b2c083e41873cab30318f0e6703e6f052891b88ca3abbd","5558a100f676de6e49beb572baaab788f1189b00c3a44de5b9cd8fb813151731","0a82a2299a43aa4e5b936d751d6e931e3e1f2e61c0b37c96cc7c9ff474446f39","297781ad0f6008df4f6d93259d3d7588ab5ecb4c3cfcd94b74336cfe679251d2","982031f89ae1ea8e66ca1ec744ec3cab780d0d7227b41378e7a4d0d34fcda9c0","7adc45755cf3df2a1b0ce95124b8369be236dc7e7f2fcd01ed2dcfa8a2db5f3b","872eed65f02a09f09130d64d831331088fabf3bacfa59aec5685166c36f568fa","34601283b78f7f52ff0c0092f0f21f6d2c66b4c1ef90b823abf734a551d46779","481ff1073c0815edd7d0d5aed20f17df96051e729d51a9adb60b8a619f36b1ce","023f49267478be3df939ed0def03ac1f70d4f751ea25c6f55767ae043ea3af39","59bd1e760958145b4a5b548152f13ec645129d74dcb8ff97ea96cdb449e37252","ead9127b3a81c808a46362f60e334ee7e9d8ea4084b693167790381f1eedce56","fa8b96c07f3c021a641e52e0462fe42f048574ba6cb0258900f26dfa01df997a","be6e1388972ee8856048e46ca227467e830a04db42a090723ef1bb3d953b7269","321d31bee8c6741452ed529632dc09604e4f0f46a4d8a2f88b1c07777ecd9ba2","05b216a82e7b0e9d6f6cf9917544a8c1fbf8398352cab5691ed11ba05f743526","91341142fe3b895fc26fd0d198df0efe627f0fef63690972f981e08a37984929","eaf502e5b989136dc3330f07fde497776bdbfce6994661bd07eba4bddaa07070","a8fcf5b2e73a7e1319387c0006ae58ce9ca858910ca9295597c5bc398af873e7","debe1d3e95e6d65d93a74fb1fb6a0af081b261b8d4447eb3df22643d63855400","20b59f81591ee4ea0c1512a313c7858cb2f2655baec9fe651aa84fe740a8a3f0","fdc9a13de507d91ae82d092f4acf6aca405a2c9be1b98f4545e8596607d5e928","b63df69f80f461066610383855784f10f4e18c437b59d589ad4db003cd18e29f","d29e47bfb30fccc4ebf2fe5ba498c7b31a6ba241c4abc149966642e5e3ec4678","4148bd2f23de6033b5e226a60c89ef463d805aa68e3acef17001f72c14c98b77","5a5a4dcda63707dfd5348033edec715e02ee4cd1292405806cc367c59bf435fa","8974e00486d767c1c55daf7100736cb4f2d8238c9a16565f6130002064e0b591","c316fd6795ef06d370834a727fb5224fd79fb6dee29ab94aa438d4c40ec6abb3","bd70fd86280993486c31cfc970a3806329a737909a2e70594cac591e3a76c2a9","c9da07776c33da5246889254f96d9a6ff076fe4145e3b411c1d73dc8940dbd50","35f83a3b584f4b05ed9fc62b2ba7747cae0f5c862b0cb54ed9b4ea664031bd58","46c1ffd86d42779b4927a0be6fd55c49299506277d9891cbae8f1fce0ace9509","9953e830cf6d9a1d507d0977811ac152903247a5aec92b57f1f1fcccc5218c19","29282e93fce6446d602948d8193b549f18a02e0b78e59a99d8bd21525b21cdfe","626591b5ef354494084dee5a0d210c41ec40064b15a6fad9ca93459ead276257","411b52f4c2a773cc577b89b30e74f3732ac857b16ee74fd5ed84813fe3ec9418","0bcbb9acd010ffa0a6a293e7ef0e900615d8a7e4daed8cc76d9a5b636a1a23e2","48ed836d0d417f9c6b93ce95d5b8451453c8e59e66d263c6a913c8d7ee36f00f","cbe85482a776d62e2d8975deeae5fee3d47fb6fc7ed94544d64b7a2eb93c913b","dc965d666e24a512f5e4709a24f89e4823e75989a52d6d79954d97baf6771815","24365c670d339749490ed815bf7df51455f08440bd749a5be2d47a1b07ae40ef","42ca49ec5c758c0e60285f26806b365ea81b8f490e5ff96dcbc495c7bab659ec","37236b2aca734a971d32a08026e497f6f17c49125813b5918a344705b7e09599","50e23d5360a8651a586273171c56471f26e84591bf85f2a015ee865bb90a111d","bcb09cbbbf5d273de717242dcf318a9c05640892d6Line truncated
|
||||
"unexpectedConsoleErrors": [],
|
||||
"consoleErrors": [{"kind":"console","messages":["Error: EXCALIDRAW_OWNED_WRITE_FAILURE\n at t.faulty [as modify] (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:163:89)\n at Ix.<anonymous> (app://obsidian.md/app.js:1:2808857)\n at app://obsidian.md/app.js:1:254188\n at Object.next (app://obsidian.md/app.js:1:254293)\n at a (app://obsidian.md/app.js:1:253011) [{\"name\":\"stack\",\"type\":\"string\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.fau…293)\\n at a (app://obsidian.md/app.js:1:253011)\"},{\"name\":\"message\",\"type\":\"string\",\"value\":\"EXCALIDRAW_OWNED_WRITE_FAILURE\"}]"]},{"kind":"console","messages":["Object [{\"name\":\"plugin\",\"type\":\"string\",\"value\":\"Excalidraw\"},{\"name\":\"where\",\"type\":\"string\",\"value\":\"ExcalidrawView.save\"},{\"name\":\"fn\",\"type\":\"string\",\"value\":\"save\"},{\"name\":\"error\",\"subtype\":\"error\",\"type\":\"object\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.faulty [as modify] (eval at <anonymous> (eval at <an…\"}]"]}],
|
||||
"cliErrors": {"raw":"06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:02 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.\n\n06:03:03 ResizeObserver loop completed with undelivered notifications.","diagnostics":["06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObserver loop completed with undelivered notifications.","06:03:02 ResizeObLine truncated
|
||||
"cleanupCLIErrors": {"raw":"06:03:07 ResizeObserver loop completed with undelivered notifications.\n\n06:03:07 ResizeObserver loop completed with undelivered notifications.\n\n06:03:07 ResizeObserver loop completed with undelivered notifications.\n\n06:03:07 ResizeObserver loop completed with undelivered notifications.\n\n06:03:07 ResizeObserver loop completed with undelivered notifications.\n\n06:03:07 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.\n\n06:03:08 ResizeObserver loop completed with undelivered notifications.","diagnostics":["06:03:07 ResizeObserver loop completed with undelivered notifications.","06:03:07 ResizeObserver loop completed with undelivered notifications.","06:03:07 ResizeObserver loop completed with undelivered notifications.","06:03:07 ResizeObserver loop completed with undelivered notifications.","06:03:07 ResizeObserver loop completed with undelivered notifications.","06:03:07 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 ResizeObserver loop completed with undelivered notifications.","06:03:08 RLine truncated
|
||||
"cleanupIdle": {"status":"failed","label":"native-main","reason":"Browser did not reach stable geometry and notification-free idle","started":1793336583521,"completed":1793336588579,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793336583521,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":385},{"at":1793336583631,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":392},{"at":1793336583732,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":398},{"at":1793336583838,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":404},{"at":1793336583939,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":410},{"at":1793336584040,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":416},{"at":1793336584147,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":423},{"at":1793336584261,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":429},{"at":1793336584364,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":436},{"at":1793336584465,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":442},{"at":1793336584576,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":448},{"at":1793336584681,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":455},{"at":1793336584783,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":461},{"at":1793336584883,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":467},{"at":1793336584984,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":473},{"at":1793336585096,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":479},{"at":1793336585198,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":486},{"at":1793336585298,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":492},{"at":1793336585408,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":498},{"at":1793336585517,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":505},{"at":1793336585627,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":511},{"at":1793336585733,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":518},{"at":1793336585846,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":524},{"at":1793336585951,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":531},{"at":1793336586063,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":537},{"at":1793336586166,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":544},{"at":1793336586267,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":550},{"at":1793336586376,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":556},{"at":1793336586477,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":562},{"at":1793336586579,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":568},{"at":1793336586683,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":575},{"at":1793336586798,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":581},{"at":1793336586899,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":588},{"at":1793336587002,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":594},{"at":1793336587104,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":600},{"at":1793336587209,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":606},{"at":1793336587316,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":Line truncated
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]},
|
||||
"aggregate": {"status":"failed","requiredCases":357,"recordedRequired":357,"passedRequired":350,"failedRequired":7,"missing":[],"cases":[{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"7ddd554fb0fc35e3","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"7ddd554fb0fc35e3","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"7ddd554fb0fc35e3","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackeLine truncated
|
||||
"devices": {"schemaVersion":2,"suiteId":"native-devices","status":"failed","cleanup":"passed","tests":[{"testId":"native:device:desktop-wide-full-light","featureIds":["P07","P08"],"assertions":["actual Obsidian mobile/desktop mode","measured editor classification","actual host and drawing theme","visible uncovered tool","trusted pointer selects and draws","device edit saves to disk"],"requested":{"id":"desktop-wide-full-light","mobile":false,"width":1200,"height":900,"mode":"full","theme":"light","formFactor":"desktop","input":"mouse","pane":"fullscreen"},"actual":{"viewport":{"width":1200,"height":900},"retiredRestoredOwnedEditors":0,"paneBefore":{"x":44,"y":40,"width":856,"height":860,"top":40,"right":900,"bottom":900,"left":44},"fullscreen":true,"editorBounds":{"x":1,"y":0,"width":1198,"height":900,"right":1199,"bottom":900},"canvas":{"x":1,"y":0,"width":1198,"height":900,"right":1199,"bottom":900},"tool":{"x":470.8125,"y":12,"width":28.796875,"height":30,"right":499.609375,"bottom":42},"editorInterface":{"formFactor":"desktop","desktopUIMode":"full","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"mobile":false,"maxTouchPoints":2,"coarsePointer":false,"events":[{"trusted":true,"pointerType":"mouse"}]},"status":"failed","windowEvents":{"rawEventCount":508,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["ea7638e548feca9e76e67c2ae703b47c04005bff7e8f05ba07325e491dbf76b1","5b7e906e54adb40bae9a4a3c579478e5f45bc13d89125bff30442e163af25b2a","f25d7e5b7a7362c90ec71f4c9aa109e7fddf580da65d367938b251a8e2cd1c26","083b0a7604d9f60da74a54ec718506d0a195117ecc1b9e885556c85308468a5e","039c0da01a93ea1343a3463f5f452712168e90a5ed5abdc8f6ca99a0a3000a2c","025294c2c436d618ed4d93e16d6aa7ed719ca6f9fb19ece87fa841b8edaecd18","1ca1acfe2e292a194579b4879fea0c4c021994974bf167c7ae7783a5b45b858b","b004299c00d58c4f430010f78b181e2a44eae8b77fca59b3cb095b3edbfebae5","2d0d292e85a2796f7cc338ac6ccdd4fb12304e20843edce013ea8ee0fbdfa3ba","0943a1e5ff5312b72896a0f617f4f60b6006708857abdcc9cffc2623f164a349","e4fe651e331f030329b025a601d87923b4c53ae47944757b51a654a2cfbe8934","4f5536c1011317a674de8a85490712155ffcae007021741c6219a48f32ce7c66","4714caf2c2596b36114a16ad24f4248f8454966284379277c8d00ee408fcbf14","e1ebb979602fc8fd438dfd7ec801a8f0bcb13d2806ee92f63be64d8c4da60e88","286c1f86a640d150d679d0f72fbc35b65a9bece8fcfd108c05522839a1da2957","14106a72a9ed43b42ff0b7c090a1bdaf3b54767cbdb21f9bdec7b2233250f06a","0b6482adc11758af22242bd98a7b357852492c63497bb7f2d6d3e62e304fed0e","4c32963a675e9f073327e8b986b3a36ab02af57fbbbfe08171398b6532462eeb","b2af00c5204fd2b5ac2d1fbb3dd19ca888e9d7a5c87b4af528df4bd17b81b2d2","b5b4d01186776c9541e1fad5b525f588bf1e82430ba52700f0a6a18f03e984b9","b136405c0d8f8f3b678d2de09af474c76b2828e0b2ef4422cb3d9513b7aaf4ce","c023c5f6879f30dcc24212eee512d1ddd3c6300805ac78b984c996ea797dad19","0e1edd8e81c051b6cbe2755c876fec1928c3b4b4b6163bab9cdc89f73268710b","58a0f705f438693d6d1b829806675cd576111699ff49624d5bb1ca9caeebcf24","aebc92abd8ee8a72c46ce0dec0cabf2ba10e111aeba35a017819fe95b70fec46","0ebb0400154c4e201a4ab34feb736d9f4e9b697c5a3a7454b70bec325b980f19","593b76247610ddd8df00f6576ec210ba9a302395104543efb2372be765bc533a","b4843b893abb44e163cc11aa0070bd1efdee490dd914bc18bd168789697abe96","44dcfaa044fa2228b17f79b144bf3f7ac580a763498df2b5b09ce20ae28feb63","d0bf6866010c5827822f2bae9d83775e7eeedd805997c34f98d9172fe6514ff3","ce44fbabac4c314a9e6c387582eed835d19bae9aee0651385e2f713afac397d3","d513046805a88ed6d78d5821bc7eac759b43e9ca1d82f8f6a034bcd97c653a88","f45b76a169dc18c3ac1acff65754f901865619b8d218df2d22ffa43925de78c8","bd4ba5a886728e936473686a5805ed83830dcbd67266ad7ab703a99b5388037a","1c21cc35e22b834663a78f7cbf8cadec9037debd15750722d58d993c07eec0b1","4fa1bcd52f02d2a986c4b8a13412712329cc79851c2c69ade66e0e79fcfcefe2","95018d330bdeaf443d19a0ced4f0a7a2c3c5fe69309cedc53296cff7e1ed3e64","21118ced22cac2d6c257de5c07351df98b6746d2693e3565cb8cbfbf9b240f58","1cdb4c556706bf87a405e927d2ef079d4d0a836e00dbb692b160ac356c2db412","9ffecc9173c5dde2548676d377b6692210c1815722efdc61a7c5e9594707b5ae","5dfb249295d818253fbcdec0a15d08ab2f40acc938bcac60d8b0fdcf249d47e4","fac33b7f8228a7d5e5263d5ac1ab7d8399131e148f2bb0b6f832c4bdd0a9facd","147492240ef95782669e41c5c2697e35b70c0daccc08156b778102d578d4511c","5187132505ecf62b345e5278a8f8e450ef1c3375371b00eb3031156ab205d8c3","8c1aa9b4d563b9dceaa2602ca5fd03f439c71b50fb3a9e3a99cbb86dfba87156","a88495dd7a9ce4290dbb3774f5c5b469ac4d2de6b906855290cfba8fa05d32d2","ad9a0ee575f744c7a6f97bd78afa1f7904c03085e20933f3732bb03f8b8f3be7","c8094bc42e3f2e3dbcaeda8543526b4a7f9b7f3ca85b74ff7233cf00ade94b42","189458d19c610ad397a85fac51902eb3b1ff46f0535090a555aeb49785876bc7","66efa7127a1cbb2973d2811a51cc17fbc13402f678e233e3c383cd7691b607d5","3bfc4ab3f6a8b41489e614ee9ef0089a9a2b6381faf4018af079b4dc5729fLine truncated
|
||||
"negativeControls": {"schemaVersion":2,"suiteId":"native-error-oracle","status":"passed","cleanup":"passed","source":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}]},"tests":[{"testId":"native:diagnostics-rejects-unhandled","featureIds":["P11"],"status":"passed","assertions":["actual uncaught host exception captured by a fresh owned stream","ordinary clean-error oracle rejects it","no unrelated error is filtered"]},{"testId":"native:diagnostics-rejects-broken-layout","featureIds":["P11"],"status":"passed","assertions":["actual workspace geometry measured","ordinary native task/case collector rejects deliberately wrong width","negative-control cleanup passes"]}],"initialCLIErrors":{"raw":"No errors captured.\n","diagnostics":[],"unexpected":[]},"captured":[{"kind":"exception","timestamp":1793336906427.101,"tasks":[],"details":{"columnNumber":250,"exception":{"className":"Error","description":"Error: EXCALIDRAW_TEST_EXCEPTION_cb67e087df9c41c09d6da5003d51c37e\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)","objectId":"7032996421866244547.172.36","preview":{"description":"Error: EXCALIDRAW_TEST_EXCEPTION_cb67e087df9c41c09d6da5003d51c37e\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)","overflow":false,"properties":[{"name":"stack","type":"string","value":"Error: EXCALIDRAW_TEST_EXCEPTION_cb67e087df9c41c09…obsidian.md/app.js:1:1638663), <anonymous>:1:251)"},{"name":"message","type":"string","value":"EXCALIDRAW_TEST_EXCEPTION_cb67e087df9c41c09d6da5003d51c37e"}],"subtype":"error","type":"object"},"subtype":"error","type":"object"},"exceptionId":2,"executionContextId":172,"lineNumber":0,"scriptId":"16262","stackTrace":{"callFrames":[{"columnNumber":250,"functionName":"eval","lineNumber":0,"scriptId":"16262","url":""}]},"text":"Uncaught"},"messages":["Error: EXCALIDRAW_TEST_EXCEPTION_cb67e087df9c41c09d6da5003d51c37e\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)"]}],"layoutNegativeControl":[{"testId":"negative-control:broken-layout","featureIds":["P11"],"status":"failed","reason":"Error: INTENTIONAL_LAYOUT_MISMATCH: 1024 !== 1041\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:85:36)\n at c.case (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:46:30)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:83:85)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:64:24)\n at installTask (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:81:5)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:83:3)\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:1)\n at eval (<anonymous>)\n at e.<anonymous> (app://obsidian.md/app.js:1:1638663)\n at app://obsidian.md/app.js:1:254188"}]},
|
||||
"identityAccounting": {"policy":"New/reused identity accounting only; a call or inventory entry does not establish behavior.","lanes":[{"suiteId":"native-current-required","total":357,"reused":84,"new":273,"passed":350}],"removedOrReplaced":[],"notRunInProfile":[],"native":{"pluginCommandCases":6,"hostEAAndTrustedInputCases":351,"emulatedContextCases":126,"physicalDeviceCases":0,"commandCaseIds":["native:behavior:main:cli-atomic-targeted-edit","native:behavior:split:cli-atomic-targeted-edit","native:behavior:nested-split:cli-atomic-targeted-edit","native:behavior:popout:cli-atomic-targeted-edit","native-cli-authoring","lucide-3019"],"mobileProtocolCases":2,"mobileProtocolCaseIds":["native:behavior:phone:cli-atomic-targeted-edit","native:behavior:tablet:cli-atomic-targeted-edit"]},"newCaseIds":["native:behavior:main:settings-01","native:behavior:main:settings-02","native:behavior:main:settings-03","native:behavior:main:settings-04","native:behavior:main:settings-05","native:behavior:main:settings-06","native:behavior:main:settings-07","native:behavior:main:settings-08","native:behavior:main:settings-09","native:behavior:main:settings-10","native:behavior:main:settings-11","native:behavior:main:settings-12","native:behavior:main:settings-13","native:behavior:main:settings-14","native:behavior:main:settings-15","native:behavior:main:settings-16","native:behavior:main:export-01","native:behavior:main:export-02","native:behavior:main:export-03","native:behavior:main:export-04","native:behavior:main:export-05","native:behavior:main:export-06","native:behavior:main:export-07","native:behavior:main:export-08","native:behavior:main:export-09","native:behavior:main:export-10","native:behavior:main:export-11","native:behavior:main:export-12","native:behavior:main:export-frame-padding-policy","native:behavior:main:settings-live-persistence","native:behavior:main:frontmatter-prefixes-theme-scale","native:behavior:main:cli-atomic-targeted-edit","native:behavior:main:markdown-reading","native:behavior:main:markdown-live-preview","native:behavior:main:markdown-source-edit","native:behavior:main:raw-parsed-text","native:behavior:main:images-shared-crops","native:behavior:main:images-source-edit-missing","native:behavior:main:drawing-and-markdown-embeds","native:behavior:main:ea-selection-groups-bindings-frames","native:behavior:main:ea-hooks-targeting-invalid","native:behavior:main:command-palette-selection-cancel","native:behavior:main:toolbar-context-shortcuts","native:behavior:split:settings-01","native:behavior:split:settings-02","native:behavior:split:settings-03","native:behavior:split:settings-04","native:behavior:split:settings-05","native:behavior:split:settings-06","native:behavior:split:settings-07","native:behavior:split:settings-08","native:behavior:split:settings-09","native:behavior:split:settings-10","native:behavior:split:settings-11","native:behavior:split:settings-12","native:behavior:split:settings-13","native:behavior:split:settings-14","native:behavior:split:settings-15","native:behavior:split:settings-16","native:behavior:split:export-01","native:behavior:split:export-02","native:behavior:split:export-03","native:behavior:split:export-04","native:behavior:split:export-05","native:behavior:split:export-06","native:behavior:split:export-07","native:behavior:split:export-08","native:behavior:split:export-09","native:behavior:split:export-10","native:behavior:split:export-11","native:behavior:split:export-12","native:behavior:split:export-frame-padding-policy","native:behavior:split:settings-live-persistence","native:behavior:split:frontmatter-prefixes-theme-scale","native:behavior:split:cli-atomic-targeted-edit","native:behavior:split:markdown-reading","native:behavior:split:markdown-live-preview","native:behavior:split:markdown-source-edit","native:behavior:split:raw-parsed-text","native:behavior:split:images-shared-crops","native:behavior:split:images-source-edit-missing","native:behavior:split:drawing-and-markdown-embeds","native:behavior:split:ea-selection-groups-bindings-frames","native:behavior:split:ea-hooks-targeting-invalid","native:behavior:split:command-palette-selection-cancel","native:behavior:split:toolbar-context-shortcuts","native:behavior:nested-split:settings-01","native:behavior:nested-split:settings-02","native:behavior:nested-split:settings-03","native:behavior:nested-split:settings-04","native:behavior:nested-split:settings-05","native:behavior:nested-split:settings-06","native:behavior:nested-split:settings-07","native:behavior:nested-split:settings-08","native:behavior:nested-split:settings-09","native:behavior:nested-split:settings-10","native:behavior:nested-split:settings-11","native:behavior:nested-split:settings-12","native:behavior:nested-split:settings-13","native:behavior:nested-split:settings-14","native:behavior:nested-split:settings-15","native:behavior:nested-split:settings-16","native:behavior:nested-split:export-01","native:behavior:nested-split:export-02","naLine truncated
|
||||
}
|
||||
],
|
||||
"focusedRuns": [
|
||||
{
|
||||
"report": "2026-10-30-core-prefix-bebf652f",
|
||||
"status": "failed",
|
||||
"error": "Required native scenario behavior-matrix is failed: Behavior assertions failed: native:behavior:main:markdown-reading, native:behavior:main:markdown-live-preview, native:behavior:split:markdown-reading, native:behavior:split:markdown-live-preview, native:behavior:nested-split:markdown-reading, native:behavior:nested-split:markdown-live-preview, native:behavior:popout:markdown-reading, native:behavior:popout:markdown-live-preview",
|
||||
"startedAt": "2026-10-30T04:25:05.478Z",
|
||||
"completedAt": "2026-10-30T04:31:31.849Z",
|
||||
"source": {"pluginRevision":"bebf652f5088c98d86ab927860d68d7d57b03502","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"core","node":"v22.22.3","platform":"win32"},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case18.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case1.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case2.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case3.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case4.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case5.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case6.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case7.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case8.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case9.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case10.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case11.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case12.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case13.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case14.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case15.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case16.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case17.excalidraw.md","__excalidraw_cli_smoke_388b39c0-dc46-4c7d-bbaa-4f63d93cac46_case18.excalidraw.md"]},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"bebf652f5088c98d86ab927860d68d7d57b03502","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"8a71fa1627751f12704f072e2898a2486fe16f466de9e83655d1c932c5672c97"}},
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"bebf652f5088c98d86ab927860d68d7d57b03502","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-c8b68d01-6d5e-420e-9f00-8b6b226e54fd\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"cases": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"af88a2847e7d661a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"af88a2847e7d661a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"af88a2847e7d661a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackets":false,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":tLine truncated
|
||||
"scenarios": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"behavior-matrix","status":"failed","reason":"Behavior assertions failed: native:behavior:main:markdown-reading, native:behavior:main:markdown-live-preview, native:behavior:split:markdown-reading, native:behavior:split:markdown-live-preview, native:behavior:nested-split:markdown-reading, native:behavior:nested-split:markdown-live-preview, native:behavior:popout:markdown-reading, native:behavior:popout:markdown-live-preview","tests":[{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"af88a2847e7d661a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"af88a2847e7d661a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"af88a2847e7d661a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded edLine truncated
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793334309035,"completed":1793334310121,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793334309036,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334309148,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334309260,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334309372,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334309473,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334309575,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334309684,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334309794,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334309902,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334310011,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793334310121,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"windowEvents": {"rawEventCount":3605,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["f88102e006a14a352a799baa5ce786f0c60f69bc5daab5a97cdab879b52731dc","fc397d4227d9fd7221d78e0b621162d13891c512601593da21125e96d1a10903","1240f59a5c029789a67286f91090356f08b4ec12821293dcb6c6e9b2b30e51dd","be289dc4633f06a3e504ecfad3490a7c74ab3c1cad80171289a08dcf446bd40c","9375163e3ac7ab72bf58d8967ca10b78974866c650e84cde69468f31e396b0b4","b174759618b89b97dcb731daa9e28692666245724781c9ea6d41f0becefd3df0","be0d642ae84b2516440e72c19c99729c3d2b8512550b3b217b544f9960d743d4","bd883d13e5c59f7eda007f3b9e210deaba272c8cb8d2f561befe1a140acd18b2","408237474029a0ca20660070d8366eae9f7c054fc616d2fcf556a0fd51a1297d","858764d865eae0b4dc6d828c8d2542d74c0421b167c2abc78ee04e9b0134dfce","ef861e3bf8aba7c1be5a353c040d78febabf7a9fb268a7b762def9ce4304989c","853e7931f157968be2a13e0b669c0cb12c39ddffa1659a949ec107a830254f90","2541da2f92bd510832f2308a2eefa6e7a381b5466fd01f1c4fd00324533745e3","77bd100895a76b7aadf17ff930fea54c0697540d5e99838383607fcf79ece94a","314c1a188e6aa206c7886d6e5a543edf9fb164ea7b9c87b1c2397bac10051314","343501d941af0fb69fca71654b2ff7c86ac2082cfb6779db716f89b98a10f782","3cd37c4a9ac7d10c2ff3a1529546c117f7e7879e5cf6f0ed2badab476cb1fdff","feb7224a3524b5b5bf8e44a4bc7f73a01f2259925cc65028519c7c5ae107f082","987910670ac5c37237d71b8b6d84291658e5952d29e76a0df5d898b939b5126d","d602677a7c1b0043962ba79e398dc09f0f4dfb48dfb3cc8b60145801e847aa13","486c60e0d77a234a9485c651755086d9a0e9ca77fe55034797862ab6b2a1dc7e","271909b933f5f51f519132ea228656eafffed1b841f010a469ba8384ff58816d","bc1893070e1e35baf6f51dc376c08f3647cda8cb713e5fa6725ad218ceaa8be7","2d6f636046c0b476b80291e7446fccb32958f984193c5163dae3ed08d6ab642e","9aa53fa875e72fe222179354d15eec9c5cd54f6e37002fbfb06e6c49f42a0597","b5d548071321c863078c1dda5c257350048cd0c1cff8123fbe1ab99669d58603","929159441091aa7b7d0e5933f2ad5a76cf35c32e63973981c050d7dc5a44cccc","69b1bfd211677e2d1d0ac515fcc71f016191c5765e8f602aee47be3d23356d03","863d799f57d94109d79dfe2c3f4c47853c93ab11ea8faec3b9a804226f30df48","5322f925bf91d3d495947b06788765144921849d609a1b7b77c9bfbe3ee6d802","10a3d3adda00521f2a2923092aa61c6bbc5c06662b15ba299b7b7bf467a6bee9","d4401aed1bbd2c15deaf6c76cacdf4230c825717fe6ecc2adc1e7461338601cf","f6aef61634b2ad940566f55a1c547846d834299d5a945db5bdfe6013b866ea76","58487e516b1f6a4119607e840c13c0243850365d474d119ebd874f151ba87f1e","2ab1d40f10ea915c99d0ae0756f4f0ce67ae5181473bf8fc528cd173eb27caad","ac6c30ba72a3f552e07d2128ab6a6b0f629fe524d022049529f72c6e1c7f2c6f","46a24d421b5522a7a4c133c6f3dadda3211fd57f9fc28eff929fe3a9462bfb76","4201cf622323fac0cb85df9698ea30786e28f184fa31e9f89c10fb8205f8271b","31d27eb1b7e8aae3238d27918597a8943d792e2b7282e8b42526fb7f00e62e66","889d05a46afe53b8bf79246d11b6a5bf8b58584eea1d2e0b26f30323bdf57ca3","082775767542a219b1257352e8aa86a3492aa6c84b597db5c3ae5947035ceccf","31f9cb4a1d3c6849bad64a2b7ae29ae572113fdf2de5adf5ec5377f27437b513","cf692a97358aea680fef20eb4c140e0cd84050e9da6d76af04b34126d50edfa1","32c14f82e76279d299ffae2614539bbc2cd60cabcda428ce244360972eb72745","8c547d3196e5d8b99c25ece1686f8e895d7b9bd742d0afbd31457546ff606847","5e14bb165be01fb9ff71d752336aa3571f2cd7da08af74cd8c262f2698b1acf5","c3d04db50e3f50e50e9c6b06cc66a7708b2c1744e0e67278453228e369794964","604256f5177c42c98998fff7a89fe8a66b7d1da30039cf91cfb14c6853fbc8d1","13e7f23c63a525f38f24408e728a9d2687d0d607c14446232873719dc891e120","97fc077c0ec069ba29f44b48d2fb12a5f84f23d0ae0eb50ced009f7c58a2697e","20b2b7c17120341a420564fa4c3dccf56ac4182a2e2adfcb8525b1d407507206","2d2a0e6f61baae4ab2b51cbb6b9bb2ea0136c4867290508ea0e62df70411851a","268d63af07606c8232f96828e8f7fd8455eeab89ebf04e5bcdee2d29d4588d89","5f448a3242e87a7a7263e1eed7475b288538260fafc1dd0e1f9504199b4f04f0","6fa2b96c9592168b406ed1740df8413ca6f293f155d1914d1d493be8a2ecd58c","0efe6fd28bf6b473ee61cb478aba841820a2f35b16e5c079cacf206ed50e26ba","7d3ec18bbdbc17cac080753f5906a3bb5c6385e9ef27f7b6ddca61adcbf52301","b27c3ceaad216e0febb675b9a6482cd8205b9545b5e11eac27d2fbe99745ecc6","2de85611160780583402ec04a437f9d5ca056af364513218f7ce401644834e82","9530c8e16b900fc5e8ebd17772c004ee4220f911a8d6dc49a182ab40e95f8724","8726892e98f8247452f4269e4238f0ed515ed0586f6daf183c930bb31c1b1863","2ee0cecdabd88308b6094fc9616f29f8b76e9b5f27c77ff4a7c31c97766cd8e2","deb8743cd3589dc5593965764d4f271bf92aa3ec977010e9dedf01cb9442481c","613aacd88797335c692dd76181e717e40a79a0004d901d47913059a0421630fb","1b0197a1c8ce36faef7a485fceab4106fbc509bce4873e6d19a60b65676be344","14b450ca1d28aa0441b040f22eaef5c9d50069fc0381aa36b6b8fb7cc77738c2","94f4261b5bd31090fb71fdd2a0c89f680b39003c6296b886c76d707fd60fb92d","19b7d48885afd307147c2b988c0ac18118985665871526cfc1c6386ac2e7db84","631b38904f7ad1dee8151387915cd33e661462db49aedc4e4fdc448f83384eb9","6e6f54b9f51d9732b58ce5814dd687d6eb70bbe479a8754db8e960842d72fdcf","cc6e21152e617ac484db25cfc3d9deb9a058779bc1c353b030ab9a15de280bb0","a1b621ca34b7af1c21b5b5b5a631f4d884902daf43bcbdb5740b4b39c5c366a0","f20191c5af2b1761d3a4e75004a97576437d9f22de5b9ac82539967182d1ceLine truncated
|
||||
"browserDiagnostics": {"diagnostics":{"rawEventCount":3605,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["f88102e006a14a352a799baa5ce786f0c60f69bc5daab5a97cdab879b52731dc","fc397d4227d9fd7221d78e0b621162d13891c512601593da21125e96d1a10903","1240f59a5c029789a67286f91090356f08b4ec12821293dcb6c6e9b2b30e51dd","be289dc4633f06a3e504ecfad3490a7c74ab3c1cad80171289a08dcf446bd40c","9375163e3ac7ab72bf58d8967ca10b78974866c650e84cde69468f31e396b0b4","b174759618b89b97dcb731daa9e28692666245724781c9ea6d41f0becefd3df0","be0d642ae84b2516440e72c19c99729c3d2b8512550b3b217b544f9960d743d4","bd883d13e5c59f7eda007f3b9e210deaba272c8cb8d2f561befe1a140acd18b2","408237474029a0ca20660070d8366eae9f7c054fc616d2fcf556a0fd51a1297d","858764d865eae0b4dc6d828c8d2542d74c0421b167c2abc78ee04e9b0134dfce","ef861e3bf8aba7c1be5a353c040d78febabf7a9fb268a7b762def9ce4304989c","853e7931f157968be2a13e0b669c0cb12c39ddffa1659a949ec107a830254f90","2541da2f92bd510832f2308a2eefa6e7a381b5466fd01f1c4fd00324533745e3","77bd100895a76b7aadf17ff930fea54c0697540d5e99838383607fcf79ece94a","314c1a188e6aa206c7886d6e5a543edf9fb164ea7b9c87b1c2397bac10051314","343501d941af0fb69fca71654b2ff7c86ac2082cfb6779db716f89b98a10f782","3cd37c4a9ac7d10c2ff3a1529546c117f7e7879e5cf6f0ed2badab476cb1fdff","feb7224a3524b5b5bf8e44a4bc7f73a01f2259925cc65028519c7c5ae107f082","987910670ac5c37237d71b8b6d84291658e5952d29e76a0df5d898b939b5126d","d602677a7c1b0043962ba79e398dc09f0f4dfb48dfb3cc8b60145801e847aa13","486c60e0d77a234a9485c651755086d9a0e9ca77fe55034797862ab6b2a1dc7e","271909b933f5f51f519132ea228656eafffed1b841f010a469ba8384ff58816d","bc1893070e1e35baf6f51dc376c08f3647cda8cb713e5fa6725ad218ceaa8be7","2d6f636046c0b476b80291e7446fccb32958f984193c5163dae3ed08d6ab642e","9aa53fa875e72fe222179354d15eec9c5cd54f6e37002fbfb06e6c49f42a0597","b5d548071321c863078c1dda5c257350048cd0c1cff8123fbe1ab99669d58603","929159441091aa7b7d0e5933f2ad5a76cf35c32e63973981c050d7dc5a44cccc","69b1bfd211677e2d1d0ac515fcc71f016191c5765e8f602aee47be3d23356d03","863d799f57d94109d79dfe2c3f4c47853c93ab11ea8faec3b9a804226f30df48","5322f925bf91d3d495947b06788765144921849d609a1b7b77c9bfbe3ee6d802","10a3d3adda00521f2a2923092aa61c6bbc5c06662b15ba299b7b7bf467a6bee9","d4401aed1bbd2c15deaf6c76cacdf4230c825717fe6ecc2adc1e7461338601cf","f6aef61634b2ad940566f55a1c547846d834299d5a945db5bdfe6013b866ea76","58487e516b1f6a4119607e840c13c0243850365d474d119ebd874f151ba87f1e","2ab1d40f10ea915c99d0ae0756f4f0ce67ae5181473bf8fc528cd173eb27caad","ac6c30ba72a3f552e07d2128ab6a6b0f629fe524d022049529f72c6e1c7f2c6f","46a24d421b5522a7a4c133c6f3dadda3211fd57f9fc28eff929fe3a9462bfb76","4201cf622323fac0cb85df9698ea30786e28f184fa31e9f89c10fb8205f8271b","31d27eb1b7e8aae3238d27918597a8943d792e2b7282e8b42526fb7f00e62e66","889d05a46afe53b8bf79246d11b6a5bf8b58584eea1d2e0b26f30323bdf57ca3","082775767542a219b1257352e8aa86a3492aa6c84b597db5c3ae5947035ceccf","31f9cb4a1d3c6849bad64a2b7ae29ae572113fdf2de5adf5ec5377f27437b513","cf692a97358aea680fef20eb4c140e0cd84050e9da6d76af04b34126d50edfa1","32c14f82e76279d299ffae2614539bbc2cd60cabcda428ce244360972eb72745","8c547d3196e5d8b99c25ece1686f8e895d7b9bd742d0afbd31457546ff606847","5e14bb165be01fb9ff71d752336aa3571f2cd7da08af74cd8c262f2698b1acf5","c3d04db50e3f50e50e9c6b06cc66a7708b2c1744e0e67278453228e369794964","604256f5177c42c98998fff7a89fe8a66b7d1da30039cf91cfb14c6853fbc8d1","13e7f23c63a525f38f24408e728a9d2687d0d607c14446232873719dc891e120","97fc077c0ec069ba29f44b48d2fb12a5f84f23d0ae0eb50ced009f7c58a2697e","20b2b7c17120341a420564fa4c3dccf56ac4182a2e2adfcb8525b1d407507206","2d2a0e6f61baae4ab2b51cbb6b9bb2ea0136c4867290508ea0e62df70411851a","268d63af07606c8232f96828e8f7fd8455eeab89ebf04e5bcdee2d29d4588d89","5f448a3242e87a7a7263e1eed7475b288538260fafc1dd0e1f9504199b4f04f0","6fa2b96c9592168b406ed1740df8413ca6f293f155d1914d1d493be8a2ecd58c","0efe6fd28bf6b473ee61cb478aba841820a2f35b16e5c079cacf206ed50e26ba","7d3ec18bbdbc17cac080753f5906a3bb5c6385e9ef27f7b6ddca61adcbf52301","b27c3ceaad216e0febb675b9a6482cd8205b9545b5e11eac27d2fbe99745ecc6","2de85611160780583402ec04a437f9d5ca056af364513218f7ce401644834e82","9530c8e16b900fc5e8ebd17772c004ee4220f911a8d6dc49a182ab40e95f8724","8726892e98f8247452f4269e4238f0ed515ed0586f6daf183c930bb31c1b1863","2ee0cecdabd88308b6094fc9616f29f8b76e9b5f27c77ff4a7c31c97766cd8e2","deb8743cd3589dc5593965764d4f271bf92aa3ec977010e9dedf01cb9442481c","613aacd88797335c692dd76181e717e40a79a0004d901d47913059a0421630fb","1b0197a1c8ce36faef7a485fceab4106fbc509bce4873e6d19a60b65676be344","14b450ca1d28aa0441b040f22eaef5c9d50069fc0381aa36b6b8fb7cc77738c2","94f4261b5bd31090fb71fdd2a0c89f680b39003c6296b886c76d707fd60fb92d","19b7d48885afd307147c2b988c0ac18118985665871526cfc1c6386ac2e7db84","631b38904f7ad1dee8151387915cd33e661462db49aedc4e4fdc448f83384eb9","6e6f54b9f51d9732b58ce5814dd687d6eb70bbe479a8754db8e960842d72fdcf","cc6e21152e617ac484db25cfc3d9deb9a058779bc1c353b030ab9a15de280bb0","a1b621ca34b7af1c21b5b5b5a631f4d884902daf43bcbdb5740b4b39c5c366a0","f20191c5af2b1761d3a4e75004a97576437d9f22dLine truncated
|
||||
"unexpectedConsoleErrors": [{"kind":"expected-error-count","messages":["undefined: observed 0, expected 1–1"]}],
|
||||
"consoleErrors": [{"kind":"console","messages":["Object [{\"name\":\"plugin\",\"type\":\"string\",\"value\":\"Excalidraw\"},{\"name\":\"where\",\"type\":\"string\",\"value\":\"EmbeddedFileLoader._getObsidianImage\"},{\"name\":\"uid\",\"type\":\"string\",\"value\":\"dJO7djSy\"},{\"name\":\"file\",\"type\":\"string\",\"value\":\"__excalidraw_cli_smoke_388b39c0_behavior_main/Behavior-source.svg\"},{\"name\":\"depth\",\"type\":\"number\",\"value\":\"0\"},{\"name\":\"error\",\"type\":\"object\",\"value\":\"Error: ENOENT: no such file or directory, open '<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_main\\\\Behavior-source.svg'\\n at async open (node:internal/original-fs/promises:1345:25)\\n at async Object.readFile (node:internal/original-fs/promises:2003:14)\",\"properties\":[{\"name\":\"errno\",\"type\":\"number\",\"value\":\"-4058\"},{\"name\":\"code\",\"type\":\"string\",\"value\":\"ENOENT\"},{\"name\":\"syscall\",\"type\":\"string\",\"value\":\"open\"},{\"name\":\"path\",\"type\":\"string\",\"value\":\"<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_main\\\\Behavior-source.svg\"},{\"name\":\"stack\",\"type\":\"string\",\"value\":\"Error: ENOENT: no such file or directory, open '<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_main\\\\Behavior-source.svg'\\n at async open (node:internal/original-fs/promises:1345:25)\\n at async Object.readFile (node:internal/original-fs/promises:2003:14)\"},{\"name\":\"message\",\"type\":\"string\",\"value\":\"ENOENT: no such file or directory, open '<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_main\\\\Behavior-source.svg'\"}]}]"]},{"kind":"console","messages":["Object [{\"name\":\"plugin\",\"type\":\"string\",\"value\":\"Excalidraw\"},{\"name\":\"where\",\"type\":\"string\",\"value\":\"EmbeddedFileLoader._getObsidianImage\"},{\"name\":\"uid\",\"type\":\"string\",\"value\":\"TN1PnWCj\"},{\"name\":\"file\",\"type\":\"string\",\"value\":\"__excalidraw_cli_smoke_388b39c0_behavior_split/Behavior-source.svg\"},{\"name\":\"depth\",\"type\":\"number\",\"value\":\"0\"},{\"name\":\"error\",\"type\":\"object\",\"value\":\"Error: ENOENT: no such file or directory, open '<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_split\\\\Behavior-source.svg'\\n at async open (node:internal/original-fs/promises:1345:25)\\n at async Object.readFile (node:internal/original-fs/promises:2003:14)\",\"properties\":[{\"name\":\"errno\",\"type\":\"number\",\"value\":\"-4058\"},{\"name\":\"code\",\"type\":\"string\",\"value\":\"ENOENT\"},{\"name\":\"syscall\",\"type\":\"string\",\"value\":\"open\"},{\"name\":\"path\",\"type\":\"string\",\"value\":\"<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_split\\\\Behavior-source.svg\"},{\"name\":\"stack\",\"type\":\"string\",\"value\":\"Error: ENOENT: no such file or directory, open '<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_split\\\\Behavior-source.svg'\\n at async open (node:internal/original-fs/promises:1345:25)\\n at async Object.readFile (node:internal/original-fs/promises:2003:14)\"},{\"name\":\"message\",\"type\":\"string\",\"value\":\"ENOENT: no such file or directory, open '<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_split\\\\Behavior-source.svg'\"}]}]"]},{"kind":"console","messages":["Object [{\"name\":\"plugin\",\"type\":\"string\",\"value\":\"Excalidraw\"},{\"name\":\"where\",\"type\":\"string\",\"value\":\"EmbeddedFileLoader._getObsidianImage\"},{\"name\":\"uid\",\"type\":\"string\",\"value\":\"vfIoIMrZ\"},{\"name\":\"file\",\"type\":\"string\",\"value\":\"__excalidraw_cli_smoke_388b39c0_behavior_popout/Behavior-source.svg\"},{\"name\":\"depth\",\"type\":\"number\",\"value\":\"0\"},{\"name\":\"error\",\"type\":\"object\",\"value\":\"Error: ENOENT: no such file or directory, open '<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_popout\\\\Behavior-source.svg'\\n at async open (node:internal/original-fs/promises:1345:25)\\n at async Object.readFile (node:internal/original-fs/promises:2003:14)\",\"properties\":[{\"name\":\"errno\",\"type\":\"number\",\"value\":\"-4058\"},{\"name\":\"code\",\"type\":\"string\",\"value\":\"ENOENT\"},{\"name\":\"syscall\",\"type\":\"string\",\"value\":\"open\"},{\"name\":\"path\",\"type\":\"string\",\"value\":\"<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidraw_cli_smoke_388b39c0_behavior_popout\\\\Behavior-source.svg\"},{\"name\":\"stack\",\"type\":\"string\",\"value\":\"Error: ENOENT: no such file or directory, open '<plugin>\\\\.test-work\\\\vaults\\\\excalidraw-auto-test\\\\__excalidLine truncated
|
||||
"cliErrors": {"raw":"05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:22 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.\n\n05:31:23 ResizeObserver loop completed with undelivered notifications.","diagnostics":["05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObserver loop completed with undelivered notifications.","05:31:22 ResizeObLine truncated
|
||||
"cleanupCLIErrors": {"raw":"05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:28 ResizeObserver loop completed with undelivered notifications.\n\n05:31:29 ResizeObserver loop completed with undelivered notifications.\n\n05:31:29 ResizeObserver loop completed with undelivered notifications.\n\n05:31:29 ResizeObserver loop completed with undelivered notifications.\n\n05:31:29 ResizeObserver loop completed with undelivered notifications.\n\n05:31:29 ResizeObserver loop completed with undelivered notifications.\n\n05:31:29 ResizeObserver loop completed with undelivered notifications.","diagnostics":["05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 ResizeObserver loop completed with undelivered notifications.","05:31:28 RLine truncated
|
||||
"cleanupIdle": {"status":"failed","label":"native-main","reason":"Browser did not reach stable geometry and notification-free idle","started":1793334683726,"completed":1793334688824,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793334683726,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3279},{"at":1793334683828,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3285},{"at":1793334683932,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3291},{"at":1793334684035,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3298},{"at":1793334684136,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3304},{"at":1793334684237,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3310},{"at":1793334684343,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3316},{"at":1793334684444,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3322},{"at":1793334684549,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3328},{"at":1793334684653,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3335},{"at":1793334684753,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3341},{"at":1793334684854,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3347},{"at":1793334684954,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3353},{"at":1793334685057,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3359},{"at":1793334685166,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3365},{"at":1793334685270,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3372},{"at":1793334685372,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3378},{"at":1793334685472,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3384},{"at":1793334685577,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3390},{"at":1793334685679,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3396},{"at":1793334685785,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3402},{"at":1793334685888,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3409},{"at":1793334685993,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3415},{"at":1793334686093,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3421},{"at":1793334686197,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3427},{"at":1793334686299,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3433},{"at":1793334686403,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3439},{"at":1793334686505,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3446},{"at":1793334686608,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3452},{"at":1793334686719,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3458},{"at":1793334686822,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3465},{"at":1793334686924,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3471},{"at":1793334687034,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3477},{"at":1793334687139,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3484},{"at":1793334687241,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3490},{"at":1793334687352,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":3496},{"at":1793334687453,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-Line truncated
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}
|
||||
},
|
||||
{
|
||||
"report": "2026-10-30-rendering-focus-9b2874ba",
|
||||
"status": "passed",
|
||||
"startedAt": "2026-10-30T04:40:31.389Z",
|
||||
"completedAt": "2026-10-30T04:41:01.674Z",
|
||||
"source": {"pluginRevision":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"focused","node":"v22.22.3","platform":"win32"},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_6e4f9b4d-24bc-422a-b456-596ca8dcea56.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_6e4f9b4d-24bc-422a-b456-596ca8dcea56.excalidraw.md"]},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"5877ab2c5e3f7040c6ed594e53cd429a0ac8cec2be5d15e20bed939d31b12d83"}},
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-8dfec5ec-50f0-42dc-918d-5f9b66f8857d\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"cases": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:main:markdown-reading","featureIds":["P04","P05"],"status":"passed","assertions":["real reading view","aliases/headings/blocks","table/callout/equation","nested and drawing embeds","decoded images"],"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"58dd1d5750fe895a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"decoded":{"width":4,"height":2,"red":2,"green":2,"blue":2,"transparent":2,"cornerAlpha":0,"redDominant":2,"halfAlphaRed":1,"redOverWhite":0,"dominantOpaque":[0,255,0]},"svgPixels":{"width":225,"height":150,"red":8216,"green":0,"blue":6718,"transparent":17977,"cornerAlpha":255,"redDominant":8361,"halfAlphaRed":7868,"redOverWhite":0,"dominantOpaque":[0,0,0]},"mode":"preview","input":"trusted CDP navigation; renderer inspection"},{"testId":"native:behavior:main:markdown-live-preview","featureIds":["P04","P05"],"status":"passed","assertions":["actual Live Preview mode","table/callout/equation","nested and drawing embeds","decoded images"],"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"58dd1d5750fe895a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"decoded":{"width":4,"height":2,"red":2,"green":2,"blue":2,"transparent":2,"cornerAlpha":0,"redDominant":2,"halfAlphaRed":1,"redOverWhite":0,"dominantOpaque":[0,255,0]},"svgPixels":{"width":225,"height":150,"red":8216,"green":0,"blue":6718,"transparent":17977,"cornerAlpha":255,"redDominant":8361,"halfAlphaRed":7868,"redOverWhite":0,"dominantOpaque":[0,0,0]},"mode":"source","input":"renderer inspection with editor viewport positioning"},{"testId":"native:behavior:main:images-source-edit-missing","featureIds":["P05"],"status":"passed","assertions":["source edits invalidate rendering","missing asset has an explicit outcome","asynchronous completion","restoration"],"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"58dd1d5750fe895a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"before":{"width":160,"height":100,"red":7200,"green":0,"blue":0,"transparent":8800,"cornerAlpha":0,"redDominant":7200,"halfAlphaRed":0,"redOverWhite":0,"dominantOpaque":[255,0,0]},"edited":{"width":160,"height":100,"red":0,"green":0,"blue":7200,"transparent":8800,"cornerAlpha":0,"redDominant":0,"halfAlphaRed":0,"redOverWhite":0,"dominantOpaque":[0,0,255]},"restored":{"width":160,"height":100,"red":0,"green":0,"blue":7200,"transparent":8800,"cornerAlpha":0,"redDominant":0,"halfAlphaRed":0,"redOverWhite":0,"dominantOpaque":[0,0,255]},"missing":{"imageIdRetained":true,"referenceRetained":true}},{"testId":"native:behavior:split:markdown-reading","featureIds":["P04","P05"],"status":"passed","assertions":["real reading view","aliases/headings/blocks","table/callout/equation","nested and drawing embeds","decoded images"],"actual":{"requested":{"id":"split","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"iLine truncated
|
||||
"scenarios": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"behavior-matrix","status":"passed","tests":[{"testId":"native:behavior:main:markdown-reading","featureIds":["P04","P05"],"status":"passed","assertions":["real reading view","aliases/headings/blocks","table/callout/equation","nested and drawing embeds","decoded images"],"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"58dd1d5750fe895a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"decoded":{"width":4,"height":2,"red":2,"green":2,"blue":2,"transparent":2,"cornerAlpha":0,"redDominant":2,"halfAlphaRed":1,"redOverWhite":0,"dominantOpaque":[0,255,0]},"svgPixels":{"width":225,"height":150,"red":8216,"green":0,"blue":6718,"transparent":17977,"cornerAlpha":255,"redDominant":8361,"halfAlphaRed":7868,"redOverWhite":0,"dominantOpaque":[0,0,0]},"mode":"preview","input":"trusted CDP navigation; renderer inspection"},{"testId":"native:behavior:main:markdown-live-preview","featureIds":["P04","P05"],"status":"passed","assertions":["actual Live Preview mode","table/callout/equation","nested and drawing embeds","decoded images"],"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"58dd1d5750fe895a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"decoded":{"width":4,"height":2,"red":2,"green":2,"blue":2,"transparent":2,"cornerAlpha":0,"redDominant":2,"halfAlphaRed":1,"redOverWhite":0,"dominantOpaque":[0,255,0]},"svgPixels":{"width":225,"height":150,"red":8216,"green":0,"blue":6718,"transparent":17977,"cornerAlpha":255,"redDominant":8361,"halfAlphaRed":7868,"redOverWhite":0,"dominantOpaque":[0,0,0]},"mode":"source","input":"renderer inspection with editor viewport positioning"},{"testId":"native:behavior:main:images-source-edit-missing","featureIds":["P05"],"status":"passed","assertions":["source edits invalidate rendering","missing asset has an explicit outcome","asynchronous completion","restoration"],"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"58dd1d5750fe895a","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"before":{"width":160,"height":100,"red":7200,"green":0,"blue":0,"transparent":8800,"cornerAlpha":0,"redDominant":7200,"halfAlphaRed":0,"redOverWhite":0,"dominantOpaque":[255,0,0]},"edited":{"width":160,"height":100,"red":0,"green":0,"blue":7200,"transparent":8800,"cornerAlpha":0,"redDominant":0,"halfAlphaRed":0,"redOverWhite":0,"dominantOpaque":[0,0,255]},"restored":{"width":160,"height":100,"red":0,"green":0,"blue":7200,"transparent":8800,"cornerAlpha":0,"redDominant":0,"halfAlphaRed":0,"redOverWhite":0,"dominantOpaque":[0,0,255]},"missing":{"imageIdRetained":true,"referenceRetained":true}},{"testId":"native:behavior:split:markdown-reading","featureIds":["P04","P05"],"status":"passed","assertions":["real reading view","aliases/headings/blocks","table/callout/equation","nested and drawing embeds","decoded images"],"actual":{"requested":{"id":"split","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"Line truncated
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793335234997,"completed":1793335236090,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793335234997,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335235102,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335235212,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335235320,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335235431,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335235539,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335235647,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335235758,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335235867,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335235978,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793335236090,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"windowEvents": {"rawEventCount":1,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["2cb49e3be78b468537ce97e4488bdd28739f28a4c911a3396c0089d33838af7c"]},
|
||||
"browserDiagnostics": {"diagnostics":{"rawEventCount":1,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["2cb49e3be78b468537ce97e4488bdd28739f28a4c911a3396c0089d33838af7c"]},"unexpected":[]},
|
||||
"unexpectedConsoleErrors": [],
|
||||
"consoleErrors": [],
|
||||
"cliErrors": {"raw":"05:40:53 ResizeObserver loop completed with undelivered notifications.","diagnostics":["05:40:53 ResizeObserver loop completed with undelivered notifications."],"unexpected":[]},
|
||||
"cleanupCLIErrors": {"raw":"05:40:53 ResizeObserver loop completed with undelivered notifications.","diagnostics":["05:40:53 ResizeObserver loop completed with undelivered notifications."],"unexpected":[]},
|
||||
"cleanupIdle": {"status":"passed","label":"native-main","started":1793335259874,"completed":1793335260976,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793335259874,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335259989,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335260099,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335260209,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335260321,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335260431,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335260540,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335260650,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335260757,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335260867,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793335260976,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1}]},
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}
|
||||
},
|
||||
{
|
||||
"report": "2026-10-30-lucide-phase-trace",
|
||||
"status": "passed",
|
||||
"startedAt": "2026-10-30T05:15:05.507Z",
|
||||
"completedAt": "2026-10-30T05:15:25.998Z",
|
||||
"source": {"pluginRevision":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","pluginDirty":true,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"focused","node":"v22.22.3","platform":"win32"},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_ff813cd4-1b9c-43eb-ae04-e6b27657cb5b.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_ff813cd4-1b9c-43eb-ae04-e6b27657cb5b.excalidraw.md"]},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","dirty":true,"diffHash":"987e32f4ca477f7d6ef3a5f9a7eb2bf28e96512afdfb250214b34b1c189fbd49","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"e0a80efb4c4df86dc5dba5f7c750f76f9929b2207546cbbdfca7c3b268a09506"}},
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","diffHash":"987e32f4ca477f7d6ef3a5f9a7eb2bf28e96512afdfb250214b34b1c189fbd49","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-d4ccf267-fe81-4556-b53f-3cdb55519a3c\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"cases": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"id":"lucide-3019","status":"passed","evidenceKind":"native-cli-commands","transport":"native plugin CLI and trusted palette/UI","commands":["icons","create","read","open","apply","export"],"ordinaryInteraction":{"openIdle":{"status":"passed","label":"lucide:ordinary-open-idle","started":1793337312702,"completed":1793337313889,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793337312702,"geometry":[["workspace-leaf",44,40,706,760],["excalidraw-wrapper",45,78,704,722],["workspace-leaf mod-active",733,40,300,760]],"eventCount":0},{"at":1793337312810,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337312911,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313017,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313128,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313236,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313351,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313461,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313571,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313682,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313786,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313889,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0}]},"closedIdle":{"status":"passed","label":"lucide:ordinary-closed-idle","started":1793337314412,"completed":1793337315514,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793337314412,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314519,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314629,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314741,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314851,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314961,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315073,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315185,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315295,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315405,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315514,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0}]},"errors":[],"inputEvents":[{"type":"pointerdown","trusted":true},{"type":"pointerdown","trusted":true},{"type":"pointerdown","trusted":true}],"assertions":["trusted palette opens the registered Lucide command","picker open and closed geometry settles","trusted close button retires the picker taLine truncated
|
||||
"scenarios": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"lucide-3019","status":"passed","evidenceKind":"native-cli-commands","transport":"native plugin CLI and trusted palette/UI","commands":["icons","create","read","open","apply","export"],"ordinaryInteraction":{"openIdle":{"status":"passed","label":"lucide:ordinary-open-idle","started":1793337312702,"completed":1793337313889,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793337312702,"geometry":[["workspace-leaf",44,40,706,760],["excalidraw-wrapper",45,78,704,722],["workspace-leaf mod-active",733,40,300,760]],"eventCount":0},{"at":1793337312810,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337312911,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313017,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313128,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313236,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313351,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313461,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313571,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313682,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313786,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337313889,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0}]},"closedIdle":{"status":"passed","label":"lucide:ordinary-closed-idle","started":1793337314412,"completed":1793337315514,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793337314412,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314519,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314629,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314741,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314851,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337314961,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315073,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315185,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315295,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315405,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0},{"at":1793337315514,"geometry":[["workspace-leaf",44,40,680,760],["excalidraw-wrapper",45,78,678,722],["workspace-leaf mod-active",724,40,300,760]],"eventCount":0}]},"errors":[],"inputEvents":[{"type":"pointerdown","trusted":true},{"type":"pointerdown","trusted":true},{"type":"pointerdown","trusted":true}],"assertions":["trusted palette opens the registered Lucide command","picker open and closed geometry settles","trusted close button retires the picker tab"]},"catalog":1935,"artifacts":[{"path":"__excalidraw_cli_smoke_ff813cd4-1b9c-43eLine truncated
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793337309235,"completed":1793337310327,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793337309235,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337309338,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337309450,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337309560,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337309670,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337309781,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337309889,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337309998,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337310108,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337310218,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337310327,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"windowEvents": [],
|
||||
"browserDiagnostics": {"diagnostics":[],"unexpected":[]},
|
||||
"unexpectedConsoleErrors": [],
|
||||
"consoleErrors": [],
|
||||
"cliErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"cleanupCLIErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"cleanupIdle": {"status":"passed","label":"native-main","started":1793337324273,"completed":1793337325376,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793337324273,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337324383,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337324494,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337324605,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337324715,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337324826,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337324937,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337325046,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337325155,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337325265,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793337325376,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0}]},
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}
|
||||
},
|
||||
{
|
||||
"report": "2026-10-30-lucide-prefix-84a30be0",
|
||||
"status": "failed",
|
||||
"error": "Required native scenario lifecycle is failed: Browser did not reach stable geometry and notification-free idle",
|
||||
"startedAt": "2026-10-30T05:18:10.979Z",
|
||||
"completedAt": "2026-10-30T05:25:33.700Z",
|
||||
"source": {"pluginRevision":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"core","node":"v22.22.3","platform":"win32"},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case18.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case1.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case2.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case3.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case4.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case5.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case6.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case7.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case8.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case9.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case10.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case11.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case12.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case13.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case14.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case15.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case16.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case17.excalidraw.md","__excalidraw_cli_smoke_33444b67-e201-4c56-8b22-5f1e01fff267_case18.excalidraw.md"]},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"9ad444b789789d3970cfc82ada189271ff21bf69f0fd1456c6c99059f77e55f9"}},
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-6a8b35d1-d7fc-484f-8e1c-c619029b6527\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"cases": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"88cdc16432c07b1c","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"88cdc16432c07b1c","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"88cdc16432c07b1c","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackets":false,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":tLine truncated
|
||||
"scenarios": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"behavior-matrix","status":"passed","tests":[{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"88cdc16432c07b1c","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"88cdc16432c07b1c","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"88cdc16432c07b1c","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackets":false,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":Line truncated
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793337494595,"completed":1793337495691,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793337494595,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337494702,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337494813,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337494922,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337495024,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337495138,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337495249,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337495360,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337495471,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337495580,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793337495691,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"windowEvents": {"rawEventCount":16879,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["990c2244965a62b36d4c9aabacf0934260c12bba70f67c6bba9f8a5a64a6a65a","1c12527754ee235034a9333759095167e73a18c2cd2d5e99240839c00f3063cc","900ed747a8c021eaf534bdc3156f5b36a2eba69c6771c1f995e7a24ad3b958c3","42dd2d0a8822b018a23359f163784d9d62d86cd3f00221b549382a07d052daeb","82d6ca1b9dd19855128d7c2124aecb091bbf8105e814caaade6196558e44c639","56000defc921c478886137bef451a9d7e95e0782dd454a1e535d0fad1ae5b0a3","5979718589615ad7a90cf365794ca8662c0c4a1fb211326fffe66f9fc12043fb","bb6c3f1cce056c14c1cf69885c322dff21404f51efd3f73fb1a760bf4a86aba7","1b02e75f54f1bc1947a3dbe1e5b6fe79861af435408a259dee31231a555c8ab6","8aeb467eb2207f2a9c0dd8ab411e86de57e3c43f8f23878f0947c9e47d859ecd","7ab34330e345b7b0c67fba3785ce926275548b0f695bde69a564275613e02e04","c4565d74defa167ca44c25080c6ad39b0c15ecbfc9b6da1c027744d53691401c","29c819538a1efc1e6df2b97e749c8746d25a0e75631c4c4c51fe59199a2b46f0","9e3864186aa28f981f6a91ca4491f1d95849570ef752c8f244c47fc2d3a0d833","535b8d29a07fff76277faef1cb8d6ef3e5d1e69ffae7c6ef572d8f0253226816","201d93c86488ca073cc9a36d20ab9002f66f88d00887c525d6890b7577e24360","067d51014350de6ccf0756bde10c6f75de088cccd50bf235ab5ce4f6558c1b97","7e3553ee3cee748cbe8c4013d57441b61ae3bf717fdd668baf10309da8ae7003","cbc8331a459fbf3cb9664625ca01f61dc7afcfeeb42c759c8e53bb6f7d4e39a9","750b7aed0fe649643614bb6f12f37525abb6045565d61693ef9b3690072b64c1","18ed7395f81a0d74b70cb5b71c3b9ac5d27d3738de2fd25fb9a94072748a720a","05ad6cac150e9df69a988c3611f41da1a41ac0543a9436f4389fe736b53b3022","05d65494f1d2c1cff814f9642f956c175858803a58489fef4ef64bc528617b78","079988799077fbff70fd1f45a54b3a1cdd823ef8362c01273c34bd8cf955f083","5d9113a89569839a83e11824b16228568f4d0d691f14fb83512594d3cba37ad5","c96851550548f9a827494fc5f8d4779e1918c4f860854de501bae0c42dbe3dc2","9c50309ebd77f41fd9bc5fe7c8146615ed8fa99b1f40bae6caed6ab1df559f19","f03882ae7c72a9e15967f24d9cbe8614376abf10160e80ed285c48ab9cd39f6a","0e009bb7ff7e2ecf8d0fccf0bf2ec1ade11ca55b36041bc674302774acf51aa8","1f3ebf61357eb4aaa0019943fce044e95a7eefdd0a211594b0b848a64f5b360b","990057cdca8a6ceb1295ef75a9d22d4d56304afba6007eb0fc86b5cff7647b26","44a914ed5b1ab393f76636b87f666307033d8d96126d7d5ff97bdf3cb8c57f19","49eee188fd2047501e9aac8b01fedef857d7add78e8a9a066aafe317a1b2d9f8","a08152467ef275ad0b1bc5fcef1e7c28a3da976171d7348416840e2f79ff4b83","4f8c07f70573666a6b735737f457327deea4068eff4a5fbac50ad9d17519db80","ea3786075df171aec5ca5de286d19084256d07f6c1d5a660f08bfe2dc01ec8b1","8c6eeb8062f3d08aff5a9be9860bc08980213b32c69bd2f17646efb294e30b88","4167221192a2f83bf1151ea4be57685a9466dd8b500cda3d1d134a37254e680e","92e6e9bf38d9dc87fd6f22f7c7ceb8d314af97584dcadb846589974e164aebb3","5c04fd65d6e39bab3423d1d9d2bdb245dd05d99acf82b44d3e07c278127fd65e","91c329622bf2c420bed185acbd37c3bb5c01fa08b8e4d1f3ccba5ac50cb12141","831d38c2ef1b78ed3a505293e3c28ff0c1f5888562692342037db4478a630c54","df2467c196bcfdc272b78b3457cec55350981a0fca114640a4b0f02c6404c060","2589c0fa287561a3b883e7c418db7dee632432247bd556eb6244e724d2a5f6f5","8a51729657cc67fd8e07c969bd4769d70bda5cc2269bcb82de4ea8d3010abf9f","e042bc054f97ea39c61b90f99f16e0db577a6306865e8129aea2879384fa92ca","c49c84a77a93997099aaaabc18b9483bd8525ccd8fb800028e7a036c2fe2a42f","a69f605b47ee2dd0ab9e31db4797e0b481c94fd5b4eaf874753323d88e8dee22","0f7a3ff702e5ea4f29a416f4783b31d4a9b4acd7d95d78adbaaf60a33a315caf","e1f178b3230c696a00bc6caa0d244926ca562c1698f93994878fe448c2a31eae","4d6932da7e02c6c2ce78a65bf825b0c730246965a778db2ecfd704ee5ec30846","c0b9f8e412e4fcb87c887264c8364cde25a7f74d832a0555f5e9f0bc7c2567d4","4f92fbb41f649fad41a26d6a00c9718464d68767d6a7f914112fd057bde7cfdc","2951480dca8a2240564ca68a08a40fe2db794a369a1dcd2f77de6b22f02874cf","649ca7e1373e121c271ed471f3b71aba1f0ecb80d1eded26a353b36685955d01","9227e1f4e97e52daf947a7c2bdc28f8aee29d3335933ff401d3ffb56198fae44","f3633fbce8ce1ce2881c726ea13839031d0bebb24851e4c43c3d16df37b15e79","97ec9c50bd3e5ed501f6ec6e32317490161d7f2eabdcb34144b2f7029375da6e","7717daf7da2a6856ee547691336fe031c54bc4b358f1cd5fea64e6cceda240f6","c2e6454cf0063fd5e75410402cab67d66993bacf80c56fa6fa011a0aa22845fc","f78ab429ae8667da1b03f1b8775e8ab6f5726acacc8c9001710df01b5202664b","a5a0265e71794a65351b41ec182eb485fb571b7f4757c183b19e23cc9e0ad17b","176306f1cbabd4332a61904a10d7affc4dec5d5f262b4463a9202f7eea1a382e","487d54920ef3cf03258cca9f762f0015b72cf409f01625d8c790b1be0fc53f62","45fa988179126ddee84c257ff52a36385b62f8251c59fdd910aea116f69d58b5","c7c094a3bb9e46f2e8959f3d4da2a5aeb6ec6964883a6af713ffbece46871969","e61e800d2c141cc6f126b74235fb243d2686e15e3f7f2e635f792cd6fbf01c7f","dbeded6f05c413fa43100857f74fdd914dc83fb919a239d6a81a707854fba63b","bc00bd20616d204f4afe25048197dcedd0698233e26a6c209008419222553eb6","d4e1fd154e3335a504fdca8cf21758b9256f6d8e5d36807ba944ed02f7c9f5c1","ed1b2ebae15d8a028877e007f3614c0cb01fa8fd34f57b3a34f7ea64c5e369a9","e40e18b570ee20b7a5ca5ed74600b96973d63d9430917278b962647fb47a74a3","756cb8256ca696d89d3306bb82b846ac47d21f49b76e39d639738aed9fac1Line truncated
|
||||
"browserDiagnostics": {"diagnostics":{"rawEventCount":16879,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["990c2244965a62b36d4c9aabacf0934260c12bba70f67c6bba9f8a5a64a6a65a","1c12527754ee235034a9333759095167e73a18c2cd2d5e99240839c00f3063cc","900ed747a8c021eaf534bdc3156f5b36a2eba69c6771c1f995e7a24ad3b958c3","42dd2d0a8822b018a23359f163784d9d62d86cd3f00221b549382a07d052daeb","82d6ca1b9dd19855128d7c2124aecb091bbf8105e814caaade6196558e44c639","56000defc921c478886137bef451a9d7e95e0782dd454a1e535d0fad1ae5b0a3","5979718589615ad7a90cf365794ca8662c0c4a1fb211326fffe66f9fc12043fb","bb6c3f1cce056c14c1cf69885c322dff21404f51efd3f73fb1a760bf4a86aba7","1b02e75f54f1bc1947a3dbe1e5b6fe79861af435408a259dee31231a555c8ab6","8aeb467eb2207f2a9c0dd8ab411e86de57e3c43f8f23878f0947c9e47d859ecd","7ab34330e345b7b0c67fba3785ce926275548b0f695bde69a564275613e02e04","c4565d74defa167ca44c25080c6ad39b0c15ecbfc9b6da1c027744d53691401c","29c819538a1efc1e6df2b97e749c8746d25a0e75631c4c4c51fe59199a2b46f0","9e3864186aa28f981f6a91ca4491f1d95849570ef752c8f244c47fc2d3a0d833","535b8d29a07fff76277faef1cb8d6ef3e5d1e69ffae7c6ef572d8f0253226816","201d93c86488ca073cc9a36d20ab9002f66f88d00887c525d6890b7577e24360","067d51014350de6ccf0756bde10c6f75de088cccd50bf235ab5ce4f6558c1b97","7e3553ee3cee748cbe8c4013d57441b61ae3bf717fdd668baf10309da8ae7003","cbc8331a459fbf3cb9664625ca01f61dc7afcfeeb42c759c8e53bb6f7d4e39a9","750b7aed0fe649643614bb6f12f37525abb6045565d61693ef9b3690072b64c1","18ed7395f81a0d74b70cb5b71c3b9ac5d27d3738de2fd25fb9a94072748a720a","05ad6cac150e9df69a988c3611f41da1a41ac0543a9436f4389fe736b53b3022","05d65494f1d2c1cff814f9642f956c175858803a58489fef4ef64bc528617b78","079988799077fbff70fd1f45a54b3a1cdd823ef8362c01273c34bd8cf955f083","5d9113a89569839a83e11824b16228568f4d0d691f14fb83512594d3cba37ad5","c96851550548f9a827494fc5f8d4779e1918c4f860854de501bae0c42dbe3dc2","9c50309ebd77f41fd9bc5fe7c8146615ed8fa99b1f40bae6caed6ab1df559f19","f03882ae7c72a9e15967f24d9cbe8614376abf10160e80ed285c48ab9cd39f6a","0e009bb7ff7e2ecf8d0fccf0bf2ec1ade11ca55b36041bc674302774acf51aa8","1f3ebf61357eb4aaa0019943fce044e95a7eefdd0a211594b0b848a64f5b360b","990057cdca8a6ceb1295ef75a9d22d4d56304afba6007eb0fc86b5cff7647b26","44a914ed5b1ab393f76636b87f666307033d8d96126d7d5ff97bdf3cb8c57f19","49eee188fd2047501e9aac8b01fedef857d7add78e8a9a066aafe317a1b2d9f8","a08152467ef275ad0b1bc5fcef1e7c28a3da976171d7348416840e2f79ff4b83","4f8c07f70573666a6b735737f457327deea4068eff4a5fbac50ad9d17519db80","ea3786075df171aec5ca5de286d19084256d07f6c1d5a660f08bfe2dc01ec8b1","8c6eeb8062f3d08aff5a9be9860bc08980213b32c69bd2f17646efb294e30b88","4167221192a2f83bf1151ea4be57685a9466dd8b500cda3d1d134a37254e680e","92e6e9bf38d9dc87fd6f22f7c7ceb8d314af97584dcadb846589974e164aebb3","5c04fd65d6e39bab3423d1d9d2bdb245dd05d99acf82b44d3e07c278127fd65e","91c329622bf2c420bed185acbd37c3bb5c01fa08b8e4d1f3ccba5ac50cb12141","831d38c2ef1b78ed3a505293e3c28ff0c1f5888562692342037db4478a630c54","df2467c196bcfdc272b78b3457cec55350981a0fca114640a4b0f02c6404c060","2589c0fa287561a3b883e7c418db7dee632432247bd556eb6244e724d2a5f6f5","8a51729657cc67fd8e07c969bd4769d70bda5cc2269bcb82de4ea8d3010abf9f","e042bc054f97ea39c61b90f99f16e0db577a6306865e8129aea2879384fa92ca","c49c84a77a93997099aaaabc18b9483bd8525ccd8fb800028e7a036c2fe2a42f","a69f605b47ee2dd0ab9e31db4797e0b481c94fd5b4eaf874753323d88e8dee22","0f7a3ff702e5ea4f29a416f4783b31d4a9b4acd7d95d78adbaaf60a33a315caf","e1f178b3230c696a00bc6caa0d244926ca562c1698f93994878fe448c2a31eae","4d6932da7e02c6c2ce78a65bf825b0c730246965a778db2ecfd704ee5ec30846","c0b9f8e412e4fcb87c887264c8364cde25a7f74d832a0555f5e9f0bc7c2567d4","4f92fbb41f649fad41a26d6a00c9718464d68767d6a7f914112fd057bde7cfdc","2951480dca8a2240564ca68a08a40fe2db794a369a1dcd2f77de6b22f02874cf","649ca7e1373e121c271ed471f3b71aba1f0ecb80d1eded26a353b36685955d01","9227e1f4e97e52daf947a7c2bdc28f8aee29d3335933ff401d3ffb56198fae44","f3633fbce8ce1ce2881c726ea13839031d0bebb24851e4c43c3d16df37b15e79","97ec9c50bd3e5ed501f6ec6e32317490161d7f2eabdcb34144b2f7029375da6e","7717daf7da2a6856ee547691336fe031c54bc4b358f1cd5fea64e6cceda240f6","c2e6454cf0063fd5e75410402cab67d66993bacf80c56fa6fa011a0aa22845fc","f78ab429ae8667da1b03f1b8775e8ab6f5726acacc8c9001710df01b5202664b","a5a0265e71794a65351b41ec182eb485fb571b7f4757c183b19e23cc9e0ad17b","176306f1cbabd4332a61904a10d7affc4dec5d5f262b4463a9202f7eea1a382e","487d54920ef3cf03258cca9f762f0015b72cf409f01625d8c790b1be0fc53f62","45fa988179126ddee84c257ff52a36385b62f8251c59fdd910aea116f69d58b5","c7c094a3bb9e46f2e8959f3d4da2a5aeb6ec6964883a6af713ffbece46871969","e61e800d2c141cc6f126b74235fb243d2686e15e3f7f2e635f792cd6fbf01c7f","dbeded6f05c413fa43100857f74fdd914dc83fb919a239d6a81a707854fba63b","bc00bd20616d204f4afe25048197dcedd0698233e26a6c209008419222553eb6","d4e1fd154e3335a504fdca8cf21758b9256f6d8e5d36807ba944ed02f7c9f5c1","ed1b2ebae15d8a028877e007f3614c0cb01fa8fd34f57b3a34f7ea64c5e369a9","e40e18b570ee20b7a5ca5ed74600b96973d63d9430917278b962647fb47a74a3","756cb8256ca696d89d3306bb82b846ac47d21f49Line truncated
|
||||
"unexpectedConsoleErrors": [],
|
||||
"consoleErrors": [{"kind":"console","messages":["Error: EXCALIDRAW_OWNED_WRITE_FAILURE\n at t.faulty [as modify] (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:163:89)\n at Ix.<anonymous> (app://obsidian.md/app.js:1:2808857)\n at app://obsidian.md/app.js:1:254188\n at Object.next (app://obsidian.md/app.js:1:254293)\n at a (app://obsidian.md/app.js:1:253011) [{\"name\":\"stack\",\"type\":\"string\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.fau…293)\\n at a (app://obsidian.md/app.js:1:253011)\"},{\"name\":\"message\",\"type\":\"string\",\"value\":\"EXCALIDRAW_OWNED_WRITE_FAILURE\"}]"]},{"kind":"console","messages":["Object [{\"name\":\"plugin\",\"type\":\"string\",\"value\":\"Excalidraw\"},{\"name\":\"where\",\"type\":\"string\",\"value\":\"ExcalidrawView.save\"},{\"name\":\"fn\",\"type\":\"string\",\"value\":\"save\"},{\"name\":\"error\",\"subtype\":\"error\",\"type\":\"object\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.faulty [as modify] (eval at <anonymous> (eval at <an…\"}]"]}],
|
||||
"cliErrors": {"raw":"06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:16 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.\n\n06:25:17 ResizeObserver loop completed with undelivered notifications.","diagnostics":["06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObserver loop completed with undelivered notifications.","06:25:16 ResizeObLine truncated
|
||||
"cleanupCLIErrors": {"raw":"06:25:21 ResizeObserver loop completed with undelivered notifications.\n\n06:25:21 ResizeObserver loop completed with undelivered notifications.\n\n06:25:21 ResizeObserver loop completed with undelivered notifications.\n\n06:25:21 ResizeObserver loop completed with undelivered notifications.\n\n06:25:21 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.\n\n06:25:22 ResizeObserver loop completed with undelivered notifications.","diagnostics":["06:25:21 ResizeObserver loop completed with undelivered notifications.","06:25:21 ResizeObserver loop completed with undelivered notifications.","06:25:21 ResizeObserver loop completed with undelivered notifications.","06:25:21 ResizeObserver loop completed with undelivered notifications.","06:25:21 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 ResizeObserver loop completed with undelivered notifications.","06:25:22 RLine truncated
|
||||
"cleanupIdle": {"status":"failed","label":"native-main","reason":"Browser did not reach stable geometry and notification-free idle","started":1793337917600,"completed":1793337922613,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793337917600,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16565},{"at":1793337917701,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16571},{"at":1793337917806,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16577},{"at":1793337917908,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16583},{"at":1793337918010,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16590},{"at":1793337918111,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16596},{"at":1793337918215,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16602},{"at":1793337918316,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16608},{"at":1793337918419,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16614},{"at":1793337918526,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16621},{"at":1793337918628,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16627},{"at":1793337918733,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16633},{"at":1793337918834,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16639},{"at":1793337918937,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16645},{"at":1793337919045,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16652},{"at":1793337919147,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16658},{"at":1793337919248,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16664},{"at":1793337919361,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16671},{"at":1793337919462,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16677},{"at":1793337919570,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16683},{"at":1793337919679,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16690},{"at":1793337919789,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16696},{"at":1793337919894,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16703},{"at":1793337919996,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16709},{"at":1793337920103,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16715},{"at":1793337920212,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16722},{"at":1793337920325,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16728},{"at":1793337920426,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16734},{"at":1793337920530,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16741},{"at":1793337920632,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16747},{"at":1793337920745,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16754},{"at":1793337920846,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16760},{"at":1793337920948,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16766},{"at":1793337921049,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16772},{"at":1793337921159,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16778},{"at":1793337921263,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":16785},{"at":1793337921364,"geometry":[["workspace-leaf modLine truncated
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}
|
||||
},
|
||||
{
|
||||
"report": "2026-10-30-lifecycle-minimal-84a30be0",
|
||||
"status": "passed",
|
||||
"startedAt": "2026-10-30T05:31:14.339Z",
|
||||
"completedAt": "2026-10-30T05:31:24.000Z",
|
||||
"source": {"pluginRevision":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"focused","node":"v22.22.3","platform":"win32"},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_6096c276-6203-438e-aa2c-29479db8f77b.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_6096c276-6203-438e-aa2c-29479db8f77b.excalidraw.md"]},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"9ad444b789789d3970cfc82ada189271ff21bf69f0fd1456c6c99059f77e55f9"}},
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-80fcbd56-1829-4ac9-a4f2-9415b8815a17\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"cases": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:lifecycle-two-split-fullscreen","featureIds":["P03","P08"],"status":"passed","assertions":["split editors share one runtime and distinct APIs","one drawing's edit does not affect the other","fullscreen enters and restores owned classes"]},{"testId":"native:lifecycle-dirty-main-to-popout","featureIds":["P02","P03"],"status":"passed","assertions":["dirty edit survives main-to-popout","retired source API unmounted","popout retains shared private runtime"]},{"testId":"native:lifecycle-dirty-popout-to-main","featureIds":["P02","P03"],"status":"passed","routeEvidence":{"input":"direct host remove/insert operations"},"assertions":["dirty edit survives popout-to-main","retired popout API unmounted","replacement main window physically saves captured edit"]},{"testId":"native:lifecycle-new-popout-survivor","featureIds":["P03"],"status":"passed","assertions":["fresh popout opens persisted scene","popout window closes","surviving drawing remains editable and saves","other drawing stays unchanged"]},{"testId":"native:lifecycle-plugin-reload","featureIds":["P01","P02","P03"],"status":"passed","assertions":["disable unmounts editor APIs and retires runtime","reload obtains a new plugin and runtime","both saved drawings reopen","stable command registered once"]},{"id":"javascript-errors","status":"passed","testId":"javascript-errors","featureIds":[]},{"id":"source-stability","status":"passed","testId":"source-stability","featureIds":[]}],
|
||||
"scenarios": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"lifecycle","status":"passed","tests":[{"testId":"native:lifecycle-two-split-fullscreen","featureIds":["P03","P08"],"status":"passed","assertions":["split editors share one runtime and distinct APIs","one drawing's edit does not affect the other","fullscreen enters and restores owned classes"]},{"testId":"native:lifecycle-dirty-main-to-popout","featureIds":["P02","P03"],"status":"passed","assertions":["dirty edit survives main-to-popout","retired source API unmounted","popout retains shared private runtime"]},{"testId":"native:lifecycle-dirty-popout-to-main","featureIds":["P02","P03"],"status":"passed","routeEvidence":{"input":"direct host remove/insert operations"},"assertions":["dirty edit survives popout-to-main","retired popout API unmounted","replacement main window physically saves captured edit"]},{"testId":"native:lifecycle-new-popout-survivor","featureIds":["P03"],"status":"passed","assertions":["fresh popout opens persisted scene","popout window closes","surviving drawing remains editable and saves","other drawing stays unchanged"]},{"testId":"native:lifecycle-plugin-reload","featureIds":["P01","P02","P03"],"status":"passed","assertions":["disable unmounts editor APIs and retires runtime","reload obtains a new plugin and runtime","both saved drawings reopen","stable command registered once"]}],"settlingCheck":{"status":"passed","label":"native-main","started":1793338280810,"completed":1793338281916,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793338280811,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338280921,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338281033,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338281144,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338281255,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338281367,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338281477,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338281587,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338281698,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338281808,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338281916,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]}},{"id":"javascript-errors","status":"passed"},{"id":"source-stability","status":"passed"}],
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793338277938,"completed":1793338279023,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793338277938,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338278048,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338278159,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338278268,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338278369,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338278474,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338278583,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338278691,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338278802,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338278913,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338279023,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"windowEvents": [],
|
||||
"browserDiagnostics": {"diagnostics":[],"unexpected":[]},
|
||||
"unexpectedConsoleErrors": [],
|
||||
"consoleErrors": [],
|
||||
"cliErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"cleanupCLIErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"cleanupIdle": {"status":"passed","label":"native-main","started":1793338282309,"completed":1793338283396,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793338282309,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338282410,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338282514,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338282623,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338282734,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338282844,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338282954,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338283066,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338283176,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338283286,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0},{"at":1793338283396,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":0}]},
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}
|
||||
},
|
||||
{
|
||||
"report": "2026-10-30-popout-prefix-lifecycle-84a30be0",
|
||||
"status": "passed",
|
||||
"startedAt": "2026-10-30T05:39:56.608Z",
|
||||
"completedAt": "2026-10-30T05:40:40.075Z",
|
||||
"source": {"pluginRevision":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"focused","node":"v22.22.3","platform":"win32"},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_e15d820e-dfc5-4821-bc8d-e65d115d16f7_case1.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_e15d820e-dfc5-4821-bc8d-e65d115d16f7.excalidraw.md","__excalidraw_cli_smoke_e15d820e-dfc5-4821-bc8d-e65d115d16f7_case1.excalidraw.md"]},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"9ad444b789789d3970cfc82ada189271ff21bf69f0fd1456c6c99059f77e55f9"}},
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-145dd805-1945-49d2-b4af-a1609698dac3\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"cases": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:popout:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"popout","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":0,"y":40,"width":1024,"height":760,"top":40,"right":1024,"bottom":800,"left":0},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[],"leafId":"5ec203b6623e5280","ownerContentsId":122,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:popout:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"popout","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":0,"y":40,"width":1024,"height":760,"top":40,"right":1024,"bottom":800,"left":0},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[],"leafId":"5ec203b6623e5280","ownerContentsId":122,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:popout:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"popout","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":0,"y":40,"width":1024,"height":760,"top":40,"right":1024,"bottom":800,"left":0},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[],"leafId":"5ec203b6623e5280","ownerContentsId":122,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:popout:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackets":false,"frontBrackets":false},"actual":{"requested":{"id":"popout","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":0,"y":40,"width":1024,"height":760,"top":40,"right":1024,"bottom":800,"left":0},"editorInterface":{"fLine truncated
|
||||
"scenarios": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"behavior-matrix","status":"passed","tests":[{"testId":"native:behavior:popout:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"popout","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":0,"y":40,"width":1024,"height":760,"top":40,"right":1024,"bottom":800,"left":0},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[],"leafId":"5ec203b6623e5280","ownerContentsId":122,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:popout:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"popout","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":0,"y":40,"width":1024,"height":760,"top":40,"right":1024,"bottom":800,"left":0},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[],"leafId":"5ec203b6623e5280","ownerContentsId":122,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:popout:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"popout","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":0,"y":40,"width":1024,"height":760,"top":40,"right":1024,"bottom":800,"left":0},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[],"leafId":"5ec203b6623e5280","ownerContentsId":122,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:popout:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackets":false,"frontBrackets":false},"actual":{"requested":{"id":"popout","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":0,"y":40,"width":1024,"height":760,"top":40,"right":1024,"bottom":800,"left":0},"editorInterface":{"formFactor":"desktop","desktopUILine truncated
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793338800255,"completed":1793338801355,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793338800255,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338800360,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338800470,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338800582,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338800693,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338800804,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338800915,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338801025,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338801137,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338801246,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793338801355,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"windowEvents": {"rawEventCount":1,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["5c29f185b36c9ce42ea6841b6afadbf52e1b464a0e6c31db3b3b37a874485d83"]},
|
||||
"browserDiagnostics": {"diagnostics":{"rawEventCount":1,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["5c29f185b36c9ce42ea6841b6afadbf52e1b464a0e6c31db3b3b37a874485d83"]},"unexpected":[]},
|
||||
"unexpectedConsoleErrors": [],
|
||||
"consoleErrors": [],
|
||||
"cliErrors": {"raw":"06:40:15 ResizeObserver loop completed with undelivered notifications.","diagnostics":["06:40:15 ResizeObserver loop completed with undelivered notifications."],"unexpected":[]},
|
||||
"cleanupCLIErrors": {"raw":"06:40:15 ResizeObserver loop completed with undelivered notifications.","diagnostics":["06:40:15 ResizeObserver loop completed with undelivered notifications."],"unexpected":[]},
|
||||
"cleanupIdle": {"status":"passed","label":"native-main","started":1793338838265,"completed":1793338839373,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793338838266,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338838376,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338838486,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338838599,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338838709,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338838819,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338838929,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338839040,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338839150,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338839262,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1},{"at":1793338839373,"geometry":[["workspace-leaf mod-active",44,40,980,760]],"eventCount":1}]},
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}
|
||||
}
|
||||
],
|
||||
"portable": {
|
||||
"status": "passed",
|
||||
"sources": {
|
||||
"plugin": {"commit":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c"},
|
||||
"fork": {"commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909"},
|
||||
"extras": {"commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab"}
|
||||
},
|
||||
"canonicalCases": 664,
|
||||
"changeCounts": {
|
||||
"policy": "New/reused identity accounting only; a call or inventory entry does not establish behavior.",
|
||||
"lanes": [{"suiteId":"plugin-fast","total":486,"reused":434,"new":52,"passed":486},{"suiteId":"fork-owned","total":127,"reused":115,"new":12,"passed":127},{"suiteId":"fork-browser","total":18,"reused":18,"new":0,"passed":18},{"suiteId":"extras-source","total":29,"reused":27,"new":2,"passed":29},{"suiteId":"extras-browser","total":4,"reused":4,"new":0,"passed":4}],
|
||||
"removedOrReplaced": ["node:scripts/testing/pdf.source.test.mjs::missing completion has a bounded deadline and late acknowledgement has no remaining listener","node:scripts/testing/pdf.source.test.mjs::IPC listener registration failure clears its deadline and print resources","node:scripts/testing/pdf.source.test.mjs::overlapping exports in one document reject without consuming the first completion"],
|
||||
"notRunInProfile": ["plugin-load","drawing-main-window","native:lifecycle-two-split-fullscreen","native:lifecycle-dirty-main-to-popout","native:lifecycle-dirty-popout-to-main","native:lifecycle-new-popout-survivor","native:lifecycle-plugin-reload","native:extras-mathjax-gateway","native:extras-mermaid-gateway","native:extras-pdf-output","native:data-roundtrip:Uncompressed.excalidraw.md","native:data-roundtrip:Compressed.excalidraw.md","native:data-roundtrip:Legacy.excalidraw","native:data-backup","native:data-external-change","native:data-write-failure","native:data-rename-delete","workflow-fixes-3020","lucide-3019","wheel-zoom-3008","image-geometry-real-3014","web-drop-2967","internal-drop-tooltip","text-undo-2976","native-cli-authoring","markdown-embed-recovery-2953","grouped-link-click","latex-input-2970","native:ea-shapes-bindings-and-isolation","native:ea-edit-image-and-decoded-export","native:ea-svg-import-and-disposal","native:core-toolbar-draw-history","native:core-custom-highlighter","native:core-eraser-and-undo","native:core-laser-transient","native:pdf-reference-and-decoded-content","native:stability-roundtrip:0","native:stability-roundtrip:1","native:stability-roundtrip:2","native:stability-roundtrip:3","native:stability-roundtrip:4","native:stability-roundtrip:5","javascript-errors","source-stability","native:device:desktop-wide-full-light","native:device:desktop-wide-tray-light","native:device:desktop-wide-compact-light","native:device:desktop-narrow-full-light","native:device:desktop-narrow-tray-light","native:device:desktop-narrow-compact-light","native:device:phone-portrait-light","native:device:phone-landscape-light","native:device:tablet-portrait-full-light","native:device:tablet-portrait-tray-light","native:device:tablet-portrait-compact-light","native:device:tablet-landscape-full-light","native:device:tablet-landscape-tray-light","native:device:tablet-landscape-compact-light","native:device:desktop-wide-full-dark","native:device:desktop-wide-tray-dark","native:device:desktop-wide-compact-dark","native:device:desktop-narrow-full-dark","native:device:desktop-narrow-tray-dark","native:device:desktop-narrow-compact-dark","native:device:phone-portrait-dark","native:device:phone-landscape-dark","native:device:tablet-portrait-full-dark","native:device:tablet-portrait-tray-dark","native:device:tablet-portrait-compact-dark","native:device:tablet-landscape-full-dark","native:device:tablet-landscape-tray-dark","native:device:tablet-landscape-compact-dark","native:device:breakpoint-mobile-width-598","native:device:breakpoint-mobile-width-599","native:device:breakpoint-mobile-width-600","native:device:breakpoint-sidebar-width-799","native:device:breakpoint-sidebar-width-800","native:device:breakpoint-sidebar-width-801","native:device:breakpoint-landscape-width-999","native:device:breakpoint-landscape-width-1000","native:device:breakpoint-landscape-width-1001","native:device:breakpoint-landscape-height-499","native:device:breakpoint-landscape-height-500","native:device:breakpoint-landscape-height-501"],
|
||||
"native": {"pluginCommandCases":0,"hostEAAndTrustedInputCases":0,"emulatedContextCases":0,"physicalDeviceCases":0,"commandCaseIds":[],"mobileProtocolCases":0,"mobileProtocolCaseIds":[]},
|
||||
"newCaseIds": ["node:scripts/testing/canvasNodeFocus.test.mjs::internal preview construction preserves the active editor and renders the requested file","node:scripts/testing/canvasNodeFocus.test.mjs::replacing an internal preview preserves focus and replaces only its registered node","node:scripts/testing/canvasNodeFocus.test.mjs::explicit embedded-note editing still enters the editor and acquires focus","node:scripts/testing/canvasNodeFocus.test.mjs::the old default-focus path reproduces the missing-editor toolbar failure","node:scripts/testing/coverageChanges.test.mjs::new/reused accounting separates plugin CLI commands, host tasks and mobile emulation without inferring passes","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-01","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-02","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-03","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-04","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-05","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-06","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-07","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-08","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-09","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-10","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-11","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-12","node:scripts/testing/frontmatter.source.test.mjs::export overrides preserve explicit false and zero while invalid scales retain defaults","node:scripts/testing/frontmatter.source.test.mjs::autoexport format overrides keep both-theme intent and fall back for missing or unrecognized values","node:scripts/testing/host/behaviorDecoding.test.mjs::actual behavior decoder requests CORS before loading and never attaches a canvas to the workspace","node:scripts/testing/host/behaviorDecoding.test.mjs::missing-source setup retires the old editor before deleting its file","node:scripts/testing/host/browserDiagnostics.test.mjs::only the exact browser notification without an Error object is diagnostic","node:scripts/testing/host/browserDiagnostics.test.mjs::large raw notification evidence is retrieved in bounded pages without chasing new events","node:scripts/testing/host/browserDiagnostics.test.mjs::CLI classification retains raw lines and rejects exceptions, suffixes and unknown formats","node:scripts/testing/host/browserDiagnostics.test.mjs::a stable quiet window settles without altering browser events or geometry","node:scripts/testing/host/browserDiagnostics.test.mjs::persistent notification storms fail the bounded idle check","node:scripts/testing/host/browserDiagnostics.test.mjs::unstable geometry fails even without any notification","node:scripts/testing/host/debuggerSession.test.mjs::renderer scheduling is scoped and restores both original background-throttling values","node:scripts/testing/host/debuggerSession.test.mjs::expected missing-asset diagnostics cannot hide exceptions, extra fields, another source or repeated errors","node:scripts/testing/host/debuggerSession.test.mjs::truncated console objects expose the actual native error and complete own properties","node:scripts/testing/host/inAppTask.test.mjs::collecting independent behavioral failures retains strict failed acceptance","node:scripts/testing/host/inAppTask.test.mjs::tool deadlines retain unsettled native print resources and never claim cancellation","node:scripts/testing/host/markdownImageClose.test.mjs::Markdown-image fixture retirement waits for asynchronous owner release and persistence","node:scripts/testing/host/markdownImageClose.test.mjs::a close deadline fails and retains the live owner without cancelling native work","node:scripts/testing/host/stability.test.mjs::failed stability loading retires the owned leaf before deleting its file","node:scripts/testing/host/textUndoDiagnostics.test.mjs::text-history diagnostics preserve owning window, leaked active target, controls and actual stack depths without mutation","node:scripts/testing/host/textUndoDiagnostics.test.mjs::missing and hidden history controls remain unavailable evidence and cyclic private fibers stay bounded","node:scripts/testing/host/textUndoDiagnostics.test.mjs::text fixture awaits the normal mode reload before clearing the replacement API","node:scripts/testing/host/textUndoDiagnostics.test.mjs::incoherent text modes fail before scene or history mutation","node:scripts/testing/localVault.test.mjs::live preparation restores core activatioLine truncated
|
||||
},
|
||||
"gates": [
|
||||
{"suiteId":"plugin-source-coverage","status":"passed","cleanup":"passed"},
|
||||
{"suiteId":"fork-package","status":"passed","cleanup":"passed"},
|
||||
{"suiteId":"extras-package","status":"passed","cleanup":"passed"}
|
||||
]
|
||||
},
|
||||
"productionAudit": {
|
||||
"scope": "PDF timeout/concurrency rollback, plus the maintainer-authorized plain-PDF, local-font and internal Canvas-node focus fixes of 2026-10-29 and their release notes; no other production changes.",
|
||||
"baselines": {
|
||||
"plugin": "afd763e60ce486096bde2954f73bd5988a793660",
|
||||
"fork": "e0cf824c6225d02f48b98c30c5b79d6ab8536c35",
|
||||
"extras": "e37c06feff9fef48877f565328762433a676afcc"
|
||||
},
|
||||
"repositories": {
|
||||
"plugin": {"head":"84a30be09918e4bbbb913eb5212c4e3b137c72e6","productionPathsChanged":["src/shared/Dialogs/Messages.ts","src/shared/EmbeddedFileLoader.ts","src/view/managers/CanvasNodeFactory.ts"],"diff":"diff --git a/src/shared/Dialogs/Messages.ts b/src/shared/Dialogs/Messages.ts\nindex b1d1f844..f7ec2f69 100644\n--- a/src/shared/Dialogs/Messages.ts\n+++ b/src/shared/Dialogs/Messages.ts\n@@ -30,6 +30,9 @@ I build this plugin as a labor of love. Curious about the philosophy behind it?\n - Added opt-in image inventory, bounded image labels/tags, mixed-fidelity SVG/PNG previews and output limits. Originals remain untouched and full fidelity stays the default. [#3004](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_ISSUES}/3004)\n \n ## Fixed\n+- Embedded Markdown previews no longer take editor focus when they load, avoiding a mobile toolbar error. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n+- Importing a PDF file through ExcalidrawAutomate loads page 1 when no page reference is supplied. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n+- Markdown images using Helvetica no longer try to fetch a nonexistent font file. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - Autosave recovers after an unexpected save error instead of remaining busy. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - The private React runtime uses browser scheduling to avoid Node event-loop errors when closing popout windows. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - Template choices show their folder paths and offer **Blank drawing** first. Escape or dismissal cancels interactive creation without creating a drawing, folder or embed. [#2649](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_ISSUES}/2649)\ndiff --git a/src/shared/EmbeddedFileLoader.ts b/src/shared/EmbeddedFileLoader.ts\nindex e211344e..bdbc1656 100644\n--- a/src/shared/EmbeddedFileLoader.ts\n+++ b/src/shared/EmbeddedFileLoader.ts\n@@ -2197,8 +2197,7 @@ export class EmbeddedFilesLoader {\n }\n \n const scale = requestedScale;\n- const cropRect = linkParts.ref\n- .split(\"rect=\")[1]\n+ const cropRect = linkParts.ref?.split(\"rect=\")[1]\n ?.split(\",\")\n .map((x) => parseInt(x));\n const validRect =\ndiff --git a/src/view/managers/CanvasNodeFactory.ts b/src/view/managers/CanvasNodeFactory.ts\nindex e7833dd7..c106b6c6 100644\n--- a/src/view/managers/CanvasNodeFactory.ts\n+++ b/src/view/managers/CanvasNodeFactory.ts\n@@ -32,6 +32,7 @@ interface ObsidianCanvas {\n file: TFile;\n subpath: string;\n save: boolean;\n+ focus: boolean;\n }) => ObsidianCanvasNode;\n removeNode: (node: ObsidianCanvasNode) => void;\n }\n@@ -148,6 +149,8 @@ export class CanvasNodeFactory {\n file,\n subpath,\n save: false,\n+ // Internal preview creation must not take the workspace's active editor.\n+ focus: false,\n });\n node.setFilePath(file.path, subpath);\n node.render();\n"},
|
||||
"fork": {"head":"053a3b9f9e77917c457fce8ca9453d38b92a303b","productionPathsChanged":["packages/excalidraw/obsidianUtils.ts"],"diff":"diff --git a/packages/excalidraw/obsidianUtils.ts b/packages/excalidraw/obsidianUtils.ts\nindex a4b68e639..b5cfae293 100644\n--- a/packages/excalidraw/obsidianUtils.ts\n+++ b/packages/excalidraw/obsidianUtils.ts\n@@ -186,7 +186,12 @@ export async function registerFontsInCSS() {\n export async function getCSSFontDefinition(\n fontFamily: number,\n ): Promise<string> {\n- const fontFaces = Fonts.registered.get(fontFamily)?.fontFaces;\n+ const registered = Fonts.registered.get(fontFamily);\n+ // zsviczian -- #477: system fonts have no font-file content to embed.\n+ if (registered?.metadata.local) {\n+ return \"\";\n+ }\n+ const fontFaces = registered?.fontFaces;\n if (!fontFaces) {\n return \"\";\n }\n"},
|
||||
"extras": {"head":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","productionPathsChanged":["src/PDFExport/index.ts"],"diff":"diff --git a/src/PDFExport/index.ts b/src/PDFExport/index.ts\nindex e80943d..57b3a56 100644\n--- a/src/PDFExport/index.ts\n+++ b/src/PDFExport/index.ts\n@@ -4,9 +4,6 @@ import { getPageSize } from './pdfExportUtils';\n \n export const PDF_COMPONENT_VERSION = '1.0.0';\n \n-// Electron completion has no request ID, so one document can own only one print.\n-const printingDocuments = new WeakSet<Document>();\n-\n export function initializePDFExport(): void {\n // Placeholder for future high-privilege IPC and filesystem setup.\n }\n@@ -28,11 +25,6 @@ export async function exportToPDF(\n if (!ownerWindow || !ipc) {\n throw new Error('PDF export requires the desktop Electron host');\n }\n- if (printingDocuments.has(document)) {\n- throw new Error('PDF export is already in progress in this window');\n- }\n- printingDocuments.add(document);\n- try {\n const options: PrintToPDFOptions = {\n includeName: false,\n pageSize: getPageSize(pageSize),\n@@ -134,19 +126,12 @@ export async function exportToPDF(\n \n await new Promise<void>((resolve, reject) => {\n const cleanup = () => {\n- ownerWindow.clearTimeout(timeout);\n ipc.removeListener('print-to-pdf', onComplete);\n };\n const onComplete = () => {\n cleanup();\n resolve();\n };\n- const timeout = ownerWindow.setTimeout(() => {\n- cleanup();\n- reject(\n- new Error('PDF export timed out waiting for Electron completion'),\n- );\n- }, 120000);\n try {\n ipc.once('print-to-pdf', onComplete);\n ipc.send('print-to-pdf', options);\n@@ -161,9 +146,6 @@ export async function exportToPDF(\n (styleSheet) => styleSheet !== printStyleSheet,\n );\n }\n- } finally {\n- printingDocuments.delete(document);\n- }\n }\n \n export function getPDFVersion(): string {\n"}
|
||||
},
|
||||
"status": "passed"
|
||||
},
|
||||
"runtimePolicy": "Installed Obsidian/Electron versions are recorded metadata, never an exact-version allowlist or version-specific waiver.",
|
||||
"limitations": [
|
||||
"Desktop emulation is not physical touch/WebView/stylus validation.",
|
||||
"Synthetic drag payloads and host tab-drag controls are not real OS drag evidence.",
|
||||
"Native Windows only; macOS/Linux and isolated whole-app cold start remain separate environments."
|
||||
],
|
||||
"controls": {
|
||||
"postRunInspection": {
|
||||
"vault": "<plugin>\\.test-work\\vaults\\excalidraw-auto-test",
|
||||
"config": ".obsidian",
|
||||
"pluginReady": true,
|
||||
"extrasReady": true,
|
||||
"mobile": false,
|
||||
"activeLeaf": "3022000000000003",
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"leftCollapsed": true,
|
||||
"rightCollapsed": true,
|
||||
"popouts": 0,
|
||||
"tasks": [],
|
||||
"printRoots": 0,
|
||||
"protocol": 3
|
||||
},
|
||||
"passiveAfterRestoration": {
|
||||
"started": 1793337958138,
|
||||
"completed": 1793337960138,
|
||||
"events": {"rawEventCount":120,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["3adb14cadfbc94a069acc55d9bb6da877437a7cf0a278f5348ff8e62d825d0f9","88296fae0b444107d03f9fc7c1bbb78a486de1fa32689709e74b7f56b811cb6a","0aefc919b2e4c6809bc021cb6f19c356996217c250b23beb5afd561b8328bfec","5b5f087a542671564bffe575b4272253869dcbc88febd399b5942007a67e52c9","931244771ccb7e828a141f9495fc61e483f0af54e8a49a033a73840b9976e311","fa259573f643cc8b562864865c13efabd9338c256277bdc0d0ca55ef4eb70cee","5e73c4ada1105afdac1e5be8bd3ae064a7e80b5117b99f5cacaced39e2a5ce58","355dce4ed855fad67933cf60f0b09ed9d44eae90362ce3e3f0b89d16ffaf6e12","cb2dcd47477f890f0cdf6bef751d63d1dd9f58edb694500bf245c79c91b47e42","f3027aa879dd11cf4ddaccdd6d8287021a3c9b1076c66989d856d33727992075","123c661e1092afdefedb70c5d445ba44b3ee393b890558b4beb7a06410d5fb92","e097d4bf4df84103d7eec5318ea69c5c44caebafc094686bca3b30b38293e009","8e43ea0426ae05861963ae5f3496a1e90165097682d5c0fcd9b180304499262b","be9d888320ab0778bc52ea186be86a0378b1daaf805344d4240e4eb49a0b6ead","bc2f2bd84ce5bf8701f5c7c78871db261cfb6e39eee3ae8a2a8dcf034b4084e4","2b11051370008799225b18a3d553e133ffa643073404079f779189511f23dfd2","6e3b019ff68cf53c5355b20b23f02936a6b8c6f3293f4938f63cf1d4861a533a","43ffc6c0a5093606c74f32b4d1251018bf8c953b16cbbae8275504c5288adfbf","8573838f025e3f8f7d473acf3de9bdab69e2ef61df63d60645ac0e1ca000b346","908ea8b8063a31947adcb8677ff785f19409ee1386fbd6a1a8afe80140570f3d","87c43c697ff09a8df62effd2260b3c69bf03cfbfdcf33e35765786e8283b94f9","5fa8d8a1a6f898ed3940cd4427a94f720e6e400a0135b5f7992777a94846ee36","191b1ffcde1362484ccd880f95a4d29f35a2e01be9ec9c94f6f50a3d2fb4e537","bd7475721915a359a62059ffaa7138866ab908247d2b00ce52e011808ec28fb5","59a8d022eed00f3279c7f2758c94d3cbc48d6458cf2ec483cf6dc61a03fb7e87","4e9f8856276011e6aabbeaa932b7a696f525935f6445d0c8eec9461b7680988f","662cbc982a8caf46fba4d6800e0dd6939e2d10865bd506e825a80f7046ce124b","2cbb8c5d8003bcda95f04a1d361b6bf65b849729069855febb2a5eed304809ce","aae1f3c6b092dc158c4dc95b29faf65635c0bfc89fc7fb84daa3fb1d2476050f","b6b1f229a583de0c3d8ee8645cdec08ce5998dc7c3c0cdeacc76bdbf22d8bc1d","c72ef90dc0c6782993050f5be0c731d4b3923be0840c51044f5e911f3ec224e6","b06d35ee4104613c56bcc0d3968ebd8e5b3e484e077610657ec60bd3e34689e7","745ef499134d54fdb5a55d264cfced84e5de279101ad7dadbc5e3afd59d41352","118546354bd38a13eecb2c12b0b99aa32c08ab00a4f6ae859d7dd3e141053c66","73e0ca975b7660f951ae6f36d77a44c0a944ba16b38ad7c212507c5bae4511a9","0be87eba236a32ba7a8342f05485a80fb26d94b1988d59f7fdfd8ec414f259eb","62ce9cf7fcdbd74ceea5e04d9b925eb10aa49a6982e78b48c7a61a6b43ec9ab0","65ae428308332bda6afbc20e4364aecb5f370c597079f6bffe2dafc55df30ebb","4fb5467d7e108b6d05d0309882d6c8a736b4641bac10830fbbc77698f0e5c026","e772480e07acb718e12276788ca5499e13c96134e8fe56d4980af77895148c82","7b47ee206e17377e8c86dde5b364b37150668174598e60fd81b9f6e25f97a611","af397fcb4c1647ba79a063b7c00a43cb1eef650806c1c2ab7258c5bcc05f3fa8","e66df5fe191621c6cdde788a74b5144c4e745622403f9b94adaba9b07ac5a7b6","34c15dc2975310fa546f0e14537f6db5aac9a01e323c43e149bf88c2827c7219","61bacdb138c3ad27a36cb8651a64776aa7777ec4228f03fb827c3c3927bd3264","de22fa8042b08c6bfc8101568a0b889fd104ef22a48c4a96b4c7e0b5bd3d1471","f6c7fbe5a83ef911c5f598308ea09a6fd996f74947be1d038d6fdf95bd77ce81","77d67632f55e030b09eefc8144e29c37c321a4bb0d942b58f5facc132c97acdf","d0b111b09451a0c0f1d311cb3c56a243275d681405fa551a91181f4e520b5487","2d5e4b59c3e06a929469459de6f58430d0ef65ebcf9aed341e427aebcad665c5","2b8ae1f560733e9668ba6d34bc3933438c999a391c92d2e48485b14725947190","376ed9653a04c6df7d7edd889a35c6ca556c70dcc7fe2c067f6c506135a751c3","444183f3dd3cd876df1bbc2d5014ead5c669649c74096dcc7b8d8d09114ed072","6ada94f95e9bfc948baf88f5fe6d13cfe51fd98d67de3198820148f1cbf449b9","84e391ba380c9bf292d805e4eeee6d50ab70247c61a2fd0744055301ea7ec64e","def7bd27a7a37d97db9e8e2a8fd02589f1c3e0591fe497655666e77a53d3ecad","8eda93cef00d26c7e1c96bcb6e7e43304c986d079c91f8d5aba191bdd4282090","5a10c15a59d91cc8bca97d6487b22671b0d85d6e5ecf7090b1dd396e2c0574c6","155c51af4dbdd8003282eb0481d272ac14187ece6f1f824df9e0a35dfd1d558b","b06d9d08b9119067edc95d2e3eb3290507e1d3c27afc6f318706c74d3f9f9904","bfca811e693f1e2766e6edaf35c0dbf1755deb340e848fa99b1dff6ae870c568","44abda6a1bba639be7e7f2e1f7513f60d1f3115216d19b2022013ffeea00ba0c","df621861f92722a2253b060169d85352e971be9c30d962c1e930a59e251d8c83","36dba3d8f6bce457ac7f56e9d143bbe196e5fc91b9b343cb0c5ad72bba08aaa7","b205cd39b7cde1891fe7c4aacdf9457818fef97fb4237c43bb447ca50d2ded2b","d22b0c7c87382c8c775678482eb01c82915e592c495c227726fd8686454adc63","850c0787e9b8f9e4b30eb0e6a1e1b763ac34b1f6f04f980e367b4886547ac7a7","9ff74bb71cecb5126c2887f4cb2cd402fd4eda165f5d13bb13e1a1e9a2f35a65","5f131df00c57c2856b659a4e5efc5fc99006175b26d434eeb643954d1bc9ea43","9c04250309a72ca3a991fc0c8cbcb0fe83174360a839713e0f33d3fa8606d772","7952f464bd55d66d70a78f495e1850a8f1014737104ecdf9bb6639d7ce1ffa0f","79ebf31c252c025df7b587ccd71cf92ac3184444bcd24a46e3c44e17a8ad3e78","aba940a73b67e117b6254ce6bc6c5d5fe5ad697ea3f659bf61f7559fc66a87ed","45Line truncated
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"popouts": 0,
|
||||
"debuggerAttached": false,
|
||||
"pluginReady": true,
|
||||
"extrasReady": true
|
||||
},
|
||||
"postProfilePassive": {
|
||||
"started": 1793338052491,
|
||||
"completed": 1793338054491,
|
||||
"events": {"rawEventCount":120,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["eb5113fd56785e38e352771291ed100a9ae5f15da8810a4f9215bfdb81b10e76","4c450079f6c5216802e7043968851b74cbdaebcbc813b0c052d840e5301111fd","71ee4f6052a2e6a37c58fa9838f4c1bb15e3989b6c70baacf9640ac8016c3350","586b27712b1997e22567017b70121ce88d7d9816cf2075c27e5d031274769281","7fceca8a174b66df0204361461366e24d9117e44b4dd684c0fb3c02e7d324cca","c0795883cbd339f9fbe871db5e34c341619552460e32852015f3b357342716a1","24e448d6d1d6892e09e26f3f10b198228ebf7b902ff4c91c279ea7512585f7d3","15314e807f01cd1b39ba2a0ce235ec0854ca31eb8fff3a297a3d7f57a757723a","4916bdfc797364c41d52037e59ff23174962d289a494e906db9447fc41137b32","2abe7badc7b591b108a3a9263b129f311a44271547acdfe557c8c702dfb1c005","85dcc09ecb269c9929cd7eaf80b5ff835798b729da2761947667fa6e342c53ec","8695f8affbd20b2352fcf7ff2e72984a0e9f9e4d6a6902ea85c8eadadf2a9d04","25db6e50ed8358210d139f50da878cff7daa69638aee1c3d7e7542d0fc6c5123","2744a2daac7b5d46cb9f7191cda5230fb8894d2dd896045883e22b5bc5dd0949","273a401c1be36402b1c54d3adad85452038e3937d0edac573f7f3ae0b68dbc24","959965072e7191b61dce721faf9a23ffaf0bdd0d3966a8c142f442c2e9590db0","4dd58110c0bd4563f68b71e213977a9b9dedf5acf445ad96d0a6bdc6ba0bfc95","426fd28315e7ffb07bf83121f70aa7dfd77405a7f35d944766f3fa94bd5ed17f","ee69b94f969a072e799e9b6b00efdcaa634e898fa582befd973dedcc07736451","cb2326de6de5cdd9d566783785a07c12f22263570993777dbd8bcca75a9a6a20","d2fb33ef7355d71d139d389ec89b53d1057962c146cdd6d5168120160d39fc5e","2e04a7a11288e3bd625dc8afb125e2b8d001fc4e8fe68e1f66d89b3c7ca7c259","1796db7d46026887de5ca9a61af08ba3cc65817f6ba3af7830dce6f83af30a9d","32732efeafcde3b0d3319ef42762358d49694816a32612824d65696102fe972f","e37504ecb110f672c8627b463d298d8e4c39dffcba2d95794ea51d713d90942c","2411f180a55e67282f303c69631a08644ac3e7af2c5f86269eb8492e97b70334","0687dbae9ac83f0941ffa5076d9708421a975c4fb0f6ddcba67e2d0c26371785","e94ca6a1e701953608ab741c3db7144a908a7b406f16bd57c9fbe795cab74251","85fa61d077c75031e4f6bb166248e6c1e9265a0caffa8d3917767262c5056f6d","ffabb4067c0dba1fa59997d848ca429065220b70860230e0e9d070f248a5c6d9","9f5d7e3c0e5923db721a146c550f28a830ebba92489d1b60c6dd9f969dc90ef9","fab92c87a8107bc4000e4b6ebf6a05520cf239f5a7257f31537fc0a5a0918078","055c3837834480d0aa693f4b6fe39b129c9c6dfe42a609158cceec6d034e3ba7","f1d95e8b42c96b258321ca38b08976e55761835ed4af55fb2752a75fd38ae934","0b92a62327e723c851d6491a396a118b88adc2a3a8899106ddab019c071d0415","5e3872f4cc2c46461a3a1a9a6ba73aa4049494405b28622bf0775c881cc35ed9","3ce307bcc9072ee12c099eeb1785fac6704a3ed8c350e026d446504eedddb5e9","7488ffa9518c2824bc52e9476722d4d3cf1262f87f50c8981b735c61744c07db","7d71917320f27211820e47b15065fd5d670f0827e87deba5ec64ce4d16c19fd0","ed0a3d6092d30bfa4b4cc1ad1ba316d1ef16514ed9ff07ed5c210a5b093d9223","a4ab2210e8d7c7a84a374c3ccad13ea8cafd79ad816d963e11a49804e86f80b3","13f3aa8e58034ab9b9e0cdfd66e600a3ae6478f5a94dd5d1334825600ae8956c","b8601bc0cb9ca156961ba2983e2e0e14e7ca70d82c62ca32ea49b7a7f6ba3ccb","5437a1719fc6ebadaac4c2f2628e886e2a95afb21e7dde165b6d04fbb6798793","19c15bc9b76fbaed5e37a8ee63fa615a0e1666661a5f83ef5f0a0da0d8ba50eb","7d950d29ac8e15f323cff0bb2d125ef0f4a9de786d56f2ae2d80ba0635cf0eef","e5e1522202d3c2c52b2a8ecadb691062fa18f2d9c8bb904dfe029b8ab18e087e","647eef6fcc1b4fe71a9e074dbd7da2f035bd53cc405aa0bfafb91637aa2e2ece","09fd221ac97747b9a11af0e7033a0a31ba0952152373e3b24d2c90690907008f","40b8f9f296999f99eb2a311d8568924bc8e9a24880122334778285b512acb9d7","d2f4f21f718a5395d1511d07a4a1b861b0fddb59bc9b69ade16395b057808f0f","e9fa2f88a846baed52d229bfe7f8a3b0f0f5ed409eece4b17918de784c0d60b2","3648eb5eae1ca22a4142fa849ddc4dff071687046bae49c37367bcf83a9eba15","d3f85c97eaf3af7394dc3efe75f3e4bec78d0a8edf6605bd90805c9a90f5dc77","b3704360347c06a5dee308d15ee13a6b445d36053d63fbfce2e245aae7874edb","dce43dcd7ca3756a63d9e16c42116701c475693db8d9018bd72dcc7627eb78c1","949459780f9e9300a7811de7576389202df4d9a660def7ff4a5695486e2c72f3","8f4667c01468a203b506799bc78735d6f82bbfa2de42351431f86b86c028a199","4e7cabbd0c00a1cb0f37f80958cbef5bb57094a20aca63b25df122e717658948","f82b77c75a230d1d35a1a9b7ca6e70d3e8b7455a3a9378f7f2885b0051a4f3be","958a8e782314f61d27b633eb4ee494504f4e741de519247edb158a493dee0c8a","263f5dafc7c571811eef11338b002280de9370238a678cd109b1019590c38327","de6bb1265c88c3c870d5def42d17974f7de28354581b2468b62330d07708a770","7cde4506604959501b9d44846482113ec8a86d7e70ebec1b73e860649247449c","24c1a5b6fcd0df6237fbced001bd39dd2ab7805b69c6b38703fdb22e6a0a0bcb","cb78744ad7b80aac84b39107156db9bea6e50c97e73c2f86df2374c15b185e75","f1aaba5d0ee58277b833ed2a3dc0f32c9b1bd77133d97cf86230057612cb4663","db9eeaea228f4a906c867a082be769d55b47d2ad588d7fe41368b657f5806f6e","a2c3348d64aa793dbc08d3e4a6fc0d5fb8fc3bdfa473ab9910353dbf8dd51c2a","0c45f60fa4afc142f6297e1727477f2a50d9bc7023a5cebf44aed9c0f3133a71","96ba0fcb8c3b56e89172ae27a6ca78e199b9c2f2b89bbd13d3bb071aa59afada","86d2c93d32f0c62e5c378c34eb1f30d506e3c18a24ccd3a1c574cc10cf7c6fb8","a8a6e08619fb91a97a82c4b761b1f7591dff665e1b1e73b486979ee1ef22466d","9fLine truncated
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"popouts": 0,
|
||||
"debuggerAttached": false,
|
||||
"pluginReady": true,
|
||||
"extrasReady": true
|
||||
},
|
||||
"pluginUnloadRestore": {
|
||||
"phases": [{"label":"baseline-loaded","started":1793338146773,"completed":1793338148773,"count":120,"plugins":[{"id":"excalidraw-extras","loaded":true},{"id":"obsidian-excalidraw-plugin","loaded":true}],"debuggerAttached":false},{"label":"both-unloaded","started":1793338148782,"completed":1793338150784,"count":121,"plugins":[{"id":"excalidraw-extras","loaded":false},{"id":"obsidian-excalidraw-plugin","loaded":false}],"debuggerAttached":false},{"label":"restored-loaded","started":1793338151118,"completed":1793338153130,"count":0,"plugins":[{"id":"excalidraw-extras","loaded":true},{"id":"obsidian-excalidraw-plugin","loaded":true}],"debuggerAttached":false}],
|
||||
"events": {"rawEventCount":244,"rawEventFile":"native-event-payloads-2026-10-30.jsonl","eventIds":["6bab5df3476ce8a501895183471871f6ffa55ab0dc19237d8e8600e8da9a200d","260b10bb55d8ea33e5215173a531301134cdd1c836a0061c2c8224d01bd98ed8","f41812178ac581dbbe07cd988c300f044145b53f0eb1cfe15effd8763c409598","a23f5b0a4bfbb6325db28ca33a6c6bf2da56438c6eca19499af7fd2f1eaa8f15","1f142187d31081d236e9d3853dfe3c16ae2d45a440e8d6b475db6e02100ea87b","03f5dd4407ea63ea70e4249f235691c44f0b6082d982dff32f6dab6a0ea4f47f","3825bb97a4f4f4e9f602d8dd4111ae497f12280f6e3857b84729b53be5f7a3dd","cf8b1f5b633e444ae2c62924965c571153bb180a9eb8fee6b3ed07c7cbda57cb","1c1d55d754723a32cd8affc663f7104ca927d83fe800f290395bed6c0c4b8260","b0b3c30576b023f0c0fb27b1543c93463e348f0a80c57fb3f7f3d2aeb9b1174c","df633f17658706be7c17798ad949b0a7ef58f96dafc93e27c12201a1b2bd8612","c4cc17eaf70cb8120dc22f948f28c080746ac2df2b3595dd54aa77aca9391180","5d6d92f8a9bde08a314dfecee0a48677bfbfbfaa7f4cdc7680150696067a173e","4f5101a4ceedbe83ec314ae2a414044e1752c748205c17bd7d50c38ac1ae2ea3","52f0e4711e51c6699ee2ca7085aad728cc270fd34c6598b67eee7ac53b001382","d10bca6b1c8f15d7ca75f641bd1d69ca3895a70f5f49bbb3fa3c33437258db8a","027de659dfc99f43d66a17daec135e7788cf9ae601edfb19287ea74add37d310","d6e792a524ffdba0cdb0eb794a81f3e95353782aa04d78a400a5a08f35f712ca","9bef11fddd970af37a88705e5ee02b5dd5f51bab66a944038349af6660ee6ab9","430e56efadefe75d1b69d5ef5b00181f6a603dc85f78cf256313b1c6ade18930","72bcc3ff31b66a78e690151be2290b9b9186aca9daaf690a6693b6d8371b65f0","efdfa797235fd83071367aad2d47f9f4332684f47b4da38720d8d70bb80040c3","95e9a854185a1a7bd367e77f1ce8e317d0a58c7187564ff405b6cdee46a25cf4","a361d0725e75a8115cca5a70b962f16bc81cbeec09ea9a9fe5fd64123f8e6c80","a41b48dbee84458b877e0e4a80bb793ca6bf7e53685d3ba2afbb576dfab76907","1c7995532f50424c809f542b8a2507e4b5a6a1c017bfdb27030cce2158ff9373","f834e4b782fbf13c908a22fef701e080c4784f91e466f9fed1bfe96eb4f62f0c","3880fe86106bf4c1dc232d0fc13ce46f2a46a641bb9b0c4cba7880d7cf2bec68","a09c13e228a07a0b10cade61557e83abbec4fe0cdddda593e12f9041aab24f6c","cfb004beadfbce4c2a32995117fc6b398267ce3e6e5be89b3800d9d6a3329b03","40920385006de3dc24abbc6317c660480810abf57c01f349b1a2fde17acab92f","f86463572db9987dfa5422d84b54cda57415cfe67530fef16cd4c7e7a70c4173","ad3cc36a97c7d70be2d3a2f989e5131da0c0687b94b432280be29029ddf26d65","5e19c980bf31e12f811b4e32e898b6a8229771bd29277e21b6ca4b2fd91e0d5a","f190696ceeb8fe6041d0a01fc5ff6e635876bcbb42d93b41ed2279e286bea9d2","1721aa1c304b93e689fb200dab97c54f66d45b371318bdcd08c5922b73b4a2b6","ada2de34fc25f6ee34c87256fcc0d48d228de9b4332a28dede7cdec916c4a788","bf19af509556129eeefc571579f58208a6cf7ef255d97d04b74556e4ed780776","9fbe2ed909d39fe2f6b6d9739b02ef997a0e01d5f10dd45be888a0e0cd8293bb","b5b516d88f854f8799ab300a9b2146868b0c4ae441d7a7ee4d6d0ed11d9f699f","70965bfe272a033411a15ec30986f2eec60b1e915905c95c70521fea7085f058","61885100ba45dbbc51d323d9f7051217acd50d2a651d7480edad153a36b4bf09","c62f7a6b7de72ef1d48c20a65ab60e127f658993bb008d3203d0ae63118bde5c","3e960a07a9758b17c9b0c512c7689919fdf8f388ecf0247814d20d2ca8d6a577","059fbdf1755ad8e75fa4dd40bea547e3fdb444237e71d31525d64559d16b2e4f","894177992ec79d9f66622a56d3936b0219a9fd366e57f7390e356e08ae7684fd","c69dd58f31498d6754f21dc2fb9273f7a7758905428c841397cccba7a3b188ce","46d957cdc14e2e560178e3d4ba6447dc49bdb65d64c34989cc7a68da3445a5ff","b79c675e454e24bb2a049944ca048dea15f02b10a0471da9b2cbcc25a26e077b","22c7ef19e44855985189acb52844ebd4bb6e815c87cd151074430735e234702b","11af144ff96762f49f4b1c3baa9f24ba6e753b9cb0a8062c50f1aa6707779178","d84d57485b0e2459a8ab0a08399d609ba6e169bcdc842b2c25217e54201fe2cd","81e8ed808bce0467dea921f3cb31c457c35940caba358dd8ac258400f81287e0","0230d5bcc2c5fd479dc67e986da93a5fb6368ec972b1c767234979b483863f88","7d85c41c73eab451079accdf1194f8c1d536325b1a07ed868e4c9b8a8baa8d99","8e69d375876fd5cd4f8611d5ef730f81ebee3825ce5d24a803685ed062631161","c6a4a22b8b7b2eaca316057d336442e02eeb309201b6cc62d8841b002ea50e63","5633c1d9334cbf8a6928fcf069fece7d69b6cb62e9b3be6172e17bee2247a2c3","3c765b327d8a0310f7ee970c0bd5ba9382446db5459737549a50f37d5c935620","aae11e314ef775121bdff36e9a260d61d046ba6d373d0a28e2b3f89b7ab00022","1d5d4c53f5bb6054e80cfea521935c1c3bf4163308f67e8cd3df758ecbcec437","23db80b543dab49f3fa3bff3a0876410f0cc557c48a37680d44b09ec5010592e","f01f36b370a65f89b33730df9a2b6097a7723877d1bdd6f66da320102d70a575","6dad74e5512c6f093059cdabbd7ed71c3e5fbba4c2388e0facf206ddf68840e5","fdc5aef6f9417eb392da3c89a28e0112f546774360e68248de7fe988fba7747f","d7e069f9d5ea2968e52bdf81e9a6a0d78865d11e967cf733f3a720680f7f074f","b539174eaf17a554390b38ee6bc1a26158f2b797231f3f5c10a4878996e62031","7335720aa1aa0b41c20fd4a9b2ff4d510491d151fa5c7307b110ecbf1933145e","207e9542b9e6089da12a2975d33e26195039261f826b1c5fcbde705d58dd09b7","bc7fde09b8ed713f90cfdbb608e7fcebc96f65010662dde3a7630761e6a32ffe","c42bbc24c98c9a41f54ab9723c50a8b981f6f43b5487b68c7ef8420ce7a9c99d","1945bf88be10cc159187405d064b01ee7fa82345b83c10d554b5dc206b7cea6f","c51f406f605dc3cab93bb687017a4128df783163cda404580dcb34322b9a605b","78Line truncated
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"popouts": 0,
|
||||
"editorRoots": 0,
|
||||
"pluginReady": true,
|
||||
"extrasReady": true
|
||||
},
|
||||
"rendererRecovery": {
|
||||
"recovery": "reload only this verified test-vault renderer",
|
||||
"contentsId": 1,
|
||||
"applicationRestart": false,
|
||||
"acceptanceCredit": false,
|
||||
"inspection": {"vault":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","config":".obsidian","pluginReady":true,"extrasReady":true,"mobile":false,"activeLeaf":"3022000000000003","activeFile":"Notes/Render target.md","leftCollapsed":true,"rightCollapsed":true,"popouts":0,"tasks":[],"printRoots":0,"protocol":3},
|
||||
"passive": {"started":1793338162649,"completed":1793338164652,"events":[],"activeFile":"Notes/Render target.md","popouts":0,"debuggerAttached":false,"pluginReady":true,"extrasReady":true}
|
||||
},
|
||||
"crossWindowObserver": {
|
||||
"variants": [{"mode":"none","callbacks":0,"closeAt":1793338410834,"beforeClose":0,"afterClose":0,"pluginsLoaded":[false,false]},{"mode":"main-realm","callbacks":2,"closeAt":1793338414004,"beforeClose":0,"afterClose":0,"pluginsLoaded":[false,false]},{"mode":"owning-realm","callbacks":2,"closeAt":1793338417126,"beforeClose":0,"afterClose":0,"pluginsLoaded":[false,false]}],
|
||||
"events": [],
|
||||
"cleanup": {"popouts":0,"pluginReady":true,"extrasReady":true},
|
||||
"acceptanceCredit": false
|
||||
},
|
||||
"passiveTimeline": {
|
||||
"complete": true,
|
||||
"eventCounts": {"thread_name":15,"process_name":3,"process_uptime_seconds":3,"RunTask":1250,"TracingSessionIdForWorker":3,"TracingStartedInBrowser":1,"FunctionCall":182,"TimerInstall":1,"AsyncTask Scheduled":3,"Document::UpdateStyleAndLayout":360,"Blink.ForcedStyleAndLayout.UpdateTime":360,"LocalFrameView::UpdateStyleAndLayout":630,"WebFrameWidgetImpl::BeginMainFrame":90,"Blink.Animate.UpdateTime":90,"PageAnimator::serviceScriptedAnimations":90,"AnimationTimeline::serviceAnimations":90,"WebFrameWidgetImpl::UpdateLifecycle":90,"LocalFrameView::WillStartLifecycleUpdate":90,"LocalFrameView::UpdateLifecyclePhases - start of lifecycle tasks":90,"LocalFrameView::RunStyleAndLayoutLifecyclePhases":270,"RootScrollerController::PerformRootScrollerSelection":270,"SetLayerTreeId":270,"PrePaint":270,"LocalFrameView::RunCompositingInputsLifecyclePhase":270,"Blink.CompositingInputs.UpdateTime":270,"LayoutView::commitPendingSelection":270,"LocalFrameView::RunPrePaintLifecyclePhase":270,"Blink.PrePaint.UpdateTime":270,"IntersectionObserverController::computeIntersections":360,"LocalFrameView::NotifyResizeObservers":270,"UpdateCounters":181,"LocalFrameView::RunPaintLifecyclePhase":90,"Blink.Paint.UpdateTime":90,"CullRectUpdate":90,"LocalFrameView::pushPaintArtifactToCompositor":90,"Blink.CompositingCommit.UpdateTime":90,"Layerize":90,"LocalFrameView::DidFinishLifecycleUpdate":90,"Commit":90,"BeginCommitCompositorFrame":90,"LocalFrameView::RunAccessibilitySteps":90,"Blink.Accessibility.UpdateTime":90,"LocalFrameView::UpdateViewportIntersectionsForSubtree":90,"Blink.IntersectionObservation.UpdateTime":90,"Blink.UpdateViewportIntersection.UpdateTime":9,"OverlayInterstitialAdDetector::MaybeFireDetection":1,"HitTest":2,"StickyAdDetector::MaybeFireDetection":1,"TimerBase::run":1,"TimerFire":1,"AsyncTask Run":1,"AnimationFrame":360,"AnimationFrame::Render":180,"AnimationFrame::StyleAndLayout":180,"AnimationFrame::Presentation":90},
|
||||
"functionCalls": [{"frame":{},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750949,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750950,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750972,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750973,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750962,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750963,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750920,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750921,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750926,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750927,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750916,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750917,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750938,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750939,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750928,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750929,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750934,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750935,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"frame":{"columnNumber":36077,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"window.onerror","isolate":"7032996421866244547","lineNumber":2,"sampleTraceId":8711798616750764,"scriptId":"13923","url":"node:electron/js2c/renderer_init"},"count":1},{"frame":{"columnNumber":1628290,"frame":"AE500BA635B7E2EEB93B4FA34827DD6F","functionName":"","isolate":"7032996421866244547","lineNumber":1,"sampleTraceId":8711798616750765,"scriptId":"7970","url":"app://obsidian.md/app.js"},"count":1},{"Line truncated
|
||||
"claim": "Repeated native resize-delivery phases with error-handler calls do not identify the responsible observer or establish sole host/instrumentation causation."
|
||||
},
|
||||
"finalInspection": {
|
||||
"vault": "<plugin>\\.test-work\\vaults\\excalidraw-auto-test",
|
||||
"config": ".obsidian",
|
||||
"pluginReady": true,
|
||||
"extrasReady": true,
|
||||
"mobile": false,
|
||||
"activeLeaf": "3022000000000003",
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"leftCollapsed": true,
|
||||
"rightCollapsed": true,
|
||||
"popouts": 0,
|
||||
"tasks": [],
|
||||
"printRoots": 0,
|
||||
"protocol": 3
|
||||
},
|
||||
"finalPassive": {
|
||||
"started": 1793338872607,
|
||||
"completed": 1793338874623,
|
||||
"events": [],
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"popouts": 0,
|
||||
"debuggerAttached": false,
|
||||
"pluginReady": true,
|
||||
"extrasReady": true
|
||||
}
|
||||
},
|
||||
"finalInstalledFiles": [
|
||||
{
|
||||
"plugin": "obsidian-excalidraw-plugin",
|
||||
"file": "main.js",
|
||||
"bytes": 5030423,
|
||||
"sha256": "cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df"
|
||||
},
|
||||
{
|
||||
"plugin": "obsidian-excalidraw-plugin",
|
||||
"file": "manifest.json",
|
||||
"bytes": 470,
|
||||
"sha256": "4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0"
|
||||
},
|
||||
{
|
||||
"plugin": "obsidian-excalidraw-plugin",
|
||||
"file": "styles.css",
|
||||
"bytes": 354364,
|
||||
"sha256": "4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"
|
||||
},
|
||||
{
|
||||
"plugin": "obsidian-excalidraw-plugin",
|
||||
"file": "data.json",
|
||||
"bytes": 27642,
|
||||
"sha256": "165c02816a6a73415b367dfab18fb79f8d52c8bba21b263506749d9c77677c23"
|
||||
},
|
||||
{
|
||||
"plugin": "excalidraw-extras",
|
||||
"file": "main.js",
|
||||
"bytes": 2536224,
|
||||
"sha256": "28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb"
|
||||
},
|
||||
{
|
||||
"plugin": "excalidraw-extras",
|
||||
"file": "manifest.json",
|
||||
"bytes": 303,
|
||||
"sha256": "d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611"
|
||||
},
|
||||
{
|
||||
"plugin": "excalidraw-extras",
|
||||
"file": "styles.css",
|
||||
"bytes": 1427,
|
||||
"sha256": "3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"
|
||||
},
|
||||
{
|
||||
"plugin": "excalidraw-extras",
|
||||
"file": "data.json",
|
||||
"bytes": 125,
|
||||
"sha256": "e14bf7cf814d3c7029446d7295b77c5e4185a9c0ae5c0efc9e7607ffeb37ed0c"
|
||||
}
|
||||
],
|
||||
"independentEvidenceValidation": {
|
||||
"evidenceChecks": "passed; failed acceptance remains failed",
|
||||
"summaries": [
|
||||
{"name":"2026-10-30-native-repeat-1-9b2874ba","status":"passed","passed":357,"failed":[],"behavioralPassed":258,"profilesPassed":40,"windowEvents":1,"cleanup":"passed","baseline":{"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}},
|
||||
{"name":"2026-10-30-native-repeat-2-9b2874ba","status":"failed","passed":350,"failed":["lucide-3019","native:device:desktop-narrow-compact-light","native:device:desktop-narrow-full-light","native:device:desktop-narrow-tray-light","native:device:desktop-wide-compact-light","native:device:desktop-wide-full-light","native:device:desktop-wide-tray-light"],"behavioralPassed":258,"profilesPassed":34,"windowEvents":702,"cleanup":"passed","baseline":{"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}}
|
||||
],
|
||||
"portable": {
|
||||
"status": "passed",
|
||||
"cases": 664,
|
||||
"lanes": [{"suiteId":"plugin-fast","total":486,"reused":434,"new":52,"passed":486},{"suiteId":"fork-owned","total":127,"reused":115,"new":12,"passed":127},{"suiteId":"fork-browser","total":18,"reused":18,"new":0,"passed":18},{"suiteId":"extras-source","total":29,"reused":27,"new":2,"passed":29},{"suiteId":"extras-browser","total":4,"reused":4,"new":0,"passed":4}]
|
||||
},
|
||||
"revisions": {
|
||||
"fork": "053a3b9f9e77917c457fce8ca9453d38b92a303b",
|
||||
"extras": "1cdcb7c425a9b80afdc7b39c88861143b4b85e58",
|
||||
"plugin": "9b2874ba173d5b28a3304920ccacd94c3fcbe02c"
|
||||
},
|
||||
"runtime": {
|
||||
"installer": "1.14.5",
|
||||
"versions": {"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},
|
||||
"platform": "win32",
|
||||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"
|
||||
},
|
||||
"artifactsMatch": true
|
||||
},
|
||||
"remaining": [
|
||||
"At 9b2874ba: one complete 357-case pass, then a matching 350-pass/7-failure repeat. Both retain all 258 behavioral obligations and 40 device profiles; no identities missing.",
|
||||
"The second repeat fails lucide-3019 and six early desktop profile idle gates after a 702-event storm. All text-history variants, all six stability cycles and all 15 popout drop variants pass in both complete attempts.",
|
||||
"At traced checkpoint 84a30be0 the 172-desktop-plus-core sequence captures 16879 notifications. Its sustained loop first appears during native:lifecycle-new-popout-survivor; one earlier popout Markdown notification is transient. No JavaScript exceptions; all functional cases execute, but strict parent idle/cleanup-idle gates fail.",
|
||||
"Isolated Lucide and lifecycle controls pass with zero events. Empty-popout observer controls with both community runtimes unloaded also pass. These clean controls do not exonerate the ordered drawing sequence or justify a production patch.",
|
||||
"Next action: isolate the state retained between the desktop workflows and fresh-popout teardown, then propose a minimal production fix for approval only if evidence supports it. Do not rerun full acceptance without new evidence. Two fresh complete matching-build passes remain required after any implementation change."
|
||||
],
|
||||
"rawEventEncoding": {
|
||||
"file": "native-event-payloads-2026-10-30.jsonl",
|
||||
"format": "Ordered per-observer event IDs retain duplicates and counts. Payloads are stored once. Do not sum independent observer counts."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"status": "acceptance-passed",
|
||||
"fullNativeRepeatsPassed": 2,
|
||||
"requiredFullNativeRepeats": 2,
|
||||
"historicalCheckpoint": {
|
||||
"plugin": "9b2874ba173d5b28a3304920ccacd94c3fcbe02c",
|
||||
"completePassed": 1,
|
||||
"completeFailed": 1
|
||||
},
|
||||
"currentCodeCheckpoint": {
|
||||
"pluginRevision": "fd32ac682e2aadc0f982fa23d36da482011117f9",
|
||||
"pluginDirty": false,
|
||||
"forkRevision": "053a3b9f9e77917c457fce8ca9453d38b92a303b",
|
||||
"forkDirty": false,
|
||||
"buildMode": "workspace-frozen",
|
||||
"requestedProfile": "regression",
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"declaredNativeCases": 357,
|
||||
"declaredBehavioralObligations": 258,
|
||||
"plannedNativeIdentities": {
|
||||
"new": 273,
|
||||
"reused": 84
|
||||
},
|
||||
"investigation": "acceptance-investigation-2026-10-30.json",
|
||||
"attempts": [
|
||||
{
|
||||
"report": "2026-10-30-native-complete-1-fd32ac68",
|
||||
"status": "passed",
|
||||
"aggregate": "passed",
|
||||
"requiredCases": 357,
|
||||
"recordedRequired": 357,
|
||||
"passedRequired": 357,
|
||||
"missing": [],
|
||||
"failed": [],
|
||||
"behavioralObligations": 258,
|
||||
"deviceProfiles": 40,
|
||||
"source": {"pluginRevision":"fd32ac682e2aadc0f982fa23d36da482011117f9","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},
|
||||
"artifacts": {"fork":{"commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","artifacts":[{"role":"production-js","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","path":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","path":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","path":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669},{"role":"declaration:packages/excalidraw/types/common/debug.d.ts","path":"packages/excalidraw/types/common/debug.d.ts","sha256":"a8ff922d3c5550484a408d613ddc5938ad99df81d7f87a2f2eb57158a141750d","bytes":1016},{"role":"declaration:packages/excalidraw/types/common/src/appEventBus.d.ts","path":"packages/excalidraw/types/common/src/appEventBus.d.ts","sha256":"fbc91a8b90b0d42ece8095ffc47d4aa19ff41b2f35636b4197819221d5e38a91","bytes":1342},{"role":"declaration:packages/excalidraw/types/common/src/binary-heap.d.ts","path":"packages/excalidraw/types/common/src/binary-heap.d.ts","sha256":"55d64aab8b3e3a974954ddd664ea2c39f26c425c69f9516085c23673bb68a52a","bytes":334},{"role":"declaration:packages/excalidraw/types/common/src/bounds.d.ts","path":"packages/excalidraw/types/common/src/bounds.d.ts","sha256":"4aca9407a90c5b0e546ab8430bd8867b0ad7643541a981b121a48a0af6f94b89","bytes":258},{"role":"declaration:packages/excalidraw/types/common/src/colors.d.ts","path":"packages/excalidraw/types/common/src/colors.d.ts","sha256":"13d4f32cb1598531d83dd58c224e95d2eb1a1e00c91aa8ae4657c7c8bcfe6ab5","bytes":6943},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianHost.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianHost.d.ts","sha256":"11d9a953afff9cb166a4f42172fca190fda6feb112d00ff666c90b1e02be9c8e","bytes":2669},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","sha256":"a6563a72b034c6dde0b71b6ba29e39b37c0cc373c17938024b4fa1cd4cc000f3","bytes":776},{"role":"declaration:packages/excalidraw/types/common/src/constants.d.ts","path":"packages/excalidraw/types/common/src/constants.d.ts","sha256":"00ccf00adae6282079c3c70b6294a087eba9f9cecb9e3e0f247de2db6fc36208","bytes":16836},{"role":"declaration:packages/excalidraw/types/common/src/editorInterface.d.ts","path":"packages/excalidraw/types/common/src/editorInterface.d.ts","sha256":"0f224e384681de724694e6d605a0b2992c97da72d3c81acb45b31c90e92335ee","bytes":1811},{"role":"declaration:packages/excalidraw/types/common/src/emitter.d.ts","path":"packages/excalidraw/types/common/src/emitter.d.ts","sha256":"e160f5ea4483ebc246f1e66ccbbd5d04e4a6afebd49eabcd591a9828b300036d","bytes":598},{"role":"declaration:packages/excalidraw/types/common/src/font-metadata.d.ts","path":"packages/excalidraw/types/common/src/font-metadata.d.ts","sha256":"468d2f0ca327ab750b29aa9bf9232f4716fd9403c236b20eabd72072afbe8c3f","bytes":1755},{"role":"declaration:packages/excalidraw/types/common/src/index.d.ts","path":"packages/excalidraw/types/common/src/index.d.ts","sha256":"e9eb7d007d7257ed69a34026a1fb2a48cd66e004ff336d2f1a040814614f3e78","bytes":572},{"role":"declaration:packages/excalidraw/types/common/src/keys.d.ts","path":"packages/excalidraw/types/common/src/keys.d.ts","sha256":"c64cf972109a6a781e3950ab4812e6397d0be9cac5102acba85484b33ff5b85f","bytes":6190},{"role":"declaration:packages/excalidraw/types/common/src/points.d.ts","path":"packages/excalidraw/types/common/src/points.d.ts","sha256":"8583541800e13a13b3d86f10b3785edb8620e2b10e52ebd6f226bfbfcdffb6d5","bytes":602},{"role":"declaration:packages/excalidraw/types/common/src/promise-pool.d.ts","path":"packages/excalidraw/types/common/src/promise-pool.d.ts","sha256":"58684b8dc4d6c8d6a4349929132f398376339a6da8151b9f282969ab9fd70c24","bytes":228},{"role":"declaration:packages/excalidraw/types/common/src/queue.d.ts","path":"packages/excalidraw/types/common/src/queue.d.ts","sha256":"ccf68c9c2eb18c7926010f747e7e1688c81daf9d8e2080e3c3b751f5226e2e40","bytes":336},{"role":"declaration:packages/excalidraw/types/common/src/random.d.ts","path":"packages/excalidraw/types/common/src/random.d.ts","sha256":"8bcbf41e78d15778ecbf69caf400bbf4a9f50b377d1de19272c4690c8b1b9c1a","bytes":567}Line truncated
|
||||
"desktopRegisteredCLICases": [{"id":"native:behavior:main:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:split:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:nested-split:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:popout:cli-atomic-targeted-edit","status":"passed"},{"id":"native-cli-authoring","status":"passed"},{"id":"lucide-3019","status":"passed"}],
|
||||
"mobilePublicEAExecuteCLI": [{"id":"native:behavior:phone:cli-atomic-targeted-edit","status":"passed","transport":"public EA.executeCLI"},{"id":"native:behavior:tablet:cli-atomic-targeted-edit","status":"passed","transport":"public EA.executeCLI"}],
|
||||
"mainWindowNotifications": 1,
|
||||
"profileNotifications": 0,
|
||||
"cleanup": "passed",
|
||||
"deviceCleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]},
|
||||
"deviceRestoration": {"restored":true},
|
||||
"negativeControls": [{"id":"native:diagnostics-rejects-unhandled","status":"passed"},{"id":"native:diagnostics-rejects-broken-layout","status":"passed"}]
|
||||
},
|
||||
{
|
||||
"report": "2026-10-30-native-complete-2-fd32ac68",
|
||||
"status": "passed",
|
||||
"aggregate": "passed",
|
||||
"requiredCases": 357,
|
||||
"recordedRequired": 357,
|
||||
"passedRequired": 357,
|
||||
"missing": [],
|
||||
"failed": [],
|
||||
"behavioralObligations": 258,
|
||||
"deviceProfiles": 40,
|
||||
"source": {"pluginRevision":"fd32ac682e2aadc0f982fa23d36da482011117f9","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},
|
||||
"artifacts": {"fork":{"commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","artifacts":[{"role":"production-js","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","path":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","path":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","path":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669},{"role":"declaration:packages/excalidraw/types/common/debug.d.ts","path":"packages/excalidraw/types/common/debug.d.ts","sha256":"a8ff922d3c5550484a408d613ddc5938ad99df81d7f87a2f2eb57158a141750d","bytes":1016},{"role":"declaration:packages/excalidraw/types/common/src/appEventBus.d.ts","path":"packages/excalidraw/types/common/src/appEventBus.d.ts","sha256":"fbc91a8b90b0d42ece8095ffc47d4aa19ff41b2f35636b4197819221d5e38a91","bytes":1342},{"role":"declaration:packages/excalidraw/types/common/src/binary-heap.d.ts","path":"packages/excalidraw/types/common/src/binary-heap.d.ts","sha256":"55d64aab8b3e3a974954ddd664ea2c39f26c425c69f9516085c23673bb68a52a","bytes":334},{"role":"declaration:packages/excalidraw/types/common/src/bounds.d.ts","path":"packages/excalidraw/types/common/src/bounds.d.ts","sha256":"4aca9407a90c5b0e546ab8430bd8867b0ad7643541a981b121a48a0af6f94b89","bytes":258},{"role":"declaration:packages/excalidraw/types/common/src/colors.d.ts","path":"packages/excalidraw/types/common/src/colors.d.ts","sha256":"13d4f32cb1598531d83dd58c224e95d2eb1a1e00c91aa8ae4657c7c8bcfe6ab5","bytes":6943},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianHost.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianHost.d.ts","sha256":"11d9a953afff9cb166a4f42172fca190fda6feb112d00ff666c90b1e02be9c8e","bytes":2669},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","sha256":"a6563a72b034c6dde0b71b6ba29e39b37c0cc373c17938024b4fa1cd4cc000f3","bytes":776},{"role":"declaration:packages/excalidraw/types/common/src/constants.d.ts","path":"packages/excalidraw/types/common/src/constants.d.ts","sha256":"00ccf00adae6282079c3c70b6294a087eba9f9cecb9e3e0f247de2db6fc36208","bytes":16836},{"role":"declaration:packages/excalidraw/types/common/src/editorInterface.d.ts","path":"packages/excalidraw/types/common/src/editorInterface.d.ts","sha256":"0f224e384681de724694e6d605a0b2992c97da72d3c81acb45b31c90e92335ee","bytes":1811},{"role":"declaration:packages/excalidraw/types/common/src/emitter.d.ts","path":"packages/excalidraw/types/common/src/emitter.d.ts","sha256":"e160f5ea4483ebc246f1e66ccbbd5d04e4a6afebd49eabcd591a9828b300036d","bytes":598},{"role":"declaration:packages/excalidraw/types/common/src/font-metadata.d.ts","path":"packages/excalidraw/types/common/src/font-metadata.d.ts","sha256":"468d2f0ca327ab750b29aa9bf9232f4716fd9403c236b20eabd72072afbe8c3f","bytes":1755},{"role":"declaration:packages/excalidraw/types/common/src/index.d.ts","path":"packages/excalidraw/types/common/src/index.d.ts","sha256":"e9eb7d007d7257ed69a34026a1fb2a48cd66e004ff336d2f1a040814614f3e78","bytes":572},{"role":"declaration:packages/excalidraw/types/common/src/keys.d.ts","path":"packages/excalidraw/types/common/src/keys.d.ts","sha256":"c64cf972109a6a781e3950ab4812e6397d0be9cac5102acba85484b33ff5b85f","bytes":6190},{"role":"declaration:packages/excalidraw/types/common/src/points.d.ts","path":"packages/excalidraw/types/common/src/points.d.ts","sha256":"8583541800e13a13b3d86f10b3785edb8620e2b10e52ebd6f226bfbfcdffb6d5","bytes":602},{"role":"declaration:packages/excalidraw/types/common/src/promise-pool.d.ts","path":"packages/excalidraw/types/common/src/promise-pool.d.ts","sha256":"58684b8dc4d6c8d6a4349929132f398376339a6da8151b9f282969ab9fd70c24","bytes":228},{"role":"declaration:packages/excalidraw/types/common/src/queue.d.ts","path":"packages/excalidraw/types/common/src/queue.d.ts","sha256":"ccf68c9c2eb18c7926010f747e7e1688c81daf9d8e2080e3c3b751f5226e2e40","bytes":336},{"role":"declaration:packages/excalidraw/types/common/src/random.d.ts","path":"packages/excalidraw/types/common/src/random.d.ts","sha256":"8bcbf41e78d15778ecbf69caf400bbf4a9f50b377d1de19272c4690c8b1b9c1a","bytes":567}Line truncated
|
||||
"desktopRegisteredCLICases": [{"id":"native:behavior:main:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:split:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:nested-split:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:popout:cli-atomic-targeted-edit","status":"passed"},{"id":"native-cli-authoring","status":"passed"},{"id":"lucide-3019","status":"passed"}],
|
||||
"mobilePublicEAExecuteCLI": [{"id":"native:behavior:phone:cli-atomic-targeted-edit","status":"passed","transport":"public EA.executeCLI"},{"id":"native:behavior:tablet:cli-atomic-targeted-edit","status":"passed","transport":"public EA.executeCLI"}],
|
||||
"mainWindowNotifications": 2,
|
||||
"profileNotifications": 0,
|
||||
"cleanup": "passed",
|
||||
"deviceCleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]},
|
||||
"deviceRestoration": {"restored":true},
|
||||
"negativeControls": [{"id":"native:diagnostics-rejects-unhandled","status":"passed"},{"id":"native:diagnostics-rejects-broken-layout","status":"passed"}]
|
||||
}
|
||||
],
|
||||
"portable": {
|
||||
"status": "passed",
|
||||
"cases": 666,
|
||||
"sources": {
|
||||
"plugin": {"commit":"fd32ac682e2aadc0f982fa23d36da482011117f9","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c"},
|
||||
"fork": {"commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909"},
|
||||
"extras": {"commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab"}
|
||||
},
|
||||
"changeCounts": {
|
||||
"policy": "New/reused identity accounting only; a call or inventory entry does not establish behavior.",
|
||||
"lanes": [{"suiteId":"plugin-fast","total":488,"reused":434,"new":54,"passed":488},{"suiteId":"fork-owned","total":127,"reused":115,"new":12,"passed":127},{"suiteId":"fork-browser","total":18,"reused":18,"new":0,"passed":18},{"suiteId":"extras-source","total":29,"reused":27,"new":2,"passed":29},{"suiteId":"extras-browser","total":4,"reused":4,"new":0,"passed":4}],
|
||||
"removedOrReplaced": ["node:scripts/testing/pdf.source.test.mjs::missing completion has a bounded deadline and late acknowledgement has no remaining listener","node:scripts/testing/pdf.source.test.mjs::IPC listener registration failure clears its deadline and print resources","node:scripts/testing/pdf.source.test.mjs::overlapping exports in one document reject without consuming the first completion"],
|
||||
"notRunInProfile": ["plugin-load","drawing-main-window","native:lifecycle-two-split-fullscreen","native:lifecycle-dirty-main-to-popout","native:lifecycle-dirty-popout-to-main","native:lifecycle-new-popout-survivor","native:lifecycle-plugin-reload","native:extras-mathjax-gateway","native:extras-mermaid-gateway","native:extras-pdf-output","native:data-roundtrip:Uncompressed.excalidraw.md","native:data-roundtrip:Compressed.excalidraw.md","native:data-roundtrip:Legacy.excalidraw","native:data-backup","native:data-external-change","native:data-write-failure","native:data-rename-delete","workflow-fixes-3020","lucide-3019","wheel-zoom-3008","image-geometry-real-3014","web-drop-2967","internal-drop-tooltip","text-undo-2976","native-cli-authoring","markdown-embed-recovery-2953","grouped-link-click","latex-input-2970","native:ea-shapes-bindings-and-isolation","native:ea-edit-image-and-decoded-export","native:ea-svg-import-and-disposal","native:core-toolbar-draw-history","native:core-custom-highlighter","native:core-eraser-and-undo","native:core-laser-transient","native:pdf-reference-and-decoded-content","native:stability-roundtrip:0","native:stability-roundtrip:1","native:stability-roundtrip:2","native:stability-roundtrip:3","native:stability-roundtrip:4","native:stability-roundtrip:5","javascript-errors","source-stability","native:device:desktop-wide-full-light","native:device:desktop-wide-tray-light","native:device:desktop-wide-compact-light","native:device:desktop-narrow-full-light","native:device:desktop-narrow-tray-light","native:device:desktop-narrow-compact-light","native:device:phone-portrait-light","native:device:phone-landscape-light","native:device:tablet-portrait-full-light","native:device:tablet-portrait-tray-light","native:device:tablet-portrait-compact-light","native:device:tablet-landscape-full-light","native:device:tablet-landscape-tray-light","native:device:tablet-landscape-compact-light","native:device:desktop-wide-full-dark","native:device:desktop-wide-tray-dark","native:device:desktop-wide-compact-dark","native:device:desktop-narrow-full-dark","native:device:desktop-narrow-tray-dark","native:device:desktop-narrow-compact-dark","native:device:phone-portrait-dark","native:device:phone-landscape-dark","native:device:tablet-portrait-full-dark","native:device:tablet-portrait-tray-dark","native:device:tablet-portrait-compact-dark","native:device:tablet-landscape-full-dark","native:device:tablet-landscape-tray-dark","native:device:tablet-landscape-compact-dark","native:device:breakpoint-mobile-width-598","native:device:breakpoint-mobile-width-599","native:device:breakpoint-mobile-width-600","native:device:breakpoint-sidebar-width-799","native:device:breakpoint-sidebar-width-800","native:device:breakpoint-sidebar-width-801","native:device:breakpoint-landscape-width-999","native:device:breakpoint-landscape-width-1000","native:device:breakpoint-landscape-width-1001","native:device:breakpoint-landscape-height-499","native:device:breakpoint-landscape-height-500","native:device:breakpoint-landscape-height-501"],
|
||||
"native": {"pluginCommandCases":0,"hostEAAndTrustedInputCases":0,"emulatedContextCases":0,"physicalDeviceCases":0,"commandCaseIds":[],"mobileProtocolCases":0,"mobileProtocolCaseIds":[]},
|
||||
"newCaseIds": ["node:scripts/testing/canvasNodeFocus.test.mjs::internal preview construction preserves the active editor and renders the requested file","node:scripts/testing/canvasNodeFocus.test.mjs::replacing an internal preview preserves focus and replaces only its registered node","node:scripts/testing/canvasNodeFocus.test.mjs::explicit embedded-note editing still enters the editor and acquires focus","node:scripts/testing/canvasNodeFocus.test.mjs::the old default-focus path reproduces the missing-editor toolbar failure","node:scripts/testing/coverageChanges.test.mjs::new/reused accounting separates plugin CLI commands, host tasks and mobile emulation without inferring passes","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-01","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-02","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-03","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-04","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-05","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-06","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-07","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-08","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-09","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-10","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-11","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-12","node:scripts/testing/frontmatter.source.test.mjs::export overrides preserve explicit false and zero while invalid scales retain defaults","node:scripts/testing/frontmatter.source.test.mjs::autoexport format overrides keep both-theme intent and fall back for missing or unrecognized values","node:scripts/testing/host/behaviorDecoding.test.mjs::actual behavior decoder requests CORS before loading and never attaches a canvas to the workspace","node:scripts/testing/host/behaviorDecoding.test.mjs::missing-source setup retires the old editor before deleting its file","node:scripts/testing/host/browserDiagnostics.test.mjs::only the exact browser notification without an Error object is diagnostic","node:scripts/testing/host/browserDiagnostics.test.mjs::large raw notification evidence is retrieved in bounded pages without chasing new events","node:scripts/testing/host/browserDiagnostics.test.mjs::CLI classification retains raw lines and rejects exceptions, suffixes and unknown formats","node:scripts/testing/host/browserDiagnostics.test.mjs::a stable quiet window settles without altering browser events or geometry","node:scripts/testing/host/browserDiagnostics.test.mjs::persistent notification storms fail the bounded idle check","node:scripts/testing/host/browserDiagnostics.test.mjs::unstable geometry fails even without any notification","node:scripts/testing/host/debuggerSession.test.mjs::renderer scheduling is scoped and restores both original background-throttling values","node:scripts/testing/host/debuggerSession.test.mjs::expected missing-asset diagnostics cannot hide exceptions, extra fields, another source or repeated errors","node:scripts/testing/host/debuggerSession.test.mjs::truncated console objects expose the actual native error and complete own properties","node:scripts/testing/host/inAppTask.test.mjs::collecting independent behavioral failures retains strict failed acceptance","node:scripts/testing/host/inAppTask.test.mjs::tool deadlines retain unsettled native print resources and never claim cancellation","node:scripts/testing/host/markdownImageClose.test.mjs::Markdown-image fixture retirement waits for asynchronous owner release and persistence","node:scripts/testing/host/markdownImageClose.test.mjs::a close deadline fails and retains the live owner without cancelling native work","node:scripts/testing/host/nativeStateEvidence.test.mjs::passive native state reads preserve settings, layout, focus and scheduling without exposing values","node:scripts/testing/host/nativeStateEvidence.test.mjs::passive case evidence preserves original failure and captures cleanup without restoring state","node:scripts/testing/host/stability.test.mjs::failed stability loading retires the owned leaf before deleting its file","node:scripts/testing/host/textUndoDiagnostics.test.mjs::text-history diagnostics preserve owning window, leaked active target, controls and actual stack depths without mutation","node:scripts/testing/host/textUndoDiagnostics.test.mjs::missing and hidden history controls remain unavailable evidence and cyclic private fibers stay bounded","node:scripts/testing/host/teLine truncated
|
||||
},
|
||||
"gates": [
|
||||
{"suiteId":"plugin-source-coverage","status":"passed","cleanup":"passed"},
|
||||
{"suiteId":"fork-package","status":"passed","cleanup":"passed"},
|
||||
{"suiteId":"extras-package","status":"passed","cleanup":"passed"}
|
||||
],
|
||||
"canonicalCases": 666
|
||||
},
|
||||
"productionAudit": {
|
||||
"scope": "PDF timeout/concurrency rollback, plus the maintainer-authorized plain-PDF, local-font and internal Canvas-node focus fixes of 2026-10-29 and their release notes; no other production changes.",
|
||||
"baselines": {
|
||||
"plugin": "afd763e60ce486096bde2954f73bd5988a793660",
|
||||
"fork": "e0cf824c6225d02f48b98c30c5b79d6ab8536c35",
|
||||
"extras": "e37c06feff9fef48877f565328762433a676afcc"
|
||||
},
|
||||
"repositories": {
|
||||
"plugin": {"head":"fd32ac682e2aadc0f982fa23d36da482011117f9","productionPathsChanged":["src/shared/Dialogs/Messages.ts","src/shared/EmbeddedFileLoader.ts","src/view/managers/CanvasNodeFactory.ts"],"diff":"diff --git a/src/shared/Dialogs/Messages.ts b/src/shared/Dialogs/Messages.ts\nindex b1d1f844..f7ec2f69 100644\n--- a/src/shared/Dialogs/Messages.ts\n+++ b/src/shared/Dialogs/Messages.ts\n@@ -30,6 +30,9 @@ I build this plugin as a labor of love. Curious about the philosophy behind it?\n - Added opt-in image inventory, bounded image labels/tags, mixed-fidelity SVG/PNG previews and output limits. Originals remain untouched and full fidelity stays the default. [#3004](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_ISSUES}/3004)\n \n ## Fixed\n+- Embedded Markdown previews no longer take editor focus when they load, avoiding a mobile toolbar error. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n+- Importing a PDF file through ExcalidrawAutomate loads page 1 when no page reference is supplied. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n+- Markdown images using Helvetica no longer try to fetch a nonexistent font file. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - Autosave recovers after an unexpected save error instead of remaining busy. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - The private React runtime uses browser scheduling to avoid Node event-loop errors when closing popout windows. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - Template choices show their folder paths and offer **Blank drawing** first. Escape or dismissal cancels interactive creation without creating a drawing, folder or embed. [#2649](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_ISSUES}/2649)\ndiff --git a/src/shared/EmbeddedFileLoader.ts b/src/shared/EmbeddedFileLoader.ts\nindex e211344e..bdbc1656 100644\n--- a/src/shared/EmbeddedFileLoader.ts\n+++ b/src/shared/EmbeddedFileLoader.ts\n@@ -2197,8 +2197,7 @@ export class EmbeddedFilesLoader {\n }\n \n const scale = requestedScale;\n- const cropRect = linkParts.ref\n- .split(\"rect=\")[1]\n+ const cropRect = linkParts.ref?.split(\"rect=\")[1]\n ?.split(\",\")\n .map((x) => parseInt(x));\n const validRect =\ndiff --git a/src/view/managers/CanvasNodeFactory.ts b/src/view/managers/CanvasNodeFactory.ts\nindex e7833dd7..c106b6c6 100644\n--- a/src/view/managers/CanvasNodeFactory.ts\n+++ b/src/view/managers/CanvasNodeFactory.ts\n@@ -32,6 +32,7 @@ interface ObsidianCanvas {\n file: TFile;\n subpath: string;\n save: boolean;\n+ focus: boolean;\n }) => ObsidianCanvasNode;\n removeNode: (node: ObsidianCanvasNode) => void;\n }\n@@ -148,6 +149,8 @@ export class CanvasNodeFactory {\n file,\n subpath,\n save: false,\n+ // Internal preview creation must not take the workspace's active editor.\n+ focus: false,\n });\n node.setFilePath(file.path, subpath);\n node.render();\n"},
|
||||
"fork": {"head":"053a3b9f9e77917c457fce8ca9453d38b92a303b","productionPathsChanged":["packages/excalidraw/obsidianUtils.ts"],"diff":"diff --git a/packages/excalidraw/obsidianUtils.ts b/packages/excalidraw/obsidianUtils.ts\nindex a4b68e639..b5cfae293 100644\n--- a/packages/excalidraw/obsidianUtils.ts\n+++ b/packages/excalidraw/obsidianUtils.ts\n@@ -186,7 +186,12 @@ export async function registerFontsInCSS() {\n export async function getCSSFontDefinition(\n fontFamily: number,\n ): Promise<string> {\n- const fontFaces = Fonts.registered.get(fontFamily)?.fontFaces;\n+ const registered = Fonts.registered.get(fontFamily);\n+ // zsviczian -- #477: system fonts have no font-file content to embed.\n+ if (registered?.metadata.local) {\n+ return \"\";\n+ }\n+ const fontFaces = registered?.fontFaces;\n if (!fontFaces) {\n return \"\";\n }\n"},
|
||||
"extras": {"head":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","productionPathsChanged":["src/PDFExport/index.ts"],"diff":"diff --git a/src/PDFExport/index.ts b/src/PDFExport/index.ts\nindex e80943d..57b3a56 100644\n--- a/src/PDFExport/index.ts\n+++ b/src/PDFExport/index.ts\n@@ -4,9 +4,6 @@ import { getPageSize } from './pdfExportUtils';\n \n export const PDF_COMPONENT_VERSION = '1.0.0';\n \n-// Electron completion has no request ID, so one document can own only one print.\n-const printingDocuments = new WeakSet<Document>();\n-\n export function initializePDFExport(): void {\n // Placeholder for future high-privilege IPC and filesystem setup.\n }\n@@ -28,11 +25,6 @@ export async function exportToPDF(\n if (!ownerWindow || !ipc) {\n throw new Error('PDF export requires the desktop Electron host');\n }\n- if (printingDocuments.has(document)) {\n- throw new Error('PDF export is already in progress in this window');\n- }\n- printingDocuments.add(document);\n- try {\n const options: PrintToPDFOptions = {\n includeName: false,\n pageSize: getPageSize(pageSize),\n@@ -134,19 +126,12 @@ export async function exportToPDF(\n \n await new Promise<void>((resolve, reject) => {\n const cleanup = () => {\n- ownerWindow.clearTimeout(timeout);\n ipc.removeListener('print-to-pdf', onComplete);\n };\n const onComplete = () => {\n cleanup();\n resolve();\n };\n- const timeout = ownerWindow.setTimeout(() => {\n- cleanup();\n- reject(\n- new Error('PDF export timed out waiting for Electron completion'),\n- );\n- }, 120000);\n try {\n ipc.once('print-to-pdf', onComplete);\n ipc.send('print-to-pdf', options);\n@@ -161,9 +146,6 @@ export async function exportToPDF(\n (styleSheet) => styleSheet !== printStyleSheet,\n );\n }\n- } finally {\n- printingDocuments.delete(document);\n- }\n }\n \n export function getPDFVersion(): string {\n"}
|
||||
},
|
||||
"status": "passed"
|
||||
},
|
||||
"remaining": [
|
||||
"The historical sustained storm is preserved, not waived or claimed fixed. Systematic prefixes, matched scheduling controls, a full desktop/core ownership trace and its untraced comparison did not reproduce the long storm at this checkpoint. No causal production or lifecycle fix is inferred. All normal complete runs retain the strict storm gate and use no diagnostic observer interception or optional state snapshots.",
|
||||
"Desktop-emulated phone/tablet layouts and trusted CDP touch do not establish physical-device/WebView/stylus behavior.",
|
||||
"Synthetic drag payloads are labeled separately and do not establish real OS drag/clipboard behavior.",
|
||||
"Native evidence is Windows; macOS/Linux and isolated whole-app cold start remain separate validation environments.",
|
||||
"Source/API enumeration is not a Cartesian test of every setting or public method; the declared 258 behavioral obligations and explicit high-risk combinations define this executable matrix."
|
||||
],
|
||||
"limitations": [
|
||||
"Desktop emulation is not physical touch/WebView/stylus validation.",
|
||||
"Synthetic drag payloads and host tab-drag controls are not real OS drag evidence.",
|
||||
"Native Windows only; macOS/Linux and isolated whole-app cold start remain separate environments."
|
||||
],
|
||||
"reductionInvestigation": {
|
||||
"file": "resize-reduction-2026-10-30.json",
|
||||
"status": "intermittent-blocker-unresolved",
|
||||
"trials": [
|
||||
{"report":"2026-10-30-reduce-main-split-780d1440","status":"passed","contexts":["main","split"],"caseOccurrences":91,"visibilityMatched":false,"notifications":0,"cleanup":"passed"},
|
||||
{"report":"2026-10-30-reduce-nested-popout-780d1440","status":"passed","contexts":["nested-split","popout"],"caseOccurrences":91,"visibilityMatched":false,"notifications":1,"cleanup":"passed"},
|
||||
{"report":"2026-10-30-reduce-visible-nested-popout-f5d5d217","status":"passed","contexts":["nested-split","popout"],"caseOccurrences":91,"visibilityMatched":true,"notifications":1,"cleanup":"passed"},
|
||||
{"report":"2026-10-30-reduce-split-nested-popout-f5d5d217","status":"passed","contexts":["split","nested-split","popout"],"caseOccurrences":134,"visibilityMatched":true,"notifications":1,"cleanup":"passed"},
|
||||
{"report":"2026-10-30-reduce-original-prefix-off-f5d5d217","status":"passed","contexts":["main","split","nested-split","popout"],"caseOccurrences":177,"visibilityMatched":true,"notifications":2,"cleanup":"passed"},
|
||||
{"report":"2026-10-30-reduce-original-prefix-on-f5d5d217","status":"passed","contexts":["main","split","nested-split","popout"],"caseOccurrences":177,"visibilityMatched":true,"notifications":0,"cleanup":"passed"}
|
||||
],
|
||||
"conclusion": "No stable failing reduced sequence isolated. The historical 172-case prefix and fresh-popout failure remain retained. The exact prefix currently passes with passive state snapshots off (two settling notifications) and on (zero). Inspected state returns to baseline. Neither sole instrumentation/host causation nor harmlessness is established; no full native acceptance run is authorized by these controls.",
|
||||
"proposedAction": {
|
||||
"status": "approved-and-completed-within-cap",
|
||||
"action": "Approve an explicitly bounded diagnostic-only ResizeObserver construction/target-lifetime trace. Forward all behavior unchanged, suppress no notifications, retain only sanitized identities/stacks and weak references, remove tracing before acceptance; no production source change. Requires an exception to the earlier no-patching rule.",
|
||||
"acceptanceCredit": false,
|
||||
"timeCapMinutes": 30,
|
||||
"result": "observer-diagnostic-2026-10-30.json"
|
||||
}
|
||||
},
|
||||
"observerDiagnostic": {
|
||||
"file": "observer-diagnostic-2026-10-30.json",
|
||||
"status": "ownership-mechanism-reproduced-original-observer-unidentified",
|
||||
"acceptanceCredit": false,
|
||||
"traceRemoved": true,
|
||||
"withinApprovedCap": true,
|
||||
"matchedCounts": [
|
||||
{"mode":"none","notifications":0,"afterDisconnect":0},
|
||||
{"mode":"main-constructor","notifications":62,"afterDisconnect":0},
|
||||
{"mode":"owner-constructor","notifications":0,"afterDisconnect":0}
|
||||
],
|
||||
"nextAction": "The later 231-case core trace/untraced comparison and two complete normal 357-case repeats pass. Retain historical storm evidence and the unchanged strict gate; do not infer a production fix or sole cause."
|
||||
},
|
||||
"latestVerifiedCheckpoint": {
|
||||
"plugin": {
|
||||
"commit": "fd32ac682e2aadc0f982fa23d36da482011117f9",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c"
|
||||
},
|
||||
"fork": {
|
||||
"commit": "053a3b9f9e77917c457fce8ca9453d38b92a303b",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909"
|
||||
},
|
||||
"extras": {
|
||||
"commit": "1cdcb7c425a9b80afdc7b39c88861143b4b85e58",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab"
|
||||
}
|
||||
},
|
||||
"observerFollowup": {
|
||||
"file": "observer-scheduling-followup-2026-10-30.json",
|
||||
"status": "scheduling-comparison-complete-original-storm-unresolved",
|
||||
"observerInterception": false,
|
||||
"acceptanceCredit": false,
|
||||
"scheduling": [
|
||||
{"name":"normal-first","backgroundThrottling":true,"counts":[0,62,0],"afterDisconnect":[0,0,0]},
|
||||
{"name":"unthrottled-first","backgroundThrottling":false,"counts":[0,62,0],"afterDisconnect":[0,0,0]},
|
||||
{"name":"unthrottled-repeat","backgroundThrottling":false,"counts":[0,62,0],"afterDisconnect":[0,0,0]},
|
||||
{"name":"normal-repeat","backgroundThrottling":true,"counts":[0,61,0],"afterDisconnect":[0,0,0]}
|
||||
],
|
||||
"nativeRuns": [
|
||||
{"name":"2026-10-30-popout-close-order-ab1ef6da","status":"failed","tests":6,"events":0,"cleanup":"passed","restored":true},
|
||||
{"name":"2026-10-30-ordered-popout-close-ab1ef6da","status":"passed","tests":183,"events":0,"cleanup":"passed","restored":true},
|
||||
{"name":"2026-10-30-large-popout-close-ab1ef6da","status":"passed","tests":2,"events":0,"cleanup":"passed","restored":true},
|
||||
{"name":"2026-10-30-device-predecessor-ab1ef6da","status":"passed","tests":0,"events":0,"deviceCases":126,"cleanup":"passed","restored":true},
|
||||
{"name":"2026-10-30-post-device-prefix-ab1ef6da","status":"passed","tests":177,"events":2,"cleanup":"passed","restored":true},
|
||||
{"name":"2026-10-30-inflight-popout-close-ab1ef6da","status":"passed","tests":2,"events":0,"cleanup":"passed","restored":true}
|
||||
],
|
||||
"nextDiagnostic": {
|
||||
"status": "completed",
|
||||
"file": "observer-core-comparison-2026-10-30.json",
|
||||
"result": "The maintainer instructed autonomous continuation within PR scope. The forwarding-only full desktop/core trace and matched untraced core comparison both passed. Trace globals/methods were restored and captured wrappers removed before both normal complete repeats."
|
||||
}
|
||||
},
|
||||
"historicalAttempts": [
|
||||
{
|
||||
"report": "2026-10-30-native-repeat-1-9b2874ba",
|
||||
"status": "passed",
|
||||
"source": {"pluginRevision":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"5877ab2c5e3f7040c6ed594e53cd429a0ac8cec2be5d15e20bed939d31b12d83"}},
|
||||
"aggregate": {"status":"passed","requiredCases":357,"recordedRequired":357,"passedRequired":357,"failedRequired":0,"missing":[],"failedSuites":[]},
|
||||
"cleanup": "passed",
|
||||
"restoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}
|
||||
},
|
||||
{
|
||||
"report": "2026-10-30-native-repeat-2-9b2874ba",
|
||||
"status": "failed",
|
||||
"source": {"pluginRevision":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},
|
||||
"manifests": {"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669}],"fullManifestDigest":"940be6dbf52a03d273fa424850fabd36dbca57655c10023fef7a3974b53df0d4"},"extras":{"schemaVersion":2,"kind":"extras","repository":"zsviczian/obsidian-excalidraw-extras","commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab","buildCommand":"npm run build && npm run build:api","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},{"role":"styles","relativePath":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427}],"fullManifestDigest":"407e0a315ab50b066a606d699fac36b03610a5c2eb2fac35c18b61a12719b91d"},"plugin":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"9b2874ba173d5b28a3304920ccacd94c3fcbe02c","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}],"fullManifestDigest":"5877ab2c5e3f7040c6ed594e53cd429a0ac8cec2be5d15e20bed939d31b12d83"}},
|
||||
"aggregate": {"status":"failed","requiredCases":357,"recordedRequired":357,"passedRequired":350,"failedRequired":7,"missing":[],"failedSuites":[{"suiteId":"native-obsidian","status":"failed","cleanup":"passed","reason":"Required native scenario lucide-3019 is failed: Browser did not reach stable geometry and notification-free idle"},{"suiteId":"native-devices","status":"failed","cleanup":"passed","reason":"Suite or cleanup gate did not pass"}]},
|
||||
"cleanup": "passed",
|
||||
"restoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]}
|
||||
}
|
||||
],
|
||||
"nativePairEvidence": "native-acceptance-pair-2026-10-30.json",
|
||||
"observerCoreComparison": {
|
||||
"file": "observer-core-comparison-2026-10-30.json",
|
||||
"status": "passed-without-reproducing-historical-storm",
|
||||
"traceRequiredPassed": 231,
|
||||
"untracedRequiredPassed": 231,
|
||||
"observers": 3511,
|
||||
"notifications": 2,
|
||||
"traceRemoved": true,
|
||||
"acceptanceCredit": false
|
||||
},
|
||||
"reviewReadiness": {
|
||||
"status": "acceptance-evidence-complete",
|
||||
"requiredFullPasses": 2,
|
||||
"completedFullPasses": 2,
|
||||
"productionUnchanged": true,
|
||||
"preparedVault": ".test-work/vaults/excalidraw-auto-test/",
|
||||
"finalInstalledFiles": {
|
||||
"plugin": {"id":"obsidian-excalidraw-plugin","source":"fd32ac682e2aadc0f982fa23d36da482011117f9","files":{"main.js":{"sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},"manifest.json":{"sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},"styles.css":{"sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364},"data.json":{"sha256":"165c02816a6a73415b367dfab18fb79f8d52c8bba21b263506749d9c77677c23","bytes":27642}}},
|
||||
"extras": {"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","files":{"main.js":{"sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},"manifest.json":{"sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},"styles.css":{"sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427},"data.json":{"sha256":"e14bf7cf814d3c7029446d7295b77c5e4185a9c0ae5c0efc9e7607ffeb37ed0c","bytes":125}}}
|
||||
},
|
||||
"finalNative": {
|
||||
"inspection": {"vault":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","config":".obsidian","pluginReady":true,"extrasReady":true,"mobile":false,"activeLeaf":"3022000000000003","activeFile":"Notes/Render target.md","leftCollapsed":true,"rightCollapsed":true,"popouts":0,"tasks":[],"printRoots":0,"protocol":3},
|
||||
"observers": {"tracePresent":false,"constructor":"function ResizeObserver() { [native code] }","observe":"function observe() { [native code] }","unobserve":"function unobserve() { [native code] }","disconnect":"function disconnect() { [native code] }","tasks":[],"popouts":0},
|
||||
"passive": {"started":1793366290130,"completed":1793366292132,"events":[],"activeFile":"Notes/Render target.md","popouts":0,"debuggerAttached":false,"pluginReady":true,"extrasReady":true}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import{registerHooks}from'node:module';import{createHash}from'node:crypto';import{readFileSync}from'node:fs';import{installResizeTrace}from'./pr3022-resize-trace.mjs';
|
||||
const deadline=Date.parse('2026-10-30T10:51:04Z'),key='__excalidrawApprovedResizeTrace';
|
||||
if(Date.now()>=deadline)throw Error('Approved diagnostic deadline expired');
|
||||
const traceHash=createHash('sha256').update(readFileSync(new URL('./pr3022-resize-trace.mjs',import.meta.url))).digest('hex');
|
||||
registerHooks({load(url,context,next){const result=next(url,context);if(!url.endsWith('/scripts/testing/host/runner.mjs'))return result;let source=String(result.source);
|
||||
const anchor="if (ownedDebugger) browserSession=acquireBrowserDiagnostics(cli,'native-main');";
|
||||
const install=anchor+`\n if(ownedDebugger){report.diagnosticOnly=true;report.acceptanceCredit=false;report.resizeTraceInstrumentation={approved:true,deadline:${deadline},sha256:${JSON.stringify(traceHash)}};parseEval(cli('eval','code='+${JSON.stringify('JSON.stringify(('+installResizeTrace.toString()+')('+deadline+'))')}));}`;
|
||||
if(source.split(anchor).length!==2)throw Error('Trace install anchor drift');source=source.replace(anchor,install);
|
||||
const end="try { browserSession?.dispose(); } catch(error){report.status='failed';report.cleanup='failed';report.cleanupError=error.message;}";
|
||||
const cleanup=`try {if(ownedDebugger){const evaluate=code=>parseEval(ownedCli('eval','code='+code));evaluate("(()=>{globalThis.${key}?.restore();return JSON.stringify(true)})()");const meta=evaluate("JSON.stringify(globalThis.${key}?.meta())"),observers=[],notifications=[],firstErrors=[];for(let start=0;start<(meta?.observerCount||0);start+=24)observers.push(...evaluate("JSON.stringify(globalThis.${key}.read("+start+",24))"));for(let start=0;start<(meta?.notificationCount||0);start+=128)notifications.push(...evaluate("JSON.stringify(globalThis.${key}.readNotifications("+start+",128))"));for(let start=0;start<(meta?.errorSnapshotCount||0);start++)firstErrors.push(...evaluate("JSON.stringify(globalThis.${key}.readErrors("+start+",1))"));writeFileSync(join(reportDir,'resize-observer-trace.json'),JSON.stringify({meta,observers,notifications,firstErrors},null,2)+String.fromCharCode(10));report.resizeTrace={active:meta?.active,observerCount:meta?.observerCount,failures:meta?.failures,notifications:meta?.notificationCount};evaluate("(()=>{delete globalThis.${key};return JSON.stringify(true)})()");if(meta?.active||meta?.failures?.length)throw Error('Trace restoration/recording failed');}}catch(error){report.status='failed';report.error||=String(error);report.resizeTraceCleanupError=String(error);}finally{${end}}`;
|
||||
if(source.split(end).length!==2)throw Error('Trace cleanup anchor drift');source=source.replace(end,cleanup);return {...result,source};}});
|
||||
@@ -0,0 +1,14 @@
|
||||
import assert from 'node:assert/strict';import vm from 'node:vm';import{installResizeTrace}from'./pr3022-resize-trace.mjs';
|
||||
const marker=Error('original'),sentinel=Symbol('native return'),callbacks=new Map();
|
||||
class Native{constructor(callback){if(typeof callback!=='function')throw TypeError('callback');this.callback=callback;}observe(target){if(target==='invalid')throw marker;return sentinel;}unobserve(){return sentinel;}disconnect(){return sentinel;}fire(entries){return this.callback.call(this,entries,this);}}
|
||||
const original={ctor:Native,observe:Native.prototype.observe,unobserve:Native.prototype.unobserve,disconnect:Native.prototype.disconnect};
|
||||
const win={ResizeObserver:Native,closed:false,setTimeout:()=>1,clearTimeout:()=>{},addEventListener:(k,fn)=>callbacks.set(k,fn),removeEventListener:(k,fn)=>{if(callbacks.get(k)===fn)callbacks.delete(k);}};
|
||||
const app={workspace:{containerEl:{ownerDocument:{defaultView:win}},floatingSplit:{children:[]},on:()=>({}),offref:()=>{}}};
|
||||
const context=vm.createContext({app,WeakRef});vm.runInContext('('+installResizeTrace.toString()+')('+String(Date.now()+60000)+')',context);
|
||||
let receiver,args;const observer=new win.ResizeObserver(function(...values){receiver=this;args=values;return 99;});
|
||||
const target={localName:'div',className:'fixture',isConnected:true,ownerDocument:{defaultView:win}};
|
||||
assert.equal(observer.observe(target),sentinel);const entries=[{target,contentRect:{width:10,height:20}}];assert.equal(observer.fire(entries),99);assert.equal(receiver,observer);assert.equal(args[0],entries);assert.equal(args[1],observer);assert.throws(()=>observer.observe('invalid'),e=>e===marker);
|
||||
const bad=new win.ResizeObserver(()=>{throw marker;});assert.throws(()=>bad.fire(entries),e=>e===marker);
|
||||
assert.throws(()=>new win.ResizeObserver(3),TypeError);context.__excalidrawApprovedResizeTrace.restore();
|
||||
assert.equal(win.ResizeObserver,original.ctor);for(const k of ['observe','unobserve','disconnect'])assert.equal(Native.prototype[k],original[k]);assert.equal(callbacks.size,0);assert.equal(context.__excalidrawApprovedResizeTrace.meta().active,false);assert.equal(context.__excalidrawApprovedResizeTrace.meta().failures.length,0);
|
||||
console.log('trace self-check passed: native receiver/arguments/return/throw and restoration preserved');
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,77 @@
|
||||
/** Approved diagnostic only. Never imported by production or ordinary acceptance. */
|
||||
export function installResizeTrace(deadline) {
|
||||
const key='__excalidrawApprovedResizeTrace';
|
||||
if(globalThis[key])throw Error('Resize trace already installed');
|
||||
if(Date.now()>=deadline)throw Error('Approved trace deadline expired');
|
||||
const main=app.workspace.containerEl.ownerDocument.defaultView;
|
||||
const observerIds=new WeakMap(),targetIds=new WeakMap(),realmIds=new WeakMap();
|
||||
const records=[],targets=[],realms=[],errors=[],notifications=[],failures=[];
|
||||
let active=true,serial=0,notificationOverflow=0,timer,windowEvent;
|
||||
const safe=fn=>{try{return fn();}catch(e){failures.push(String(e.stack||e));}};
|
||||
const phase=()=>Object.keys(globalThis).filter(k=>k.startsWith('__excalidrawTestTask_')).map(k=>({phase:globalThis[k].activeCase||globalThis[k].phase}));
|
||||
const realmId=win=>{
|
||||
if(!win)return null;
|
||||
let id=realmIds.get(win);if(!id){id=realms.length+1;realmIds.set(win,id);realms.push({id,main:win===main,window:new WeakRef(win),installed:false});}return id;
|
||||
};
|
||||
const targetInfo=target=>{
|
||||
let id=targetIds.get(target);
|
||||
if(!id){id=targets.length+1;targetIds.set(target,id);targets.push({id,ref:new WeakRef(target)});}
|
||||
const ancestors=[];let parent=target;
|
||||
for(let n=0;parent&&n<12;n++,parent=parent.parentElement)ancestors.push({tag:parent.localName,classes:String(parent.className?.baseVal??parent.className??'').slice(0,180)});
|
||||
const win=target.ownerDocument?.defaultView;
|
||||
return {id,tag:target.localName,classes:String(target.className?.baseVal??target.className??'').slice(0,180),connected:target.isConnected,realm:realmId(win),windowClosed:win?.closed,ancestors};
|
||||
};
|
||||
const observerInfo=(observer,realm,created=false,stack)=>{
|
||||
let id=observerIds.get(observer);
|
||||
if(!id){id=records.length+1;observerIds.set(observer,id);records.push({id,realm,created,creationStack:stack,ref:new WeakRef(observer),targets:new Map(),events:[],callbacks:0});}
|
||||
return records[id-1];
|
||||
};
|
||||
const event=(record,kind,data={})=>{if(active)record.events.push({serial:++serial,at:Date.now(),kind,...data});};
|
||||
const live=()=>records.filter(r=>[...r.targets.values()].some(t=>t.observed)).map(r=>({id:r.id,realm:r.realm,alive:!!r.ref.deref(),callbacks:r.callbacks,targets:[...r.targets].filter(([,t])=>t.observed).map(([id,t])=>({id,observed:t.observed,current:(()=>{const node=t.ref.deref();return node?targetInfo(node):null;})()}))}));
|
||||
const patch=win=>{
|
||||
if(!active||!win||win.closed||typeof win.ResizeObserver!=='function')return;
|
||||
const realm=realms[realmId(win)-1];if(realm.installed)return;
|
||||
const Native=win.ResizeObserver,proto=Native.prototype,originals={},wrappers={};
|
||||
realm.installed=true;realm.Native=new WeakRef(Native);realm.originals=originals;realm.wrappers=wrappers;
|
||||
for(const name of ['observe','unobserve','disconnect']){
|
||||
const original=proto[name];originals[name]=new WeakRef(original);
|
||||
const wrapped=function(...args){
|
||||
const result=Reflect.apply(original,this,args);
|
||||
if(active)safe(()=>{const record=observerInfo(this,realm.id);if(name==='disconnect'){for(const t of record.targets.values())t.observed=false;event(record,name);}else{const info=targetInfo(args[0]);record.targets.set(info.id,{ref:new WeakRef(args[0]),observed:name==='observe'});event(record,name,{target:info,stack:name==='observe'?new Error('observe').stack:undefined});}});
|
||||
return result;
|
||||
};
|
||||
proto[name]=wrapped;wrappers[name]=new WeakRef(wrapped);
|
||||
}
|
||||
const ProxyCtor=new Proxy(Native,{construct(Target,args,newTarget){
|
||||
if(typeof args[0]!=='function')return Reflect.construct(Target,args,newTarget);
|
||||
const callback=args[0],stack=new Error('ResizeObserver construction').stack;
|
||||
const wrapped=function(...values){
|
||||
let record;
|
||||
if(active)safe(()=>{record=observerInfo(values[1]||this,realm.id,true,stack);record.callbacks++;record.lastCallbackAt=Date.now();const entries=values[0].map(entry=>({target:targetInfo(entry.target),width:entry.contentRect.width,height:entry.contentRect.height}));if(!record.firstDelivery)record.firstDelivery=entries;record.lastDelivery=entries;});
|
||||
let returned=false;
|
||||
try{const result=Reflect.apply(callback,this,values);returned=true;return result;}
|
||||
finally{if(active&&record)safe(()=>{record.lastCallbackReturned=returned;});}
|
||||
};
|
||||
const result=Reflect.construct(Target,[wrapped,...args.slice(1)],newTarget);
|
||||
safe(()=>observerInfo(result,realm.id,true,stack));return result;
|
||||
}});
|
||||
win.ResizeObserver=ProxyCtor;
|
||||
const onError=e=>safe(()=>{
|
||||
const row={at:Date.now(),realm:realm.id,message:e.message,isTrusted:e.isTrusted,hasError:e.error!=null,stack:e.error?.stack,source:e.filename,line:e.lineno,column:e.colno,phase:phase()};
|
||||
if(notifications.length<15000)notifications.push(row);else notificationOverflow++;
|
||||
realm.notifications=(realm.notifications||0)+1;
|
||||
if(realm.notifications<=3)errors.push({...row,liveObservers:live()});
|
||||
});
|
||||
win.addEventListener('error',onError);
|
||||
realm.installed=true;realm.Native=new WeakRef(Native);realm.Proxy=new WeakRef(ProxyCtor);realm.originals=originals;realm.wrappers=wrappers;realm.listener=new WeakRef(onError);
|
||||
};
|
||||
const restore=()=>{
|
||||
if(!active)return;
|
||||
active=false;if(timer)main.clearTimeout(timer);if(windowEvent)app.workspace.offref(windowEvent);
|
||||
for(const realm of realms)safe(()=>{const win=realm.window.deref(),Native=realm.Native?.deref();if(!win||win.closed||!Native)return;if(win.ResizeObserver===realm.Proxy?.deref())win.ResizeObserver=Native;for(const name of ['observe','unobserve','disconnect'])if(realm.wrappers?.[name]&&Native.prototype[name]===realm.wrappers[name].deref())Native.prototype[name]=realm.originals[name].deref();const listener=realm.listener?.deref();if(listener)win.removeEventListener('error',listener);});
|
||||
};
|
||||
const exportRecord=r=>({id:r.id,realm:r.realm,created:r.created,creationStack:r.creationStack,alive:!!r.ref.deref(),callbacks:r.callbacks,lastCallbackAt:r.lastCallbackAt,lastCallbackReturned:r.lastCallbackReturned,firstDelivery:r.firstDelivery,lastDelivery:r.lastDelivery,events:r.events,targets:[...r.targets].map(([id,t])=>({id,observed:t.observed,current:(()=>{const node=t.ref.deref();return node?targetInfo(node):null;})()}))});
|
||||
globalThis[key]={restore,read:(start,count)=>records.slice(start,start+count).map(exportRecord),readNotifications:(start,count)=>notifications.slice(start,start+count),readErrors:(start,count)=>errors.slice(start,start+count),meta:()=>({active,deadline,now:Date.now(),diagnosticOnly:true,acceptanceCredit:false,observerCount:records.length,targetCount:targets.length,realms:realms.map(r=>({id:r.id,main:r.main,installed:r.installed,alive:!!r.window.deref(),closed:r.window.deref()?.closed,notifications:r.notifications||0})),notificationCount:notifications.length,errorSnapshotCount:errors.length,notificationOverflow,failures,coverage:'Observers created after installation have wrapped callbacks; existing observers encountered by observe/unobserve/disconnect are marked created=false. No size/layout reads beyond already-delivered entry data. All target/window/observer registry references are weak.'})};
|
||||
try{windowEvent=app.workspace.on('window-open',window=>safe(()=>patch(window.doc?.defaultView??window)));patch(main);for(const window of app.workspace.floatingSplit.children)safe(()=>patch(window.doc?.defaultView));timer=main.setTimeout(restore,Math.max(0,deadline-Date.now()));return {installed:true,deadline,realms:realms.length};}
|
||||
catch(error){restore();delete globalThis[key];throw error;}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,2 @@
|
||||
import {readFileSync,realpathSync,writeFileSync}from'node:fs';import assert from'node:assert/strict';import{join}from'node:path';import{acquireHostLock}from'../scripts/testing/host/hostLock.mjs';import{obsidianCliExecutable,spawnNativeSync}from'../scripts/testing/host/processTools.mjs';import{localVaultTarget}from'../scripts/testing/localVault.mjs';import{parseCLIJSON}from'../scripts/testing/host/inAppTask.mjs';
|
||||
const target=localVaultTarget(process.cwd()),userData=join(process.env.APPDATA,'obsidian'),lock=acquireHostLock({userDataPath:userData});const cli=(...args)=>{const r=spawnNativeSync(obsidianCliExecutable(),['vault='+target.vaultName,...args],{encoding:'utf8',timeout:20000,maxBuffer:4*1024*1024});if(r.error||r.status||/^Error:/m.test(r.stdout))throw Error(r.error?.message||r.stdout||r.stderr);return r.stdout};try{assert.equal(realpathSync(cli('vault','info=path').trim()),realpathSync(target.vaultPath));assert.equal(realpathSync(parseCLIJSON(cli('eval',"code=JSON.stringify(require('@electron/remote').app.getPath('userData'))"))),realpathSync(userData));const out=cli('eval','code='+readFileSync(process.argv[2],'utf8'));if(process.argv[3])writeFileSync(process.argv[3],out);process.stdout.write(out);}finally{lock.release()}
|
||||
@@ -0,0 +1,14 @@
|
||||
(async()=>{
|
||||
const doc=document,win=doc.defaultView,wc=require('@electron/remote').getCurrentWebContents(),bg=wc.getBackgroundThrottling(),ids=['excalidraw-extras','obsidian-excalidraw-plugin'],events=[],trials=[];let phase='baseline',observer,iframe,target,error;
|
||||
const listener=e=>events.push({at:Date.now(),phase,message:e.message,isTrusted:e.isTrusted,hasError:e.error!=null,stack:e.error?.stack});win.addEventListener('error',listener);const sleep=ms=>new Promise(r=>win.setTimeout(r,ms));const wait=async(fn,label)=>{const until=Date.now()+3000;while(!fn()){if(Date.now()>until)throw Error(label);await sleep(25);}};wc.setBackgroundThrottling(false);
|
||||
try{for(const id of [...ids].reverse())await app.plugins.disablePlugin(id);await sleep(500);if(events.length)throw Error('Baseline not quiet');
|
||||
for(const mode of ['none','main-constructor','owner-constructor']){
|
||||
phase=mode;const start=events.length,deliveries=[];
|
||||
target=createFragment().createDiv();target.setCssStyles({width:'121px',height:'81px'});iframe=createFragment().createEl('iframe');iframe.setCssStyles({position:'fixed',left:'1px',top:'1px',width:'200px',height:'200px'});doc.body.appendChild(iframe);await wait(()=>iframe.contentDocument?.body,'Frame body');const owner=iframe.contentWindow;iframe.contentDocument.body.appendChild(target);
|
||||
if(mode!=='none'){const Ctor=mode==='main-constructor'?win.ResizeObserver:owner.ResizeObserver;observer=new Ctor(entries=>deliveries.push({at:Date.now(),sizes:entries.map(e=>({width:e.contentRect.width,height:e.contentRect.height,hasWindow:!!e.target.ownerDocument.defaultView}))}));observer.observe(target);await wait(()=>deliveries.length,'Initial delivery');target.setCssStyles({width:'123px'});await wait(()=>deliveries.some(d=>d.sizes.some(e=>e.width===123)),'Final live delivery');}
|
||||
const removedAt=Date.now();iframe.remove();await sleep(1000);const during=events.length-start;phase=mode+':after-disconnect';observer?.disconnect();observer=null;await sleep(1000);const afterDisconnect=events.length-start-during;
|
||||
trials.push({mode,registeredAfterAdoption:true,removedAt,during,afterDisconnect,deliveries,pluginsLoaded:ids.map(id=>!!app.plugins.plugins[id])});target.remove();target=null;iframe=null;if(afterDisconnect>1)throw Error('Control did not settle');
|
||||
}
|
||||
}catch(e){error=String(e.stack||e);}finally{observer?.disconnect();target?.remove();iframe?.remove();for(const id of ids)if(!app.plugins.plugins[id])await app.plugins.enablePlugin(id);await wait(()=>app.plugins.plugins[ids[1]]?.isReady&&app.plugins.plugins[ids[0]]?.api,'Restore plugins');wc.setBackgroundThrottling(bg);win.removeEventListener('error',listener);}
|
||||
return JSON.stringify({error,trials,events,acceptanceCredit:false,workspaceOrPopoutAPIsUsed:false,productionObserversModified:false});
|
||||
})()
|
||||
@@ -0,0 +1,859 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"status": "acceptance-passed",
|
||||
"requiredNativeCases": 357,
|
||||
"requiredBehavioralObligations": 258,
|
||||
"requiredDeviceProfiles": 40,
|
||||
"requiredCompletePasses": 2,
|
||||
"completePasses": 2,
|
||||
"selectedCheckpoint": {
|
||||
"plugin": "fd32ac682e2aadc0f982fa23d36da482011117f9",
|
||||
"fork": "053a3b9f9e77917c457fce8ca9453d38b92a303b",
|
||||
"extras": "1cdcb7c425a9b80afdc7b39c88861143b4b85e58"
|
||||
},
|
||||
"nativeCaseAccounting": {
|
||||
"new": 273,
|
||||
"reused": 84,
|
||||
"newCanonicalCasesInThisContinuation": 0,
|
||||
"desktopRegisteredCLICases": 6,
|
||||
"mobilePublicEAExecuteCLICases": 2
|
||||
},
|
||||
"attempts": [
|
||||
{
|
||||
"audit": {"name":"2026-10-30-native-complete-1-fd32ac68","status":"passed","aggregate":"passed","recorded":357,"passed":357,"required":357,"missing":[],"failed":[],"behavior":258,"profiles":40,"cleanup":"passed","deviceCleanup":"passed","restored":true,"deviceRestored":true,"errorOracle":"passed","desktopCLI":[{"id":"native:behavior:main:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:split:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:nested-split:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:popout:cli-atomic-targeted-edit","status":"passed"},{"id":"native-cli-authoring","status":"passed"},{"id":"lucide-3019","status":"passed"}],"mobileCLI":[{"id":"native:behavior:phone:cli-atomic-targeted-edit","status":"passed","transport":"public EA.executeCLI"},{"id":"native:behavior:tablet:cli-atomic-targeted-edit","status":"passed","transport":"public EA.executeCLI"}],"windowEvents":1,"profileEvents":0,"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","source":{"pluginRevision":"fd32ac682e2aadc0f982fa23d36da482011117f9","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},"artifacts":{"fork":{"commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","artifacts":[{"role":"production-js","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","path":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","path":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","path":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669},{"role":"declaration:packages/excalidraw/types/common/debug.d.ts","path":"packages/excalidraw/types/common/debug.d.ts","sha256":"a8ff922d3c5550484a408d613ddc5938ad99df81d7f87a2f2eb57158a141750d","bytes":1016},{"role":"declaration:packages/excalidraw/types/common/src/appEventBus.d.ts","path":"packages/excalidraw/types/common/src/appEventBus.d.ts","sha256":"fbc91a8b90b0d42ece8095ffc47d4aa19ff41b2f35636b4197819221d5e38a91","bytes":1342},{"role":"declaration:packages/excalidraw/types/common/src/binary-heap.d.ts","path":"packages/excalidraw/types/common/src/binary-heap.d.ts","sha256":"55d64aab8b3e3a974954ddd664ea2c39f26c425c69f9516085c23673bb68a52a","bytes":334},{"role":"declaration:packages/excalidraw/types/common/src/bounds.d.ts","path":"packages/excalidraw/types/common/src/bounds.d.ts","sha256":"4aca9407a90c5b0e546ab8430bd8867b0ad7643541a981b121a48a0af6f94b89","bytes":258},{"role":"declaration:packages/excalidraw/types/common/src/colors.d.ts","path":"packages/excalidraw/types/common/src/colors.d.ts","sha256":"13d4f32cb1598531d83dd58c224e95d2eb1a1e00c91aa8ae4657c7c8bcfe6ab5","bytes":6943},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianHost.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianHost.d.ts","sha256":"11d9a953afff9cb166a4f42172fca190fda6feb112d00ff666c90b1e02be9c8e","bytes":2669},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","sha256":"a6563a72b034c6dde0b71b6ba29e39b37c0cc373c17938024b4fa1cd4cc000f3","bytes":776},{"role":"declaration:packages/excalidraw/types/common/src/constants.d.ts","path":"packages/excalidraw/types/common/src/constants.d.ts","sha256":"00ccf00adae6282079c3c70b6294a087eba9f9cecb9e3e0f247de2db6fc36208","bytes":16836},{"role":"declaration:packages/excalidraw/types/common/src/editorInterface.d.ts","path":"packages/excalidraw/types/common/src/editorInterface.d.ts","sha256":"0f224e384681de724694e6d605a0b2992c97da72d3c81acb45b31c90e92335ee","bytes":1811},{"role":"declaration:packages/excalidraw/types/common/src/emitter.d.ts","path":"packages/excalidraw/types/common/src/emitter.d.ts","sha256":"e160f5ea4483ebc246f1e66ccbbd5d04e4a6afebd49eabcd591a9828b300036d","bytes":598},{"role":"declaration:packages/excalidraw/types/common/src/font-metadata.d.ts","path":"packages/excalidraw/types/common/src/font-metadata.d.ts","sha256":"468d2f0ca327ab750b29aa9bf9232f4716fd9403c236b20eabd72072afbe8c3f","bytes":175Line truncated
|
||||
"source": {"pluginRevision":"fd32ac682e2aadc0f982fa23d36da482011117f9","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"combination": {"schemaVersion":2,"mode":"workspace","roots":{"plugin":"<plugin>","fork":"<fork>","extras":"<Extras>"},"manifests":{"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669},{"role":"declaration:packages/excalidraw/types/common/debug.d.ts","relativePath":"packages/excalidraw/types/common/debug.d.ts","sha256":"a8ff922d3c5550484a408d613ddc5938ad99df81d7f87a2f2eb57158a141750d","bytes":1016},{"role":"declaration:packages/excalidraw/types/common/src/appEventBus.d.ts","relativePath":"packages/excalidraw/types/common/src/appEventBus.d.ts","sha256":"fbc91a8b90b0d42ece8095ffc47d4aa19ff41b2f35636b4197819221d5e38a91","bytes":1342},{"role":"declaration:packages/excalidraw/types/common/src/binary-heap.d.ts","relativePath":"packages/excalidraw/types/common/src/binary-heap.d.ts","sha256":"55d64aab8b3e3a974954ddd664ea2c39f26c425c69f9516085c23673bb68a52a","bytes":334},{"role":"declaration:packages/excalidraw/types/common/src/bounds.d.ts","relativePath":"packages/excalidraw/types/common/src/bounds.d.ts","sha256":"4aca9407a90c5b0e546ab8430bd8867b0ad7643541a981b121a48a0af6f94b89","bytes":258},{"role":"declaration:packages/excalidraw/types/common/src/colors.d.ts","relativePath":"packages/excalidraw/types/common/src/colors.d.ts","sha256":"13d4f32cb1598531d83dd58c224e95d2eb1a1e00c91aa8ae4657c7c8bcfe6ab5","bytes":6943},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianHost.d.ts","relativePath":"packages/excalidraw/types/common/src/commonObsidianHost.d.ts","sha256":"11d9a953afff9cb166a4f42172fca190fda6feb112d00ff666c90b1e02be9c8e","bytes":2669},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","relativePath":"packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","sha256":"a6563a72b034c6dde0b71b6ba29e39b37c0cc373c17938024b4fa1cd4cc000f3","bytes":776},{"role":"declaration:packages/excalidraw/types/common/src/constants.d.ts","relativePath":"packages/excalidraw/types/common/src/constants.d.ts","sha256":"00ccf00adae6282079c3c70b6294a087eba9f9cecb9e3e0f247de2db6fc36208","bytes":16836},{"role":"declaration:packages/excalidraw/types/common/src/editorInterface.d.ts","relativePath":"packages/excalidraw/types/common/src/editorInterface.d.ts","sha256":"0f224e384681de724694e6d605a0b2992c97da72d3c81acb45b31c90e92335ee","bytes":1811},{"role":"declaration:packages/excalidraw/types/common/src/emitter.d.ts","relativePath":"packages/excalidraw/types/common/src/emitter.d.ts","sha256":"e160f5ea4483ebc246f1e66ccbbd5d04e4a6afebd49eabcd591a9828b300036d","bytes":598},{"role":"declaration:packages/excalidraw/types/common/src/font-metadata.d.ts","relativePath":"packages/excalidraw/types/common/src/font-metadata.d.ts","sha256":"468d2f0ca327ab750b29aa9bf9232f4716fd9403c236b20eabd72072afbe8c3f","bytes":1755},{"role":"declaration:packages/excalidraw/types/common/src/index.d.ts","relativePath":"packages/excalidraw/types/common/src/index.d.ts","sha256":"e9eb7d007d7257ed69a34026a1fb2a48cd66e004ff336d2f1a040814614f3e78","bytes":572},{"role":"declaration:packages/excalidraw/types/common/src/keys.d.ts","relativePath":"packages/excalidraw/types/common/src/keys.d.ts","sha256":"c64cf972109a6a781e3950ab4812e6397d0be9cac5102acba85484b33ff5b85f","bytes":6190},{"role":"declaration:packages/excalidraw/types/common/src/points.d.ts","relativePath":"packages/excalidraw/types/common/src/points.d.ts","sha256":"8583541800e13a13b3d86f10b3785edb8620e2b10e52ebd6f226bfbfcdffb6d5","bytes":602},{"role":"declaration:packages/excalidraw/types/common/src/promise-pool.d.ts","relativePath":"packages/excalidraw/types/common/src/promise-pool.d.ts","sha256":"58684b8dc4d6c8d6a4349929132f398376339a6da8151bLine truncated
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"fd32ac682e2aadc0f982fa23d36da482011117f9","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-6a70203a-7f04-421e-98b6-f6dc4def6187\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case18.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case1.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case2.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case3.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case4.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case5.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case6.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case7.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case8.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case9.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case10.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case11.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case12.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case13.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case14.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case15.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case16.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case17.excalidraw.md","__excalidraw_cli_smoke_065c7a81-1ad4-4747-9843-a58e5125d786_case18.excalidraw.md"]},
|
||||
"startedAt": "2026-10-30T12:50:12.470Z",
|
||||
"mainCompletedAt": "2026-10-30T12:57:07.547Z",
|
||||
"caseResults": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"13da6825d64500ec","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"13da6825d64500ec","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"13da6825d64500ec","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackets":false,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDeskLine truncated
|
||||
"aggregate": {"status":"passed","cleanup":"passed","requiredTestIds":["native:behavior:main:settings-01","native:behavior:main:settings-02","native:behavior:main:settings-03","native:behavior:main:settings-04","native:behavior:main:settings-05","native:behavior:main:settings-06","native:behavior:main:settings-07","native:behavior:main:settings-08","native:behavior:main:settings-09","native:behavior:main:settings-10","native:behavior:main:settings-11","native:behavior:main:settings-12","native:behavior:main:settings-13","native:behavior:main:settings-14","native:behavior:main:settings-15","native:behavior:main:settings-16","native:behavior:main:export-01","native:behavior:main:export-02","native:behavior:main:export-03","native:behavior:main:export-04","native:behavior:main:export-05","native:behavior:main:export-06","native:behavior:main:export-07","native:behavior:main:export-08","native:behavior:main:export-09","native:behavior:main:export-10","native:behavior:main:export-11","native:behavior:main:export-12","native:behavior:main:export-frame-padding-policy","native:behavior:main:cli-atomic-targeted-edit","native:behavior:main:settings-live-persistence","native:behavior:main:frontmatter-prefixes-theme-scale","native:behavior:main:markdown-reading","native:behavior:main:markdown-live-preview","native:behavior:main:markdown-source-edit","native:behavior:main:images-shared-crops","native:behavior:main:images-source-edit-missing","native:behavior:main:drawing-and-markdown-embeds","native:behavior:main:raw-parsed-text","native:behavior:main:ea-selection-groups-bindings-frames","native:behavior:main:ea-hooks-targeting-invalid","native:behavior:main:command-palette-selection-cancel","native:behavior:main:toolbar-context-shortcuts","native:behavior:split:settings-01","native:behavior:split:settings-02","native:behavior:split:settings-03","native:behavior:split:settings-04","native:behavior:split:settings-05","native:behavior:split:settings-06","native:behavior:split:settings-07","native:behavior:split:settings-08","native:behavior:split:settings-09","native:behavior:split:settings-10","native:behavior:split:settings-11","native:behavior:split:settings-12","native:behavior:split:settings-13","native:behavior:split:settings-14","native:behavior:split:settings-15","native:behavior:split:settings-16","native:behavior:split:export-01","native:behavior:split:export-02","native:behavior:split:export-03","native:behavior:split:export-04","native:behavior:split:export-05","native:behavior:split:export-06","native:behavior:split:export-07","native:behavior:split:export-08","native:behavior:split:export-09","native:behavior:split:export-10","native:behavior:split:export-11","native:behavior:split:export-12","native:behavior:split:export-frame-padding-policy","native:behavior:split:cli-atomic-targeted-edit","native:behavior:split:settings-live-persistence","native:behavior:split:frontmatter-prefixes-theme-scale","native:behavior:split:markdown-reading","native:behavior:split:markdown-live-preview","native:behavior:split:markdown-source-edit","native:behavior:split:images-shared-crops","native:behavior:split:images-source-edit-missing","native:behavior:split:drawing-and-markdown-embeds","native:behavior:split:raw-parsed-text","native:behavior:split:ea-selection-groups-bindings-frames","native:behavior:split:ea-hooks-targeting-invalid","native:behavior:split:command-palette-selection-cancel","native:behavior:split:toolbar-context-shortcuts","native:behavior:nested-split:settings-01","native:behavior:nested-split:settings-02","native:behavior:nested-split:settings-03","native:behavior:nested-split:settings-04","native:behavior:nested-split:settings-05","native:behavior:nested-split:settings-06","native:behavior:nested-split:settings-07","native:behavior:nested-split:settings-08","native:behavior:nested-split:settings-09","native:behavior:nested-split:settings-10","native:behavior:nested-split:settings-11","native:behavior:nested-split:settings-12","native:behavior:nested-split:settings-13","native:behavior:nested-split:settings-14","native:behavior:nested-split:settings-15","native:behavior:nested-split:settings-16","native:behavior:nested-split:export-01","native:behavior:nested-split:export-02","native:behavior:nested-split:export-03","native:behavior:nested-split:export-04","native:behavior:nested-split:export-05","native:behavior:nested-split:export-06","native:behavior:nested-split:export-07","native:behavior:nested-split:export-08","native:behavior:nested-split:export-09","native:behavior:nested-split:export-10","native:behavior:nested-split:export-11","native:behavior:nested-split:export-12","native:behavior:nested-split:export-frame-padding-policy","native:behavior:nested-split:cli-atomic-targeted-edit","native:behavior:nested-split:settings-live-persistence","native:behavior:nested-split:frontmatter-prefixes-theme-scale","native:behavior:nested-split:markdown-reading","native:behavior:nested-split:markdown-live-Line truncated
|
||||
"scenarioGates": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"behavior-matrix","status":"passed","consoleErrors":[],"windowErrors":[{"context":"popout","window":"main","phase":"native:behavior:popout:markdown-reading","message":"ResizeObserver loop completed with undelivered notifications.","at":1793364746246,"hasError":false,"isTrusted":true,"source":"app://obsidian.md/index.html","line":0,"column":0}],"browserDiagnostics":[{"context":"popout","window":"main","phase":"native:behavior:popout:markdown-reading","message":"ResizeObserver loop completed with undelivered notifications.","at":1793364746246,"hasError":false,"isTrusted":true,"source":"app://obsidian.md/index.html","line":0,"column":0}],"unexpectedWindowErrors":[],"browserIdle":[{"status":"passed","label":"behavior:main","started":1793364653132,"completed":1793364654221,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793364653132,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364653238,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364653350,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364653461,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364653572,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364653683,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364653785,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364653887,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364654000,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364654112,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364654221,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},{"status":"passed","label":"behavior:split","started":1793364690373,"completed":1793364691467,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793364690373,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364690491,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364690597,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364690705,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364690821,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364690931,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364691044,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364691151,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364691263,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364691364,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793364691467,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0}]},{"status":"passed","label":"behavior:nested-split","started":1793364727506,"completed":1793364728606,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793364727507,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf",534,40,490,360],["workspace-leaf mod-active",534,440,490,360],["excalidraw-wrapper",535,476,488,324]],"eventCount":0},{"at":1793364727617,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf",534,40,490,360],["workspace-leaf mod-activeLine truncated
|
||||
"rawWindowErrors": [{"at":1793364746246,"message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false,"source":"app://obsidian.md/index.html","line":0,"column":0,"label":"scenario:0","activeLeaf":{"type":"markdown","file":"__excalidraw_cli_smoke_065c7a81_behavior_popout/Render-target.md"},"activeEditor":{"type":"markdown","file":"__excalidraw_cli_smoke_065c7a81_behavior_popout/Render-target.md","editor":true,"keys":["_loaded","_events","_children","icon","navigation","app","leaf","containerEl","canDropAnywhere","leftSidebarToggleEl","headerEl","contentEl","backButtonEl","forwardButtonEl","titleParentEl","titleEl","titleContainerEl","actionsEl","moreOptionsButtonEl","allowNoFile","fileBeingRenamed","lastSavedData","saving","saveAgain","isPlaintext","data","dirty","requestSave","modeButtonEl","modes","currentMode","scroll","showBacklinks","rawFrontmatter","initialScope","scope","editMode","sourceMode","previewMode","inlineTitleEl","metadataEditor","backlinksEl","file"]},"cases":[{"phase":"native:behavior:popout:markdown-reading"}]}],
|
||||
"consoleErrors": [{"kind":"console","messages":["Error: EXCALIDRAW_OWNED_WRITE_FAILURE\n at t.faulty [as modify] (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:163:89)\n at Ix.<anonymous> (app://obsidian.md/app.js:1:2808857)\n at app://obsidian.md/app.js:1:254188\n at Object.next (app://obsidian.md/app.js:1:254293)\n at a (app://obsidian.md/app.js:1:253011) [{\"name\":\"stack\",\"type\":\"string\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.fau…293)\\n at a (app://obsidian.md/app.js:1:253011)\"},{\"name\":\"message\",\"type\":\"string\",\"value\":\"EXCALIDRAW_OWNED_WRITE_FAILURE\"}]"]},{"kind":"console","messages":["Object [{\"name\":\"plugin\",\"type\":\"string\",\"value\":\"Excalidraw\"},{\"name\":\"where\",\"type\":\"string\",\"value\":\"ExcalidrawView.save\"},{\"name\":\"fn\",\"type\":\"string\",\"value\":\"save\"},{\"name\":\"error\",\"subtype\":\"error\",\"type\":\"object\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.faulty [as modify] (eval at <anonymous> (eval at <an…\"}]"]}],
|
||||
"unexpectedConsoleErrors": [],
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793364616451,"completed":1793364617561,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793364616452,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364616562,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364616673,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364616785,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364616895,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364617005,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364617116,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364617228,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364617338,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364617450,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793364617561,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"cleanupIdle": {"status":"passed","label":"native-main","started":1793365025678,"completed":1793365026790,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793365025679,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365025794,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365025907,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365026017,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365026124,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365026236,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365026347,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365026456,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365026568,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365026678,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1},{"at":1793365026790,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":1}]},
|
||||
"cleanupCLIErrors": {"raw":"13:52:26 ResizeObserver loop completed with undelivered notifications.","diagnostics":["13:52:26 ResizeObserver loop completed with undelivered notifications."],"unexpected":[]},
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]},
|
||||
"deviceEnvironment": {"cliVersion":"1.14.5 (installer 1.14.5)","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},
|
||||
"deviceRestoration": {"restored":true},
|
||||
"deviceReloadDiagnostics": ["Obsidian CLI: Error: Command \"eval\" not found. It may require a plugin to be enabled."],
|
||||
"errorOracle": {"schemaVersion":2,"suiteId":"native-error-oracle","status":"passed","cleanup":"passed","source":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"fd32ac682e2aadc0f982fa23d36da482011117f9","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}]},"tests":[{"testId":"native:diagnostics-rejects-unhandled","featureIds":["P11"],"status":"passed","assertions":["actual uncaught host exception captured by a fresh owned stream","ordinary clean-error oracle rejects it","no unrelated error is filtered"]},{"testId":"native:diagnostics-rejects-broken-layout","featureIds":["P11"],"status":"passed","assertions":["actual workspace geometry measured","ordinary native task/case collector rejects deliberately wrong width","negative-control cleanup passes"]}],"initialCLIErrors":{"raw":"No errors captured.\n","diagnostics":[],"unexpected":[]},"captured":[{"kind":"exception","timestamp":1793365349682.834,"tasks":[],"details":{"columnNumber":250,"exception":{"className":"Error","description":"Error: EXCALIDRAW_TEST_EXCEPTION_e8b5e3421dc2458ab39b2dbd703ad624\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)","objectId":"7032996421866244547.566.36","preview":{"description":"Error: EXCALIDRAW_TEST_EXCEPTION_e8b5e3421dc2458ab39b2dbd703ad624\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)","overflow":false,"properties":[{"name":"stack","type":"string","value":"Error: EXCALIDRAW_TEST_EXCEPTION_e8b5e3421dc2458ab…obsidian.md/app.js:1:1638663), <anonymous>:1:251)"},{"name":"message","type":"string","value":"EXCALIDRAW_TEST_EXCEPTION_e8b5e3421dc2458ab39b2dbd703ad624"}],"subtype":"error","type":"object"},"subtype":"error","type":"object"},"exceptionId":4,"executionContextId":566,"lineNumber":0,"scriptId":"53863","stackTrace":{"callFrames":[{"columnNumber":250,"functionName":"eval","lineNumber":0,"scriptId":"53863","url":""}]},"text":"Uncaught"},"messages":["Error: EXCALIDRAW_TEST_EXCEPTION_e8b5e3421dc2458ab39b2dbd703ad624\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)"]}],"layoutNegativeControl":[{"testId":"negative-control:broken-layout","featureIds":["P11"],"status":"failed","reason":"Error: INTENTIONAL_LAYOUT_MISMATCH: 1024 !== 1041\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:85:36)\n at c.case (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:46:30)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:83:85)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:64:24)\n at installTask (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:81:5)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:83:3)\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:1)\n at eval (<anonymous>)\n at e.<anonymous> (app://obsidian.md/app.js:1:1638663)\n at app://obsidian.md/app.js:1:254188"}]}
|
||||
},
|
||||
{
|
||||
"audit": {"name":"2026-10-30-native-complete-2-fd32ac68","status":"passed","aggregate":"passed","recorded":357,"passed":357,"required":357,"missing":[],"failed":[],"behavior":258,"profiles":40,"cleanup":"passed","deviceCleanup":"passed","restored":true,"deviceRestored":true,"errorOracle":"passed","desktopCLI":[{"id":"native:behavior:main:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:split:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:nested-split:cli-atomic-targeted-edit","status":"passed"},{"id":"native:behavior:popout:cli-atomic-targeted-edit","status":"passed"},{"id":"native-cli-authoring","status":"passed"},{"id":"lucide-3019","status":"passed"}],"mobileCLI":[{"id":"native:behavior:phone:cli-atomic-targeted-edit","status":"passed","transport":"public EA.executeCLI"},{"id":"native:behavior:tablet:cli-atomic-targeted-edit","status":"passed","transport":"public EA.executeCLI"}],"windowEvents":2,"profileEvents":0,"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","source":{"pluginRevision":"fd32ac682e2aadc0f982fa23d36da482011117f9","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},"artifacts":{"fork":{"commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","artifacts":[{"role":"production-js","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","path":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","path":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","path":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669},{"role":"declaration:packages/excalidraw/types/common/debug.d.ts","path":"packages/excalidraw/types/common/debug.d.ts","sha256":"a8ff922d3c5550484a408d613ddc5938ad99df81d7f87a2f2eb57158a141750d","bytes":1016},{"role":"declaration:packages/excalidraw/types/common/src/appEventBus.d.ts","path":"packages/excalidraw/types/common/src/appEventBus.d.ts","sha256":"fbc91a8b90b0d42ece8095ffc47d4aa19ff41b2f35636b4197819221d5e38a91","bytes":1342},{"role":"declaration:packages/excalidraw/types/common/src/binary-heap.d.ts","path":"packages/excalidraw/types/common/src/binary-heap.d.ts","sha256":"55d64aab8b3e3a974954ddd664ea2c39f26c425c69f9516085c23673bb68a52a","bytes":334},{"role":"declaration:packages/excalidraw/types/common/src/bounds.d.ts","path":"packages/excalidraw/types/common/src/bounds.d.ts","sha256":"4aca9407a90c5b0e546ab8430bd8867b0ad7643541a981b121a48a0af6f94b89","bytes":258},{"role":"declaration:packages/excalidraw/types/common/src/colors.d.ts","path":"packages/excalidraw/types/common/src/colors.d.ts","sha256":"13d4f32cb1598531d83dd58c224e95d2eb1a1e00c91aa8ae4657c7c8bcfe6ab5","bytes":6943},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianHost.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianHost.d.ts","sha256":"11d9a953afff9cb166a4f42172fca190fda6feb112d00ff666c90b1e02be9c8e","bytes":2669},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","sha256":"a6563a72b034c6dde0b71b6ba29e39b37c0cc373c17938024b4fa1cd4cc000f3","bytes":776},{"role":"declaration:packages/excalidraw/types/common/src/constants.d.ts","path":"packages/excalidraw/types/common/src/constants.d.ts","sha256":"00ccf00adae6282079c3c70b6294a087eba9f9cecb9e3e0f247de2db6fc36208","bytes":16836},{"role":"declaration:packages/excalidraw/types/common/src/editorInterface.d.ts","path":"packages/excalidraw/types/common/src/editorInterface.d.ts","sha256":"0f224e384681de724694e6d605a0b2992c97da72d3c81acb45b31c90e92335ee","bytes":1811},{"role":"declaration:packages/excalidraw/types/common/src/emitter.d.ts","path":"packages/excalidraw/types/common/src/emitter.d.ts","sha256":"e160f5ea4483ebc246f1e66ccbbd5d04e4a6afebd49eabcd591a9828b300036d","bytes":598},{"role":"declaration:packages/excalidraw/types/common/src/font-metadata.d.ts","path":"packages/excalidraw/types/common/src/font-metadata.d.ts","sha256":"468d2f0ca327ab750b29aa9bf9232f4716fd9403c236b20eabd72072afbe8c3f","bytes":175Line truncated
|
||||
"source": {"pluginRevision":"fd32ac682e2aadc0f982fa23d36da482011117f9","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"regression","node":"v22.22.3","platform":"win32"},
|
||||
"capabilities": {"version":"1.14.5 (installer 1.14.5)","applicationIdentity":"<user>\\AppData\\Roaming\\obsidian","scheduling":{"originalBackgroundThrottling":true,"scopedBackgroundThrottling":false},"runtime":{"installer":"1.14.5","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},"pluginDiscovery":{"discovery":"existing"},"errorBaseline":"passed"},
|
||||
"artifacts": {"forkArtifacts":{"production-js":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","production-css":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","development-js":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","development-css":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883"},"version":"2.29.0","sourceHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"mainBytes":5030423,"companions":{"installedHashes":{"main":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","previouslyLoaded":true,"discovery":"existing"},"installedHashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"}},
|
||||
"combination": {"schemaVersion":2,"mode":"workspace","roots":{"plugin":"<plugin>","fork":"<fork>","extras":"<Extras>"},"manifests":{"fork":{"schemaVersion":2,"kind":"fork","repository":"zsviczian/excalidraw","commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909","buildCommand":"yarn build:esm && yarn build:obsidian","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"production-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},{"role":"production-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},{"role":"development-js","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},{"role":"development-css","relativePath":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},{"role":"package-manifest","relativePath":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669},{"role":"declaration:packages/excalidraw/types/common/debug.d.ts","relativePath":"packages/excalidraw/types/common/debug.d.ts","sha256":"a8ff922d3c5550484a408d613ddc5938ad99df81d7f87a2f2eb57158a141750d","bytes":1016},{"role":"declaration:packages/excalidraw/types/common/src/appEventBus.d.ts","relativePath":"packages/excalidraw/types/common/src/appEventBus.d.ts","sha256":"fbc91a8b90b0d42ece8095ffc47d4aa19ff41b2f35636b4197819221d5e38a91","bytes":1342},{"role":"declaration:packages/excalidraw/types/common/src/binary-heap.d.ts","relativePath":"packages/excalidraw/types/common/src/binary-heap.d.ts","sha256":"55d64aab8b3e3a974954ddd664ea2c39f26c425c69f9516085c23673bb68a52a","bytes":334},{"role":"declaration:packages/excalidraw/types/common/src/bounds.d.ts","relativePath":"packages/excalidraw/types/common/src/bounds.d.ts","sha256":"4aca9407a90c5b0e546ab8430bd8867b0ad7643541a981b121a48a0af6f94b89","bytes":258},{"role":"declaration:packages/excalidraw/types/common/src/colors.d.ts","relativePath":"packages/excalidraw/types/common/src/colors.d.ts","sha256":"13d4f32cb1598531d83dd58c224e95d2eb1a1e00c91aa8ae4657c7c8bcfe6ab5","bytes":6943},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianHost.d.ts","relativePath":"packages/excalidraw/types/common/src/commonObsidianHost.d.ts","sha256":"11d9a953afff9cb166a4f42172fca190fda6feb112d00ff666c90b1e02be9c8e","bytes":2669},{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","relativePath":"packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","sha256":"a6563a72b034c6dde0b71b6ba29e39b37c0cc373c17938024b4fa1cd4cc000f3","bytes":776},{"role":"declaration:packages/excalidraw/types/common/src/constants.d.ts","relativePath":"packages/excalidraw/types/common/src/constants.d.ts","sha256":"00ccf00adae6282079c3c70b6294a087eba9f9cecb9e3e0f247de2db6fc36208","bytes":16836},{"role":"declaration:packages/excalidraw/types/common/src/editorInterface.d.ts","relativePath":"packages/excalidraw/types/common/src/editorInterface.d.ts","sha256":"0f224e384681de724694e6d605a0b2992c97da72d3c81acb45b31c90e92335ee","bytes":1811},{"role":"declaration:packages/excalidraw/types/common/src/emitter.d.ts","relativePath":"packages/excalidraw/types/common/src/emitter.d.ts","sha256":"e160f5ea4483ebc246f1e66ccbbd5d04e4a6afebd49eabcd591a9828b300036d","bytes":598},{"role":"declaration:packages/excalidraw/types/common/src/font-metadata.d.ts","relativePath":"packages/excalidraw/types/common/src/font-metadata.d.ts","sha256":"468d2f0ca327ab750b29aa9bf9232f4716fd9403c236b20eabd72072afbe8c3f","bytes":1755},{"role":"declaration:packages/excalidraw/types/common/src/index.d.ts","relativePath":"packages/excalidraw/types/common/src/index.d.ts","sha256":"e9eb7d007d7257ed69a34026a1fb2a48cd66e004ff336d2f1a040814614f3e78","bytes":572},{"role":"declaration:packages/excalidraw/types/common/src/keys.d.ts","relativePath":"packages/excalidraw/types/common/src/keys.d.ts","sha256":"c64cf972109a6a781e3950ab4812e6397d0be9cac5102acba85484b33ff5b85f","bytes":6190},{"role":"declaration:packages/excalidraw/types/common/src/points.d.ts","relativePath":"packages/excalidraw/types/common/src/points.d.ts","sha256":"8583541800e13a13b3d86f10b3785edb8620e2b10e52ebd6f226bfbfcdffb6d5","bytes":602},{"role":"declaration:packages/excalidraw/types/common/src/promise-pool.d.ts","relativePath":"packages/excalidraw/types/common/src/promise-pool.d.ts","sha256":"58684b8dc4d6c8d6a4349929132f398376339a6da8151bLine truncated
|
||||
"preparation": {"schemaVersion":2,"target":{"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","automationRoot":"<plugin>\\.test-work\\vaults"},"seedHash":"b231ed99d53d800f730e3ceeec83c53dcac7ba54b76ba67264223be8766c9796","installations":{"plugin":{"status":"installed","id":"obsidian-excalidraw-plugin","source":"fd32ac682e2aadc0f982fa23d36da482011117f9","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","manifest.json":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","styles.css":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"},"baselineSettingsHash":"26d620c8337201b4623b94d11ca3fd6017099a4b22c5a30759f96120ab1a7b65"},"extras":{"status":"installed","id":"excalidraw-extras","source":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","hashes":{"main.js":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","manifest.json":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","styles.css":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"},"baselineSettingsHash":"d9d66dc867b3bc74078d0917c3ac3f3c33a5646f6b3a23c8d83fe653db09ece5"}},"combinationPath":"<plugin>\\.test-work\\frozen\\combination-08662f19-7fad-4531-9b87-d25246c11f33\\combination.json","hostConfiguration":{"configuration":{"alwaysUpdateLinks":true,"livePreview":true,"defaultViewMode":"source","promptDelete":false,"attachmentFolderPath":"Assets","spellcheck":false},"enabledCorePlugins":["file-explorer","global-search","switcher","command-palette","canvas","backlink","outgoing-link","tag-pane","page-preview","properties"],"layoutApplied":true,"activeLeaf":"3022000000000003"},"ready":true},
|
||||
"target": {"vaultName":"excalidraw-auto-test","vaultPath":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test","configDir":"<plugin>\\.test-work\\vaults\\excalidraw-auto-test\\.obsidian","drawingPath":"__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case18.excalidraw.md","fixturePaths":["__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case1.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case2.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case3.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case4.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case5.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case6.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case7.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case8.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case9.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case10.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case11.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case12.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case13.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case14.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case15.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case16.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case17.excalidraw.md","__excalidraw_cli_smoke_0961bf6a-67b1-419b-b07a-03e8bd3cb42a_case18.excalidraw.md"]},
|
||||
"startedAt": "2026-10-30T13:04:45.576Z",
|
||||
"mainCompletedAt": "2026-10-30T13:11:39.814Z",
|
||||
"caseResults": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"1ecafdb454f8b4e1","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"1ecafdb454f8b4e1","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"1ecafdb454f8b4e1","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-04","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"view","opacity":0,"brackets":false},"factors":{"defaultMode":"normal","frontMode":"view","linkOpacity":0,"frontOpacity":0,"showLinkBrackets":false,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDeskLine truncated
|
||||
"aggregate": {"status":"passed","cleanup":"passed","requiredTestIds":["native:behavior:main:settings-01","native:behavior:main:settings-02","native:behavior:main:settings-03","native:behavior:main:settings-04","native:behavior:main:settings-05","native:behavior:main:settings-06","native:behavior:main:settings-07","native:behavior:main:settings-08","native:behavior:main:settings-09","native:behavior:main:settings-10","native:behavior:main:settings-11","native:behavior:main:settings-12","native:behavior:main:settings-13","native:behavior:main:settings-14","native:behavior:main:settings-15","native:behavior:main:settings-16","native:behavior:main:export-01","native:behavior:main:export-02","native:behavior:main:export-03","native:behavior:main:export-04","native:behavior:main:export-05","native:behavior:main:export-06","native:behavior:main:export-07","native:behavior:main:export-08","native:behavior:main:export-09","native:behavior:main:export-10","native:behavior:main:export-11","native:behavior:main:export-12","native:behavior:main:export-frame-padding-policy","native:behavior:main:cli-atomic-targeted-edit","native:behavior:main:settings-live-persistence","native:behavior:main:frontmatter-prefixes-theme-scale","native:behavior:main:markdown-reading","native:behavior:main:markdown-live-preview","native:behavior:main:markdown-source-edit","native:behavior:main:images-shared-crops","native:behavior:main:images-source-edit-missing","native:behavior:main:drawing-and-markdown-embeds","native:behavior:main:raw-parsed-text","native:behavior:main:ea-selection-groups-bindings-frames","native:behavior:main:ea-hooks-targeting-invalid","native:behavior:main:command-palette-selection-cancel","native:behavior:main:toolbar-context-shortcuts","native:behavior:split:settings-01","native:behavior:split:settings-02","native:behavior:split:settings-03","native:behavior:split:settings-04","native:behavior:split:settings-05","native:behavior:split:settings-06","native:behavior:split:settings-07","native:behavior:split:settings-08","native:behavior:split:settings-09","native:behavior:split:settings-10","native:behavior:split:settings-11","native:behavior:split:settings-12","native:behavior:split:settings-13","native:behavior:split:settings-14","native:behavior:split:settings-15","native:behavior:split:settings-16","native:behavior:split:export-01","native:behavior:split:export-02","native:behavior:split:export-03","native:behavior:split:export-04","native:behavior:split:export-05","native:behavior:split:export-06","native:behavior:split:export-07","native:behavior:split:export-08","native:behavior:split:export-09","native:behavior:split:export-10","native:behavior:split:export-11","native:behavior:split:export-12","native:behavior:split:export-frame-padding-policy","native:behavior:split:cli-atomic-targeted-edit","native:behavior:split:settings-live-persistence","native:behavior:split:frontmatter-prefixes-theme-scale","native:behavior:split:markdown-reading","native:behavior:split:markdown-live-preview","native:behavior:split:markdown-source-edit","native:behavior:split:images-shared-crops","native:behavior:split:images-source-edit-missing","native:behavior:split:drawing-and-markdown-embeds","native:behavior:split:raw-parsed-text","native:behavior:split:ea-selection-groups-bindings-frames","native:behavior:split:ea-hooks-targeting-invalid","native:behavior:split:command-palette-selection-cancel","native:behavior:split:toolbar-context-shortcuts","native:behavior:nested-split:settings-01","native:behavior:nested-split:settings-02","native:behavior:nested-split:settings-03","native:behavior:nested-split:settings-04","native:behavior:nested-split:settings-05","native:behavior:nested-split:settings-06","native:behavior:nested-split:settings-07","native:behavior:nested-split:settings-08","native:behavior:nested-split:settings-09","native:behavior:nested-split:settings-10","native:behavior:nested-split:settings-11","native:behavior:nested-split:settings-12","native:behavior:nested-split:settings-13","native:behavior:nested-split:settings-14","native:behavior:nested-split:settings-15","native:behavior:nested-split:settings-16","native:behavior:nested-split:export-01","native:behavior:nested-split:export-02","native:behavior:nested-split:export-03","native:behavior:nested-split:export-04","native:behavior:nested-split:export-05","native:behavior:nested-split:export-06","native:behavior:nested-split:export-07","native:behavior:nested-split:export-08","native:behavior:nested-split:export-09","native:behavior:nested-split:export-10","native:behavior:nested-split:export-11","native:behavior:nested-split:export-12","native:behavior:nested-split:export-frame-padding-policy","native:behavior:nested-split:cli-atomic-targeted-edit","native:behavior:nested-split:settings-live-persistence","native:behavior:nested-split:frontmatter-prefixes-theme-scale","native:behavior:nested-split:markdown-reading","native:behavior:nested-split:markdown-live-Line truncated
|
||||
"scenarioGates": [{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"]},{"id":"behavior-matrix","status":"passed","consoleErrors":[],"windowErrors":[{"context":"popout","window":"main","phase":"native:behavior:popout:markdown-reading","message":"ResizeObserver loop completed with undelivered notifications.","at":1793365617376,"hasError":false,"isTrusted":true,"source":"app://obsidian.md/index.html","line":0,"column":0},{"context":"popout","window":"main","phase":"native:behavior:popout:markdown-reading","message":"ResizeObserver loop completed with undelivered notifications.","at":1793365618011,"hasError":false,"isTrusted":true,"source":"app://obsidian.md/index.html","line":0,"column":0}],"browserDiagnostics":[{"context":"popout","window":"main","phase":"native:behavior:popout:markdown-reading","message":"ResizeObserver loop completed with undelivered notifications.","at":1793365617376,"hasError":false,"isTrusted":true,"source":"app://obsidian.md/index.html","line":0,"column":0},{"context":"popout","window":"main","phase":"native:behavior:popout:markdown-reading","message":"ResizeObserver loop completed with undelivered notifications.","at":1793365618011,"hasError":false,"isTrusted":true,"source":"app://obsidian.md/index.html","line":0,"column":0}],"unexpectedWindowErrors":[],"browserIdle":[{"status":"passed","label":"behavior:main","started":1793365526035,"completed":1793365527137,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793365526036,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365526152,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365526262,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365526372,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365526480,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365526589,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365526693,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365526808,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365526917,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365527027,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365527137,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},{"status":"passed","label":"behavior:split","started":1793365562392,"completed":1793365563489,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793365562392,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365562496,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365562602,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365562715,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365562823,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365562935,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365563044,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365563155,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365563266,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365563378,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-active",534,40,490,760],["excalidraw-wrapper",535,78,488,722]],"eventCount":0},{"at":1793365563489,"geometry":[["workspace-leaf",44,40,490,760],["workspace-leaf mod-actiLine truncated
|
||||
"rawWindowErrors": [{"at":1793365617375,"message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false,"source":"app://obsidian.md/index.html","line":0,"column":0,"label":"scenario:0","activeLeaf":{"type":"markdown","file":"__excalidraw_cli_smoke_0961bf6a_behavior_popout/Render-matrix.md"},"activeEditor":{"type":"markdown","file":"__excalidraw_cli_smoke_0961bf6a_behavior_popout/Render-matrix.md","editor":true,"keys":["_loaded","_events","_children","icon","navigation","app","leaf","containerEl","canDropAnywhere","leftSidebarToggleEl","headerEl","contentEl","backButtonEl","forwardButtonEl","titleParentEl","titleEl","titleContainerEl","actionsEl","moreOptionsButtonEl","allowNoFile","fileBeingRenamed","lastSavedData","saving","saveAgain","isPlaintext","data","dirty","requestSave","modeButtonEl","modes","currentMode","scroll","showBacklinks","rawFrontmatter","initialScope","scope","editMode","sourceMode","previewMode","inlineTitleEl","metadataEditor","backlinksEl","file"]},"cases":[{"phase":"native:behavior:popout:markdown-reading"}]},{"at":1793365618010,"message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false,"source":"app://obsidian.md/index.html","line":0,"column":0,"label":"scenario:0","activeLeaf":{"type":"markdown","file":"__excalidraw_cli_smoke_0961bf6a_behavior_popout/Render-target.md"},"activeEditor":{"type":"markdown","file":"__excalidraw_cli_smoke_0961bf6a_behavior_popout/Render-target.md","editor":true,"keys":["_loaded","_events","_children","icon","navigation","app","leaf","containerEl","canDropAnywhere","leftSidebarToggleEl","headerEl","contentEl","backButtonEl","forwardButtonEl","titleParentEl","titleEl","titleContainerEl","actionsEl","moreOptionsButtonEl","allowNoFile","fileBeingRenamed","lastSavedData","saving","saveAgain","isPlaintext","data","dirty","requestSave","modeButtonEl","modes","currentMode","scroll","showBacklinks","rawFrontmatter","initialScope","scope","editMode","sourceMode","previewMode","inlineTitleEl","metadataEditor","backlinksEl","file"]},"cases":[{"phase":"native:behavior:popout:markdown-reading"}]}],
|
||||
"consoleErrors": [{"kind":"console","messages":["Error: EXCALIDRAW_OWNED_WRITE_FAILURE\n at t.faulty [as modify] (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:163:89)\n at Ix.<anonymous> (app://obsidian.md/app.js:1:2808857)\n at app://obsidian.md/app.js:1:254188\n at Object.next (app://obsidian.md/app.js:1:254293)\n at a (app://obsidian.md/app.js:1:253011) [{\"name\":\"stack\",\"type\":\"string\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.fau…293)\\n at a (app://obsidian.md/app.js:1:253011)\"},{\"name\":\"message\",\"type\":\"string\",\"value\":\"EXCALIDRAW_OWNED_WRITE_FAILURE\"}]"]},{"kind":"console","messages":["Object [{\"name\":\"plugin\",\"type\":\"string\",\"value\":\"Excalidraw\"},{\"name\":\"where\",\"type\":\"string\",\"value\":\"ExcalidrawView.save\"},{\"name\":\"fn\",\"type\":\"string\",\"value\":\"save\"},{\"name\":\"error\",\"subtype\":\"error\",\"type\":\"object\",\"value\":\"Error: EXCALIDRAW_OWNED_WRITE_FAILURE\\n at t.faulty [as modify] (eval at <anonymous> (eval at <an…\"}]"]}],
|
||||
"unexpectedConsoleErrors": [],
|
||||
"baselineErrors": {"raw":"No errors captured.","diagnostics":[],"unexpected":[]},
|
||||
"baselineIdle": {"status":"passed","label":"native-main","started":1793365489700,"completed":1793365490799,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793365489701,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365489808,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365489919,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365490029,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365490140,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365490249,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365490359,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365490468,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365490578,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365490688,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793365490799,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]},
|
||||
"cleanupIdle": {"status":"passed","label":"native-main","started":1793365897955,"completed":1793365899053,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793365897956,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365898058,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365898169,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365898279,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365898390,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365898502,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365898612,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365898723,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365898832,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365898942,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793365899053,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2}]},
|
||||
"cleanupCLIErrors": {"raw":"14:06:57 ResizeObserver loop completed with undelivered notifications.\n\n14:06:58 ResizeObserver loop completed with undelivered notifications.","diagnostics":["14:06:57 ResizeObserver loop completed with undelivered notifications.","14:06:58 ResizeObserver loop completed with undelivered notifications."],"unexpected":[]},
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]},
|
||||
"deviceEnvironment": {"cliVersion":"1.14.5 (installer 1.14.5)","versions":{"node":"24.22.0","acorn":"8.18.0","ada":"4.0.0","amaro":"1.1.11","ares":"1.34.8","brotli":"1.2.0","cldr":"48.0","icu":"78.2","llhttp":"9.4.3","merve":"1.2.2","modules":"148","napi":"10","nbytes":"0.1.4","ncrypto":"0.0.1","nghttp2":"1.70.0","nghttp3":"","ngtcp2":"","openssl":"0.0.0","simdjson":"4.6.11","simdutf":"7.7.0","sqlite":"3.53.4","tz":"2026d","undici":"7.29.1","unicode":"17.0","uv":"1.52.1","uvwasi":"0.0.23","v8":"15.0.245.31-electron.0","zlib":"1.3.2.1-motley","zstd":"1.6.0","electron":"43.8.3","chrome":"150.0.7871.250"},"platform":"win32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"},
|
||||
"deviceRestoration": {"restored":true},
|
||||
"deviceReloadDiagnostics": ["Obsidian CLI: Error: Command \"eval\" not found. It may require a plugin to be enabled."],
|
||||
"errorOracle": {"schemaVersion":2,"suiteId":"native-error-oracle","status":"passed","cleanup":"passed","source":{"schemaVersion":2,"kind":"plugin","repository":"zsviczian/obsidian-excalidraw-plugin","commit":"fd32ac682e2aadc0f982fa23d36da482011117f9","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c","buildCommand":"npm run build","toolchain":{"node":"v22.22.3","platform":"win32"},"evidence":[],"artifacts":[{"role":"main","relativePath":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},{"role":"manifest","relativePath":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},{"role":"styles","relativePath":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}]},"tests":[{"testId":"native:diagnostics-rejects-unhandled","featureIds":["P11"],"status":"passed","assertions":["actual uncaught host exception captured by a fresh owned stream","ordinary clean-error oracle rejects it","no unrelated error is filtered"]},{"testId":"native:diagnostics-rejects-broken-layout","featureIds":["P11"],"status":"passed","assertions":["actual workspace geometry measured","ordinary native task/case collector rejects deliberately wrong width","negative-control cleanup passes"]}],"initialCLIErrors":{"raw":"No errors captured.\n","diagnostics":[],"unexpected":[]},"captured":[{"kind":"exception","timestamp":1793366221423.631,"tasks":[],"details":{"columnNumber":250,"exception":{"className":"Error","description":"Error: EXCALIDRAW_TEST_EXCEPTION_1c37aabadeb849bca595ab6871a4d69d\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)","objectId":"7032996421866244547.626.36","preview":{"description":"Error: EXCALIDRAW_TEST_EXCEPTION_1c37aabadeb849bca595ab6871a4d69d\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)","overflow":false,"properties":[{"name":"stack","type":"string","value":"Error: EXCALIDRAW_TEST_EXCEPTION_1c37aabadeb849bca…obsidian.md/app.js:1:1638663), <anonymous>:1:251)"},{"name":"message","type":"string","value":"EXCALIDRAW_TEST_EXCEPTION_1c37aabadeb849bca595ab6871a4d69d"}],"subtype":"error","type":"object"},"subtype":"error","type":"object"},"exceptionId":5,"executionContextId":626,"lineNumber":0,"scriptId":"60256","stackTrace":{"callFrames":[{"columnNumber":250,"functionName":"eval","lineNumber":0,"scriptId":"60256","url":""}]},"text":"Uncaught"},"messages":["Error: EXCALIDRAW_TEST_EXCEPTION_1c37aabadeb849bca595ab6871a4d69d\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:251)"]}],"layoutNegativeControl":[{"testId":"negative-control:broken-layout","featureIds":["P11"],"status":"failed","reason":"Error: INTENTIONAL_LAYOUT_MISMATCH: 1024 !== 1041\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:85:36)\n at c.case (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:46:30)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:83:85)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:64:24)\n at installTask (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:81:5)\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:83:3)\n at eval (eval at <anonymous> (app://obsidian.md/app.js:1:1638663), <anonymous>:1:1)\n at eval (<anonymous>)\n at e.<anonymous> (app://obsidian.md/app.js:1:1638663)\n at app://obsidian.md/app.js:1:254188"}]}
|
||||
}
|
||||
],
|
||||
"portable": {
|
||||
"schemaVersion": 2,
|
||||
"suiteId": "core-regression",
|
||||
"status": "passed",
|
||||
"cleanup": "passed",
|
||||
"requiredTestIds": [],
|
||||
"missing": [],
|
||||
"tests": [
|
||||
{"testId":"node:scripts/testing/acceptance.test.mjs::acceptance cannot substitute discovered files or green subsets for required executed cases","featureIds":[],"sourcePath":"scripts/testing/acceptance.test.mjs","sourceLine":22,"name":"acceptance cannot substitute discovered files or green subsets for required executed cases","status":"passed","durationMs":184.3081},
|
||||
{"testId":"node:scripts/testing/acceptance.test.mjs::coverage and soak gates do not double-count canonical identities or hide failed cleanup","featureIds":[],"sourcePath":"scripts/testing/acceptance.test.mjs","sourceLine":31,"name":"coverage and soak gates do not double-count canonical identities or hide failed cleanup","status":"passed","durationMs":529.3063},
|
||||
{"testId":"node:scripts/testing/bundle.test.mjs::private React uses browser scheduling when Electron exposes Node setImmediate","featureIds":[],"sourcePath":"scripts/testing/bundle.test.mjs","sourceLine":75,"name":"private React uses browser scheduling when Electron exposes Node setImmediate","status":"passed","durationMs":21.9636},
|
||||
{"testId":"node:scripts/testing/bundle.test.mjs::production bootstrap supplies matching private React and JSX runtimes","featureIds":[],"sourcePath":"scripts/testing/bundle.test.mjs","sourceLine":128,"name":"production bootstrap supplies matching private React and JSX runtimes","status":"passed","durationMs":67.5189},
|
||||
{"testId":"node:scripts/testing/bundle.test.mjs::compressed Excalidraw retains every published offline font asset","featureIds":[],"sourcePath":"scripts/testing/bundle.test.mjs","sourceLine":175,"name":"compressed Excalidraw retains every published offline font asset","status":"passed","durationMs":628.3706},
|
||||
{"testId":"node:scripts/testing/bundle.test.mjs::all maintained language payloads inflate and parse synchronously","featureIds":[],"sourcePath":"scripts/testing/bundle.test.mjs","sourceLine":189,"name":"all maintained language payloads inflate and parse synchronously","status":"passed","durationMs":22.4271},
|
||||
{"testId":"node:scripts/testing/bundle.test.mjs::production main.js remains below the release size target","featureIds":[],"sourcePath":"scripts/testing/bundle.test.mjs","sourceLine":208,"name":"production main.js remains below the release size target","status":"passed","durationMs":1.8103},
|
||||
{"testId":"node:scripts/testing/canvasNodeFocus.test.mjs::internal preview construction preserves the active editor and renders the requested file","featureIds":[],"sourcePath":"scripts/testing/canvasNodeFocus.test.mjs","sourceLine":112,"name":"internal preview construction preserves the active editor and renders the requested file","status":"passed","durationMs":56.2369},
|
||||
{"testId":"node:scripts/testing/canvasNodeFocus.test.mjs::replacing an internal preview preserves focus and replaces only its registered node","featureIds":[],"sourcePath":"scripts/testing/canvasNodeFocus.test.mjs","sourceLine":125,"name":"replacing an internal preview preserves focus and replaces only its registered node","status":"passed","durationMs":12.8254},
|
||||
{"testId":"node:scripts/testing/canvasNodeFocus.test.mjs::explicit embedded-note editing still enters the editor and acquires focus","featureIds":[],"sourcePath":"scripts/testing/canvasNodeFocus.test.mjs","sourceLine":140,"name":"explicit embedded-note editing still enters the editor and acquires focus","status":"passed","durationMs":10.7238},
|
||||
{"testId":"node:scripts/testing/canvasNodeFocus.test.mjs::the old default-focus path reproduces the missing-editor toolbar failure","featureIds":[],"sourcePath":"scripts/testing/canvasNodeFocus.test.mjs","sourceLine":152,"name":"the old default-focus path reproduces the missing-editor toolbar failure","status":"passed","durationMs":10.1723},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::registration validates minimum API, optional method and desktop without bumping the baseline","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":44,"name":"registration validates minimum API, optional method and desktop without bumping the baseline","status":"passed","durationMs":582.8366},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::icon discovery is read-only, bounded and snapshot-paginated","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":52,"name":"icon discovery is read-only, bounded and snapshot-paginated","status":"passed","durationMs":105.7335},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::icon staging retains single-element aliases and validates aggregate expanded geometry","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":64,"name":"icon staging retains single-element aliases and validates aggregate expanded geometry","status":"passed","durationMs":92.1115},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::plain JSON guards reject executable values, prototype keys, nonfinite values and excessive depth","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":83,"name":"plain JSON guards reject executable values, prototype keys, nonfinite values and excessive depth","status":"passed","durationMs":96.5507},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::vault paths preserve exact root, nested, spaces and Unicode while rejecting traversal and hidden config","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":92,"name":"vault paths preserve exact root, nested, spaces and Unicode while rejecting traversal and hidden config","status":"passed","durationMs":104.0304},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::dispatcher returns stable failures for unknown fields, commands and versions","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":98,"name":"dispatcher returns stable failures for unknown fields, commands and versions","status":"passed","durationMs":90.5253},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::native file/inline JSON is exclusive and values must agree with flags","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":106,"name":"native file/inline JSON is exclusive and values must agree with flags","status":"passed","durationMs":90.8656},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::discovery remains available before readiness and never opens a drawing","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":114,"name":"discovery remains available before readiness and never opens a drawing","status":"passed","durationMs":82.3019},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::portable skill stays aligned with native output and schema describes finite operations","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":121,"name":"portable skill stays aligned with native output and schema describes finite operations","status":"passed","durationMs":84.444},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::multiple views require explicit identity; disk ignores ambiguity and refuses view selection","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":130,"name":"multiple views require explicit identity; disk ignores ambiguity and refuses view selection","status":"passed","durationMs":80.3157},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::drawing list pagination rejects stale snapshots instead of mixing pages","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":138,"name":"drawing list pagination rejects stale snapshots instead of mixing pages","status":"passed","durationMs":75.166},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::write receipts require IDs, replay identical requests and reject changed effective content","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":147,"name":"write receipts require IDs, replay identical requests and reject changed effective content","status":"passed","durationMs":77.8918},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::unload rejects new requests and invalidates old session receipts","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":156,"name":"unload rejects new requests and invalidates old session receipts","status":"passed","durationMs":77.5898},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::skeleton validation refuses persisted internals, dangling bindings and malformed frames before conversion","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":164,"name":"skeleton validation refuses persisted internals, dangling bindings and malformed frames before conversion","status":"passed","durationMs":75.9721},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::operation validation and export allocation limits reject unsupported requests","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":174,"name":"operation validation and export allocation limits reject unsupported requests","status":"passed","durationMs":71.6283},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::delayed text preparation leaves concurrent metadata and the scene intact when publication is rejected","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":195,"name":"delayed text preparation leaves concurrent metadata and the scene intact when publication is rejected","status":"passed","durationMs":45.7214},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::existing unguarded text callers retain completion-time metadata ownership","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":212,"name":"existing unguarded text callers retain completion-time metadata ownership","status":"passed","durationMs":8.7258},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::trusted script receipt identity includes source content and never interpolates args","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":223,"name":"trusted script receipt identity includes source content and never interpolates args","status":"passed","durationMs":85.9756},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::save outcome reports only an acknowledged captured revision through the existing queue policy","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":235,"name":"save outcome reports only an acknowledged captured revision through the existing queue policy","status":"passed","durationMs":3.7779},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::CLI scripts clean up their owned EA on success/failure while manual scripts retain their lifetime","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":248,"name":"CLI scripts clean up their owned EA on success/failure while manual scripts retain their lifetime","status":"passed","durationMs":13.309},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::CLI compilation checks exact source even when file stat matches a cached manual script","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":263,"name":"CLI compilation checks exact source even when file stat matches a cached manual script","status":"passed","durationMs":5.6652},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::segmented live revisions retain immutable payloads and catch last-byte or descriptor changes","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":272,"name":"segmented live revisions retain immutable payloads and catch last-byte or descriptor changes","status":"passed","durationMs":76.2623},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::CLI image inventory and policy avoid data URLs, separate shared-symbol representations and reject malformed rules","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":304,"name":"CLI image inventory and policy avoid data URLs, separate shared-symbol representations and reject malformed rules","status":"passed","durationMs":83.2987},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::schema distinguishes insertion boolean scale from export number scale and validates metadata fields","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":331,"name":"schema distinguishes insertion boolean scale from export number scale and validates metadata fields","status":"passed","durationMs":84.0066},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::BUSY before lock retries the same canonical ID while pending/failed and mismatched writes never repeat","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":345,"name":"BUSY before lock retries the same canonical ID while pending/failed and mismatched writes never repeat","status":"passed","durationMs":108.8605},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::summary, image inventory and paged elements avoid cloning original file payloads","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":364,"name":"summary, image inventory and paged elements avoid cloning original file payloads","status":"passed","durationMs":89.563},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::derived PNG dimensions honor requested caps and existing hard limits","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":393,"name":"derived PNG dimensions honor requested caps and existing hard limits","status":"passed","durationMs":80.4016},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::disk dependencies detect same-stat replacements, restoration, deletion and unload, and release listeners","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":401,"name":"disk dependencies detect same-stat replacements, restoration, deletion and unload, and release listeners","status":"passed","durationMs":82.2132},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::thumbnail preflight rejects huge and unknown raster dimensions before creating or decoding an image","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":423,"name":"thumbnail preflight rejects huge and unknown raster dimensions before creating or decoding an image","status":"passed","durationMs":74.7347},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::real export preparation omits replaced payloads and refuses concurrent live edits and omitted attachment collisions","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":441,"name":"real export preparation omits replaced payloads and refuses concurrent live edits and omitted attachment collisions","status":"passed","durationMs":79.0323},
|
||||
{"testId":"node:scripts/testing/cli.test.mjs::image metadata edits preserve namespace extensions and refuse forward versions","featureIds":[],"sourcePath":"scripts/testing/cli.test.mjs","sourceLine":474,"name":"image metadata edits preserve namespace extensions and refuse forward versions","status":"passed","durationMs":75.2803},
|
||||
{"testId":"node:scripts/testing/contracts.test.mjs::producer artifacts freeze and reject byte changes, duplicate roles and missing artifacts","featureIds":[],"sourcePath":"scripts/testing/contracts.test.mjs","sourceLine":21,"name":"producer artifacts freeze and reject byte changes, duplicate roles and missing artifacts","status":"passed","durationMs":130.1896},
|
||||
{"testId":"node:scripts/testing/contracts.test.mjs::artifact paths reject escapes, Windows paths, separators, empty segments and redirects","featureIds":[],"sourcePath":"scripts/testing/contracts.test.mjs","sourceLine":34,"name":"artifact paths reject escapes, Windows paths, separators, empty segments and redirects","status":"passed","durationMs":5.8468},
|
||||
{"testId":"node:scripts/testing/contracts.test.mjs::explicit legacy adapter and required outcomes cannot greenwash a report","featureIds":[],"sourcePath":"scripts/testing/contracts.test.mjs","sourceLine":43,"name":"explicit legacy adapter and required outcomes cannot greenwash a report","status":"passed","durationMs":0.8826},
|
||||
{"testId":"node:scripts/testing/contracts.test.mjs::native host exclusion spans vaults and preserves another controller's lock","featureIds":[],"sourcePath":"scripts/testing/contracts.test.mjs","sourceLine":58,"name":"native host exclusion spans vaults and preserves another controller's lock","status":"passed","durationMs":55.0407},
|
||||
{"testId":"node:scripts/testing/contracts.test.mjs::stale lock recovery requires positive proof of a dead local owner","featureIds":[],"sourcePath":"scripts/testing/contracts.test.mjs","sourceLine":67,"name":"stale lock recovery requires positive proof of a dead local owner","status":"passed","durationMs":29.173},
|
||||
{"testId":"node:scripts/testing/coverageChanges.test.mjs::new/reused accounting separates plugin CLI commands, host tasks and mobile emulation without inferring passes","featureIds":[],"sourcePath":"scripts/testing/coverageChanges.test.mjs","sourceLine":4,"name":"new/reused accounting separates plugin CLI commands, host tasks and mobile emulation without inferring passes","status":"passed","durationMs":1.2468},
|
||||
{"testId":"node:scripts/testing/drawingLoadError.test.mjs::More information preserves the confirmation promise and original OK/Cancel behavior","featureIds":[],"sourcePath":"scripts/testing/drawingLoadError.test.mjs","sourceLine":83,"name":"More information preserves the confirmation promise and original OK/Cancel behavior","status":"passed","durationMs":94.7299},
|
||||
{"testId":"node:scripts/testing/drawingLoadError.test.mjs::concurrent warnings retain their file snapshot and render untrusted error text safely","featureIds":[],"sourcePath":"scripts/testing/drawingLoadError.test.mjs","sourceLine":101,"name":"concurrent warnings retain their file snapshot and render untrusted error text safely","status":"passed","durationMs":36.378},
|
||||
{"testId":"node:scripts/testing/drawingLoadError.test.mjs::no-backup notices stay non-blocking and long Unicode names retain their extension","featureIds":[],"sourcePath":"scripts/testing/drawingLoadError.test.mjs","sourceLine":115,"name":"no-backup notices stay non-blocking and long Unicode names retain their extension","status":"passed","durationMs":26.1977},
|
||||
{"testId":"node:scripts/testing/drawingLoadError.test.mjs::all maintained locales include every new error key and the filename placeholder","featureIds":[],"sourcePath":"scripts/testing/drawingLoadError.test.mjs","sourceLine":130,"name":"all maintained locales include every new error key and the filename placeholder","status":"passed","durationMs":26.2762},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::actual YouTube thumbnail resolver: maxresdefault.jpg for https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":136,"name":"actual YouTube thumbnail resolver: maxresdefault.jpg for https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D","status":"passed","durationMs":13.72},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::actual YouTube thumbnail resolver: hq720.jpg for https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":136,"name":"actual YouTube thumbnail resolver: hq720.jpg for https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D","status":"passed","durationMs":6.1074},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::actual YouTube thumbnail resolver: mqdefault.jpg for https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":136,"name":"actual YouTube thumbnail resolver: mqdefault.jpg for https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D","status":"passed","durationMs":6.6974},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::actual YouTube thumbnail resolver: default.jpg for https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":136,"name":"actual YouTube thumbnail resolver: default.jpg for https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D","status":"passed","durationMs":4.7854},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::actual YouTube thumbnail resolver: maxresdefault.jpg for https://youtu.be/p3Qc3Hho_Lc?t=42","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":136,"name":"actual YouTube thumbnail resolver: maxresdefault.jpg for https://youtu.be/p3Qc3Hho_Lc?t=42","status":"passed","durationMs":7.0942},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::actual YouTube thumbnail resolver: hq720.jpg for https://youtu.be/p3Qc3Hho_Lc?t=42","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":136,"name":"actual YouTube thumbnail resolver: hq720.jpg for https://youtu.be/p3Qc3Hho_Lc?t=42","status":"passed","durationMs":6.3086},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::actual YouTube thumbnail resolver: mqdefault.jpg for https://youtu.be/p3Qc3Hho_Lc?t=42","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":136,"name":"actual YouTube thumbnail resolver: mqdefault.jpg for https://youtu.be/p3Qc3Hho_Lc?t=42","status":"passed","durationMs":7.6463},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::actual YouTube thumbnail resolver: default.jpg for https://youtu.be/p3Qc3Hho_Lc?t=42","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":136,"name":"actual YouTube thumbnail resolver: default.jpg for https://youtu.be/p3Qc3Hho_Lc?t=42","status":"passed","durationMs":12.5582},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::thumbnail resolver does not request an image for an unrecognized video","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":144,"name":"thumbnail resolver does not request an image for an unrecognized video","status":"passed","durationMs":4.7798},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Chrome YouTube link: image-url preserves tracking URL navigation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":154,"name":"Chrome YouTube link: image-url preserves tracking URL navigation","status":"passed","durationMs":46.1146},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Chrome YouTube link: image-import preserves tracking URL navigation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":154,"name":"Chrome YouTube link: image-import preserves tracking URL navigation","status":"passed","durationMs":27.6032},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Chrome YouTube thumbnail: image-url preserves tracking URL navigation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":154,"name":"Chrome YouTube thumbnail: image-url preserves tracking URL navigation","status":"passed","durationMs":23.9178},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Chrome YouTube thumbnail: image-import preserves tracking URL navigation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":154,"name":"Chrome YouTube thumbnail: image-import preserves tracking URL navigation","status":"passed","durationMs":19.1747},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::https://example.com/render?id=1: image-url imports the supplied image without an OS path","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":163,"name":"https://example.com/render?id=1: image-url imports the supplied image without an OS path","status":"passed","durationMs":32.7573},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::https://example.com/render?id=1: image-import imports the supplied image without an OS path","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":163,"name":"https://example.com/render?id=1: image-import imports the supplied image without an OS path","status":"passed","durationMs":20.2347},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::blob:https://example.com/image-id: image-url imports the supplied image without an OS path","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":163,"name":"blob:https://example.com/image-id: image-url imports the supplied image without an OS path","status":"passed","durationMs":16.0913},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::blob:https://example.com/image-id: image-import imports the supplied image without an OS path","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":163,"name":"blob:https://example.com/image-id: image-import imports the supplied image without an OS path","status":"passed","durationMs":14.6714},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::linked image https://example.com/article: image-url chooses the correct target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":174,"name":"linked image https://example.com/article: image-url chooses the correct target","status":"passed","durationMs":19.4807},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::linked image https://example.com/article: image-import chooses the correct target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":174,"name":"linked image https://example.com/article: image-import chooses the correct target","status":"passed","durationMs":14.4606},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::linked image https://example.com/article: link chooses the correct target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":174,"name":"linked image https://example.com/article: link chooses the correct target","status":"passed","durationMs":18.2287},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::linked image https://example.com/article: embeddable chooses the correct target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":174,"name":"linked image https://example.com/article: embeddable chooses the correct target","status":"passed","durationMs":14.6883},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::linked image https://www.youtube.com/watch?v=abc123: image-url chooses the correct target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":174,"name":"linked image https://www.youtube.com/watch?v=abc123: image-url chooses the correct target","status":"passed","durationMs":18.8502},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::linked image https://www.youtube.com/watch?v=abc123: image-import chooses the correct target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":174,"name":"linked image https://www.youtube.com/watch?v=abc123: image-import chooses the correct target","status":"passed","durationMs":14.0387},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::linked image https://www.youtube.com/watch?v=abc123: link chooses the correct target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":174,"name":"linked image https://www.youtube.com/watch?v=abc123: link chooses the correct target","status":"passed","durationMs":13.403},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::linked image https://www.youtube.com/watch?v=abc123: embeddable chooses the correct target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":174,"name":"linked image https://www.youtube.com/watch?v=abc123: embeddable chooses the correct target","status":"passed","durationMs":22.1315},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::HTML-only linked image: link retains its anchor target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":185,"name":"HTML-only linked image: link retains its anchor target","status":"passed","durationMs":12.824},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::HTML-only linked image: embeddable retains its anchor target","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":185,"name":"HTML-only linked image: embeddable retains its anchor target","status":"passed","durationMs":14.45},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::jpg URLs use production recognition rather than the file fallback","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":193,"name":"jpg URLs use production recognition rather than the file fallback","status":"passed","durationMs":13.1552},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::webp URLs use production recognition rather than the file fallback","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":193,"name":"webp URLs use production recognition rather than the file fallback","status":"passed","durationMs":15.6815},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::svg URLs use production recognition rather than the file fallback","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":193,"name":"svg URLs use production recognition rather than the file fallback","status":"passed","durationMs":13.6095},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::avif URLs use production recognition rather than the file fallback","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":193,"name":"avif URLs use production recognition rather than the file fallback","status":"passed","durationMs":13.4381},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::hook consumption prevents the blob-file import fallback","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":200,"name":"hook consumption prevents the blob-file import fallback","status":"passed","durationMs":18.9719},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::OS file: duplicate Use preserves import behavior","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":209,"name":"OS file: duplicate Use preserves import behavior","status":"passed","durationMs":16.6791},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::browser fallback: duplicate Use preserves import behavior","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":209,"name":"browser fallback: duplicate Use preserves import behavior","status":"passed","durationMs":13.5655},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::OS file: duplicate Overwrite preserves import behavior","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":209,"name":"OS file: duplicate Overwrite preserves import behavior","status":"passed","durationMs":15.0872},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::browser fallback: duplicate Overwrite preserves import behavior","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":209,"name":"browser fallback: duplicate Overwrite preserves import behavior","status":"passed","durationMs":13.5637},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::OS file: duplicate Import preserves import behavior","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":209,"name":"OS file: duplicate Import preserves import behavior","status":"passed","durationMs":15.7412},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::browser fallback: duplicate Import preserves import behavior","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":209,"name":"browser fallback: duplicate Import preserves import behavior","status":"passed","durationMs":13.6913},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::text/plain: image-url uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"text/plain: image-url uses the web operation","status":"passed","durationMs":14.2914},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::text/plain: image-import uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"text/plain: image-import uses the web operation","status":"passed","durationMs":17.0717},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::text/plain: link uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"text/plain: link uses the web operation","status":"passed","durationMs":13.4988},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::text/html: image-url uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"text/html: image-url uses the web operation","status":"passed","durationMs":17.6672},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::text/html: image-import uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"text/html: image-import uses the web operation","status":"passed","durationMs":12.9207},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::text/html: link uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"text/html: link uses the web operation","status":"passed","durationMs":17.9645},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::text/uri-list: image-url uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"text/uri-list: image-url uses the web operation","status":"passed","durationMs":13.2036},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::text/uri-list: image-import uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"text/uri-list: image-import uses the web operation","status":"passed","durationMs":15.0943},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::text/uri-list: link uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"text/uri-list: link uses the web operation","status":"passed","durationMs":15.2385},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Files+text/plain: image-url uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"Files+text/plain: image-url uses the web operation","status":"passed","durationMs":12.1885},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Files+text/plain: image-import uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"Files+text/plain: image-import uses the web operation","status":"passed","durationMs":14.2439},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Files+text/plain: link uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"Files+text/plain: link uses the web operation","status":"passed","durationMs":13.2121},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Files+text/html: image-url uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"Files+text/html: image-url uses the web operation","status":"passed","durationMs":15.9083},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Files+text/html: image-import uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"Files+text/html: image-import uses the web operation","status":"passed","durationMs":11.9562},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Files+text/html: link uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"Files+text/html: link uses the web operation","status":"passed","durationMs":12.0584},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Files+text/uri-list: image-url uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"Files+text/uri-list: image-url uses the web operation","status":"passed","durationMs":14.741},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Files+text/uri-list: image-import uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"Files+text/uri-list: image-import uses the web operation","status":"passed","durationMs":12.4404},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Files+text/uri-list: link uses the web operation","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":225,"name":"Files+text/uri-list: link uses the web operation","status":"passed","durationMs":14.1201},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::mixed YouTube thumbnail: image-url retains the source page","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":235,"name":"mixed YouTube thumbnail: image-url retains the source page","status":"passed","durationMs":12.3089},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::mixed YouTube thumbnail: image-import retains the source page","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":235,"name":"mixed YouTube thumbnail: image-import retains the source page","status":"passed","durationMs":16.162},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::mixed and URL-only embeddables delegate a URL-only snapshot to the component","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":242,"name":"mixed and URL-only embeddables delegate a URL-only snapshot to the component","status":"passed","durationMs":32.3961},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/plain after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/plain after drag data expires","status":"passed","durationMs":17.8798},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/uri-list after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/uri-list after drag data expires","status":"passed","durationMs":16.0557},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/html after drag data expires","status":"passed","durationMs":16.4642},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/plain+text/html after drag data expires","status":"passed","durationMs":16.2515},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from Files+text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from Files+text/plain+text/html after drag data expires","status":"passed","durationMs":13.9709},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/plain after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/plain after drag data expires","status":"passed","durationMs":16.9133},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/uri-list after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/uri-list after drag data expires","status":"passed","durationMs":13.8122},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/html after drag data expires","status":"passed","durationMs":15.108},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/plain+text/html after drag data expires","status":"passed","durationMs":13.3412},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from Files+text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from Files+text/plain+text/html after drag data expires","status":"passed","durationMs":16.1106},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://vimeo.com/76979871 from text/plain after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://vimeo.com/76979871 from text/plain after drag data expires","status":"passed","durationMs":14.5777},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://vimeo.com/76979871 from text/uri-list after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://vimeo.com/76979871 from text/uri-list after drag data expires","status":"passed","durationMs":15.7947},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://vimeo.com/76979871 from text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://vimeo.com/76979871 from text/html after drag data expires","status":"passed","durationMs":14.5141},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://vimeo.com/76979871 from text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://vimeo.com/76979871 from text/plain+text/html after drag data expires","status":"passed","durationMs":19.4173},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://vimeo.com/76979871 from Files+text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://vimeo.com/76979871 from Files+text/plain+text/html after drag data expires","status":"passed","durationMs":14.4618},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://twitter.com/jack/status/20 from text/plain after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://twitter.com/jack/status/20 from text/plain after drag data expires","status":"passed","durationMs":16.6671},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://twitter.com/jack/status/20 from text/uri-list after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://twitter.com/jack/status/20 from text/uri-list after drag data expires","status":"passed","durationMs":14.4579},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://twitter.com/jack/status/20 from text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://twitter.com/jack/status/20 from text/html after drag data expires","status":"passed","durationMs":29.0956},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://twitter.com/jack/status/20 from text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://twitter.com/jack/status/20 from text/plain+text/html after drag data expires","status":"passed","durationMs":19.1422},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: frame modifier forwards https://twitter.com/jack/status/20 from Files+text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Mac: frame modifier forwards https://twitter.com/jack/status/20 from Files+text/plain+text/html after drag data expires","status":"passed","durationMs":23.8288},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/plain after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/plain after drag data expires","status":"passed","durationMs":18.8337},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/uri-list after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/uri-list after drag data expires","status":"passed","durationMs":24.8505},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/html after drag data expires","status":"passed","durationMs":18.4855},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from text/plain+text/html after drag data expires","status":"passed","durationMs":19.6529},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from Files+text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/watch?v=p3Qc3Hho_Lc&pp=ugUHEgVlbi1HQg%3D%3D from Files+text/plain+text/html after drag data expires","status":"passed","durationMs":16.4837},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/plain after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/plain after drag data expires","status":"passed","durationMs":18.6483},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/uri-list after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/uri-list after drag data expires","status":"passed","durationMs":15.5732},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/html after drag data expires","status":"passed","durationMs":16.6071},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from text/plain+text/html after drag data expires","status":"passed","durationMs":15.7185},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from Files+text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://www.youtube.com/shorts/p3Qc3Hho_Lc from Files+text/plain+text/html after drag data expires","status":"passed","durationMs":20.4094},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://vimeo.com/76979871 from text/plain after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://vimeo.com/76979871 from text/plain after drag data expires","status":"passed","durationMs":13.612},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://vimeo.com/76979871 from text/uri-list after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://vimeo.com/76979871 from text/uri-list after drag data expires","status":"passed","durationMs":16.7809},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://vimeo.com/76979871 from text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://vimeo.com/76979871 from text/html after drag data expires","status":"passed","durationMs":15.1299},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://vimeo.com/76979871 from text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://vimeo.com/76979871 from text/plain+text/html after drag data expires","status":"passed","durationMs":18.6496},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://vimeo.com/76979871 from Files+text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://vimeo.com/76979871 from Files+text/plain+text/html after drag data expires","status":"passed","durationMs":13.8049},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://twitter.com/jack/status/20 from text/plain after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://twitter.com/jack/status/20 from text/plain after drag data expires","status":"passed","durationMs":15.4305},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://twitter.com/jack/status/20 from text/uri-list after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://twitter.com/jack/status/20 from text/uri-list after drag data expires","status":"passed","durationMs":14.1336},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://twitter.com/jack/status/20 from text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://twitter.com/jack/status/20 from text/html after drag data expires","status":"passed","durationMs":14.1746},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://twitter.com/jack/status/20 from text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://twitter.com/jack/status/20 from text/plain+text/html after drag data expires","status":"passed","durationMs":12.8297},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: frame modifier forwards https://twitter.com/jack/status/20 from Files+text/plain+text/html after drag data expires","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":262,"name":"Win: frame modifier forwards https://twitter.com/jack/status/20 from Files+text/plain+text/html after drag data expires","status":"passed","durationMs":14.6813},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::hook consumption prevents both insertion and local fallback","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":287,"name":"hook consumption prevents both insertion and local fallback","status":"passed","durationMs":11.3182},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::a consumed frame drop keeps its original event data","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":293,"name":"a consumed frame drop keeps its original event data","status":"passed","durationMs":11.9122},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::image actions retain the original transfer","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":302,"name":"image actions retain the original transfer","status":"passed","durationMs":15.213},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::pure OS files and mixed payloads without a URL retain the local import path","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":310,"name":"pure OS files and mixed payloads without a URL retain the local import path","status":"passed","durationMs":26.9804},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::pure OS file: local image-url wins over web image-import","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":320,"name":"pure OS file: local image-url wins over web image-import","status":"passed","durationMs":12.2257},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::pure OS file: local embeddable wins over web image-import","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":320,"name":"pure OS file: local embeddable wins over web image-import","status":"passed","durationMs":14.4465},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::pure OS file: local link wins over web image-import","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":320,"name":"pure OS file: local link wins over web image-import","status":"passed","durationMs":12.4169},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::OS file: animated image keeps the insertion chooser","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":330,"name":"OS file: animated image keeps the insertion chooser","status":"passed","durationMs":14.6667},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::browser fallback: animated image keeps the insertion chooser","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":330,"name":"browser fallback: animated image keeps the insertion chooser","status":"passed","durationMs":12.2905},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::URI-only drags are accepted; mixed browser tooltip selects the web action","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":340,"name":"URI-only drags are accepted; mixed browser tooltip selects the web action","status":"passed","durationMs":12.5061},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::internal vault drag wins over browser payload","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":347,"name":"internal vault drag wins over browser payload","status":"passed","durationMs":16.5815},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: supported md retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Mac: supported md retains the interactive-frame tooltip","status":"passed","durationMs":14.1948},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: supported pdf retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Mac: supported pdf retains the interactive-frame tooltip","status":"passed","durationMs":17.6041},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: supported mp3 retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Mac: supported mp3 retains the interactive-frame tooltip","status":"passed","durationMs":12.4874},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: supported mp4 retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Mac: supported mp4 retains the interactive-frame tooltip","status":"passed","durationMs":16.4476},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: supported canvas retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Mac: supported canvas retains the interactive-frame tooltip","status":"passed","durationMs":13.6309},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: folder selection does not throw when checking eligible actions","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":365,"name":"Mac: folder selection does not throw when checking eligible actions","status":"passed","durationMs":13.5044},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: unsupported font file advertises only a link for link","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Mac: unsupported font file advertises only a link for link","status":"passed","durationMs":18.3668},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: unsupported font file advertises only a link for image","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Mac: unsupported font file advertises only a link for image","status":"passed","durationMs":17.5924},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: unsupported font file advertises only a link for image-fullsize","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Mac: unsupported font file advertises only a link for image-fullsize","status":"passed","durationMs":13.5034},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: unsupported font file advertises only a link for embeddable","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Mac: unsupported font file advertises only a link for embeddable","status":"passed","durationMs":15.7602},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: unsupported font files advertises only a link for link","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Mac: unsupported font files advertises only a link for link","status":"passed","durationMs":12.7218},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: unsupported font files advertises only a link for image","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Mac: unsupported font files advertises only a link for image","status":"passed","durationMs":16.3856},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: unsupported font files advertises only a link for image-fullsize","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Mac: unsupported font files advertises only a link for image-fullsize","status":"passed","durationMs":13.1584},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: unsupported font files advertises only a link for embeddable","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Mac: unsupported font files advertises only a link for embeddable","status":"passed","durationMs":15.0386},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: registered custom file view retains the embeddable action","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":389,"name":"Mac: registered custom file view retains the embeddable action","status":"passed","durationMs":12.5231},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: plural internal file payload uses the real Shift image action","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":399,"name":"Mac: plural internal file payload uses the real Shift image action","status":"passed","durationMs":15.0666},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: internal image drag resolves real Shift mapping and tooltip (Shift=false)","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":409,"name":"Mac: internal image drag resolves real Shift mapping and tooltip (Shift=false)","status":"passed","durationMs":14.0495},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Mac: internal image drag resolves real Shift mapping and tooltip (Shift=true)","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":409,"name":"Mac: internal image drag resolves real Shift mapping and tooltip (Shift=true)","status":"passed","durationMs":15.1452},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: supported md retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Win: supported md retains the interactive-frame tooltip","status":"passed","durationMs":13.9436},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: supported pdf retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Win: supported pdf retains the interactive-frame tooltip","status":"passed","durationMs":12.7524},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: supported mp3 retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Win: supported mp3 retains the interactive-frame tooltip","status":"passed","durationMs":15.7389},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: supported mp4 retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Win: supported mp4 retains the interactive-frame tooltip","status":"passed","durationMs":12.5554},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: supported canvas retains the interactive-frame tooltip","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":357,"name":"Win: supported canvas retains the interactive-frame tooltip","status":"passed","durationMs":15.4088},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: folder selection does not throw when checking eligible actions","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":365,"name":"Win: folder selection does not throw when checking eligible actions","status":"passed","durationMs":12.0971},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: unsupported font file advertises only a link for link","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Win: unsupported font file advertises only a link for link","status":"passed","durationMs":16.0478},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: unsupported font file advertises only a link for image","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Win: unsupported font file advertises only a link for image","status":"passed","durationMs":12.6527},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: unsupported font file advertises only a link for image-fullsize","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Win: unsupported font file advertises only a link for image-fullsize","status":"passed","durationMs":15.6909},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: unsupported font file advertises only a link for embeddable","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Win: unsupported font file advertises only a link for embeddable","status":"passed","durationMs":13.7889},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: unsupported font files advertises only a link for link","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Win: unsupported font files advertises only a link for link","status":"passed","durationMs":14.8717},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: unsupported font files advertises only a link for image","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Win: unsupported font files advertises only a link for image","status":"passed","durationMs":12.0776},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: unsupported font files advertises only a link for image-fullsize","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Win: unsupported font files advertises only a link for image-fullsize","status":"passed","durationMs":14.7374},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: unsupported font files advertises only a link for embeddable","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":374,"name":"Win: unsupported font files advertises only a link for embeddable","status":"passed","durationMs":12.5264},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: registered custom file view retains the embeddable action","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":389,"name":"Win: registered custom file view retains the embeddable action","status":"passed","durationMs":13.4842},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: plural internal file payload uses the real Shift image action","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":399,"name":"Win: plural internal file payload uses the real Shift image action","status":"passed","durationMs":12.6425},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: internal image drag resolves real Shift mapping and tooltip (Shift=false)","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":409,"name":"Win: internal image drag resolves real Shift mapping and tooltip (Shift=false)","status":"passed","durationMs":13.8064},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::Win: internal image drag resolves real Shift mapping and tooltip (Shift=true)","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":409,"name":"Win: internal image drag resolves real Shift mapping and tooltip (Shift=true)","status":"passed","durationMs":12.158},
|
||||
{"testId":"node:scripts/testing/dropActions.test.mjs::YouTube import writes the thumbnail and keeps the video navigation link","featureIds":[],"sourcePath":"scripts/testing/dropActions.test.mjs","sourceLine":423,"name":"YouTube import writes the thumbnail and keeps the video navigation link","status":"passed","durationMs":27.4327},
|
||||
{"testId":"node:scripts/testing/excalidrawTypeSource.test.mjs::local handoff uses one matching canonical declaration graph","featureIds":[],"sourcePath":"scripts/testing/excalidrawTypeSource.test.mjs","sourceLine":35,"name":"local handoff uses one matching canonical declaration graph","status":"passed","durationMs":26.1023},
|
||||
{"testId":"node:scripts/testing/excalidrawTypeSource.test.mjs::mismatched excalidraw.production.min.js cannot select unrelated local declarations","featureIds":[],"sourcePath":"scripts/testing/excalidrawTypeSource.test.mjs","sourceLine":46,"name":"mismatched excalidraw.production.min.js cannot select unrelated local declarations","status":"passed","durationMs":26.9767},
|
||||
{"testId":"node:scripts/testing/excalidrawTypeSource.test.mjs::mismatched excalidraw.development.js cannot select unrelated local declarations","featureIds":[],"sourcePath":"scripts/testing/excalidrawTypeSource.test.mjs","sourceLine":46,"name":"mismatched excalidraw.development.js cannot select unrelated local declarations","status":"passed","durationMs":14.5069},
|
||||
{"testId":"node:scripts/testing/excalidrawTypeSource.test.mjs::mismatched excalidraw.production.min.css cannot select unrelated local declarations","featureIds":[],"sourcePath":"scripts/testing/excalidrawTypeSource.test.mjs","sourceLine":46,"name":"mismatched excalidraw.production.min.css cannot select unrelated local declarations","status":"passed","durationMs":16.829},
|
||||
{"testId":"node:scripts/testing/excalidrawTypeSource.test.mjs::mismatched excalidraw.development.css cannot select unrelated local declarations","featureIds":[],"sourcePath":"scripts/testing/excalidrawTypeSource.test.mjs","sourceLine":46,"name":"mismatched excalidraw.development.css cannot select unrelated local declarations","status":"passed","durationMs":16.157},
|
||||
{"testId":"node:scripts/testing/excalidrawTypeSource.test.mjs::missing local declaration or runtime leaves installed package resolution intact","featureIds":[],"sourcePath":"scripts/testing/excalidrawTypeSource.test.mjs","sourceLine":52,"name":"missing local declaration or runtime leaves installed package resolution intact","status":"passed","durationMs":15.984},
|
||||
{"testId":"node:scripts/testing/extrasMermaid.test.mjs::Mermaid 2.2.2 is rejected by the exact-version handshake","featureIds":[],"sourcePath":"scripts/testing/extrasMermaid.test.mjs","sourceLine":18,"name":"Mermaid 2.2.2 is rejected by the exact-version handshake","status":"passed","durationMs":0.7384},
|
||||
{"testId":"node:scripts/testing/extrasMermaid.test.mjs::Mermaid 3.0.0 is accepted by the exact-version handshake","featureIds":[],"sourcePath":"scripts/testing/extrasMermaid.test.mjs","sourceLine":18,"name":"Mermaid 3.0.0 is accepted by the exact-version handshake","status":"passed","durationMs":0.1041},
|
||||
{"testId":"node:scripts/testing/extrasMermaid.test.mjs::Mermaid 3.0.1 is rejected by the exact-version handshake","featureIds":[],"sourcePath":"scripts/testing/extrasMermaid.test.mjs","sourceLine":18,"name":"Mermaid 3.0.1 is rejected by the exact-version handshake","status":"passed","durationMs":0.0775},
|
||||
{"testId":"node:scripts/testing/features.test.mjs::feature map retains the full denominator and public surfaces without inferred execution","featureIds":[],"sourcePath":"scripts/testing/features.test.mjs","sourceLine":6,"name":"feature map retains the full denominator and public surfaces without inferred execution","status":"passed","durationMs":89.1027},
|
||||
{"testId":"node:scripts/testing/features.test.mjs::feature drift, missing test files, stale anchors and unowned fixture references fail closed","featureIds":[],"sourcePath":"scripts/testing/features.test.mjs","sourceLine":10,"name":"feature drift, missing test files, stale anchors and unowned fixture references fail closed","status":"passed","durationMs":13.1275},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-01","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-01","status":"passed","durationMs":1.0955},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-02","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-02","status":"passed","durationMs":0.1935},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-03","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-03","status":"passed","durationMs":0.1499},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-04","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-04","status":"passed","durationMs":0.1367},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-05","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-05","status":"passed","durationMs":0.1191},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-06","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-06","status":"passed","durationMs":0.0685},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-07","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-07","status":"passed","durationMs":0.1484},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-08","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-08","status":"passed","durationMs":0.0656},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-09","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-09","status":"passed","durationMs":0.3128},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-10","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-10","status":"passed","durationMs":0.2796},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-11","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-11","status":"passed","durationMs":0.1146},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-12","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":30,"name":"prepared export pairwise precedence export-12","status":"passed","durationMs":0.0503},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::export overrides preserve explicit false and zero while invalid scales retain defaults","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":52,"name":"export overrides preserve explicit false and zero while invalid scales retain defaults","status":"passed","durationMs":0.1731},
|
||||
{"testId":"node:scripts/testing/frontmatter.source.test.mjs::autoexport format overrides keep both-theme intent and fall back for missing or unrecognized values","featureIds":[],"sourcePath":"scripts/testing/frontmatter.source.test.mjs","sourceLine":85,"name":"autoexport format overrides keep both-theme intent and fall back for missing or unrecognized values","status":"passed","durationMs":0.1289},
|
||||
{"testId":"node:scripts/testing/fullscreen.test.mjs::fullscreen preserves the complete ancestor path at split depth 0","featureIds":[],"sourcePath":"scripts/testing/fullscreen.test.mjs","sourceLine":48,"name":"fullscreen preserves the complete ancestor path at split depth 0","status":"passed","durationMs":50.721},
|
||||
{"testId":"node:scripts/testing/fullscreen.test.mjs::fullscreen preserves the complete ancestor path at split depth 1","featureIds":[],"sourcePath":"scripts/testing/fullscreen.test.mjs","sourceLine":48,"name":"fullscreen preserves the complete ancestor path at split depth 1","status":"passed","durationMs":9.5774},
|
||||
{"testId":"node:scripts/testing/fullscreen.test.mjs::fullscreen preserves the complete ancestor path at split depth 2","featureIds":[],"sourcePath":"scripts/testing/fullscreen.test.mjs","sourceLine":48,"name":"fullscreen preserves the complete ancestor path at split depth 2","status":"passed","durationMs":8.1364},
|
||||
{"testId":"node:scripts/testing/fullscreen.test.mjs::fullscreen preserves the complete ancestor path at split depth 3","featureIds":[],"sourcePath":"scripts/testing/fullscreen.test.mjs","sourceLine":48,"name":"fullscreen preserves the complete ancestor path at split depth 3","status":"passed","durationMs":7.9147},
|
||||
{"testId":"node:scripts/testing/fullscreen.test.mjs::fullscreen restores only its own classes and leaves existing inline styles intact","featureIds":[],"sourcePath":"scripts/testing/fullscreen.test.mjs","sourceLine":54,"name":"fullscreen restores only its own classes and leaves existing inline styles intact","status":"passed","durationMs":8.5455},
|
||||
{"testId":"node:scripts/testing/fullscreen.test.mjs::missing optional controls and another window are safe","featureIds":[],"sourcePath":"scripts/testing/fullscreen.test.mjs","sourceLine":61,"name":"missing optional controls and another window are safe","status":"passed","durationMs":18.5239},
|
||||
{"testId":"node:scripts/testing/fullscreen.test.mjs::another drawing takes over fullscreen without leaking classes; migration cleanup uses the entry document","featureIds":[],"sourcePath":"scripts/testing/fullscreen.test.mjs","sourceLine":66,"name":"another drawing takes over fullscreen without leaking classes; migration cleanup uses the entry document","status":"passed","durationMs":15.4147},
|
||||
{"testId":"node:scripts/testing/hostContracts.test.mjs::plugin host and public Mermaid declarations match the byte-matched local fork","featureIds":[],"sourcePath":"scripts/testing/hostContracts.test.mjs","sourceLine":15,"name":"plugin host and public Mermaid declarations match the byte-matched local fork","status":"passed","durationMs":1901.3826},
|
||||
{"testId":"node:scripts/testing/host/behaviorDecoding.test.mjs::actual behavior decoder requests CORS before loading and never attaches a canvas to the workspace","featureIds":[],"sourcePath":"scripts/testing/host/behaviorDecoding.test.mjs","sourceLine":7,"name":"actual behavior decoder requests CORS before loading and never attaches a canvas to the workspace","status":"passed","durationMs":30.4365},
|
||||
{"testId":"node:scripts/testing/host/behaviorDecoding.test.mjs::missing-source setup retires the old editor before deleting its file","featureIds":[],"sourcePath":"scripts/testing/host/behaviorDecoding.test.mjs","sourceLine":44,"name":"missing-source setup retires the old editor before deleting its file","status":"passed","durationMs":1.6683},
|
||||
{"testId":"node:scripts/testing/host/browserDiagnostics.test.mjs::only the exact browser notification without an Error object is diagnostic","featureIds":[],"sourcePath":"scripts/testing/host/browserDiagnostics.test.mjs","sourceLine":12,"name":"only the exact browser notification without an Error object is diagnostic","status":"passed","durationMs":1.211},
|
||||
{"testId":"node:scripts/testing/host/browserDiagnostics.test.mjs::large raw notification evidence is retrieved in bounded pages without chasing new events","featureIds":[],"sourcePath":"scripts/testing/host/browserDiagnostics.test.mjs","sourceLine":33,"name":"large raw notification evidence is retrieved in bounded pages without chasing new events","status":"passed","durationMs":51.3713},
|
||||
{"testId":"node:scripts/testing/host/browserDiagnostics.test.mjs::CLI classification retains raw lines and rejects exceptions, suffixes and unknown formats","featureIds":[],"sourcePath":"scripts/testing/host/browserDiagnostics.test.mjs","sourceLine":62,"name":"CLI classification retains raw lines and rejects exceptions, suffixes and unknown formats","status":"passed","durationMs":0.3281},
|
||||
{"testId":"node:scripts/testing/host/browserDiagnostics.test.mjs::a stable quiet window settles without altering browser events or geometry","featureIds":[],"sourcePath":"scripts/testing/host/browserDiagnostics.test.mjs","sourceLine":75,"name":"a stable quiet window settles without altering browser events or geometry","status":"passed","durationMs":134.9724},
|
||||
{"testId":"node:scripts/testing/host/browserDiagnostics.test.mjs::persistent notification storms fail the bounded idle check","featureIds":[],"sourcePath":"scripts/testing/host/browserDiagnostics.test.mjs","sourceLine":102,"name":"persistent notification storms fail the bounded idle check","status":"passed","durationMs":62.0501},
|
||||
{"testId":"node:scripts/testing/host/browserDiagnostics.test.mjs::unstable geometry fails even without any notification","featureIds":[],"sourcePath":"scripts/testing/host/browserDiagnostics.test.mjs","sourceLine":120,"name":"unstable geometry fails even without any notification","status":"passed","durationMs":61.9487},
|
||||
{"testId":"node:scripts/testing/host/coldStart.test.mjs::cold restart cannot touch the CLI before isolation succeeds","featureIds":[],"sourcePath":"scripts/testing/host/coldStart.test.mjs","sourceLine":4,"name":"cold restart cannot touch the CLI before isolation succeeds","status":"passed","durationMs":1.101},
|
||||
{"testId":"node:scripts/testing/host/coldStart.test.mjs::window reload cannot masquerade as a whole-app restart","featureIds":[],"sourcePath":"scripts/testing/host/coldStart.test.mjs","sourceLine":18,"name":"window reload cannot masquerade as a whole-app restart","status":"passed","durationMs":0.632},
|
||||
{"testId":"node:scripts/testing/host/coldStart.test.mjs::cold restart revalidates isolation after the main process changes","featureIds":[],"sourcePath":"scripts/testing/host/coldStart.test.mjs","sourceLine":39,"name":"cold restart revalidates isolation after the main process changes","status":"passed","durationMs":0.1449},
|
||||
{"testId":"node:scripts/testing/host/combination.test.mjs::corrupt frozen Extras bytes fail before the first native call","featureIds":[],"sourcePath":"scripts/testing/host/combination.test.mjs","sourceLine":15,"name":"corrupt frozen Extras bytes fail before the first native call","status":"passed","durationMs":42.1588},
|
||||
{"testId":"node:scripts/testing/host/combination.test.mjs::redirected companion destination fails before disable or deployment","featureIds":[],"sourcePath":"scripts/testing/host/combination.test.mjs","sourceLine":19,"name":"redirected companion destination fails before disable or deployment","status":"passed","durationMs":31.5401},
|
||||
{"testId":"node:scripts/testing/host/combination.test.mjs::companion staging proves installed bytes and restores prior disabled state","featureIds":[],"sourcePath":"scripts/testing/host/combination.test.mjs","sourceLine":24,"name":"companion staging proves installed bytes and restores prior disabled state","status":"passed","durationMs":71.2718},
|
||||
{"testId":"node:scripts/testing/host/debuggerSession.test.mjs::an existing debugger is never stolen or detached","featureIds":[],"sourcePath":"scripts/testing/host/debuggerSession.test.mjs","sourceLine":40,"name":"an existing debugger is never stolen or detached","status":"passed","durationMs":1.6298},
|
||||
{"testId":"node:scripts/testing/host/debuggerSession.test.mjs::owned console and exception capture is removed with its exact attachment","featureIds":[],"sourcePath":"scripts/testing/host/debuggerSession.test.mjs","sourceLine":48,"name":"owned console and exception capture is removed with its exact attachment","status":"passed","durationMs":1.6181},
|
||||
{"testId":"node:scripts/testing/host/debuggerSession.test.mjs::expected fault injection cannot hide another error or an incorrect count","featureIds":[],"sourcePath":"scripts/testing/host/debuggerSession.test.mjs","sourceLine":92,"name":"expected fault injection cannot hide another error or an incorrect count","status":"passed","durationMs":0.6638},
|
||||
{"testId":"node:scripts/testing/host/debuggerSession.test.mjs::lost console controller fails cleanup but still releases our debugger attachment","featureIds":[],"sourcePath":"scripts/testing/host/debuggerSession.test.mjs","sourceLine":112,"name":"lost console controller fails cleanup but still releases our debugger attachment","status":"passed","durationMs":1.1138},
|
||||
{"testId":"node:scripts/testing/host/debuggerSession.test.mjs::renderer scheduling is scoped and restores both original background-throttling values","featureIds":[],"sourcePath":"scripts/testing/host/debuggerSession.test.mjs","sourceLine":129,"name":"renderer scheduling is scoped and restores both original background-throttling values","status":"passed","durationMs":1.9145},
|
||||
{"testId":"node:scripts/testing/host/debuggerSession.test.mjs::expected missing-asset diagnostics cannot hide exceptions, extra fields, another source or repeated errors","featureIds":[],"sourcePath":"scripts/testing/host/debuggerSession.test.mjs","sourceLine":141,"name":"expected missing-asset diagnostics cannot hide exceptions, extra fields, another source or repeated errors","status":"passed","durationMs":0.2016},
|
||||
{"testId":"node:scripts/testing/host/debuggerSession.test.mjs::truncated console objects expose the actual native error and complete own properties","featureIds":[],"sourcePath":"scripts/testing/host/debuggerSession.test.mjs","sourceLine":172,"name":"truncated console objects expose the actual native error and complete own properties","status":"passed","durationMs":0.5416},
|
||||
{"testId":"node:scripts/testing/host/deviceProfiles.test.mjs::device obligations retain desktop, both mobile orientations, both themes and all supported layouts","featureIds":[],"sourcePath":"scripts/testing/host/deviceProfiles.test.mjs","sourceLine":4,"name":"device obligations retain desktop, both mobile orientations, both themes and all supported layouts","status":"passed","durationMs":0.9245},
|
||||
{"testId":"node:scripts/testing/host/hostReadiness.test.mjs::reload polls the temporarily unavailable CLI registry, then verifies the actual runtime","featureIds":[],"sourcePath":"scripts/testing/host/hostReadiness.test.mjs","sourceLine":4,"name":"reload polls the temporarily unavailable CLI registry, then verifies the actual runtime","status":"passed","durationMs":0.8819},
|
||||
{"testId":"node:scripts/testing/host/hostReadiness.test.mjs::a package failure is not retried as host startup, and missing readiness has a deadline","featureIds":[],"sourcePath":"scripts/testing/host/hostReadiness.test.mjs","sourceLine":9,"name":"a package failure is not retried as host startup, and missing readiness has a deadline","status":"passed","durationMs":0.5238},
|
||||
{"testId":"node:scripts/testing/host/inAppTask.test.mjs::async native work completes cleanup before its controller disappears","featureIds":[],"sourcePath":"scripts/testing/host/inAppTask.test.mjs","sourceLine":18,"name":"async native work completes cleanup before its controller disappears","status":"passed","durationMs":54.3473},
|
||||
{"testId":"node:scripts/testing/host/inAppTask.test.mjs::timeout cancels condition waits, awaits cleanup, then propagates failure","featureIds":[],"sourcePath":"scripts/testing/host/inAppTask.test.mjs","sourceLine":37,"name":"timeout cancels condition waits, awaits cleanup, then propagates failure","status":"passed","durationMs":126.8456},
|
||||
{"testId":"node:scripts/testing/host/inAppTask.test.mjs::collecting independent behavioral failures retains strict failed acceptance","featureIds":[],"sourcePath":"scripts/testing/host/inAppTask.test.mjs","sourceLine":66,"name":"collecting independent behavioral failures retains strict failed acceptance","status":"passed","durationMs":63.2626},
|
||||
{"testId":"node:scripts/testing/host/inAppTask.test.mjs::failed cleanup retains the controller and cannot become a pass","featureIds":[],"sourcePath":"scripts/testing/host/inAppTask.test.mjs","sourceLine":90,"name":"failed cleanup retains the controller and cannot become a pass","status":"passed","durationMs":63.393},
|
||||
{"testId":"node:scripts/testing/host/inAppTask.test.mjs::tool deadlines retain unsettled native print resources and never claim cancellation","featureIds":[],"sourcePath":"scripts/testing/host/inAppTask.test.mjs","sourceLine":111,"name":"tool deadlines retain unsettled native print resources and never claim cancellation","status":"passed","durationMs":1.5117},
|
||||
{"testId":"node:scripts/testing/host/inAppTask.test.mjs::host requests are acknowledged in order and produce explicit evidence","featureIds":[],"sourcePath":"scripts/testing/host/inAppTask.test.mjs","sourceLine":157,"name":"host requests are acknowledged in order and produce explicit evidence","status":"passed","durationMs":61.1795},
|
||||
{"testId":"node:scripts/testing/host/inAppTask.test.mjs::CLI Error output is failure even with exit zero or preceding output","featureIds":[],"sourcePath":"scripts/testing/host/inAppTask.test.mjs","sourceLine":173,"name":"CLI Error output is failure even with exit zero or preceding output","status":"passed","durationMs":0.2398},
|
||||
{"testId":"node:scripts/testing/host/inAppTask.test.mjs::async readiness predicates settle before the next native step","featureIds":[],"sourcePath":"scripts/testing/host/inAppTask.test.mjs","sourceLine":182,"name":"async readiness predicates settle before the next native step","status":"passed","durationMs":125.7622},
|
||||
{"testId":"node:scripts/testing/host/inAppTask.test.mjs::work and cleanup failures retain both causes and case evidence","featureIds":[],"sourcePath":"scripts/testing/host/inAppTask.test.mjs","sourceLine":198,"name":"work and cleanup failures retain both causes and case evidence","status":"passed","durationMs":63.08},
|
||||
{"testId":"node:scripts/testing/host/legacyTask.test.mjs::timed-out legacy work settles before cleanup and controller removal","featureIds":[],"sourcePath":"scripts/testing/host/legacyTask.test.mjs","sourceLine":6,"name":"timed-out legacy work settles before cleanup and controller removal","status":"passed","durationMs":191.6313},
|
||||
{"testId":"node:scripts/testing/host/legacyTask.test.mjs::failed legacy cleanup retains both controllers for guarded recovery","featureIds":[],"sourcePath":"scripts/testing/host/legacyTask.test.mjs","sourceLine":12,"name":"failed legacy cleanup retains both controllers for guarded recovery","status":"passed","durationMs":61.8195},
|
||||
{"testId":"node:scripts/testing/host/legacyTask.test.mjs::parent cancellation reaches the legacy loop before owned cleanup","featureIds":[],"sourcePath":"scripts/testing/host/legacyTask.test.mjs","sourceLine":19,"name":"parent cancellation reaches the legacy loop before owned cleanup","status":"passed","durationMs":126.7059},
|
||||
{"testId":"node:scripts/testing/host/legacyTask.test.mjs::a legacy operation reports its own failed cleanup and retains recovery ownership","featureIds":[],"sourcePath":"scripts/testing/host/legacyTask.test.mjs","sourceLine":28,"name":"a legacy operation reports its own failed cleanup and retains recovery ownership","status":"passed","durationMs":63.345},
|
||||
{"testId":"node:scripts/testing/host/markdownImageClose.test.mjs::Markdown-image fixture retirement waits for asynchronous owner release and persistence","featureIds":[],"sourcePath":"scripts/testing/host/markdownImageClose.test.mjs","sourceLine":5,"name":"Markdown-image fixture retirement waits for asynchronous owner release and persistence","status":"passed","durationMs":0.7121},
|
||||
{"testId":"node:scripts/testing/host/markdownImageClose.test.mjs::a close deadline fails and retains the live owner without cancelling native work","featureIds":[],"sourcePath":"scripts/testing/host/markdownImageClose.test.mjs","sourceLine":22,"name":"a close deadline fails and retains the live owner without cancelling native work","status":"passed","durationMs":0.3962},
|
||||
{"testId":"node:scripts/testing/host/nativeStateEvidence.test.mjs::passive native state reads preserve settings, layout, focus and scheduling without exposing values","featureIds":[],"sourcePath":"scripts/testing/host/nativeStateEvidence.test.mjs","sourceLine":7,"name":"passive native state reads preserve settings, layout, focus and scheduling without exposing values","status":"passed","durationMs":1.7778},
|
||||
{"testId":"node:scripts/testing/host/nativeStateEvidence.test.mjs::passive case evidence preserves original failure and captures cleanup without restoring state","featureIds":[],"sourcePath":"scripts/testing/host/nativeStateEvidence.test.mjs","sourceLine":28,"name":"passive case evidence preserves original failure and captures cleanup without restoring state","status":"passed","durationMs":0.9706},
|
||||
{"testId":"node:scripts/testing/host/pluginDiscovery.test.mjs::fresh staged discovery awaits the actual host scan and cleans its task","featureIds":[],"sourcePath":"scripts/testing/host/pluginDiscovery.test.mjs","sourceLine":16,"name":"fresh staged discovery awaits the actual host scan and cleans its task","status":"passed","durationMs":65.8098},
|
||||
{"testId":"node:scripts/testing/host/pluginDiscovery.test.mjs::missing discovery capability fails with an explicit first-open prerequisite","featureIds":[],"sourcePath":"scripts/testing/host/pluginDiscovery.test.mjs","sourceLine":34,"name":"missing discovery capability fails with an explicit first-open prerequisite","status":"passed","durationMs":61.8006},
|
||||
{"testId":"node:scripts/testing/host/processTools.test.mjs::CLI discovery supports both desktop platforms, overrides and PATH fallback","featureIds":[],"sourcePath":"scripts/testing/host/processTools.test.mjs","sourceLine":8,"name":"CLI discovery supports both desktop platforms, overrides and PATH fallback","status":"passed","durationMs":1.2787},
|
||||
{"testId":"node:scripts/testing/host/processTools.test.mjs::long and multiline Windows evals preserve literal code and remove their temporary scripts","featureIds":[],"sourcePath":"scripts/testing/host/processTools.test.mjs","sourceLine":18,"name":"long and multiline Windows evals preserve literal code and remove their temporary scripts","status":"passed","durationMs":7654.7718},
|
||||
{"testId":"node:scripts/testing/host/processTools.test.mjs::temporary eval scripts are removed if native spawning throws","featureIds":[],"sourcePath":"scripts/testing/host/processTools.test.mjs","sourceLine":44,"name":"temporary eval scripts are removed if native spawning throws","status":"passed","durationMs":3.6008},
|
||||
{"testId":"node:scripts/testing/host/processTools.test.mjs::short Windows calls and all macOS calls keep their native arguments","featureIds":[],"sourcePath":"scripts/testing/host/processTools.test.mjs","sourceLine":55,"name":"short Windows calls and all macOS calls keep their native arguments","status":"passed","durationMs":0.2039},
|
||||
{"testId":"node:scripts/testing/host/processTools.test.mjs::package managers launch JavaScript entries through the current Node without .cmd shims","featureIds":[],"sourcePath":"scripts/testing/host/processTools.test.mjs","sourceLine":62,"name":"package managers launch JavaScript entries through the current Node without .cmd shims","status":"passed","durationMs":0.5849},
|
||||
{"testId":"node:scripts/testing/host/requireIsolatedSession.test.mjs::native CI rejects another CLI session, extra registered vaults and mismatched ownership","featureIds":[],"sourcePath":"scripts/testing/host/requireIsolatedSession.test.mjs","sourceLine":8,"name":"native CI rejects another CLI session, extra registered vaults and mismatched ownership","status":"passed","durationMs":308.1239},
|
||||
{"testId":"node:scripts/testing/host/runner.test.mjs::requires the named test vault and refuses redirected plugin paths","featureIds":[],"sourcePath":"scripts/testing/host/runner.test.mjs","sourceLine":31,"name":"requires the named test vault and refuses redirected plugin paths","status":"passed","durationMs":17.6352},
|
||||
{"testId":"node:scripts/testing/host/runner.test.mjs::a CLI vault mismatch stops before build or staging","featureIds":[],"sourcePath":"scripts/testing/host/runner.test.mjs","sourceLine":38,"name":"a CLI vault mismatch stops before build or staging","status":"passed","durationMs":20.6446},
|
||||
{"testId":"node:scripts/testing/host/runner.test.mjs::requires the initial Community plugin install and enablement","featureIds":[],"sourcePath":"scripts/testing/host/runner.test.mjs","sourceLine":50,"name":"requires the initial Community plugin install and enablement","status":"passed","durationMs":13.9591},
|
||||
{"testId":"node:scripts/testing/host/runner.test.mjs::a CLI config mismatch stops before build or deployment","featureIds":[],"sourcePath":"scripts/testing/host/runner.test.mjs","sourceLine":56,"name":"a CLI config mismatch stops before build or deployment","status":"passed","durationMs":14.291},
|
||||
{"testId":"node:scripts/testing/host/runner.test.mjs::stages exact artifacts, asserts an editor and cleans its test drawing","featureIds":[],"sourcePath":"scripts/testing/host/runner.test.mjs","sourceLine":67,"name":"stages exact artifacts, asserts an editor and cleans its test drawing","status":"passed","durationMs":90.1277},
|
||||
{"testId":"node:scripts/testing/host/runner.test.mjs::an eval Error payload fails even when the CLI process reports success","featureIds":[],"sourcePath":"scripts/testing/host/runner.test.mjs","sourceLine":148,"name":"an eval Error payload fails even when the CLI process reports success","status":"passed","durationMs":14.6556},
|
||||
{"testId":"node:scripts/testing/host/runner.test.mjs::a CLI session differing from the held application lock cannot build or deploy","featureIds":[],"sourcePath":"scripts/testing/host/runner.test.mjs","sourceLine":161,"name":"a CLI session differing from the held application lock cannot build or deploy","status":"passed","durationMs":17.5761},
|
||||
{"testId":"node:scripts/testing/host/stability.test.mjs::large-scene stress stays bounded and deterministic with preserved prose and custom data","featureIds":[],"sourcePath":"scripts/testing/host/stability.test.mjs","sourceLine":6,"name":"large-scene stress stays bounded and deterministic with preserved prose and custom data","status":"passed","durationMs":10.2754},
|
||||
{"testId":"node:scripts/testing/host/stability.test.mjs::failed stability loading retires the owned leaf before deleting its file","featureIds":[],"sourcePath":"scripts/testing/host/stability.test.mjs","sourceLine":18,"name":"failed stability loading retires the owned leaf before deleting its file","status":"passed","durationMs":2.5087},
|
||||
{"testId":"node:scripts/testing/host/textUndoDiagnostics.test.mjs::text-history diagnostics preserve owning window, leaked active target, controls and actual stack depths without mutation","featureIds":[],"sourcePath":"scripts/testing/host/textUndoDiagnostics.test.mjs","sourceLine":83,"name":"text-history diagnostics preserve owning window, leaked active target, controls and actual stack depths without mutation","status":"passed","durationMs":2.3166},
|
||||
{"testId":"node:scripts/testing/host/textUndoDiagnostics.test.mjs::missing and hidden history controls remain unavailable evidence and cyclic private fibers stay bounded","featureIds":[],"sourcePath":"scripts/testing/host/textUndoDiagnostics.test.mjs","sourceLine":108,"name":"missing and hidden history controls remain unavailable evidence and cyclic private fibers stay bounded","status":"passed","durationMs":0.2721},
|
||||
{"testId":"node:scripts/testing/host/textUndoDiagnostics.test.mjs::text fixture awaits the normal mode reload before clearing the replacement API","featureIds":[],"sourcePath":"scripts/testing/host/textUndoDiagnostics.test.mjs","sourceLine":127,"name":"text fixture awaits the normal mode reload before clearing the replacement API","status":"passed","durationMs":0.3552},
|
||||
{"testId":"node:scripts/testing/host/textUndoDiagnostics.test.mjs::incoherent text modes fail before scene or history mutation","featureIds":[],"sourcePath":"scripts/testing/host/textUndoDiagnostics.test.mjs","sourceLine":148,"name":"incoherent text modes fail before scene or history mutation","status":"passed","durationMs":0.404},
|
||||
{"testId":"node:scripts/testing/inlineLinkSuggester.test.mjs::closing a detached dropdown releases its keyboard scope","featureIds":[],"sourcePath":"scripts/testing/inlineLinkSuggester.test.mjs","sourceLine":41,"name":"closing a detached dropdown releases its keyboard scope","status":"passed","durationMs":135.8714},
|
||||
{"testId":"node:scripts/testing/inlineLinkSuggester.test.mjs::closing an inactive detached scope preserves the modal above it","featureIds":[],"sourcePath":"scripts/testing/inlineLinkSuggester.test.mjs","sourceLine":49,"name":"closing an inactive detached scope preserves the modal above it","status":"passed","durationMs":52.1902},
|
||||
{"testId":"node:scripts/testing/inlineLinkSuggester.test.mjs::connected and repeated closes restore the original scope","featureIds":[],"sourcePath":"scripts/testing/inlineLinkSuggester.test.mjs","sourceLine":55,"name":"connected and repeated closes restore the original scope","status":"passed","durationMs":43.9468},
|
||||
{"testId":"node:scripts/testing/inlineLinkSuggester.test.mjs::an awaited lookup cannot reopen suggestions after closing the input","featureIds":[],"sourcePath":"scripts/testing/inlineLinkSuggester.test.mjs","sourceLine":63,"name":"an awaited lookup cannot reopen suggestions after closing the input","status":"passed","durationMs":40.5485},
|
||||
{"testId":"node:scripts/testing/inlineLinkSuggester.test.mjs::a previous close timer does not unblock a newly opened suggestion session","featureIds":[],"sourcePath":"scripts/testing/inlineLinkSuggester.test.mjs","sourceLine":84,"name":"a previous close timer does not unblock a newly opened suggestion session","status":"passed","durationMs":34.5407},
|
||||
{"testId":"node:scripts/testing/localVault.test.mjs::live preparation restores core activation and accepts Obsidian's persisted boolean map","featureIds":[],"sourcePath":"scripts/testing/localVault.test.mjs","sourceLine":24,"name":"live preparation restores core activation and accepts Obsidian's persisted boolean map","status":"passed","durationMs":2.6485},
|
||||
{"testId":"node:scripts/testing/localVault.test.mjs::native entry points reject desktop/personal target overrides before changing any environment value","featureIds":[],"sourcePath":"scripts/testing/localVault.test.mjs","sourceLine":136,"name":"native entry points reject desktop/personal target overrides before changing any environment value","status":"passed","durationMs":46.5552},
|
||||
{"testId":"node:scripts/testing/localVault.test.mjs::local working vault contains hash-verified executable plugins and declared settings, idempotently","featureIds":[],"sourcePath":"scripts/testing/localVault.test.mjs","sourceLine":156,"name":"local working vault contains hash-verified executable plugins and declared settings, idempotently","status":"passed","durationMs":579.8594},
|
||||
{"testId":"node:scripts/testing/localVault.test.mjs::missing Extras is explicit and cannot masquerade as installed coverage","featureIds":[],"sourcePath":"scripts/testing/localVault.test.mjs","sourceLine":187,"name":"missing Extras is explicit and cannot masquerade as installed coverage","status":"passed","durationMs":302.9341},
|
||||
{"testId":"node:scripts/testing/localVault.test.mjs::corrupt producer bytes and redirected destinations cannot become a prepared installation","featureIds":[],"sourcePath":"scripts/testing/localVault.test.mjs","sourceLine":199,"name":"corrupt producer bytes and redirected destinations cannot become a prepared installation","status":"passed","durationMs":918.256},
|
||||
{"testId":"node:scripts/testing/localVault.test.mjs::registration check accepts only the exact open local vault and never modifies the host registry","featureIds":[],"sourcePath":"scripts/testing/localVault.test.mjs","sourceLine":220,"name":"registration check accepts only the exact open local vault and never modifies the host registry","status":"passed","durationMs":429.0599},
|
||||
{"testId":"node:scripts/testing/lucideIcons.test.mjs::catalog is installed Lucide-only, canonical and filtered case-insensitively","featureIds":[],"sourcePath":"scripts/testing/lucideIcons.test.mjs","sourceLine":41,"name":"catalog is installed Lucide-only, canonical and filtered case-insensitively","status":"passed","durationMs":0.7518},
|
||||
{"testId":"node:scripts/testing/lucideIcons.test.mjs::presets scale nominal geometry and strokes once, independent of canvas zoom","featureIds":[],"sourcePath":"scripts/testing/lucideIcons.test.mjs","sourceLine":47,"name":"presets scale nominal geometry and strokes once, independent of canvas zoom","status":"passed","durationMs":9.3817},
|
||||
{"testId":"node:scripts/testing/lucideIcons.test.mjs::explicit stroke width also controls round-cap dot geometry","featureIds":[],"sourcePath":"scripts/testing/lucideIcons.test.mjs","sourceLine":64,"name":"explicit stroke width also controls round-cap dot geometry","status":"passed","durationMs":1.6266},
|
||||
{"testId":"node:scripts/testing/lucideIcons.test.mjs::aspect, viewBox origin and curve sampling retain intended final scale","featureIds":[],"sourcePath":"scripts/testing/lucideIcons.test.mjs","sourceLine":73,"name":"aspect, viewBox origin and curve sampling retain intended final scale","status":"passed","durationMs":3.1517},
|
||||
{"testId":"node:scripts/testing/lucideIcons.test.mjs::repeat calls retain independent identities and do not mutate registry SVGs","featureIds":[],"sourcePath":"scripts/testing/lucideIcons.test.mjs","sourceLine":80,"name":"repeat calls retain independent identities and do not mutate registry SVGs","status":"passed","durationMs":1.2108},
|
||||
{"testId":"node:scripts/testing/lucideIcons.test.mjs::unknown/custom/unsafe names, invalid values and partial/empty conversions fail","featureIds":[],"sourcePath":"scripts/testing/lucideIcons.test.mjs","sourceLine":87,"name":"unknown/custom/unsafe names, invalid values and partial/empty conversions fail","status":"passed","durationMs":1.8095},
|
||||
{"testId":"node:scripts/testing/lucideIcons.test.mjs::EA API is synchronous, view-free and preserves unrelated workbench/style/assets on failure","featureIds":[],"sourcePath":"scripts/testing/lucideIcons.test.mjs","sourceLine":100,"name":"EA API is synchronous, view-free and preserves unrelated workbench/style/assets on failure","status":"passed","durationMs":0.9601},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::ready follows successful insertion; repeated callbacks preserve the image","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":149,"name":"ready follows successful insertion; repeated callbacks preserve the image","status":"passed","durationMs":143.0844},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::a live, detached context recovers on reattachment (before queue start)","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":158,"name":"a live, detached context recovers on reattachment (before queue start)","status":"passed","durationMs":55.0352},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::a live, detached context recovers on reattachment (during image generation)","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":158,"name":"a live, detached context recovers on reattachment (during image generation)","status":"passed","durationMs":50.7839},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::null releases pending state and allows a later callback to retry","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":171,"name":"null releases pending state and allows a later callback to retry","status":"passed","durationMs":35.2848},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::throw releases pending state and allows a later callback to retry","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":171,"name":"throw releases pending state and allows a later callback to retry","status":"passed","durationMs":31.1284},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::an obsolete completion cannot insert or clear a newer pending attempt","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":180,"name":"an obsolete completion cannot insert or clear a newer pending attempt","status":"passed","durationMs":27.906},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::attribute refresh retains the current image and the actual target until replacement","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":191,"name":"attribute refresh retains the current image and the actual target until replacement","status":"passed","durationMs":26.9988},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::a later callback repairs content removed by the host","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":200,"name":"a later callback repairs content removed by the host","status":"passed","durationMs":30.6409},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::an unloaded context cannot overwrite a replacement context's image","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":207,"name":"an unloaded context cannot overwrite a replacement context's image","status":"passed","durationMs":26.449},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::plugin unload cancels an in-flight image","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":215,"name":"plugin unload cancels an in-flight image","status":"passed","durationMs":24.8518},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::permanent unload stops queued work and cleans observers/timers","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":223,"name":"permanent unload stops queued work and cleans observers/timers","status":"passed","durationMs":23.8198},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::permanent unload stops generating work and cleans observers/timers","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":223,"name":"permanent unload stops generating work and cleans observers/timers","status":"passed","durationMs":28.9206},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::permanent unload stops debounced work and cleans observers/timers","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":223,"name":"permanent unload stops debounced work and cleans observers/timers","status":"passed","durationMs":24.4928},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::ordinary image embeds, text references and code blocks remain native","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":237,"name":"ordinary image embeds, text references and code blocks remain native","status":"passed","durationMs":63.3615},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::Reading mode skips a detached candidate without suppressing a later live drawing","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":246,"name":"Reading mode skips a detached candidate without suppressing a later live drawing","status":"passed","durationMs":25.4965},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::image loader cancellation follows context lifetime and always clears its interval","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":254,"name":"image loader cancellation follows context lifetime and always clears its interval","status":"passed","durationMs":63.2426},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::explicit self-images override Markdown preferences and use the containing drawing","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":266,"name":"explicit self-images override Markdown preferences and use the containing drawing","status":"passed","durationMs":61.1287},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::Reading mode resolves explicit self-images, but ignores empty and ordinary text fragments","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":277,"name":"Reading mode resolves explicit self-images, but ignores empty and ordinary text fragments","status":"passed","durationMs":134.8977},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::Reading mode preserves a target's Markdown side unless the link explicitly requests an image","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":288,"name":"Reading mode preserves a target's Markdown side unless the link explicitly requests an image","status":"passed","durationMs":95.5675},
|
||||
{"testId":"node:scripts/testing/markdownEmbeds.test.mjs::nested Markdown-side drawings and PNGs remain visible; drawing metadata stays hidden","featureIds":[],"sourcePath":"scripts/testing/markdownEmbeds.test.mjs","sourceLine":300,"name":"nested Markdown-side drawings and PNGs remain visible; drawing metadata stays hidden","status":"passed","durationMs":206.3519},
|
||||
{"testId":"node:scripts/testing/package.source.test.mjs::one private runtime serves main and two popout leases; only final release removes the alias","featureIds":[],"sourcePath":"scripts/testing/package.source.test.mjs","sourceLine":26,"name":"one private runtime serves main and two popout leases; only final release removes the alias","status":"passed","durationMs":80.2024},
|
||||
{"testId":"node:scripts/testing/package.source.test.mjs::destroy clears owned aliases and registrations without clobbering a replacement alias","featureIds":[],"sourcePath":"scripts/testing/package.source.test.mjs","sourceLine":40,"name":"destroy clears owned aliases and registrations without clobbering a replacement alias","status":"passed","durationMs":23.4825},
|
||||
{"testId":"node:scripts/testing/package.source.test.mjs::incompatible component protocol rolls back common host registration and exposes no runtime","featureIds":[],"sourcePath":"scripts/testing/package.source.test.mjs","sourceLine":48,"name":"incompatible component protocol rolls back common host registration and exposes no runtime","status":"passed","durationMs":24.1242},
|
||||
{"testId":"node:scripts/testing/package.source.test.mjs::failed second adapter registration rolls back the first and permits idempotent teardown","featureIds":[],"sourcePath":"scripts/testing/package.source.test.mjs","sourceLine":54,"name":"failed second adapter registration rolls back the first and permits idempotent teardown","status":"passed","durationMs":20.7998},
|
||||
{"testId":"node:scripts/testing/pairwise.test.mjs::pairwise cases retain missing, false and zero and cover every factor pair reproducibly","featureIds":[],"sourcePath":"scripts/testing/pairwise.test.mjs","sourceLine":5,"name":"pairwise cases retain missing, false and zero and cover every factor pair reproducibly","status":"passed","durationMs":2.9958},
|
||||
{"testId":"node:scripts/testing/pairwise.test.mjs::invalid high-risk rows and unbounded Cartesian spaces fail before generating a partial plan","featureIds":[],"sourcePath":"scripts/testing/pairwise.test.mjs","sourceLine":35,"name":"invalid high-risk rows and unbounded Cartesian spaces fail before generating a partial plan","status":"passed","durationMs":1.4185},
|
||||
{"testId":"node:scripts/testing/pdfImport.test.mjs::PDF loader renders plain PDF file","featureIds":[],"sourcePath":"scripts/testing/pdfImport.test.mjs","sourceLine":108,"name":"PDF loader renders plain PDF file","status":"passed","durationMs":117.3341},
|
||||
{"testId":"node:scripts/testing/pdfImport.test.mjs::PDF loader renders missing PDF reference","featureIds":[],"sourcePath":"scripts/testing/pdfImport.test.mjs","sourceLine":108,"name":"PDF loader renders missing PDF reference","status":"passed","durationMs":35.7714},
|
||||
{"testId":"node:scripts/testing/pdfImport.test.mjs::PDF loader renders explicit PDF page","featureIds":[],"sourcePath":"scripts/testing/pdfImport.test.mjs","sourceLine":108,"name":"PDF loader renders explicit PDF page","status":"passed","durationMs":37.9105},
|
||||
{"testId":"node:scripts/testing/pdfImport.test.mjs::PDF loader renders explicit PDF crop","featureIds":[],"sourcePath":"scripts/testing/pdfImport.test.mjs","sourceLine":108,"name":"PDF loader renders explicit PDF crop","status":"passed","durationMs":20.9629},
|
||||
{"testId":"node:scripts/testing/pdfImport.test.mjs::the previous plain-PDF null-reference path fails the loader evidence","featureIds":[],"sourcePath":"scripts/testing/pdfImport.test.mjs","sourceLine":131,"name":"the previous plain-PDF null-reference path fails the loader evidence","status":"passed","durationMs":22.462},
|
||||
{"testId":"node:scripts/testing/persistence.source.test.mjs::same-path snapshots remain ordered and uncoalesced while another drawing proceeds independently","featureIds":[],"sourcePath":"scripts/testing/persistence.source.test.mjs","sourceLine":19,"name":"same-path snapshots remain ordered and uncoalesced while another drawing proceeds independently","status":"passed","durationMs":3.0923},
|
||||
{"testId":"node:scripts/testing/persistence.source.test.mjs::failed writes preserve the failure receipt, never schedule a backup and release the path for retry","featureIds":[],"sourcePath":"scripts/testing/persistence.source.test.mjs","sourceLine":29,"name":"failed writes preserve the failure receipt, never schedule a backup and release the path for retry","status":"passed","durationMs":0.2678},
|
||||
{"testId":"node:scripts/testing/persistence.source.test.mjs::missing/recreated targets and empty payloads cannot overwrite a different drawing","featureIds":[],"sourcePath":"scripts/testing/persistence.source.test.mjs","sourceLine":34,"name":"missing/recreated targets and empty payloads cannot overwrite a different drawing","status":"passed","durationMs":0.7408},
|
||||
{"testId":"node:scripts/testing/persistence.source.test.mjs::popout migration reserves order without writing until the replacement consumes its exact target","featureIds":[],"sourcePath":"scripts/testing/persistence.source.test.mjs","sourceLine":40,"name":"popout migration reserves order without writing until the replacement consumes its exact target","status":"passed","durationMs":0.4765},
|
||||
{"testId":"node:scripts/testing/persistence.source.test.mjs::wrong-target, expired and discarded migration handoffs release reservations without a source write","featureIds":[],"sourcePath":"scripts/testing/persistence.source.test.mjs","sourceLine":49,"name":"wrong-target, expired and discarded migration handoffs release reservations without a source write","status":"passed","durationMs":0.4373},
|
||||
{"testId":"node:scripts/testing/persistence.source.test.mjs::a live write lease blocks detached saves until its idempotent release","featureIds":[],"sourcePath":"scripts/testing/persistence.source.test.mjs","sourceLine":59,"name":"a live write lease blocks detached saves until its idempotent release","status":"passed","durationMs":0.1644},
|
||||
{"testId":"node:scripts/testing/persistence.source.test.mjs::backup and completion diagnostics do not undo a successful physical write","featureIds":[],"sourcePath":"scripts/testing/persistence.source.test.mjs","sourceLine":64,"name":"backup and completion diagnostics do not undo a successful physical write","status":"passed","durationMs":0.2358},
|
||||
{"testId":"node:scripts/testing/persistence.source.test.mjs::save snapshots detach mutable scene/custom/image data and exclude rendering caches","featureIds":[],"sourcePath":"scripts/testing/persistence.source.test.mjs","sourceLine":70,"name":"save snapshots detach mutable scene/custom/image data and exclude rendering caches","status":"passed","durationMs":0.7489},
|
||||
{"testId":"node:scripts/testing/persistence.source.test.mjs::snapshot export registries retain independent Markdown, equation, image and PDF metadata","featureIds":[],"sourcePath":"scripts/testing/persistence.source.test.mjs","sourceLine":83,"name":"snapshot export registries retain independent Markdown, equation, image and PDF metadata","status":"passed","durationMs":0.4662},
|
||||
{"testId":"node:scripts/testing/provision.test.mjs::seed is deterministic, provenance-complete and retains saved data in all formats","featureIds":[],"sourcePath":"scripts/testing/provision.test.mjs","sourceLine":34,"name":"seed is deterministic, provenance-complete and retains saved data in all formats","status":"passed","durationMs":52.7053},
|
||||
{"testId":"node:scripts/testing/provision.test.mjs::fresh copies work at independent roots with spaces and Unicode; provisioning is idempotent","featureIds":[],"sourcePath":"scripts/testing/provision.test.mjs","sourceLine":50,"name":"fresh copies work at independent roots with spaces and Unicode; provisioning is idempotent","status":"passed","durationMs":553.0024},
|
||||
{"testId":"node:scripts/testing/provision.test.mjs::never adopts an existing arbitrary vault, nonempty root or seed for reset","featureIds":[],"sourcePath":"scripts/testing/provision.test.mjs","sourceLine":97,"name":"never adopts an existing arbitrary vault, nonempty root or seed for reset","status":"passed","durationMs":43.8514},
|
||||
{"testId":"node:scripts/testing/provision.test.mjs::redirected roots, config directories and cross-root ownership are rejected","featureIds":[],"sourcePath":"scripts/testing/provision.test.mjs","sourceLine":125,"name":"redirected roots, config directories and cross-root ownership are rejected","status":"passed","durationMs":718.7464},
|
||||
{"testId":"node:scripts/testing/regression.test.mjs::portable regression requires independent suites and never substitutes an upstream result","featureIds":[],"sourcePath":"scripts/testing/regression.test.mjs","sourceLine":31,"name":"portable regression requires independent suites and never substitutes an upstream result","status":"passed","durationMs":2.6004},
|
||||
{"testId":"node:scripts/testing/regression.test.mjs::a native regression cannot pass without every declared CLI and EA case","featureIds":[],"sourcePath":"scripts/testing/regression.test.mjs","sourceLine":54,"name":"a native regression cannot pass without every declared CLI and EA case","status":"passed","durationMs":1.9918},
|
||||
{"testId":"node:scripts/testing/regression.test.mjs::unexpected errors, cleanup and coverage failures keep regression red","featureIds":[],"sourcePath":"scripts/testing/regression.test.mjs","sourceLine":75,"name":"unexpected errors, cleanup and coverage failures keep regression red","status":"passed","durationMs":0.337},
|
||||
{"testId":"node:scripts/testing/reportFiles.test.mjs::JUnit escapes evidence and represents blocked or cleanup-only failures as failures","featureIds":[],"sourcePath":"scripts/testing/reportFiles.test.mjs","sourceLine":5,"name":"JUnit escapes evidence and represents blocked or cleanup-only failures as failures","status":"passed","durationMs":1.6346},
|
||||
{"testId":"node:scripts/testing/reportFiles.test.mjs::source coverage ratchets fail on lost modules, missing branch evidence or regressions","featureIds":[],"sourcePath":"scripts/testing/reportFiles.test.mjs","sourceLine":17,"name":"source coverage ratchets fail on lost modules, missing branch evidence or regressions","status":"passed","durationMs":1.2078},
|
||||
{"testId":"node:scripts/testing/saveCoordinator.source.test.mjs::failed saves keep dirty state and successful retry acknowledges only captured bytes","featureIds":[],"sourcePath":"scripts/testing/saveCoordinator.source.test.mjs","sourceLine":20,"name":"failed saves keep dirty state and successful retry acknowledges only captured bytes","status":"passed","durationMs":123.1089},
|
||||
{"testId":"node:scripts/testing/saveCoordinator.source.test.mjs::an edit during a save queues its own later snapshot instead of clearing the newer dirty revision","featureIds":[],"sourcePath":"scripts/testing/saveCoordinator.source.test.mjs","sourceLine":26,"name":"an edit during a save queues its own later snapshot instead of clearing the newer dirty revision","status":"passed","durationMs":62.0503},
|
||||
{"testId":"node:scripts/testing/saveCoordinator.source.test.mjs::handoff is never reported as physically acknowledged, and unconfirmed bytes remain distinguishable","featureIds":[],"sourcePath":"scripts/testing/saveCoordinator.source.test.mjs","sourceLine":32,"name":"handoff is never reported as physically acknowledged, and unconfirmed bytes remain distinguishable","status":"passed","durationMs":57.6742},
|
||||
{"testId":"node:scripts/testing/saveCoordinator.source.test.mjs::own-write echoes, newer edits, accepted external content and new target generations stay distinct","featureIds":[],"sourcePath":"scripts/testing/saveCoordinator.source.test.mjs","sourceLine":37,"name":"own-write echoes, newer edits, accepted external content and new target generations stay distinct","status":"passed","durationMs":43.6214},
|
||||
{"testId":"node:scripts/testing/saveCoordinator.source.test.mjs::migration state transfers only settled, nonnegative matching revision baselines","featureIds":[],"sourcePath":"scripts/testing/saveCoordinator.source.test.mjs","sourceLine":44,"name":"migration state transfers only settled, nonnegative matching revision baselines","status":"passed","durationMs":45.4384},
|
||||
{"testId":"node:scripts/testing/saveCoordinator.source.test.mjs::a rejected autosave releases its busy flag and later autosaves can persist","featureIds":[],"sourcePath":"scripts/testing/saveCoordinator.source.test.mjs","sourceLine":50,"name":"a rejected autosave releases its busy flag and later autosaves can persist","status":"passed","durationMs":42.5512},
|
||||
{"testId":"node:scripts/testing/sceneFiles.source.test.mjs::late file callbacks reject replacement API for the same path and release PDF resources","featureIds":[],"sourcePath":"scripts/testing/sceneFiles.source.test.mjs","sourceLine":29,"name":"late file callbacks reject replacement API for the same path and release PDF resources","status":"passed","durationMs":117.1355},
|
||||
{"testId":"node:scripts/testing/sceneFiles.source.test.mjs::late file callbacks reject another file and release PDF resources","featureIds":[],"sourcePath":"scripts/testing/sceneFiles.source.test.mjs","sourceLine":29,"name":"late file callbacks reject another file and release PDF resources","status":"passed","durationMs":57.8808},
|
||||
{"testId":"node:scripts/testing/sceneFiles.source.test.mjs::late file callbacks reject window migration and release PDF resources","featureIds":[],"sourcePath":"scripts/testing/sceneFiles.source.test.mjs","sourceLine":29,"name":"late file callbacks reject window migration and release PDF resources","status":"passed","durationMs":51.4916},
|
||||
{"testId":"node:scripts/testing/sceneFiles.source.test.mjs::late file callbacks reject view unload and release PDF resources","featureIds":[],"sourcePath":"scripts/testing/sceneFiles.source.test.mjs","sourceLine":29,"name":"late file callbacks reject view unload and release PDF resources","status":"passed","durationMs":37.6191},
|
||||
{"testId":"node:scripts/testing/sceneFiles.source.test.mjs::late file callbacks reject destroyed editor and release PDF resources","featureIds":[],"sourcePath":"scripts/testing/sceneFiles.source.test.mjs","sourceLine":29,"name":"late file callbacks reject destroyed editor and release PDF resources","status":"passed","durationMs":36.0168},
|
||||
{"testId":"node:scripts/testing/sceneFiles.source.test.mjs::current file callbacks deliver partial and final batches once; teardown cancels all owned loaders","featureIds":[],"sourcePath":"scripts/testing/sceneFiles.source.test.mjs","sourceLine":39,"name":"current file callbacks deliver partial and final batches once; teardown cancels all owned loaders","status":"passed","durationMs":41.0519},
|
||||
{"testId":"node:scripts/testing/sceneFiles.source.test.mjs::viewport prioritization uses scene zoom, scroll and image bounds","featureIds":[],"sourcePath":"scripts/testing/sceneFiles.source.test.mjs","sourceLine":52,"name":"viewport prioritization uses scene zoom, scroll and image bounds","status":"passed","durationMs":33.4031},
|
||||
{"testId":"node:scripts/testing/sceneFiles.source.test.mjs::paint waiting uses two owning-window frames and a bounded fallback","featureIds":[],"sourcePath":"scripts/testing/sceneFiles.source.test.mjs","sourceLine":62,"name":"paint waiting uses two owning-window frames and a bounded fallback","status":"passed","durationMs":35.3524},
|
||||
{"testId":"node:scripts/testing/settings/settings.source.test.mjs::missing first-install settings are distinct from corruption and synchronized records","featureIds":[],"sourcePath":"scripts/testing/settings/settings.source.test.mjs","sourceLine":6,"name":"missing first-install settings are distinct from corruption and synchronized records","status":"passed","durationMs":0.8585},
|
||||
{"testId":"node:scripts/testing/settings/settings.source.test.mjs::settings queue coalesces writes, waits for in-flight revisions and applies actions after success","featureIds":[],"sourcePath":"scripts/testing/settings/settings.source.test.mjs","sourceLine":16,"name":"settings queue coalesces writes, waits for in-flight revisions and applies actions after success","status":"passed","durationMs":1.7392},
|
||||
{"testId":"node:scripts/testing/settings/settings.source.test.mjs::settings write failure rejects waiters, skips actions and permits a successful retry","featureIds":[],"sourcePath":"scripts/testing/settings/settings.source.test.mjs","sourceLine":26,"name":"settings write failure rejects waiters, skips actions and permits a successful retry","status":"passed","durationMs":1.2095},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::key order does not change canonical serialization","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":20,"name":"key order does not change canonical serialization","status":"passed","durationMs":0.9878},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::array order is semantically significant and preserved","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":30,"name":"array order is semantically significant and preserved","status":"passed","durationMs":0.1465},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::toJSON values keep native JSON semantics (Date)","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":37,"name":"toJSON values keep native JSON semantics (Date)","status":"passed","durationMs":1.7971},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::toJSON receives its root, property or array index key exactly once","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":43,"name":"toJSON receives its root, property or array index key exactly once","status":"passed","durationMs":0.1584},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::an object returned by toJSON does not invoke its own toJSON","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":59,"name":"an object returned by toJSON does not invoke its own toJSON","status":"passed","durationMs":0.192},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::boxed primitives retain their native JSON values","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":79,"name":"boxed primitives retain their native JSON values","status":"passed","durationMs":0.113},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::native JSON omission and array replacement semantics are preserved","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":91,"name":"native JSON omission and array replacement semantics are preserved","status":"passed","durationMs":0.4635},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::an own __proto__ key is data, not prototype pollution","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":107,"name":"an own __proto__ key is data, not prototype pollution","status":"passed","durationMs":0.6913},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::self-returning toJSON uses native one-call semantics","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":115,"name":"self-returning toJSON uses native one-call semantics","status":"passed","durationMs":0.2876},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::unchanged reordered save is skipped","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":126,"name":"unchanged reordered save is skipped","status":"passed","durationMs":0.4608},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::queued A -> B -> A still persists the final A","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":136,"name":"queued A -> B -> A still persists the final A","status":"passed","durationMs":4.1204},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::failed write is retried on the next save","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":167,"name":"failed write is retried on the next save","status":"passed","durationMs":0.3356},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::force bypasses suppression for repair flows","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":184,"name":"force bypasses suppression for repair flows","status":"passed","durationMs":0.111},
|
||||
{"testId":"node:scripts/testing/settings/settingsWriter.test.mjs::cache seeded from disk suppresses the first unchanged save","featureIds":[],"sourcePath":"scripts/testing/settings/settingsWriter.test.mjs","sourceLine":194,"name":"cache seeded from disk suppresses the first unchanged save","status":"passed","durationMs":0.0919},
|
||||
{"testId":"node:scripts/testing/sourceInventory.test.mjs::the source denominator excludes erased declarations but retains runtime effects","featureIds":[],"sourcePath":"scripts/testing/sourceInventory.test.mjs","sourceLine":4,"name":"the source denominator excludes erased declarations but retains runtime effects","status":"passed","durationMs":38.7138},
|
||||
{"testId":"node:scripts/testing/svg.source.test.mjs::whole-module SVG conversion preserves opacity, transforms and open strokes","featureIds":[],"sourcePath":"scripts/testing/svg.source.test.mjs","sourceLine":21,"name":"whole-module SVG conversion preserves opacity, transforms and open strokes","status":"passed","durationMs":7.0725},
|
||||
{"testId":"node:scripts/testing/svg.source.test.mjs::whole-module SVG fixture imports without mutating source bytes","featureIds":[],"sourcePath":"scripts/testing/svg.source.test.mjs","sourceLine":27,"name":"whole-module SVG fixture imports without mutating source bytes","status":"passed","durationMs":4.2721},
|
||||
{"testId":"node:scripts/testing/svg.source.test.mjs::malformed SVG reports a failed conversion and a later request still works","featureIds":[],"sourcePath":"scripts/testing/svg.source.test.mjs","sourceLine":34,"name":"malformed SVG reports a failed conversion and a later request still works","status":"passed","durationMs":0.6815},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::SVG alpha uses percent units and preserves zero and near-zero opacity","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":7,"name":"SVG alpha uses percent units and preserves zero and near-zero opacity","status":"passed","durationMs":6.4059},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::root styles inherit to open primitives without closing their strokes","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":16,"name":"root styles inherit to open primitives without closing their strokes","status":"passed","durationMs":1.9297},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::compound holes never become white patches","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":29,"name":"compound holes never become white patches","status":"passed","durationMs":2.093},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::holes expose the underlying scene; nested islands and disjoint regions retain fill","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":66,"name":"holes expose the underlying scene; nested islands and disjoint regions retain fill","status":"passed","durationMs":1.2132},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::nonzero and evenodd distinguish same-winding nested contours","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":83,"name":"nonzero and evenodd distinguish same-winding nested contours","status":"passed","durationMs":1.188},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::intersecting contours and self-intersections follow the selected fill rule","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":97,"name":"intersecting contours and self-intersections follow the selected fill rule","status":"passed","durationMs":1.679},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::overlapping nonzero contours produce no doubly painted translucent area","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":132,"name":"overlapping nonzero contours produce no doubly painted translucent area","status":"passed","durationMs":3.4176},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::opposite overlapping windings cancel only their shared area","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":138,"name":"opposite overlapping windings cancel only their shared area","status":"passed","durationMs":0.6034},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::fill closure does not close an open stroke or draw bridges as strokes","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":153,"name":"fill closure does not close an open stroke or draw bridges as strokes","status":"passed","durationMs":1.4285},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::paint precedence and independent alpha do not depend on attribute order","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":165,"name":"paint precedence and independent alpha do not depend on attribute order","status":"passed","durationMs":0.9706},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::local CSS resolves class, ID, descendant and inline precedence without host CSS","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":181,"name":"local CSS resolves class, ID, descendant and inline precedence without host CSS","status":"passed","durationMs":1.2615},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::CSS specificity does not carry classes into IDs or types into classes","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":194,"name":"CSS specificity does not carry classes into IDs or types into classes","status":"passed","durationMs":0.9571},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::equal CSS specificity uses source order and universal selectors add no weight","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":212,"name":"equal CSS specificity uses source order and universal selectors add no weight","status":"passed","durationMs":0.5746},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::object/group opacity is not inherited as a presentation value and approximations are explicit","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":223,"name":"object/group opacity is not inherited as a presentation value and approximations are explicit","status":"passed","durationMs":0.3477},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::use opacity diagnoses compositing for direct and nested referenced children","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":233,"name":"use opacity diagnoses compositing for direct and nested referenced children","status":"passed","durationMs":0.8403},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::use opacity needs no compositing notice for one emitted piece or opaque reuse","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":245,"name":"use opacity needs no compositing notice for one emitted piece or opaque reuse","status":"passed","durationMs":0.5174},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::rendering-tree paint order and all ancestor groups survive native emission","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":258,"name":"rendering-tree paint order and all ancestor groups survive native emission","status":"passed","durationMs":0.4635},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::viewBox origins, CSS lengths and preserveAspectRatio map to the requested viewport","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":269,"name":"viewBox origins, CSS lengths and preserveAspectRatio map to the requested viewport","status":"passed","durationMs":0.9779},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::transforms compose in SVG order and rotate around their explicit center","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":290,"name":"transforms compose in SVG order and rotate around their explicit center","status":"passed","durationMs":0.4041},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::rotated, reflected and skewed primitives retain their affine geometry","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":300,"name":"rotated, reflected and skewed primitives retain their affine geometry","status":"passed","durationMs":0.8922},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::local use references retain every child, instance styling and fresh identities","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":321,"name":"local use references retain every child, instance styling and fresh identities","status":"passed","durationMs":0.4915},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::symbol and nested SVG viewports use instance dimensions","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":334,"name":"symbol and nested SVG viewports use instance dimensions","status":"passed","durationMs":0.3683},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::curves, relative commands and arcs preserve endpoints with bounded point counts","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":345,"name":"curves, relative commands and arcs preserve endpoints with bounded point counts","status":"passed","durationMs":1.1346},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::round-cap zero-length strokes remain editable dots; zero dimensions remain empty","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":355,"name":"round-cap zero-length strokes remain editable dots; zero dimensions remain empty","status":"passed","durationMs":0.4169},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::hidden containers, definition-only nodes and namespace prefixes are traversed deliberately","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":369,"name":"hidden containers, definition-only nodes and namespace prefixes are traversed deliberately","status":"passed","durationMs":0.5186},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::failed conversion is atomic: <rect width=\"10\" height=\"10\"/><path d=\"M0 0Z 1\"/>","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":397,"name":"failed conversion is atomic: <rect width=\"10\" height=\"10\"/><path d=\"M0 0Z 1\"/>","status":"passed","durationMs":0.2829},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::failed conversion is atomic: <path d=\"M1\"/>","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":397,"name":"failed conversion is atomic: <path d=\"M1\"/>","status":"passed","durationMs":0.1701},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::failed conversion is atomic: <path d=\"M0 0A1 1 0 2 0 10 10\"/>","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":397,"name":"failed conversion is atomic: <path d=\"M0 0A1 1 0 2 0 10 10\"/>","status":"passed","durationMs":0.1679},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::failed conversion is atomic: <use href=\"https://example.test/a.svg#x\"/>","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":397,"name":"failed conversion is atomic: <use href=\"https://example.test/a.svg#x\"/>","status":"passed","durationMs":0.1313},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::failed conversion is atomic: <use href=\"#missing\"/>","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":397,"name":"failed conversion is atomic: <use href=\"#missing\"/>","status":"passed","durationMs":0.1383},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::failed conversion is atomic: <defs><g id=\"loop\"><use href=\"#loop\"/></g></defs><use h","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":397,"name":"failed conversion is atomic: <defs><g id=\"loop\"><use href=\"#loop\"/></g></defs><use h","status":"passed","durationMs":0.178},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::failed conversion is atomic: <g transform=\"scale(1e30)\"><rect width=\"10\" height=\"10\"","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":397,"name":"failed conversion is atomic: <g transform=\"scale(1e30)\"><rect width=\"10\" height=\"10\"","status":"passed","durationMs":0.1339},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::failed conversion is atomic: <rect width=\"-1\" height=\"10\"/>","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":397,"name":"failed conversion is atomic: <rect width=\"-1\" height=\"10\"/>","status":"passed","durationMs":0.1415},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::untrusted scripts/styles/images never execute or fetch and unsupported content is diagnosed","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":403,"name":"untrusted scripts/styles/images never execute or fetch and unsupported content is diagnosed","status":"passed","durationMs":0.4224},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::document depth and input size are bounded before scene publication","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":418,"name":"document depth and input size are bounded before scene publication","status":"passed","durationMs":1.0395},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::repeated imports get new element and group identities","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":429,"name":"repeated imports get new element and group identities","status":"passed","durationMs":0.5071},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::primitive stroke-before-fill order is preserved without a stroke seam","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":444,"name":"primitive stroke-before-fill order is preserved without a stroke seam","status":"passed","durationMs":0.2636},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::non-scaling strokes remain constant under nonuniform affine transforms","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":454,"name":"non-scaling strokes remain constant under nonuniform affine transforms","status":"passed","durationMs":0.2888},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::bounded fill topology agrees with independent rectangle winding samples","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":463,"name":"bounded fill topology agrees with independent rectangle winding samples","status":"passed","durationMs":65.7615},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::outer image clipping is diagnosed without replacing editable output","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":507,"name":"outer image clipping is diagnosed without replacing editable output","status":"passed","durationMs":0.2833},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::use without instance dimensions preserves the referenced SVG's own viewport","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":515,"name":"use without instance dimensions preserves the referenced SVG's own viewport","status":"passed","durationMs":0.3547},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::zero-radius and coincident-endpoint arcs follow SVG degeneracy rules","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":523,"name":"zero-radius and coincident-endpoint arcs follow SVG degeneracy rules","status":"passed","durationMs":0.3553},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::paint order accounts for an omitted marker operation","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":531,"name":"paint order accounts for an omitted marker operation","status":"passed","durationMs":0.2638},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::unsupported geometric CSS is explicitly diagnosed","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":538,"name":"unsupported geometric CSS is explicitly diagnosed","status":"passed","durationMs":0.2382},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::dense simple filled outlines retain existing import support within bounded work","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":545,"name":"dense simple filled outlines retain existing import support within bounded work","status":"passed","durationMs":100.799},
|
||||
{"testId":"node:scripts/testing/svgImport.test.mjs::dense compound outlines retain transparent holes without quadratic work","featureIds":[],"sourcePath":"scripts/testing/svgImport.test.mjs","sourceLine":554,"name":"dense compound outlines retain transparent holes without quadratic work","status":"passed","durationMs":168.8957},
|
||||
{"testId":"node:scripts/testing/svgImporter.test.mjs::ea.importSVG stays synchronous, appends fresh elements and leaves unrelated work untouched","featureIds":[],"sourcePath":"scripts/testing/svgImporter.test.mjs","sourceLine":55,"name":"ea.importSVG stays synchronous, appends fresh elements and leaves unrelated work untouched","status":"passed","durationMs":7.426},
|
||||
{"testId":"node:scripts/testing/svgImporter.test.mjs::fatal import cannot partially append or clear an existing workbench","featureIds":[],"sourcePath":"scripts/testing/svgImporter.test.mjs","sourceLine":67,"name":"fatal import cannot partially append or clear an existing workbench","status":"passed","durationMs":0.9931},
|
||||
{"testId":"node:scripts/testing/svgImporter.test.mjs::partial/approximate conversions show diagnostics, while transparent SVG remains valid","featureIds":[],"sourcePath":"scripts/testing/svgImporter.test.mjs","sourceLine":79,"name":"partial/approximate conversions show diagnostics, while transparent SVG remains valid","status":"passed","durationMs":1.3966},
|
||||
{"testId":"node:scripts/testing/svgImporter.test.mjs::dialog declines failed/empty imports and always destroys EA: {\"success\":false}","featureIds":[],"sourcePath":"scripts/testing/svgImporter.test.mjs","sourceLine":155,"name":"dialog declines failed/empty imports and always destroys EA: {\"success\":false}","status":"passed","durationMs":11.0311},
|
||||
{"testId":"node:scripts/testing/svgImporter.test.mjs::dialog declines failed/empty imports and always destroys EA: {\"empty\":true}","featureIds":[],"sourcePath":"scripts/testing/svgImporter.test.mjs","sourceLine":155,"name":"dialog declines failed/empty imports and always destroys EA: {\"empty\":true}","status":"passed","durationMs":4.4765},
|
||||
{"testId":"node:scripts/testing/svgImporter.test.mjs::dialog declines failed/empty imports and always destroys EA: {\"svg\":\"\"}","featureIds":[],"sourcePath":"scripts/testing/svgImporter.test.mjs","sourceLine":155,"name":"dialog declines failed/empty imports and always destroys EA: {\"svg\":\"\"}","status":"passed","durationMs":4.4594},
|
||||
{"testId":"node:scripts/testing/svgImporter.test.mjs::dialog declines failed/empty imports and always destroys EA: {\"error\":true}","featureIds":[],"sourcePath":"scripts/testing/svgImporter.test.mjs","sourceLine":155,"name":"dialog declines failed/empty imports and always destroys EA: {\"error\":true}","status":"passed","durationMs":5.1084},
|
||||
{"testId":"node:scripts/testing/svgImporter.test.mjs::dialog inserts only a completed conversion and destroys EA once","featureIds":[],"sourcePath":"scripts/testing/svgImporter.test.mjs","sourceLine":162,"name":"dialog inserts only a completed conversion and destroys EA once","status":"passed","durationMs":5.4424},
|
||||
{"testId":"node:scripts/testing/svgImporter.test.mjs::dialog does not insert into a replaced editor after an awaited read","featureIds":[],"sourcePath":"scripts/testing/svgImporter.test.mjs","sourceLine":167,"name":"dialog does not insert into a replaced editor after an awaited read","status":"passed","durationMs":4.9815},
|
||||
{"testId":"node:scripts/testing/templateWorkflow.test.mjs::zero/single templates keep automatic behavior; a chooser has blank first and unique path labels","featureIds":[],"sourcePath":"scripts/testing/templateWorkflow.test.mjs","sourceLine":11,"name":"zero/single templates keep automatic behavior; a chooser has blank first and unique path labels","status":"passed","durationMs":76.5086},
|
||||
{"testId":"node:scripts/testing/templateWorkflow.test.mjs::explicit blank and close/dismissal produce different results without rejection","featureIds":[],"sourcePath":"scripts/testing/templateWorkflow.test.mjs","sourceLine":20,"name":"explicit blank and close/dismissal produce different results without rejection","status":"passed","durationMs":10.9888},
|
||||
{"testId":"node:scripts/testing/templateWorkflow.test.mjs::creation resolves drawing contents before making its destination directory","featureIds":[],"sourcePath":"scripts/testing/templateWorkflow.test.mjs","sourceLine":24,"name":"creation resolves drawing contents before making its destination directory","status":"passed","durationMs":25.6137},
|
||||
{"testId":"node:scripts/testing/templateWorkflow.test.mjs::interactive cancellation never creates a file or opens a leaf; explicit initialization bypasses the chooser","featureIds":[],"sourcePath":"scripts/testing/templateWorkflow.test.mjs","sourceLine":32,"name":"interactive cancellation never creates a file or opens a leaf; explicit initialization bypasses the chooser","status":"passed","durationMs":22.2237},
|
||||
{"testId":"node:scripts/testing/templateWorkflow.test.mjs::public blank data keeps template/theme/compatibility/compression behavior and its string contract","featureIds":[],"sourcePath":"scripts/testing/templateWorkflow.test.mjs","sourceLine":39,"name":"public blank data keeps template/theme/compatibility/compression behavior and its string contract","status":"passed","durationMs":13.9284},
|
||||
{"testId":"node:scripts/testing/textElementParsing.test.mjs::text survives 1 newline separator(s), including single-character list markers","featureIds":[],"sourcePath":"scripts/testing/textElementParsing.test.mjs","sourceLine":40,"name":"text survives 1 newline separator(s), including single-character list markers","status":"passed","durationMs":2.1039},
|
||||
{"testId":"node:scripts/testing/textElementParsing.test.mjs::text survives 2 newline separator(s), including single-character list markers","featureIds":[],"sourcePath":"scripts/testing/textElementParsing.test.mjs","sourceLine":40,"name":"text survives 2 newline separator(s), including single-character list markers","status":"passed","durationMs":0.35},
|
||||
{"testId":"node:scripts/testing/textElementParsing.test.mjs::text survives 4 newline separator(s), including single-character list markers","featureIds":[],"sourcePath":"scripts/testing/textElementParsing.test.mjs","sourceLine":40,"name":"text survives 4 newline separator(s), including single-character list markers","status":"passed","durationMs":0.2892},
|
||||
{"testId":"node:tests/markdownImageCache.test.mjs::stored display baseline does not invalidate an unchanged SVG render","featureIds":[],"sourcePath":"tests/markdownImageCache.test.mjs","sourceLine":5,"name":"stored display baseline does not invalidate an unchanged SVG render","status":"passed","durationMs":1.5197},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::unresized Markdown image grows to fit edited content","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":14,"name":"unresized Markdown image grows to fit edited content","status":"passed","durationMs":1.5209},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::canvas enlargement survives content growth","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":18,"name":"canvas enlargement survives content growth","status":"passed","durationMs":0.2148},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::canvas reduction and vertical-only resize survive content edits","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":22,"name":"canvas reduction and vertical-only resize survive content edits","status":"passed","durationMs":0.131},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::legacy image without old intrinsic size keeps its display bounds","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":27,"name":"legacy image without old intrinsic size keeps its display bounds","status":"passed","durationMs":0.4951},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::explicit Markdown flow-width edit applies new intrinsic geometry","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":31,"name":"explicit Markdown flow-width edit applies new intrinsic geometry","status":"passed","durationMs":0.158},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::each copy sharing one file ID retains its own canvas size","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":35,"name":"each copy sharing one file ID retains its own canvas size","status":"passed","durationMs":0.1329},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::flow-width change applies new geometry to a shared image copy","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":42,"name":"flow-width change applies new geometry to a shared image copy","status":"passed","durationMs":0.1916},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::content refresh retains a cropped pixel viewport and its canvas scale","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":55,"name":"content refresh retains a cropped pixel viewport and its canvas scale","status":"passed","durationMs":0.3771},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::a crop clamped to a smaller SVG retains its canvas scale","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":65,"name":"a crop clamped to a smaller SVG retains its canvas scale","status":"passed","durationMs":0.304},
|
||||
{"testId":"node:tests/markdownImageGeometry.test.mjs::non-finite offsets from an earlier edge-crop failure are repaired","featureIds":[],"sourcePath":"tests/markdownImageGeometry.test.mjs","sourceLine":73,"name":"non-finite offsets from an earlier edge-crop failure are repaired","status":"passed","durationMs":0.4117},
|
||||
{"testId":"node:tests/markdownImageMetadata.test.mjs::Markdown image records the last rendered SVG size without changing appearance","featureIds":[],"sourcePath":"tests/markdownImageMetadata.test.mjs","sourceLine":5,"name":"Markdown image records the last rendered SVG size without changing appearance","status":"passed","durationMs":1.3896},
|
||||
{"testId":"node:tests/markdownImageSave.test.mjs::saving cropped local Markdown and equations skips file-backed PDF synchronization","featureIds":[],"sourcePath":"tests/markdownImageSave.test.mjs","sourceLine":22,"name":"saving cropped local Markdown and equations skips file-backed PDF synchronization","status":"passed","durationMs":1.3765},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::edited LaTeX updates geometry and its cache version, retaining each copy's scale","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":55,"name":"edited LaTeX updates geometry and its cache version, retaining each copy's scale","status":"passed","durationMs":1.9223},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::area-preserving equation refresh invalidates cached bounds; an unchanged refresh does not","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":68,"name":"area-preserving equation refresh invalidates cached bounds; an unchanged refresh does not","status":"passed","durationMs":0.2728},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::real scaleLoadedImage keeps resized copies and grows an untouched copy on reload","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":96,"name":"real scaleLoadedImage keeps resized copies and grows an untouched copy on reload","status":"passed","durationMs":0.5658},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::real scaleLoadedImage retains ordinary-image scaling and the existing crop path","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":127,"name":"real scaleLoadedImage retains ordinary-image scaling and the existing crop path","status":"passed","durationMs":0.5313},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::ordinary edge-aligned crop stays finite after an intrinsic size change (400x60@0,0)","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":168,"name":"ordinary edge-aligned crop stays finite after an intrinsic size change (400x60@0,0)","status":"passed","durationMs":0.2701},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::ordinary edge-aligned crop stays finite after an intrinsic size change (300x120@100,0)","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":168,"name":"ordinary edge-aligned crop stays finite after an intrinsic size change (300x120@100,0)","status":"passed","durationMs":0.1036},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::Markdown edge-aligned crop stays finite after an intrinsic size change (400x60@0,0)","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":168,"name":"Markdown edge-aligned crop stays finite after an intrinsic size change (400x60@0,0)","status":"passed","durationMs":0.1475},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::Markdown edge-aligned crop stays finite after an intrinsic size change (300x120@100,0)","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":168,"name":"Markdown edge-aligned crop stays finite after an intrinsic size change (300x120@100,0)","status":"passed","durationMs":0.1113},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::a crop-only loader update invalidates the element version once","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":179,"name":"a crop-only loader update invalidates the element version once","status":"passed","durationMs":0.3465},
|
||||
{"testId":"node:tests/markdownImageScaleLoaded.test.mjs::repairing a crop offset marks the Markdown drawing for persistence","featureIds":[],"sourcePath":"tests/markdownImageScaleLoaded.test.mjs","sourceLine":189,"name":"repairing a crop offset marks the Markdown drawing for persistence","status":"passed","durationMs":0.4078},
|
||||
{"testId":"node:tests/markdownImageUpdate.test.mjs::content edits grow untouched images while each resized copy retains its bounds","featureIds":[],"sourcePath":"tests/markdownImageUpdate.test.mjs","sourceLine":49,"name":"content edits grow untouched images while each resized copy retains its bounds","status":"passed","durationMs":86.6492},
|
||||
{"testId":"node:tests/markdownImageUpdate.test.mjs::a resize during rendering uses the live scene dimensions","featureIds":[],"sourcePath":"tests/markdownImageUpdate.test.mjs","sourceLine":57,"name":"a resize during rendering uses the live scene dimensions","status":"passed","durationMs":29.8663},
|
||||
{"testId":"node:tests/markdownImageUpdate.test.mjs::editor width changes resize every copy sharing the file ID","featureIds":[],"sourcePath":"tests/markdownImageUpdate.test.mjs","sourceLine":64,"name":"editor width changes resize every copy sharing the file ID","status":"passed","durationMs":21.0256},
|
||||
{"testId":"node:tests/markdownImageUpdate.test.mjs::a shared copy created during a width render receives the new dimensions","featureIds":[],"sourcePath":"tests/markdownImageUpdate.test.mjs","sourceLine":82,"name":"a shared copy created during a width render receives the new dimensions","status":"passed","durationMs":22.0397},
|
||||
{"testId":"node:tests/markdownImageUpdate.test.mjs::a shared width change rescales the cropped viewport without stretching its copy","featureIds":[],"sourcePath":"tests/markdownImageUpdate.test.mjs","sourceLine":92,"name":"a shared width change rescales the cropped viewport without stretching its copy","status":"passed","durationMs":18.2864},
|
||||
{"testId":"node:tests/markdownImageUpdate.test.mjs::cancelled render and a removed target do not commit or save","featureIds":[],"sourcePath":"tests/markdownImageUpdate.test.mjs","sourceLine":108,"name":"cancelled render and a removed target do not commit or save","status":"passed","durationMs":30.5713},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianExcalidrawHost.test.ts::Obsidian Excalidraw host registry starts without requiring an Obsidian plugin or global app","sourcePath":"packages/excalidraw/obsidianExcalidrawHost.test.ts","title":"Obsidian Excalidraw host registry starts without requiring an Obsidian plugin or global app","featureIds":[],"customizationIds":["OBS-006","OBS-033","OBS-038"],"status":"passed","durationMs":0.9973999999999705},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianExcalidrawHost.test.ts::Obsidian Excalidraw host registry uses safe defaults or an explicit error without a configured host","sourcePath":"packages/excalidraw/obsidianExcalidrawHost.test.ts","title":"Obsidian Excalidraw host registry uses safe defaults or an explicit error without a configured host","featureIds":[],"customizationIds":["OBS-006","OBS-033","OBS-038"],"status":"passed","durationMs":1.945600000000013},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianExcalidrawHost.test.ts::Obsidian Excalidraw host registry routes settings production helpers through a structural fake","sourcePath":"packages/excalidraw/obsidianExcalidrawHost.test.ts","title":"Obsidian Excalidraw host registry routes settings production helpers through a structural fake","featureIds":[],"customizationIds":["OBS-006","OBS-033","OBS-038"],"status":"passed","durationMs":0.5348000000001321},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianExcalidrawHost.test.ts::Obsidian Excalidraw host registry routes plugin services through the structural fake","sourcePath":"packages/excalidraw/obsidianExcalidrawHost.test.ts","title":"Obsidian Excalidraw host registry routes plugin services through the structural fake","featureIds":[],"customizationIds":["OBS-006","OBS-033","OBS-038"],"status":"passed","durationMs":2.7451999999998407},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianExcalidrawHost.test.ts::Obsidian Excalidraw host registry routes single-finger pen-mode panning through the structural fake","sourcePath":"packages/excalidraw/obsidianExcalidrawHost.test.ts","title":"Obsidian Excalidraw host registry routes single-finger pen-mode panning through the structural fake","featureIds":[],"customizationIds":["OBS-006","OBS-033","OBS-038"],"status":"passed","durationMs":0.3871000000001459},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianExcalidrawHost.test.ts::Obsidian Excalidraw host registry disposes registrations idempotently without clearing a newer host","sourcePath":"packages/excalidraw/obsidianExcalidrawHost.test.ts","title":"Obsidian Excalidraw host registry disposes registrations idempotently without clearing a newer host","featureIds":[],"customizationIds":["OBS-006","OBS-033","OBS-038"],"status":"passed","durationMs":0.10719999999992069},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianExcalidrawHost.test.ts::Obsidian Excalidraw host registry rejects an unsupported runtime protocol","sourcePath":"packages/excalidraw/obsidianExcalidrawHost.test.ts","title":"Obsidian Excalidraw host registry rejects an unsupported runtime protocol","featureIds":[],"customizationIds":["OBS-006","OBS-033","OBS-038"],"status":"passed","durationMs":0.1675000000000182},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianText.test.ts::Obsidian text lifecycle does not record a parsed Markdown round trip as a new history edit","sourcePath":"packages/excalidraw/obsidianText.test.ts","title":"Obsidian text lifecycle does not record a parsed Markdown round trip as a new history edit","featureIds":[],"customizationIds":["OBS-009","OBS-033"],"status":"passed","durationMs":6.801199999999881},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianText.test.ts::Obsidian text lifecycle keeps real content, geometry and link changes: { rawText: '[[other]]]' }","sourcePath":"packages/excalidraw/obsidianText.test.ts","title":"Obsidian text lifecycle keeps real content, geometry and link changes: { rawText: '[[other]]]' }","featureIds":[],"customizationIds":["OBS-009","OBS-033"],"status":"passed","durationMs":0.33379999999988286},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianText.test.ts::Obsidian text lifecycle keeps real content, geometry and link changes: { width: 123 }","sourcePath":"packages/excalidraw/obsidianText.test.ts","title":"Obsidian text lifecycle keeps real content, geometry and link changes: { width: 123 }","featureIds":[],"customizationIds":["OBS-009","OBS-033"],"status":"passed","durationMs":0.1560999999996966},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianText.test.ts::Obsidian text lifecycle keeps real content, geometry and link changes: { link: '[[other]]' }","sourcePath":"packages/excalidraw/obsidianText.test.ts","title":"Obsidian text lifecycle keeps real content, geometry and link changes: { link: '[[other]]' }","featureIds":[],"customizationIds":["OBS-009","OBS-033"],"status":"passed","durationMs":0.19889999999986685},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianText.test.ts::Obsidian text lifecycle opens parsed text as raw Markdown and retains it in the scene","sourcePath":"packages/excalidraw/obsidianText.test.ts","title":"Obsidian text lifecycle opens parsed text as raw Markdown and retains it in the scene","featureIds":[],"customizationIds":["OBS-009","OBS-033"],"status":"passed","durationMs":0.3382000000001426},
|
||||
{"testId":"fork-owned:packages/excalidraw/obsidianText.test.ts::Obsidian text lifecycle keeps submitted Markdown separate from parsed display text and its link","sourcePath":"packages/excalidraw/obsidianText.test.ts","title":"Obsidian text lifecycle keeps submitted Markdown separate from parsed display text and its link","featureIds":[],"customizationIds":["OBS-009","OBS-033"],"status":"passed","durationMs":2.3170000000000073},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry starts without requiring an Obsidian plugin or global app","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry starts without requiring an Obsidian plugin or global app","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.973700000000008},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry uses safe defaults when no host is configured","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry uses safe defaults when no host is configured","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.32999999999992724},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry exposes capabilities from a configured structural fake","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry exposes capabilities from a configured structural fake","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.7836999999999534},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry supplies both render-canvas limits without loading the plugin","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry supplies both render-canvas limits without loading the plugin","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.12400000000002365},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry supplies device capabilities without loading the plugin","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry supplies device capabilities without loading the plugin","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.13840000000004693},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry supplies and normalizes the desktop UI mode without loading the plugin","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry supplies and normalizes the desktop UI mode without loading the plugin","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.12439999999992324},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry supplies preferred UI modes for every form factor without loading the plugin","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry supplies preferred UI modes for every form factor without loading the plugin","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.12829999999985375},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry forwards highlight inputs and default opacity without loading the plugin","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry forwards highlight inputs and default opacity without loading the plugin","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.5937999999998738},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry disposes the active registration idempotently","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry disposes the active registration idempotently","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.11200000000008004},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry does not let a stale disposer clear a newer registration","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry does not let a stale disposer clear a newer registration","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.1313000000000102},
|
||||
{"testId":"fork-owned:packages/common/src/commonObsidianHost.test.ts::Obsidian common host registry rejects an unsupported runtime protocol","sourcePath":"packages/common/src/commonObsidianHost.test.ts","title":"Obsidian common host registry rejects an unsupported runtime protocol","featureIds":[],"customizationIds":["OBS-005","OBS-033"],"status":"passed","durationMs":0.7028000000000247},
|
||||
{"testId":"fork-owned:packages/excalidraw/actions/actionToggleFrameRole.test.ts::marker frame role removes frame members and restores them on undo","sourcePath":"packages/excalidraw/actions/actionToggleFrameRole.test.ts","title":"marker frame role removes frame members and restores them on undo","featureIds":[],"customizationIds":["OBS-015","OBS-033"],"status":"passed","durationMs":5.958099999999831},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/App.wheel.obsidian.test.ts::Obsidian wheel minimum (#3008) crosses 10%, stops at 1%, and never snaps back on a further zoom-out","sourcePath":"packages/excalidraw/components/App.wheel.obsidian.test.ts","title":"Obsidian wheel minimum (#3008) crosses 10%, stops at 1%, and never snaps back on a further zoom-out","featureIds":[],"customizationIds":["OBS-028","OBS-033"],"status":"passed","durationMs":7.343000000000302},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/App.wheel.obsidian.test.ts::Obsidian wheel minimum (#3008) reads settings live and still allows zoom-in from below 10%","sourcePath":"packages/excalidraw/components/App.wheel.obsidian.test.ts","title":"Obsidian wheel minimum (#3008) reads settings live and still allows zoom-in from below 10%","featureIds":[],"customizationIds":["OBS-028","OBS-033"],"status":"passed","durationMs":0.6308000000003631},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/App.wheel.obsidian.test.ts::Obsidian wheel minimum (#3008) retains the standalone 10% default","sourcePath":"packages/excalidraw/components/App.wheel.obsidian.test.ts","title":"Obsidian wheel minimum (#3008) retains the standalone 10% default","featureIds":[],"customizationIds":["OBS-028","OBS-033"],"status":"passed","durationMs":0.3079999999999927},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/App.wheel.obsidian.test.ts::Obsidian wheel minimum (#3008) respects scroll constraints with lockZoom=false","sourcePath":"packages/excalidraw/components/App.wheel.obsidian.test.ts","title":"Obsidian wheel minimum (#3008) respects scroll constraints with lockZoom=false","featureIds":[],"customizationIds":["OBS-028","OBS-033"],"status":"passed","durationMs":0.5237999999999374},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/App.wheel.obsidian.test.ts::Obsidian wheel minimum (#3008) respects scroll constraints with lockZoom=true","sourcePath":"packages/excalidraw/components/App.wheel.obsidian.test.ts","title":"Obsidian wheel minimum (#3008) respects scroll constraints with lockZoom=true","featureIds":[],"customizationIds":["OBS-028","OBS-033"],"status":"passed","durationMs":0.45289999999977226},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/App.wheel.obsidian.test.ts::Obsidian wheel minimum (#3008) honors live host maximum above and below 3000% with constraints null","sourcePath":"packages/excalidraw/components/App.wheel.obsidian.test.ts","title":"Obsidian wheel minimum (#3008) honors live host maximum above and below 3000% with constraints null","featureIds":[],"customizationIds":["OBS-028","OBS-033"],"status":"passed","durationMs":2.570799999999963},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/App.wheel.obsidian.test.ts::Obsidian wheel minimum (#3008) honors live host maximum above and below 3000% with constraints {\"x\":0,\"y\":0,\"width\":10000,\"height\":10000,\"lockScroll\":false,\"lockZoom\":false,\"zoom\":1,\"overscroll\":0}","sourcePath":"packages/excalidraw/components/App.wheel.obsidian.test.ts","title":"Obsidian wheel minimum (#3008) honors live host maximum above and below 3000% with constraints {\"x\":0,\"y\":0,\"width\":10000,\"height\":10000,\"lockScroll\":false,\"lockZoom\":false,\"zoom\":1,\"overscroll\":0}","featureIds":[],"customizationIds":["OBS-028","OBS-033"],"status":"passed","durationMs":2.5221999999998843},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/ObsidianRadixPortal.test.tsx::ObsidianRadixPortal portals outside the Excalidraw container while preserving its theme","sourcePath":"packages/excalidraw/components/ObsidianRadixPortal.test.tsx","title":"ObsidianRadixPortal portals outside the Excalidraw container while preserving its theme","featureIds":[],"customizationIds":["OBS-021","OBS-033"],"status":"passed","durationMs":20.00499999999988},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/ObsidianRadixPortal.test.tsx::ObsidianRadixPortal keeps content mounted while mirroring source-container visibility","sourcePath":"packages/excalidraw/components/ObsidianRadixPortal.test.tsx","title":"ObsidianRadixPortal keeps content mounted while mirroring source-container visibility","featureIds":[],"customizationIds":["OBS-021","OBS-033"],"status":"passed","durationMs":5.1568999999999505},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::retains the public root and utility exports","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"retains the public root and utility exports","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":1.2955999999999221},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::preserves legacy raster scale defaults and native dimension truncation","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"preserves legacy raster scale defaults and native dimension truncation","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":16.652399999999943},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::preserves independent getDimensions viewport and drawing scale","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"preserves independent getDimensions viewport and drawing scale","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":2.4521999999997206},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::preserves capped raster dimensions and the uncapped exportScale fallback","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"preserves capped raster dimensions and the uncapped exportScale fallback","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":2.793999999999869},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::preserves SVG scale, transparent background, links, and embedded scene IDs","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"preserves SVG scale, transparent background, links, and embedded scene IDs","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":18.328399999999874},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::excludes PDF markers before canvas/SVG bounds and embedded SVG metadata","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"excludes PDF markers before canvas/SVG bounds and embedded SVG metadata","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":5.932999999999993},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::preserves the global frame palette, disabled decorations and custom label color","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"preserves the global frame palette, disabled decorations and custom label color","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":7.57739999999967},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::uses the single-frame region with square clipping through the legacy adapter","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"uses the single-frame region with square clipping through the legacy adapter","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":4.435599999999795},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::preserves JPEG alias/background/quality and PNG encoding","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"preserves JPEG alias/background/quality and PNG encoding","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":4.285499999999956},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianExport.test.ts::accepts both clipboard option shapes","sourcePath":"packages/excalidraw/tests/obsidianExport.test.ts","title":"accepts both clipboard option shapes","featureIds":[],"customizationIds":["OBS-007","OBS-009","OBS-015","OBS-018","OBS-033"],"status":"passed","durationMs":3.4411999999997533},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianFonts.test.ts::Obsidian font loading loads into an explicitly supplied document without using the main font set","sourcePath":"packages/excalidraw/tests/obsidianFonts.test.ts","title":"Obsidian font loading loads into an explicitly supplied document without using the main font set","featureIds":[],"customizationIds":["OBS-013","OBS-033"],"status":"passed","durationMs":10.190799999999854},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianFonts.test.ts::Obsidian font loading keeps the public Document argument and the new FontFaceSet argument equivalent","sourcePath":"packages/excalidraw/tests/obsidianFonts.test.ts","title":"Obsidian font loading keeps the public Document argument and the new FontFaceSet argument equivalent","featureIds":[],"customizationIds":["OBS-013","OBS-033"],"status":"passed","durationMs":1.2545999999999822},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianFonts.test.ts::Obsidian font loading leaves Local Font registration and loading to the host","sourcePath":"packages/excalidraw/tests/obsidianFonts.test.ts","title":"Obsidian font loading leaves Local Font registration and loading to the host","featureIds":[],"customizationIds":["OBS-013","OBS-033"],"status":"passed","durationMs":0.757799999999861},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianPele.test.tsx::retains host label metrics and raw text when aligning bound shapes","sourcePath":"packages/excalidraw/tests/obsidianPele.test.tsx","title":"retains host label metrics and raw text when aligning bound shapes","featureIds":[],"customizationIds":["OBS-009","OBS-029","OBS-033"],"status":"passed","durationMs":275.79890000000023},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianRenderEnvironment.test.ts::preserves custom pen outlines through each host's path factory","sourcePath":"packages/excalidraw/tests/obsidianRenderEnvironment.test.ts","title":"preserves custom pen outlines through each host's path factory","featureIds":[],"customizationIds":["OBS-014","OBS-018","OBS-027","OBS-033"],"status":"passed","durationMs":12.270999999999958},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianRenderEnvironment.test.ts::keeps baked link opacity separate when editors share an environment","sourcePath":"packages/excalidraw/tests/obsidianRenderEnvironment.test.ts","title":"keeps baked link opacity separate when editors share an environment","featureIds":[],"customizationIds":["OBS-014","OBS-018","OBS-027","OBS-033"],"status":"passed","durationMs":7.538199999999961},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian selection after the upstream extraction selects the topmost unlocked overlap under a locked overlay","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian selection after the upstream extraction selects the topmost unlocked overlap under a locked overlay","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":251.47400000000016},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian selection after the upstream extraction does not select an isolated locked element","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian selection after the upstream extraction does not select an isolated locked element","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":87.69369999999981},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian selection after the upstream extraction cycles only unlocked overlaps and wraps under a locked overlay","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian selection after the upstream extraction cycles only unlocked overlaps and wraps under a locked overlay","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":150.79089999999997},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian selection after the upstream extraction preserves a host-selected group, then cycles it as one unit","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian selection after the upstream extraction preserves a host-selected group, then cycles it as one unit","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":131.8881999999976},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian and upstream selection API coexistence keeps host selection synchronous, including locked search results without expanding groups","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian and upstream selection API coexistence keeps host selection synchronous, including locked search results without expanding groups","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":113.1826000000001},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian and upstream selection API coexistence keeps host z-order changes scoped to the requested element","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian and upstream selection API coexistence keeps host z-order changes scoped to the requested element","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":113.78299999999945},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian and upstream selection API coexistence exposes detached upstream methods with group and locked-element options","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian and upstream selection API coexistence exposes detached upstream methods with group and locked-element options","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":131.324099999998},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian and upstream selection API coexistence keeps marker frames selectable without changing their saved role","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian and upstream selection API coexistence keeps marker frames selectable without changing their saved role","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":63.79729999999836},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian and upstream selection API coexistence derives the new API's lone-arrow line editor from the selection","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian and upstream selection API coexistence derives the new API's lone-arrow line editor from the selection","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":128.54499999999825},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianSelection.test.tsx::Obsidian and upstream selection API coexistence shows upstream link selection without changing host search highlighting","sourcePath":"packages/excalidraw/tests/obsidianSelection.test.tsx","title":"Obsidian and upstream selection API coexistence shows upstream link selection without changing host search highlighting","featureIds":[],"customizationIds":["OBS-029","OBS-033"],"status":"passed","durationMs":131.6323999999986},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianWrap.test.tsx::Obsidian wrap link ownership enables W in full layout only when the layout is not mobile","sourcePath":"packages/excalidraw/tests/obsidianWrap.test.tsx","title":"Obsidian wrap link ownership enables W in full layout only when the layout is not mobile","featureIds":[],"customizationIds":["OBS-009","OBS-010","OBS-015","OBS-022","OBS-032","OBS-033"],"status":"passed","durationMs":215.3764000000001},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianWrap.test.tsx::Obsidian wrap link ownership enables W in tray layout only when the layout is not mobile","sourcePath":"packages/excalidraw/tests/obsidianWrap.test.tsx","title":"Obsidian wrap link ownership enables W in tray layout only when the layout is not mobile","featureIds":[],"customizationIds":["OBS-009","OBS-010","OBS-015","OBS-022","OBS-032","OBS-033"],"status":"passed","durationMs":94.30819999999994},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianWrap.test.tsx::Obsidian wrap link ownership enables W in compact layout only when the layout is not mobile","sourcePath":"packages/excalidraw/tests/obsidianWrap.test.tsx","title":"Obsidian wrap link ownership enables W in compact layout only when the layout is not mobile","featureIds":[],"customizationIds":["OBS-009","OBS-010","OBS-015","OBS-022","OBS-032","OBS-033"],"status":"passed","durationMs":76.61880000000019},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianWrap.test.tsx::Obsidian wrap link ownership enables W in mobile layout only when the layout is not mobile","sourcePath":"packages/excalidraw/tests/obsidianWrap.test.tsx","title":"Obsidian wrap link ownership enables W in mobile layout only when the layout is not mobile","featureIds":[],"customizationIds":["OBS-009","OBS-010","OBS-015","OBS-022","OBS-032","OBS-033"],"status":"passed","durationMs":57.971500000000106},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianWrap.test.tsx::Obsidian wrap link ownership moves explicit links through wrap, unwrap, rewrap and history without losing raw Markdown","sourcePath":"packages/excalidraw/tests/obsidianWrap.test.tsx","title":"Obsidian wrap link ownership moves explicit links through wrap, unwrap, rewrap and history without losing raw Markdown","featureIds":[],"customizationIds":["OBS-009","OBS-010","OBS-015","OBS-022","OBS-032","OBS-033"],"status":"passed","durationMs":119.82940000000008},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianWrap.test.tsx::Obsidian wrap link ownership merges distinct container/text links once and restores the original container on rewrap","sourcePath":"packages/excalidraw/tests/obsidianWrap.test.tsx","title":"Obsidian wrap link ownership merges distinct container/text links once and restores the original container on rewrap","featureIds":[],"customizationIds":["OBS-009","OBS-010","OBS-015","OBS-022","OBS-032","OBS-033"],"status":"passed","durationMs":96.85590000000002},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianWrap.test.tsx::Obsidian wrap link ownership keeps the dark theme when wrapping and unwrapping a selection in a frame","sourcePath":"packages/excalidraw/tests/obsidianWrap.test.tsx","title":"Obsidian wrap link ownership keeps the dark theme when wrapping and unwrapping a selection in a frame","featureIds":[],"customizationIds":["OBS-009","OBS-010","OBS-015","OBS-022","OBS-032","OBS-033"],"status":"passed","durationMs":78.36680000000024},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianWrap.test.tsx::frame edge fixes with Obsidian marker guards contains an edge-aligned thick stroke and clips it as a frame child","sourcePath":"packages/excalidraw/tests/obsidianWrap.test.tsx","title":"frame edge fixes with Obsidian marker guards contains an edge-aligned thick stroke and clips it as a frame child","featureIds":[],"customizationIds":["OBS-009","OBS-010","OBS-015","OBS-022","OBS-032","OBS-033"],"status":"passed","durationMs":1.1282000000001062},
|
||||
{"testId":"fork-owned:packages/excalidraw/tests/obsidianWrap.test.tsx::frame edge fixes with Obsidian marker guards never captures elements into a marker frame, including resize discovery","sourcePath":"packages/excalidraw/tests/obsidianWrap.test.tsx","title":"frame edge fixes with Obsidian marker guards never captures elements into a marker frame, including resize discovery","featureIds":[],"customizationIds":["OBS-009","OBS-010","OBS-015","OBS-022","OBS-032","OBS-033"],"status":"passed","durationMs":0.4956999999999425},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/bootstrap.test.tsx::owned test bootstrap publishes actual App hooks only in the test environment","sourcePath":"tests/obsidian/unit/bootstrap.test.tsx","title":"owned test bootstrap publishes actual App hooks only in the test environment","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":120.01350000000002},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::system font CSS uses the local fallback without fetching nonexistent font content","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"system font CSS uses the local fallback without fetching nonexistent font content","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":3.231600000000981},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::bundled font CSS still embeds the registered font content","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"bundled font CSS still embeds the registered font content","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":0.3852000000006228},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::vault-provided Local Font content remains embedded","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"vault-provided Local Font content remains embedded","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":0.3019000000003871},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::hiding default UI preserves pointer authoring after the scheduled activation","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"hiding default UI preserves pointer authoring after the scheduled activation","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":150.73089999999866},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::pan button 1 forwards the host pointer-down hook before pan ownership","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"pan button 1 forwards the host pointer-down hook before pan ownership","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":68.84479999999894},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::pan button 2 forwards the host pointer-down hook before pan ownership","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"pan button 2 forwards the host pointer-down hook before pan ownership","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":77.35870000000068},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits rectangle and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits rectangle and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":124.41219999999885},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits diamond and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits diamond and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":142.85410000000047},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits ellipse and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits ellipse and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":125.89730000000054},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits arrow and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits arrow and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":141.56259999999747},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits line and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits line and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":94.62850000000253},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits freedraw and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits freedraw and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":111.39940000000206},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits hand and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits hand and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":109.93760000000111},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits eraser and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits eraser and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":128.0573000000004},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits laser and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits laser and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":109.5186999999969},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits text and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits text and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":140.5498000000007},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits frame and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits frame and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":107.41419999999925},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits embeddable and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits embeddable and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":111.93790000000081},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits stickynote and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits stickynote and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":111.02599999999802},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits autoshape and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits autoshape and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":112.20769999999902},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::public tool activation commits bucketfill and returns to selection","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"public tool activation commits bucketfill and returns to selection","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":107.75329999999667},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::toolbar can select rectangle with real scheduling and one unambiguous control","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"toolbar can select rectangle with real scheduling and one unambiguous control","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":111.15290000000095},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::toolbar can select diamond with real scheduling and one unambiguous control","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"toolbar can select diamond with real scheduling and one unambiguous control","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":94.90099999999802},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::toolbar can select ellipse with real scheduling and one unambiguous control","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"toolbar can select ellipse with real scheduling and one unambiguous control","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":92.92320000000109},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::toolbar can select arrow with real scheduling and one unambiguous control","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"toolbar can select arrow with real scheduling and one unambiguous control","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":110.46289999999863},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::toolbar can select line with real scheduling and one unambiguous control","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"toolbar can select line with real scheduling and one unambiguous control","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":108.71359999999913},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::toolbar can select freedraw with real scheduling and one unambiguous control","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"toolbar can select freedraw with real scheduling and one unambiguous control","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":92.19499999999971},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::host-forced tool and scene updates coexist after initialization","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"host-forced tool and scene updates coexist after initialization","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":72.6330999999991},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::bound host text, links and unknown data survive JSON restore","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"bound host text, links and unknown data survive JSON restore","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":12.387300000002142},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/coreRegression.test.tsx::library updates render independently of the drawing","sourcePath":"tests/obsidian/unit/coreRegression.test.tsx","title":"library updates render independently of the drawing","featureIds":[],"customizationIds":["OBS-033","OBS-013"],"status":"passed","durationMs":100.8159999999989},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::classifies mobile editor 598 x 900 as phone","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"classifies mobile editor 598 x 900 as phone","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":1.1520000000000437},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::classifies mobile editor 599 x 900 as phone","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"classifies mobile editor 599 x 900 as phone","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":0.12770000000000437},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::classifies mobile editor 600 x 900 as tablet","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"classifies mobile editor 600 x 900 as tablet","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":0.1087999999999738},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::classifies mobile editor 999 x 499 as phone","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"classifies mobile editor 999 x 499 as phone","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":0.05870000000004438},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::classifies mobile editor 1000 x 499 as desktop","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"classifies mobile editor 1000 x 499 as desktop","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":0.05499999999983629},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::classifies mobile editor 1001 x 499 as desktop","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"classifies mobile editor 1001 x 499 as desktop","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":0.053100000000085856},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::classifies mobile editor 999 x 500 as desktop","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"classifies mobile editor 999 x 500 as desktop","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":0.054300000000012005},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::classifies mobile editor 999 x 501 as desktop","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"classifies mobile editor 999 x 501 as desktop","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":0.0521000000001095},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::narrow desktop remains desktop and a tablet host remains tablet beyond width thresholds","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"narrow desktop remains desktop and a tablet host remains tablet beyond width thresholds","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":0.18470000000002074},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/deviceBoundaries.test.ts::phone preference and allowMobile are live semantic capabilities","sourcePath":"tests/obsidian/unit/deviceBoundaries.test.ts","title":"phone preference and allowMobile are live semantic capabilities","featureIds":[],"customizationIds":["OBS-022","OBS-028","OBS-033"],"status":"passed","durationMs":0.18219999999996617},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/imageVariants.test.ts::saved host image variants 'raster' opacity=+0 locked=false cropped=false preserves shared-source geometry","sourcePath":"tests/obsidian/unit/imageVariants.test.ts","title":"saved host image variants 'raster' opacity=+0 locked=false cropped=false preserves shared-source geometry","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":4.898099999999886},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/imageVariants.test.ts::saved host image variants 'raster' opacity=50 locked=true cropped=true preserves shared-source geometry","sourcePath":"tests/obsidian/unit/imageVariants.test.ts","title":"saved host image variants 'raster' opacity=50 locked=true cropped=true preserves shared-source geometry","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":0.7348999999999251},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/imageVariants.test.ts::saved host image variants 'svg' opacity=100 locked=false cropped=true preserves shared-source geometry","sourcePath":"tests/obsidian/unit/imageVariants.test.ts","title":"saved host image variants 'svg' opacity=100 locked=false cropped=true preserves shared-source geometry","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":0.5403999999998632},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/imageVariants.test.ts::saved host image variants 'pdf-page' opacity=100 locked=true cropped=false preserves shared-source geometry","sourcePath":"tests/obsidian/unit/imageVariants.test.ts","title":"saved host image variants 'pdf-page' opacity=100 locked=true cropped=false preserves shared-source geometry","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":0.5145000000002256},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/imageVariants.test.ts::saved host image variants 'svg' opacity=+0 locked=true cropped=false preserves shared-source geometry","sourcePath":"tests/obsidian/unit/imageVariants.test.ts","title":"saved host image variants 'svg' opacity=+0 locked=true cropped=false preserves shared-source geometry","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":0.4820999999997184},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/imageVariants.test.ts::saved host image variants 'pdf-page' opacity=+0 locked=false cropped=true preserves shared-source geometry","sourcePath":"tests/obsidian/unit/imageVariants.test.ts","title":"saved host image variants 'pdf-page' opacity=+0 locked=false cropped=true preserves shared-source geometry","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":0.5020999999997002},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/imageVariants.test.ts::saved host image variants 'svg' opacity=50 locked=false cropped=false preserves shared-source geometry","sourcePath":"tests/obsidian/unit/imageVariants.test.ts","title":"saved host image variants 'svg' opacity=50 locked=false cropped=false preserves shared-source geometry","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":0.565599999999904},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/imageVariants.test.ts::saved host image variants 'raster' opacity=100 locked=false cropped=false preserves shared-source geometry","sourcePath":"tests/obsidian/unit/imageVariants.test.ts","title":"saved host image variants 'raster' opacity=100 locked=false cropped=false preserves shared-source geometry","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":0.563600000000406},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/imageVariants.test.ts::saved host image variants 'pdf-page' opacity=50 locked=false cropped=false preserves shared-source geometry","sourcePath":"tests/obsidian/unit/imageVariants.test.ts","title":"saved host image variants 'pdf-page' opacity=50 locked=false cropped=false preserves shared-source geometry","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":0.5185999999998785},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/testIdentities.test.ts::retains each reviewed occurrence and its original status","sourcePath":"tests/obsidian/unit/testIdentities.test.ts","title":"retains each reviewed occurrence and its original status","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":2.7136999999997897},
|
||||
{"testId":"fork-owned:tests/obsidian/unit/testIdentities.test.ts::rejects unknown collisions, changed occurrence counts and obsolete exemptions","sourcePath":"tests/obsidian/unit/testIdentities.test.ts","title":"rejects unknown collisions, changed occurrence counts and obsolete exemptions","featureIds":[],"customizationIds":["OBS-033"],"status":"passed","durationMs":5.567900000000009},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts::host-provided Mermaid loading retains the public loaded/api shape and shares only the host service","sourcePath":"packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts","title":"host-provided Mermaid loading retains the public loaded/api shape and shares only the host service","featureIds":[],"customizationIds":["OBS-030"],"status":"passed","durationMs":226.72990000000004},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts::host-provided Mermaid loading preserves editable image source without mutating readonly converter skeletons","sourcePath":"packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts","title":"host-provided Mermaid loading preserves editable image source without mutating readonly converter skeletons","featureIds":[],"customizationIds":["OBS-030"],"status":"passed","durationMs":126.48019999999997},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts::host-provided Mermaid loading yields to activation and retries after the host is enabled","sourcePath":"packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts","title":"host-provided Mermaid loading yields to activation and retries after the host is enabled","featureIds":[],"customizationIds":["OBS-030"],"status":"passed","durationMs":119.39570000000026},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts::host-provided Mermaid loading retries a rejected host request without retaining a failed cache","sourcePath":"packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts","title":"host-provided Mermaid loading retries a rejected host request without retaining a failed cache","featureIds":[],"customizationIds":["OBS-030"],"status":"passed","durationMs":140.78240000000005},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts::host-provided Mermaid loading releases a rejected host module so a UI retry can obtain a new API","sourcePath":"packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts","title":"host-provided Mermaid loading releases a rejected host module so a UI retry can obtain a new API","featureIds":[],"customizationIds":["OBS-030"],"status":"passed","durationMs":113.05380000000014},
|
||||
{"testId":"fork-owned:packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts::host-provided Mermaid loading forwards config and reports only chunk failures against the exact API","sourcePath":"packages/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.test.ts","title":"host-provided Mermaid loading forwards config and reports only chunk failures against the exact API","featureIds":[],"customizationIds":["OBS-030"],"status":"passed","durationMs":101.32549999999992},
|
||||
{"testId":"fork-browser:production:real-editor-roundtrip","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"elements":1,"width":900,"height":700}},
|
||||
{"testId":"fork-browser:production:trusted-pointer-and-undo","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["real toolbar selects rectangle after its scheduled commit","trusted pointer draws a shape","keyboard undo preserves the original scene"],"elements":[{"type":"rectangle","width":120,"height":80},{"type":"rectangle","width":150,"height":100}],"pointers":[{"trusted":true,"pointerType":"mouse"}]}},
|
||||
{"testId":"fork-browser:production:scheduled-tools-still-author","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["each fork-scheduled tool authors through trusted input","one gesture creates exactly one correctly sized upstream element"],"authored":[{"type":"rectangle","width":160,"height":100},{"type":"diamond","width":160,"height":100},{"type":"ellipse","width":160,"height":100},{"type":"arrow","width":160,"height":100},{"type":"line","width":160,"height":100},{"type":"freedraw","width":160,"height":100}]}},
|
||||
{"testId":"fork-browser:production:selection-group-delete-history","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["trusted select-all and grouping","delete/undo/redo retain IDs, groups, host links and metadata"],"ids":["5oxr3-8Q4NF9GtlkpkorB","Od2dtUFWm8PN9O640MpiD"]}},
|
||||
{"testId":"fork-browser:production:library-search-and-portal-menu","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["trusted Escape clears library search and retains sidebar","load control is visible through its real portal","library changes do not modify scene"]}},
|
||||
{"testId":"fork-browser:production:decoded-png-and-svg","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"svgWidth":"120","width":120,"height":80,"pixel":[255,0,0,255]}},
|
||||
{"testId":"fork-browser:production:offline-font-and-unicode-export","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["actual Excalifont face loaded","Unicode source preserved","font embedded into SVG","PNG text paints nonempty pixels"],"fontFaces":2,"width":222,"height":35,"painted":1988}},
|
||||
{"testId":"fork-browser:production:two-owning-documents","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"owningDocument":true,"survivingElements":1}},
|
||||
{"testId":"fork-browser:production:offline-cleanup","featureIds":["P11"],"status":"passed","assertions":["no external resources","no page errors","both roots unmounted"]},
|
||||
{"testId":"fork-browser:development:real-editor-roundtrip","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"elements":1,"width":900,"height":700}},
|
||||
{"testId":"fork-browser:development:trusted-pointer-and-undo","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["real toolbar selects rectangle after its scheduled commit","trusted pointer draws a shape","keyboard undo preserves the original scene"],"elements":[{"type":"rectangle","width":120,"height":80},{"type":"rectangle","width":150,"height":100}],"pointers":[{"trusted":true,"pointerType":"mouse"}]}},
|
||||
{"testId":"fork-browser:development:scheduled-tools-still-author","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["each fork-scheduled tool authors through trusted input","one gesture creates exactly one correctly sized upstream element"],"authored":[{"type":"rectangle","width":160,"height":100},{"type":"diamond","width":160,"height":100},{"type":"ellipse","width":160,"height":100},{"type":"arrow","width":160,"height":100},{"type":"line","width":160,"height":100},{"type":"freedraw","width":160,"height":100}]}},
|
||||
{"testId":"fork-browser:development:selection-group-delete-history","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["trusted select-all and grouping","delete/undo/redo retain IDs, groups, host links and metadata"],"ids":["UE9AIh5HAIdfvgQDgSPGi","UqZ448lswsJe5JxBwdTlY"]}},
|
||||
{"testId":"fork-browser:development:library-search-and-portal-menu","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["trusted Escape clears library search and retains sidebar","load control is visible through its real portal","library changes do not modify scene"]}},
|
||||
{"testId":"fork-browser:development:decoded-png-and-svg","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"svgWidth":"120","width":120,"height":80,"pixel":[255,0,0,255]}},
|
||||
{"testId":"fork-browser:development:offline-font-and-unicode-export","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"assertions":["actual Excalifont face loaded","Unicode source preserved","font embedded into SVG","PNG text paints nonempty pixels"],"fontFaces":2,"width":222,"height":35,"painted":1988}},
|
||||
{"testId":"fork-browser:development:two-owning-documents","featureIds":["P01","P03","P09"],"status":"passed","evidence":{"owningDocument":true,"survivingElements":1}},
|
||||
{"testId":"fork-browser:development:offline-cleanup","featureIds":["P11"],"status":"passed","assertions":["no external resources","no page errors","both roots unmounted"]},
|
||||
{"testId":"node:scripts/testing/activation.source.test.mjs::all service gates reject disabled operations and permanent activation persists only the chosen setting","featureIds":[],"sourcePath":"scripts/testing/activation.source.test.mjs","sourceLine":36,"name":"all service gates reject disabled operations and permanent activation persists only the chosen setting","status":"passed","durationMs":127.3313},
|
||||
{"testId":"node:scripts/testing/activation.source.test.mjs::session and timed activation replace timers without writing permanent preferences","featureIds":[],"sourcePath":"scripts/testing/activation.source.test.mjs","sourceLine":49,"name":"session and timed activation replace timers without writing permanent preferences","status":"passed","durationMs":55.5886},
|
||||
{"testId":"node:scripts/testing/activation.source.test.mjs::temporary expiry restores the permanent preference rather than disabling a permanent feature","featureIds":[],"sourcePath":"scripts/testing/activation.source.test.mjs","sourceLine":56,"name":"temporary expiry restores the permanent preference rather than disabling a permanent feature","status":"passed","durationMs":48.2139},
|
||||
{"testId":"node:scripts/testing/activation.source.test.mjs::unload clears temporary state and old API references cannot reactivate a service","featureIds":[],"sourcePath":"scripts/testing/activation.source.test.mjs","sourceLine":62,"name":"unload clears temporary state and old API references cannot reactivate a service","status":"passed","durationMs":41.5388},
|
||||
{"testId":"node:scripts/testing/activation.source.test.mjs::MathJax initialization failure is contained and explicit activation can retry","featureIds":[],"sourcePath":"scripts/testing/activation.source.test.mjs","sourceLine":68,"name":"MathJax initialization failure is contained and explicit activation can retry","status":"passed","durationMs":42.3393},
|
||||
{"testId":"node:scripts/testing/activation.source.test.mjs::unknown settings survive migration and only recognized boolean legacy flags are adopted","featureIds":[],"sourcePath":"scripts/testing/activation.source.test.mjs","sourceLine":76,"name":"unknown settings survive migration and only recognized boolean legacy flags are adopted","status":"passed","durationMs":38.1332},
|
||||
{"testId":"node:scripts/testing/filesystem.source.test.mjs::actual filesystem reads owned UTF-8 and binary files with spaces/Unicode and exact byte ranges","featureIds":[],"sourcePath":"scripts/testing/filesystem.source.test.mjs","sourceLine":11,"name":"actual filesystem reads owned UTF-8 and binary files with spaces/Unicode and exact byte ranges","status":"passed","durationMs":7.8786},
|
||||
{"testId":"node:scripts/testing/filesystem.source.test.mjs::binary subviews never expose surrounding bytes from a shared buffer","featureIds":[],"sourcePath":"scripts/testing/filesystem.source.test.mjs","sourceLine":21,"name":"binary subviews never expose surrounding bytes from a shared buffer","status":"passed","durationMs":0.2295},
|
||||
{"testId":"node:scripts/testing/filesystem.source.test.mjs::unavailable capability, malformed encoding, callback failures and invalid data reject explicitly","featureIds":[],"sourcePath":"scripts/testing/filesystem.source.test.mjs","sourceLine":27,"name":"unavailable capability, malformed encoding, callback failures and invalid data reject explicitly","status":"passed","durationMs":0.5312},
|
||||
{"testId":"node:scripts/testing/filesystem.source.test.mjs::PDF named sizes and custom pixel dimensions retain the documented 96-DPI conversion","featureIds":[],"sourcePath":"scripts/testing/filesystem.source.test.mjs","sourceLine":40,"name":"PDF named sizes and custom pixel dimensions retain the documented 96-DPI conversion","status":"passed","durationMs":0.3197},
|
||||
{"testId":"node:scripts/testing/latexTooltipPositioning.test.mjs::positions previews in main, restored and newly opened windows without duplicate observers","featureIds":[],"sourcePath":"scripts/testing/latexTooltipPositioning.test.mjs","sourceLine":83,"name":"positions previews in main, restored and newly opened windows without duplicate observers","status":"passed","durationMs":1.2701},
|
||||
{"testId":"node:scripts/testing/latexTooltipPositioning.test.mjs::closing a popout disconnects only its observers; unload disconnects every remaining observer","featureIds":[],"sourcePath":"scripts/testing/latexTooltipPositioning.test.mjs","sourceLine":102,"name":"closing a popout disconnects only its observers; unload disconnects every remaining observer","status":"passed","durationMs":0.2415},
|
||||
{"testId":"node:scripts/testing/latexTooltipPositioning.test.mjs::a deferred layout callback cannot install observers after plugin unload","featureIds":[],"sourcePath":"scripts/testing/latexTooltipPositioning.test.mjs","sourceLine":115,"name":"a deferred layout callback cannot install observers after plugin unload","status":"passed","durationMs":0.1227},
|
||||
{"testId":"node:scripts/testing/mermaid.test.mjs::advertises the exact converter version supplied by Extras","featureIds":[],"sourcePath":"scripts/testing/mermaid.test.mjs","sourceLine":7,"name":"advertises the exact converter version supplied by Extras","status":"passed","durationMs":1.21},
|
||||
{"testId":"node:scripts/testing/mermaid.test.mjs::loads flowchart and preserves its headless SVG fallback","featureIds":[],"sourcePath":"scripts/testing/mermaid.test.mjs","sourceLine":17,"name":"loads flowchart and preserves its headless SVG fallback","status":"passed","durationMs":80.3406},
|
||||
{"testId":"node:scripts/testing/mermaid.test.mjs::loads sequence and preserves its headless SVG fallback","featureIds":[],"sourcePath":"scripts/testing/mermaid.test.mjs","sourceLine":17,"name":"loads sequence and preserves its headless SVG fallback","status":"passed","durationMs":4.5727},
|
||||
{"testId":"node:scripts/testing/mermaid.test.mjs::reports syntax errors and enforces caller text limits","featureIds":[],"sourcePath":"scripts/testing/mermaid.test.mjs","sourceLine":33,"name":"reports syntax errors and enforces caller text limits","status":"passed","durationMs":0.9019},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::PDF success preserves page options, clones content, and restores only owned resources","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":27,"name":"PDF success preserves page options, clones content, and restores only owned resources","status":"passed","durationMs":2.34},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::invalid page dimensions and clone errors cannot leave print DOM or adopted styles behind","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":31,"name":"invalid page dimensions and clone errors cannot leave print DOM or adopted styles behind","status":"passed","durationMs":0.6176},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::IPC send failure removes the completion listener as well as DOM and styles","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":36,"name":"IPC send failure removes the completion listener as well as DOM and styles","status":"passed","durationMs":0.2474},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::PDF remains pending beyond two minutes with resources intact until real completion","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":40,"name":"PDF remains pending beyond two minutes with resources intact until real completion","status":"passed","durationMs":0.3753},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::a popout print uses the content document and its Electron endpoint","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":58,"name":"a popout print uses the content document and its Electron endpoint","status":"passed","durationMs":0.2691},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::missing Electron fails before allocating any print resources","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":62,"name":"missing Electron fails before allocating any print resources","status":"passed","durationMs":0.2316},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::IPC listener registration failure clears print resources","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":67,"name":"IPC listener registration failure clears print resources","status":"passed","durationMs":0.2481},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::independent owning documents may print concurrently","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":72,"name":"independent owning documents may print concurrently","status":"passed","durationMs":0.2823},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::print DOM allocation and append failures release styles and permit a later export","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":80,"name":"print DOM allocation and append failures release styles and permit a later export","status":"passed","durationMs":0.3185},
|
||||
{"testId":"node:scripts/testing/pdf.source.test.mjs::non-Error IPC rejection remains an Error and releases the owning document","featureIds":[],"sourcePath":"scripts/testing/pdf.source.test.mjs","sourceLine":91,"name":"non-Error IPC rejection remains an Error and releases the owning document","status":"passed","durationMs":0.2357},
|
||||
{"testId":"node:scripts/testing/settings.source.test.mjs::actual settings legacy path preserves transient labels and writes explicit permanent choice","featureIds":[],"sourcePath":"scripts/testing/settings.source.test.mjs","sourceLine":4,"name":"actual settings legacy path preserves transient labels and writes explicit permanent choice","status":"passed","durationMs":71.0464},
|
||||
{"testId":"node:scripts/testing/settings.source.test.mjs::actual settings declarative path preserves transient labels and writes explicit permanent choice","featureIds":[],"sourcePath":"scripts/testing/settings.source.test.mjs","sourceLine":4,"name":"actual settings declarative path preserves transient labels and writes explicit permanent choice","status":"passed","durationMs":16.2195},
|
||||
{"testId":"extras-browser:activation-and-real-mathjax","featureIds":[],"status":"passed","evidence":{"assertions":["disabled service returns null","real MathJax draws offline SVG","decoded nonempty pixels","positive dimensions","session enable does not persist"],"width":79,"height":57,"nontransparent":724}},
|
||||
{"testId":"extras-browser:strict-error-recovery","featureIds":[],"status":"passed","evidence":{"assertions":["strict invalid TeX rejects","next valid render succeeds"]}},
|
||||
{"testId":"extras-browser:real-mermaid-editable-and-image","featureIds":[],"status":"passed","evidence":{"assertions":["disabled Mermaid rejects","real flowchart retains editable text and arrow","image-only diagram decodes visible SVG pixels"],"editableElements":3,"files":1,"painted":46684}},
|
||||
{"testId":"extras-browser:desktop-capabilities-and-unload","featureIds":[],"status":"passed","evidence":{"assertions":["missing Electron rejects before allocation","old API cannot reactivate after unload","owned observers disposed"]}}
|
||||
],
|
||||
"failedSuites": [],
|
||||
"profile": "portable",
|
||||
"gates": [
|
||||
{"suiteId":"plugin-source-coverage","status":"passed","cleanup":"passed"},
|
||||
{"suiteId":"fork-package","status":"passed","cleanup":"passed"},
|
||||
{"suiteId":"extras-package","status":"passed","cleanup":"passed"}
|
||||
],
|
||||
"scope": "Independent fork contracts and affected editing workflows; plugin fixtures/source tests, built renderers, package contracts, native CLI/EA authoring, main/popout lifecycle and 40 device/layout cases. Isolated restart and physical devices need separate environments; see TESTING_FINDINGS_3022.md.",
|
||||
"sources": {
|
||||
"plugin": {"commit":"fd32ac682e2aadc0f982fa23d36da482011117f9","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c"},
|
||||
"fork": {"commit":"053a3b9f9e77917c457fce8ca9453d38b92a303b","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"5c64a40db44edf20c89888704dd8c2fa073dbc833bdaa5f8a6d0cf162ecaa909"},
|
||||
"extras": {"commit":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","dirty":false,"diffHash":"4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945","lockfileHash":"4773e2de84c7606e94b7eddf5a93957d418d1b0e1bd35091553b01b37d35f8ab"}
|
||||
},
|
||||
"changeCounts": {
|
||||
"policy": "New/reused identity accounting only; a call or inventory entry does not establish behavior.",
|
||||
"lanes": [{"suiteId":"plugin-fast","total":488,"reused":434,"new":54,"passed":488},{"suiteId":"fork-owned","total":127,"reused":115,"new":12,"passed":127},{"suiteId":"fork-browser","total":18,"reused":18,"new":0,"passed":18},{"suiteId":"extras-source","total":29,"reused":27,"new":2,"passed":29},{"suiteId":"extras-browser","total":4,"reused":4,"new":0,"passed":4}],
|
||||
"removedOrReplaced": ["node:scripts/testing/pdf.source.test.mjs::missing completion has a bounded deadline and late acknowledgement has no remaining listener","node:scripts/testing/pdf.source.test.mjs::IPC listener registration failure clears its deadline and print resources","node:scripts/testing/pdf.source.test.mjs::overlapping exports in one document reject without consuming the first completion"],
|
||||
"notRunInProfile": ["plugin-load","drawing-main-window","native:lifecycle-two-split-fullscreen","native:lifecycle-dirty-main-to-popout","native:lifecycle-dirty-popout-to-main","native:lifecycle-new-popout-survivor","native:lifecycle-plugin-reload","native:extras-mathjax-gateway","native:extras-mermaid-gateway","native:extras-pdf-output","native:data-roundtrip:Uncompressed.excalidraw.md","native:data-roundtrip:Compressed.excalidraw.md","native:data-roundtrip:Legacy.excalidraw","native:data-backup","native:data-external-change","native:data-write-failure","native:data-rename-delete","workflow-fixes-3020","lucide-3019","wheel-zoom-3008","image-geometry-real-3014","web-drop-2967","internal-drop-tooltip","text-undo-2976","native-cli-authoring","markdown-embed-recovery-2953","grouped-link-click","latex-input-2970","native:ea-shapes-bindings-and-isolation","native:ea-edit-image-and-decoded-export","native:ea-svg-import-and-disposal","native:core-toolbar-draw-history","native:core-custom-highlighter","native:core-eraser-and-undo","native:core-laser-transient","native:pdf-reference-and-decoded-content","native:stability-roundtrip:0","native:stability-roundtrip:1","native:stability-roundtrip:2","native:stability-roundtrip:3","native:stability-roundtrip:4","native:stability-roundtrip:5","javascript-errors","source-stability","native:device:desktop-wide-full-light","native:device:desktop-wide-tray-light","native:device:desktop-wide-compact-light","native:device:desktop-narrow-full-light","native:device:desktop-narrow-tray-light","native:device:desktop-narrow-compact-light","native:device:phone-portrait-light","native:device:phone-landscape-light","native:device:tablet-portrait-full-light","native:device:tablet-portrait-tray-light","native:device:tablet-portrait-compact-light","native:device:tablet-landscape-full-light","native:device:tablet-landscape-tray-light","native:device:tablet-landscape-compact-light","native:device:desktop-wide-full-dark","native:device:desktop-wide-tray-dark","native:device:desktop-wide-compact-dark","native:device:desktop-narrow-full-dark","native:device:desktop-narrow-tray-dark","native:device:desktop-narrow-compact-dark","native:device:phone-portrait-dark","native:device:phone-landscape-dark","native:device:tablet-portrait-full-dark","native:device:tablet-portrait-tray-dark","native:device:tablet-portrait-compact-dark","native:device:tablet-landscape-full-dark","native:device:tablet-landscape-tray-dark","native:device:tablet-landscape-compact-dark","native:device:breakpoint-mobile-width-598","native:device:breakpoint-mobile-width-599","native:device:breakpoint-mobile-width-600","native:device:breakpoint-sidebar-width-799","native:device:breakpoint-sidebar-width-800","native:device:breakpoint-sidebar-width-801","native:device:breakpoint-landscape-width-999","native:device:breakpoint-landscape-width-1000","native:device:breakpoint-landscape-width-1001","native:device:breakpoint-landscape-height-499","native:device:breakpoint-landscape-height-500","native:device:breakpoint-landscape-height-501"],
|
||||
"native": {"pluginCommandCases":0,"hostEAAndTrustedInputCases":0,"emulatedContextCases":0,"physicalDeviceCases":0,"commandCaseIds":[],"mobileProtocolCases":0,"mobileProtocolCaseIds":[]},
|
||||
"newCaseIds": ["node:scripts/testing/canvasNodeFocus.test.mjs::internal preview construction preserves the active editor and renders the requested file","node:scripts/testing/canvasNodeFocus.test.mjs::replacing an internal preview preserves focus and replaces only its registered node","node:scripts/testing/canvasNodeFocus.test.mjs::explicit embedded-note editing still enters the editor and acquires focus","node:scripts/testing/canvasNodeFocus.test.mjs::the old default-focus path reproduces the missing-editor toolbar failure","node:scripts/testing/coverageChanges.test.mjs::new/reused accounting separates plugin CLI commands, host tasks and mobile emulation without inferring passes","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-01","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-02","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-03","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-04","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-05","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-06","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-07","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-08","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-09","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-10","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-11","node:scripts/testing/frontmatter.source.test.mjs::prepared export pairwise precedence export-12","node:scripts/testing/frontmatter.source.test.mjs::export overrides preserve explicit false and zero while invalid scales retain defaults","node:scripts/testing/frontmatter.source.test.mjs::autoexport format overrides keep both-theme intent and fall back for missing or unrecognized values","node:scripts/testing/host/behaviorDecoding.test.mjs::actual behavior decoder requests CORS before loading and never attaches a canvas to the workspace","node:scripts/testing/host/behaviorDecoding.test.mjs::missing-source setup retires the old editor before deleting its file","node:scripts/testing/host/browserDiagnostics.test.mjs::only the exact browser notification without an Error object is diagnostic","node:scripts/testing/host/browserDiagnostics.test.mjs::large raw notification evidence is retrieved in bounded pages without chasing new events","node:scripts/testing/host/browserDiagnostics.test.mjs::CLI classification retains raw lines and rejects exceptions, suffixes and unknown formats","node:scripts/testing/host/browserDiagnostics.test.mjs::a stable quiet window settles without altering browser events or geometry","node:scripts/testing/host/browserDiagnostics.test.mjs::persistent notification storms fail the bounded idle check","node:scripts/testing/host/browserDiagnostics.test.mjs::unstable geometry fails even without any notification","node:scripts/testing/host/debuggerSession.test.mjs::renderer scheduling is scoped and restores both original background-throttling values","node:scripts/testing/host/debuggerSession.test.mjs::expected missing-asset diagnostics cannot hide exceptions, extra fields, another source or repeated errors","node:scripts/testing/host/debuggerSession.test.mjs::truncated console objects expose the actual native error and complete own properties","node:scripts/testing/host/inAppTask.test.mjs::collecting independent behavioral failures retains strict failed acceptance","node:scripts/testing/host/inAppTask.test.mjs::tool deadlines retain unsettled native print resources and never claim cancellation","node:scripts/testing/host/markdownImageClose.test.mjs::Markdown-image fixture retirement waits for asynchronous owner release and persistence","node:scripts/testing/host/markdownImageClose.test.mjs::a close deadline fails and retains the live owner without cancelling native work","node:scripts/testing/host/nativeStateEvidence.test.mjs::passive native state reads preserve settings, layout, focus and scheduling without exposing values","node:scripts/testing/host/nativeStateEvidence.test.mjs::passive case evidence preserves original failure and captures cleanup without restoring state","node:scripts/testing/host/stability.test.mjs::failed stability loading retires the owned leaf before deleting its file","node:scripts/testing/host/textUndoDiagnostics.test.mjs::text-history diagnostics preserve owning window, leaked active target, controls and actual stack depths without mutation","node:scripts/testing/host/textUndoDiagnostics.test.mjs::missing and hidden history controls remain unavailable evidence and cyclic private fibers stay bounded","node:scripts/testing/host/teLine truncated
|
||||
}
|
||||
},
|
||||
"productionAudit": {
|
||||
"scope": "PDF timeout/concurrency rollback, plus the maintainer-authorized plain-PDF, local-font and internal Canvas-node focus fixes of 2026-10-29 and their release notes; no other production changes.",
|
||||
"baselines": {
|
||||
"plugin": "afd763e60ce486096bde2954f73bd5988a793660",
|
||||
"fork": "e0cf824c6225d02f48b98c30c5b79d6ab8536c35",
|
||||
"extras": "e37c06feff9fef48877f565328762433a676afcc"
|
||||
},
|
||||
"repositories": {
|
||||
"plugin": {"head":"fd32ac682e2aadc0f982fa23d36da482011117f9","productionPathsChanged":["src/shared/Dialogs/Messages.ts","src/shared/EmbeddedFileLoader.ts","src/view/managers/CanvasNodeFactory.ts"],"diff":"diff --git a/src/shared/Dialogs/Messages.ts b/src/shared/Dialogs/Messages.ts\nindex b1d1f844..f7ec2f69 100644\n--- a/src/shared/Dialogs/Messages.ts\n+++ b/src/shared/Dialogs/Messages.ts\n@@ -30,6 +30,9 @@ I build this plugin as a labor of love. Curious about the philosophy behind it?\n - Added opt-in image inventory, bounded image labels/tags, mixed-fidelity SVG/PNG previews and output limits. Originals remain untouched and full fidelity stays the default. [#3004](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_ISSUES}/3004)\n \n ## Fixed\n+- Embedded Markdown previews no longer take editor focus when they load, avoiding a mobile toolbar error. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n+- Importing a PDF file through ExcalidrawAutomate loads page 1 when no page reference is supplied. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n+- Markdown images using Helvetica no longer try to fetch a nonexistent font file. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - Autosave recovers after an unexpected save error instead of remaining busy. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - The private React runtime uses browser scheduling to avoid Node event-loop errors when closing popout windows. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - Template choices show their folder paths and offer **Blank drawing** first. Escape or dismissal cancels interactive creation without creating a drawing, folder or embed. [#2649](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_ISSUES}/2649)\ndiff --git a/src/shared/EmbeddedFileLoader.ts b/src/shared/EmbeddedFileLoader.ts\nindex e211344e..bdbc1656 100644\n--- a/src/shared/EmbeddedFileLoader.ts\n+++ b/src/shared/EmbeddedFileLoader.ts\n@@ -2197,8 +2197,7 @@ export class EmbeddedFilesLoader {\n }\n \n const scale = requestedScale;\n- const cropRect = linkParts.ref\n- .split(\"rect=\")[1]\n+ const cropRect = linkParts.ref?.split(\"rect=\")[1]\n ?.split(\",\")\n .map((x) => parseInt(x));\n const validRect =\ndiff --git a/src/view/managers/CanvasNodeFactory.ts b/src/view/managers/CanvasNodeFactory.ts\nindex e7833dd7..c106b6c6 100644\n--- a/src/view/managers/CanvasNodeFactory.ts\n+++ b/src/view/managers/CanvasNodeFactory.ts\n@@ -32,6 +32,7 @@ interface ObsidianCanvas {\n file: TFile;\n subpath: string;\n save: boolean;\n+ focus: boolean;\n }) => ObsidianCanvasNode;\n removeNode: (node: ObsidianCanvasNode) => void;\n }\n@@ -148,6 +149,8 @@ export class CanvasNodeFactory {\n file,\n subpath,\n save: false,\n+ // Internal preview creation must not take the workspace's active editor.\n+ focus: false,\n });\n node.setFilePath(file.path, subpath);\n node.render();\n"},
|
||||
"fork": {"head":"053a3b9f9e77917c457fce8ca9453d38b92a303b","productionPathsChanged":["packages/excalidraw/obsidianUtils.ts"],"diff":"diff --git a/packages/excalidraw/obsidianUtils.ts b/packages/excalidraw/obsidianUtils.ts\nindex a4b68e639..b5cfae293 100644\n--- a/packages/excalidraw/obsidianUtils.ts\n+++ b/packages/excalidraw/obsidianUtils.ts\n@@ -186,7 +186,12 @@ export async function registerFontsInCSS() {\n export async function getCSSFontDefinition(\n fontFamily: number,\n ): Promise<string> {\n- const fontFaces = Fonts.registered.get(fontFamily)?.fontFaces;\n+ const registered = Fonts.registered.get(fontFamily);\n+ // zsviczian -- #477: system fonts have no font-file content to embed.\n+ if (registered?.metadata.local) {\n+ return \"\";\n+ }\n+ const fontFaces = registered?.fontFaces;\n if (!fontFaces) {\n return \"\";\n }\n"},
|
||||
"extras": {"head":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","productionPathsChanged":["src/PDFExport/index.ts"],"diff":"diff --git a/src/PDFExport/index.ts b/src/PDFExport/index.ts\nindex e80943d..57b3a56 100644\n--- a/src/PDFExport/index.ts\n+++ b/src/PDFExport/index.ts\n@@ -4,9 +4,6 @@ import { getPageSize } from './pdfExportUtils';\n \n export const PDF_COMPONENT_VERSION = '1.0.0';\n \n-// Electron completion has no request ID, so one document can own only one print.\n-const printingDocuments = new WeakSet<Document>();\n-\n export function initializePDFExport(): void {\n // Placeholder for future high-privilege IPC and filesystem setup.\n }\n@@ -28,11 +25,6 @@ export async function exportToPDF(\n if (!ownerWindow || !ipc) {\n throw new Error('PDF export requires the desktop Electron host');\n }\n- if (printingDocuments.has(document)) {\n- throw new Error('PDF export is already in progress in this window');\n- }\n- printingDocuments.add(document);\n- try {\n const options: PrintToPDFOptions = {\n includeName: false,\n pageSize: getPageSize(pageSize),\n@@ -134,19 +126,12 @@ export async function exportToPDF(\n \n await new Promise<void>((resolve, reject) => {\n const cleanup = () => {\n- ownerWindow.clearTimeout(timeout);\n ipc.removeListener('print-to-pdf', onComplete);\n };\n const onComplete = () => {\n cleanup();\n resolve();\n };\n- const timeout = ownerWindow.setTimeout(() => {\n- cleanup();\n- reject(\n- new Error('PDF export timed out waiting for Electron completion'),\n- );\n- }, 120000);\n try {\n ipc.once('print-to-pdf', onComplete);\n ipc.send('print-to-pdf', options);\n@@ -161,9 +146,6 @@ export async function exportToPDF(\n (styleSheet) => styleSheet !== printStyleSheet,\n );\n }\n- } finally {\n- printingDocuments.delete(document);\n- }\n }\n \n export function getPDFVersion(): string {\n"}
|
||||
},
|
||||
"status": "passed"
|
||||
},
|
||||
"preparedVault": ".test-work/vaults/excalidraw-auto-test/",
|
||||
"commands": [
|
||||
"npm.cmd run test:native",
|
||||
"npm.cmd run test:native",
|
||||
"npm.cmd run test:regression:portable",
|
||||
"node scripts/testing/review3022ProductionDiff.mjs"
|
||||
],
|
||||
"unchanged": {
|
||||
"productionCode": true,
|
||||
"pdfTimeoutAndConcurrencyRollback": true,
|
||||
"diagnosticPolicy": true,
|
||||
"requiredAssertions": true,
|
||||
"upstreamTests": true,
|
||||
"packageVersions": true
|
||||
},
|
||||
"diagnosticPolicy": "Only the exact trusted ResizeObserver notification without Error/stack is separate diagnostic evidence. Stable geometry and notification-free idle for 1000 ms within 5000 ms remain mandatory. Storms, every unrelated exception/error, failed behavior/persistence and cleanup fail.",
|
||||
"historicalObserverLimitation": "The historical sustained storm is preserved, not waived or claimed fixed. Systematic prefixes, matched scheduling controls, a full desktop/core ownership trace and its untraced comparison did not reproduce the long storm at this checkpoint. No causal production or lifecycle fix is inferred. All normal complete runs retain the strict storm gate and use no diagnostic observer interception or optional state snapshots.",
|
||||
"limitations": [
|
||||
"Desktop-emulated phone/tablet layouts and trusted CDP touch do not establish physical-device/WebView/stylus behavior.",
|
||||
"Synthetic drag payloads are labeled separately and do not establish real OS drag/clipboard behavior.",
|
||||
"Native evidence is Windows; macOS/Linux and isolated whole-app cold start remain separate validation environments.",
|
||||
"Source/API enumeration is not a Cartesian test of every setting or public method; the declared 258 behavioral obligations and explicit high-risk combinations define this executable matrix."
|
||||
],
|
||||
"finalNative": {
|
||||
"inspection": {
|
||||
"vault": "<plugin>\\.test-work\\vaults\\excalidraw-auto-test",
|
||||
"config": ".obsidian",
|
||||
"pluginReady": true,
|
||||
"extrasReady": true,
|
||||
"mobile": false,
|
||||
"activeLeaf": "3022000000000003",
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"leftCollapsed": true,
|
||||
"rightCollapsed": true,
|
||||
"popouts": 0,
|
||||
"tasks": [],
|
||||
"printRoots": 0,
|
||||
"protocol": 3
|
||||
},
|
||||
"observers": {
|
||||
"tracePresent": false,
|
||||
"constructor": "function ResizeObserver() { [native code] }",
|
||||
"observe": "function observe() { [native code] }",
|
||||
"unobserve": "function unobserve() { [native code] }",
|
||||
"disconnect": "function disconnect() { [native code] }",
|
||||
"tasks": [],
|
||||
"popouts": 0
|
||||
},
|
||||
"passive": {
|
||||
"started": 1793366290130,
|
||||
"completed": 1793366292132,
|
||||
"events": [],
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"popouts": 0,
|
||||
"debuggerAttached": false,
|
||||
"pluginReady": true,
|
||||
"extrasReady": true
|
||||
}
|
||||
},
|
||||
"installedWorkingVaultFiles": {
|
||||
"plugin": {
|
||||
"id": "obsidian-excalidraw-plugin",
|
||||
"source": "fd32ac682e2aadc0f982fa23d36da482011117f9",
|
||||
"files": {"main.js":{"sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},"manifest.json":{"sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},"styles.css":{"sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364},"data.json":{"sha256":"165c02816a6a73415b367dfab18fb79f8d52c8bba21b263506749d9c77677c23","bytes":27642}}
|
||||
},
|
||||
"extras": {
|
||||
"id": "excalidraw-extras",
|
||||
"source": "1cdcb7c425a9b80afdc7b39c88861143b4b85e58",
|
||||
"files": {"main.js":{"sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},"manifest.json":{"sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},"styles.css":{"sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427},"data.json":{"sha256":"e14bf7cf814d3c7029446d7295b77c5e4185a9c0ae5c0efc9e7607ffeb37ed0c","bytes":125}}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,26 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import {readFileSync,writeFileSync,existsSync} from 'node:fs';
|
||||
import {requiredNativeCases,requiredDeviceCases} from '../scripts/testing/regression.mjs';
|
||||
const root='.test-work/reports/',names=['2026-10-30-native-complete-1-fd32ac68','2026-10-30-native-complete-2-fd32ac68'];
|
||||
const required=[...requiredNativeCases,...requiredDeviceCases],read=p=>JSON.parse(readFileSync(p,'utf8'));
|
||||
const signature=r=>Object.fromEntries(Object.entries(r.combination.manifests).map(([k,m])=>[k,{commit:m.commit,dirty:m.dirty,diffHash:m.diffHash,lockfileHash:m.lockfileHash,artifacts:m.artifacts.map(a=>({role:a.role,path:a.relativePath,sha256:a.sha256,bytes:a.bytes}))}]));
|
||||
let reference;const rows=[];
|
||||
for(const name of names){const dir=root+name;if(!existsSync(dir+'/aggregate.json')){rows.push({name,status:'not-complete'});continue;}
|
||||
const r=read(dir+'/report.json'),a=read(dir+'/aggregate.json'),d=read(dir+'/devices/report.json'),p=read(dir+'/preparation.json'),oracle=existsSync(dir+'/error-oracle/report.json')?read(dir+'/error-oracle/report.json'):{status:'not-run'};
|
||||
assert.equal(r.source.requestedProfile,'regression');assert.equal(r.diagnosticOnly,undefined);assert.equal(r.resizeTraceInstrumentation,undefined);assert.equal(r.source.pluginRevision,'fd32ac682e2aadc0f982fa23d36da482011117f9');assert.equal(r.source.pluginDirty,false);assert.equal(r.source.forkRevision,'053a3b9f9e77917c457fce8ca9453d38b92a303b');assert.equal(r.source.forkDirty,false);
|
||||
for(const [kind,commit]of Object.entries({plugin:'fd32ac682e2aadc0f982fa23d36da482011117f9',fork:'053a3b9f9e77917c457fce8ca9453d38b92a303b',extras:'1cdcb7c425a9b80afdc7b39c88861143b4b85e58'})){assert.equal(r.combination.manifests[kind].commit,commit);assert.equal(r.combination.manifests[kind].dirty,false);}
|
||||
const negativeControls=(oracle.tests||[]).map(t=>({id:t.testId,status:t.status}));
|
||||
if(oracle.status==='passed')assert.deepEqual(negativeControls,[{id:'native:diagnostics-rejects-unhandled',status:'passed'},{id:'native:diagnostics-rejects-broken-layout',status:'passed'}]);
|
||||
assert.equal(a.requiredTestIds.length,357);assert.deepEqual([...a.requiredTestIds].sort(),[...required].sort());assert.equal(new Set(a.tests.map(t=>t.testId)).size,a.tests.length);
|
||||
if(reference)assert.deepEqual(signature(r),reference,'Source/artifact identities differ between full repeats');else reference=signature(r);
|
||||
const expected=new Set(required),cases=a.tests.filter(t=>expected.has(t.testId)),failed=cases.filter(t=>t.status!=='passed');
|
||||
const desktopCLI=['main','split','nested-split','popout'].map(c=>'native:behavior:'+c+':cli-atomic-targeted-edit').concat(['native-cli-authoring','lucide-3019']);
|
||||
const mobileCLI=['phone','tablet'].map(c=>'native:behavior:'+c+':cli-atomic-targeted-edit');
|
||||
const row={name,status:r.status,aggregate:a.status,recorded:cases.length,passed:cases.filter(t=>t.status==='passed').length,required:required.length,missing:a.missing,failed:failed.map(t=>({id:t.testId,status:t.status,reason:t.reason})),behavior:cases.filter(t=>t.testId.startsWith('native:behavior:')).length,profiles:cases.filter(t=>t.testId.startsWith('native:device:')).length,cleanup:r.cleanup,deviceCleanup:d.cleanup,restored:r.baselineRestoration?.restored,deviceRestored:d.restoration?.restored,errorOracle:oracle.status,desktopCLI:desktopCLI.map(id=>({id,status:cases.find(t=>t.testId===id)?.status})),mobileCLI:mobileCLI.map(id=>({id,status:cases.find(t=>t.testId===id)?.status,transport:cases.find(t=>t.testId===id)?.transport})),windowEvents:r.windowErrors?.length,profileEvents:d.tests.filter(t=>t.testId.startsWith('native:device:')).reduce((n,t)=>n+(t.windowEvents?.length||0),0),seedHash:p.seedHash,source:r.source,artifacts:signature(r)};
|
||||
row.negativeControls=negativeControls;
|
||||
row.completePass=[r.status,a.status,r.cleanup,d.status,d.cleanup,oracle.status].every(v=>v==='passed')&&cases.length===357&&failed.length===0&&a.missing.length===0&&row.behavior===258&&row.profiles===40&&row.restored&&row.deviceRestored;
|
||||
rows.push(row);
|
||||
}
|
||||
const result={required:357,requiredFullPasses:2,completePasses:rows.filter(r=>r.completePass).length,matchingBuild:!!reference,rows};
|
||||
writeFileSync(root+'2026-10-30-fresh-native-pair-audit.json',JSON.stringify(result,null,2)+'\n');process.stdout.write(JSON.stringify({...result,rows:rows.map(({artifacts,...row})=>row)})+'\n');
|
||||
if(process.argv.includes('--require-two'))assert.equal(result.completePasses,2,'Two complete strict matching-build passes are required');
|
||||
@@ -0,0 +1,22 @@
|
||||
import {readFileSync,writeFileSync} from 'node:fs';
|
||||
import {splitWindowErrors} from '../scripts/testing/host/browserDiagnostics.mjs';
|
||||
const dir=process.argv[2],t=JSON.parse(readFileSync(dir+'/resize-observer-trace.json','utf8'));
|
||||
const classified=splitWindowErrors(t.notifications);
|
||||
const groups=[];
|
||||
for(const e of [...classified.diagnostics].sort((a,b)=>a.at-b.at)){
|
||||
let g=groups.at(-1);if(!g||e.at-g.last>200){g={first:e.at,last:e.at,count:0,phases:{},realms:{}};groups.push(g);}
|
||||
g.last=e.at;g.count++;g.realms[e.realm]=(g.realms[e.realm]||0)+1;const phase=e.phase?.map(p=>p.phase).join(',')||'no-task';g.phases[phase]=(g.phases[phase]||0)+1;
|
||||
}
|
||||
for(const g of groups)g.spanMs=g.last-g.first;
|
||||
const available=[],unavailable=[];
|
||||
for(const r of t.observers)for(const target of r.targets.filter(t=>t.observed)){
|
||||
const current=target.current;
|
||||
if(!r.alive||!current){unavailable.push({id:r.id,target:target.id,observerAlive:r.alive,targetAvailable:!!current});continue;}
|
||||
const last=r.lastDelivery?.find(e=>e.target.id===target.id),first=r.firstDelivery?.find(e=>e.target.id===target.id);
|
||||
const foreign=(r.events||[]).filter(e=>e.target?.id===target.id).map(e=>e.target.realm).filter(id=>id!=null&&id!==r.realm);
|
||||
available.push({id:r.id,target:target.id,observerRealm:r.realm,current,lastSize:last?{width:last.width,height:last.height,realm:last.target.realm}:null,firstSize:first?{width:first.width,height:first.height,realm:first.target.realm}:null,lastCallbackAt:r.lastCallbackAt,callbacks:r.callbacks,foreignAtObserve:foreign,constructorCaller:r.creationStack?.split('\n').slice(2,6),events:r.events.map(e=>({kind:e.kind,at:e.at,target:e.target?.id}))});
|
||||
}
|
||||
const orphaned=available.filter(a=>a.current.realm==null||a.current.windowClosed===true),nonzero=orphaned.filter(a=>a.lastSize&&(a.lastSize.width!==0||a.lastSize.height!==0));
|
||||
const result={status:'diagnostic-candidates-only',meta:t.meta,notificationClusters:groups,otherWindowEvents:classified.unexpected,availableActiveTargets:available.length,unavailableActiveMetadata:unavailable.length,ownerlessOrClosedTargets:orphaned,ownerlessOrClosedWithLastNonzero:nonzero,liveCrossRealmTargets:available.filter(a=>a.current.realm!=null&&a.current.realm!==a.observerRealm),firstErrors:t.firstErrors.map(e=>({at:e.at,realm:e.realm,phase:e.phase,availableOrphaned:e.liveObservers.flatMap(r=>r.targets.filter(x=>x.current&&(x.current.realm==null||x.current.windowClosed===true)).map(x=>({observer:r.id,observerAlive:r.alive,...x})))})),limits:['End target snapshots are paginated after restoration, not synchronous with each error.','A missing/collected target is unavailable evidence, not a cross-realm target.','WeakRef liveness, detached targets and ownership mismatch alone do not establish a leak or cause.','Last-delivery data may omit targets absent from the final callback entries; missing sizes are unknown, not zero.']};
|
||||
writeFileSync(dir+'/observer-candidates.json',JSON.stringify(result,null,2)+'\n');
|
||||
process.stdout.write(JSON.stringify({observers:t.meta.observerCount,notifications:t.meta.notificationCount,overflow:t.meta.notificationOverflow,clusters:groups.map(g=>({count:g.count,spanMs:g.spanMs,phases:g.phases})),availableActiveTargets:available.length,orphaned:orphaned.map(a=>({id:a.id,classes:a.current.classes,lastSize:a.lastSize,caller:a.constructorCaller})),ownerlessLastNonzero:nonzero.length,traceActive:t.meta.active,failures:t.meta.failures})+'\n');
|
||||
@@ -0,0 +1,3 @@
|
||||
import {registerHooks} from 'node:module';
|
||||
const moduleURL=new URL('./pr3022-popout-close-scenario.mjs',import.meta.url).href;
|
||||
registerHooks({load(url,context,next){const result=next(url,context);if(!url.endsWith('/scripts/testing/host/verify.mjs'))return result;let source=String(result.source);const anchor='...(lifecycle ? [runLifecycleScenario] : []),';if(source.split(anchor).length!==2)throw Error('Diagnostic scenario anchor drift');source=`import {runPopoutCloseControl} from ${JSON.stringify(moduleURL)};\n`+source.replace(anchor,'...(lifecycle ? [runLifecycleScenario,runPopoutCloseControl] : []),');return {...result,source};}});
|
||||
@@ -0,0 +1,221 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"acceptanceCredit": false,
|
||||
"authorization": "The maintainer directly answered the renewed desktop/core trace request by instructing the agent to proceed autonomously, and clarified that questions are only needed when diverging from the PR purpose/scope.",
|
||||
"productionChanges": false,
|
||||
"pdfChanges": false,
|
||||
"observerPolicyUnchanged": true,
|
||||
"source": {
|
||||
"pluginRevision": "fd32ac682e2aadc0f982fa23d36da482011117f9",
|
||||
"pluginDirty": false,
|
||||
"forkRevision": "053a3b9f9e77917c457fce8ca9453d38b92a303b",
|
||||
"forkDirty": false,
|
||||
"buildMode": "workspace-frozen",
|
||||
"requestedProfile": "core",
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"instrumentation": {
|
||||
"approved": true,
|
||||
"authorization": "Maintainer directly answered the renewed desktop/core trace request by instructing the agent to stop seeking permissions, make good decisions and proceed; unchanged forwarding-only diagnostic trace, no production changes or acceptance credit",
|
||||
"deadline": 1793364934336,
|
||||
"sha256": "06fbbcfa59e21c05fa7cac4b3071fe3bcbcdb4d6033b80bec8178e716f6d143f"
|
||||
},
|
||||
"traceSummary": {
|
||||
"observers": 3511,
|
||||
"targets": 1478,
|
||||
"realms": [
|
||||
{"id":1,"main":true,"installed":true,"alive":true,"closed":false,"notifications":2},
|
||||
{"id":2,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0},
|
||||
{"id":3,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0},
|
||||
{"id":4,"main":false,"installed":true,"alive":false,"notifications":0},
|
||||
{"id":5,"main":false,"installed":true,"alive":false,"notifications":0},
|
||||
{"id":6,"main":false,"installed":true,"alive":false,"notifications":0},
|
||||
{"id":7,"main":false,"installed":true,"alive":false,"notifications":0},
|
||||
{"id":8,"main":false,"installed":true,"alive":false,"notifications":0},
|
||||
{"id":9,"main":false,"installed":true,"alive":false,"notifications":0},
|
||||
{"id":10,"main":false,"installed":true,"alive":false,"notifications":0},
|
||||
{"id":11,"main":false,"installed":true,"alive":false,"notifications":0},
|
||||
{"id":12,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0},
|
||||
{"id":13,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0}
|
||||
],
|
||||
"notifications": 2,
|
||||
"overflow": 0,
|
||||
"failures": [],
|
||||
"active": false
|
||||
},
|
||||
"comparison": {
|
||||
"requiredFullNativeCases": 357,
|
||||
"requiredMainCases": 231,
|
||||
"rows": [
|
||||
{"name":"2026-10-30-core-observer-trace-fd32ac68","status":"passed","auditStatus":"passed","required":231,"recordedRequired":231,"passedRequired":231,"missing":[],"failed":[],"diagnosticOnly":true,"acceptanceCredit":false,"events":2,"cleanup":"passed","baselineRestoration":{"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]},"source":{"pluginRevision":"fd32ac682e2aadc0f982fa23d36da482011117f9","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"core","node":"v22.22.3","platform":"win32"},"started":"2026-10-30T12:27:20.512Z","completed":"2026-10-30T12:34:25.465Z","tests":[{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"66a5831f08a6038e","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"66a5831f08a6038e","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"66a5831f08a6038e","ownerContentLine truncated
|
||||
{"name":"2026-10-30-core-untraced-fd32ac68","status":"passed","auditStatus":"passed","required":231,"recordedRequired":231,"passedRequired":231,"missing":[],"failed":[],"diagnosticOnly":false,"acceptanceCredit":false,"events":1,"cleanup":"passed","baselineRestoration":{"restored":true,"pluginEnabled":true,"extrasEnabled":true,"theme":"moonstone","restoredFixturePaths":[]},"source":{"pluginRevision":"fd32ac682e2aadc0f982fa23d36da482011117f9","pluginDirty":false,"forkRevision":"053a3b9f9e77917c457fce8ca9453d38b92a303b","forkDirty":false,"buildMode":"workspace-frozen","requestedProfile":"core","node":"v22.22.3","platform":"win32"},"started":"2026-10-30T12:40:36.505Z","completed":"2026-10-30T12:47:30.627Z","tests":[{"id":"plugin-load","status":"passed","assertions":["commands registered","drawing/font/export runtime available","host protocol 3"],"testId":"plugin-load","featureIds":[]},{"id":"drawing-main-window","status":"passed","assertions":["Excalidraw API ready","wrapper mounted","owner document matches","main application document"],"testId":"drawing-main-window","featureIds":[]},{"testId":"native:behavior:main:settings-01","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":0,"brackets":false},"factors":{"defaultMode":"view","frontMode":"normal","linkOpacity":1,"frontOpacity":0,"showLinkBrackets":true,"frontBrackets":false},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"c45d0f27f7351ac5","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-02","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"zen","opacity":0,"brackets":false},"factors":{"defaultMode":"zen","frontMode":"missing","linkOpacity":0,"frontOpacity":"missing","showLinkBrackets":false,"frontBrackets":"missing"},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"c45d0f27f7351ac5","ownerContentsId":1,"mainContentsId":1,"visibility":"visible","scopedBackgroundThrottling":false,"focusEmulation":false},"reopened":true},{"testId":"native:behavior:main:settings-03","featureIds":["P06"],"status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"],"expected":{"mode":"normal","opacity":1,"brackets":true},"factors":{"defaultMode":"normal","frontMode":"missing","linkOpacity":0.35,"frontOpacity":1,"showLinkBrackets":true,"frontBrackets":true},"actual":{"requested":{"id":"main","input":"mouse"},"mobile":false,"hostDevice":{"isDesktop":true,"isPhone":false,"isTablet":false,"isMobile":false,"isLinux":false,"isMacOS":false,"isWindows":true,"isIOS":false,"isAndroid":false},"viewport":{"width":1024,"height":800},"editor":{"x":44,"y":40,"width":980,"height":760,"top":40,"right":1024,"bottom":800,"left":44},"editorInterface":{"formFactor":"desktop","desktopUIMode":"tray","userAgent":{"isMobileDevice":false,"platform":"other"},"isTouchScreen":false,"canFitSidebar":true,"isLandscape":true},"workspacePath":[{"type":"split","direction":"vertical","id":"3022000000000001"},{"type":"tabs","id":"3022000000000002"}],"leafId":"c45d0f27f7351ac5","ownerContentsId":Line truncated
|
||||
]
|
||||
},
|
||||
"candidates": {
|
||||
"status": "diagnostic-candidates-only",
|
||||
"meta": {
|
||||
"active": false,
|
||||
"deadline": 1793364934336,
|
||||
"now": 1793363652253,
|
||||
"diagnosticOnly": true,
|
||||
"acceptanceCredit": false,
|
||||
"observerCount": 3511,
|
||||
"targetCount": 1478,
|
||||
"realms": [{"id":1,"main":true,"installed":true,"alive":true,"closed":false,"notifications":2},{"id":2,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0},{"id":3,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0},{"id":4,"main":false,"installed":true,"alive":false,"notifications":0},{"id":5,"main":false,"installed":true,"alive":false,"notifications":0},{"id":6,"main":false,"installed":true,"alive":false,"notifications":0},{"id":7,"main":false,"installed":true,"alive":false,"notifications":0},{"id":8,"main":false,"installed":true,"alive":false,"notifications":0},{"id":9,"main":false,"installed":true,"alive":false,"notifications":0},{"id":10,"main":false,"installed":true,"alive":false,"notifications":0},{"id":11,"main":false,"installed":true,"alive":false,"notifications":0},{"id":12,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0},{"id":13,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0}],
|
||||
"notificationCount": 2,
|
||||
"errorSnapshotCount": 2,
|
||||
"notificationOverflow": 0,
|
||||
"failures": [],
|
||||
"coverage": "Observers created after installation have wrapped callbacks; existing observers encountered by observe/unobserve/disconnect are marked created=false. No size/layout reads beyond already-delivered entry data. All target/window/observer registry references are weak."
|
||||
},
|
||||
"notificationClusters": [
|
||||
{"first":1793363373960,"last":1793363373960,"count":1,"phases":{"native:behavior:popout:markdown-reading":1},"realms":{"1":1},"spanMs":0},
|
||||
{"first":1793363374618,"last":1793363374618,"count":1,"phases":{"native:behavior:popout:markdown-reading":1},"realms":{"1":1},"spanMs":0}
|
||||
],
|
||||
"otherWindowEvents": [],
|
||||
"availableActiveTargets": 13,
|
||||
"unavailableActiveMetadata": 336,
|
||||
"ownerlessOrClosedTargets": [
|
||||
{"id":1593,"target":654,"observerRealm":1,"current":{"id":654,"tag":"div","classes":"workspace-tab-container","connected":false,"realm":null,"ancestors":[{"tag":"div","classes":"workspace-tab-container"},{"tag":"div","classes":"workspace-tabs mod-top mod-top-left-space mod-top-right-space"}]},"lastSize":{"width":0,"height":0,"realm":2},"firstSize":{"width":0,"height":0,"realm":2},"lastCallbackAt":1793363394037,"callbacks":3,"foreignAtObserve":[],"constructorCaller":[" at new t (app://obsidian.md/app.js:1:1560148)"," at t.createFrom (app://obsidian.md/app.js:1:1560272)"," at t.openPopoutLeaf (app://obsidian.md/app.js:1:2928572)"," at behaviorEnvironment (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:242:26)"],"events":[{"kind":"observe","at":1793363357770,"target":654}]}
|
||||
],
|
||||
"ownerlessOrClosedWithLastNonzero": [],
|
||||
"liveCrossRealmTargets": [],
|
||||
"firstErrors": [
|
||||
{"at":1793363373960,"realm":1,"phase":[{"phase":"native:behavior:popout:markdown-reading"}],"availableOrphaned":[]},
|
||||
{"at":1793363374618,"realm":1,"phase":[{"phase":"native:behavior:popout:markdown-reading"}],"availableOrphaned":[]}
|
||||
],
|
||||
"limits": [
|
||||
"End target snapshots are paginated after restoration, not synchronous with each error.",
|
||||
"A missing/collected target is unavailable evidence, not a cross-realm target.",
|
||||
"WeakRef liveness, detached targets and ownership mismatch alone do not establish a leak or cause.",
|
||||
"Last-delivery data may omit targets absent from the final callback entries; missing sizes are unknown, not zero."
|
||||
]
|
||||
},
|
||||
"recovery": {
|
||||
"started": 1793363935349,
|
||||
"completed": 1793363939325,
|
||||
"recovery": {
|
||||
"recovery": "reload only this verified test-vault renderer",
|
||||
"contentsId": 1,
|
||||
"applicationRestart": false,
|
||||
"acceptanceCredit": false
|
||||
},
|
||||
"readiness": [
|
||||
"Error: Command \"eval\" not found. It may require a plugin to be enabled.\n"
|
||||
],
|
||||
"native": {
|
||||
"tracePresent": false,
|
||||
"constructor": "function ResizeObserver() { [native code] }",
|
||||
"observe": "function observe() { [native code] }",
|
||||
"unobserve": "function unobserve() { [native code] }",
|
||||
"disconnect": "function disconnect() { [native code] }",
|
||||
"tasks": [],
|
||||
"popouts": 0
|
||||
},
|
||||
"inspection": {
|
||||
"vault": "<plugin>\\.test-work\\vaults\\excalidraw-auto-test",
|
||||
"config": ".obsidian",
|
||||
"pluginReady": true,
|
||||
"extrasReady": true,
|
||||
"mobile": false,
|
||||
"activeLeaf": "3022000000000003",
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"leftCollapsed": true,
|
||||
"rightCollapsed": true,
|
||||
"popouts": 0,
|
||||
"tasks": [],
|
||||
"printRoots": 0,
|
||||
"protocol": 3
|
||||
},
|
||||
"passive": {
|
||||
"started": 1793363937224,
|
||||
"completed": 1793363939238,
|
||||
"events": [],
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"popouts": 0,
|
||||
"debuggerAttached": false,
|
||||
"pluginReady": true,
|
||||
"extrasReady": true
|
||||
},
|
||||
"acceptanceCredit": false,
|
||||
"separateFromDiagnosticTrial": true
|
||||
},
|
||||
"pdf": {
|
||||
"id": "extras-services",
|
||||
"status": "passed",
|
||||
"tests": [
|
||||
{"testId":"native:extras-mathjax-gateway","featureIds":["P05","P09","P11"],"status":"passed","assertions":["real plugin gateway resolves Extras","actual MathJax SVG decodes with positive geometry"],"width":79,"height":50},
|
||||
{"testId":"native:extras-mermaid-gateway","featureIds":["P09","P11"],"status":"passed","assertions":["real plugin gateway resolves Mermaid","actual converter returns editable labels and arrow"],"elements":3},
|
||||
{"testId":"native:extras-pdf-output","featureIds":["P05","P09"],"status":"passed","assertions":["actual Electron PDF completion","print DOM and styles restored","valid PDF header and one page","expected media box","text extraction preserves content","rendered PDF contains red SVG pixels"],"bytes":10616,"pages":1,"width":288,"height":216,"redPixels":3330,"evidence":{"pdf":"<plugin>\\.test-work\\reports\\2026-10-30-core-observer-trace-fd32ac68\\native-single-export.pdf","png":"<plugin>\\.test-work\\reports\\2026-10-30-core-observer-trace-fd32ac68\\native-single-export-page.png","sha256":"5e2fde8b3c961c2c5de93999a862ed5f3243e0720a31269ca7dc931687044a38","pageSha256":"7ef3e029a4a65827e1e3855a95d58971f7d6a923e419d9b1ff116ce9f22bd152"}}
|
||||
],
|
||||
"settlingCheck": {
|
||||
"status": "passed",
|
||||
"label": "native-main",
|
||||
"started": 1793363402800,
|
||||
"completed": 1793363403901,
|
||||
"timeoutMs": 5000,
|
||||
"quietMs": 1000,
|
||||
"samples": [{"at":1793363402800,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363402910,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363403019,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363403129,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363403238,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363403346,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363403457,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363403568,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363403681,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363403791,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2},{"at":1793363403901,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":2}]
|
||||
}
|
||||
},
|
||||
"tracedNativeGates": {
|
||||
"status": "passed",
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {
|
||||
"restored": true,
|
||||
"pluginEnabled": true,
|
||||
"extrasEnabled": true,
|
||||
"theme": "moonstone",
|
||||
"restoredFixturePaths": []
|
||||
},
|
||||
"baselineIdle": {
|
||||
"status": "passed",
|
||||
"label": "native-main",
|
||||
"started": 1793363244606,
|
||||
"completed": 1793363245706,
|
||||
"timeoutMs": 5000,
|
||||
"quietMs": 1000,
|
||||
"samples": [{"at":1793363244606,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363244712,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363244824,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363244934,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363245047,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363245154,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363245264,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363245374,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363245484,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363245595,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0},{"at":1793363245706,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":0}]
|
||||
},
|
||||
"cleanupIdle": {
|
||||
"status": "passed",
|
||||
"label": "native-main",
|
||||
"started": 1793363650626,
|
||||
"completed": 1793363651733,
|
||||
"timeoutMs": 5000,
|
||||
"quietMs": 1000,
|
||||
"samples": [{"at":1793363650627,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363650741,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363650852,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363650962,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363651073,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363651182,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363651291,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363651402,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363651512,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363651621,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2},{"at":1793363651733,"geometry":[["workspace-leaf mod-active",44,40,680,760],["workspace-leaf",724,40,300,760]],"eventCount":2}]
|
||||
},
|
||||
"windowErrors": [
|
||||
{"at":1793363373958,"message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false,"source":"app://obsidian.md/index.html","line":0,"column":0,"label":"scenario:0","activeLeaf":{"type":"markdown","file":"__excalidraw_cli_smoke_8d7fe311_behavior_popout/Render-matrix.md"},"activeEditor":{"type":"markdown","file":"__excalidraw_cli_smoke_8d7fe311_behavior_popout/Render-matrix.md","editor":true,"keys":["_loaded","_events","_children","icon","navigation","app","leaf","containerEl","canDropAnywhere","leftSidebarToggleEl","headerEl","contentEl","backButtonEl","forwardButtonEl","titleParentEl","titleEl","titleContainerEl","actionsEl","moreOptionsButtonEl","allowNoFile","fileBeingRenamed","lastSavedData","saving","saveAgain","isPlaintext","data","dirty","requestSave","modeButtonEl","modes","currentMode","scroll","showBacklinks","rawFrontmatter","initialScope","scope","editMode","sourceMode","previewMode","inlineTitleEl","metadataEditor","backlinksEl","file"]},"cases":[{"phase":"native:behavior:popout:markdown-reading"}]},
|
||||
{"at":1793363374618,"message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false,"source":"app://obsidian.md/index.html","line":0,"column":0,"label":"scenario:0","activeLeaf":{"type":"markdown","file":"__excalidraw_cli_smoke_8d7fe311_behavior_popout/Render-target.md"},"activeEditor":{"type":"markdown","file":"__excalidraw_cli_smoke_8d7fe311_behavior_popout/Render-target.md","editor":true,"keys":["_loaded","_events","_children","icon","navigation","app","leaf","containerEl","canDropAnywhere","leftSidebarToggleEl","headerEl","contentEl","backButtonEl","forwardButtonEl","titleParentEl","titleEl","titleContainerEl","actionsEl","moreOptionsButtonEl","allowNoFile","fileBeingRenamed","lastSavedData","saving","saveAgain","isPlaintext","data","dirty","requestSave","modeButtonEl","modes","currentMode","scroll","showBacklinks","rawFrontmatter","initialScope","scope","editMode","sourceMode","previewMode","inlineTitleEl","metadataEditor","backlinksEl","file"]},"cases":[{"phase":"native:behavior:popout:markdown-reading"}]}
|
||||
],
|
||||
"unexpectedConsoleErrors": []
|
||||
},
|
||||
"rawTrace": "observer-core-trace-records-2026-10-30.json",
|
||||
"conclusion": "The full desktop/core diagnostic completed with two isolated settling notifications and no persistent loop. No available ownerless/closed target retains a recorded nonzero final size. The original sustained storm observer remains unidentified; constructor mismatch or weak-reference liveness alone is not a proved cause. No production or tooling lifecycle change is inferred. The diagnostic and focused comparison are not full 357-case acceptance repeats.",
|
||||
"limits": [
|
||||
"End target snapshots are paginated after restoration, not synchronous with each error.",
|
||||
"Missing/collected targets are unavailable evidence, not cross-realm targets.",
|
||||
"The forwarding trace adds allocations and stack capture and can perturb timing; use the separate untraced comparison to test that distinction.",
|
||||
"The verified saved-baseline renderer-only reload removes captured wrappers after the completed diagnostic, outside its evidence and with no acceptance credit. Normal untraced testing begins afterward."
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"executedSha256": "b552f1828bf2fe4c6962d8b0bce81279e8b9b43460d408d62d786427ea843226",
|
||||
"archivedSha256": "b552f1828bf2fe4c6962d8b0bce81279e8b9b43460d408d62d786427ea843226",
|
||||
"name": "observer-core-loader-source.txt"
|
||||
},
|
||||
{
|
||||
"executedSha256": "0c9e1f59dc3193b9a4264ee74bb6b67d34d18d35120f630e9ea69caf927197ad",
|
||||
"archivedSha256": "0c9e1f59dc3193b9a4264ee74bb6b67d34d18d35120f630e9ea69caf927197ad",
|
||||
"name": "observer-candidate-analysis-source.txt"
|
||||
},
|
||||
{
|
||||
"executedSha256": "f621935bbbeed10a03afde9edfd9f105c0f8bc8033a27e2a405906a6733bfd0d",
|
||||
"archivedSha256": "f621935bbbeed10a03afde9edfd9f105c0f8bc8033a27e2a405906a6733bfd0d",
|
||||
"name": "observer-core-removal-source.txt"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import{registerHooks}from'node:module';import{createHash}from'node:crypto';import{readFileSync}from'node:fs';import{installResizeTrace}from'./pr3022-resize-trace.mjs';
|
||||
const deadline=Date.now()+30*60*1000,key='__excalidrawApprovedResizeTrace';
|
||||
if(Date.now()>=deadline)throw Error('Diagnostic safety deadline expired');
|
||||
const traceHash=createHash('sha256').update(readFileSync(new URL('./pr3022-resize-trace.mjs',import.meta.url))).digest('hex');
|
||||
registerHooks({load(url,context,next){const result=next(url,context);if(!url.endsWith('/scripts/testing/host/runner.mjs'))return result;let source=String(result.source);
|
||||
const anchor="if (ownedDebugger) browserSession=acquireBrowserDiagnostics(cli,'native-main');";
|
||||
const install=anchor+`\n if(ownedDebugger){report.diagnosticOnly=true;report.acceptanceCredit=false;report.resizeTraceInstrumentation={approved:true,authorization:'Maintainer directly answered the renewed desktop/core trace request by instructing the agent to stop seeking permissions, make good decisions and proceed; unchanged forwarding-only diagnostic trace, no production changes or acceptance credit',deadline:${deadline},sha256:${JSON.stringify(traceHash)}};parseEval(cli('eval','code='+${JSON.stringify('JSON.stringify(('+installResizeTrace.toString()+')('+deadline+'))')}));}`;
|
||||
if(source.split(anchor).length!==2)throw Error('Trace install anchor drift');source=source.replace(anchor,install);
|
||||
const end="try { browserSession?.dispose(); } catch(error){report.status='failed';report.cleanup='failed';report.cleanupError=error.message;}";
|
||||
const cleanup=`try {if(ownedDebugger){const evaluate=code=>parseEval(ownedCli('eval','code='+code));evaluate("(()=>{globalThis.${key}?.restore();return JSON.stringify(true)})()");const meta=evaluate("JSON.stringify(globalThis.${key}?.meta())"),observers=[],notifications=[],firstErrors=[];for(let start=0;start<(meta?.observerCount||0);start+=24)observers.push(...evaluate("JSON.stringify(globalThis.${key}.read("+start+",24))"));for(let start=0;start<(meta?.notificationCount||0);start+=128)notifications.push(...evaluate("JSON.stringify(globalThis.${key}.readNotifications("+start+",128))"));for(let start=0;start<(meta?.errorSnapshotCount||0);start++)firstErrors.push(...evaluate("JSON.stringify(globalThis.${key}.readErrors("+start+",1))"));writeFileSync(join(reportDir,'resize-observer-trace.json'),JSON.stringify({meta,observers,notifications,firstErrors},null,2)+String.fromCharCode(10));report.resizeTrace={active:meta?.active,observerCount:meta?.observerCount,failures:meta?.failures,notifications:meta?.notificationCount};evaluate("(()=>{delete globalThis.${key};return JSON.stringify(true)})()");if(meta?.active||meta?.failures?.length)throw Error('Trace restoration/recording failed');}}catch(error){report.status='failed';report.error||=String(error);report.resizeTraceCleanupError=String(error);}finally{${end}}`;
|
||||
if(source.split(end).length!==2)throw Error('Trace cleanup anchor drift');source=source.replace(end,cleanup);return {...result,source};}});
|
||||
@@ -0,0 +1,22 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import {readFileSync,writeFileSync,realpathSync} from 'node:fs';
|
||||
import {join} from 'node:path';
|
||||
import {acquireHostLock} from '../scripts/testing/host/hostLock.mjs';
|
||||
import {localVaultTarget} from '../scripts/testing/localVault.mjs';
|
||||
import {spawnNativeSync,obsidianCliExecutable} from '../scripts/testing/host/processTools.mjs';
|
||||
import {parseCLIJSON} from '../scripts/testing/host/inAppTask.mjs';
|
||||
import {waitForNativeReady} from '../scripts/testing/host/hostReadiness.mjs';
|
||||
const dir=process.argv[2],r=JSON.parse(readFileSync(dir+'/report.json','utf8'));
|
||||
assert.equal(r.diagnosticOnly,true);assert.equal(r.acceptanceCredit,false);assert.equal(r.cleanup,'passed');assert.equal(r.baselineRestoration.restored,true);assert.equal(r.resizeTrace.active,false);
|
||||
const target=localVaultTarget(process.cwd()),userData=join(process.env.APPDATA,'obsidian'),lock=acquireHostLock({userDataPath:userData});
|
||||
const cli=(...args)=>{const p=spawnNativeSync(obsidianCliExecutable(),['vault='+target.vaultName,...args],{encoding:'utf8',timeout:20000,maxBuffer:4*1024*1024});if(p.error||p.status||/^Error:/m.test(p.stdout))throw Error(p.error?.message||p.stdout||p.stderr);return p.stdout;};
|
||||
const evaluate=code=>parseCLIJSON(cli('eval','code='+code));
|
||||
const identity=()=>{assert.equal(realpathSync(cli('vault','info=path').trim()),realpathSync(target.vaultPath));assert.equal(realpathSync(evaluate("JSON.stringify(require('@electron/remote').app.getPath('userData'))")),realpathSync(userData));};
|
||||
try{
|
||||
identity();const started=Date.now(),recovery=evaluate(readFileSync('tmp/pr3022-recover-baseline-window.js','utf8')),readiness=[];
|
||||
await new Promise(resolve=>setTimeout(resolve,300));await waitForNativeReady(cli,{diagnostics:readiness});identity();
|
||||
const native=evaluate(readFileSync('tmp/pr3022-trace-removal-check.js','utf8')),inspection=evaluate(readFileSync('tmp/pr3022-final-inspection.mjs','utf8')),passive=evaluate(readFileSync('tmp/pr3022-post-storm-passive.js','utf8'));
|
||||
assert.equal(native.tracePresent,false);for(const key of ['constructor','observe','unobserve','disconnect'])assert.ok(native[key].includes('[native code]'));
|
||||
assert.deepEqual(native.tasks,[]);assert.equal(native.popouts,0);assert.equal(inspection.pluginReady,true);assert.equal(inspection.extrasReady,true);assert.equal(inspection.printRoots,0);assert.deepEqual(passive.events,[]);
|
||||
const result={started,completed:Date.now(),recovery,readiness,native,inspection,passive,acceptanceCredit:false,separateFromDiagnosticTrial:true};writeFileSync(dir+'/trace-removal-recovery.json',JSON.stringify(result,null,2)+'\n');process.stdout.write(JSON.stringify({status:'passed',traceRemoved:true,baselineRestored:true,quiet:true,acceptanceCredit:false})+'\n');
|
||||
}finally{lock.release();}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,905 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"status": "ownership-mechanism-reproduced-original-observer-unidentified",
|
||||
"approval": {
|
||||
"text": "Approve diagnostic-only trace with a 30-minute cap",
|
||||
"startedUtc": "2026-10-30T10:21:04Z",
|
||||
"deadlineUtc": "2026-10-30T10:51:04Z",
|
||||
"lastLiveExperimentUtc": "2026-10-30T10:49:39Z",
|
||||
"withinCap": true,
|
||||
"timezoneCorrection": "Budapest is UTC+1 on this date: deadline 11:51, not the earlier stated 12:51. Runtime guard used the correct UTC deadline."
|
||||
},
|
||||
"acceptanceCredit": false,
|
||||
"source": {
|
||||
"pluginRevision": "814526f9194fc4b9bf89046967e59c474aef05ed",
|
||||
"pluginDirty": false,
|
||||
"forkRevision": "053a3b9f9e77917c457fce8ca9453d38b92a303b",
|
||||
"forkDirty": false,
|
||||
"buildMode": "workspace-frozen",
|
||||
"requestedProfile": "focused",
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"runtime": {
|
||||
"installer": "1.14.5",
|
||||
"versions": {
|
||||
"node": "24.22.0",
|
||||
"acorn": "8.18.0",
|
||||
"ada": "4.0.0",
|
||||
"amaro": "1.1.11",
|
||||
"ares": "1.34.8",
|
||||
"brotli": "1.2.0",
|
||||
"cldr": "48.0",
|
||||
"icu": "78.2",
|
||||
"llhttp": "9.4.3",
|
||||
"merve": "1.2.2",
|
||||
"modules": "148",
|
||||
"napi": "10",
|
||||
"nbytes": "0.1.4",
|
||||
"ncrypto": "0.0.1",
|
||||
"nghttp2": "1.70.0",
|
||||
"nghttp3": "",
|
||||
"ngtcp2": "",
|
||||
"openssl": "0.0.0",
|
||||
"simdjson": "4.6.11",
|
||||
"simdutf": "7.7.0",
|
||||
"sqlite": "3.53.4",
|
||||
"tz": "2026d",
|
||||
"undici": "7.29.1",
|
||||
"unicode": "17.0",
|
||||
"uv": "1.52.1",
|
||||
"uvwasi": "0.0.23",
|
||||
"v8": "15.0.245.31-electron.0",
|
||||
"zlib": "1.3.2.1-motley",
|
||||
"zstd": "1.6.0",
|
||||
"electron": "43.8.3",
|
||||
"chrome": "150.0.7871.250"
|
||||
},
|
||||
"platform": "win32",
|
||||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.14.5 Chrome/150.0.7871.250 Electron/43.8.3 Safari/537.36"
|
||||
},
|
||||
"frozenArtifacts": {
|
||||
"fork": [
|
||||
{"role":"production-js","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.js","sha256":"9ff28736724a15606c6281e69450196b8f5f97ac3bc03eff789c24f42d3b2f14","bytes":6507693},
|
||||
{"role":"production-css","path":"packages/excalidraw/dist/obsidian/excalidraw.production.min.css","sha256":"0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002","bytes":309492},
|
||||
{"role":"development-js","path":"packages/excalidraw/dist/obsidian/excalidraw.development.js","sha256":"19335273f3d38e82c0c1d416d4a49cda888ed8d2e22aea9fdb5ea3437518ac70","bytes":29982449},
|
||||
{"role":"development-css","path":"packages/excalidraw/dist/obsidian/excalidraw.development.css","sha256":"192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883","bytes":350666},
|
||||
{"role":"package-manifest","path":"packages/excalidraw/package.json","sha256":"0e2a5943e646505c011535ab78498ebf77107d524f2e5f9c2bb9fc59a3ebc424","bytes":4669},
|
||||
{"role":"declaration:packages/excalidraw/types/common/debug.d.ts","path":"packages/excalidraw/types/common/debug.d.ts","sha256":"a8ff922d3c5550484a408d613ddc5938ad99df81d7f87a2f2eb57158a141750d","bytes":1016},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/appEventBus.d.ts","path":"packages/excalidraw/types/common/src/appEventBus.d.ts","sha256":"fbc91a8b90b0d42ece8095ffc47d4aa19ff41b2f35636b4197819221d5e38a91","bytes":1342},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/binary-heap.d.ts","path":"packages/excalidraw/types/common/src/binary-heap.d.ts","sha256":"55d64aab8b3e3a974954ddd664ea2c39f26c425c69f9516085c23673bb68a52a","bytes":334},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/bounds.d.ts","path":"packages/excalidraw/types/common/src/bounds.d.ts","sha256":"4aca9407a90c5b0e546ab8430bd8867b0ad7643541a981b121a48a0af6f94b89","bytes":258},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/colors.d.ts","path":"packages/excalidraw/types/common/src/colors.d.ts","sha256":"13d4f32cb1598531d83dd58c224e95d2eb1a1e00c91aa8ae4657c7c8bcfe6ab5","bytes":6943},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianHost.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianHost.d.ts","sha256":"11d9a953afff9cb166a4f42172fca190fda6feb112d00ff666c90b1e02be9c8e","bytes":2669},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","path":"packages/excalidraw/types/common/src/commonObsidianUtils.d.ts","sha256":"a6563a72b034c6dde0b71b6ba29e39b37c0cc373c17938024b4fa1cd4cc000f3","bytes":776},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/constants.d.ts","path":"packages/excalidraw/types/common/src/constants.d.ts","sha256":"00ccf00adae6282079c3c70b6294a087eba9f9cecb9e3e0f247de2db6fc36208","bytes":16836},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/editorInterface.d.ts","path":"packages/excalidraw/types/common/src/editorInterface.d.ts","sha256":"0f224e384681de724694e6d605a0b2992c97da72d3c81acb45b31c90e92335ee","bytes":1811},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/emitter.d.ts","path":"packages/excalidraw/types/common/src/emitter.d.ts","sha256":"e160f5ea4483ebc246f1e66ccbbd5d04e4a6afebd49eabcd591a9828b300036d","bytes":598},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/font-metadata.d.ts","path":"packages/excalidraw/types/common/src/font-metadata.d.ts","sha256":"468d2f0ca327ab750b29aa9bf9232f4716fd9403c236b20eabd72072afbe8c3f","bytes":1755},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/index.d.ts","path":"packages/excalidraw/types/common/src/index.d.ts","sha256":"e9eb7d007d7257ed69a34026a1fb2a48cd66e004ff336d2f1a040814614f3e78","bytes":572},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/keys.d.ts","path":"packages/excalidraw/types/common/src/keys.d.ts","sha256":"c64cf972109a6a781e3950ab4812e6397d0be9cac5102acba85484b33ff5b85f","bytes":6190},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/points.d.ts","path":"packages/excalidraw/types/common/src/points.d.ts","sha256":"8583541800e13a13b3d86f10b3785edb8620e2b10e52ebd6f226bfbfcdffb6d5","bytes":602},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/promise-pool.d.ts","path":"packages/excalidraw/types/common/src/promise-pool.d.ts","sha256":"58684b8dc4d6c8d6a4349929132f398376339a6da8151b9f282969ab9fd70c24","bytes":228},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/queue.d.ts","path":"packages/excalidraw/types/common/src/queue.d.ts","sha256":"ccf68c9c2eb18c7926010f747e7e1688c81daf9d8e2080e3c3b751f5226e2e40","bytes":336},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/random.d.ts","path":"packages/excalidraw/types/common/src/random.d.ts","sha256":"8bcbf41e78d15778ecbf69caf400bbf4a9f50b377d1de19272c4690c8b1b9c1a","bytes":567},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/url.d.ts","path":"packages/excalidraw/types/common/src/url.d.ts","sha256":"17a469b531032a5ac4e5c808a965283431d6e0ff256d34cd6cbb68433e32f768","bytes":309},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/utility-types.d.ts","path":"packages/excalidraw/types/common/src/utility-types.d.ts","sha256":"271d987bcde84d49f385cd59a46e662fa045c280a982b30e8831f1b6f1c037b3","bytes":2059},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/utils.d.ts","path":"packages/excalidraw/types/common/src/utils.d.ts","sha256":"65aecab7fd845e2cd61fb0f704ef7660242ffbdf80896ee8145144452440c1e9","bytes":14518},
|
||||
{"role":"declaration:packages/excalidraw/types/common/src/versionedSnapshotStore.d.ts","path":"packages/excalidraw/types/common/src/versionedSnapshotStore.d.ts","sha256":"bf2c600a286090be29f58a82456a99fed26cc471a5f202197ac1bb5148f67425","bytes":609},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/Scene.d.ts","path":"packages/excalidraw/types/element/src/Scene.d.ts","sha256":"3740aecc76210c0d8afa74abeeaf5cf524a122b21da05b80e3f024470d6a4266","bytes":4861},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/align.d.ts","path":"packages/excalidraw/types/element/src/align.d.ts","sha256":"1b89a4fa6bebd1727883ebf47063948aa88d9f9cd66d5d685b254f96508ed48b","bytes":609},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/arrowEndpointText.d.ts","path":"packages/excalidraw/types/element/src/arrowEndpointText.d.ts","sha256":"234d43f2255ea868753b7791561a8372c38216b8850ed8cbaf3d96e18fe249b1","bytes":2542},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/arrowheads.d.ts","path":"packages/excalidraw/types/element/src/arrowheads.d.ts","sha256":"d013aa9d1eaba5b37e3e0747a5476569f9220062a9af5a6fbb8e951e1d6dbf7b","bytes":273},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/arrows/focus.d.ts","path":"packages/excalidraw/types/element/src/arrows/focus.d.ts","sha256":"3ef886f9cc228b8434ee68853cc5de302f76826de950a31eb9de552d55bfe648","bytes":1733},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/arrows/helpers.d.ts","path":"packages/excalidraw/types/element/src/arrows/helpers.d.ts","sha256":"6ab82e2b4573a605e15d3e63632fe6934f925f90174fbd490ea72e07acfe9158","bytes":230},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/binding.d.ts","path":"packages/excalidraw/types/element/src/binding.d.ts","sha256":"2b1c13f083dcaed281e6a2f7874c7b4a054724210ce545a25a475ef9ceac99d9","bytes":12654},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/bounds.d.ts","path":"packages/excalidraw/types/element/src/bounds.d.ts","sha256":"4169b8246425c7b8c8e2b4e4b8e01f0bf7d0c77fbe17e07d4fef3e4abf5b7136","bytes":5630},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/bucketFill.d.ts","path":"packages/excalidraw/types/element/src/bucketFill.d.ts","sha256":"544c15c9586c1e63f6c1640e4b4dace06749083ece0256688a42ac6993e6f2a0","bytes":5063},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/collision.d.ts","path":"packages/excalidraw/types/element/src/collision.d.ts","sha256":"fbf7ce0d420c4d548eab09afca369b5cad11489afdf6311253954cd0d1c7069b","bytes":3320},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/comparisons.d.ts","path":"packages/excalidraw/types/element/src/comparisons.d.ts","sha256":"0724e0261b9c50274a08d06d4a9f0ba212fc6b19d6162da2248e19ec08458a38","bytes":1607},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/containerCache.d.ts","path":"packages/excalidraw/types/element/src/containerCache.d.ts","sha256":"2a0bbd598047001fbcd4891d39fe56d4087a21e4aa3c23d717bdf8aca99640b0","bytes":611},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/convertToShape.d.ts","path":"packages/excalidraw/types/element/src/convertToShape.d.ts","sha256":"e2fe41feb15646e8e554cbbfeb9f9cbdfb62f7d3a2bf05f63ce8b0fe0c7c51bc","bytes":1533},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/cropElement.d.ts","path":"packages/excalidraw/types/element/src/cropElement.d.ts","sha256":"024ca59ede2fd36baec38815eeda2cf8beeedc50864e5022a0a4cb6cdcef74d5","bytes":1845},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/delta.d.ts","path":"packages/excalidraw/types/element/src/delta.d.ts","sha256":"67daa39f3479767bbfe859795d38ec0f06a209baef1ccfe6efd25171c98d07ca","bytes":12425},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/distance.d.ts","path":"packages/excalidraw/types/element/src/distance.d.ts","sha256":"09d801edfe6f7c8e19213885d8013e380d274c9ab2b7e7578f671b8611cdf96f","bytes":238},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/distribute.d.ts","path":"packages/excalidraw/types/element/src/distribute.d.ts","sha256":"c26ad6f874e5607b6e2452f3c3686def0a9c2d6deefae1e655a0d0c6d7a8e05f","bytes":645},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/dragElements.d.ts","path":"packages/excalidraw/types/element/src/dragElements.d.ts","sha256":"25c8aa1cb9480ccbe13890a86c628f838c33bbe699c2a7f00866fa7376b507ca","bytes":2944},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/duplicate.d.ts","path":"packages/excalidraw/types/element/src/duplicate.d.ts","sha256":"9fa7c9288312523e25c7c384c4e87d71df2a76e62ad6eacb0deaa92a17bca073","bytes":5941},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/easingFunctions.d.ts","path":"packages/excalidraw/types/element/src/easingFunctions.d.ts","sha256":"81dd247fa6e12427eb533b9da3b1e8e513da188f4abc733357016a7f4420a3e2","bytes":204},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/elbowArrow.d.ts","path":"packages/excalidraw/types/element/src/elbowArrow.d.ts","sha256":"331c208da0b18802f2de2d3486f8ccf7eda95a848eb2f8c82c2da77d8cef6158","bytes":1248},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/elementLink.d.ts","path":"packages/excalidraw/types/element/src/elementLink.d.ts","sha256":"eb11ce674189a594640eefaa58bf184f3f0bbcfc3b8e0ab8af717a52d1072e8f","bytes":694},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/embeddable.d.ts","path":"packages/excalidraw/types/element/src/embeddable.d.ts","sha256":"9441881eefd97b3fbcd862b294bea538853d3445f32746668bdffc7480431bca","bytes":922},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/flowchart.d.ts","path":"packages/excalidraw/types/element/src/flowchart.d.ts","sha256":"0d5111ba3ca432f87007f01fb026a54ea9a03c41cce055238c5cb1a9fbb58644","bytes":1545},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/fractionalIndex.d.ts","path":"packages/excalidraw/types/element/src/fractionalIndex.d.ts","sha256":"f4da5e872acaf7aa5b8440f29dda298fc05fb5bdafc2713f65b4bf571ff0b988","bytes":3943},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/frame.d.ts","path":"packages/excalidraw/types/element/src/frame.d.ts","sha256":"0be85a23af219b8730b91e8b3b9450daebbe52f032e147b0ef965d4a19125d83","bytes":7877},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/freedrawPath.d.ts","path":"packages/excalidraw/types/element/src/freedrawPath.d.ts","sha256":"4cfe9331b972fcf7b74d63b68b6f59d6269fa346937b5873c1a0102d6e1a1110","bytes":329},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/groups.d.ts","path":"packages/excalidraw/types/element/src/groups.d.ts","sha256":"12b6d098c0e6ae5d0f1a512b2971c48dd3b8964c04075ee82b91caae9bc6541f","bytes":2992},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/heading.d.ts","path":"packages/excalidraw/types/element/src/heading.d.ts","sha256":"dfd4148b453c11304ecd304e9c9d880d1dc4c4af3061f6b9197b75015d7bfdff","bytes":1133},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/image.d.ts","path":"packages/excalidraw/types/element/src/image.d.ts","sha256":"90df6ec5daa3c2111a580bd1b7170b9f59df8c2827d49a37a65a591061da7937","bytes":1557},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/index.d.ts","path":"packages/excalidraw/types/element/src/index.d.ts","sha256":"65fac5ddea0719a1078bf05680eed559bb43505a9eafb4eb4f49e2b872c993d8","bytes":2452},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/linearElementEditor.d.ts","path":"packages/excalidraw/types/element/src/linearElementEditor.d.ts","sha256":"dfde40d7d3a05f0dfb028312d80c690b7ce3e3e2d4dbcb06e43f78c674599cec","bytes":9611},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/listMarker.d.ts","path":"packages/excalidraw/types/element/src/listMarker.d.ts","sha256":"774098dab4fc43a6f89f801d41ed033e2326e2c626efa393f840b3c4d3a72653","bytes":1667},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/mutateElement.d.ts","path":"packages/excalidraw/types/element/src/mutateElement.d.ts","sha256":"64c125a5ec9c820fe6291c5f4a4b4a98120ed29cd4d0f03b1a8517f56e1aa4b7","bytes":1360},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/newElement.d.ts","path":"packages/excalidraw/types/element/src/newElement.d.ts","sha256":"96023e3927f8e88317ea9c4e3f636b12487c5c43705ecdccf1386604bebb500d","bytes":6108},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/positionElementsOnGrid.d.ts","path":"packages/excalidraw/types/element/src/positionElementsOnGrid.d.ts","sha256":"69c65ecb0cf369f680c76c62e8af840f6e6f8d75eaa96673c2f982b0f1c5142e","bytes":236},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/renderElement.d.ts","path":"packages/excalidraw/types/element/src/renderElement.d.ts","sha256":"c9125100a06abfdd6e2480e2a9252c7d0193f674b3ed6c07886565c382f8aeeb","bytes":3638},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/renderEnvironment.d.ts","path":"packages/excalidraw/types/element/src/renderEnvironment.d.ts","sha256":"d1558b8ace47be0c814118891403bcdd6e431aa4b4e2e0076cc3e19be0855c48","bytes":2986},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/resizeElements.d.ts","path":"packages/excalidraw/types/element/src/resizeElements.d.ts","sha256":"f8b4565ca981e1d53da73c217835719261872fe661725e5f3ea2938a6432228b","bytes":3582},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/resizeTest.d.ts","path":"packages/excalidraw/types/element/src/resizeTest.d.ts","sha256":"8df33bc794d183d59ee6cc6ae90c33c7da254410745e09d38fa188ab9e79769e","bytes":1512},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/selection.d.ts","path":"packages/excalidraw/types/element/src/selection.d.ts","sha256":"c50ff857f5983c6ee663f327ecb3e33bb5745ffcba6fbbcb4237f867f98ef783","bytes":2448},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/shape.d.ts","path":"packages/excalidraw/types/element/src/shape.d.ts","sha256":"cd30188107cf50f8f3aac4dbde018bbb3d04269cc4cc35b48016522fb07c54d0","bytes":4338},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/showSelectedShapeActions.d.ts","path":"packages/excalidraw/types/element/src/showSelectedShapeActions.d.ts","sha256":"bcb36ef33f371be8e6b3280e3395edd9a55e98ea32cee5d9bb065c21b64c2721","bytes":256},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/sizeHelpers.d.ts","path":"packages/excalidraw/types/element/src/sizeHelpers.d.ts","sha256":"870055b6f912ef0242a72fc703860e8643c3d96d36e844d1bc330711d48ded48","bytes":1888},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/sortElements.d.ts","path":"packages/excalidraw/types/element/src/sortElements.d.ts","sha256":"e2be098fff5192a5be7803076e2d2bfe791d68b0f274958dc9c6e21dc6d92800","bytes":678},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/stickyNote.d.ts","path":"packages/excalidraw/types/element/src/stickyNote.d.ts","sha256":"80a65ced156c8657c2806186c8709ab58425ee8056b0f78cee9ade8a09eace91","bytes":10086},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/store.d.ts","path":"packages/excalidraw/types/element/src/store.d.ts","sha256":"f257ba9b267d682833943383f0395c1dbdcf18bf3f84fab7c1b3bc59d1773250","bytes":9147},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/textElement.d.ts","path":"packages/excalidraw/types/element/src/textElement.d.ts","sha256":"03874b23724cf69ffabae1bfa2a35c11c43ec3b6eb7aba18c0e3eed818da92a7","bytes":3869},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/textMeasurements.d.ts","path":"packages/excalidraw/types/element/src/textMeasurements.d.ts","sha256":"2ca82735e7ba1bda5bc0e23fa30925168f1895ebd3c0999b9f7777b208aa8320","bytes":2730},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/textWrapping.d.ts","path":"packages/excalidraw/types/element/src/textWrapping.d.ts","sha256":"1d4d8c1ae12ee18a55beb128bfff699f3b235e8e180acfc9f1827d3f3cb126fd","bytes":1844},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/transform.d.ts","path":"packages/excalidraw/types/element/src/transform.d.ts","sha256":"80cc3a965de88faecc7eb1f062646fe4521e7ebe4be6dfa0bc02ad057881a9b6","bytes":4652},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/transformHandles.d.ts","path":"packages/excalidraw/types/element/src/transformHandles.d.ts","sha256":"2a00cedcc351a035916f812b444c9bf31924c7536a852c756619542e35cf027b","bytes":1940},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/typeChecks.d.ts","path":"packages/excalidraw/types/element/src/typeChecks.d.ts","sha256":"15997de34591086c7f1ac991525d6130d189ecbbc1e55547491586fb0744feba","bytes":6017},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/types.d.ts","path":"packages/excalidraw/types/element/src/types.d.ts","sha256":"a196252d1cdd0155e1d75b6c24ac3a9ae572f7bc61c7826ef010e37045d4eaed","bytes":14915},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/utils.d.ts","path":"packages/excalidraw/types/element/src/utils.d.ts","sha256":"f201cdc67e4780fbf4eaf839cf961b8732e50c5f758f8dd8ebc1de702771fefe","bytes":3147},
|
||||
{"role":"declaration:packages/excalidraw/types/element/src/zindex.d.ts","path":"packages/excalidraw/types/element/src/zindex.d.ts","sha256":"7acf225917906fdc693f9a7c71a58f683463c9b71cea24c484659a5095608ef1","bytes":1293},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionAddToLibrary.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionAddToLibrary.d.ts","sha256":"1ed25619f2e1691c0f122446cd45d5ee34b21714f9176185e21171de2dd23aa6","bytes":32165},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionAlign.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionAlign.d.ts","sha256":"379f02c736dd28adfcef3485fa689f2a1a9c065ef70f70d1d32b65566b068e7f","bytes":10714},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionBoundText.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionBoundText.d.ts","sha256":"73891d10ac8b310da4bda961b16558cd2de1ddd01e6951dc25b92bacb64612aa","bytes":13190},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionCanvas.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionCanvas.d.ts","sha256":"56bfea5694b15f006f1ff2ba74cdc8e2309ca95ed6dc9fa986c2a3be33621747","bytes":88619},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionClipboard.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionClipboard.d.ts","sha256":"1893cba8b32c8675ef748d4a57281298a1c7cb40c32ba991cf722ed9e52eecd6","bytes":24827},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionCropEditor.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionCropEditor.d.ts","sha256":"62dc9471877496590995189036c56a46e7a098c90b61039fbf984d9ee3ecc1e0","bytes":11398},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionDeleteSelected.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionDeleteSelected.d.ts","sha256":"e688b4c29ca5c345a7198bcd54f794aec98c3894c08d2db73b6c86730de2a359","bytes":420},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionDeselect.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionDeselect.d.ts","sha256":"7b2957019202b17d99ad7523f1421bc0f4f1c467de473dab70035b6728fddfc4","bytes":10682},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionDistribute.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionDistribute.d.ts","sha256":"fc207544582da1776be7737467eabd53d77a29239feaf0dc2a8954cdaafe7698","bytes":3258},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionDuplicateSelection.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionDuplicateSelection.d.ts","sha256":"d04c687682b817307722e2db0640cdc0fdc60549b9e9bf8538eaa3960d4bb8ac","bytes":957},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionElementLink.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionElementLink.d.ts","sha256":"e094fa8ef9e5606b4d6c12d01489c645e2f2b55a97da2f5e2c5c34706f7f3668","bytes":12146},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionElementLock.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionElementLock.d.ts","sha256":"3cccb26261db02d3c0e387f7335a672f784835ddbbbdf765fc0a7088c3fde3f0","bytes":22678},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionExport.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionExport.d.ts","sha256":"dd3d2ce446ba17322de0d152064bd16c52757e60387a4c179ddcfa55c79d0829","bytes":25274},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionFinalize.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionFinalize.d.ts","sha256":"5b738948d3b97a1996d2bb7c2f0bbc82bffd30fd5b9a6a217f323b868db5c3d0","bytes":527},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionFlip.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionFlip.d.ts","sha256":"e38a9909dcf1ddfc98bfc4956640f212a1d82d3e5e3dae814cb1e3726dbecbcb","bytes":1506},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionFrame.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionFrame.d.ts","sha256":"6b5d3a348ca4df30dd7dde0a227e098bc05bb17350411716941b51b2ad055d78","bytes":34181},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionGroup.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionGroup.d.ts","sha256":"7bbbe0b162cbbd1786ebe4935e69652a839723439e349f9b3eeb228798a3d347","bytes":22902},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionHistory.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionHistory.d.ts","sha256":"0a7fe44bc769612d4c20d70f6a923dab9071b0f993c77a73637c8718a7165dbd","bytes":252},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionLinearEditor.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionLinearEditor.d.ts","sha256":"12555fcca01e15c082b97f8fa5f8200d779c08c59090e5805a273868344571ae","bytes":35507},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionLink.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionLink.d.ts","sha256":"08981218280ee668a5e4986a7d5b71690b2371478280c81f8ca5a6c9bfa7f4e7","bytes":11723},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionMenu.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionMenu.d.ts","sha256":"0d026902b5a8a04d952e0f10aed82856b19cc0326df325bed52ac978a0c05ad1","bytes":10548},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionNavigate.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionNavigate.d.ts","sha256":"ef311d8279feb9642b48861e1367eaad3b1cdeb4e7fcc90f9c5eba89cf6a6765","bytes":844},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionProperties.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionProperties.d.ts","sha256":"d5a5d511a3f400c8f0cf4a37e784732c886d90bd19322099ffda76bcbdc14687","bytes":39294},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionSelectAll.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionSelectAll.d.ts","sha256":"5e1058115580bc9f27ececde660bb444910c8660d8ef4faa59b8a46ac7bf3b8a","bytes":10927},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionStyles.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionStyles.d.ts","sha256":"6cbddfc2d2d9aa577a718d0c950807fa69d53bcd751cb9202cd26eb9212ad829","bytes":12101},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionTextAutoResize.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionTextAutoResize.d.ts","sha256":"1a83d3cb3ebcd878c0bce7dd530cce82a988bf1ffddc82337b9940024619b1e5","bytes":790},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleArrowBinding.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleArrowBinding.d.ts","sha256":"297ea3120a51260364ecbf42ba676d54e25a3f5ceadd3542b33a2b894ae7a533","bytes":11127},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleGridMode.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleGridMode.d.ts","sha256":"7514343cb863be9af9585a04b35f5479665f157564ab0e8b4a2cafd9db3dafc9","bytes":11549},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts","sha256":"80b736319c351b03f05f932011c5602a2fa8595ad7ca1939b7eb4122fce8dbc8","bytes":11135},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts","sha256":"4204f6ebe072e6947ed79b89bdb8d3a591a00f02e4c3fcb9137b8cd5e042476d","bytes":11544},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleSearchMenu.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleSearchMenu.d.ts","sha256":"ba09b8feca29ac54deb95126549d9c071d25251a7b737d78e4d6cbbe327818d4","bytes":11009},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleShapeSwitch.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleShapeSwitch.d.ts","sha256":"92d10794a67ed67b3f1151a113edbf0746321d6e57ced0564b32677e89a395dc","bytes":818},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleShowHints.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleShowHints.d.ts","sha256":"5c7397c9dea47f11446de06482237d570f986e523410410127cebdab95384610","bytes":11196},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleStats.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleStats.d.ts","sha256":"779d0f1281718ce7f1c03229b0b40f3d685627c24592fa80aed9f4339c18c9eb","bytes":11277},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleViewMode.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleViewMode.d.ts","sha256":"4ba069ac118645e8e743fe665f04918fbd080c484119cde10fc681973cce111c","bytes":11631},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleWrap.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleWrap.d.ts","sha256":"02d09fb8f10304d5b8d33f6da01f06fcce109c0af72c3c6abde04e4c396c5bcc","bytes":1097},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionToggleZenMode.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionToggleZenMode.d.ts","sha256":"8455dc95e74061b5419f4763c9e128e3c6c7caf1097feae66a2f97b0f6256b82","bytes":11573},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionTrayMenu.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionTrayMenu.d.ts","sha256":"7f02b92a21c8f542fec0bf22c61abe13d158e202ed911f880e523fb810f4c251","bytes":11091},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/actionZindex.d.ts","path":"packages/excalidraw/types/excalidraw/actions/actionZindex.d.ts","sha256":"027ebee939e399e1f3628ab9e5eef9f42b8ebb5dfa7ceae3e7d5f95df5d7ce78","bytes":3826},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/colorTargets.d.ts","path":"packages/excalidraw/types/excalidraw/actions/colorTargets.d.ts","sha256":"bdc5968c796d2e898a62ca1616d0e8547286ac8f55482d174d701cbda383ab33","bytes":2274},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/index.d.ts","path":"packages/excalidraw/types/excalidraw/actions/index.d.ts","sha256":"db4f3bd789aaf303da36d9cb1f159ddf9b8c0e5ae60dc3620e6d219b0512a6fd","bytes":2857},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/manager.d.ts","path":"packages/excalidraw/types/excalidraw/actions/manager.d.ts","sha256":"38411b8ccf4c0ed591e4859410fb08a232f0dd460a28d97fc1fb89abb66ad4ee","bytes":1321},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/register.d.ts","path":"packages/excalidraw/types/excalidraw/actions/register.d.ts","sha256":"a2a470520c79116c51a274a58e07e33effbfd5405190f40f04d8317f0da00608","bytes":268},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/shortcuts.d.ts","path":"packages/excalidraw/types/excalidraw/actions/shortcuts.d.ts","sha256":"8338daeb6fad3ba24223a559cda29349377da4620df8ffaa2ad5d54b616ec721","bytes":993},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/actions/types.d.ts","path":"packages/excalidraw/types/excalidraw/actions/types.d.ts","sha256":"0050da70f8f23d5d24097f26383bafb7d8f4360e25f9aa73c63c2e5d287ae7bc","bytes":4820},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/analytics.d.ts","path":"packages/excalidraw/types/excalidraw/analytics.d.ts","sha256":"7f77a5628808b0acb6d8c9794ddfdd1fe1be8fad8018e596de15d6f6e22e1b16","bytes":109},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/animatedTrail.d.ts","path":"packages/excalidraw/types/excalidraw/animatedTrail.d.ts","sha256":"b4f40e3b8faae8fe9963445f1f1555150a021ca3180a3e54acd4399ae2c29160","bytes":1322},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/appState.d.ts","path":"packages/excalidraw/types/excalidraw/appState.d.ts","sha256":"c8f77ad3a4aaf9e9ff1c6cc427431c51bc58da8cec06d45dbf2997421d7f3f86","bytes":5949},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/charts/charts.bar.d.ts","path":"packages/excalidraw/types/excalidraw/charts/charts.bar.d.ts","sha256":"08fd8ccc16f538626bc4661d16f2f942054fa64c0ff565214048418aac3a11f6","bytes":291},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/charts/charts.constants.d.ts","path":"packages/excalidraw/types/excalidraw/charts/charts.constants.d.ts","sha256":"5f16016479f94d2427f006063cc61c454c2ce08ba23c5b9447b6730b4974257f","bytes":2043},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/charts/charts.helpers.d.ts","path":"packages/excalidraw/types/excalidraw/charts/charts.helpers.d.ts","sha256":"86d932f7aa247169a29915992492581eb58ee1aabfdc7adb1bf3175aa8f098e4","bytes":3218},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/charts/charts.line.d.ts","path":"packages/excalidraw/types/excalidraw/charts/charts.line.d.ts","sha256":"1def7722a67026fa9739ae68d7a9f045d33e663aa1102b4a2a738a9f5bbe0950","bytes":292},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/charts/charts.parse.d.ts","path":"packages/excalidraw/types/excalidraw/charts/charts.parse.d.ts","sha256":"6098ffec47948fa3898c3f981bbba3884f1da68ffabef7fe67d8532a301e6d9c","bytes":378},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/charts/charts.radar.d.ts","path":"packages/excalidraw/types/excalidraw/charts/charts.radar.d.ts","sha256":"963cdbe3d7a5147a4ba3d853be198ce4b371ad76de0a0c118f86b2a9ff3b62f2","bytes":300},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/charts/charts.types.d.ts","path":"packages/excalidraw/types/excalidraw/charts/charts.types.d.ts","sha256":"62d5f59175f87d03242c2764fdf112c6274cf87c5d84c12fb1f0f9da5a60183a","bytes":474},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/charts/index.d.ts","path":"packages/excalidraw/types/excalidraw/charts/index.d.ts","sha256":"b7b778c3e342a55ecd253f0b913818a91652709f57fae0a89b3b0d433c69c05a","bytes":723},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/clients.d.ts","path":"packages/excalidraw/types/excalidraw/clients.d.ts","sha256":"8ac89522a1dad372d86a417317f4bc5c7e3e5c0d6df1f04df03950eb247f939f","bytes":691},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/clipboard.d.ts","path":"packages/excalidraw/types/excalidraw/clipboard.d.ts","sha256":"b2db75f0321268aa4cdd13a970f4460611e77a2c6d604d3d2836b7d3cf15aa4b","bytes":4916},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Actions.d.ts","path":"packages/excalidraw/types/excalidraw/components/Actions.d.ts","sha256":"4376d14c36199b943f354db40a0e7cba1a335c7c5442365b70a7b4b44cdbd5d9","bytes":2586},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ActiveConfirmDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/ActiveConfirmDialog.d.ts","sha256":"a68119787f0fc78a56621ca542e968c553e671e51a0961a4d8ca3136f24a3b09","bytes":246},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.arrowText.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.arrowText.d.ts","sha256":"18d53fea1c030c9d5599399713daaa64b1ebfc5c4ee6c6d9659cf6b42624ae78","bytes":3323},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.bucketFill.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.bucketFill.d.ts","sha256":"0f6ba523d94eab81383691cddd0fd68ff79d99b76b886f0733d5bbdbf5ca0a5b","bytes":1915},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.clipboard.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.clipboard.d.ts","sha256":"07afb0abc26880bc3577e3ca413c64ad0617791dba4397ee07e4359704a36032","bytes":1207},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.cursor.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.cursor.d.ts","sha256":"2b26ecec67574bf83fa147482effcada21405e9ae7204296978931ad34443ed6","bytes":1534},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.d.ts","sha256":"dbc1e7d4c013ef5a4dc9c0373314ef15ae4365d201b627cf4c6bf15f90044e82","bytes":37507},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.drawshape.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.drawshape.d.ts","sha256":"82d82ecc2bda549f4b9de5c558ca5eed56e01aeef488defaa5a854b5c85fdadd","bytes":2466},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.duplicate.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.duplicate.d.ts","sha256":"4589652567af7249e60bb1fd1fcf32fc0ef8b78d6acdcc7e824492c18a4de685","bytes":4639},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.flowchart.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.flowchart.d.ts","sha256":"c947c48a12920cfd928506af7bfb193dd79c0be16c4c8aaed5176836776914c3","bytes":734},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.host.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.host.d.ts","sha256":"c0d4009a184ca373ae28080e59194d5dbe5b6b361df585981b371db275c2836b","bytes":4865},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.modifiers.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.modifiers.d.ts","sha256":"c09964c72c6fff863de456589ca8680194870530ae3f0316faacbcc26831b469","bytes":1222},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.pan.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.pan.d.ts","sha256":"b1de7710802e7782c1b0aa6837bb99e40560e2f1725f75b1368b3e6939b08fc7","bytes":2868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.selection.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.selection.d.ts","sha256":"ea017db97844f867ca4c5ddbfcd8c3f6ef9b90aeeeb496f6451a271fecf10ecd","bytes":13166},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.selectionTool.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.selectionTool.d.ts","sha256":"3287edfff257fda2700ff845e483090fe447199fa8ad7264c8af1ffa207e0b75","bytes":4681},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.text.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.text.d.ts","sha256":"928102cf815137af5b61aeb14336bbda6d9e9c6c5a4d8623ceaa36f3ccb9e0f2","bytes":7062},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.textTool.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.textTool.d.ts","sha256":"9ee179f0de3e5d5fda88ea6106a8cefffd78e9501266068aa9df30bde0a8a4f3","bytes":6474},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.toolDrag.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.toolDrag.d.ts","sha256":"eda59ade00f60bc730507d2ac9a2fd6ec92e977c45ab2318327edcfb470d6a4b","bytes":2563},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.viewport.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.viewport.d.ts","sha256":"b16702a95391750fb488fef3102e9057e576ef57780bfbb8ff5e32f9fcdb2446","bytes":5739},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.wheel.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.wheel.d.ts","sha256":"cb616156f61adecc9e13a5d672cdd70dcf0090dd35864aac55bc4252d04ff5b0","bytes":1144},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/App.wrap.d.ts","path":"packages/excalidraw/types/excalidraw/components/App.wrap.d.ts","sha256":"5040df36bdde0123aea769461b745ac8a98829a69743c040dc09dfc3c5146353","bytes":1291},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/AppStateObserver.d.ts","path":"packages/excalidraw/types/excalidraw/components/AppStateObserver.d.ts","sha256":"98d6e29943a1568362e808c9bb6652a50b1647250e84339391befd37b4167cde","bytes":1512},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Avatar.d.ts","path":"packages/excalidraw/types/excalidraw/components/Avatar.d.ts","sha256":"4269f6c07ddb41b3c4dbffb70550754b93714fd2bec6da717b4908a6d33eae09","bytes":367},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/BraveMeasureTextError.d.ts","path":"packages/excalidraw/types/excalidraw/components/BraveMeasureTextError.d.ts","sha256":"2894917d01d89dbc37622961911c514c4766b11e49a55a73c20dbc21a9393adf","bytes":122},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Button.d.ts","path":"packages/excalidraw/types/excalidraw/components/Button.d.ts","sha256":"6a6e5509a509f09516d13e8f0b8cda94c324e8aac601b18a014991b91b43a0d5","bytes":727},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ButtonIconCycle.d.ts","path":"packages/excalidraw/types/excalidraw/components/ButtonIconCycle.d.ts","sha256":"324b1db30f29dc227c02052c9e8be212f6bfcef2fd4c772195798b4a132ba56b","bytes":340},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ButtonSeparator.d.ts","path":"packages/excalidraw/types/excalidraw/components/ButtonSeparator.d.ts","sha256":"af8e43fddb437c5610d0bb632ca5284a6fe0a7309bddf0e8364132c3d19aa2ad","bytes":85},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Card.d.ts","path":"packages/excalidraw/types/excalidraw/components/Card.d.ts","sha256":"ad1a3f4a372736158d349c612bda96d5b3c54c789361e9a865ec253c66c53124","bytes":136},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/CheckboxItem.d.ts","path":"packages/excalidraw/types/excalidraw/components/CheckboxItem.d.ts","sha256":"3f820f1f73a920a9d08806f1e25e52e968ae4c87dca7108fa53d0548c9379070","bytes":252},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/ColorInput.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/ColorInput.d.ts","sha256":"5899508b3a8229cab29416762231d5361694dec7898dae16ddfbc9a275a8baec","bytes":342},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/ColorPicker.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/ColorPicker.d.ts","sha256":"539d28e8cb275d58ad0eac855117b604618fa23395919132b252559bfca14dc1","bytes":1404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/CustomColorList.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/CustomColorList.d.ts","sha256":"c9777ff961146121e1ee608d13fd2fb1ce1f7205114ea5745d1dab86c1aa4cf2","bytes":375},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts","sha256":"38cc879a51783bbd75bc81bf822863042dbb8983c95a4336ff30fdfecd40e5e9","bytes":253},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/Picker.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/Picker.d.ts","sha256":"80b49701cf7124b97023900d3d78dc6fb6642b5dc34f5765331b69adb196cd35","bytes":930},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/PickerColorList.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/PickerColorList.d.ts","sha256":"3056519feaf6945fa333c3c54ee5e471a7739de077cf97a2fa44154ab7924983","bytes":747},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/PickerHeading.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/PickerHeading.d.ts","sha256":"31a57d7af7cdd66e97c2cd852bad12a7adb6e9628110dd76d96c0aee137a6a54","bytes":188},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/ShadeList.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/ShadeList.d.ts","sha256":"28070fed70ec2ba54d3e3ca257d291a13a9e6bd7ef1df547a4c8b297be3cdd55","bytes":443},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/TopPicks.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/TopPicks.d.ts","sha256":"b5cc561f385258585a76c67ee68f7cf42f218fb4e7c75de9d7f65e74b22b8d93","bytes":753},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts","sha256":"9f3ce9ed925ce7bda9342cdbea26cfd12e5a8a6043b4e5985baef3b25f5ebbee","bytes":1086},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts","sha256":"ce5d1037bd3976295d6e79e05c1c68ae246fcb9604c9891a79e3253009d79e77","bytes":623},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts","path":"packages/excalidraw/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts","sha256":"cd8cebd46d07129530e48cb7236f1f57137ff22f260a66842be94ebb2fb8a497","bytes":1067},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/CommandPalette/CommandPalette.d.ts","path":"packages/excalidraw/types/excalidraw/components/CommandPalette/CommandPalette.d.ts","sha256":"9e74fe0446602d8c22133f47c33cd1c5855c6b5b09878371da14640c8119ceb2","bytes":590},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts","path":"packages/excalidraw/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts","sha256":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","bytes":11},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/CommandPalette/types.d.ts","path":"packages/excalidraw/types/excalidraw/components/CommandPalette/types.d.ts","sha256":"9d3b7560b458cdb55b3771bd2279cfd03d9cc81ab33584f6dcf9c68190440af8","bytes":791},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ConfirmDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/ConfirmDialog.d.ts","sha256":"7e86ef2938990e576ddf9f8cfe81d82b146cd757914ca13f7230b933aa60ab7e","bytes":362},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ContextMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/ContextMenu.d.ts","sha256":"ebdb6cc75599c79f1004f364105c609d296de469d509b0ea0ff67e6035ce1ec0","bytes":723},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ConvertElementTypePopup.d.ts","path":"packages/excalidraw/types/excalidraw/components/ConvertElementTypePopup.d.ts","sha256":"11abfa7405ca79a29baf93089bc2cedc3a29c08cf8d4d2bbc103f8db6a4a667e","bytes":1246},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/CursorHint.d.ts","path":"packages/excalidraw/types/excalidraw/components/CursorHint.d.ts","sha256":"17d3d5ea55b051616febb77bfc80b55e7d50bb6e6878cf531e9b7b750cf9ddd6","bytes":1923},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/DarkModeToggle.d.ts","path":"packages/excalidraw/types/excalidraw/components/DarkModeToggle.d.ts","sha256":"84a0faf4d0dd102cdb353f8e1fb4357be5e0fed3ad61c5cd4d0fd10e46038b82","bytes":252},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/DefaultSidebar.d.ts","path":"packages/excalidraw/types/excalidraw/components/DefaultSidebar.d.ts","sha256":"8253a3325823b42ad56c1212f697daff0123601deb63c51c4db65a1615cb751e","bytes":1045},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts","path":"packages/excalidraw/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts","sha256":"f4e341692b2211547cac408f7538fe886a0e2390fe6b23253334d6d82659cf78","bytes":159},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Dialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/Dialog.d.ts","sha256":"f141b4973d713435478df812898193a2406804d208bb2ed6d5bb1bdf2750d258","bytes":456},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/DialogActionButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/DialogActionButton.d.ts","sha256":"c689743c6869134583b1de731a59db5998af354ebbdeaddcc445d252b3c30362","bytes":489},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ElementCanvasButtons.d.ts","path":"packages/excalidraw/types/excalidraw/components/ElementCanvasButtons.d.ts","sha256":"b375b90f609e27e9aa2c2ca1bd75060c33648945cec6602d34cdf8015f5fe2d1","bytes":369},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ElementLinkDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/ElementLinkDialog.d.ts","sha256":"bc970228c753ea463d34eb765cc85aa7b851aa570ec6c5a208c08be946fc8f2a","bytes":582},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Ellipsify.d.ts","path":"packages/excalidraw/types/excalidraw/components/Ellipsify.d.ts","sha256":"5cc20d565066eaceb4e6d3fa4908adfa9b34e829df13db7204200e2e4cc265e4","bytes":176},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ErrorDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/ErrorDialog.d.ts","sha256":"8048b182a72c267d6f05fde5f16f9208d0753f5d1d63270d23ac30ae0621f432","bytes":193},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ExcalidrawLogo.d.ts","path":"packages/excalidraw/types/excalidraw/components/ExcalidrawLogo.d.ts","sha256":"b3e28bfb7f1bcfd96d408162588f44e167e9a79c1ccc9f0248ad3ba7db7f83fd","bytes":532},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/EyeDropper.d.ts","path":"packages/excalidraw/types/excalidraw/components/EyeDropper.d.ts","sha256":"f4f944cf139834b9c80463a984fefd41870e7f76b4d5a1e6c9f2d1458553f046","bytes":1156},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/FileDropOverlay.d.ts","path":"packages/excalidraw/types/excalidraw/components/FileDropOverlay.d.ts","sha256":"dc5e7bd43d4dd2382a2a48e183afbf14b0b792b48a85653fa55de51dbb9e59ce","bytes":125},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/FilledButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/FilledButton.d.ts","sha256":"62f10c7ee780ffcc00e94026903cfa701fdd1ab3a52a648ccb5faae1afeddd30","bytes":731},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/FixedSideContainer.d.ts","path":"packages/excalidraw/types/excalidraw/components/FixedSideContainer.d.ts","sha256":"acf31e406c2a77426ae1c6f372cac157c3f2a795e026eeb19e4e070117afa0ad","bytes":388},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/FontPicker/FontPicker.d.ts","path":"packages/excalidraw/types/excalidraw/components/FontPicker/FontPicker.d.ts","sha256":"3b726863542efce80693dac69d5e0566096d2b1e627adb5e22bc117647c1c320","bytes":1159},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/FontPicker/FontPickerList.d.ts","path":"packages/excalidraw/types/excalidraw/components/FontPicker/FontPickerList.d.ts","sha256":"f8c49afe990bd2e897f3206524101a5b2a5487169416abeaf7e6dfb00a7360e2","bytes":1396},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts","path":"packages/excalidraw/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts","sha256":"5acde13d44a1151e5e12b1e5077eb239f453aed3c2279048f483d5fa4d51b7d5","bytes":372},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts","path":"packages/excalidraw/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts","sha256":"62018ef0f0308e9583cf29c52d6776c865ef6f8916deab99087e8efb51fcb136","bytes":664},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts","path":"packages/excalidraw/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts","sha256":"2aa0cf6571569c14a8c031a033934710ba4a898390350c47974a6785a4c35256","bytes":631},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/HelpButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/HelpButton.d.ts","sha256":"79c5fb4fc3bad43d6e0b3c9d070feac1b154725db6671e2cd8935d52d0c559cb","bytes":199},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/HelpDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/HelpDialog.d.ts","sha256":"4a0a28758ea892feda4a92a9f0a128314c8608550194d2a5df771119a3df320a","bytes":150},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/HintViewer.d.ts","path":"packages/excalidraw/types/excalidraw/components/HintViewer.d.ts","sha256":"40969e203cabcb5d4b63b2db54c9d7c9a7602216c35f41887721a64ed88469ef","bytes":457},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/IconButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/IconButton.d.ts","sha256":"a0cae714cb4022599b5b006e34b31c484bd4fc8979eb90031aded442561f05a7","bytes":1671},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/IconPicker.d.ts","path":"packages/excalidraw/types/excalidraw/components/IconPicker.d.ts","sha256":"828e73291ba46c99593ee23e354a43527f9798beb80e11d1e1fc81dab59601ac","bytes":577},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ImageExportDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/ImageExportDialog.d.ts","sha256":"f86d97d4382e87aabc15bf853be68d96373219d6de570cc39ada8d184bd1a970","bytes":753},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ImageMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/ImageMenu.d.ts","sha256":"5d722940e5acb34ccfa62cfa051bfbc31b25efbb5881b9fb01978cfd19ccdf69","bytes":539},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/InitializeApp.d.ts","path":"packages/excalidraw/types/excalidraw/components/InitializeApp.d.ts","sha256":"848203dc3c159776b2f7319da83e5c27c30e1c852ad2bb63a0883fc492b40698","bytes":335},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/InlineIcon.d.ts","path":"packages/excalidraw/types/excalidraw/components/InlineIcon.d.ts","sha256":"171ce6c082f4bf24bbf1447a55bb80fbc8c29cb2a6d76ba0d4f2667a1dab1e05","bytes":181},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Island.d.ts","path":"packages/excalidraw/types/excalidraw/components/Island.d.ts","sha256":"dfe7c8a27294996c79e240a63f09bf61addbb2d70ddf03f9f12c18654914f137","bytes":719},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/JSONExportDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/JSONExportDialog.d.ts","sha256":"39a4901f1844b4eb38649188991ba9d15cb84a54d1a163ad3a9a9b46e5065f8d","bytes":789},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LaserPointerButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/LaserPointerButton.d.ts","sha256":"50fce377ccac3b69eb608105da3b490173aacd270a9a4fed639a5c396fc66daa","bytes":254},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LayerUI.d.ts","path":"packages/excalidraw/types/excalidraw/components/LayerUI.d.ts","sha256":"aa589faa814154fe6cf2ae7ad0baad0c38f98c771a40a2bd853a091756499d7c","bytes":1910},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LibraryMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/LibraryMenu.d.ts","sha256":"03c446b01f15501894c7747ac9384732a7bfd0096ad37a910c598d13da4fb779","bytes":423},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LibraryMenuBrowseButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/LibraryMenuBrowseButton.d.ts","sha256":"6234031ec5d9e3e77836b1d3d635e7369989cc95252cb52fa59a395fda480839","bytes":331},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LibraryMenuControlButtons.d.ts","path":"packages/excalidraw/types/excalidraw/components/LibraryMenuControlButtons.d.ts","sha256":"3a4854e7226bd634762bc9eba6e2e1b72bf10faf8b989af6b94a16a717f383f3","bytes":416},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LibraryMenuHeaderContent.d.ts","path":"packages/excalidraw/types/excalidraw/components/LibraryMenuHeaderContent.d.ts","sha256":"40cf9d63875516412bdb29d865c5fe0cb2709df17eb0d77a42325d31e693226f","bytes":719},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LibraryMenuItems.d.ts","path":"packages/excalidraw/types/excalidraw/components/LibraryMenuItems.d.ts","sha256":"2d66acaa58f77bd803f71a4c1576f25946f73d2f465803477709ee80089273f5","bytes":786},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LibraryMenuSection.d.ts","path":"packages/excalidraw/types/excalidraw/components/LibraryMenuSection.d.ts","sha256":"bc782a6f7b2ef55b5d203393d4824c42b0dcc327ef077c79afb19db105909189","bytes":1340},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LibraryUnit.d.ts","path":"packages/excalidraw/types/excalidraw/components/LibraryUnit.d.ts","sha256":"d2277aa5b6f4c62cad0ab826d8bb89edb7cf4116a5e40515b2baf3806e286ff8","bytes":928},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LinkButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/LinkButton.d.ts","sha256":"087a6b5a240b6d46514c36ec2d9815d4b7ca5803683eff767659bca21d469392","bytes":153},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LoadingMessage.d.ts","path":"packages/excalidraw/types/excalidraw/components/LoadingMessage.d.ts","sha256":"ce54ad1c7cfd59e32d2d616943129ef38109b702435eac13f40cb86db3981e65","bytes":147},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/LockButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/LockButton.d.ts","sha256":"809bf56759b5ccf530488f10a4592da0fe2a31125c47a205cba0ad9152e38869","bytes":254},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/MagicButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/MagicButton.d.ts","sha256":"ae4e3315260beb95f59be81dfa93ea07d69bdff582e970adda55552ccc93c92f","bytes":245},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/MobileMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/MobileMenu.d.ts","sha256":"a40bd12e3dc90f95939f4dd7b6f649a5ca977dc86ee040f68bd1fe44ad3f3fa2","bytes":1391},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/MobileToolbar.d.ts","path":"packages/excalidraw/types/excalidraw/components/MobileToolbar.d.ts","sha256":"2424afaf6d6788859a7ef83c7df800705cf3fc2bcf95086520a31a92afa509ca","bytes":378},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Modal.d.ts","path":"packages/excalidraw/types/excalidraw/components/Modal.d.ts","sha256":"f9697f02a05fd8129774d358589dd9570aaf64de39b93c32ea4fa771631095fd","bytes":353},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ObsidianRadixPortal.d.ts","path":"packages/excalidraw/types/excalidraw/components/ObsidianRadixPortal.d.ts","sha256":"c9cee4626416d6764169f1faa8a54ee27235b92290ed3c65ba2c446e547d4f5a","bytes":2002},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts","path":"packages/excalidraw/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts","sha256":"8fb8580e67982c7306c8dfa9defffa4a32aab5df6f66e3e90e8c64d7576603f5","bytes":704},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts","path":"packages/excalidraw/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts","sha256":"21ca74106d9a210c0ce4a4fdf07d919a9d51e91f9ceefded14e639f4d19200ab","bytes":727},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts","path":"packages/excalidraw/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts","sha256":"0eb283668665e8230fa9a973ef19e48e916046622beecf264d02f1c02bb041e7","bytes":680},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Paragraph.d.ts","path":"packages/excalidraw/types/excalidraw/components/Paragraph.d.ts","sha256":"b507ee7355cb956da72d3a965e55e6dd5f9ba13dda4bd93058230ec24e92b7bd","bytes":153},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/PasteChartDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/PasteChartDialog.d.ts","sha256":"1b3d555c1eabd0eef4833cbb1acbb796b51745c1a58be478d25b6cf6759e02a0","bytes":267},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/PenModeButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/PenModeButton.d.ts","sha256":"7620768b3585da7918345c201588f8d6cefe3acf9f2571cfaa7e52fb75637fb9","bytes":272},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Popover.d.ts","path":"packages/excalidraw/types/excalidraw/components/Popover.d.ts","sha256":"9dce8d6d61ca20517b38352418c1d11047773f9d2f8b40f479f3036d00be4350","bytes":489},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ProjectName.d.ts","path":"packages/excalidraw/types/excalidraw/components/ProjectName.d.ts","sha256":"df9f66d19ecb0b4a31a70724fa22c72e55d11d53f4cfa5d02a1ce70e7baad0c7","bytes":282},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/PropertiesPopover.d.ts","path":"packages/excalidraw/types/excalidraw/components/PropertiesPopover.d.ts","sha256":"e3e348d2f82c1620f55f3781434fa064d8cbab54544055580eb9b4bb270bf48e","bytes":709},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/PublishLibrary.d.ts","path":"packages/excalidraw/types/excalidraw/components/PublishLibrary.d.ts","sha256":"2a615b204af64499ad5ec9ba05b15ef0d5d6811d4481357c1972e747548b5846","bytes":622},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/QuickSearch.d.ts","path":"packages/excalidraw/types/excalidraw/components/QuickSearch.d.ts","sha256":"c812d21e4912c775561ad0fb39fd397e0ac5cceca99d6a4d9afef369ba201b46","bytes":310},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/RadioButton.d.ts","path":"packages/excalidraw/types/excalidraw/components/RadioButton.d.ts","sha256":"da24a4a626a4edbfd021a9be8ac42865438d10fba1011e29e5b3b833ec96e959","bytes":504},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/RadioGroup.d.ts","path":"packages/excalidraw/types/excalidraw/components/RadioGroup.d.ts","sha256":"1df709649a9e9ca1aeaea53d25a5197810b5ef56111cd227c74900e1e1cee54b","bytes":411},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/RadioSelection.d.ts","path":"packages/excalidraw/types/excalidraw/components/RadioSelection.d.ts","sha256":"422b949ae463d882db2f854d6b6cfb95df6c11942dd58b4d9fc83d1af9831c78","bytes":601},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Range.d.ts","path":"packages/excalidraw/types/excalidraw/components/Range.d.ts","sha256":"f466842fb5118ef6a269ff3602e966071eb9646bde669533d1f4636262808c86","bytes":468},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/SVGLayer.d.ts","path":"packages/excalidraw/types/excalidraw/components/SVGLayer.d.ts","sha256":"c16b6f896defa7d6d1a61ab353afcde637d69fc16e9a109216695b38027b85ca","bytes":234},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ScrollableList.d.ts","path":"packages/excalidraw/types/excalidraw/components/ScrollableList.d.ts","sha256":"6f3f888d466c8c523389c91dec6f50a1a6891aea4a443359cedd973302a6d3a5","bytes":299},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/SearchMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/SearchMenu.d.ts","sha256":"c3efff65389b86cb8e088433b70dfe394ba1394e0d0357a1d3afacfb120ad565","bytes":242},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Section.d.ts","path":"packages/excalidraw/types/excalidraw/components/Section.d.ts","sha256":"0219acd6121e5cf10fe7ffe202c188f508b0de49ce87d2458dec0365f62f44ec","bytes":277},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ShareableLinkDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/ShareableLinkDialog.d.ts","sha256":"0969cfa348100f4b1f8064b30f1f576a0ffcaa3f58f488d2a02f6fe7bf24ebbc","bytes":334},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Sidebar/Sidebar.d.ts","path":"packages/excalidraw/types/excalidraw/components/Sidebar/Sidebar.d.ts","sha256":"b8383a397cc9ae85809e5c75a6bcac4fc2cecb4a7af49f36a6c37f3ae630c612","bytes":2960},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Sidebar/SidebarHeader.d.ts","path":"packages/excalidraw/types/excalidraw/components/Sidebar/SidebarHeader.d.ts","sha256":"9fe3586aabd8ab0b0f1ea3b58b106bf2d7d76515add0888383f1231110a90154","bytes":212},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTab.d.ts","path":"packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTab.d.ts","sha256":"4dc41a3daca920a485c506d7cf81db867c3500d9190482e3e0cd7fc859498b78","bytes":301},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts","path":"packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts","sha256":"703b97b656508c2adf3a212a2552cb9907715ce5162424c0fd50372fdfcd0aac","bytes":414},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts","path":"packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts","sha256":"f68a7b1b06d92d4e857b78dda31e7689800e30a7dee42c99076d64ee4a6b962c","bytes":241},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTabs.d.ts","path":"packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTabs.d.ts","sha256":"56388f6df07179d4e3d88f1c11145b89f3dc1ee6510488d4f83840b2b4d28725","bytes":241},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts","path":"packages/excalidraw/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts","sha256":"8ba659201e974dea79e2e1cf75ca54b5bf9c918ebba82b750290177353df69da","bytes":287},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Sidebar/common.d.ts","path":"packages/excalidraw/types/excalidraw/components/Sidebar/common.d.ts","sha256":"7bd1d253d1a0a3ea2abb5313d2223db480a48212c7699e8ba3a7e7f873837894","bytes":1099},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Spinner.d.ts","path":"packages/excalidraw/types/excalidraw/components/Spinner.d.ts","sha256":"73c43311470d2b132e313eeb659912e5bb0be200fd684c3a3eaa937a43ce3158","bytes":277},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stack.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stack.d.ts","sha256":"d94f5e36b0c0b6008142e9428a8e41843d0a16aecc82b1a80b4e8f7320ea99a4","bytes":546},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/Angle.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/Angle.d.ts","sha256":"9c9c3689ca6bb31890ba947bbf85475c9857e7bbfc14e9a78d3a98006533d0d1","bytes":445},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/CanvasGrid.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/CanvasGrid.d.ts","sha256":"33c8a65bd4354bed76ee32ad28062d6bba5116d5881a47f62e62722cc789c0d5","bytes":410},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/CanvasGridSize.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/CanvasGridSize.d.ts","sha256":"13bbf076ad81fc0dd07125cd385ee6e5c0aa7505132f93f9650099d06d5c20d9","bytes":418},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/Collapsible.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/Collapsible.d.ts","sha256":"a80d3bff8c86d1cb564f4fbd7e6ecbc071a6f93e71648468e9f94e9705e2f657","bytes":384},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/Dimension.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/Dimension.d.ts","sha256":"8870005c1b17110eb26872495015e611783a7ef5e215fb59db87b7bff1afe586","bytes":509},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/DragInput.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/DragInput.d.ts","sha256":"ea4fa127b7ab290699f0117292c24dfb1b4040f08449c5b76129cba451fd2dae","bytes":2047},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/FontSize.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/FontSize.d.ts","sha256":"eccb34f99f2cc17a772215c825401a037612eb1499508041fe22186fb2ed3918","bytes":447},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/MultiAngle.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/MultiAngle.d.ts","sha256":"47ff6b6979f696686655588c7e2109ec04599d9df5deaa4f4cf0e542bc844d20","bytes":479},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/MultiDimension.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/MultiDimension.d.ts","sha256":"77d6731d14da306e4395be726b090f753ab83617d17cc814ec071469f51c4a72","bytes":679},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/MultiFontSize.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/MultiFontSize.d.ts","sha256":"57d2359fdc98e7d3b2d523e04ef7a9ea9109507a01613bf4a3134712754eb4e5","bytes":567},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/MultiPosition.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/MultiPosition.d.ts","sha256":"d37c6114557ca9606d9343693de3f85709a9ce4b3e5af581f258c8d26294347f","bytes":636},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/Position.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/Position.d.ts","sha256":"ab08d726cd84bdd6d3a4aa3a1f181bc9a4a02de64ff0b7002f9dccf28db2944d","bytes":502},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/index.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/index.d.ts","sha256":"2408b05995ec06103ea8f67e7824e1399720ba8fc43d2e9ccac523af7070ac94","bytes":1446},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Stats/utils.d.ts","path":"packages/excalidraw/types/excalidraw/components/Stats/utils.d.ts","sha256":"da91fcd482dde88eb06b6c3d84c6a59b0813cf1a0d90455fb7eb98935676e7a2","bytes":1507},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Switch.d.ts","path":"packages/excalidraw/types/excalidraw/components/Switch.d.ts","sha256":"a09f4abf16f1a5d4b1ad29a1cfa9b6e1757698bef0109faf3cd71d96f67fde95","bytes":313},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/ChatHistoryMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/ChatHistoryMenu.d.ts","sha256":"a1bdfa141019e7790bae31d4d21dd45b25dec98b238ac86c63cd29817280d326","bytes":657},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts","sha256":"1e42bc52a0b1cb6cb265c81ce279e1190f1c2b211108f73a2311e9141b7e708c","bytes":1131},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts","sha256":"af4598945373e67d4401e36d56bd8a7fb0eae47c5684948ccd85097c85dd9603","bytes":589},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts","sha256":"6a42e641c7f103cd379fa5e853b155e0215f56fff0ce523f2d84011bf7b33e79","bytes":1466},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/index.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/index.d.ts","sha256":"f5c1b5e95f72fab1108a133e6f534db299cc2509c573e9b8bccfe42499824071","bytes":141},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/useChatAgent.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/Chat/useChatAgent.d.ts","sha256":"d6d10b6881fa0f087bd66bee409ff2ed348e1f7aa04155ccff516b86a768c68a","bytes":517},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts","sha256":"17bd5d2047cc92159cda70084ad27c6c494cde7c0487cb7b5032946b9ee883c1","bytes":471},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts","sha256":"7e60ce60159fc991603e445f4c517e5bd410d6aa6f6ed3f939700f9635dde719","bytes":539},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts","sha256":"ac6b1faa247934120cbca1b517f0e80f62a8b41decf542e23ead1e33dcfe84eb","bytes":1305},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDContext.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDContext.d.ts","sha256":"cc71ddcc262a41c28ce50fac67d38a71b9eb65c310a03409b6dde2fb9c04b205","bytes":557},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialog.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialog.d.ts","sha256":"7a521e0652888b9479c7c0653899874ce6ca3833ee9755a58ead8a8080dc66db","bytes":513},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts","sha256":"b0196cf65d21791d31722c99f42ec8ac52d799fc3cd43f5143f5265655a0da09","bytes":368},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts","sha256":"7e03e037eb5c11ee34fe77816d21a1267ba43050adcc3bc0a80ae679622cda9a","bytes":674},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts","sha256":"7f8bdf8166d1cc04d18b74b319c378873e1c8d813fdcecf056fda16f2f8c3cf5","bytes":876},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts","sha256":"bb89a2cef665f442de2487f31b82159c25f40ea26bea279f04239aefec23ace0","bytes":167},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts","sha256":"c63fa68d7138ef2d0fd77f2d7f275f867dce7dd4fbba4a2b6bcaffb9747e5acb","bytes":93},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts","sha256":"c41a0edf1bd4ecbf63e751d4a653c3a054ef1ae50178bd6f8b7c9a4b2c552cf8","bytes":244},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts","sha256":"2c18eba97ea81735149af6ddbc94b9580f473042402c53869e687b8e6d0840a0","bytes":357},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts","sha256":"2c78673b661a3d6701fc53c1cc801258d556fc925acb8c91c33d9841b16bac5f","bytes":226},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts","sha256":"a819b04c6fba77cf76c9d792fd845ed637db00fa4f8725b70886dc96afd7716b","bytes":298},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts","sha256":"05bedd4f2d59c93b139a2e7abda01c4cd983b036dbf85a5afbd86c4575ae6cf4","bytes":249},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts","sha256":"925d31d830c2a45f729cc0c29c7e4b21520c25dd2ee2544f73af0c1283698235","bytes":574},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TTDWelcomeMessage.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TTDWelcomeMessage.d.ts","sha256":"d151b15e42b975bb1191156e3a2bddfecc7a4580914a49822c19c5bb41642130","bytes":87},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts","sha256":"9c641330b77492a918a0c8054cb6a65c94855c90d178020d480ff391c9ad208e","bytes":658},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/common.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/common.d.ts","sha256":"cb2a21b8b6ac7029263a631bde6b95a1012a549cef0bc2b1ba0daf5135f9fd4f","bytes":1577},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/hooks/useChatManagement.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/hooks/useChatManagement.d.ts","sha256":"fa65ff1a2eb1f4dd3a91d5243ee63468cc6f54ba991e79ddcb4361fc337ed972","bytes":519},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts","sha256":"9f4d33aeda3b04a6b8a06394ca49194f5d8923f8519b08a9f7924207b3569dbc","bytes":605},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts","sha256":"f5ca3d2851de607ab87a2f396cecd5697a1eadcbacda8b471d9b28e00e67f83f","bytes":396},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts","sha256":"7f74f9b216dafa4ff1b486077de90ed3bf261d741062d0e5140d9cf9a94f3073","bytes":119},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/types.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/types.d.ts","sha256":"3405b6eec7d884d954a78bf9943729c50e4662ebda33d38795730831734e15f5","bytes":3571},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts","sha256":"79cc54722cbb3558560d1550cac5eb2532f8c2e5e20ec99c7367e8ccb23b1d17","bytes":904},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts","sha256":"9b4d03c2cc0b85c6470dfd425ff54435eb2ed47f8a5d2d7463e63c59b4318fae","bytes":789},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/utils/chat.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/utils/chat.d.ts","sha256":"ea572941bcc52ec32c5848871361dc1dabd716621bb55170da1303df55e686ac","bytes":698},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts","sha256":"e6f21dc49e26f243320f257e86d9a3f3654062b613e2286a636ccb296d1108d6","bytes":106},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts","sha256":"7d951f88694b18aa4fbe31edfe46b99666a4b3a42af871573f7918d0119b3c1a","bytes":2225},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts","path":"packages/excalidraw/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts","sha256":"49d6ed71d92c8088594cb00e59ed1ef68168fd7530b98b3429ddc353242add6c","bytes":73},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TextField.d.ts","path":"packages/excalidraw/types/excalidraw/components/TextField.d.ts","sha256":"e2e6f2e1cd3603ac57ecee8b9fdc0a5ce9ff5bd2916e9ee9e0ecfede9e216077","bytes":674},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Toast.d.ts","path":"packages/excalidraw/types/excalidraw/components/Toast.d.ts","sha256":"8319a5a603949c6cf3a57619c59db1cb1218ce630664f28a3c3c61275473c94a","bytes":448},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ToolPopover.d.ts","path":"packages/excalidraw/types/excalidraw/components/ToolPopover.d.ts","sha256":"535081d1a30bd651cc782456f2c7bfed9a97293dc46692576ceb5bec3945c0aa","bytes":701},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Toolbar.d.ts","path":"packages/excalidraw/types/excalidraw/components/Toolbar.d.ts","sha256":"a1349c538915b1d2695369fa76537f32966905e5694337a2b8eddb6b03f539fd","bytes":568},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Tools.d.ts","path":"packages/excalidraw/types/excalidraw/components/Tools.d.ts","sha256":"e879b321cfd9a6ee223a15e6dca904a39d76fd529948f19f845078eb983cf835","bytes":6767},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Tooltip.d.ts","path":"packages/excalidraw/types/excalidraw/components/Tooltip.d.ts","sha256":"bafcfc8268ff62526c61255c64e2b7d530906b473f0fb99848e95c8aee20c27b","bytes":1691},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts","sha256":"753e8718d6eaf1edf5d3e350f68111e5ba3329211860f3012b04e2ec6739319e","bytes":650},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts","path":"packages/excalidraw/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts","sha256":"a9a6caaae9ada1c744955fcba01615cd8c22ba158395344eb663ee43d6dca85a","bytes":419},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts","path":"packages/excalidraw/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts","sha256":"796a2b4fe29e4b704dbb8cd13acd522ab0a5f08edd0c0bef3218cb4887a135c7","bytes":2491},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/Trans.d.ts","path":"packages/excalidraw/types/excalidraw/components/Trans.d.ts","sha256":"ebe17175d25b241d77591eedba7f4ed98de1fcb16015d947c9980eca139fd22b","bytes":352},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/TrayMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/TrayMenu.d.ts","sha256":"2a711829fb9616c007d548a6341ef02c412a11fe41e1368726d656e3ba7ab15b","bytes":1376},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/UnlockPopup.d.ts","path":"packages/excalidraw/types/excalidraw/components/UnlockPopup.d.ts","sha256":"0ab542346edae9daf50577f8b455c131a31044ecccead3c7e8ed1fd62fc60376","bytes":314},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/UserList.d.ts","path":"packages/excalidraw/types/excalidraw/components/UserList.d.ts","sha256":"34be03eac21313b89768bf3e06e7be31f8e41c07b56184422678c8df0d8f7bff","bytes":868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts","path":"packages/excalidraw/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts","sha256":"9614947c3efeb37b06abbf690e99b2ab28f5fdf11121e6378c13c1f372cc42c8","bytes":542},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/canvases/InteractiveCanvas.d.ts","path":"packages/excalidraw/types/excalidraw/components/canvases/InteractiveCanvas.d.ts","sha256":"4a18976af10bd97f9f04d7a2720fff23964c1ce210367654d9c4ebbed316f5f1","bytes":2083},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/canvases/NewElementCanvas.d.ts","path":"packages/excalidraw/types/excalidraw/components/canvases/NewElementCanvas.d.ts","sha256":"4b81798ffef8bcb685e0dc4325c0f01d06c542559cb298400a3ecbcb88378686","bytes":805},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/canvases/StaticCanvas.d.ts","path":"packages/excalidraw/types/excalidraw/components/canvases/StaticCanvas.d.ts","sha256":"c7ca2cbe855ab90b13fa2b7d379aea9845200ccbb9f37e65040b4cdd602d9274","bytes":877},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/canvases/index.d.ts","path":"packages/excalidraw/types/excalidraw/components/canvases/index.d.ts","sha256":"a21da7a4bb5ae0cda41309899c36f238204eea13b795c19d6937aebe90b1d3e7","bytes":140},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts","sha256":"0001458e3bb550b491bb08f23918fe06839ca81092e82067ea966ec631edd9ea","bytes":3749},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts","sha256":"78067d46e7595625c67c9c412851b492fadbaf761fbc8e01775c9d9da7b1a7d7","bytes":576},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts","sha256":"30a59ff750d17e6ccd2302d7fa33cd7802dbc09bff85a30d38e2d09174109f31","bytes":328},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts","sha256":"309e326a8154b8f1a140b8a8bcdb6051af20a655e9916caa98fc2d58118d0c79","bytes":1330},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts","sha256":"4e3750367c709b5cd4a6f682500d29df8990921787a0bcc756ac489a12963822","bytes":263},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts","sha256":"be66da66b996fcdf1cd48a58fb3ef023e91f33f832bc599dc9271324656fbe13","bytes":340},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts","sha256":"8806660a6f3733a7011ae2f704db51322b30502e4c1392b7f5a9cdfef54727f9","bytes":513},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts","sha256":"8b68ba4e7a843542428dbc4a7ce431cd77e010e5818978381c59882ebb14fdbc","bytes":316},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts","sha256":"e811ef644986c80b8fb30428c0893e484a036c1e978e58d7627a7918ae82839d","bytes":582},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts","sha256":"208460ac2c080f79ea7ea6865a1908f50a7c910ca8e5852af33e680fe314dd9c","bytes":138},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuSub.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuSub.d.ts","sha256":"8c1f56b1aa0fd43bd12354f37bb302e1acf8d44d8c6c2a3716cc7c1ccdcb9541","bytes":719},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuSubContent.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuSubContent.d.ts","sha256":"36eed07d4c6cb1262d7646410e1b1ea0b1fdfb15a02f33350891ed54df4af971","bytes":253},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuSubTrigger.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuSubTrigger.d.ts","sha256":"98a86fcf33bb9431066e6fc0812ce685ed207905a2122c4bc0ff7a9ce063477b","bytes":384},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts","sha256":"a115d33b05e824510cc2fe048d256267af2d86bd26ab88e269ec2b2e5f7410d9","bytes":375},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/common.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/common.d.ts","sha256":"26d8b3a3cd01a3ef2c249281be389970cb2d860d22fb013b355b038b8b84871d","bytes":392},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts","path":"packages/excalidraw/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts","sha256":"d1dc6c9f71ff82eb1c45df586868427d3d05281f478d72e011b9b03f28c23848","bytes":1621},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/footer/Footer.d.ts","path":"packages/excalidraw/types/excalidraw/components/footer/Footer.d.ts","sha256":"ab45ec708b3432f3ae2af515ce7201bf8f5bf063ecca7a252f865e6d03132383","bytes":552},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/footer/FooterCenter.d.ts","path":"packages/excalidraw/types/excalidraw/components/footer/FooterCenter.d.ts","sha256":"f3279318c40ab48a32e0fc7cd2f1aedec48d694a5bfc597f199b5d19d68cdeac","bytes":223},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/hoc/withInternalFallback.d.ts","path":"packages/excalidraw/types/excalidraw/components/hoc/withInternalFallback.d.ts","sha256":"b62ec955a93c2f9db97e578b51c79b7138627a5e13432cc935c97210c562eb46","bytes":169},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/hyperlink/Hyperlink.d.ts","path":"packages/excalidraw/types/excalidraw/components/hyperlink/Hyperlink.d.ts","sha256":"0ab726ccfb2265d082d55f3a099a0d0a7a439e6425f220e256e4bfa741c79cea","bytes":1361},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/hyperlink/helpers.d.ts","path":"packages/excalidraw/types/excalidraw/components/hyperlink/helpers.d.ts","sha256":"e51bd6c2e4c2014d222f826c8bf3070cc75e7ce6f6f91db7bb071a5e500d7fb7","bytes":1471},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/icons.d.ts","path":"packages/excalidraw/types/excalidraw/components/icons.d.ts","sha256":"20f20420319dfd3cdc1b28642ee21108efa0abe9cb37f8bc9adcefd262b16748","bytes":19065},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts","path":"packages/excalidraw/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts","sha256":"da753d009ee3a6dc952cbcf84843a0e3a1ab0e8d5a58601b10919676fa17e7c0","bytes":480},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/main-menu/DefaultItems.d.ts","path":"packages/excalidraw/types/excalidraw/components/main-menu/DefaultItems.d.ts","sha256":"bd029d18c60449e95e275ac74c7901f5dc54027644b2cfedb42f0258cddd1665","bytes":3172},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/main-menu/MainMenu.d.ts","path":"packages/excalidraw/types/excalidraw/components/main-menu/MainMenu.d.ts","sha256":"2aee3f4d55939868659722f8d944abecd38b26fd0074fd5bbdda3c0f50b5f070","bytes":3223},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/positionElementBesideCursor.d.ts","path":"packages/excalidraw/types/excalidraw/components/positionElementBesideCursor.d.ts","sha256":"ab8210fac52e242b54e656168ca294abf80790607a4afdbb3d3a33c892d0ad88","bytes":806},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/shapeActionPredicates.d.ts","path":"packages/excalidraw/types/excalidraw/components/shapeActionPredicates.d.ts","sha256":"dc65a9b0de5ecfcf396a1c2a29de72f664d4549e3088cade46999a58bb78a4b6","bytes":1813},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts","path":"packages/excalidraw/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts","sha256":"703b66c1b2f23ce9ec36e816a6323c862b59e3c44c9fc0ea3c8ef70e496caed2","bytes":1932},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts","path":"packages/excalidraw/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts","sha256":"aba5525513ea928f4d77905a96ecfe22fdd2eb94863adbf737f86a097da2574a","bytes":527},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts","path":"packages/excalidraw/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts","sha256":"b6da1536eb622cff14b99cf6582fe13c8e623dfed236cde22680af1ae39401f8","bytes":2953},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/context/tunnels.d.ts","path":"packages/excalidraw/types/excalidraw/context/tunnels.d.ts","sha256":"9de4e21abf5fbd2c685377b596325ad4fe906917b2aa482ab29984b88e9dfc3d","bytes":844},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/context/ui-appState.d.ts","path":"packages/excalidraw/types/excalidraw/context/ui-appState.d.ts","sha256":"3ad3ca4008503f458d683e44097acbde17126c0d2d5c20d7ec8fb57f83e19818","bytes":192},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/EditorLocalStorage.d.ts","path":"packages/excalidraw/types/excalidraw/data/EditorLocalStorage.d.ts","sha256":"8fb8d0970d0be4ec07845a730594088feb5d9c4d9926d7071a9c358ecb75f1bd","bytes":526},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/ai/types.d.ts","path":"packages/excalidraw/types/excalidraw/data/ai/types.d.ts","sha256":"f14c605851ab8ce1ec9fca283ac536b87d8924957e31e723e5dd2b35a63a7609","bytes":9706},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/blob.d.ts","path":"packages/excalidraw/types/excalidraw/data/blob.d.ts","sha256":"e33420c8fb5d9ed884bb5c942d401d2541e5de27ae78c18f713fcf318c4bc7d9","bytes":23636},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/encode.d.ts","path":"packages/excalidraw/types/excalidraw/data/encode.d.ts","sha256":"512bd7446ed9a85d385963f1a606a64ab79f3bf58d6d4678b2badbd9a09c8270","bytes":1875},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/encryption.d.ts","path":"packages/excalidraw/types/excalidraw/data/encryption.d.ts","sha256":"98e2dc1ff329a9fe49fc679f0eabc386cfa6da9813b1bd40d9c4278ca3d1eae6","bytes":725},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/filesystem.d.ts","path":"packages/excalidraw/types/excalidraw/data/filesystem.d.ts","sha256":"8fd8108b5e7cda04d6666f7f067f59f9bc05784a9d51c1fb0603e9db67dad08b","bytes":811},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/image.d.ts","path":"packages/excalidraw/types/excalidraw/data/image.d.ts","sha256":"3b52cf79ea1e23e2a716688ade3850ba4cb5eba56c0dfbc6af6d11c1f2fee6ef","bytes":307},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/index.d.ts","path":"packages/excalidraw/types/excalidraw/data/index.d.ts","sha256":"72d5e700e0b5cedc92fde3e54379e8d8444f5d758082d391699a0603decf0aac","bytes":1309},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/json.d.ts","path":"packages/excalidraw/types/excalidraw/data/json.d.ts","sha256":"4cde507e059dd21eead89e5b1c8f61d600aff37383269f35b78f4e7a15132a4b","bytes":10874},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/library.d.ts","path":"packages/excalidraw/types/excalidraw/data/library.d.ts","sha256":"33034996e8527712afc7c8054701ece2e7beae3b35585941c04ff12ace214cd4","bytes":5281},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/reconcile.d.ts","path":"packages/excalidraw/types/excalidraw/data/reconcile.d.ts","sha256":"38cc1c2b9c04d160a0a1d062b8bd22e5b6423c048e2c2d87cbdca430a663f446","bytes":757},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/resave.d.ts","path":"packages/excalidraw/types/excalidraw/data/resave.d.ts","sha256":"40404ac716ad4a6f1bcbc7a4f59ee55ff9e6cfc2b2388718879c084aaf615645","bytes":463},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/restore.d.ts","path":"packages/excalidraw/types/excalidraw/data/restore.d.ts","sha256":"062d244b748d1ba2e2d352a5eacbd1a33de50349015c9e1c1a59208ae2142e7e","bytes":2366},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/data/types.d.ts","path":"packages/excalidraw/types/excalidraw/data/types.d.ts","sha256":"521aa6e11d95bc85062dea8797dfc49b3e233825bfd72a19efe5904323f386f9","bytes":1600},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/deburr.d.ts","path":"packages/excalidraw/types/excalidraw/deburr.d.ts","sha256":"8a667ab73249b4e8bb5bc8b3b3622044057b154ad19c44939731aba878b761f8","bytes":54},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/chunk-6JJSWC4C.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/chunk-6JJSWC4C.d.ts","sha256":"4fca7105367d63663d7f59aa07759ea4ad89d1d17a435259614a466210c8a786","bytes":280},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/chunk-7AFZRZRT.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/chunk-7AFZRZRT.d.ts","sha256":"49263f91aaf1e55b783018fba588f2246fd82e254397cea3068e4ee111f9999c","bytes":30311},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/chunk-G7NNRKZX.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/chunk-G7NNRKZX.d.ts","sha256":"43987abcbc99baa79aaaf857b84d521212953ed462e7b9ebbad07a50ce21e24f","bytes":948},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/chunk-INT5ZM5T.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/chunk-INT5ZM5T.d.ts","sha256":"6e27aa1fa288c7c6d8befacd7c806cf8fd95609d0ea43a9a08d83e6340ee1dda","bytes":36119},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/chunk-Q67DF2PJ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/chunk-Q67DF2PJ.d.ts","sha256":"519adfbfe996c0d698eed546a199150ee932c611ba500e144df6e2744da56094","bytes":1274},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/chunk-XDFCUUT6.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/chunk-XDFCUUT6.d.ts","sha256":"a4a9166e534babd267b8a335b4052a7b4446d95d8481d37548e4dec00a9a8399","bytes":251},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/components/TTDDialog/CodeMirrorEditor-PNFWVSJQ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/components/TTDDialog/CodeMirrorEditor-PNFWVSJQ.d.ts","sha256":"0c31a36e02ad6350768d800f34d1f874583f7011db229c3c6fac87c56f901480","bytes":378},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/data/image-BPNUETKK.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/data/image-BPNUETKK.d.ts","sha256":"05f809d6026b91aee0c2482f10a1bd4ec50c4de8ecb10b66b08eccef081c2a1d","bytes":232},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/index.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/index.d.ts","sha256":"91c7b7cd9638608614817011851f2d5628483df1b94f18be831ba5ddca181b4f","bytes":28214},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/ar-SA-EW44IW4V.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/ar-SA-EW44IW4V.d.ts","sha256":"877a1db0230dcda100578478d73ed73409225dc022abe15e1cad821164e10464","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/az-AZ-AI7WAYA2.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/az-AZ-AI7WAYA2.d.ts","sha256":"ea4ef547ef104c8403b99b6520f5373625be71d63306c3753db6732d23ea5081","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/bg-BG-43ZNGDXF.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/bg-BG-43ZNGDXF.d.ts","sha256":"0f3aa602966a54e90fe80d2f6e9b4a5a1529523c5ad811b571f353cd7d8c0cf1","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/bn-BD-PU4CN7NP.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/bn-BD-PU4CN7NP.d.ts","sha256":"c3f781e2d09ff233f8fde7da383a7a3b851fcec0d8f91b1dbb152b420edb5ed3","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/bn-IN-54CF43JL.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/bn-IN-54CF43JL.d.ts","sha256":"32397f5b61798b2628863d96c79d31c78c031aed805466dcc2d6f6effb6ecb20","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/ca-ES-RHJO3QDO.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/ca-ES-RHJO3QDO.d.ts","sha256":"16a8afb321117772943e3f35a0d094c56bafe9b17ee71ed8bcbe58a0ed563712","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/cs-CZ-ZRSAO3BA.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/cs-CZ-ZRSAO3BA.d.ts","sha256":"ca3d4e3000922e243487f7dca366dcaaf70264c39d61bf2f24a4a3bde4f14a8a","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/da-DK-OAB6DEJX.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/da-DK-OAB6DEJX.d.ts","sha256":"da98f7da54346fe9f07ad4ac2ed772a6f7fe996dce3c049a746fdd7b385dcd96","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/de-CH-QF7JLXTF.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/de-CH-QF7JLXTF.d.ts","sha256":"22b401c2681c315ef7b25aa860345bd309854eb06d492648e59d34c6ce4db6f4","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/de-DE-5ZO4KOPT.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/de-DE-5ZO4KOPT.d.ts","sha256":"83a8ee801d29be53abd020210613e26fde51d0583044f8dedec15bf51e8ff869","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/el-GR-F74ZSUEO.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/el-GR-F74ZSUEO.d.ts","sha256":"caa0dfff46d26852cdca6494729b0294b21fc7bcd418befe6171b546af829144","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/en-6Z2RVK5B.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/en-6Z2RVK5B.d.ts","sha256":"c8efa37ca4df2215b981e4ddb9b68a9002985cc4f0cfd1306cac08486e599909","bytes":2624},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/es-ES-3B3IENPS.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/es-ES-3B3IENPS.d.ts","sha256":"202431df8651672e7ec3d2b5914c94f2d5005c3566c0c26f825ed42a07b2fbe4","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/eu-ES-NH447TVU.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/eu-ES-NH447TVU.d.ts","sha256":"d723115c22520ec42f25e046a5fa37e321e8d68d547503bddf542c6e2fcebf8e","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/fa-IR-V44PNTTK.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/fa-IR-V44PNTTK.d.ts","sha256":"dd40f6e125262e51eff64babcb22feadb4ac2acc2d333e972ea207582bcdb926","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/fi-FI-ZXSYWCC4.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/fi-FI-ZXSYWCC4.d.ts","sha256":"8e3e634ead39c6d229b58958b84ff3dcd6717535b1627c47c4acf8b5c4d1359d","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/fr-FR-RJSOSEYS.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/fr-FR-RJSOSEYS.d.ts","sha256":"cb4bec9cc78b43761bf187a555e3c9faa11abc717495f4f50baf2bd733762368","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/gl-ES-NAUVMVFY.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/gl-ES-NAUVMVFY.d.ts","sha256":"eb5dce81de76095c3cd21badfaa0775d162fe88d346861fe15aa0f0b4d82a881","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/he-IL-JBKWWR75.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/he-IL-JBKWWR75.d.ts","sha256":"6918db5cd2c8eaa41f2b1d71649169850d0ce17fee94a76b7fa73c6d40f0d417","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/hi-IN-SD773MVZ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/hi-IN-SD773MVZ.d.ts","sha256":"45622bbee0d24721e98d614ca01506efafe6f43a411ada1a7747dbc86bc4c89b","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/hu-HU-OTA7GOAV.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/hu-HU-OTA7GOAV.d.ts","sha256":"8a6cad045f5daab95132e9146ffeb9459bee500feebff477246a07b519c9599d","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/id-ID-KGCGQFTT.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/id-ID-KGCGQFTT.d.ts","sha256":"d6d89a595098700f2b98d1d911d5f30019edb9347654bc2528d901f4a1b5fdb2","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/it-IT-EWGEXMVK.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/it-IT-EWGEXMVK.d.ts","sha256":"2c8ab91344f12d30cb76775ab5b3d9b7063f840dcf653c597489cd38fc08e446","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/ja-JP-YMGRGBPS.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/ja-JP-YMGRGBPS.d.ts","sha256":"110e1bc5d48f7135d95d1e76bd10dd1742a5a8b98eae3d3375fdeb7f040e28f4","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/kaa-RRE7XUCW.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/kaa-RRE7XUCW.d.ts","sha256":"81314fec61b36eba0f7f961215728025f12776a6ea5af092ffc65c10d0f670c6","bytes":28864},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/kab-KAB-ZCYVOJU4.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/kab-KAB-ZCYVOJU4.d.ts","sha256":"fc77502d4e56ad136fde4adab8d00b53dd142f4f4cda63ea1d4a096dcb63c3c4","bytes":28872},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/kk-KZ-TO6XEFJC.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/kk-KZ-TO6XEFJC.d.ts","sha256":"2258151e4cd94fe2551bad3481d25247abb99f49657e79f3cf908c4e961686b8","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/km-KH-3HTDL5HB.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/km-KH-3HTDL5HB.d.ts","sha256":"94ca66162b6ca77e1d6b4c0ef5b0e9e109365de646f021bbefaf57c4af8a0660","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/ko-KR-O4L4O7L6.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/ko-KR-O4L4O7L6.d.ts","sha256":"72e8ebccd2d38199cad372d4c7603b15da6a44ef48683ccefd1ce96f50aaaeb5","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/ku-TR-AFJWDY67.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/ku-TR-AFJWDY67.d.ts","sha256":"4120344452406597399e278f7928c7d4ff3b1aea4bdbafb07274a1969a02bde9","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/lt-LT-7QOT2VDQ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/lt-LT-7QOT2VDQ.d.ts","sha256":"4b343348dc646dea9853fd8ed79d4bbbbeee1a4584d6dadb4a7742a95efe20aa","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/lv-LV-WV6C4NYF.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/lv-LV-WV6C4NYF.d.ts","sha256":"2f0f06f400977ba8ebc293a63cb17dd06e3be9c1e600ad8eb1d21bc64c64d655","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/mr-IN-3TLYWOEI.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/mr-IN-3TLYWOEI.d.ts","sha256":"5ac25350f372ac02b41ecbca7b15b833253e2e9d9a7e4fed6f96d0d1fcc003cb","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/my-MM-NNL2QJT3.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/my-MM-NNL2QJT3.d.ts","sha256":"2081313d51171e653ef8b92993e194eff9909c697684891a085c0e79d29b200a","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/nb-NO-PG3XLMEV.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/nb-NO-PG3XLMEV.d.ts","sha256":"d175ca635bc5be9b0ee23abf7ef6108a118ae7a0dc99e2b47ea027deaab24031","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/nl-NL-MMOYEKKQ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/nl-NL-MMOYEKKQ.d.ts","sha256":"9a4b5dd5a10fe586d1e28d90309292152c8fe08f16c37c136aa48f37decc8f3c","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/nn-NO-AAC2I2YX.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/nn-NO-AAC2I2YX.d.ts","sha256":"b04f5acca970caa125b6ef5fa40f550da2f09082ca4ba03ef635fd6a43bc3532","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/oc-FR-SR6MFB4N.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/oc-FR-SR6MFB4N.d.ts","sha256":"68a1eb22194cb6be1025b6e10cc11a71d66a69c49c15a998e754a45b6993a5d5","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/pa-IN-ADGMQLQI.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/pa-IN-ADGMQLQI.d.ts","sha256":"7d7ae07cc2661c1c612a540e4a447334ab90faba32e79be571f3850e2297e694","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/percentages-X2QIQ6XJ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/percentages-X2QIQ6XJ.d.ts","sha256":"c6d6ce0d6169754ae9eb15bbdef2bc0802dce74fa43435c2f32dac7f7975386c","bytes":199},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/pl-PL-FNIPTMVP.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/pl-PL-FNIPTMVP.d.ts","sha256":"ef34e1a239e28b6220fd0c5b18b27e2f9c90d315ac921a0ac985d509ea58e167","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/pt-BR-67FMCDNE.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/pt-BR-67FMCDNE.d.ts","sha256":"b253435a720ee87bc25bcb5b40322cba587dccddb2e0cf2b73f6c90a81f54c21","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/pt-PT-4G3GI4SF.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/pt-PT-4G3GI4SF.d.ts","sha256":"7e6baac67aa00352e870cc74c59dbc2ff664b05ab23d8fff373d75af490c98b5","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/ro-RO-CUZFN555.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/ro-RO-CUZFN555.d.ts","sha256":"7a0a3eee2ab90770a42562b0de271cdcb8e2b82fd77175e9ad82d1ac70d93d7e","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/ru-RU-4GHINTII.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/ru-RU-4GHINTII.d.ts","sha256":"d7d413997a7033eaa698c1a120d83f338cb815a6d45b735c026ec9e20ada15e4","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/si-LK-SSNT7T4A.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/si-LK-SSNT7T4A.d.ts","sha256":"12cf5f3448bd8aa55b72b12e863ba14dd713dc616ca627f1c26db7f6df9d963b","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/sk-SK-J7TKZQEH.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/sk-SK-J7TKZQEH.d.ts","sha256":"3f12f274a4367fc1e9ca6e31f37217ca49471fc8d38da1e1adb3e9771aadea17","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/sl-SI-SIBMLDYY.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/sl-SI-SIBMLDYY.d.ts","sha256":"2efb575efa1568f12ae476af1df92bb2ef88a2049cff8c0e67e094708bdc46d0","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/sv-SE-6GYGFZNL.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/sv-SE-6GYGFZNL.d.ts","sha256":"98fd39d0577c112d15423fbc28fd41baae942546c2a48027b1efd4637b99fd6d","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/ta-IN-7AW6CTGA.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/ta-IN-7AW6CTGA.d.ts","sha256":"136ae00796b4b3dc661954878a43a393c53ff103c108c822216d4257016a210d","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/th-TH-FP7ULYYM.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/th-TH-FP7ULYYM.d.ts","sha256":"f06c3e947a1c23e3c103e1eedcdd1dc46090c56adbbdde95412050c7c8861e63","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/tr-TR-UDQGNXAG.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/tr-TR-UDQGNXAG.d.ts","sha256":"e8a8e77cfdd6fc9020b3affe1e661683ca78566ee15d15fa43f913701c9eef80","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/uk-UA-25HL2NCU.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/uk-UA-25HL2NCU.d.ts","sha256":"459dea8ccc581c3a65f7ff836c93571094c9e22dcb3ce2e50fb527cffe4715fd","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/uz-UZ-OPSBAY4H.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/uz-UZ-OPSBAY4H.d.ts","sha256":"3642cf605ecb8ad178e448050d297ff5837b7bf704e62f3d2d89c5b76f053672","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/vi-VN-DK367UGA.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/vi-VN-DK367UGA.d.ts","sha256":"8a047956ff1b602003653b737a6dc65597d58fcf2a7d3ed1e99dec4349f523d8","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/zh-CN-4YLFNIKH.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/zh-CN-4YLFNIKH.d.ts","sha256":"e1cb6a21b46e63276e45d3244365c969e8eafe3ee372476228748f7745aa270a","bytes":28902},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/zh-HK-WFGYHWPG.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/zh-HK-WFGYHWPG.d.ts","sha256":"cb1acaabe89c091c884df25a74d75a50caf667a59235b46cad49fffe02b4519e","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/locales/zh-TW-WHQS4ZSD.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/locales/zh-TW-WHQS4ZSD.d.ts","sha256":"0c8c03878e836daa99585246b64407463ae392105989da945639dffb02fd148a","bytes":28868},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/subset-shared.chunk.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/subset-shared.chunk.d.ts","sha256":"48e8f169255666ae3ace0cd457b92f5d319eb57de29b0d0e3c1e156464fc13a9","bytes":267},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/dev/subset-worker.chunk.d.ts","path":"packages/excalidraw/types/excalidraw/dist/dev/subset-worker.chunk.d.ts","sha256":"8265ac86f63fdd58d58bb323863a61b8c1f1d3b46fc585435487a4834dbda89e","bytes":39},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/obsidian/excalidraw.development.d.ts","path":"packages/excalidraw/types/excalidraw/dist/obsidian/excalidraw.development.d.ts","sha256":"c9e906dc58b2809cc4f95ab8a5080325212858e7980a44a79a17c2856c2545cb","bytes":1224},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/chunk-7TGINMXY.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/chunk-7TGINMXY.d.ts","sha256":"8ec6b273f9a0bea6c46585ccbecda39eecb63d8e2f1ff9ac76edc5014a7d1519","bytes":743},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/chunk-DYU5D34O.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/chunk-DYU5D34O.d.ts","sha256":"1c7262f1ae95d1be99b162cb69d545dd45e3b283b671126db1df022a02fa625a","bytes":1291},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/chunk-JP3D4YPW.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/chunk-JP3D4YPW.d.ts","sha256":"0ab31914b18b0f2a22244f3d2c91eb5d908a9f693c485b80f2135d943734ac6c","bytes":30540},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/chunk-LTZN464D.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/chunk-LTZN464D.d.ts","sha256":"89ad9fb3e25b83640b5d6ec16d21bf1cf23d9135e0eded6b3fdfb6a2fa6b7ce1","bytes":33618},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/chunk-SRAX5OIU.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/chunk-SRAX5OIU.d.ts","sha256":"8cf95d4ab928921092397b9f2a4f560e544c50e5df51a70ea6578e700e7a2683","bytes":246},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/chunk-Z5NKEFVG.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/chunk-Z5NKEFVG.d.ts","sha256":"27ea9cd8fc40e75bd99f8704e907f17705374b736f930d64edf687c89c99322f","bytes":247},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/components/TTDDialog/CodeMirrorEditor-C2DIMY23.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/components/TTDDialog/CodeMirrorEditor-C2DIMY23.d.ts","sha256":"facbb75eefd005a697e787a04af000cdedb95f8ceedb1016e76f5bb67eadbf6b","bytes":352},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/data/image-3UYVS2VH.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/data/image-3UYVS2VH.d.ts","sha256":"37cc53b718f3d86b973af1739d5cc89adb9702110bdc05243660b178aa6f2e48","bytes":219},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/index.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/index.d.ts","sha256":"a70138c28abf65f0369550a9106b13ecffbf44437c154091b8d4f82e6283ff56","bytes":26469},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/ar-SA-5WIASEJP.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/ar-SA-5WIASEJP.d.ts","sha256":"8931d913971dd612c339a0a126f508b4d6804852e1cafa45fef2915ba7486bf8","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/az-AZ-V5EUQD6C.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/az-AZ-V5EUQD6C.d.ts","sha256":"0ecadd685b38d5b8dc118c8d86e57fe6a45b6ac65db0b28c21b5b285b423e9d4","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/bg-BG-EXASCMTR.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/bg-BG-EXASCMTR.d.ts","sha256":"da1a8e6108906131af2b9eb6adfcdc99078ffaa16bd6588fb8408657ca5f0ded","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/bn-BD-U4SYNFCO.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/bn-BD-U4SYNFCO.d.ts","sha256":"7c51c39b1bf90e293ec6ca2221319f98e0a53317da5218b32d70f8cc0bc4ba77","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/bn-IN-HKDJIITE.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/bn-IN-HKDJIITE.d.ts","sha256":"7c51c39b1bf90e293ec6ca2221319f98e0a53317da5218b32d70f8cc0bc4ba77","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/ca-ES-2KGUU5XB.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/ca-ES-2KGUU5XB.d.ts","sha256":"15b9b71d54e58b7890f0dc0a403bafa155e8710e82979ed50fd8d11e7b2bab56","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/cs-CZ-VUCGPRML.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/cs-CZ-VUCGPRML.d.ts","sha256":"29f70123ea58d592457fb9aa1459b78e5a5873bc7c437d3c7c14f1f27465d786","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/da-DK-NNDP2IVP.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/da-DK-NNDP2IVP.d.ts","sha256":"88b1af7a9ac8aafef5946c1375fac1c6b0850a7635df40ddb111572e9e61a146","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/de-CH-I7RAVIZN.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/de-CH-I7RAVIZN.d.ts","sha256":"94d2f1bbf4511cf44a36c2c4e97a60a54126efad47c2afe877930a96a25c5674","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/de-DE-WBQ3DQLR.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/de-DE-WBQ3DQLR.d.ts","sha256":"94d2f1bbf4511cf44a36c2c4e97a60a54126efad47c2afe877930a96a25c5674","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/el-GR-TYQHVGXW.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/el-GR-TYQHVGXW.d.ts","sha256":"d2006abc327f20ffccc60bd6f45a15bf28e690d08451310fecb3e210921aed62","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/en-MSTDZ7HS.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/en-MSTDZ7HS.d.ts","sha256":"faa18f01dd398afaa5af1cb09b16a8f2a4fb7588c4a04d3e8c688ebf99b3b8ab","bytes":2464},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/es-ES-JEUOREKJ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/es-ES-JEUOREKJ.d.ts","sha256":"9e9ed52ff921d5719c50e62efeaa00ed778efb7d097a9634546e89fb6bf4b774","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/eu-ES-SO5DEEAN.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/eu-ES-SO5DEEAN.d.ts","sha256":"73b98b4d6bb0cb4156c91bb9e5eaf40daddf341814b8add48a998a732a0d2044","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/fa-IR-I4JNTJHK.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/fa-IR-I4JNTJHK.d.ts","sha256":"a7aaa5194f51f5a299dbd80d0fe65e789166f24178bd45b87cbebea3daa01647","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/fi-FI-REAEF6HQ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/fi-FI-REAEF6HQ.d.ts","sha256":"9483268c1058a338ac2047fd2c0c3f6e9781aeb47027e0f4868ff256d71a50a7","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/fr-FR-SUCL7J6B.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/fr-FR-SUCL7J6B.d.ts","sha256":"8ca03c6f96a9e8cd2d0c714299d1220502db30f8cbb84810c9450806e6bab834","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/gl-ES-KHCSOGVH.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/gl-ES-KHCSOGVH.d.ts","sha256":"150af417e9b12bc9d9b27e905a93d29b13802b5dd42d1bd59463d7ff159c3b74","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/he-IL-JYXVXV2Q.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/he-IL-JYXVXV2Q.d.ts","sha256":"179a3aedf20670e2c357b77df9d0c8c9e5207e90c5f3d72b7a0030ecdbc40e3c","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/hi-IN-BU52H3BO.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/hi-IN-BU52H3BO.d.ts","sha256":"271ce3d0afe13350ddce7add76c6cc0cc01e23caaf4f1aa8f9d418438bbb7265","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/hu-HU-OWADXDQ3.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/hu-HU-OWADXDQ3.d.ts","sha256":"003fa95a11829e5b983e0609107c52bcb14a4205531d012e4f951eb8de729203","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/id-ID-2WY7E4VX.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/id-ID-2WY7E4VX.d.ts","sha256":"8aab0ce6bbab0059309b53f2eb40555af0ca959a09c3c579e84ee1edbfca37a2","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/it-IT-INVHSAJF.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/it-IT-INVHSAJF.d.ts","sha256":"686a2d45d03cfe9d5b52f2cc1a988b9999d4a7a41b58d62caeb77e266d75a010","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/ja-JP-JBNTKYP4.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/ja-JP-JBNTKYP4.d.ts","sha256":"3c0e518a5fac14227816f3f4f3e332f9d1b27b43eab7a92bfc24433c689e541f","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/kaa-TC3VIB7V.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/kaa-TC3VIB7V.d.ts","sha256":"836e2e67bba7b4dc2746dbe10413988571179eeb6d21f4803c401c9e76d7c955","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/kab-KAB-UOUDSQKM.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/kab-KAB-UOUDSQKM.d.ts","sha256":"0b3bb125660ae1aa4f40d2650d1a2d18eb7b622f6ce35222ee02f4081ea11d0e","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/kk-KZ-P5H2X7YS.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/kk-KZ-P5H2X7YS.d.ts","sha256":"5b98c1027d2f2037bed8dd17d483b53d7e13464c7380da6a180e9055b0bef6e2","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/km-KH-IHMV2US7.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/km-KH-IHMV2US7.d.ts","sha256":"55005d7da124ada0ac57e02e7c89f33506edb42a5308434fb14e92484eb80c9b","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/ko-KR-ZTMANIDF.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/ko-KR-ZTMANIDF.d.ts","sha256":"0efe3cd8b16875f1f77523797d881db2666a7b03517aa52967bb8f8780f46bb4","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/ku-TR-GPJTRB5G.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/ku-TR-GPJTRB5G.d.ts","sha256":"cd933dc8e8e891a2ef0f49e8fcfdd3e6569c0a5a8bd29c0333a689932d47e150","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/lt-LT-V3XDOK3P.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/lt-LT-V3XDOK3P.d.ts","sha256":"a478cc3792600747b48d83efabe3492cc58d6c6f3182d1486bdecf8f63f423a0","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/lv-LV-DVQ3FADO.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/lv-LV-DVQ3FADO.d.ts","sha256":"1db92fd9a8a461cc79cd37a69aa171270e4ed5b9490778218b23806e4302fcee","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/mr-IN-VZ6HH5FE.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/mr-IN-VZ6HH5FE.d.ts","sha256":"137daaad99d6abc56f20c3f50e957f912c3fa83c9f9b3b4d2b3cffe249fdf25b","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/my-MM-XYKWHRK6.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/my-MM-XYKWHRK6.d.ts","sha256":"cff8fdb13a0babc6fa2b5b9bb3c6d4c6baace8f6e731839e7fd007e1825006df","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/nb-NO-UNO2GGZJ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/nb-NO-UNO2GGZJ.d.ts","sha256":"d06719360c3bd124255797bacb3bfa1b660a22bb0dc47138dd5720af20b987e9","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/nl-NL-76EFHT4P.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/nl-NL-76EFHT4P.d.ts","sha256":"818ccfb9f16e30f77627840300e343d1a4067aeb9ac0702d21cba3b1f7350719","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/nn-NO-CFKD7ABE.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/nn-NO-CFKD7ABE.d.ts","sha256":"65e4aa5b21007609257449796108f3c63d716946da7d722ee8a7424a22a51a2d","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/oc-FR-YBJTCJ3J.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/oc-FR-YBJTCJ3J.d.ts","sha256":"0f1243bbb0a9ab206a51eee0dc42801a00550d74817f6ad20bef723f4d6663a2","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/pa-IN-SNOXSMRV.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/pa-IN-SNOXSMRV.d.ts","sha256":"1c2062dee9ca696f3947e53eacac34f6b1ed3d9a556130a35966b5335296b354","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/percentages-LWOC67ZH.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/percentages-LWOC67ZH.d.ts","sha256":"2fcb60b22887cddae897817bdca11cc21b797f65fcd62b1077c5d0d74666f84f","bytes":170},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/pl-PL-BSY6YFZ3.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/pl-PL-BSY6YFZ3.d.ts","sha256":"8d962c8cb6e5fe6c6c4b2e1346582073219591cc5af5be9642343f0cc10cde84","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/pt-BR-CZDV62R3.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/pt-BR-CZDV62R3.d.ts","sha256":"82a599a8fe27f21337ce702d6e5e423ca4c83f1e13bf1c1e88fc7b297866e086","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/pt-PT-JO57XJJW.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/pt-PT-JO57XJJW.d.ts","sha256":"0084b51b63cce6b7d0a41ba4ee540e71c2d568abcadc608a927accc06df4f12c","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/ro-RO-UZ5ICYYN.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/ro-RO-UZ5ICYYN.d.ts","sha256":"ffab9489c4c2bcf5acac97622b66aef29062aa37ee8caf36d79d9899d9eb5eb9","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/ru-RU-AN7JPREC.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/ru-RU-AN7JPREC.d.ts","sha256":"bfa35fe3d1fbc1b90f727c761b305eba7fe50ca1297c87d607985d243ea4e5dc","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/si-LK-7CBLD6QQ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/si-LK-7CBLD6QQ.d.ts","sha256":"ced4c0eedab18dae813d4ca677cfb747840964f9e9a118fbed8e5dc99402544e","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/sk-SK-SWR6DKBI.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/sk-SK-SWR6DKBI.d.ts","sha256":"078b363333ac4a3d5ca2f01033ea227ea1e532b812717cc4e363e24a16df88ca","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/sl-SI-QY5KCFGA.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/sl-SI-QY5KCFGA.d.ts","sha256":"1626858e01a84ec16db0f978e4f79f7025213bb4fa27afc63b1de9efa48c4a3a","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/sv-SE-O3OFCY3J.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/sv-SE-O3OFCY3J.d.ts","sha256":"40211f8a9becb96b08910f384360e9fbb58cd7628f8eb0137b0c33c0bc10fb7c","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/ta-IN-V6NHHU6Z.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/ta-IN-V6NHHU6Z.d.ts","sha256":"8839444dadeeb6a9b22935aefd6815498d64894a83f9a3e9e95366967761435d","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/th-TH-WLSZUSBX.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/th-TH-WLSZUSBX.d.ts","sha256":"7dee5446f7b5bcf0cc58eff11987bb40d4ee8be65629dad69aa1a2ea0f645cb4","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/tr-TR-GUFYG22B.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/tr-TR-GUFYG22B.d.ts","sha256":"97c5a649a586a0da22cdd1bd02cc4809b249e552c86b87c7043827cf2381cbbb","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/uk-UA-K6SV5NFQ.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/uk-UA-K6SV5NFQ.d.ts","sha256":"e1c1306812aa9d37e8a935557ee1be316303b80f190d08bc36bc393a4cee5ce4","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/uz-UZ-TVKTZO2G.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/uz-UZ-TVKTZO2G.d.ts","sha256":"9109013887191fc23411c3368dafc486765adb8f82f18584c7b64ac1eeca0704","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/vi-VN-7FKFXJNO.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/vi-VN-7FKFXJNO.d.ts","sha256":"e1dff8ab862312220e07048e0e3958051ba1382c4f63fdede8e720a6b4f79bcc","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/zh-CN-WJEZCU55.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/zh-CN-WJEZCU55.d.ts","sha256":"53d45ffc5834f708d089ca70d8e9ea04d4eb306cffb525ac8b94e80f12fdb5cc","bytes":29438},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/zh-HK-CDKPF5DC.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/zh-HK-CDKPF5DC.d.ts","sha256":"9109013887191fc23411c3368dafc486765adb8f82f18584c7b64ac1eeca0704","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/locales/zh-TW-ZVGYESGW.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/locales/zh-TW-ZVGYESGW.d.ts","sha256":"6dfbb014d353c8ec37e3fbb1a01f17dbe015b8ff7be6ad5ce74a42a4d14afae8","bytes":29404},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/subset-shared.chunk.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/subset-shared.chunk.d.ts","sha256":"ba62ae85873a4cb21ca82da23a2a03a8c07d273764c926530efaee8fcf093ce1","bytes":247},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/dist/prod/subset-worker.chunk.d.ts","path":"packages/excalidraw/types/excalidraw/dist/prod/subset-worker.chunk.d.ts","sha256":"be3508ca66d53573077695f0f4a59b1c4510505847ed2313cccfcec9a9663191","bytes":59},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/drawShapeTrail.d.ts","path":"packages/excalidraw/types/excalidraw/drawShapeTrail.d.ts","sha256":"dc51c012cea39e7836811989de08ea715170e3ac5a283098ae0bbcd05e47292a","bytes":526},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/editor-jotai.d.ts","path":"packages/excalidraw/types/excalidraw/editor-jotai.d.ts","sha256":"a86dbfe404a99ee0eba6e3871c85425bf6fc146bd28a70f0e468628ba7f6364f","bytes":3057},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/eraser/index.d.ts","path":"packages/excalidraw/types/excalidraw/eraser/index.d.ts","sha256":"724277de0082ba041073f21424aa0df9d6194fbebf47346d76679d5add347193","bytes":407},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/errors.d.ts","path":"packages/excalidraw/types/excalidraw/errors.d.ts","sha256":"fe337b878164fe9afa9d601300d7bbe1f0ce74fad2384f5f1454b0afec3a1720","bytes":1424},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Cascadia/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Cascadia/index.d.ts","sha256":"69a903a7142bcc9aed314a8616863cfdda200bba5262d872ef80c88921374116","bytes":134},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/ComicShanns/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/ComicShanns/index.d.ts","sha256":"aa0bde3473eb61ca92e433838233b515c8fdafb2285b53e82b7ef7e7fb2ae93c","bytes":137},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Emoji/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Emoji/index.d.ts","sha256":"57f0f36ed940aaa29a5544bbc1bcc2fa54e1ec14a9d8425867218f4f072d1351","bytes":131},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/ExcalidrawFontFace.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/ExcalidrawFontFace.d.ts","sha256":"4bc27b3aaf789af47cf94fc324e282657da7fa79c483b9ede0fe6629519f7d93","bytes":1186},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Excalifont/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Excalifont/index.d.ts","sha256":"483da076c5156d70b1b03bc96df3b86d1685c90dd8fb85b6cae43cc5c5e0428f","bytes":136},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Fonts.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Fonts.d.ts","sha256":"db2445a7bd153d6055c44af40e64fbc9c57d38ec08801e68402eb5eaa17278c3","bytes":3874},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Helvetica/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Helvetica/index.d.ts","sha256":"de20cb02ca9f216e942e939ea5f15e91e482135ee5bafe37e9d4a2f3c15aa67e","bytes":135},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Liberation/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Liberation/index.d.ts","sha256":"8e4e15d24f9c772ac04ebb5b2a431d39fe2a2e55223084bb8ffae229bafe8232","bytes":136},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Lilita/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Lilita/index.d.ts","sha256":"165638d4cc00973ecf77db862a47c3c645561d300132b6f42326dd25c756e6a2","bytes":132},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Nunito/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Nunito/index.d.ts","sha256":"cecf4dc558c0800d940ce3305768db8c8e50f255c03673b8f2514d739fdf59cd","bytes":132},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Virgil/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Virgil/index.d.ts","sha256":"0268f655f9bd6267dc77f5af4efe603dc5957bffedc434bd881ec3cfb71f5765","bytes":132},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/Xiaolai/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/Xiaolai/index.d.ts","sha256":"d815ec71b25953c8a8e602ae5e074f3e421471110a3a0e24033d95225cfb0026","bytes":341},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/fonts/index.d.ts","path":"packages/excalidraw/types/excalidraw/fonts/index.d.ts","sha256":"b8d8306e6db8520053bd90166eed5a1773c94394f1e6d5b68ee39243e3bef0e6","bytes":25},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/gesture.d.ts","path":"packages/excalidraw/types/excalidraw/gesture.d.ts","sha256":"370309b2d7f0723b5edceafbc81449ce59a239618a1383ccc53ed081e97eccf3","bytes":235},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/history.d.ts","path":"packages/excalidraw/types/excalidraw/history.d.ts","sha256":"ba61a368bf1ac011cc38b01bb956a6265d45ca2babbb2a17a31e104370efa426","bytes":2521},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useAppStateValue.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useAppStateValue.d.ts","sha256":"743c5591182a042ada5eeb8590af0a3f0b86e01bac892c2070faca102dbedea8","bytes":1662},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useCallbackRefState.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useCallbackRefState.d.ts","sha256":"1e381ab21d35a009cd76dd748ada337da081080f2422ae4d4439986c510681ac","bytes":99},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useCopiedIndicator.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useCopiedIndicator.d.ts","sha256":"cb116a300b74852c73b8d32326dc29cf04619699fb0726542012e968d03bd4d1","bytes":138},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useCreatePortalContainer.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useCreatePortalContainer.d.ts","sha256":"a0f15f59ee96de217872a2ae26cc440b9447ab02fb0e1ccbea5fa70ef4a17a06","bytes":189},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useEmitter.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useEmitter.d.ts","sha256":"39a76c49d3668db8efc454554a432a2c2242433ebbaac3ee3122882fc2015c8d","bytes":170},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useLibraryItemSvg.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useLibraryItemSvg.d.ts","sha256":"bc8c19689124096688f3f6dd36c112970a0ab9b91d05806ed94502291871bcb0","bytes":622},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useOutsideClick.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useOutsideClick.d.ts","sha256":"b23458ec10ddeece4c4e3632a63b943347143b01d31784fef46f44991d7ab4dd","bytes":706},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useScrollPosition.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useScrollPosition.d.ts","sha256":"b95937e258ef98bbc1911ffad95e2246b6570366ed722d743e241d0537d094bb","bytes":114},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useStable.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useStable.d.ts","sha256":"96631cdbae0a456868c7f23ac2e8fd32676be8ae7d96060b5cea6fdeca2f83b8","bytes":80},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useStableCallback.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useStableCallback.d.ts","sha256":"8f541d2531150a13d9aba5ae2f1972aa468c2df9a2a9c5fc7e309e784e3fa77b","bytes":148},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useTextEditorFocus.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useTextEditorFocus.d.ts","sha256":"bf960932acec830064e3c6eb44e8713b609cd52f01a4bd845b48af3938c08aa9","bytes":785},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/hooks/useTransition.d.ts","path":"packages/excalidraw/types/excalidraw/hooks/useTransition.d.ts","sha256":"2bffd7cf4525c98c837dffc63d5d383d8a815776d512f81b4391c1c87f03398b","bytes":91},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/i18n.d.ts","path":"packages/excalidraw/types/excalidraw/i18n.d.ts","sha256":"f63943783e489141c874508413bdc216c97f8fc9e7230d4f62c6cdc276071477","bytes":888},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/index-node.d.ts","path":"packages/excalidraw/types/excalidraw/index-node.d.ts","sha256":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","bytes":11},
|
||||
{"role":"declarations","path":"packages/excalidraw/types/excalidraw/index.d.ts","sha256":"1c7b902df4906cd290cbefaab4bd2eefe01cd2ecde3912fd8b72eba8206e6196","bytes":6227},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/laserTrails.d.ts","path":"packages/excalidraw/types/excalidraw/laserTrails.d.ts","sha256":"7ae5be9d7a11de5158d65b978963a222d3f028769ea082e9dab99c18bef4089f","bytes":623},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/lasso/index.d.ts","path":"packages/excalidraw/types/excalidraw/lasso/index.d.ts","sha256":"4c88d29238e54e4b33cf37669e0b9178c3a18e48de566f8bcebecbf5d1746ccc","bytes":597},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/lasso/utils.d.ts","path":"packages/excalidraw/types/excalidraw/lasso/utils.d.ts","sha256":"8e971007e9551def1f14e3f2132b8d8f82bd515c0c522ad3096f8d900e9b6ae8","bytes":629},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/mermaid.d.ts","path":"packages/excalidraw/types/excalidraw/mermaid.d.ts","sha256":"cd9f3a2c0e8ea2acd9ea362d9dcdb01cac907473180015353b73aa041ee71259","bytes":155},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/obsidianEntry.d.ts","path":"packages/excalidraw/types/excalidraw/obsidianEntry.d.ts","sha256":"5890bfd1dde479ff8d99097069c6e9930c6f7ac0249f83dbe20a7c930ecda06f","bytes":481},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/obsidianExcalidrawHost.d.ts","path":"packages/excalidraw/types/excalidraw/obsidianExcalidrawHost.d.ts","sha256":"48fc1133112ef3c15b56ba528e29dfd14df5e971bbc361d982a4660133e536a4","bytes":2869},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/obsidianExport.d.ts","path":"packages/excalidraw/types/excalidraw/obsidianExport.d.ts","sha256":"103590af9ee28812ab696cda2789ac6508d57f57afb6deae75694f3ccfe82b56","bytes":2001},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/obsidianText.d.ts","path":"packages/excalidraw/types/excalidraw/obsidianText.d.ts","sha256":"748d5a55ebfe7c6577de4bc660820693721217789d941dba88c2e1cf7d0f6aec","bytes":2680},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/obsidianTypes.d.ts","path":"packages/excalidraw/types/excalidraw/obsidianTypes.d.ts","sha256":"2ad3679fdc519b462fa22d0523ed15689754c382fb27eeb1cf84c33ef082cfd4","bytes":2434},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/obsidianUtils.d.ts","path":"packages/excalidraw/types/excalidraw/obsidianUtils.d.ts","sha256":"842ced7de73b256e7f711b9f32469f55c82fe8ba9b24efe652467765aa8dceee","bytes":3477},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/polyfill.d.ts","path":"packages/excalidraw/types/excalidraw/polyfill.d.ts","sha256":"83a36c957fcbec4a8b9baec16ed51306d3bd70d010ab881e682c161e6a6adbe7","bytes":61},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/reactUtils.d.ts","path":"packages/excalidraw/types/excalidraw/reactUtils.d.ts","sha256":"f917fd1a8df37abca8a3f0fe105e3499d38012bbb79eaae075bdf52bd58aec37","bytes":718},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/renderOverrides.d.ts","path":"packages/excalidraw/types/excalidraw/renderOverrides.d.ts","sha256":"fdeca89240afdb6866841f4cdb8540131796ef283e62a822f5eaf2782b67bb97","bytes":648},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/renderer/animation.d.ts","path":"packages/excalidraw/types/excalidraw/renderer/animation.d.ts","sha256":"48a74c75b6b8575aa0a0fbcdc8cc725f56d2a11a4b0a05d2967c5486b2f4c26a","bytes":1050},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/renderer/helpers.d.ts","path":"packages/excalidraw/types/excalidraw/renderer/helpers.d.ts","sha256":"be7ea97bdaa29bcafc3fd3aff6e2845373cce49152029c013e2b88df19170d45","bytes":2314},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/renderer/interactiveScene.d.ts","path":"packages/excalidraw/types/excalidraw/renderer/interactiveScene.d.ts","sha256":"407d5eec4bf868402eec1472e0457f2e67824c85de23f8f97c2e4c897a5ffb00","bytes":743},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/renderer/renderNewElementScene.d.ts","path":"packages/excalidraw/types/excalidraw/renderer/renderNewElementScene.d.ts","sha256":"cf2ab650d4a631a9c7fc131348761b935759800ffa4ca047c671e2715b917acd","bytes":330},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/renderer/renderSnaps.d.ts","path":"packages/excalidraw/types/excalidraw/renderer/renderSnaps.d.ts","sha256":"ae3db2355c8a3c6c37198390b36378ea32df77fd8164921d8324318f68e246dc","bytes":175},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/renderer/roundRect.d.ts","path":"packages/excalidraw/types/excalidraw/renderer/roundRect.d.ts","sha256":"a77273138f9602faae7ba9b4c0d1df82521f09abd63f53334993326e2922c933","bytes":572},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/renderer/staticScene.d.ts","path":"packages/excalidraw/types/excalidraw/renderer/staticScene.d.ts","sha256":"15779c2459cd1188a1297b675758a9539db22c8234277772d2d6014e70592e73","bytes":1169},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/renderer/staticSvgScene.d.ts","path":"packages/excalidraw/types/excalidraw/renderer/staticSvgScene.d.ts","sha256":"f8ca2f470cbed568a23559a784c3c03aee1c2eb99e172d1bd4b39f3a38ac7428","bytes":473},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/scene/Renderer.d.ts","path":"packages/excalidraw/types/excalidraw/scene/Renderer.d.ts","sha256":"5d8002ce79e57525e29e0a8e900a19e1adb848db0d88334b8a0fc047bb66f075","bytes":21203},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/scene/export.d.ts","path":"packages/excalidraw/types/excalidraw/scene/export.d.ts","sha256":"4d6ca6e4d30908e0c30992e3bd459f3a314a4c528f404b6ffcf87ea486ac3c66","bytes":13519},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/scene/index.d.ts","path":"packages/excalidraw/types/excalidraw/scene/index.d.ts","sha256":"f15ca247eca3304f48807f9ff72bbae6378378af3b2e8370f25cb37e6e990d8c","bytes":451},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/scene/normalize.d.ts","path":"packages/excalidraw/types/excalidraw/scene/normalize.d.ts","sha256":"f3e4fd1eb8ae391c6c4c88814e2667fb8521868dee51c8efac2c7bec7e60a58f","bytes":280},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/scene/scrollbars.d.ts","path":"packages/excalidraw/types/excalidraw/scene/scrollbars.d.ts","sha256":"eec799d788d854e5591d5032b16db7a8764dc4a9c7406da4c6e3b3ac5360be0e","bytes":624},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/scene/types.d.ts","path":"packages/excalidraw/types/excalidraw/scene/types.d.ts","sha256":"19ce56ead5da7ad467122e47acd07d65fb753cc428c124b06ce0b85e6ce27fee","bytes":6221},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/shortcut.d.ts","path":"packages/excalidraw/types/excalidraw/shortcut.d.ts","sha256":"111f1a0d6a5c6deb37ac7aa102f421f710a82f3e36d14885a59a8e2ae55f6ba0","bytes":67},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/snapping.d.ts","path":"packages/excalidraw/types/excalidraw/snapping.d.ts","sha256":"8e662ea666e2e03463f7de0c2dc7bb2979d5dda40933c9b5fd99bc2c01205afd","bytes":4725},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts","path":"packages/excalidraw/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts","sha256":"dbd8ddce8131fa8baecdbec726d107309e883fb3b2adcc04e318c26f200d674e","bytes":2280},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts","path":"packages/excalidraw/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts","sha256":"60d0c075494147f34595ec931779e9e43454f4ce3dcc687b8ec0696feae28eb3","bytes":598},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts","path":"packages/excalidraw/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts","sha256":"3c9b4c9b5993e76ac26a9a45f6747c171eb3d31afcf65348df16b1041eef656c","bytes":74},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/subset/subset-main.d.ts","path":"packages/excalidraw/types/excalidraw/subset/subset-main.d.ts","sha256":"598e60a01b95434fa3fd4caac4c7d27a07001387237f084c56244032f9eb03cc","bytes":657},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/subset/subset-shared.chunk.d.ts","path":"packages/excalidraw/types/excalidraw/subset/subset-shared.chunk.d.ts","sha256":"48a733fde9e4780b891628620aded7755cdc84c6959e7b1519a72e8358c20b7a","bytes":1436},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/subset/subset-worker.chunk.d.ts","path":"packages/excalidraw/types/excalidraw/subset/subset-worker.chunk.d.ts","sha256":"fca3f6be53898d59279a071cef9b039ca348877748e77466bc67706a6db9c9a1","bytes":715},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/subset/woff2/woff2-bindings.d.ts","path":"packages/excalidraw/types/excalidraw/subset/woff2/woff2-bindings.d.ts","sha256":"17b7d3370c828cad8811f00f85f1df296da1d82bd7d2bf2d5e92a505b247da11","bytes":1605},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/subset/woff2/woff2-loader.d.ts","path":"packages/excalidraw/types/excalidraw/subset/woff2/woff2-loader.d.ts","sha256":"e7b420a56491d614cdf57ef1bda7be1f899c9640f356c3155ac1126a738dd192","bytes":629},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/subset/woff2/woff2-wasm.d.ts","path":"packages/excalidraw/types/excalidraw/subset/woff2/woff2-wasm.d.ts","sha256":"3c9b4c9b5993e76ac26a9a45f6747c171eb3d31afcf65348df16b1041eef656c","bytes":74},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/textAutoResizeHandle.d.ts","path":"packages/excalidraw/types/excalidraw/textAutoResizeHandle.d.ts","sha256":"c902423522ecdac9d887058bf3b1e6f73d22b236c0adea1f86f1b3ace9c2759e","bytes":797},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/types.d.ts","path":"packages/excalidraw/types/excalidraw/types.d.ts","sha256":"cdb13ddbf6be32a52d19ee378ef18531240ba7668eb9af47a1471a0aeb5121ad","bytes":61351},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/viewport.d.ts","path":"packages/excalidraw/types/excalidraw/viewport.d.ts","sha256":"86c91c5b3a66b275f4b9955029b7ed972ad6f6921ced7fb807db0ea48d312399","bytes":14567},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/workers.d.ts","path":"packages/excalidraw/types/excalidraw/workers.d.ts","sha256":"1d038d3b530e19aa21b6719fe8562d554a4b2ea99148585c4678a237eaa1326d","bytes":1186},
|
||||
{"role":"declaration:packages/excalidraw/types/excalidraw/wysiwyg/textWysiwyg.d.ts","path":"packages/excalidraw/types/excalidraw/wysiwyg/textWysiwyg.d.ts","sha256":"160c2fc8a6763291e4eecd533720c57aa0a26cf13d0221a5191c1c3156a4db5d","bytes":1440},
|
||||
{"role":"declaration:packages/excalidraw/types/fractional-indexing/src/index.d.ts","path":"packages/excalidraw/types/fractional-indexing/src/index.d.ts","sha256":"b5202afc9f28a0731ad24ec924d4b1c0fe5c995cdb97a93b45c68ff68e09bc23","bytes":1119},
|
||||
{"role":"declaration:packages/excalidraw/types/laser-pointer/src/index.d.ts","path":"packages/excalidraw/types/laser-pointer/src/index.d.ts","sha256":"20f6cc8476985397286f9625dadfffa7ad2bff9c6f30c4d8e96e47e7aacd1684","bytes":62},
|
||||
{"role":"declaration:packages/excalidraw/types/laser-pointer/src/math.d.ts","path":"packages/excalidraw/types/laser-pointer/src/math.d.ts","sha256":"c286a2d45f3dc3ed54a0bff84f14e107bf19cce4cd33c512871f16d4ba3a07f9","bytes":1149},
|
||||
{"role":"declaration:packages/excalidraw/types/laser-pointer/src/simplify.d.ts","path":"packages/excalidraw/types/laser-pointer/src/simplify.d.ts","sha256":"9802f20124def3629a1fc338390a0e9b36944454c8e665312747f8b627a12d0d","bytes":120},
|
||||
{"role":"declaration:packages/excalidraw/types/laser-pointer/src/state.d.ts","path":"packages/excalidraw/types/laser-pointer/src/state.d.ts","sha256":"c4d07428afbd6ed7f90bc14ed276d6f0d2c27938d818d2fed102495367e38b4e","bytes":1055},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/angle.d.ts","path":"packages/excalidraw/types/math/src/angle.d.ts","sha256":"01598d33ffbd4760b55b10e274e459316b503b4562ceadd7eefa77f19da58c85","bytes":996},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/constants.d.ts","path":"packages/excalidraw/types/math/src/constants.d.ts","sha256":"c5dea6d46288b009e7766b8ea08df978aeea4bed9bfe62bbe6e6be83e9bdd51c","bytes":112},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/curve.d.ts","path":"packages/excalidraw/types/math/src/curve.d.ts","sha256":"71d08046d0d6e99025b6ea2c0c123c0d8a354bff9e27ff682be4c449592ea163","bytes":4043},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/ellipse.d.ts","path":"packages/excalidraw/types/math/src/ellipse.d.ts","sha256":"be4fb4c134dfe63f0d29bd260cee2ad7cbdaa506830bedf01d1e93cf8ead24d9","bytes":2223},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/index.d.ts","path":"packages/excalidraw/types/math/src/index.d.ts","sha256":"4bf3b98b243262308b9222506d5879f61ecb2dab3826ac5fc09dc960c23336a0","bytes":361},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/line.d.ts","path":"packages/excalidraw/types/math/src/line.d.ts","sha256":"7b441b8a0bb704e8962586a451449b948ceef6d92ac5f6079652726604edbce6","bytes":549},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/pca.d.ts","path":"packages/excalidraw/types/math/src/pca.d.ts","sha256":"be7f5a2df2bd387394ba416a1bf1f6725803396778d0d6ccc75e866758b8f405","bytes":3392},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/point.d.ts","path":"packages/excalidraw/types/math/src/point.d.ts","sha256":"af2b438d8e2a28cc85b686c84e5c47bb0f36ff7ea2bb97570cfae3fa35175c9a","bytes":5187},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/polygon.d.ts","path":"packages/excalidraw/types/math/src/polygon.d.ts","sha256":"c610ce97f5bca5462cd451120b2aa6c7c768b515e2b67e2bd0e9870b2ba24e4f","bytes":1905},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/range.d.ts","path":"packages/excalidraw/types/math/src/range.d.ts","sha256":"971d90e575bbf2eff824944f796fd467e52d9c06b8167e182224b6eab205ff71","bytes":1578},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/rectangle.d.ts","path":"packages/excalidraw/types/math/src/rectangle.d.ts","sha256":"549162e0872e82f3da3673e6fb996fd05ba3dae2aae143cc0f5bc31474db09c0","bytes":670},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/segment.d.ts","path":"packages/excalidraw/types/math/src/segment.d.ts","sha256":"1cbf165373f9dd3c5e4dbe192756ad1bcd7e7f39297255e8223a4b864d986500","bytes":2345},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/triangle.d.ts","path":"packages/excalidraw/types/math/src/triangle.d.ts","sha256":"958d3bb0c5ca7405d05778b07ac1e8a5fc6d83de750d50207a9fb84d2af76ac5","bytes":504},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/types.d.ts","path":"packages/excalidraw/types/math/src/types.d.ts","sha256":"0eeaf6e6e002540f76ecaa55cc7bb1447743e692e714b58e8a189b050ac5c48b","bytes":3443},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/utils.d.ts","path":"packages/excalidraw/types/math/src/utils.d.ts","sha256":"68024297bd9f64c857974cd04e27575a352fb98ad46ab6d7da528d597ff45419","bytes":562},
|
||||
{"role":"declaration:packages/excalidraw/types/math/src/vector.d.ts","path":"packages/excalidraw/types/math/src/vector.d.ts","sha256":"3ba426b93aae6c261c1f47dcd8f0047153e5853e6ea3392fab6c9429a4eefa0b","bytes":3510},
|
||||
{"role":"declaration:packages/excalidraw/types/utils/src/index.d.ts","path":"packages/excalidraw/types/utils/src/index.d.ts","sha256":"df9ab96e375dc613d3c91cc5a79734be858666b0c2d06be02e5f3c736631967b","bytes":495},
|
||||
{"role":"declaration:packages/excalidraw/types/utils/src/shape.d.ts","path":"packages/excalidraw/types/utils/src/shape.d.ts","sha256":"b1f21218248ee8faed07fd4329592011301735095cd0beaa48e26fbfca27ec71","bytes":3941}
|
||||
],
|
||||
"extras": [
|
||||
{"role":"main","path":"dist/main.js","sha256":"28f3c966b44bb35881b98d05f3fc327163b170b51bcdb3af13821c427015c8bb","bytes":2536224},
|
||||
{"role":"manifest","path":"dist/manifest.json","sha256":"d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611","bytes":303},
|
||||
{"role":"styles","path":"dist/styles.css","sha256":"3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda","bytes":1427},
|
||||
{"role":"declaration:api/MathjaxToSVG/index.d.ts","path":"api/MathjaxToSVG/index.d.ts","sha256":"fd6a8737bfa0e0b333c70631e2b0fe69f480053493114a703099363be6ddc378","bytes":1096},
|
||||
{"role":"declaration:api/MathjaxToSVG/packages.d.ts","path":"api/MathjaxToSVG/packages.d.ts","sha256":"1abf2980398108ea5632b5f1094a4b36dc95f80428c4beca91400e6cca18d155","bytes":2964},
|
||||
{"role":"declaration:api/PDFExport/pdfExportTypes.d.ts","path":"api/PDFExport/pdfExportTypes.d.ts","sha256":"97eedcecefd1c9f7ceed7c7cc6b218ac8b81b19c3bb055fa19d21ff189cad8ff","bytes":3162},
|
||||
{"role":"declaration:api/api/ExcalidrawExtrasAPI.d.ts","path":"api/api/ExcalidrawExtrasAPI.d.ts","sha256":"74b94b85542c271a1326508ebc2294390f63539fa5b8cdb88d0ebd2ef7075049","bytes":1755},
|
||||
{"role":"declarations","path":"api/api/index.d.ts","sha256":"54138761aea20e80fc664c7f31c6b4d1ebf230f957ca3aaa5dfea169d286b23f","bytes":100}
|
||||
],
|
||||
"plugin": [
|
||||
{"role":"main","path":"dist/main.js","sha256":"cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df","bytes":5030423},
|
||||
{"role":"manifest","path":"dist/manifest.json","sha256":"4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0","bytes":470},
|
||||
{"role":"styles","path":"dist/styles.css","sha256":"4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d","bytes":354364}
|
||||
]
|
||||
},
|
||||
"instrumentation": {
|
||||
"approved": true,
|
||||
"deadline": 1793357464000,
|
||||
"sha256": "06fbbcfa59e21c05fa7cac4b3071fe3bcbcdb4d6033b80bec8178e716f6d143f"
|
||||
},
|
||||
"sourceArchive": "approved-observer-trace-source.txt",
|
||||
"rawTrace": "approved-observer-trace-records-2026-10-30.json",
|
||||
"workflow": {
|
||||
"status": "passed",
|
||||
"diagnosticOnly": true,
|
||||
"assertionsUnmodified": true,
|
||||
"scenarios": [
|
||||
{"id":"plugin-load","status":"passed"},
|
||||
{"id":"drawing-main-window","status":"passed"},
|
||||
{"id":"behavior-matrix","status":"passed","settlingCheck":{"status":"passed","label":"native-main","started":1793356378558,"completed":1793356379661,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793356378559,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356378669,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356378779,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356378889,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356378998,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356379106,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356379217,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356379327,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356379440,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356379551,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356379661,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1}]},"tests":[{"testId":"native:behavior:main:settings-01","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-02","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-03","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-04","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-05","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-06","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-07","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-08","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-09","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-10","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-11","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaded editor mode agrees with resolver","frontmatter and scene survive save/reopen"]},{"testId":"native:behavior:main:settings-12","status":"passed","assertions":["global defaults apply when frontmatter is missing","frontmatter overrides conflicting settings including false and zero","loaLine truncated
|
||||
{"id":"lifecycle","status":"passed","settlingCheck":{"status":"passed","label":"native-main","started":1793356383698,"completed":1793356384801,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793356383698,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356383808,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356383917,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356384028,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356384137,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356384249,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356384359,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356384470,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356384580,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356384692,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356384801,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1}]},"tests":[{"testId":"native:lifecycle-two-split-fullscreen","status":"passed","assertions":["split editors share one runtime and distinct APIs","one drawing's edit does not affect the other","fullscreen enters and restores owned classes"]},{"testId":"native:lifecycle-dirty-main-to-popout","status":"passed","assertions":["dirty edit survives main-to-popout","retired source API unmounted","popout retains shared private runtime"]},{"testId":"native:lifecycle-dirty-popout-to-main","status":"passed","assertions":["dirty edit survives popout-to-main","retired popout API unmounted","replacement main window physically saves captured edit"]},{"testId":"native:lifecycle-new-popout-survivor","status":"passed","assertions":["fresh popout opens persisted scene","popout window closes","surviving drawing remains editable and saves","other drawing stays unchanged"]},{"testId":"native:lifecycle-plugin-reload","status":"passed","assertions":["disable unmounts editor APIs and retires runtime","reload obtains a new plugin and runtime","both saved drawings reopen","stable command registered once"]}]},
|
||||
{"id":"lucide-3019","status":"passed","settlingCheck":{"status":"passed","label":"native-main","started":1793356400947,"completed":1793356402040,"timeoutMs":5000,"quietMs":1000,"samples":[{"at":1793356400947,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356401058,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356401166,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356401276,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356401385,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356401495,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356401606,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356401715,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356401824,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356401932,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1},{"at":1793356402040,"geometry":[["workspace-leaf mod-active",44,40,980,760],["excalidraw-wrapper",45,78,978,722]],"eventCount":1}]}},
|
||||
{"id":"javascript-errors","status":"passed"},
|
||||
{"id":"source-stability","status":"passed"}
|
||||
],
|
||||
"windowErrors": [
|
||||
{"at":1793356358178,"message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false,"source":"app://obsidian.md/index.html","line":0,"column":0,"label":"scenario:0","activeLeaf":{"type":"markdown","file":"__excalidraw_cli_smoke_7d30c6cf_behavior_popout/Render-target.md"},"activeEditor":{"type":"markdown","file":"__excalidraw_cli_smoke_7d30c6cf_behavior_popout/Render-target.md","editor":true,"keys":["_loaded","_events","_children","icon","navigation","app","leaf","containerEl","canDropAnywhere","leftSidebarToggleEl","headerEl","contentEl","backButtonEl","forwardButtonEl","titleParentEl","titleEl","titleContainerEl","actionsEl","moreOptionsButtonEl","allowNoFile","fileBeingRenamed","lastSavedData","saving","saveAgain","isPlaintext","data","dirty","requestSave","modeButtonEl","modes","currentMode","scroll","showBacklinks","rawFrontmatter","initialScope","scope","editMode","sourceMode","previewMode","inlineTitleEl","metadataEditor","backlinksEl","file"]},"cases":[{"phase":"native:behavior:popout:markdown-reading"}]}
|
||||
],
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {
|
||||
"restored": true,
|
||||
"pluginEnabled": true,
|
||||
"extrasEnabled": true,
|
||||
"theme": "moonstone",
|
||||
"restoredFixturePaths": []
|
||||
}
|
||||
},
|
||||
"traceSummary": {
|
||||
"observers": 2331,
|
||||
"targets": 968,
|
||||
"realms": [
|
||||
{"id":1,"main":true,"installed":true,"alive":true,"closed":false,"notifications":1},
|
||||
{"id":2,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0},
|
||||
{"id":3,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0},
|
||||
{"id":4,"main":false,"installed":true,"alive":false,"notifications":0},
|
||||
{"id":5,"main":false,"installed":true,"alive":true,"closed":true,"notifications":0}
|
||||
],
|
||||
"notifications": 1,
|
||||
"recordingFailures": [],
|
||||
"created": 2329,
|
||||
"preExisting": 2,
|
||||
"receivedCallbacks": 2089,
|
||||
"disconnected": 1900,
|
||||
"liveObserverCount": 68,
|
||||
"availableObservedTargets": 21,
|
||||
"noOwnerWindowTargets": 2,
|
||||
"crossRealmAvailableTargets": 0,
|
||||
"interpretation": "Observed metadata, WeakRef liveness, or detached/ownerless nodes alone do not establish a leak. The earlier preliminary count treating collected targets as cross-realm was corrected; actual available cross-realm targets at the end: zero."
|
||||
},
|
||||
"controls": {
|
||||
"adoptionInitial": {
|
||||
"trials": [{"mode":"none","beforeClose":1793356672501,"deliveries":[],"notificationCount":0},{"mode":"observe-before-adoption","beforeClose":1793356674925,"deliveries":[{"at":1793356674745,"sizes":[{"width":121,"height":81,"connected":true,"main":true,"ownerClosed":false}]},{"at":1793356674894,"sizes":[{"width":123,"height":81,"connected":true,"main":false,"ownerClosed":false}]}],"notificationCount":122},{"mode":"observe-after-adoption","beforeClose":1793356677391,"deliveries":[{"at":1793356677353,"sizes":[{"width":123,"height":81,"connected":true,"main":false,"ownerClosed":false}]},{"at":1793356677392,"sizes":[{"width":0,"height":0,"connected":false,"main":false,"ownerClosed":false}]}],"notificationCount":131}],
|
||||
"events": [{"at":1793356674945,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356674960,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356674975,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356674992,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675009,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675025,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675042,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675059,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675075,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675092,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675109,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675125,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675142,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675159,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675175,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675192,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675209,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675226,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675243,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675260,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675276,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675294,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675312,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675326,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675343,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675359,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675376,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675393,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675410,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675426,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793356675443,"mode":"observe-before-adoption","message":"ResizeObserver loop completed with undelivered notificatioLine truncated
|
||||
"productionObserversModified": false,
|
||||
"acceptanceCredit": false,
|
||||
"cleanup": {"popouts":0,"backgroundThrottling":true},
|
||||
"limitation": "Later arms may inherit the first sustained loop; do not treat them as independent matched controls."
|
||||
},
|
||||
"abortedIsolation": {
|
||||
"error": "Prior trial did not settle after own-observer disconnect",
|
||||
"evidenceLimitation": "The early abort propagated through CLI before a JSON result was saved. Its failed log is retained locally; do not invent lost counts or count the attempt as passed."
|
||||
},
|
||||
"nativeWindowClose": {
|
||||
"error": "Error: Prior trial did not settle after own-observer disconnect\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:22:31)",
|
||||
"trials": [{"mode":"main-native","pluginsLoaded":[false,false],"beforeClose":1793357207113,"afterClose":1793357208147,"deliveries":[{"at":1793357206915,"sizes":[{"width":121,"height":81,"connected":true,"main":true,"ownerClosed":false}]},{"at":1793357207088,"sizes":[{"width":0,"height":0,"connected":true,"main":false,"ownerClosed":false}]},{"at":1793357207088,"sizes":[{"width":123,"height":81,"connected":true,"main":false,"ownerClosed":false}]}],"afterCloseNotifications":62,"afterDisconnectNotifications":60}],
|
||||
"events": [{"at":1793357207133,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207146,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207163,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207180,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207196,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207213,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207230,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207246,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207263,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207279,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207296,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207313,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207330,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207346,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207363,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207381,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207397,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207414,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207431,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207447,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207464,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207481,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207497,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207514,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207530,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207547,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207563,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207580,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207596,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207613,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207630,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207646,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207663,"mode":"main-native","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357207680,"mode":"mainLine truncated
|
||||
"acceptanceCredit": false,
|
||||
"productionObserversModified": false,
|
||||
"cleanup": {"plugins":[true,true],"popouts":0,"backgroundThrottling":true}
|
||||
},
|
||||
"framelessRefusal": {
|
||||
"error": "Error: Baseline not quiet\n at eval (eval at <anonymous> (eval at <anonymous> (app://obsidian.md/app.js:1:1638663)), <anonymous>:9:43)",
|
||||
"events": [{"at":1793357102690,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102694,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102710,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102727,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102744,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102760,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102777,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102794,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102810,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102827,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102844,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102860,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102877,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102894,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102911,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102928,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102958,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102961,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102977,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357102994,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103011,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103027,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103044,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103062,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103078,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103095,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103111,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103128,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103144,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103164,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357103177,"phase":"baseline","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false}],
|
||||
"deliveries": [],
|
||||
"acceptanceCredit": false
|
||||
},
|
||||
"startupRefusal": {
|
||||
"reason": "CLI vault command was not registered immediately after recovery reload; guard refused before experiment execution. Readiness was checked before the next run."
|
||||
},
|
||||
"framelessDocument": {
|
||||
"during": 0,
|
||||
"afterDisconnect": 0,
|
||||
"events": [],
|
||||
"deliveries": [{"at":1793357150369,"entries":[{"width":121,"height":81,"connected":true,"hasWindow":true}]},{"at":1793357150395,"entries":[{"width":0,"height":0,"connected":true,"hasWindow":false}]}],
|
||||
"pluginsLoadedDuring": [false,false],
|
||||
"acceptanceCredit": false,
|
||||
"hostWorkspaceOrWindowMutation": false
|
||||
},
|
||||
"iframeAdoption": {
|
||||
"during": 61,
|
||||
"afterDisconnect": 0,
|
||||
"pluginsLoadedDuring": [false,false],
|
||||
"events": [{"at":1793357299134,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299138,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299156,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299172,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299189,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299206,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299223,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299239,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299257,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299273,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299289,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299306,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299323,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299339,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299356,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299372,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299389,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299405,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299422,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299439,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299456,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299472,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299489,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299505,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299522,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299539,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299570,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299572,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299589,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299605,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299622,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299639,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357299655,"phase":"remove-frame","message":"ResizeObserver loop completed with undelivered notifications.","Line truncated
|
||||
"deliveries": [{"at":1793357299054,"entries":[{"width":121,"height":81,"connected":true,"main":true,"hasWindow":true}]},{"at":1793357299111,"entries":[{"width":123,"height":81,"connected":true,"main":false,"hasWindow":true}]}],
|
||||
"acceptanceCredit": false,
|
||||
"workspaceOrPopoutAPIsUsed": false,
|
||||
"productionObserversModified": false
|
||||
},
|
||||
"matchedOwnership": {
|
||||
"trials": [{"mode":"none","registeredAfterAdoption":true,"removedAt":1793357372233,"during":0,"afterDisconnect":0,"deliveries":[],"pluginsLoaded":[false,false]},{"mode":"main-constructor","registeredAfterAdoption":true,"removedAt":1793357374351,"during":62,"afterDisconnect":0,"deliveries":[{"at":1793357374288,"sizes":[{"width":121,"height":81,"hasWindow":true}]},{"at":1793357374335,"sizes":[{"width":123,"height":81,"hasWindow":true}]}],"pluginsLoaded":[false,false]},{"mode":"owner-constructor","registeredAfterAdoption":true,"removedAt":1793357376441,"during":0,"afterDisconnect":0,"deliveries":[{"at":1793357376383,"sizes":[{"width":121,"height":81,"hasWindow":true}]},{"at":1793357376409,"sizes":[{"width":123,"height":81,"hasWindow":true}]}],"pluginsLoaded":[false,false]}],
|
||||
"events": [{"at":1793357374358,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374368,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374385,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374413,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374417,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374434,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374451,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374468,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374484,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374501,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374518,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374535,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374551,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374568,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374584,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374601,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374617,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374635,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374652,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374667,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374686,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374711,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374717,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374734,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374751,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374767,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374784,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374801,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374818,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374835,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374852,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasError":false},{"at":1793357374868,"phase":"main-constructor","message":"ResizeObserver loop completed with undelivered notifications.","isTrusted":true,"hasErroLine truncated
|
||||
"acceptanceCredit": false,
|
||||
"workspaceOrPopoutAPIsUsed": false,
|
||||
"productionObserversModified": false
|
||||
},
|
||||
"matchedOwnershipSource": "iframe-ownership-control-source.txt"
|
||||
},
|
||||
"removal": {
|
||||
"interceptionStoppedBeforeExport": true,
|
||||
"rendererOnlyRecovery": {
|
||||
"recovery": "reload only this verified test-vault renderer",
|
||||
"contentsId": 1,
|
||||
"applicationRestart": false,
|
||||
"acceptanceCredit": false
|
||||
},
|
||||
"recoveryAcceptanceCredit": false,
|
||||
"verification": {
|
||||
"tracePresent": false,
|
||||
"constructor": "function ResizeObserver() { [native code] }",
|
||||
"observe": "function observe() { [native code] }",
|
||||
"unobserve": "function unobserve() { [native code] }",
|
||||
"disconnect": "function disconnect() { [native code] }",
|
||||
"tasks": [],
|
||||
"popouts": 0
|
||||
},
|
||||
"finalInspection": {
|
||||
"vault": "<plugin>\\.test-work\\vaults\\excalidraw-auto-test",
|
||||
"config": ".obsidian",
|
||||
"pluginReady": true,
|
||||
"extrasReady": true,
|
||||
"mobile": false,
|
||||
"activeLeaf": "3022000000000003",
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"leftCollapsed": true,
|
||||
"rightCollapsed": true,
|
||||
"popouts": 0,
|
||||
"tasks": [],
|
||||
"printRoots": 0,
|
||||
"protocol": 3
|
||||
},
|
||||
"finalPassive": {
|
||||
"started": 1793357512400,
|
||||
"completed": 1793357514408,
|
||||
"events": [],
|
||||
"activeFile": "Notes/Render target.md",
|
||||
"popouts": 0,
|
||||
"debuggerAttached": false,
|
||||
"pluginReady": true,
|
||||
"extrasReady": true
|
||||
}
|
||||
},
|
||||
"schedulingLimitation": "All small controls temporarily set backgroundThrottling=false, matching existing native tooling, then restore it. A scheduling true/false comparison under verified visible conditions was not performed before the cap. These controls establish the ownership/lifetime mechanism under those conditions, not sole browser/host causation or responsibility for the historical full-suite storm.",
|
||||
"conclusion": "A single main-realm native ResizeObserver watching an element in a removed same-origin iframe produces rapid repeated notifications in the sampled interval with both community plugins unloaded and no workspace/popout calls. No observer and an iframe-realm constructor are quiet; disconnecting the test-owned main observer stops the iframe loop. Last delivered dimensions remain nonzero before removal; no zero-size delivery occurs. The original full workflow passes under tracing, so its exact responsible observer is not identified. No production fix or scheduling workaround is justified yet.",
|
||||
"nextAction": "Use the minimal untraced reproducer for matched normal/unthrottled scheduling controls with actual visible-state verification. Then determine which original observer has that lifecycle and whether a tooling correction or explicitly approved production/host fix is warranted. Do not spend full acceptance repeats until resolved.",
|
||||
"unchanged": {
|
||||
"productionCode": true,
|
||||
"pdfPrinting": true,
|
||||
"diagnosticPolicy": true,
|
||||
"idleThresholds": true,
|
||||
"declaredNativeCases": 357,
|
||||
"requiredFreshFullPasses": 2,
|
||||
"maintainedPortableCases": 666
|
||||
},
|
||||
"productionAudit": {
|
||||
"scope": "PDF timeout/concurrency rollback, plus the maintainer-authorized plain-PDF, local-font and internal Canvas-node focus fixes of 2026-10-29 and their release notes; no other production changes.",
|
||||
"baselines": {
|
||||
"plugin": "afd763e60ce486096bde2954f73bd5988a793660",
|
||||
"fork": "e0cf824c6225d02f48b98c30c5b79d6ab8536c35",
|
||||
"extras": "e37c06feff9fef48877f565328762433a676afcc"
|
||||
},
|
||||
"repositories": {
|
||||
"plugin": {"head":"814526f9194fc4b9bf89046967e59c474aef05ed","productionPathsChanged":["src/shared/Dialogs/Messages.ts","src/shared/EmbeddedFileLoader.ts","src/view/managers/CanvasNodeFactory.ts"],"diff":"diff --git a/src/shared/Dialogs/Messages.ts b/src/shared/Dialogs/Messages.ts\nindex b1d1f844..f7ec2f69 100644\n--- a/src/shared/Dialogs/Messages.ts\n+++ b/src/shared/Dialogs/Messages.ts\n@@ -30,6 +30,9 @@ I build this plugin as a labor of love. Curious about the philosophy behind it?\n - Added opt-in image inventory, bounded image labels/tags, mixed-fidelity SVG/PNG previews and output limits. Originals remain untouched and full fidelity stays the default. [#3004](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_ISSUES}/3004)\n \n ## Fixed\n+- Embedded Markdown previews no longer take editor focus when they load, avoiding a mobile toolbar error. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n+- Importing a PDF file through ExcalidrawAutomate loads page 1 when no page reference is supplied. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n+- Markdown images using Helvetica no longer try to fetch a nonexistent font file. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - Autosave recovers after an unexpected save error instead of remaining busy. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - The private React runtime uses browser scheduling to avoid Node event-loop errors when closing popout windows. [#3022](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_PULL}/3022)\n - Template choices show their folder paths and offer **Blank drawing** first. Escape or dismissal cancels interactive creation without creating a drawing, folder or embed. [#2649](${URLs.GITHUB_COM_ZSVICZIAN_OBSIDIAN_EXCALIDRAW_PLUGIN_ISSUES}/2649)\ndiff --git a/src/shared/EmbeddedFileLoader.ts b/src/shared/EmbeddedFileLoader.ts\nindex e211344e..bdbc1656 100644\n--- a/src/shared/EmbeddedFileLoader.ts\n+++ b/src/shared/EmbeddedFileLoader.ts\n@@ -2197,8 +2197,7 @@ export class EmbeddedFilesLoader {\n }\n \n const scale = requestedScale;\n- const cropRect = linkParts.ref\n- .split(\"rect=\")[1]\n+ const cropRect = linkParts.ref?.split(\"rect=\")[1]\n ?.split(\",\")\n .map((x) => parseInt(x));\n const validRect =\ndiff --git a/src/view/managers/CanvasNodeFactory.ts b/src/view/managers/CanvasNodeFactory.ts\nindex e7833dd7..c106b6c6 100644\n--- a/src/view/managers/CanvasNodeFactory.ts\n+++ b/src/view/managers/CanvasNodeFactory.ts\n@@ -32,6 +32,7 @@ interface ObsidianCanvas {\n file: TFile;\n subpath: string;\n save: boolean;\n+ focus: boolean;\n }) => ObsidianCanvasNode;\n removeNode: (node: ObsidianCanvasNode) => void;\n }\n@@ -148,6 +149,8 @@ export class CanvasNodeFactory {\n file,\n subpath,\n save: false,\n+ // Internal preview creation must not take the workspace's active editor.\n+ focus: false,\n });\n node.setFilePath(file.path, subpath);\n node.render();\n"},
|
||||
"fork": {"head":"053a3b9f9e77917c457fce8ca9453d38b92a303b","productionPathsChanged":["packages/excalidraw/obsidianUtils.ts"],"diff":"diff --git a/packages/excalidraw/obsidianUtils.ts b/packages/excalidraw/obsidianUtils.ts\nindex a4b68e639..b5cfae293 100644\n--- a/packages/excalidraw/obsidianUtils.ts\n+++ b/packages/excalidraw/obsidianUtils.ts\n@@ -186,7 +186,12 @@ export async function registerFontsInCSS() {\n export async function getCSSFontDefinition(\n fontFamily: number,\n ): Promise<string> {\n- const fontFaces = Fonts.registered.get(fontFamily)?.fontFaces;\n+ const registered = Fonts.registered.get(fontFamily);\n+ // zsviczian -- #477: system fonts have no font-file content to embed.\n+ if (registered?.metadata.local) {\n+ return \"\";\n+ }\n+ const fontFaces = registered?.fontFaces;\n if (!fontFaces) {\n return \"\";\n }\n"},
|
||||
"extras": {"head":"1cdcb7c425a9b80afdc7b39c88861143b4b85e58","productionPathsChanged":["src/PDFExport/index.ts"],"diff":"diff --git a/src/PDFExport/index.ts b/src/PDFExport/index.ts\nindex e80943d..57b3a56 100644\n--- a/src/PDFExport/index.ts\n+++ b/src/PDFExport/index.ts\n@@ -4,9 +4,6 @@ import { getPageSize } from './pdfExportUtils';\n \n export const PDF_COMPONENT_VERSION = '1.0.0';\n \n-// Electron completion has no request ID, so one document can own only one print.\n-const printingDocuments = new WeakSet<Document>();\n-\n export function initializePDFExport(): void {\n // Placeholder for future high-privilege IPC and filesystem setup.\n }\n@@ -28,11 +25,6 @@ export async function exportToPDF(\n if (!ownerWindow || !ipc) {\n throw new Error('PDF export requires the desktop Electron host');\n }\n- if (printingDocuments.has(document)) {\n- throw new Error('PDF export is already in progress in this window');\n- }\n- printingDocuments.add(document);\n- try {\n const options: PrintToPDFOptions = {\n includeName: false,\n pageSize: getPageSize(pageSize),\n@@ -134,19 +126,12 @@ export async function exportToPDF(\n \n await new Promise<void>((resolve, reject) => {\n const cleanup = () => {\n- ownerWindow.clearTimeout(timeout);\n ipc.removeListener('print-to-pdf', onComplete);\n };\n const onComplete = () => {\n cleanup();\n resolve();\n };\n- const timeout = ownerWindow.setTimeout(() => {\n- cleanup();\n- reject(\n- new Error('PDF export timed out waiting for Electron completion'),\n- );\n- }, 120000);\n try {\n ipc.once('print-to-pdf', onComplete);\n ipc.send('print-to-pdf', options);\n@@ -161,9 +146,6 @@ export async function exportToPDF(\n (styleSheet) => styleSheet !== printStyleSheet,\n );\n }\n- } finally {\n- printingDocuments.delete(document);\n- }\n }\n \n export function getPDFVersion(): string {\n"}
|
||||
},
|
||||
"status": "passed"
|
||||
},
|
||||
"sampleDurationQualification": "Iframe ownership controls sampled 1000 ms after frame removal, then disconnected the test-owned observer and sampled another 1000 ms. They reproduce rapid repeated notifications; they do not independently assert five seconds of persistence. Historical native storms exceeding the unchanged five-second gate remain retained.",
|
||||
"conformance": {
|
||||
"status": "passed-before-native-run",
|
||||
"verified": [
|
||||
"native callback receiver and argument identity",
|
||||
"native return values",
|
||||
"original thrown-error identity",
|
||||
"invalid constructor input rejection",
|
||||
"constructor/method/listener restoration"
|
||||
],
|
||||
"source": "approved-observer-selfcheck-source.txt"
|
||||
},
|
||||
"instrumentationLimits": [
|
||||
"Constructor proxy identity, stack capture and metadata allocation may perturb timing. The passing traced workflow is not proof of resolution.",
|
||||
"Existing observers seen only through methods lack wrapped callbacks; iframe constructors outside workspace windows were not patched.",
|
||||
"Final WeakRef snapshots do not prove leaks. Missing/collected targets were not counted as cross-realm targets."
|
||||
],
|
||||
"replay": {
|
||||
"guardSource": "guarded-native-probe-source.txt",
|
||||
"controlSource": "iframe-ownership-control-source.txt",
|
||||
"traceLoaderSource": "approved-observer-loader-source.txt",
|
||||
"scope": "Archives are inert documentation and are never imported by production or ordinary acceptance. Any fresh live trace requires new authorization and deadline. The untraced control uses only test-owned observers, temporarily unloads the two community runtimes, and restores them in finally."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import {readFileSync} from 'node:fs';
|
||||
import {runInAppTask} from '../scripts/testing/host/inAppTask.mjs';
|
||||
export async function runPopoutCloseControl({cli,drawingPath}){
|
||||
const fixture=readFileSync('tests/vault/Drawings/Uncompressed.excalidraw.md','utf8');
|
||||
return {id:'diagnostic-popout-close-order',status:'passed',acceptanceCredit:false,...await runInAppTask({cli,execute:exercise,args:[drawingPath,fixture],timeoutMs:180000})};
|
||||
}
|
||||
async function exercise(c,drawingPath,fixture){
|
||||
const doc=document,win=doc.defaultView,p=app.plugins.plugins['obsidian-excalidraw-plugin'],events=[],states=[],owned=new Set(),previous=app.workspace.activeLeaf,prefix=drawingPath.replace(/\.(excalidraw\.md|md)$/,'')+'_close_control';
|
||||
const check=(ok,message)=>{if(!ok)throw Error(message);};
|
||||
const listener=e=>events.push({at:Date.now(),phase:c.activeCase||c.phase,message:e.message,isTrusted:e.isTrusted,hasError:e.error!=null,stack:e.error?.stack});win.addEventListener('error',listener);
|
||||
c.defer(()=>win.removeEventListener('error',listener));
|
||||
c.defer(async()=>{for(const leaf of owned){const owner=leaf.view.containerEl.ownerDocument.defaultView;if(owner&&owner!==win&&!owner.closed){owner.close();await c.waitForCleanup(()=>owner.closed,'owned control popout close');}}if(previous?.containerEl.isConnected)app.workspace.setActiveLeaf(previous,{focus:true});const folder=app.vault.getFolderByPath(prefix);if(folder)await app.vault.delete(folder,true);});
|
||||
check(String(win.ResizeObserver).includes('[native code]'),'Native observer constructor required');await app.vault.createFolder(prefix);
|
||||
await new Promise(r=>win.setTimeout(r,500));check(!events.length,'Prior ordered workflow did not settle; do not contaminate close controls');
|
||||
for(const [index,dirty] of [false,true,false,true,false,true].entries()){
|
||||
await c.case('diagnostic:popout-close-'+index+'-'+(dirty?'dirty':'saved'),['P02','P03'],async()=>{
|
||||
const start=events.length,file=await app.vault.create(prefix+'/Drawing-'+index+'.excalidraw.md',fixture);await c.waitFor(()=>p.isExcalidrawFile(file),'fixture metadata');
|
||||
const leaf=app.workspace.openPopoutLeaf();owned.add(leaf);await c.waitFor(()=>leaf.view.containerEl.ownerDocument!==doc,'empty popout destination');await leaf.openFile(file);await c.waitFor(()=>leaf.view.excalidrawAPI&&leaf.view.isLoaded&&!leaf.view.excalidrawAPI.getAppState().isLoading&&!leaf.view.semaphores.justLoaded,'drawing first commit');
|
||||
const view=leaf.view,owner=view.ownerWindow,api=view.excalidrawAPI,nw=owner.require('@electron/remote').getCurrentWindow();nw.show();nw.focus();app.workspace.setActiveLeaf(leaf,{focus:true});
|
||||
const x=1200+index;api.updateScene({elements:api.getSceneElements().map((e,i)=>i?e:{...e,x,version:e.version+1,versionNonce:e.versionNonce+1}),captureUpdate:'IMMEDIATELY',forceFlushSync:true});await c.waitFor(()=>view.isDirty(),'dirty edit');
|
||||
if(!dirty)check((await view.saveWithOutcome()).status==='persisted','saved control did not persist');
|
||||
const before={at:Date.now(),dirty:view.isDirty(),ownerIsMain:owner===win,api:!!view.excalidrawAPI,root:!!view.excalidrawRoot,visibility:owner.document.visibilityState};
|
||||
owner.close();await c.waitFor(()=>owner.closed,'popout closed');const closed={at:Date.now(),api:!!view.excalidrawAPI,root:!!view.excalidrawRoot};await c.waitFor(()=>!view.excalidrawAPI,'closed editor API retired');
|
||||
await c.waitFor(async()=>{const scene=await p.ea.getSceneFromFile(file);return scene.elements[0].x===x;},'closed drawing physically saved');
|
||||
await new Promise(r=>win.setTimeout(r,5500));const after={at:Date.now(),newEvents:events.length-start,popouts:app.workspace.floatingSplit.children.length,api:!!view.excalidrawAPI};states.push({index,dirty,before,closed,after});owned.delete(leaf);
|
||||
check(events.length===start,'Native close notifications/exceptions: '+JSON.stringify({states,events}));
|
||||
return {dirty,before,closed,after,assertions:['real editor created in popout','scene edit saved on disk','closed API retired','no browser notifications or exceptions for 5.5 seconds']};
|
||||
});
|
||||
}
|
||||
return {tests:c.tests,events,states,acceptanceCredit:false};
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
(async()=>{
|
||||
const delay=500,doc=document,win=doc.defaultView,ids=['obsidian-excalidraw-plugin','excalidraw-extras'],remote=require('@electron/remote'),wc=remote.getCurrentWebContents(),events=[],states=[];let phase='baseline',leaf,pw,error;
|
||||
const sleep=ms=>new Promise(r=>win.setTimeout(r,ms));const wait=async(fn,label)=>{const end=Date.now()+5000;while(!fn()){if(Date.now()>end)throw Error(label);await sleep(25);}};
|
||||
const listener=e=>events.push({at:Date.now(),phase,message:e.message,isTrusted:e.isTrusted,hasError:e.error!=null,stack:e.error?.stack});win.addEventListener('error',listener);
|
||||
try{
|
||||
if(!String(win.ResizeObserver).includes('[native code]'))throw Error('Native observers required');
|
||||
if(app.workspace.floatingSplit.children.length||app.workspace.getLeavesOfType('excalidraw').length)throw Error('Baseline not restored');
|
||||
for(const id of ids)await app.plugins.disablePlugin(id);await sleep(500);if(events.length)throw Error('Baseline not quiet');
|
||||
phase='open';leaf=app.workspace.openPopoutLeaf();await wait(()=>leaf.view.containerEl.ownerDocument!==doc,'Popout destination');pw=leaf.view.containerEl.ownerDocument.defaultView;
|
||||
await wait(()=>pw.require&&pw.require('@electron/remote').getCurrentWindow(),'Native popout ready');const nw=pw.require('@electron/remote').getCurrentWindow();nw.show();nw.focus();await wait(()=>pw.document.visibilityState==='visible','Visible popout');await sleep(500);
|
||||
states.push({at:Date.now(),phase,pluginsLoaded:ids.map(id=>!!app.plugins.plugins[id]),mainBackgroundThrottling:wc.getBackgroundThrottling(),popoutBackgroundThrottling:pw.require('@electron/remote').getCurrentWebContents().getBackgroundThrottling(),tabClasses:leaf.parent.tabsContainerEl.className,tabOwnerIsPopout:leaf.parent.tabsContainerEl.ownerDocument===pw.document});
|
||||
phase='resize';const [width,height]=nw.getSize();nw.setSize(width+47,height+31);await sleep(delay);
|
||||
phase='hide';nw.hide();await wait(()=>pw.document.visibilityState==='hidden','Hidden native popout');states.push({at:Date.now(),phase,visibility:pw.document.visibilityState,nativeVisible:nw.isVisible(),nativeFocused:nw.isFocused()});phase='close';const closedAt=Date.now();pw.close();await wait(()=>pw.closed,'Popout close');await sleep(5500);states.push({phase,closedAt,completed:Date.now(),afterClose:events.filter(e=>e.at>=closedAt).length,popouts:app.workspace.floatingSplit.children.length});
|
||||
}catch(e){error=String(e.stack||e);}finally{if(pw&&!pw.closed){pw.close();await wait(()=>pw.closed,'Cleanup popout');}for(const id of ids)if(!app.plugins.plugins[id])await app.plugins.enablePlugin(id);await wait(()=>app.plugins.plugins[ids[0]]?.isReady&&app.plugins.plugins[ids[1]]?.api,'Restore plugins');win.removeEventListener('error',listener);}
|
||||
return JSON.stringify({delay,error,states,events,acceptanceCredit:false,addedObservers:0,observerInterception:false,productionObserversModified:false,cleanup:{popouts:app.workspace.floatingSplit.children.length,pluginReady:app.plugins.plugins[ids[0]]?.isReady,extrasReady:!!app.plugins.plugins[ids[1]]?.api}});
|
||||
})()
|
||||
@@ -0,0 +1,16 @@
|
||||
(async()=>{
|
||||
const delay=__DELAY__,doc=document,win=doc.defaultView,ids=['obsidian-excalidraw-plugin','excalidraw-extras'],remote=require('@electron/remote'),wc=remote.getCurrentWebContents(),events=[],states=[];let phase='baseline',leaf,pw,error;
|
||||
const sleep=ms=>new Promise(r=>win.setTimeout(r,ms));const wait=async(fn,label)=>{const end=Date.now()+5000;while(!fn()){if(Date.now()>end)throw Error(label);await sleep(25);}};
|
||||
const listener=e=>events.push({at:Date.now(),phase,message:e.message,isTrusted:e.isTrusted,hasError:e.error!=null,stack:e.error?.stack});win.addEventListener('error',listener);
|
||||
try{
|
||||
if(!String(win.ResizeObserver).includes('[native code]'))throw Error('Native observers required');
|
||||
if(app.workspace.floatingSplit.children.length||app.workspace.getLeavesOfType('excalidraw').length)throw Error('Baseline not restored');
|
||||
for(const id of ids)await app.plugins.disablePlugin(id);await sleep(500);if(events.length)throw Error('Baseline not quiet');
|
||||
phase='open';leaf=app.workspace.openPopoutLeaf();await wait(()=>leaf.view.containerEl.ownerDocument!==doc,'Popout destination');pw=leaf.view.containerEl.ownerDocument.defaultView;
|
||||
await wait(()=>pw.require&&pw.require('@electron/remote').getCurrentWindow(),'Native popout ready');const nw=pw.require('@electron/remote').getCurrentWindow();nw.show();nw.focus();await wait(()=>pw.document.visibilityState==='visible','Visible popout');await sleep(500);
|
||||
states.push({at:Date.now(),phase,pluginsLoaded:ids.map(id=>!!app.plugins.plugins[id]),mainBackgroundThrottling:wc.getBackgroundThrottling(),popoutBackgroundThrottling:pw.require('@electron/remote').getCurrentWebContents().getBackgroundThrottling(),tabClasses:leaf.parent.tabsContainerEl.className,tabOwnerIsPopout:leaf.parent.tabsContainerEl.ownerDocument===pw.document});
|
||||
phase='resize';const [width,height]=nw.getSize();nw.setSize(width+47,height+31);await sleep(delay);
|
||||
phase='close';const closedAt=Date.now();pw.close();await wait(()=>pw.closed,'Popout close');await sleep(5500);states.push({phase,closedAt,completed:Date.now(),afterClose:events.filter(e=>e.at>=closedAt).length,popouts:app.workspace.floatingSplit.children.length});
|
||||
}catch(e){error=String(e.stack||e);}finally{if(pw&&!pw.closed){pw.close();await wait(()=>pw.closed,'Cleanup popout');}for(const id of ids)if(!app.plugins.plugins[id])await app.plugins.enablePlugin(id);await wait(()=>app.plugins.plugins[ids[0]]?.isReady&&app.plugins.plugins[ids[1]]?.api,'Restore plugins');win.removeEventListener('error',listener);}
|
||||
return JSON.stringify({delay,error,states,events,acceptanceCredit:false,addedObservers:0,observerInterception:false,productionObserversModified:false,cleanup:{popouts:app.workspace.floatingSplit.children.length,pluginReady:app.plugins.plugins[ids[0]]?.isReady,extrasReady:!!app.plugins.plugins[ids[1]]?.api}});
|
||||
})()
|
||||
@@ -0,0 +1,32 @@
|
||||
import {stabilityFixture} from '../scripts/testing/host/stability.mjs';
|
||||
import {runInAppTask} from '../scripts/testing/host/inAppTask.mjs';
|
||||
export async function runInflightPopoutCloseControl({cli,drawingPath}){
|
||||
const fixture=stabilityFixture(2000);
|
||||
return {id:'diagnostic-inflight-popout-close-order',status:'passed',acceptanceCredit:false,...await runInAppTask({cli,execute:exercise,args:[drawingPath,fixture],timeoutMs:180000})};
|
||||
}
|
||||
async function exercise(c,drawingPath,fixture){
|
||||
const doc=document,win=doc.defaultView,p=app.plugins.plugins['obsidian-excalidraw-plugin'],events=[],states=[],owned=new Set(),previous=app.workspace.activeLeaf,prefix=drawingPath.replace(/\.(excalidraw\.md|md)$/,'')+'_inflight_close_control';
|
||||
let saveHandle;const check=(ok,message)=>{if(!ok)throw Error(message);};
|
||||
const listener=e=>events.push({at:Date.now(),phase:c.activeCase||c.phase,message:e.message,isTrusted:e.isTrusted,hasError:e.error!=null,stack:e.error?.stack});win.addEventListener('error',listener);
|
||||
c.defer(()=>win.removeEventListener('error',listener));
|
||||
c.defer(async()=>{for(const leaf of owned){const owner=leaf.view.containerEl.ownerDocument.defaultView;if(owner&&owner!==win&&!owner.closed){owner.close();await c.waitForCleanup(()=>owner.closed,'owned control popout close');}}if(previous?.containerEl.isConnected)app.workspace.setActiveLeaf(previous,{focus:true});if(saveHandle&&!saveHandle.settled)await c.waitForCleanup(()=>saveHandle.settled,'pending real save before fixture removal');const folder=app.vault.getFolderByPath(prefix);if(folder)await app.vault.delete(folder,true);});
|
||||
check(String(win.ResizeObserver).includes('[native code]'),'Native observer constructor required');await app.vault.createFolder(prefix);
|
||||
await new Promise(r=>win.setTimeout(r,500));check(!events.length,'Prior ordered workflow did not settle; do not contaminate close controls');
|
||||
for(const [index,dirty] of [false,true].entries()){
|
||||
await c.case('diagnostic:inflight-popout-close-'+index+'-'+(dirty?'dirty':'saved'),['P02','P03'],async()=>{
|
||||
const start=events.length,file=await app.vault.create(prefix+'/Drawing-'+index+'.excalidraw.md',fixture);await c.waitFor(()=>p.isExcalidrawFile(file),'fixture metadata');
|
||||
const leaf=app.workspace.openPopoutLeaf();owned.add(leaf);await c.waitFor(()=>leaf.view.containerEl.ownerDocument!==doc,'empty popout destination');await leaf.openFile(file);await c.waitFor(()=>leaf.view.excalidrawAPI&&leaf.view.isLoaded&&!leaf.view.excalidrawAPI.getAppState().isLoading&&!leaf.view.semaphores.justLoaded,'drawing first commit');
|
||||
const view=leaf.view,owner=view.ownerWindow,api=view.excalidrawAPI,nw=owner.require('@electron/remote').getCurrentWindow();nw.show();nw.focus();app.workspace.setActiveLeaf(leaf,{focus:true});
|
||||
const x=1200+index;api.updateScene({elements:api.getSceneElements().map((e,i)=>i?e:{...e,x,version:e.version+1,versionNonce:e.versionNonce+1}),captureUpdate:'IMMEDIATELY',forceFlushSync:true});await c.waitFor(()=>view.isDirty(),'dirty edit');
|
||||
if(!dirty)check((await view.saveWithOutcome()).status==='persisted','saved control did not persist');
|
||||
if(dirty){saveHandle={settled:false};Promise.resolve(view.saveWithOutcome()).then(outcome=>{saveHandle.outcome=outcome;saveHandle.settled=true;},error=>{saveHandle.error=String(error.stack||error);saveHandle.settled=true;});}
|
||||
const before={at:Date.now(),dirty:view.isDirty(),busy:view.isPersistenceBusy(),pendingSave:saveHandle?{settled:saveHandle.settled}:null,toolsObserverIsMain:view.toolsPanelRef?.current?.props?.observer?.deref()?Object.getPrototypeOf(view.toolsPanelRef.current.props.observer.deref())===win.ResizeObserver.prototype:null,ownerIsMain:owner===win,api:!!view.excalidrawAPI,root:!!view.excalidrawRoot,visibility:owner.document.visibilityState};
|
||||
owner.close();await c.waitFor(()=>owner.closed,'popout closed');const closed={at:Date.now(),api:!!view.excalidrawAPI,root:!!view.excalidrawRoot};await c.waitFor(()=>!view.excalidrawAPI,'closed editor API retired');
|
||||
if(dirty){await c.waitFor(()=>saveHandle.settled,'pending real save completes');check(!saveHandle.error,'Pending real save rejected: '+saveHandle.error);states.push({phase:'save-outcome',outcome:saveHandle.outcome?.status});}await c.waitFor(async()=>{const scene=await p.ea.getSceneFromFile(file);return scene.elements[0].x===x;},'closed drawing physically saved');
|
||||
await new Promise(r=>win.setTimeout(r,5500));const after={at:Date.now(),newEvents:events.length-start,popouts:app.workspace.floatingSplit.children.length,api:!!view.excalidrawAPI};states.push({index,dirty,before,closed,after});owned.delete(leaf);
|
||||
check(events.length===start,'Native close notifications/exceptions: '+JSON.stringify({states,events}));
|
||||
return {dirty,before,closed,after,assertions:['real editor created in popout','scene edit saved on disk','closed API retired','no browser notifications or exceptions for 5.5 seconds']};
|
||||
});
|
||||
}
|
||||
return {tests:c.tests,events,states,acceptanceCredit:false};
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import {stabilityFixture} from '../scripts/testing/host/stability.mjs';
|
||||
import {runInAppTask} from '../scripts/testing/host/inAppTask.mjs';
|
||||
export async function runLargePopoutCloseControl({cli,drawingPath}){
|
||||
const fixture=stabilityFixture(2000);
|
||||
return {id:'diagnostic-large-popout-close-order',status:'passed',acceptanceCredit:false,...await runInAppTask({cli,execute:exercise,args:[drawingPath,fixture],timeoutMs:180000})};
|
||||
}
|
||||
async function exercise(c,drawingPath,fixture){
|
||||
const doc=document,win=doc.defaultView,p=app.plugins.plugins['obsidian-excalidraw-plugin'],events=[],states=[],owned=new Set(),previous=app.workspace.activeLeaf,prefix=drawingPath.replace(/\.(excalidraw\.md|md)$/,'')+'_large_close_control';
|
||||
const check=(ok,message)=>{if(!ok)throw Error(message);};
|
||||
const listener=e=>events.push({at:Date.now(),phase:c.activeCase||c.phase,message:e.message,isTrusted:e.isTrusted,hasError:e.error!=null,stack:e.error?.stack});win.addEventListener('error',listener);
|
||||
c.defer(()=>win.removeEventListener('error',listener));
|
||||
c.defer(async()=>{for(const leaf of owned){const owner=leaf.view.containerEl.ownerDocument.defaultView;if(owner&&owner!==win&&!owner.closed){owner.close();await c.waitForCleanup(()=>owner.closed,'owned control popout close');}}if(previous?.containerEl.isConnected)app.workspace.setActiveLeaf(previous,{focus:true});const folder=app.vault.getFolderByPath(prefix);if(folder)await app.vault.delete(folder,true);});
|
||||
check(String(win.ResizeObserver).includes('[native code]'),'Native observer constructor required');await app.vault.createFolder(prefix);
|
||||
await new Promise(r=>win.setTimeout(r,500));check(!events.length,'Prior ordered workflow did not settle; do not contaminate close controls');
|
||||
for(const [index,dirty] of [false,true].entries()){
|
||||
await c.case('diagnostic:large-popout-close-'+index+'-'+(dirty?'dirty':'saved'),['P02','P03'],async()=>{
|
||||
const start=events.length,file=await app.vault.create(prefix+'/Drawing-'+index+'.excalidraw.md',fixture);await c.waitFor(()=>p.isExcalidrawFile(file),'fixture metadata');
|
||||
const leaf=app.workspace.openPopoutLeaf();owned.add(leaf);await c.waitFor(()=>leaf.view.containerEl.ownerDocument!==doc,'empty popout destination');await leaf.openFile(file);await c.waitFor(()=>leaf.view.excalidrawAPI&&leaf.view.isLoaded&&!leaf.view.excalidrawAPI.getAppState().isLoading&&!leaf.view.semaphores.justLoaded,'drawing first commit');
|
||||
const view=leaf.view,owner=view.ownerWindow,api=view.excalidrawAPI,nw=owner.require('@electron/remote').getCurrentWindow();nw.show();nw.focus();app.workspace.setActiveLeaf(leaf,{focus:true});
|
||||
const x=1200+index;api.updateScene({elements:api.getSceneElements().map((e,i)=>i?e:{...e,x,version:e.version+1,versionNonce:e.versionNonce+1}),captureUpdate:'IMMEDIATELY',forceFlushSync:true});await c.waitFor(()=>view.isDirty(),'dirty edit');
|
||||
if(!dirty)check((await view.saveWithOutcome()).status==='persisted','saved control did not persist');
|
||||
const before={at:Date.now(),dirty:view.isDirty(),ownerIsMain:owner===win,api:!!view.excalidrawAPI,root:!!view.excalidrawRoot,visibility:owner.document.visibilityState};
|
||||
owner.close();await c.waitFor(()=>owner.closed,'popout closed');const closed={at:Date.now(),api:!!view.excalidrawAPI,root:!!view.excalidrawRoot};await c.waitFor(()=>!view.excalidrawAPI,'closed editor API retired');
|
||||
await c.waitFor(async()=>{const scene=await p.ea.getSceneFromFile(file);return scene.elements[0].x===x;},'closed drawing physically saved');
|
||||
await new Promise(r=>win.setTimeout(r,5500));const after={at:Date.now(),newEvents:events.length-start,popouts:app.workspace.floatingSplit.children.length,api:!!view.excalidrawAPI};states.push({index,dirty,before,closed,after});owned.delete(leaf);
|
||||
check(events.length===start,'Native close notifications/exceptions: '+JSON.stringify({states,events}));
|
||||
return {dirty,before,closed,after,assertions:['real editor created in popout','scene edit saved on disk','closed API retired','no browser notifications or exceptions for 5.5 seconds']};
|
||||
});
|
||||
}
|
||||
return {tests:c.tests,events,states,acceptanceCredit:false};
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import {registerHooks} from 'node:module';
|
||||
registerHooks({load(url,context,next){const result=next(url,context);if(!url.endsWith('/scripts/testing/host/lifecycle.mjs'))return result;let source=String(result.source);const anchor='const popWindow = popout.view.ownerWindow;';if(source.split(anchor).length!==2)throw Error('Passive close-state anchor drift');source=source.replace(anchor,anchor+`
|
||||
const native=popWindow.require('@electron/remote').getCurrentWindow(),nativeContents=native.webContents;
|
||||
const closeState={at:Date.now(),main:{visible:doc.visibilityState,focused:doc.hasFocus()},popout:{visibility:popWindow.document.visibilityState,focused:popWindow.document.hasFocus(),readyState:popWindow.document.readyState,nativeVisible:native.isVisible(),nativeFocused:native.isFocused(),minimized:native.isMinimized(),backgroundThrottling:nativeContents.getBackgroundThrottling(),paints:popWindow.performance.getEntriesByType('paint').map(e=>({name:e.name,startTime:e.startTime})),dirty:popout.view.isDirty(),api:!!popout.view.excalidrawAPI,root:!!popout.view.excalidrawRoot}};
|
||||
(c.observations||=[]).push({phase:'before:fresh-popout-close',...closeState});`);
|
||||
const final='return { tests: c.tests };';if(source.split(final).length!==2)throw Error('Passive return anchor drift');source=source.replace(final,'return { tests: c.tests, observations:c.observations };');return {...result,source};}});
|
||||
@@ -0,0 +1,23 @@
|
||||
(async()=>{
|
||||
const throttled=__THROTTLED__,doc=document,win=doc.defaultView,remote=require('@electron/remote'),wc=remote.getCurrentWebContents(),nativeWindow=remote.getCurrentWindow(),originalBg=wc.getBackgroundThrottling(),ids=['obsidian-excalidraw-plugin','excalidraw-extras'],events=[],trials=[],visibility=[];let phase='baseline',observer,iframe,target,error;
|
||||
const snapshot=label=>({label,at:Date.now(),visibility:doc.visibilityState,focused:doc.hasFocus(),windowVisible:nativeWindow.isVisible(),windowFocused:nativeWindow.isFocused(),minimized:nativeWindow.isMinimized(),backgroundThrottling:wc.getBackgroundThrottling()});
|
||||
const listener=e=>events.push({at:Date.now(),phase,message:e.message,isTrusted:e.isTrusted,hasError:e.error!=null,stack:e.error?.stack});
|
||||
const visibilityListener=()=>visibility.push(snapshot('visibilitychange'));win.addEventListener('error',listener);doc.addEventListener('visibilitychange',visibilityListener);
|
||||
const sleep=ms=>new Promise(r=>win.setTimeout(r,ms));const wait=async(fn,label)=>{const until=Date.now()+3000;while(!fn()){if(Date.now()>until)throw Error(label);await sleep(25);}};
|
||||
try{
|
||||
if(globalThis.__pr3022ResizeTrace||!String(win.ResizeObserver).includes('[native code]')||!String(win.ResizeObserver.prototype.observe).includes('[native code]'))throw Error('Observer interception remains');
|
||||
if(app.workspace.floatingSplit.children.length||app.workspace.getLeavesOfType('excalidraw').length)throw Error('Baseline contains drawing/popout');
|
||||
nativeWindow.show();nativeWindow.focus();wc.focus();wc.setBackgroundThrottling(throttled);await wait(()=>doc.visibilityState==='visible'&&doc.hasFocus()&&!nativeWindow.isMinimized(),'Visible foreground required');
|
||||
visibility.push(snapshot('before-disable'));for(const id of ids)await app.plugins.disablePlugin(id);await sleep(500);if(events.length)throw Error('Baseline not quiet');
|
||||
for(const mode of ['none','main-constructor','owner-constructor']){
|
||||
phase=mode;const start=events.length,deliveries=[],before=snapshot('before:'+mode);
|
||||
if(before.visibility!=='visible'||!before.focused)throw Error('Foreground lost before trial');
|
||||
target=createFragment().createDiv();target.setCssStyles({width:'121px',height:'81px'});iframe=createFragment().createEl('iframe');iframe.setCssStyles({position:'fixed',left:'1px',top:'1px',width:'200px',height:'200px'});doc.body.appendChild(iframe);await wait(()=>iframe.contentDocument?.body,'Frame body');const owner=iframe.contentWindow;iframe.contentDocument.body.appendChild(target);
|
||||
if(mode!=='none'){const Ctor=mode==='main-constructor'?win.ResizeObserver:owner.ResizeObserver;observer=new Ctor(entries=>deliveries.push({at:Date.now(),sizes:entries.map(e=>({width:e.contentRect.width,height:e.contentRect.height,hasWindow:!!e.target.ownerDocument.defaultView}))}));observer.observe(target);await wait(()=>deliveries.length,'Initial delivery');target.setCssStyles({width:'123px'});await wait(()=>deliveries.some(d=>d.sizes.some(e=>e.width===123)),'Final live delivery');}
|
||||
const removedAt=Date.now();iframe.remove();await sleep(1000);const sampledAt=Date.now(),during=events.length-start;phase=mode+':after-disconnect';observer?.disconnect();observer=null;await sleep(1000);const endedAt=Date.now(),afterDisconnect=events.length-start-during,after=snapshot('after:'+mode);
|
||||
trials.push({mode,registeredAfterAdoption:true,removedAt,sampledAt,endedAt,during,afterDisconnect,before,after,deliveries,pluginsLoaded:ids.map(id=>!!app.plugins.plugins[id])});target.remove();target=null;iframe=null;
|
||||
if(afterDisconnect>1)throw Error('Control did not settle');if(after.visibility!=='visible'||!after.focused)throw Error('Foreground lost during trial');
|
||||
}
|
||||
}catch(e){error=String(e.stack||e);}finally{observer?.disconnect();target?.remove();iframe?.remove();for(const id of ids)if(!app.plugins.plugins[id])await app.plugins.enablePlugin(id);await wait(()=>app.plugins.plugins[ids[0]]?.isReady&&app.plugins.plugins[ids[1]]?.api,'Restore plugins');wc.setBackgroundThrottling(originalBg);win.removeEventListener('error',listener);doc.removeEventListener('visibilitychange',visibilityListener);visibility.push(snapshot('restored'));}
|
||||
return JSON.stringify({started:visibility[0]?.at,completed:Date.now(),error,throttled,originalBg,trials,events,visibility,acceptanceCredit:false,workspaceOrPopoutAPIsUsed:false,productionObserversModified:false,nativeObserver:String(win.ResizeObserver)});
|
||||
})()
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,599 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"checkpoint": "b5f97ceaf44fff67c4ff44888059593a1ce9ffd3",
|
||||
"source": {
|
||||
"pluginRevision": "b5f97ceaf44fff67c4ff44888059593a1ce9ffd3",
|
||||
"pluginDirty": false,
|
||||
"forkRevision": "ddd461189de7810f319832430467207c34f257ad",
|
||||
"forkDirty": false,
|
||||
"buildMode": "workspace-frozen",
|
||||
"requestedProfile": "focused",
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"producers": {
|
||||
"fork": {
|
||||
"commit": "ddd461189de7810f319832430467207c34f257ad",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "5ff2005c676da0a7250e859ce363fc40c832a64104732e21d40e827b02632d18"
|
||||
},
|
||||
"extras": {
|
||||
"commit": "4bd7af3325a8059a5ca68fc3e88169507b08c773",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "e6419e0a6e01e7292c905ccd51efc54223eff4f80e8d1d9229ce94194eb282f9"
|
||||
},
|
||||
"plugin": {
|
||||
"commit": "b5f97ceaf44fff67c4ff44888059593a1ce9ffd3",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "741c0318ef12f5b1661e3d86b9044949aab9f2132db6d23d2b119a3b4740d2b1"
|
||||
}
|
||||
},
|
||||
"artifactHashes": {
|
||||
"main.js": "9d28c331bf96ddd1449336ca36d7799367cf7a00767495a456db596f761ecb03",
|
||||
"manifest.json": "8e82828fd9125615e8a361d0f15553e548cac2ee7a303e55387378a53b925fd9",
|
||||
"styles.css": "c66306b0fd8f29348b58e50339b2ae614c82524c043c3241dc39e12ee287665e"
|
||||
},
|
||||
"mainBytes": 5147278,
|
||||
"sourceChecks": {
|
||||
"focused": 55,
|
||||
"fast": 797,
|
||||
"build": "passed",
|
||||
"focusedLint": "passed",
|
||||
"existingExportUtilityFindings": 2
|
||||
},
|
||||
"native": {
|
||||
"scope": "Focused embed/recovery with one emulated phone layout; physical Android not tested",
|
||||
"status": "passed",
|
||||
"cleanup": "passed",
|
||||
"cases": [
|
||||
{
|
||||
"testId": "plugin-load",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"commands registered",
|
||||
"drawing/font/export runtime available",
|
||||
"host protocol 4"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "drawing-main-window",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"Excalidraw API ready",
|
||||
"wrapper mounted",
|
||||
"owner document matches",
|
||||
"main application document"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "markdown-embed-recovery-2953",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"SVGIMG: native Markdown PDF preparation completes with three frames and a native PNG, without recursive drawing transclusion",
|
||||
"PNG: native Markdown PDF preparation completes with three frames and a native PNG, without recursive drawing transclusion",
|
||||
"SVG: native Markdown PDF preparation completes with three frames and a native PNG, without recursive drawing transclusion",
|
||||
"SVGIMG: detached Live Preview context completes and reattaches",
|
||||
"SVGIMG: width attribute refresh preserves all three embeds",
|
||||
"SVGIMG: Reading mode after Live Preview",
|
||||
"SVGIMG: warm Live Preview reopen",
|
||||
"PNG: detached Live Preview context completes and reattaches",
|
||||
"PNG: width attribute refresh preserves all three embeds",
|
||||
"PNG: Reading mode after Live Preview",
|
||||
"PNG: warm Live Preview reopen",
|
||||
"SVG: detached Live Preview context completes and reattaches",
|
||||
"SVG: width attribute refresh preserves all three embeds",
|
||||
"SVG: Reading mode after Live Preview",
|
||||
"SVG: warm Live Preview reopen",
|
||||
"permanent context unload rejects insertion into the retired embed containers",
|
||||
"popout: detached context, reattachment and width refresh in the owning document",
|
||||
"SVGIMG: popout Markdown PDF preparation preserves drawing frames and the native PNG",
|
||||
"PNG: popout Markdown PDF preparation preserves drawing frames and the native PNG",
|
||||
"SVG: popout Markdown PDF preparation preserves drawing frames and the native PNG",
|
||||
"hybrid source, nested=false: self-image, drawing and native PNG visible in popout",
|
||||
"hybrid source, nested=true: self-image, drawing and native PNG visible in popout",
|
||||
"hybrid preview, nested=false: self-image, drawing and native PNG visible in popout",
|
||||
"hybrid preview, nested=true: self-image, drawing and native PNG visible in popout"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:main:PNG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"fullscreen PNG initially keeps exact encoded pixels and dimensions with an independent URL",
|
||||
"decoded 3x upgrade preserves zoom and pan",
|
||||
"close cancels pending upgrade without late image insertion",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
],
|
||||
"pngReuse": {
|
||||
"inlineWidth": 248,
|
||||
"inlineHeight": 180,
|
||||
"encodedBytes": 6316,
|
||||
"independentURL": true,
|
||||
"elapsedMs": 999.6999999880791,
|
||||
"detailWidth": 744,
|
||||
"detailHeight": 542,
|
||||
"zoomPanPreserved": true,
|
||||
"cancelledPendingUpgrade": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:main:SVGIMG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:main:SVG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-ownership:main",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"same-line repeated embeds target only their own token",
|
||||
"inline/fenced examples have no controls",
|
||||
"independent note and pane stay unchanged",
|
||||
"one-step undo",
|
||||
"refresh remounts controls exactly once",
|
||||
"switching source unloads controls and fullscreen",
|
||||
"drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-table:main",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"native table widget public boundaries and physical cell ownership",
|
||||
"escaped wiki and Markdown-image dimensions render",
|
||||
"only second identical row changes",
|
||||
"same-note split synchronization",
|
||||
"left/right pointer previews retain measured size and aspect ratio",
|
||||
"one-step undo/reset",
|
||||
"exact Markdown syntax selection",
|
||||
"aliases/styles/title and other cells preserved",
|
||||
"drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-hybrid:main",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"drawing opened as Markdown owns self and other drawing embeds",
|
||||
"short self-link identity",
|
||||
"exact resize/reset and single undo",
|
||||
"physical save preserves serialized drawing data",
|
||||
"exact source selection",
|
||||
"Live Preview and Reading fullscreen",
|
||||
"Reading controls do not edit source",
|
||||
"other drawing unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:split:PNG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"fullscreen PNG initially keeps exact encoded pixels and dimensions with an independent URL",
|
||||
"decoded 3x upgrade preserves zoom and pan",
|
||||
"close cancels pending upgrade without late image insertion",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
],
|
||||
"pngReuse": {
|
||||
"inlineWidth": 248,
|
||||
"inlineHeight": 180,
|
||||
"encodedBytes": 6316,
|
||||
"independentURL": true,
|
||||
"elapsedMs": 1042.8999999761581,
|
||||
"detailWidth": 744,
|
||||
"detailHeight": 542,
|
||||
"zoomPanPreserved": true,
|
||||
"cancelledPendingUpgrade": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:split:SVGIMG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:split:SVG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-ownership:split",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"same-line repeated embeds target only their own token",
|
||||
"inline/fenced examples have no controls",
|
||||
"independent note and pane stay unchanged",
|
||||
"one-step undo",
|
||||
"refresh remounts controls exactly once",
|
||||
"switching source unloads controls and fullscreen",
|
||||
"drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-table:split",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"native table widget public boundaries and physical cell ownership",
|
||||
"escaped wiki and Markdown-image dimensions render",
|
||||
"only second identical row changes",
|
||||
"same-note split synchronization",
|
||||
"left/right pointer previews retain measured size and aspect ratio",
|
||||
"one-step undo/reset",
|
||||
"exact Markdown syntax selection",
|
||||
"aliases/styles/title and other cells preserved",
|
||||
"drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-hybrid:split",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"drawing opened as Markdown owns self and other drawing embeds",
|
||||
"short self-link identity",
|
||||
"exact resize/reset and single undo",
|
||||
"physical save preserves serialized drawing data",
|
||||
"exact source selection",
|
||||
"Live Preview and Reading fullscreen",
|
||||
"Reading controls do not edit source",
|
||||
"other drawing unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:popout:PNG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"fullscreen PNG initially keeps exact encoded pixels and dimensions with an independent URL",
|
||||
"decoded 3x upgrade preserves zoom and pan",
|
||||
"close cancels pending upgrade without late image insertion",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
],
|
||||
"pngReuse": {
|
||||
"inlineWidth": 248,
|
||||
"inlineHeight": 180,
|
||||
"encodedBytes": 6316,
|
||||
"independentURL": true,
|
||||
"elapsedMs": 1179.800000011921,
|
||||
"detailWidth": 744,
|
||||
"detailHeight": 542,
|
||||
"zoomPanPreserved": true,
|
||||
"cancelledPendingUpgrade": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:popout:SVGIMG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:popout:SVG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-ownership:popout",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"same-line repeated embeds target only their own token",
|
||||
"inline/fenced examples have no controls",
|
||||
"independent note and pane stay unchanged",
|
||||
"one-step undo",
|
||||
"refresh remounts controls exactly once",
|
||||
"switching source unloads controls and fullscreen",
|
||||
"drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-table:popout",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"native table widget public boundaries and physical cell ownership",
|
||||
"escaped wiki and Markdown-image dimensions render",
|
||||
"only second identical row changes",
|
||||
"same-note split synchronization",
|
||||
"left/right pointer previews retain measured size and aspect ratio",
|
||||
"one-step undo/reset",
|
||||
"exact Markdown syntax selection",
|
||||
"aliases/styles/title and other cells preserved",
|
||||
"drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-hybrid:popout",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"drawing opened as Markdown owns self and other drawing embeds",
|
||||
"short self-link identity",
|
||||
"exact resize/reset and single undo",
|
||||
"physical save preserves serialized drawing data",
|
||||
"exact source selection",
|
||||
"Live Preview and Reading fullscreen",
|
||||
"Reading controls do not edit source",
|
||||
"other drawing unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "javascript-errors",
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"testId": "source-stability",
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:phone:PNG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"fullscreen PNG initially keeps exact encoded pixels and dimensions with an independent URL",
|
||||
"decoded 3x upgrade preserves zoom and pan",
|
||||
"close cancels pending upgrade without late image insertion",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
],
|
||||
"pngReuse": {
|
||||
"inlineWidth": 248,
|
||||
"inlineHeight": 180,
|
||||
"encodedBytes": 6316,
|
||||
"independentURL": true,
|
||||
"elapsedMs": 851.7999999523163,
|
||||
"detailWidth": 744,
|
||||
"detailHeight": 542,
|
||||
"zoomPanPreserved": true,
|
||||
"cancelledPendingUpgrade": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:phone:SVGIMG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-controls:phone:SVG",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted proportional resize previews without source writes",
|
||||
"only second identical token changed",
|
||||
"one-step undo/redo and reset",
|
||||
"Escape cancellation",
|
||||
"exact Markdown-image syntax selection and roundtrip",
|
||||
"independently owned fullscreen zoom/pan/fit/Escape/focus",
|
||||
"inline payload survives modal cleanup",
|
||||
"Reading controls cannot write",
|
||||
"ordinary image unchanged",
|
||||
"Open drawing and drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-ownership:phone",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"same-line repeated embeds target only their own token",
|
||||
"inline/fenced examples have no controls",
|
||||
"independent note and pane stay unchanged",
|
||||
"one-step undo",
|
||||
"refresh remounts controls exactly once",
|
||||
"switching source unloads controls and fullscreen",
|
||||
"drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-table:phone",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"native table widget public boundaries and physical cell ownership",
|
||||
"escaped wiki and Markdown-image dimensions render",
|
||||
"only second identical row changes",
|
||||
"same-note split synchronization",
|
||||
"left/right pointer previews retain measured size and aspect ratio",
|
||||
"one-step undo/reset",
|
||||
"exact Markdown syntax selection",
|
||||
"aliases/styles/title and other cells preserved",
|
||||
"drawing bytes unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:embed-hybrid:phone",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"drawing opened as Markdown owns self and other drawing embeds",
|
||||
"short self-link identity",
|
||||
"exact resize/reset and single undo",
|
||||
"physical save preserves serialized drawing data",
|
||||
"exact source selection",
|
||||
"Live Preview and Reading fullscreen",
|
||||
"Reading controls do not edit source",
|
||||
"other drawing unchanged"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:device:phone-portrait-light",
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"actual Obsidian mobile/desktop mode",
|
||||
"measured editor classification",
|
||||
"actual host and drawing theme",
|
||||
"visible uncovered tool",
|
||||
"trusted pointer selects and draws",
|
||||
"device edit saves to disk",
|
||||
"applicable Zen footer controls do not overlap and accept trusted input",
|
||||
"code format options and remember toggle fit and accept trusted input",
|
||||
"chosen code image preserves editable source and saves"
|
||||
]
|
||||
}
|
||||
],
|
||||
"baselineRestoration": {
|
||||
"restored": true,
|
||||
"pluginEnabled": true,
|
||||
"extrasEnabled": true,
|
||||
"kplexEnabled": false,
|
||||
"theme": "moonstone",
|
||||
"restoredFixturePaths": []
|
||||
},
|
||||
"deviceRestoration": {
|
||||
"restored": true
|
||||
},
|
||||
"unexpectedConsoleErrors": 0
|
||||
},
|
||||
"hosted": [
|
||||
{
|
||||
"name": "Plugin tests",
|
||||
"status": "success",
|
||||
"url": "https://github.com/zsviczian/obsidian-excalidraw-plugin/actions/runs/43708519373"
|
||||
},
|
||||
{
|
||||
"name": "CodeQL",
|
||||
"status": "success",
|
||||
"url": "https://github.com/zsviczian/obsidian-excalidraw-plugin/actions/runs/43708519308"
|
||||
}
|
||||
],
|
||||
"priorRuns": [
|
||||
{
|
||||
"directory": "pr3052-native-png-fullscreen",
|
||||
"finding": "Prepared test vault was closed; opened its existing registration and verified readiness."
|
||||
},
|
||||
{
|
||||
"directory": "pr3052-native-progressive-png",
|
||||
"finding": "Test read dimensions after image disposal; captured dimensions before replacement."
|
||||
},
|
||||
{
|
||||
"directory": "pr3052-native-progressive-png-final",
|
||||
"finding": "Existing fixed +40px resize check failed at a 629px desktop viewport; reran at 1536x960 and restored bounds. No production resize change or narrow-pane fix claimed."
|
||||
},
|
||||
{
|
||||
"directory": "pr3052-native-progressive-png-wide",
|
||||
"finding": "Blanket read gate prevented first-image preparation; narrowed it to a populated viewer. Subsequent diagnostics identified the adopted-image slow fallback."
|
||||
},
|
||||
{
|
||||
"directory": "pr3052-native-progressive-png-verified",
|
||||
"finding": "Initial popout PNG assertion failed; retained report and added stable snapshots/diagnostics."
|
||||
},
|
||||
{
|
||||
"directory": "pr3052-native-progressive-png-acceptance",
|
||||
"finding": "248x180 inline PNG stayed valid while first popout preview was already 744x542. Confirmed production owning-window instanceof check misses adopted images; fixed via PNG ownership record."
|
||||
}
|
||||
],
|
||||
"deployment": {
|
||||
"target": "Zsolts Brain",
|
||||
"status": "passed",
|
||||
"settingsBytesUnchanged": true,
|
||||
"enabledConfigurationPreserved": true,
|
||||
"pluginReloadVerified": true
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,290 @@
|
||||
# Drawing embed controls (#3036 / PR #3037)
|
||||
|
||||
Implementation branch: `2026-11-06-issue-3036-embed-controls`, based on
|
||||
`375b460c0b2baf01a65e818a8c9b485e92615ebd`.
|
||||
|
||||
## Behavior and ownership
|
||||
|
||||
Direct Live Preview drawing embeds get proportional corner resizing, reset,
|
||||
selection of their exact embed syntax, fullscreen viewing and Open drawing.
|
||||
Normal Reading mode gets fullscreen viewing and Open drawing only. Print/PDF,
|
||||
hover previews, Canvas and nested Markdown contexts get no toolbar. A drawing
|
||||
opened in its Markdown view supports direct self-embeds and other drawing embeds;
|
||||
its generated metadata preview has no source-bound controls.
|
||||
An ambiguous or retired source binding never writes.
|
||||
|
||||
The editor bridge uses public `editorInfoField`, `editorLivePreviewField` and
|
||||
CodeMirror DOM/source boundaries. It checks the complete source token, owning
|
||||
file/editor and canonical drawing/reference. It does not depend on native private
|
||||
widget fields, the active note, a global occurrence index or whole-file replacement.
|
||||
Bindings map through prefix edits and retire on edits inside their token. Native
|
||||
table widgets use their public source boundary and the physical table cell;
|
||||
rectangular shape, delimiter row, complete token and row/column identity must
|
||||
agree before a write. Escaped table aliases also retain their displayed size.
|
||||
|
||||
Movement changes CSS only. A completed resize uses one isolated editor history
|
||||
transaction. Unchanged or cancelled gestures preserve the original source bytes.
|
||||
Changed percentage sizing becomes pixels. Explicit height or width/height sizing
|
||||
becomes a pixel box preserving the displayed aspect ratio; width-only sizing
|
||||
remains width-only. Reset removes just the dimension field. Paths, references,
|
||||
titles, aliases, style suffixes, whitespace and escaped table separators remain
|
||||
unchanged. Existing wrapper layout remains responsible for alignment and percentage
|
||||
sizing. Controls follow the visible image bounds.
|
||||
|
||||
Cancellation restores control placement immediately; scrolling and viewport
|
||||
changes and image decoding remeasure it through an owned ResizeObserver. Hover
|
||||
toolbars sit inside the image because native widgets use paint containment.
|
||||
Small images and always-visible touch toolbars use normal flow below the image.
|
||||
A full-width no-op keeps percentage syntax
|
||||
instead of shrinking solely to create space for the handle.
|
||||
|
||||
Fullscreen uses the existing exporter with the same drawing/reference and theme,
|
||||
but bypasses the shared image cache. It owns and releases that fresh image. SVG
|
||||
links are inactive in the viewer. Closing a source owner closes its viewers and
|
||||
cancels gestures; late exports are discarded. Open drawing and the existing
|
||||
double-click/long-press gestures share the same navigation helper, including mask
|
||||
prompts and modifier/reference behavior.
|
||||
|
||||
Reading-mode controls have one plugin-owned registry in addition to their render
|
||||
context lifetime. Context cleanup removes each owner from the registry, and
|
||||
plugin unload closes any remaining controls/viewers. Hidden Live Preview controls
|
||||
retire when switching to Reading mode. A Reading export completing
|
||||
after plugin unload is discarded before touching the document.
|
||||
|
||||
No dependency, release version, fork or Extras change is required. The unmerged
|
||||
area-padding PR #2868 is not a dependency.
|
||||
|
||||
## Native API spike
|
||||
|
||||
On Windows / Obsidian 1.14.5, the existing renderer left no working native image
|
||||
edit/resize controls in the Markdown editor. Two identical wiki embeds and a
|
||||
Markdown image embed had distinct public `posAtDOM` starts and parent boundaries.
|
||||
The boundary included the exact token and a trailing newline. Private widget
|
||||
fields were inspected for research only; production uses the public boundaries.
|
||||
The spike ran three times with cleanup and baseline restoration.
|
||||
|
||||
Evidence: `.test-work/reports/pr3037-native-spike/widget-spike.json`.
|
||||
|
||||
## Automated checks
|
||||
|
||||
Whole production-module tests exercise lossless dimension rewriting, real
|
||||
CodeMirror history/range mapping, controller gestures and cleanup, fullscreen
|
||||
async ownership and shared navigation. Existing postprocessor/lifecycle tests
|
||||
also cover cache bypass and toolbar exclusions. New source modules participate
|
||||
in `test:source-coverage` and native cases are required by the regression profile
|
||||
and P05 feature mapping.
|
||||
|
||||
Run the affected native desktop matrix with:
|
||||
|
||||
```sh
|
||||
node scripts/testing/host/verify.mjs --embed-controls
|
||||
```
|
||||
|
||||
The complete native profile also includes the phone/tablet workflows in actual
|
||||
Obsidian mobile emulation with trusted CDP touch input. This is not physical-device
|
||||
coverage. Native cases assert exact source, history and unchanged drawing bytes;
|
||||
screenshots alone do not establish behavior.
|
||||
|
||||
The development native attempts are retained under
|
||||
`.test-work/reports/pr3037-controls-focused*`. The first attempt stopped on a
|
||||
malformed test PNG, which was corrected. The next attempts exposed incorrect
|
||||
held-button input in the harness, then a production stale-generation remount
|
||||
loop after resizing. The latter starved the renderer's replacement timer and CLI.
|
||||
The bridge now rejects stale generations before mounting; a bounded production
|
||||
bridge test reproduces and prevents the loop. A recovery build was hash-verified
|
||||
in the owned test vault. The stalled run remains failed, including cleanup.
|
||||
It is not acceptance evidence. The maintainer restarted Obsidian; acknowledged
|
||||
CLI recovery removed only the failed run's owned fixtures and restored the
|
||||
declared baseline. Recovery evidence is retained under
|
||||
`.test-work/recovery/pr3037-stale-renderer/restarted-baseline.json`.
|
||||
|
||||
The focused desktop matrix passed on Windows / Obsidian 1.14.5 after recovery:
|
||||
all 15 embed cases across main, split and popout contexts, with clean console,
|
||||
source stability, cleanup and baseline restoration. It covers all three image
|
||||
modes, repeated/same-line tokens, table cells, same-note split synchronization,
|
||||
history, source selection, fullscreen keyboard controls/focus, Reading mode and
|
||||
popout input with the main window minimized. Evidence:
|
||||
`.test-work/reports/pr3037-controls-focused-10/report.json`.
|
||||
|
||||
Trusted touch initially exposed the host's `body.emulate-mobile .clickable-icon`
|
||||
rule overriding the resize handle's touch action. A scoped selector now outranks
|
||||
that rule. All ten phone/tablet embed cases, including resize/history/reset,
|
||||
tables, fullscreen pinch and pan, passed against the fresh frozen build:
|
||||
`.test-work/reports/pr3037-phone-probe-3/report.json`.
|
||||
|
||||
Toolbar compatibility mouse/touch events are isolated from the surrounding native
|
||||
table, preserving button default activation. Editing table syntax intentionally
|
||||
opens Obsidian's inner cell editor; the host retains its hidden display preview.
|
||||
The native test exits through a trusted footer click instead of moving only the
|
||||
outer editor's caret. It verifies that this roundtrip preserves every source byte.
|
||||
|
||||
Complete portable regression at `76ffd8ed4dbb347e0c1a7ef01d5778f9537a41d3`
|
||||
passed 934 canonical cases, with successful cleanup and no missing cases. It
|
||||
includes 717 plugin tests and 199 source-coverage tests. GitHub Plugin tests and
|
||||
CodeQL passed at that revision. The first complete native attempt remains failed:
|
||||
399 passed, five failed, cleanup passed. Evidence is retained under
|
||||
`.test-work/reports/pr3037-native-76ffd8ed/`.
|
||||
|
||||
The November 7 checkpoint addresses the observed native readiness failures:
|
||||
|
||||
- Focus the table handle through trusted hover/scroll/click input before keyboard
|
||||
resizing, while retaining inactive-pane ownership and exact transaction checks.
|
||||
- Wait for saved fixture frontmatter before each stability reopen; disk persistence
|
||||
completes before Obsidian republishes the cache used by its default-view router.
|
||||
- Flush live Markdown saves before retiring views and deleting owned fixtures.
|
||||
- Restore Electron zoom and require bounded geometry/notification idle before
|
||||
closing the owning popout; keep the strict host exception gate unchanged.
|
||||
- Coalesce the controller's ResizeObserver-driven layout writes into an owned
|
||||
animation frame and cancel it on unload. This does not attribute or suppress the
|
||||
host's historically recorded observer notifications.
|
||||
|
||||
All six stability cycles and the restored-zoom workflow passed focused validation
|
||||
without unexpected host errors. Full phone/tablet workflows passed 108 cases with
|
||||
clean error gates, cleanup and restoration. The corrected desktop input sequence
|
||||
then passed all 15 embed cases with baseline restoration. Evidence:
|
||||
`.test-work/reports/pr3037-native-readiness-focused-1/`, including
|
||||
`devices/report.json` and `controls-input-probe.json`. Failed predecessor attempts
|
||||
remain separate; the focused parent report's hidden-handle input failure is not
|
||||
acceptance evidence.
|
||||
|
||||
At the readiness checkpoint, 717 tests in 87 files passed. Modified embed modules
|
||||
had zero targeted lint or TypeScript diagnostics. Complete-profile acceptance was
|
||||
still required; the latest validated runtime results are recorded below. Minimum
|
||||
Obsidian 1.8.7, macOS, physical Android/iOS and hosted CodeScanner remain separate
|
||||
unverified gates.
|
||||
|
||||
The isolated alignment check found that the existing
|
||||
`div.excalidraw-svg-left/right` width rule overrode the gesture's single-class
|
||||
width rule. A requested 220 px preview measured 600 px in a 600 px container for
|
||||
both alignments, in PNG, SVG image and inline SVG. The scoped two-class gesture
|
||||
selector measures 220 px in all nine default/left/right and image-mode cases.
|
||||
Evidence: `.test-work/pr3037-alignment-css-probe.json` and
|
||||
`.test-work/pr3037-alignment-css-fixed.json`. The native input cases now assert
|
||||
actual preview size/aspect ratio during movement and exercise pointer resizing
|
||||
of left-aligned wiki embeds and right-aligned Markdown-image table cells. Fresh
|
||||
complete acceptance is required after this CSS checkpoint.
|
||||
|
||||
Including the real in-flow toolbar in the small-preview probe exposed the
|
||||
alignment table layout's intrinsic minimum: an 80 px preview remained 140 px.
|
||||
Gesture-only block layout on the frame and image removes that minimum while
|
||||
retaining the alignment's float. Normal table layout returns when the gesture
|
||||
class is removed. All nine small-preview cases then measure 80 px; evidence is
|
||||
retained in `.test-work/pr3037-alignment-css-toolbar-probe.json` and
|
||||
`.test-work/pr3037-alignment-css-toolbar-fixed.json`.
|
||||
|
||||
The complete-sequence split fixture can leave only 170 px for its owning pane.
|
||||
Table resize checks therefore shrink from the measured displayed width instead
|
||||
of assuming an eight-pixel enlargement fits. Pointer checks likewise shrink by
|
||||
20 px while measuring actual geometry. Exact source, other-cell preservation,
|
||||
same-note synchronization and isolated undo remain required. Passive focus/key
|
||||
evidence is retained on failure. The independent extraction workflow now waits
|
||||
for the owner to leave save/synchronization work and for its new editor tab to
|
||||
appear, and verifies the rendered tab's full drawing identity.
|
||||
|
||||
## Previous validated runtime checkpoint
|
||||
|
||||
Runtime source: `7de41e73247f5a5f7631519115d2856384661092`.
|
||||
|
||||
- Complete portable profile: **934 canonical cases passed**, cleanup passed, no
|
||||
missing cases. Includes 717 plugin tests and 199 source-coverage tests, fork and
|
||||
Extras source/browser suites, builds and isolated package-consumer checks.
|
||||
- Focused native desktop/touch profile: **31 cases passed**, cleanup and baseline
|
||||
restoration passed. This includes all 25 dedicated embed cases across main,
|
||||
split, minimized-main popout, phone and tablet contexts. It measures actual
|
||||
preview geometry, including left/right table gestures, rather than CSS values
|
||||
alone. Both device profiles passed their exception and cleanup gates.
|
||||
- Evidence: `.test-work/reports/pr3037-portable-7de41e73/report.json` and
|
||||
`.test-work/reports/pr3037-alignment-native-focused-2/report.json`.
|
||||
- Production `main.js`: 5,088,831 bytes, 154,049 bytes below the 5 MiB target.
|
||||
|
||||
The complete matching-build native profile at the documentation checkpoint
|
||||
passed all 265 desktop cases and cleanup, then stopped at the phone resize
|
||||
handle's hit test. Cleanup and baseline restoration passed; incomplete device
|
||||
coverage does not count as acceptance. Evidence remains in
|
||||
`.test-work/reports/pr3037-native-final-2026-11-07/`.
|
||||
|
||||
A diagnostic repeat captured the focused handle above the viewport (center
|
||||
approximately -30 px, editor scrollTop 613). CodeMirror's pending caret scroll
|
||||
could supersede the initial `scrollIntoView()` after image measurement. The
|
||||
native driver now permits at most three re-scrolls only when the handle center
|
||||
is outside the editor viewport. It still requires a real uncovered hit and
|
||||
120 ms of stable geometry before trusted input; an in-view overlay remains a
|
||||
failure. No product code, gesture assertions or exception gates changed.
|
||||
|
||||
The failing diagnostic is retained in
|
||||
`.test-work/reports/pr3037-phone-layout-probe-1/`. The corrected repeat passed
|
||||
137 canonical cases, including all 108 phone/tablet cases, cleanup and baseline
|
||||
restoration: `.test-work/reports/pr3037-phone-layout-probe-2/`. All 717 fast tests
|
||||
also passed after the driver repair.
|
||||
|
||||
Complete acceptance is rerun after this test-harness checkpoint using
|
||||
`.test-work/reports/pr3037-native-final-2026-11-07-2/report.json`; the PR description
|
||||
records that run's actual status, counts and exact source commit after completion.
|
||||
That driver-only checkpoint kept production runtime identical to `7de41e73`. Previous
|
||||
failed runs remain retained and do not count as acceptance evidence.
|
||||
|
||||
`npm run code` reports 118 existing errors outside the modified production
|
||||
modules; targeted lint and targeted TypeScript diagnostics pass. Production
|
||||
builds retain the same existing 18 Rollup circular-dependency warnings. The
|
||||
`madge` executable and hosted Obsidian CodeScanner are not installed locally.
|
||||
|
||||
## Drawing Markdown support follow-up
|
||||
|
||||
The first implementation incorrectly excluded every drawing file from the editor
|
||||
bridge, even when the user had opened it as Markdown. A direct self-embed in that
|
||||
editor therefore rendered its image without controls. The reported deployment's
|
||||
JavaScript and CSS matched the previously validated artifact; rebuilding that
|
||||
revision could not resolve the omission.
|
||||
|
||||
Remove only the source-file classification exclusion. Complete widget tokens,
|
||||
canonical target identity, live editor/file/document ownership, read-only state,
|
||||
renderer generation and nested-context exclusions remain required. Generated
|
||||
drawing metadata previews still have no source-bound controls.
|
||||
|
||||
The new self-embed source test fails on the old guard and passes afterward:
|
||||
`.test-work/pr3037-hybrid-before-fix.log`. All 718 fast tests, targeted lint and
|
||||
inventory checks pass. Focused native validation passes 36 cases, including all
|
||||
30 embed cases and the five new drawing-Markdown cases in main, split, popout,
|
||||
phone and tablet contexts. It uses the real Open as Markdown action and verifies
|
||||
exact resize/reset edits, single undo, exact syntax selection, physical source
|
||||
preservation and fullscreen from Live Preview and Reading mode. Evidence:
|
||||
`.test-work/reports/pr3037-hybrid-focused-4/`; cleanup and baseline restoration
|
||||
passed. Failed fixture-setup runs remain retained; guarded recovery restored the
|
||||
owned test view, retired its completed controller and restored the baseline.
|
||||
|
||||
The interrupted complete acceptance attempts for this follow-up used
|
||||
`.test-work/reports/pr3037-hybrid-portable-final/report.json` and
|
||||
`.test-work/reports/pr3037-hybrid-native-final/aggregate.json` as intended final
|
||||
report paths. They were stopped at the maintainer's request; partial artifacts
|
||||
remain, and final reports may be absent. Earlier complete passes establish the
|
||||
prior runtime, not this new checkpoint.
|
||||
|
||||
## Control appearance and preview refinement
|
||||
|
||||
Maintainer review requested an inset, theme-colored corner grip, compact
|
||||
top-right controls, stable small-image controls during resizing, explicit drawing
|
||||
navigation for self/reference embeds, and a viewport-sized movable/resizable
|
||||
preview with a drawing-edit action. Modifier clicks on inline and preview images
|
||||
and pencil actions use the configured navigation rules; pencil help describes
|
||||
the live platform-specific settings. Accessible labels for the viewer, toolbars
|
||||
and grip no longer create unsolicited hover tooltips.
|
||||
|
||||
The follow-up builds successfully. Targeted static lint passes. Regression
|
||||
fixtures and coverage mappings are updated but have **not been executed**: the
|
||||
maintainer paused testing. The preceding complete runs at `13bac7af` were
|
||||
interrupted and do not count as completed acceptance. In particular, the new
|
||||
visual geometry, dialog dragging/native resizing and live navigation still need
|
||||
focused Obsidian validation when testing resumes. The maintainer reviewed the
|
||||
appearance, requested a slightly rounded neutral-gray grip, and authorized merge
|
||||
while testing remained paused. The final production bundle is 5,094,032 bytes,
|
||||
148,848 bytes below 5 MiB. No personal-vault deployment was performed by the agent
|
||||
during this follow-up.
|
||||
|
||||
## Priority review
|
||||
|
||||
1. Resize/reset/edit repeated, same-line and table embeds; verify one-step undo,
|
||||
untouched surrounding syntax and unchanged drawing files.
|
||||
2. Compare all three preview modes, fragments, themes, inline SVG links and mask
|
||||
navigation. Close the viewer during export and switch notes during interaction.
|
||||
3. Repeat through refresh, detach/reattach, split panes, popout teardown and plugin
|
||||
reload, then use physical phone/tablet touch for scrolling, focus and gestures.
|
||||
@@ -0,0 +1,224 @@
|
||||
# Native test recovery — 2026-11-01
|
||||
|
||||
**Final acceptance: 357 passed, 0 failed, 0 blocked, none missing.** All 40
|
||||
formerly blocked device profiles pass; native/device cleanup and declared-baseline
|
||||
restoration pass. Fast checks pass **600/600**. See the
|
||||
[sanitized final receipt](native-recovery-2026-11-01.native.json). Earlier results
|
||||
below are retained as the investigation history.
|
||||
|
||||
Current work is uncommitted on `codex/kplex-integration-followup`, based on
|
||||
`ebb7916b` (merged PR #3028). The selected sibling fork is `80df3c48f`; Extras is
|
||||
`df1f2b5`. Their working trees are unchanged. Node 22.22.2 is used explicitly.
|
||||
|
||||
## Corrections
|
||||
|
||||
| Original failure | Correction and evidence |
|
||||
| --- | --- |
|
||||
| Popout palette and toolbar tests reported concurrent requests | Host acknowledgements now settle explicit promises independently of UI readiness polling. Cancellation settles only the owned request; real dispatch failures and strict assertions remain failures. The delayed-ack regression fails before the fix and passes afterward. Both native interaction cases pass in `native-525f66ee-e983-43b9-8a16-90b5b865e237`. |
|
||||
| Mermaid gateway loaded old Extras | Refresh locked installs in the current workspace producers, build/freeze/deploy all artifacts, and verify loaded services before UI work. Converter package 3.1.0 and Extras service contract 3.0.0 are deliberately distinct. The production gateway's original exact 3.0.0 requirement is unchanged. Real MathJax and twelve offline Mermaid diagram types pass. |
|
||||
| File-explorer action not found | The registered label already is **New drawing**. The test now explicitly selects Obsidian's DOM menu renderer and waits for mounting before locating the localized action. Native workflow assertions pass; no product label was changed. |
|
||||
| Geometry popout cleanup waited on stale `closed: false` | Save owned edits and detach the owned leaf; require API teardown, disconnected DOM and absent workspace registration. Preserve main/shared windows and reject identity changes. The helper is idempotent. Real main/popout geometry, crop and save/reopen cases pass. |
|
||||
|
||||
## Additional failures uncovered and repaired
|
||||
|
||||
- PDF.js split the printed sentinel into glyph runs. Inserting a space between
|
||||
every item created a false text mismatch. Concatenation now preserves the actual
|
||||
strings without invented separators. The real PDF, decoded page, text, media
|
||||
box, SVG pixels and cleanup pass in `native-259acdb4-762f-4e1f-bc4a-e4004a363c9d`.
|
||||
Evidence is retained before assertions, including on failure.
|
||||
- macOS clamps native windows to this display's 875-pixel work area. For larger
|
||||
profiles the runner uses explicit CDP metrics at the unchanged requested CSS
|
||||
viewport, records native dimensions/transport and clears the override before
|
||||
the teardown idle/error gate. Existing breakpoint and trusted-input assertions
|
||||
remain unchanged. The first six desktop profiles passed in
|
||||
`native-902507ee-fbf9-4d2f-aada-d04c788ad23b`.
|
||||
- Read-only CLI responses intermittently timed out while the in-app task continued
|
||||
passing later cases. State polls have at most two retries within the existing
|
||||
deadline, retaining transport diagnostics. Native input and writes are never
|
||||
replayed by that policy. The lost-response regression fails before and passes
|
||||
after the fix.
|
||||
- A debugger-listener install could execute while its response was lost. Cleanup
|
||||
now probes its unique ownership token rather than relying on an unacknowledged
|
||||
local flag. The regression verifies listener/controller removal, scheduling
|
||||
restoration and release of the exact owned debugger.
|
||||
|
||||
## Current verification
|
||||
|
||||
- Full fast suite: **599 passed**, including the final synchronization-readiness regressions and matching local fork, including viewport, receipt, response-budget and oversized-source regressions. The default installed declarations still expose the previously recorded protocol-2 mismatch, so `EXCALIDRAW_FORK_ROOT` must select the byte-matched current fork for this unpublished integration.
|
||||
- Offline host harness: **76 passed** (overlaps the fast suite).
|
||||
- Bundle checks: **5 passed**. Feature mappings and inventory checks pass.
|
||||
- Production build passes with existing Rollup circular-dependency warnings.
|
||||
- The original five native failure paths have passed focused reruns. The complete
|
||||
Extras scenario, including real PDF output, also passes.
|
||||
- The maintainer restarted Obsidian with only the named test vault open. The
|
||||
subsequent phone trace identified a sliding palette input: the trusted tap
|
||||
reached its moving container. Stable-rectangle readiness fixes this; the phone
|
||||
palette case passes in `native-cfe9bb07-0d6a-4138-84a9-94f6537eb3b5`.
|
||||
- The tablet trace requested x=335.21 but delivered x=421.41, exactly reflecting
|
||||
the fitted surface scale. The driver now maps CDP input into that surface and
|
||||
independently asserts the delivered CSS coordinates. Real mouse/touch device
|
||||
edits, the tablet palette case and restoration pass in
|
||||
`native-66f99e94-4a3a-4b5a-9cd3-e854aa962b2d`.
|
||||
- **All 40 device profiles are not yet complete.** The complete matching-build
|
||||
native acceptance rerun is next. Partial attempts and functional failures remain
|
||||
preserved; focused passes do not replace complete acceptance.
|
||||
|
||||
Rerun the complete matrix and matching-build native profile, record exact
|
||||
artifact hashes, errors and restoration, and update this record.
|
||||
Desktop mobile emulation remains separate from physical-device touch, other
|
||||
operating systems and real OS drag/clipboard coverage.
|
||||
|
||||
Recovery requirements are captured in `AGENTS.md`, `CODING_STANDARDS.md`,
|
||||
`CONTRIBUTING.md` and the runtime testing guide. Historical failed reports remain
|
||||
under `.test-work/reports/` and must not be overwritten.
|
||||
|
||||
## Full rerun and acknowledgement recovery
|
||||
|
||||
`native-575be6cb-c9a9-4b33-a2ae-efe4a799286c` passed all 172 desktop
|
||||
behavior cases and the original five failure paths, including real Extras/PDF,
|
||||
workflow menus and geometry. It then failed on another lost CLI acknowledgement;
|
||||
the first device profile also lost its viewport-change acknowledgement. Cleanup
|
||||
and baseline restoration passed. This is a failed complete run, not acceptance.
|
||||
|
||||
No blocking dialog or pending task/print remained; ten serialized read probes
|
||||
returned in 3–89 ms. The coordinator now retains an owned last-operation receipt
|
||||
before replying to eval/CDP calls. It may adopt only the exact completed result
|
||||
when transport loses the response. It never replays the mutation; pending,
|
||||
missing, foreign and failed results remain failures. Receipts are removed at
|
||||
sequence completion. Seven new regression checks pass. A live fault-injection
|
||||
probe discarded one completed response, recovered the result, and independently
|
||||
confirmed exactly one mutation, native protocol access and owned debugger cleanup.
|
||||
The next complete run will verify this through the full sequence.
|
||||
|
||||
## Operation budgets and oversized evals
|
||||
|
||||
The receipt-enabled full attempt `native-0fd2838b-e678-442a-8306-182a2e341cdf`
|
||||
recovered nine completed acknowledgements without replay, but each consumed the
|
||||
old 60-second launcher deadline. One grouped-link scenario consequently exhausted
|
||||
its own deadline. A larger wrapped eval then hit macOS `E2BIG`; the first device
|
||||
profile also lost the separate error-buffer-clear reply. Cleanup and baseline
|
||||
restoration passed; this attempt remains failed.
|
||||
|
||||
The response deadline is now one second, with exact receipt polling bounded by
|
||||
the unchanged 60-second operation budget. Still-pending/unknown jobs preserve
|
||||
resources. Known read-only commands have bounded retries. A lost error-clear
|
||||
reply is accepted only after observing an empty buffer; new errors are never
|
||||
cleared by a replay. Oversized evals use owned temporary UTF-8 scripts on macOS
|
||||
and Linux as well as the established Windows path, preserving the entire source.
|
||||
|
||||
The live large-eval probe completed in 1,407 ms beyond its one-second response
|
||||
deadline, using one real script handoff and exactly one mutation. An intentionally
|
||||
dropped error-clear reply also required exactly one clear. Native protocol access,
|
||||
debugger cleanup and receipt cleanup passed. The pending/completed/foreign/error,
|
||||
response-budget, clear-preservation and oversized-source regression tests pass.
|
||||
|
||||
The requested Mindmap Builder, Lucide and Pele/kepano release-note changes are now
|
||||
applied in Messages.ts, with centralized literal link URLs; targeted ESLint passes.
|
||||
The next complete run builds this final release-note text too.
|
||||
|
||||
## Final driver readiness checks
|
||||
|
||||
`native-e093d356-a836-4cfd-80ae-afa8317abbde` again passed all 172 desktop
|
||||
behavior cases and the original five failure paths. A standalone-text variant
|
||||
clicked before confirming that its trusted text-tool shortcut had committed;
|
||||
the driver now focuses the editor and waits for actual text-tool state. The
|
||||
first six device profiles passed, then a phone screenshot lost its reply even
|
||||
though the PNG existed. Cleanup and baseline restoration passed; this full run
|
||||
remains failed.
|
||||
|
||||
Screenshot recovery now requires a previously absent file under the exact owned
|
||||
report directory and successful decoding by Electron's native image decoder.
|
||||
It never repeats a capture or substitutes an image for behavior. A live injected
|
||||
reply-loss probe confirms exactly one capture and successful decoding. The added
|
||||
regression also refuses existing or unowned destinations. Product editing,
|
||||
undo/redo, layout, trusted-input and persistence assertions are unchanged.
|
||||
|
||||
The corrected text driver passes focused native report
|
||||
`native-6918dbf3-ac39-4dfe-9a74-c3aafd283e83`: all eight creation-history
|
||||
variants (parsed/raw, bound/standalone, keyboard/button) and sixteen editing
|
||||
variants (plain, wikilink, extra bracket and alias) pass, with cleanup and baseline
|
||||
restoration passed. The complete rerun now uses this validated driver.
|
||||
|
||||
## Complete case execution and synchronization readiness
|
||||
|
||||
`native-c2cab9f1-cadf-4a8f-9b1c-c824f43a6de1` executed every required identity:
|
||||
**355 passed, 2 failed, none missing**. The complete core run, all 172 desktop
|
||||
behavior cases, tablet workflows and all device profiles executed; the remaining
|
||||
two failed identities are one phone frontmatter/save workflow and its parent
|
||||
phone-profile gate. The phone's console/window/CLI error streams were empty;
|
||||
its parent now reports the failed workflow IDs rather than the misleading
|
||||
"unexpected errors" description. Cleanup and baseline restoration passed.
|
||||
|
||||
The workflow observed new frontmatter in view.data and could request forced
|
||||
persistence before the view's synchronization busy state cleared. The public
|
||||
save implementation intentionally skips while synchronization owns the view.
|
||||
The driver now waits for the exact view/API/file owner to be idle before asking
|
||||
for its one forced save, still requires status persisted, records the actual
|
||||
revision receipt on failure, verifies disk scene IDs and reopens the file.
|
||||
Two new regression checks establish that it waits for synchronization but still
|
||||
rejects failed receipts or mismatched physical scenes without retrying writes.
|
||||
The next complete run will establish native acceptance of this readiness change.
|
||||
|
||||
## Device blockers resolved; final core fixture readiness
|
||||
|
||||
`native-a90f7241-cc16-4867-893c-268b4d7fcc3d` passes the complete device lane:
|
||||
**126/126**, including all **40** formerly blocked device profiles and their
|
||||
mobile behavior workflows. Device cleanup and declared-baseline restoration pass.
|
||||
The requested original five failure paths had already passed focused/repeated
|
||||
native runs; the original 187 passed / 5 failed / 40 blocked count is historical.
|
||||
|
||||
This whole-run aggregate is still **336 passed, 1 failed, 21 missing**. Its single
|
||||
failure is `feature-scenarios`: `parsed/keyboard/extra-bracket: new text editor`.
|
||||
The recorded scene is empty, the text editor is absent, and the tool is still
|
||||
selection. The fixture's imperative `setActiveTool({type: "text"})` schedules a
|
||||
React update; it had dispatched input without waiting for the state to commit.
|
||||
`prepareTextUndoFixture` now waits for the exact captured API's active tool to be
|
||||
text, with a bounded deadline and an API-retirement guard. Its added delayed-
|
||||
commit regression and affected tests pass **9/9**. This correction retains all
|
||||
editing, history, disk and reopening assertions; a complete native rerun remains
|
||||
pending rather than being relabeled as passed.
|
||||
|
||||
App-wide native runs were held while the maintainer's production vault was open.
|
||||
The subsequent K-Plex startup-placeholder investigation used read-only production
|
||||
inspection and a separately scoped Small-vault test. Only explicitly authorized
|
||||
K-Plex executable artifacts were deployed to production. The maintainer manually
|
||||
reloaded K-Plex and confirmed both affected navigation workflows work. No agent-
|
||||
initiated production reload, cache/settings/note edit or Excalidraw deployment
|
||||
was used to bypass isolation. K-Plex PR #249 holds that separate acceptance.
|
||||
|
||||
## Final complete acceptance
|
||||
|
||||
`native-b329000b-8a0d-4b2a-b244-4245ae9c01c8` passes the complete regression
|
||||
profile: **357 passed, 0 failed, 0 blocked, none missing**. The device lane passes
|
||||
126/126, including all 40 device profiles. All 16 text-editing/history variants
|
||||
pass, including the exact extra-bracket case that stopped the preceding run.
|
||||
The original five failure paths are included and pass. Native/device cleanup and
|
||||
restoration of the declared plugin, Extras and theme baseline pass.
|
||||
|
||||
This run rebuilt the selected current fork, Extras and plugin, froze and verified
|
||||
their actual artifacts, and ran only after the maintainer closed other vaults.
|
||||
The native protocol received 72 lost replies through exact completion receipts;
|
||||
no operation was replayed to turn an unknown outcome into a pass. Original case
|
||||
identities, strict assertions and time bounds remain unchanged.
|
||||
|
||||
Node 22.22.2 fast checks pass 600/600. macOS temporary fixtures use the canonical
|
||||
`TMPDIR=/private/tmp`; the redirected-path guards remain intact. Plugin main.js
|
||||
SHA-256 is `5e9d881ee9a04564d855f457bbb2c90439c9c9b0069eefbb0072d2a881edc652`;
|
||||
producer commits, dirty-source identity, lockfiles and exact artifacts are in the
|
||||
linked sanitized receipt. Historical reports were preserved.
|
||||
|
||||
This establishes macOS desktop and desktop mobile-emulation acceptance. Physical
|
||||
Android/iOS touch and Windows remain separate. The unpublished fork-artifact
|
||||
handoff is not a published dependency release. Positive K-Plex template-dropdown
|
||||
acceptance still requires an actual Excalidraw 2.29.1+ release; local plugin
|
||||
manifests intentionally remain 2.29.0. No companion changes were committed or
|
||||
published, and no Excalidraw build was deployed to production.
|
||||
|
||||
The actual public library build (`npm run lib`) and both independent packed
|
||||
consumers (`npm run test:packages`, fork and Extras API) also pass. The first
|
||||
Extras consumer attempt reused stale `--prefer-offline` registry metadata and
|
||||
reported converter 3.1.0 as unavailable despite the locked tarball already being
|
||||
installed. `npm view @excalidraw/mermaid-to-excalidraw@3.1.0 version --prefer-online
|
||||
--json` confirmed the official published version and refreshed that metadata.
|
||||
The identical consumer command then passed; no dependency, source or assertion
|
||||
was changed and no tarball was substituted for the consumer's declared dependency.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,32 @@
|
||||
# New File dialog: focused follow-up
|
||||
|
||||
Folder and file-name controls reuse the full-row file-selector layout. The label takes its
|
||||
natural width; the input fills the remaining space. Existing mobile selector rules avoid a
|
||||
fixed control height. The shell remains Obsidian's standard Modal on desktop and mobile.
|
||||
|
||||
The New File folder suggester opts out of focus opening. The first input event enables native
|
||||
completion; blur resets that gate, so returning to the field does not reopen suggestions until
|
||||
typing. Closing the modal closes suggestions and removes the optional input/blur gates. Other
|
||||
VaultPathSuggest consumers retain their existing open-on-focus default.
|
||||
|
||||
The maintainer explicitly requested no full regression. Focused evidence only:
|
||||
|
||||
- `node --test scripts/testing/drawingCreationIntegration.test.mjs`: 8/8 pass.
|
||||
- ESLint for Prompt.ts and VaultPathSuggest.ts passes; production build passes.
|
||||
- One native dialog inspection in the repository-owned excalidraw-auto-test vault passes:
|
||||
both fields fill the remaining row (472/526 and 452/526 pixels); initial focus and refocus
|
||||
leave suggestions closed; typing opens real folder suggestions; cancellation settles
|
||||
without creating a file. Owned UI, workspace and temporary throttling are restored.
|
||||
- [Native receipt](new-file-dialog-2026-11-01.native.json) records the inspected artifact hashes.
|
||||
The final build also incorporates the maintainer's subsequent manifest-only 2.29.1 updates;
|
||||
the dialog inspection used the preceding manifest version with these same UI changes.
|
||||
|
||||
Native-harness setup initially selected a Markdown view for a drawing; explicitly requesting
|
||||
an Excalidraw view resolved that prerequisite. The installed Obsidian uses modal-header-button,
|
||||
so this probe cancels through the actual Nevermind button rather than guessing a legacy close
|
||||
selector. Cleanup is independent of assertions. The focused checks passed after correcting
|
||||
those test-only assumptions; no full portable/native/device profile was run.
|
||||
|
||||
Physical phone/tablet keyboard clearance was not exercised. Standard Obsidian modal ownership
|
||||
is preserved, without a floating or draggable replacement. Hosted CodeScanner is unavailable
|
||||
locally; touched TypeScript lint and the build passed.
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"status": "passed",
|
||||
"result": {
|
||||
"standardModal": true,
|
||||
"fullWidthFields": [
|
||||
{
|
||||
"rowWidth": 526,
|
||||
"inputWidth": 471.6796875
|
||||
},
|
||||
{
|
||||
"rowWidth": 526,
|
||||
"inputWidth": 452.1640625
|
||||
}
|
||||
],
|
||||
"initialSuggestionsClosed": true,
|
||||
"typingSuggestionsOpened": true,
|
||||
"refocusSuggestionsClosed": true,
|
||||
"cancelledWithoutCreation": true,
|
||||
"limits": "Desktop dialog inspection; physical mobile keyboard not exercised."
|
||||
},
|
||||
"cleanup": "passed",
|
||||
"artifacts": {
|
||||
"main.js": "d61840d6e607b2a713fa1311188a5df3d26c1231387dbb693fa18bdea4d6fbf8",
|
||||
"styles.css": "b17f13b7aa10832a6d5728217ca11486ca06ef454aa2e06827cbb99e7d38c417",
|
||||
"manifest.json": "4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0"
|
||||
},
|
||||
"nativeManifestVersion": "2.29.0"
|
||||
}
|
||||
@@ -0,0 +1,654 @@
|
||||
{
|
||||
"date": "2026-10-31",
|
||||
"suiteId": "svg-conversion-entry-points",
|
||||
"status": "passed",
|
||||
"vault": ".test-work/vaults/excalidraw-auto-test/",
|
||||
"startedAt": "2026-10-31T11:00:07.007Z",
|
||||
"completedAt": "2026-10-31T11:01:05.554Z",
|
||||
"environment": {
|
||||
"platform": "win32",
|
||||
"node": "v22.22.3",
|
||||
"obsidian": "1.14.5 (installer 1.14.5)",
|
||||
"electron": "43.8.3"
|
||||
},
|
||||
"sources": {
|
||||
"fork": {
|
||||
"repository": "zsviczian/excalidraw",
|
||||
"commit": "745d62f7071be4da192f595bb75e140a7b741fc0",
|
||||
"dirty": true,
|
||||
"diffHash": "262413527ca155b26a7605556a25d4d9a8a71bc65529be99f621727d78fb1285",
|
||||
"lockfileHash": "e170c0e3c4feedc65a336746b033423a05e7401845ff51f75ec6a7c71d234bf2",
|
||||
"buildCommand": "yarn build:esm && yarn build:obsidian",
|
||||
"toolchain": {
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"role": "production-js",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.production.min.js",
|
||||
"sha256": "0d7c29af51230d5c5a34865c2b42c1e5708e19c2e2b6f7c2f28fa7191731190a",
|
||||
"bytes": 6508320
|
||||
},
|
||||
{
|
||||
"role": "production-css",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.production.min.css",
|
||||
"sha256": "0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002",
|
||||
"bytes": 309492
|
||||
},
|
||||
{
|
||||
"role": "development-js",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.development.js",
|
||||
"sha256": "e055fb6ce4345eccf9434334978560041f60086abc996296981e61a2e7bb5ca3",
|
||||
"bytes": 29991496
|
||||
},
|
||||
{
|
||||
"role": "development-css",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.development.css",
|
||||
"sha256": "192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883",
|
||||
"bytes": 350666
|
||||
}
|
||||
]
|
||||
},
|
||||
"extras": {
|
||||
"repository": "zsviczian/obsidian-excalidraw-extras",
|
||||
"commit": "df1f2b5659259c43780c5ef07cd433fa6c3e14fa",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "a24120b8bb7df3ca07f10ad20893355160f0f335332e9f915c97cb207160f64f",
|
||||
"buildCommand": "npm run build && npm run build:api",
|
||||
"toolchain": {
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"role": "main",
|
||||
"relativePath": "dist/main.js",
|
||||
"sha256": "c377df5b7f286c7306604827fadcb363313cebc5a9953b7d77e106fdb611f7d8",
|
||||
"bytes": 2540802
|
||||
},
|
||||
{
|
||||
"role": "manifest",
|
||||
"relativePath": "dist/manifest.json",
|
||||
"sha256": "d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611",
|
||||
"bytes": 303
|
||||
},
|
||||
{
|
||||
"role": "styles",
|
||||
"relativePath": "dist/styles.css",
|
||||
"sha256": "3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda",
|
||||
"bytes": 1427
|
||||
}
|
||||
]
|
||||
},
|
||||
"plugin": {
|
||||
"repository": "zsviczian/obsidian-excalidraw-plugin",
|
||||
"commit": "ae661c0ee8fa64df584864c3cc7af3df426e486f",
|
||||
"dirty": true,
|
||||
"diffHash": "1ceedb3fa9aec302b150ceac65536b9eba967f272c7b14211b9afd40327f141f",
|
||||
"lockfileHash": "6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c",
|
||||
"buildCommand": "npm run build",
|
||||
"toolchain": {
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"role": "main",
|
||||
"relativePath": "dist/main.js",
|
||||
"sha256": "a6704eef12dd47ba3de9cd217639ddf1c69546dbf693246559f063aaf5a0fb59",
|
||||
"bytes": 5042947
|
||||
},
|
||||
{
|
||||
"role": "manifest",
|
||||
"relativePath": "dist/manifest.json",
|
||||
"sha256": "4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0",
|
||||
"bytes": 470
|
||||
},
|
||||
{
|
||||
"role": "styles",
|
||||
"relativePath": "dist/styles.css",
|
||||
"sha256": "4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d",
|
||||
"bytes": 354364
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"installedPluginHashes": {
|
||||
"main.js": "a6704eef12dd47ba3de9cd217639ddf1c69546dbf693246559f063aaf5a0fb59",
|
||||
"manifest.json": "4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0",
|
||||
"styles.css": "4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"
|
||||
},
|
||||
"mainBytes": 5042947,
|
||||
"releaseHeadroomBytes": 199933,
|
||||
"nativeCases": [
|
||||
{
|
||||
"testId": "native:svg-paint:render-save-reopen",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"EA import succeeds",
|
||||
"all geometry retained",
|
||||
"decoded export has fallback and normal colors",
|
||||
"save acknowledged",
|
||||
"exact IDs/colors survive reopen"
|
||||
],
|
||||
"bluePixels": 400,
|
||||
"redPixels": 400
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-pie",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 11,
|
||||
"textElements": 5,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-mindmap",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 4,
|
||||
"textElements": 2,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-gantt",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 17,
|
||||
"textElements": 7,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-journey",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 23,
|
||||
"textElements": 9,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-timeline",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 9,
|
||||
"textElements": 3,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-git",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 6,
|
||||
"textElements": 2,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-quadrant",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 7,
|
||||
"textElements": 2,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-text:labels-render-edit-save-reopen",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"all source labels become native text",
|
||||
"raw/editable text and positive measured geometry",
|
||||
"real native preview export",
|
||||
"decoded text-only export contains visible glyphs",
|
||||
"native text edit",
|
||||
"acknowledged save and exact IDs/text after reopen"
|
||||
],
|
||||
"labels": 2,
|
||||
"nativeElements": 3,
|
||||
"glyphPixels": 1028
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-text:popout-reopen",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"saved editable labels load in popout",
|
||||
"edited value preserved",
|
||||
"owning-window preview export"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:main:image-menu-import",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"systemChooserEvents": 3,
|
||||
"cancellationTransport": "synthetic cancel event; OS chooser intercepted",
|
||||
"selectionTransport": "CDP DOM.setFileInputFiles after trusted menu clicks and Page.fileChooserOpened",
|
||||
"mindmapBluePixels": 18120,
|
||||
"mindmapBlueReference": [
|
||||
77,
|
||||
118,
|
||||
168,
|
||||
56
|
||||
],
|
||||
"assertions": [
|
||||
"trusted image-menu entry",
|
||||
"system chooser event and SVG filter",
|
||||
"synthetic picker cancellation leaves drawing unchanged",
|
||||
"exact system SVG file selection outside vault",
|
||||
"supplied mindmap colors/transparency and decoded pixels",
|
||||
"native geometry and editable Unicode text",
|
||||
"physical save/reopen"
|
||||
],
|
||||
"trustedClicks": 6
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:main:mermaid-convert",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras SVG preview",
|
||||
"trusted Insert and explicit convert choice",
|
||||
"correct scene representation",
|
||||
"physical save/reopen"
|
||||
],
|
||||
"trustedClicks": 3
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:main:mermaid-image",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras SVG preview",
|
||||
"trusted Insert and explicit image choice",
|
||||
"correct scene representation",
|
||||
"physical save/reopen"
|
||||
],
|
||||
"trustedClicks": 3
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:main:mermaid-cancel",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras SVG preview",
|
||||
"trusted Insert and explicit cancel choice",
|
||||
"correct scene representation",
|
||||
"physical save/reopen"
|
||||
],
|
||||
"trustedClicks": 3
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:main:scene-convert-undo-reopen",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted right-click on generated embedded SVG",
|
||||
"in-place grouped replacement at original layer",
|
||||
"shared source and independent sizes preserved",
|
||||
"decoded output pixels",
|
||||
"one-step undo/redo",
|
||||
"physical save/reopen",
|
||||
"source SVG root/ancestor styles apply once",
|
||||
"decoded red pixels retain 30 percent opacity"
|
||||
],
|
||||
"nativeElements": 11,
|
||||
"paintedPixels": 47635,
|
||||
"cssRedPixels": 20000,
|
||||
"trustedClicks": 2
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:popout:image-menu-import",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"systemChooserEvents": 3,
|
||||
"cancellationTransport": "synthetic cancel event; OS chooser intercepted",
|
||||
"selectionTransport": "CDP DOM.setFileInputFiles after trusted menu clicks and Page.fileChooserOpened",
|
||||
"mindmapBluePixels": 18120,
|
||||
"mindmapBlueReference": [
|
||||
77,
|
||||
118,
|
||||
168,
|
||||
56
|
||||
],
|
||||
"assertions": [
|
||||
"trusted image-menu entry",
|
||||
"system chooser event and SVG filter",
|
||||
"synthetic picker cancellation leaves drawing unchanged",
|
||||
"exact system SVG file selection outside vault",
|
||||
"supplied mindmap colors/transparency and decoded pixels",
|
||||
"native geometry and editable Unicode text",
|
||||
"physical save/reopen"
|
||||
],
|
||||
"trustedClicks": 6
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:popout:mermaid-convert",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras SVG preview",
|
||||
"trusted Insert and explicit convert choice",
|
||||
"correct scene representation",
|
||||
"physical save/reopen"
|
||||
],
|
||||
"trustedClicks": 3
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:popout:mermaid-image",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras SVG preview",
|
||||
"trusted Insert and explicit image choice",
|
||||
"correct scene representation",
|
||||
"physical save/reopen"
|
||||
],
|
||||
"trustedClicks": 3
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:popout:mermaid-cancel",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras SVG preview",
|
||||
"trusted Insert and explicit cancel choice",
|
||||
"correct scene representation",
|
||||
"physical save/reopen"
|
||||
],
|
||||
"trustedClicks": 3
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-entry:popout:scene-convert-undo-reopen",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"trusted right-click on generated embedded SVG",
|
||||
"in-place grouped replacement at original layer",
|
||||
"shared source and independent sizes preserved",
|
||||
"decoded output pixels",
|
||||
"one-step undo/redo",
|
||||
"physical save/reopen",
|
||||
"source SVG root/ancestor styles apply once",
|
||||
"decoded red pixels retain 30 percent opacity"
|
||||
],
|
||||
"nativeElements": 11,
|
||||
"paintedPixels": 47637,
|
||||
"cssRedPixels": 20000,
|
||||
"trustedClicks": 2
|
||||
}
|
||||
],
|
||||
"counts": {
|
||||
"native": {
|
||||
"passed": 20,
|
||||
"newUI": 10,
|
||||
"reusedConverter": 10
|
||||
},
|
||||
"pluginFast": {
|
||||
"passed": 549,
|
||||
"newUIController": 15,
|
||||
"newTooling": 3,
|
||||
"newColorsAndPicker": 13,
|
||||
"reused": 518
|
||||
},
|
||||
"measuredSourceSubset": 105,
|
||||
"focusedSVG": 96,
|
||||
"forkOwned": {
|
||||
"passed": 146,
|
||||
"newInsertionTests": 7
|
||||
},
|
||||
"forkBrowser": {
|
||||
"passed": 20,
|
||||
"reused": 20
|
||||
}
|
||||
},
|
||||
"portable": {
|
||||
"pluginBuild": "passed",
|
||||
"libraryBuild": "passed",
|
||||
"bundleChecks": 5,
|
||||
"forkBuild": "passed",
|
||||
"forkFullTypes": "passed",
|
||||
"cleanPackedConsumer": "passed",
|
||||
"audit": "268 paths and 15 checker tests pass",
|
||||
"inventory": "passed",
|
||||
"features": "passed",
|
||||
"lint": "No new findings with matching local declarations; unchanged 16 plugin view errors and one fork ImageMenu import-order warning remain. No exclusions/suppressions added."
|
||||
},
|
||||
"regressions": {
|
||||
"rootCSS": {
|
||||
"failedBefore": {
|
||||
"color": "#0000ff",
|
||||
"opacity": 15
|
||||
},
|
||||
"passedAfter": {
|
||||
"color": "#ff0000",
|
||||
"opacity": 30
|
||||
},
|
||||
"reason": "Initial affine placement preserves the original SVG tree; no wrapper-created selector matches."
|
||||
},
|
||||
"tooling": [
|
||||
"A Chromium solid-color control proves premultiplied alpha quantization; decoded translucent-blue pixels use that independent reference.",
|
||||
"Trusted context-menu input reacquires rerendered buttons; detached, covered and missing targets still fail, verified by three regression cases.",
|
||||
"Obsolete test-only scrollToContent call corrected to supported zoomToFit; assertions retained.",
|
||||
"Packed consumer ignores Yarn npm_execpath and selects the actual npm CLI.",
|
||||
"Artifact-producing builds and artifact readers run in dependency order; cached pinned Chromium selected explicitly."
|
||||
],
|
||||
"localVariables": {
|
||||
"fixture": "tests/fixtures/mermaid-mindmap-css-variables.svg",
|
||||
"strokeColors": [
|
||||
"#4c78a8",
|
||||
"#f58518",
|
||||
"#54a24b",
|
||||
"#e45756"
|
||||
],
|
||||
"rootFill": "#f3f3f3",
|
||||
"blueFill": "#4c78a838",
|
||||
"editableLabels": 13,
|
||||
"scope": "SVG-local variables and fallback tokens; never host theme styles",
|
||||
"limits": {
|
||||
"customPropertiesPerElement": 1024,
|
||||
"chainDepth": 32,
|
||||
"valueCharacters": 8192,
|
||||
"workBudget": 8000000
|
||||
}
|
||||
}
|
||||
},
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {
|
||||
"restored": true,
|
||||
"pluginEnabled": true,
|
||||
"extrasEnabled": true,
|
||||
"theme": "moonstone",
|
||||
"restoredFixturePaths": []
|
||||
},
|
||||
"settling": [
|
||||
{
|
||||
"id": "svg-paint-fallback",
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"id": "svg-editable-text",
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"id": "svg-entry-points",
|
||||
"status": "passed",
|
||||
"contexts": [
|
||||
{
|
||||
"label": "behavior:main",
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"label": "behavior:popout",
|
||||
"status": "passed"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"diagnostics": {
|
||||
"consoleErrors": [],
|
||||
"unexpectedConsoleErrors": [],
|
||||
"cliErrors": {
|
||||
"raw": "No errors captured.",
|
||||
"diagnostics": [],
|
||||
"unexpected": []
|
||||
},
|
||||
"cleanupCLIErrors": {
|
||||
"raw": "No errors captured.",
|
||||
"diagnostics": [],
|
||||
"unexpected": []
|
||||
},
|
||||
"windowErrors": [],
|
||||
"browserDiagnostics": {
|
||||
"diagnostics": [],
|
||||
"unexpected": []
|
||||
}
|
||||
},
|
||||
"uiDiagnostics": {
|
||||
"consoleErrors": [],
|
||||
"windowErrors": [],
|
||||
"browserNotifications": []
|
||||
},
|
||||
"productionScope": {
|
||||
"forkFiles": 4,
|
||||
"hostProtocol": 4,
|
||||
"extrasAPI": "unchanged",
|
||||
"versionsAndDependencies": "unchanged",
|
||||
"PDF": "unchanged"
|
||||
},
|
||||
"limitations": [
|
||||
"Focused Windows main/popout UI run; complete 357-case native profile not rerun.",
|
||||
"Physical mobile, other desktop hosts, restored/cold-start popouts and live AI providers not run.",
|
||||
"System chooser is intercepted for automation; selection uses CDP and cancellation uses an explicitly synthetic cancel event. Physical OS-dialog and mobile chooser navigation remain manual checks.",
|
||||
"Reset image crops before conversion; advanced CSS/font/layout/effect limits still apply.",
|
||||
"Unpublished paired protocol-4 checkpoint; install/publish matching fork package before release."
|
||||
],
|
||||
"followUpNewPortableCases": 16,
|
||||
"installedExtrasHashes": {
|
||||
"main": "c377df5b7f286c7306604827fadcb363313cebc5a9953b7d77e106fdb611f7d8",
|
||||
"manifest": "d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611",
|
||||
"styles": "3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda"
|
||||
},
|
||||
"visualInspection": {
|
||||
"main": "Converted pie retains blue/orange sectors, labels and white percentage text",
|
||||
"popout": "Same decoded color distribution as main"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,296 @@
|
||||
{
|
||||
"date": "2026-10-31",
|
||||
"suiteId": "svg-paint-fallback",
|
||||
"status": "passed",
|
||||
"nativeCases": [
|
||||
{
|
||||
"testId": "native:svg-paint:render-save-reopen",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"EA import succeeds",
|
||||
"all geometry retained",
|
||||
"decoded export has fallback and normal colors",
|
||||
"save acknowledged",
|
||||
"exact IDs/colors survive reopen"
|
||||
],
|
||||
"bluePixels": 400,
|
||||
"redPixels": 400
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-pie",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback"
|
||||
],
|
||||
"nativeElements": 6,
|
||||
"limitations": [
|
||||
"SVG labels/effects are not preserved as editable text or semantic bindings"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-mindmap",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback"
|
||||
],
|
||||
"nativeElements": 2,
|
||||
"limitations": [
|
||||
"SVG labels/effects are not preserved as editable text or semantic bindings"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-gantt",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback"
|
||||
],
|
||||
"nativeElements": 10,
|
||||
"limitations": [
|
||||
"SVG labels/effects are not preserved as editable text or semantic bindings"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-journey",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback"
|
||||
],
|
||||
"nativeElements": 14,
|
||||
"limitations": [
|
||||
"SVG labels/effects are not preserved as editable text or semantic bindings"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-timeline",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback"
|
||||
],
|
||||
"nativeElements": 6,
|
||||
"limitations": [
|
||||
"SVG labels/effects are not preserved as editable text or semantic bindings"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-git",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback"
|
||||
],
|
||||
"nativeElements": 4,
|
||||
"limitations": [
|
||||
"SVG labels/effects are not preserved as editable text or semantic bindings"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-quadrant",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback"
|
||||
],
|
||||
"nativeElements": 5,
|
||||
"limitations": [
|
||||
"SVG labels/effects are not preserved as editable text or semantic bindings"
|
||||
]
|
||||
}
|
||||
],
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {
|
||||
"restored": true,
|
||||
"pluginEnabled": true,
|
||||
"extrasEnabled": true,
|
||||
"theme": "moonstone",
|
||||
"restoredFixturePaths": []
|
||||
},
|
||||
"settlingStatus": "passed",
|
||||
"diagnostics": {
|
||||
"cliErrors": {
|
||||
"raw": "No errors captured.",
|
||||
"diagnostics": [],
|
||||
"unexpected": []
|
||||
},
|
||||
"consoleErrors": [],
|
||||
"unexpectedConsoleErrors": [],
|
||||
"cleanupCLIErrors": {
|
||||
"raw": "No errors captured.",
|
||||
"diagnostics": [],
|
||||
"unexpected": []
|
||||
},
|
||||
"windowErrors": [],
|
||||
"browserDiagnostics": {
|
||||
"diagnostics": [],
|
||||
"unexpected": []
|
||||
}
|
||||
},
|
||||
"sources": {
|
||||
"fork": {
|
||||
"repository": "zsviczian/excalidraw",
|
||||
"commit": "745d62f7071be4da192f595bb75e140a7b741fc0",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "e170c0e3c4feedc65a336746b033423a05e7401845ff51f75ec6a7c71d234bf2",
|
||||
"buildCommand": "yarn build:esm && yarn build:obsidian",
|
||||
"toolchain": {
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"role": "production-js",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.production.min.js",
|
||||
"sha256": "38edbad784def40c82bca432ee38592995468778fe413504fff860c9607b532e",
|
||||
"bytes": 6507773
|
||||
},
|
||||
{
|
||||
"role": "production-css",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.production.min.css",
|
||||
"sha256": "0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002",
|
||||
"bytes": 309492
|
||||
},
|
||||
{
|
||||
"role": "development-js",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.development.js",
|
||||
"sha256": "5fbb5f15c1135eb64a3b3b6091fd99e3395be0f79ee1c3a4c3dac431964f714a",
|
||||
"bytes": 29985663
|
||||
},
|
||||
{
|
||||
"role": "development-css",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.development.css",
|
||||
"sha256": "192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883",
|
||||
"bytes": 350666
|
||||
}
|
||||
]
|
||||
},
|
||||
"extras": {
|
||||
"repository": "zsviczian/obsidian-excalidraw-extras",
|
||||
"commit": "df1f2b5659259c43780c5ef07cd433fa6c3e14fa",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "a24120b8bb7df3ca07f10ad20893355160f0f335332e9f915c97cb207160f64f",
|
||||
"buildCommand": "npm run build && npm run build:api",
|
||||
"toolchain": {
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"role": "main",
|
||||
"relativePath": "dist/main.js",
|
||||
"sha256": "c377df5b7f286c7306604827fadcb363313cebc5a9953b7d77e106fdb611f7d8",
|
||||
"bytes": 2540802
|
||||
},
|
||||
{
|
||||
"role": "manifest",
|
||||
"relativePath": "dist/manifest.json",
|
||||
"sha256": "d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611",
|
||||
"bytes": 303
|
||||
},
|
||||
{
|
||||
"role": "styles",
|
||||
"relativePath": "dist/styles.css",
|
||||
"sha256": "3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda",
|
||||
"bytes": 1427
|
||||
}
|
||||
]
|
||||
},
|
||||
"plugin": {
|
||||
"repository": "zsviczian/obsidian-excalidraw-plugin",
|
||||
"commit": "ed99e793168a601a6151969ec80ce7232d9af5b0",
|
||||
"dirty": true,
|
||||
"diffHash": "ef735b4d91a0952d7bee6aa645e111310e01eb9e08e0c5efc75e91457039e9e9",
|
||||
"lockfileHash": "6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c",
|
||||
"buildCommand": "npm run build",
|
||||
"toolchain": {
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"role": "main",
|
||||
"relativePath": "dist/main.js",
|
||||
"sha256": "f73848b0216b2971c88b746e55e6e724ed0823f9249ce979d0e93fb9b4a8e18d",
|
||||
"bytes": 5031850
|
||||
},
|
||||
{
|
||||
"role": "manifest",
|
||||
"relativePath": "dist/manifest.json",
|
||||
"sha256": "4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0",
|
||||
"bytes": 470
|
||||
},
|
||||
{
|
||||
"role": "styles",
|
||||
"relativePath": "dist/styles.css",
|
||||
"sha256": "4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d",
|
||||
"bytes": 354364
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"portable": {
|
||||
"focusedSVG": {
|
||||
"passed": 59,
|
||||
"newCases": 4,
|
||||
"failedBeforeFix": 4
|
||||
},
|
||||
"pluginFast": 507,
|
||||
"wholeModuleCoverage": 84,
|
||||
"cliOffline": 25,
|
||||
"productionBuild": "passed",
|
||||
"publicLibraryBuild": "passed",
|
||||
"touchedTypescriptLint": "9 files passed with zero warnings",
|
||||
"wholeRepositoryLint": "118 errors; no edits were made to unrelated lint failures",
|
||||
"inventory": "passed",
|
||||
"featureRegistry": "passed"
|
||||
},
|
||||
"limitations": [
|
||||
"Focused main-window native run; full 357-case acceptance profile not rerun.",
|
||||
"Mermaid SVG conversion checks nonempty geometry, not preservation of text, effects or semantic bindings.",
|
||||
"Physical mobile and macOS/Linux not run."
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,382 @@
|
||||
{
|
||||
"date": "2026-10-31",
|
||||
"suiteId": "svg-paint-and-editable-text",
|
||||
"status": "passed",
|
||||
"startedAt": "2026-10-31T08:25:22.817Z",
|
||||
"completedAt": "2026-10-31T08:25:34.744Z",
|
||||
"environment": {
|
||||
"platform": "win32",
|
||||
"node": "v22.22.3",
|
||||
"obsidian": "1.14.5 (installer 1.14.5)",
|
||||
"electron": "43.8.3"
|
||||
},
|
||||
"vault": ".test-work/vaults/excalidraw-auto-test/",
|
||||
"sources": {
|
||||
"fork": {
|
||||
"repository": "zsviczian/excalidraw",
|
||||
"commit": "745d62f7071be4da192f595bb75e140a7b741fc0",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "e170c0e3c4feedc65a336746b033423a05e7401845ff51f75ec6a7c71d234bf2",
|
||||
"buildCommand": "yarn build:esm && yarn build:obsidian",
|
||||
"toolchain": {
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"role": "production-js",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.production.min.js",
|
||||
"sha256": "38edbad784def40c82bca432ee38592995468778fe413504fff860c9607b532e",
|
||||
"bytes": 6507773
|
||||
},
|
||||
{
|
||||
"role": "production-css",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.production.min.css",
|
||||
"sha256": "0337e307594435b5125d216c9570aad9b5d4460908f3f0e716baf1daa87ac002",
|
||||
"bytes": 309492
|
||||
},
|
||||
{
|
||||
"role": "development-js",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.development.js",
|
||||
"sha256": "5fbb5f15c1135eb64a3b3b6091fd99e3395be0f79ee1c3a4c3dac431964f714a",
|
||||
"bytes": 29985663
|
||||
},
|
||||
{
|
||||
"role": "development-css",
|
||||
"relativePath": "packages/excalidraw/dist/obsidian/excalidraw.development.css",
|
||||
"sha256": "192fb4463825f0b870d9f59862f6ae54056e591226546608958fe9e3c937b883",
|
||||
"bytes": 350666
|
||||
}
|
||||
]
|
||||
},
|
||||
"extras": {
|
||||
"repository": "zsviczian/obsidian-excalidraw-extras",
|
||||
"commit": "df1f2b5659259c43780c5ef07cd433fa6c3e14fa",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "a24120b8bb7df3ca07f10ad20893355160f0f335332e9f915c97cb207160f64f",
|
||||
"buildCommand": "npm run build && npm run build:api",
|
||||
"toolchain": {
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"role": "main",
|
||||
"relativePath": "dist/main.js",
|
||||
"sha256": "c377df5b7f286c7306604827fadcb363313cebc5a9953b7d77e106fdb611f7d8",
|
||||
"bytes": 2540802
|
||||
},
|
||||
{
|
||||
"role": "manifest",
|
||||
"relativePath": "dist/manifest.json",
|
||||
"sha256": "d7615e0322673617a59ca067dde4a59624fe2d947c93c025ea631da7ad920611",
|
||||
"bytes": 303
|
||||
},
|
||||
{
|
||||
"role": "styles",
|
||||
"relativePath": "dist/styles.css",
|
||||
"sha256": "3de04a6882b3e43b48f81231962c5f52afbd7146cc986fb0c86631ac5de30eda",
|
||||
"bytes": 1427
|
||||
}
|
||||
]
|
||||
},
|
||||
"plugin": {
|
||||
"repository": "zsviczian/obsidian-excalidraw-plugin",
|
||||
"commit": "0c994859ed8b8aa0c5a80c111815a5b8413ece5b",
|
||||
"dirty": false,
|
||||
"diffHash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
|
||||
"lockfileHash": "6a52b4b078cb94835b4c9f11c025aaa132baafb7b0e885c8a91835e80c2cfb5c",
|
||||
"buildCommand": "npm run build",
|
||||
"toolchain": {
|
||||
"node": "v22.22.3",
|
||||
"platform": "win32"
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"role": "main",
|
||||
"relativePath": "dist/main.js",
|
||||
"sha256": "bf05168f57e66718452b010e770d57722ff11135584de17877dcdf8b90d6f004",
|
||||
"bytes": 5033282
|
||||
},
|
||||
{
|
||||
"role": "manifest",
|
||||
"relativePath": "dist/manifest.json",
|
||||
"sha256": "4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0",
|
||||
"bytes": 470
|
||||
},
|
||||
{
|
||||
"role": "styles",
|
||||
"relativePath": "dist/styles.css",
|
||||
"sha256": "4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d",
|
||||
"bytes": 354364
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"installedPluginHashes": {
|
||||
"main.js": "bf05168f57e66718452b010e770d57722ff11135584de17877dcdf8b90d6f004",
|
||||
"manifest.json": "4880b885c50643ef848d31cea829776ca2e96747353aee334d71e875f79d31c0",
|
||||
"styles.css": "4f71f6598b45de2e1ae94c20b7a190397a8b1150cd78b29e10fdf4638b6e6c7d"
|
||||
},
|
||||
"mainBytes": 5033282,
|
||||
"releaseHeadroomBytes": 209598,
|
||||
"nativeCases": [
|
||||
{
|
||||
"testId": "native:svg-paint:render-save-reopen",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"EA import succeeds",
|
||||
"all geometry retained",
|
||||
"decoded export has fallback and normal colors",
|
||||
"save acknowledged",
|
||||
"exact IDs/colors survive reopen"
|
||||
],
|
||||
"bluePixels": 400,
|
||||
"redPixels": 400
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-pie",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 11,
|
||||
"textElements": 5,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-mindmap",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 4,
|
||||
"textElements": 2,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-gantt",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 17,
|
||||
"textElements": 7,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-journey",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 23,
|
||||
"textElements": 9,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-timeline",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 9,
|
||||
"textElements": 3,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-git",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 6,
|
||||
"textElements": 2,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-paint:mermaid-quadrant",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"real Extras returns SVG-backed image",
|
||||
"actual SVG imports through EA",
|
||||
"nonempty native geometry without an image fallback",
|
||||
"expected SVG labels retained as editable text"
|
||||
],
|
||||
"nativeElements": 7,
|
||||
"textElements": 2,
|
||||
"limitations": [
|
||||
"Fonts/complex text layout may differ; effects and semantic bindings are not reconstructed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-text:labels-render-edit-save-reopen",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"all source labels become native text",
|
||||
"raw/editable text and positive measured geometry",
|
||||
"real native preview export",
|
||||
"decoded text-only export contains visible glyphs",
|
||||
"native text edit",
|
||||
"acknowledged save and exact IDs/text after reopen"
|
||||
],
|
||||
"labels": 11,
|
||||
"nativeElements": 41,
|
||||
"glyphPixels": 5607
|
||||
},
|
||||
{
|
||||
"testId": "native:svg-text:popout-reopen",
|
||||
"featureIds": [
|
||||
"P03",
|
||||
"P09"
|
||||
],
|
||||
"status": "passed",
|
||||
"assertions": [
|
||||
"saved editable labels load in popout",
|
||||
"edited value preserved",
|
||||
"owning-window preview export"
|
||||
]
|
||||
}
|
||||
],
|
||||
"caseCounts": {
|
||||
"native": {
|
||||
"passed": 10,
|
||||
"newTextCases": 2,
|
||||
"reusedAndExtendedCases": 8
|
||||
},
|
||||
"fast": {
|
||||
"passed": 518,
|
||||
"newTextCases": 11,
|
||||
"reusedCases": 507
|
||||
},
|
||||
"measuredSourceSubset": 85,
|
||||
"focusedSVG": 69,
|
||||
"cliOfflineSeparate": 25
|
||||
},
|
||||
"suppliedSVG": {
|
||||
"sha256": "d89b769808735f64b6cdfa8ec232dc336e9489d7862f49a4437d757494af35c8",
|
||||
"originalUnchanged": true,
|
||||
"labelsIncludingFooter": 11,
|
||||
"sourceAndRenderedImageNotPublished": true
|
||||
},
|
||||
"visualInspection": "All ten mindmap labels and the footer are present in the native export; fonts/layout remain approximations.",
|
||||
"cleanup": "passed",
|
||||
"baselineRestoration": {
|
||||
"restored": true,
|
||||
"pluginEnabled": true,
|
||||
"extrasEnabled": true,
|
||||
"theme": "moonstone",
|
||||
"restoredFixturePaths": []
|
||||
},
|
||||
"settling": [
|
||||
{
|
||||
"id": "svg-paint-fallback",
|
||||
"status": "passed"
|
||||
},
|
||||
{
|
||||
"id": "svg-editable-text",
|
||||
"status": "passed"
|
||||
}
|
||||
],
|
||||
"diagnostics": {
|
||||
"cliErrors": {
|
||||
"raw": "No errors captured.",
|
||||
"diagnostics": [],
|
||||
"unexpected": []
|
||||
},
|
||||
"consoleErrors": [],
|
||||
"unexpectedConsoleErrors": [],
|
||||
"cleanupCLIErrors": {
|
||||
"raw": "No errors captured.",
|
||||
"diagnostics": [],
|
||||
"unexpected": []
|
||||
},
|
||||
"windowErrors": [],
|
||||
"browserDiagnostics": {
|
||||
"diagnostics": [],
|
||||
"unexpected": []
|
||||
}
|
||||
},
|
||||
"portable": {
|
||||
"productionBuild": "passed",
|
||||
"publicLibraryBuild": "passed",
|
||||
"bundle": 5,
|
||||
"inventory": "passed",
|
||||
"features": "passed",
|
||||
"touchedTypeScriptLint": "18 files; zero errors/warnings",
|
||||
"wholeRepositoryLint": "118 existing errors; zero warnings"
|
||||
},
|
||||
"limitations": [
|
||||
"Focused Windows main-window and popout checks; complete 357-case native matrix not rerun.",
|
||||
"Physical mobile and macOS/Linux not run.",
|
||||
"Complex fonts/formatting/layout, unsupported effects and semantic bindings are not reproduced."
|
||||
]
|
||||
}
|
||||
@@ -1,331 +1,573 @@
|
||||
/*
|
||||
# Deconstruct Selected Elements Into New Drawing
|
||||
|
||||

|
||||
|
||||
Select some elements in the scene. The script will take these elements and move them into a new Excalidraw file, and open that file. The selected elements will also be replaced in your original drawing with the embedded Excalidraw file (the one that was just created). You will be prompted for the file name of the new deconstructed image. The script is useful if you want to break a larger drawing into smaller reusable parts that you want to reference in multiple drawings.
|
||||
Select elements in the current Excalidraw scene. The script moves the selected elements into a new Excalidraw file, replaces the original selection with an embedded reference to that new drawing, and optionally opens the new file.
|
||||
|
||||
<a href="https://www.youtube.com/watch?v=HRtaaD34Zzg" target="_blank"><img src ="https://i.ytimg.com/vi/HRtaaD34Zzg/maxresdefault.jpg" style="width:560px;"></a>
|
||||
The modal lets you choose the destination folder, filename, template, whether to open the new drawing, whether to reuse an adjacent tab, and whether the inserted embed should be anchored at 100% size.
|
||||
|
||||
<a href="https://www.youtube.com/watch?v=mvMQcz401yo" target="_blank"><img src ="https://i.ytimg.com/vi/mvMQcz401yo/maxresdefault.jpg" style="width:560px;"></a>
|
||||
Destination names are validated before creation. Filenames reject path separators and characters that are invalid or unsafe across common vault platforms (`\\ / : * ? " < > |` and control characters). Folder paths use `/` only as the path separator and validate each folder name independently.
|
||||
|
||||
```js
|
||||
## Usage
|
||||
|
||||
1. Select one or more elements in an Excalidraw drawing.
|
||||
2. Run **Deconstruct Selected Elements Into New Drawing**.
|
||||
3. Choose the destination folder, file name, and optional template.
|
||||
4. Choose **Insert** or **Insert @100%**.
|
||||
|
||||
The default filename and additional template paths can be configured through the script settings.
|
||||
|
||||
## Original demonstrations
|
||||
|
||||

|
||||

|
||||
|
||||
Build version: 2026-09-04T17:17:37.900Z
|
||||
|
||||
```javascript
|
||||
*/
|
||||
|
||||
if(!ea.verifyMinimumPluginVersion || !ea.verifyMinimumPluginVersion("2.7.3")) {
|
||||
new Notice("This script requires a newer version of Excalidraw. Please install the latest version.");
|
||||
return;
|
||||
}
|
||||
|
||||
// -------------------------------
|
||||
// Utility variables and functions
|
||||
// -------------------------------
|
||||
const excalidrawTemplates = ea.getListOfTemplateFiles();
|
||||
if(typeof window.ExcalidrawDeconstructElements === "undefined") {
|
||||
window.ExcalidrawDeconstructElements = {
|
||||
openDeconstructedImage: true,
|
||||
reuseTab: true,
|
||||
templatePath: excalidrawTemplates?.[0]?.path??""
|
||||
};
|
||||
} else if (typeof window.ExcalidrawDeconstructElements.reuseTab === "undefined") {
|
||||
window.ExcalidrawDeconstructElements.reuseTab = true;
|
||||
}
|
||||
|
||||
// Helper class for Folder Autocomplete
|
||||
class FolderSuggest extends ea.obsidian.AbstractInputSuggest {
|
||||
constructor(app, inputEl) {
|
||||
super(app, inputEl);
|
||||
this.inputEl = inputEl;
|
||||
// Script bundle
|
||||
/* EA Script — deconstruct-selected-elements-into-new-drawing | ea-scripts v1.0.0 */
|
||||
(() => {
|
||||
// src/sharedUtils/i18n.ts
|
||||
function interpolateTranslation(template, params = {}) {
|
||||
return Object.entries(params).reduce(
|
||||
(result, [key, value]) => result.split(`{${key}}`).join(String(value)),
|
||||
template
|
||||
);
|
||||
}
|
||||
|
||||
getSuggestions(query) {
|
||||
const folders = app.vault.getAllLoadedFiles().filter(f => f instanceof ea.obsidian.TFolder);
|
||||
const lowerQuery = query.toLowerCase();
|
||||
|
||||
// Filter folders that match the query
|
||||
const matches = folders.filter(f => f.path.toLowerCase().includes(lowerQuery));
|
||||
|
||||
// Custom Sort
|
||||
matches.sort((a, b) => {
|
||||
const aPath = a.path;
|
||||
const bPath = b.path;
|
||||
const aLower = aPath.toLowerCase();
|
||||
const bLower = bPath.toLowerCase();
|
||||
|
||||
// Priority 1: Starts with query (e.g. "Projects" comes before "Hobbies/Projects")
|
||||
const aStarts = aLower.startsWith(lowerQuery);
|
||||
const bStarts = bLower.startsWith(lowerQuery);
|
||||
|
||||
if (aStarts && !bStarts) return -1;
|
||||
if (!aStarts && bStarts) return 1;
|
||||
|
||||
// Priority 2: Alphabetical
|
||||
return aPath.localeCompare(bPath);
|
||||
});
|
||||
|
||||
return matches.map(f => f.path);
|
||||
}
|
||||
|
||||
renderSuggestion(value, el) {
|
||||
el.setText(value);
|
||||
}
|
||||
|
||||
selectSuggestion(value, evt) {
|
||||
this.inputEl.value = value;
|
||||
this.inputEl.dispatchEvent(new Event('input'));
|
||||
this.close();
|
||||
}
|
||||
}
|
||||
|
||||
let settings = ea.getScriptSettings();
|
||||
//set default values on first run
|
||||
if(!settings["Templates"]) {
|
||||
settings = {
|
||||
"Templates" : {
|
||||
value: "",
|
||||
description: "Comma-separated list of template filepaths"
|
||||
}
|
||||
};
|
||||
await ea.setScriptSettings(settings);
|
||||
}
|
||||
|
||||
if(!settings["Default file name"]) {
|
||||
settings["Default file name"] = {
|
||||
value: "deconstructed",
|
||||
description: "The default filename to use when deconstructing elements."
|
||||
};
|
||||
await ea.setScriptSettings(settings);
|
||||
}
|
||||
|
||||
const DEFAULT_FILENAME = settings["Default file name"].value;
|
||||
|
||||
const templates = settings["Templates"]
|
||||
.value
|
||||
.split(",")
|
||||
.map(p=>app.metadataCache.getFirstLinkpathDest(p.trim(),""))
|
||||
.concat(excalidrawTemplates)
|
||||
.filter(f=>Boolean(f))
|
||||
.sort((a,b) => a.basename.localeCompare(b.basename));
|
||||
|
||||
|
||||
// ------------------------------------
|
||||
// Prepare elements to be deconstructed
|
||||
// ------------------------------------
|
||||
const els = ea.getViewSelectedElements();
|
||||
if (els.length === 0) {
|
||||
new Notice("You must select elements first")
|
||||
return;
|
||||
}
|
||||
|
||||
const bb = ea.getBoundingBox(els);
|
||||
ea.copyViewElementsToEAforEditing(els);
|
||||
|
||||
// Handle Image elements logic from original script
|
||||
ea.getElements().filter(el=>el.type==="image").forEach(el=>{
|
||||
const img = ea.targetView.excalidrawData.getFile(el.fileId);
|
||||
const path = (img?.linkParts?.original)??(img?.file?.path);
|
||||
const hyperlink = img?.hyperlink;
|
||||
if(img && (path || hyperlink)) {
|
||||
const colorMap = ea.getColorMapForImageElement(el);
|
||||
ea.imagesDict[el.fileId] = {
|
||||
mimeType: img.mimeType,
|
||||
id: el.fileId,
|
||||
dataURL: img.img,
|
||||
created: img.mtime,
|
||||
file: path,
|
||||
hyperlink,
|
||||
hasSVGwithBitmap: img.isSVGwithBitmap,
|
||||
latex: null,
|
||||
colorMap,
|
||||
function createTranslator(requestedLocale, catalogs, fallbackLocale = "en") {
|
||||
const locale = requestedLocale.toLowerCase().replaceAll("_", "-");
|
||||
const baseLocale = locale.split("-")[0] ?? locale;
|
||||
return (key, params = {}) => {
|
||||
const template = catalogs[locale]?.[key] ?? catalogs[baseLocale]?.[key] ?? catalogs[fallbackLocale]?.[key] ?? key;
|
||||
return interpolateTranslation(template, params);
|
||||
};
|
||||
return;
|
||||
}
|
||||
const equation = ea.targetView.excalidrawData.getEquation(el.fileId);
|
||||
const eqImg = ea.targetView.getScene()?.files[el.fileId]
|
||||
if(equation && eqImg) {
|
||||
ea.imagesDict[el.fileId] = {
|
||||
mimeType: eqImg.mimeType,
|
||||
id: el.fileId,
|
||||
dataURL: eqImg.dataURL,
|
||||
created: eqImg.created,
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/de.ts
|
||||
var de = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/en.ts
|
||||
var en = {
|
||||
requiresNewerVersion: "This script requires Excalidraw 2.27.0 or newer. Please install the latest version.",
|
||||
selectElements: "You must select elements first.",
|
||||
templatesSettingDesc: "Comma-separated list of template filepaths",
|
||||
defaultFilenameSettingDesc: "The default filename to use when deconstructing elements.",
|
||||
modalTitle: "Deconstruct Elements",
|
||||
folderPath: "Folder path",
|
||||
fileName: "File name",
|
||||
selectTemplate: "Select template",
|
||||
noTemplate: "none",
|
||||
openDeconstructedImage: "Open deconstructed image",
|
||||
reuseExistingTab: "Reuse existing tab",
|
||||
reuseExistingTabDesc: "If available, open in an adjacent tab. Otherwise open in a new tab.",
|
||||
insert: "Insert",
|
||||
insertTooltip: "Insert without anchoring",
|
||||
insertAt100: "Insert @100%",
|
||||
insertAt100Tooltip: "Anchor to 100% size",
|
||||
filenameRequired: "Filename is required.",
|
||||
invalidFilenameCharacter: 'File name contains an invalid character: "{character}".',
|
||||
invalidFolderCharacter: 'Folder path contains an invalid character: "{character}".',
|
||||
invalidFilename: 'Invalid file name: "{name}".',
|
||||
invalidFolderPath: 'Invalid folder path near: "{name}".',
|
||||
somethingWentWrong: "Something went wrong while creating the deconstructed drawing.",
|
||||
deconstructionReady: "Deconstruction ready."
|
||||
};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/es.ts
|
||||
var es = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/fr.ts
|
||||
var fr = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/ru.ts
|
||||
var ru = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/zh-cn.ts
|
||||
var zhCn = {};
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/lang/index.ts
|
||||
var CATALOGS = { en, de, es, fr, ru, "zh-cn": zhCn };
|
||||
function createDeconstructTranslator(locale) {
|
||||
return createTranslator(locale, CATALOGS);
|
||||
}
|
||||
|
||||
// src/sharedUtils/eaEmbeddedFiles.ts
|
||||
function copyImageFile(ea2, element, fileId) {
|
||||
const view = ea2.targetView;
|
||||
if (!view) return false;
|
||||
const image = view.excalidrawData.getFile(fileId);
|
||||
const filePath = image?.linkParts?.original ?? image?.file?.path;
|
||||
const hyperlink = image?.hyperlink;
|
||||
if (!image || !filePath && !hyperlink) return false;
|
||||
ea2.imagesDict[fileId] = {
|
||||
mimeType: image.mimeType,
|
||||
id: fileId,
|
||||
dataURL: image.img,
|
||||
created: image.mtime,
|
||||
file: filePath,
|
||||
hyperlink,
|
||||
hasSVGwithBitmap: image.isSVGwithBitmap,
|
||||
latex: null,
|
||||
colorMap: ea2.getColorMapForImageElement(element)
|
||||
};
|
||||
return true;
|
||||
}
|
||||
function copyEquationFile(ea2, element, fileId) {
|
||||
const view = ea2.targetView;
|
||||
if (!view) return;
|
||||
const equation = view.excalidrawData.getEquation(fileId);
|
||||
const sceneFile = view.getScene()?.files[fileId];
|
||||
if (!equation || !sceneFile) return;
|
||||
ea2.imagesDict[fileId] = {
|
||||
mimeType: sceneFile.mimeType,
|
||||
id: fileId,
|
||||
dataURL: sceneFile.dataURL,
|
||||
created: sceneFile.created,
|
||||
file: null,
|
||||
hasSVGwithBitmap: null,
|
||||
latex: equation.latex,
|
||||
latex: equation.latex
|
||||
};
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// ----------------------
|
||||
// Execution Logic
|
||||
// ----------------------
|
||||
const executeDeconstruction = async (folderPath, fileName, shouldAnchor) => {
|
||||
// Ensure filename has extension
|
||||
if (!fileName.endsWith(".md")) fileName += ".md";
|
||||
|
||||
// Construct full path
|
||||
// normalizePath handles cases where folderPath might be empty or root
|
||||
const fullPath = ea.obsidian.normalizePath(`${folderPath}/${fileName}`);
|
||||
|
||||
// Separate back into folder and filename for ea.create
|
||||
const pathParts = fullPath.split("/");
|
||||
const finalFileName = pathParts.pop();
|
||||
const finalFolderName = pathParts.join("/");
|
||||
|
||||
// We use silent: true to prevent ea.create from opening the file automatically.
|
||||
// We handle opening manually based on user preference.
|
||||
const newPath = await ea.create ({
|
||||
filename: finalFileName,
|
||||
foldername: finalFolderName,
|
||||
templatePath: window.ExcalidrawDeconstructElements.templatePath,
|
||||
onNewPane: true,
|
||||
silent: true
|
||||
});
|
||||
|
||||
let f = app.vault.getAbstractFileByPath(newPath);
|
||||
let counter = 0;
|
||||
while((!f || !ea.isExcalidrawFile(f)) && counter++<100) {
|
||||
await sleep(50);
|
||||
f = app.vault.getAbstractFileByPath(newPath);
|
||||
}
|
||||
|
||||
if(!f || !ea.isExcalidrawFile(f)) {
|
||||
new Notice("Something went wrong");
|
||||
return;
|
||||
}
|
||||
|
||||
let padding = parseFloat(app.metadataCache.getCache(f.path)?.frontmatter["excalidraw-export-padding"]);
|
||||
if(isNaN(padding)) {
|
||||
padding = ea.plugin.settings.exportPaddingSVG;
|
||||
}
|
||||
|
||||
// Remove elements from current view and replace with image of new file
|
||||
ea.getElements().forEach(el=>el.isDeleted = true);
|
||||
await ea.addImage(bb.topX-padding, bb.topY-padding, f, false, shouldAnchor);
|
||||
await ea.addElementsToView(false, true, true);
|
||||
ea.getExcalidrawAPI().history.clear();
|
||||
|
||||
if(window.ExcalidrawDeconstructElements.openDeconstructedImage) {
|
||||
const reuse = window.ExcalidrawDeconstructElements.reuseTab;
|
||||
if (reuse) {
|
||||
ea.openFileInNewOrAdjacentLeaf(f);
|
||||
} else {
|
||||
// Force new tab
|
||||
await app.workspace.getLeaf('tab').openFile(f);
|
||||
function copyEmbeddedFilesToEa(ea2, elements) {
|
||||
for (const element of elements) {
|
||||
if (element.type !== "image" || !element.fileId) continue;
|
||||
if (!copyImageFile(ea2, element, element.fileId)) {
|
||||
copyEquationFile(ea2, element, element.fileId);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
new Notice("Deconstruction ready");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// ----------------------
|
||||
// Floating Modal UI
|
||||
// ----------------------
|
||||
|
||||
const modal = new ea.FloatingModal(ea.plugin.app);
|
||||
modal.titleEl.setText("Deconstruct Elements");
|
||||
|
||||
modal.onOpen = () => {
|
||||
const content = modal.contentEl;
|
||||
content.empty();
|
||||
|
||||
// -- Folder Path Input --
|
||||
const folderDiv = content.createDiv({ cls: "setting-item" });
|
||||
folderDiv.createDiv({ cls: "setting-item-info" }).createEl("label", { text: "Folder path" });
|
||||
const folderControl = folderDiv.createDiv({ cls: "setting-item-control" });
|
||||
const folderInput = new ea.obsidian.TextComponent(folderControl);
|
||||
|
||||
// Set default folder to current file's parent
|
||||
const currentFolder = ea.targetView.file.parent.path;
|
||||
folderInput.setValue(currentFolder);
|
||||
folderInput.inputEl.style.width = "100%";
|
||||
|
||||
// Attach Autocomplete
|
||||
new FolderSuggest(ea.plugin.app, folderInput.inputEl);
|
||||
|
||||
// -- Filename Input --
|
||||
const fileDiv = content.createDiv({ cls: "setting-item" });
|
||||
fileDiv.createDiv({ cls: "setting-item-info" }).createEl("label", { text: "File name" });
|
||||
const fileControl = fileDiv.createDiv({ cls: "setting-item-control" });
|
||||
const fileInput = new ea.obsidian.TextComponent(fileControl);
|
||||
fileInput.setValue(DEFAULT_FILENAME);
|
||||
fileInput.inputEl.style.width = "100%";
|
||||
|
||||
// Set focus to file input
|
||||
setTimeout(() => fileInput.inputEl.focus(), 50);
|
||||
|
||||
// -- Template Dropdown --
|
||||
new ea.obsidian.Setting(content)
|
||||
.setName(`Select template`)
|
||||
.addDropdown(dropdown => {
|
||||
templates.forEach(file => dropdown.addOption(file.path, file.basename));
|
||||
if(templates.length === 0) dropdown.addOption(null, "none");
|
||||
dropdown
|
||||
.setValue(window.ExcalidrawDeconstructElements.templatePath)
|
||||
.onChange(value => {
|
||||
window.ExcalidrawDeconstructElements.templatePath = value;
|
||||
})
|
||||
// src/sharedUtils/vaultPaths.ts
|
||||
var INVALID_FILE_NAME_CHARACTER = /[\\/:*?"<>|\u0000-\u001F]/u;
|
||||
var INVALID_FOLDER_SEGMENT_CHARACTER = /[\\:*?"<>|\u0000-\u001F]/u;
|
||||
var WINDOWS_RESERVED_NAME = /^(?:con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/iu;
|
||||
function isVaultRootFolderPath(folderPath) {
|
||||
return folderPath === "" || folderPath === "/";
|
||||
}
|
||||
function firstInvalidCharacter(value, pattern) {
|
||||
return value.match(pattern)?.[0] ?? null;
|
||||
}
|
||||
function validateSegment(segment, invalidCharacterPattern, allowEmpty) {
|
||||
if (!segment) {
|
||||
return allowEmpty ? { valid: true } : { valid: false, reason: "empty", segment };
|
||||
}
|
||||
if (segment === "." || segment === "..") {
|
||||
return { valid: false, reason: "dot-segment", segment };
|
||||
}
|
||||
const invalidCharacter = firstInvalidCharacter(segment, invalidCharacterPattern);
|
||||
if (invalidCharacter !== null) {
|
||||
return {
|
||||
valid: false,
|
||||
reason: "invalid-character",
|
||||
segment,
|
||||
character: invalidCharacter
|
||||
};
|
||||
}
|
||||
if (WINDOWS_RESERVED_NAME.test(segment)) {
|
||||
return { valid: false, reason: "reserved-name", segment };
|
||||
}
|
||||
if (/[. ]$/u.test(segment)) {
|
||||
return { valid: false, reason: "trailing-dot-or-space", segment };
|
||||
}
|
||||
return { valid: true };
|
||||
}
|
||||
function validateVaultFileName(fileName) {
|
||||
return validateSegment(fileName, INVALID_FILE_NAME_CHARACTER, false);
|
||||
}
|
||||
function validateVaultFolderPath(folderPath) {
|
||||
if (isVaultRootFolderPath(folderPath)) return { valid: true };
|
||||
if (folderPath.startsWith("/") || folderPath.endsWith("/") || folderPath.includes("//")) {
|
||||
return { valid: false, reason: "invalid-path-shape", segment: folderPath };
|
||||
}
|
||||
for (const segment of folderPath.split("/")) {
|
||||
const result = validateSegment(segment, INVALID_FOLDER_SEGMENT_CHARACTER, false);
|
||||
if (!result.valid) return result;
|
||||
}
|
||||
return { valid: true };
|
||||
}
|
||||
function getUniqueVaultFilePath(folderPath, fileName, pathExists) {
|
||||
const resolvedFolderPath = isVaultRootFolderPath(folderPath) ? "" : folderPath;
|
||||
const lastDot = fileName.lastIndexOf(".");
|
||||
const hasExtension = lastDot > 0;
|
||||
const stem = hasExtension ? fileName.slice(0, lastDot) : fileName;
|
||||
const extension = hasExtension ? fileName.slice(lastDot) : "";
|
||||
const joinPath = (name) => resolvedFolderPath ? `${resolvedFolderPath}/${name}` : name;
|
||||
let candidate = joinPath(fileName);
|
||||
let suffix = 1;
|
||||
while (pathExists(candidate)) {
|
||||
candidate = joinPath(`${stem} ${suffix}${extension}`);
|
||||
suffix += 1;
|
||||
}
|
||||
return candidate;
|
||||
}
|
||||
function formatVaultInvalidCharacter(character) {
|
||||
const codePoint = character.codePointAt(0);
|
||||
if (codePoint === void 0 || codePoint >= 32) return character;
|
||||
return `U+${codePoint.toString(16).toUpperCase().padStart(4, "0")}`;
|
||||
}
|
||||
function rankVaultFolderSuggestions(folderPaths, query) {
|
||||
const lowerQuery = query.toLowerCase();
|
||||
return [...new Set(folderPaths)].filter((path) => path.toLowerCase().includes(lowerQuery)).sort((left, right) => {
|
||||
const leftStarts = left.toLowerCase().startsWith(lowerQuery);
|
||||
const rightStarts = right.toLowerCase().startsWith(lowerQuery);
|
||||
if (leftStarts !== rightStarts) return leftStarts ? -1 : 1;
|
||||
return left.localeCompare(right);
|
||||
});
|
||||
}
|
||||
|
||||
// -- Open Toggle --
|
||||
new ea.obsidian.Setting(content)
|
||||
.setName(`Open deconstructed image`)
|
||||
.addToggle((toggle) => toggle
|
||||
.setValue(window.ExcalidrawDeconstructElements.openDeconstructedImage)
|
||||
.onChange(value => {
|
||||
window.ExcalidrawDeconstructElements.openDeconstructedImage = value;
|
||||
// Update visibility of the sub-toggle
|
||||
reuseSetting.settingEl.style.display = value ? "" : "none";
|
||||
// src/sharedUtils/windowTiming.ts
|
||||
function sleepInWindow(ownerWindow, milliseconds) {
|
||||
return new Promise((resolve) => ownerWindow.setTimeout(resolve, milliseconds));
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/deconstruction.ts
|
||||
async function waitForVaultFile(ea2, app2, path, ownerWindow) {
|
||||
for (let attempt = 0; attempt <= 100; attempt += 1) {
|
||||
const file = app2.vault.getAbstractFileByPath(path);
|
||||
if (file instanceof ea2.obsidian.TFile) {
|
||||
return file;
|
||||
}
|
||||
if (attempt < 100) await sleepInWindow(ownerWindow, 50);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
async function waitForDrawingFile(ea2, app2, path, ownerWindow) {
|
||||
for (let attempt = 0; attempt <= 100; attempt += 1) {
|
||||
const file = app2.vault.getAbstractFileByPath(path);
|
||||
if (file instanceof ea2.obsidian.TFile && ea2.isExcalidrawFile(file)) {
|
||||
return file;
|
||||
}
|
||||
if (attempt < 100) await sleepInWindow(ownerWindow, 50);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function getExportPadding(ea2, app2, file) {
|
||||
const rawPadding = app2.metadataCache.getCache(file.path)?.frontmatter?.["excalidraw-export-padding"];
|
||||
const parsedPadding = Number.parseFloat(String(rawPadding));
|
||||
return Number.isNaN(parsedPadding) ? ea2.plugin.settings.exportPaddingSVG : parsedPadding;
|
||||
}
|
||||
async function replaceSelectionWithEmbed(context, file, padding, shouldAnchor) {
|
||||
const { ea: ea2, bounds } = context;
|
||||
for (const element of ea2.getElements()) {
|
||||
element.isDeleted = true;
|
||||
}
|
||||
await ea2.addImage(bounds.topX - padding, bounds.topY - padding, file, false, shouldAnchor);
|
||||
await ea2.addElementsToView(false, true, true);
|
||||
ea2.getExcalidrawAPI()?.history.clear();
|
||||
}
|
||||
async function openCreatedDrawing(context, file) {
|
||||
const { ea: ea2, app: app2, uiState } = context;
|
||||
if (!uiState.openDeconstructedImage) return;
|
||||
if (uiState.reuseTab) {
|
||||
ea2.openFileInNewOrAdjacentLeaf(file);
|
||||
return;
|
||||
}
|
||||
await app2.workspace.getLeaf("tab").openFile(file);
|
||||
}
|
||||
function isVaultRootFilePath(path) {
|
||||
return path.length > 0 && !path.includes("/");
|
||||
}
|
||||
async function createDrawingAtDestination(context, destination) {
|
||||
const { ea: ea2, app: app2, uiState, ownerWindow } = context;
|
||||
const requestedVaultRoot = isVaultRootFolderPath(destination.folderPath);
|
||||
const intendedRootPath = requestedVaultRoot ? getUniqueVaultFilePath(
|
||||
"/",
|
||||
destination.fileName,
|
||||
(path) => Boolean(app2.vault.getAbstractFileByPath(path))
|
||||
) : null;
|
||||
const createOptions = {
|
||||
filename: destination.fileName,
|
||||
foldername: destination.folderPath,
|
||||
templatePath: uiState.templatePath,
|
||||
onNewPane: true,
|
||||
silent: true
|
||||
};
|
||||
const newPath = await ea2.create(createOptions);
|
||||
const normalizedNewPath = ea2.obsidian.normalizePath(newPath);
|
||||
if (!requestedVaultRoot || isVaultRootFilePath(normalizedNewPath)) {
|
||||
return normalizedNewPath;
|
||||
}
|
||||
const createdFile = await waitForVaultFile(ea2, app2, normalizedNewPath, ownerWindow);
|
||||
if (!createdFile) {
|
||||
return normalizedNewPath;
|
||||
}
|
||||
if (!intendedRootPath) return normalizedNewPath;
|
||||
const rootTarget = app2.vault.getAbstractFileByPath(intendedRootPath) ? getUniqueVaultFilePath(
|
||||
"/",
|
||||
destination.fileName,
|
||||
(path) => Boolean(app2.vault.getAbstractFileByPath(path))
|
||||
) : intendedRootPath;
|
||||
await app2.fileManager.renameFile(createdFile, rootTarget);
|
||||
return rootTarget;
|
||||
}
|
||||
async function executeDeconstruction(context, destination, shouldAnchor) {
|
||||
const { ea: ea2, app: app2, t: t2, uiState, ownerWindow } = context;
|
||||
const newPath = await createDrawingAtDestination(context, destination);
|
||||
const file = await waitForDrawingFile(ea2, app2, newPath, ownerWindow);
|
||||
if (!file) {
|
||||
new Notice(t2("somethingWentWrong"));
|
||||
return;
|
||||
}
|
||||
const padding = getExportPadding(ea2, app2, file);
|
||||
await replaceSelectionWithEmbed(context, file, padding, shouldAnchor);
|
||||
await openCreatedDrawing(context, file);
|
||||
if (!uiState.openDeconstructedImage) new Notice(t2("deconstructionReady"));
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/destination.ts
|
||||
function validateDeconstructionDestination(folderPath, fileName) {
|
||||
const fileValidation = validateVaultFileName(fileName);
|
||||
if (!fileValidation.valid) {
|
||||
return { valid: false, field: "file", validation: fileValidation };
|
||||
}
|
||||
const folderValidation = validateVaultFolderPath(folderPath);
|
||||
if (!folderValidation.valid) {
|
||||
return { valid: false, field: "folder", validation: folderValidation };
|
||||
}
|
||||
return {
|
||||
valid: true,
|
||||
folderPath: folderPath === "/" ? "" : folderPath,
|
||||
fileName: fileName.toLowerCase().endsWith(".md") ? fileName : `${fileName}.md`
|
||||
};
|
||||
}
|
||||
function formatDestinationValidationError(t2, result) {
|
||||
const { validation } = result;
|
||||
if (result.field === "file" && validation.reason === "empty") {
|
||||
return t2("filenameRequired");
|
||||
}
|
||||
if (validation.reason === "invalid-character" && validation.character !== void 0) {
|
||||
const character = formatVaultInvalidCharacter(validation.character);
|
||||
return t2(result.field === "file" ? "invalidFilenameCharacter" : "invalidFolderCharacter", {
|
||||
character
|
||||
});
|
||||
}
|
||||
return t2(result.field === "file" ? "invalidFilename" : "invalidFolderPath", {
|
||||
name: validation.segment
|
||||
});
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/folderSuggest.ts
|
||||
function attachFolderSuggest(ea2, app2, inputEl) {
|
||||
const BaseSuggest = ea2.obsidian.AbstractInputSuggest;
|
||||
class FolderSuggest extends BaseSuggest {
|
||||
targetInput;
|
||||
constructor() {
|
||||
super(app2, inputEl);
|
||||
this.targetInput = inputEl;
|
||||
}
|
||||
getSuggestions(query) {
|
||||
const folderPaths = app2.vault.getAllLoadedFiles().filter((file) => file instanceof ea2.obsidian.TFolder).map((folder) => folder.path);
|
||||
return rankVaultFolderSuggestions(folderPaths, query);
|
||||
}
|
||||
renderSuggestion(value, el) {
|
||||
el.setText(value);
|
||||
}
|
||||
selectSuggestion(value, _event) {
|
||||
this.targetInput.value = value;
|
||||
const ownerWindow = this.targetInput.ownerDocument.defaultView;
|
||||
if (ownerWindow) {
|
||||
this.targetInput.dispatchEvent(new ownerWindow.Event("input", { bubbles: true }));
|
||||
}
|
||||
this.close();
|
||||
}
|
||||
}
|
||||
return new FolderSuggest();
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/modal.ts
|
||||
function createTextInput(context, content, label, value) {
|
||||
const row = content.createDiv({ cls: "setting-item" });
|
||||
row.createDiv({ cls: "setting-item-info" }).createEl("label", { text: label });
|
||||
const control = row.createDiv({ cls: "setting-item-control" });
|
||||
const input = new context.ea.obsidian.TextComponent(control);
|
||||
input.setValue(value);
|
||||
input.inputEl.style.width = "100%";
|
||||
return input;
|
||||
}
|
||||
function addBehaviorSettings(context, content) {
|
||||
const { ea: ea2, t: t2, config, uiState } = context;
|
||||
new ea2.obsidian.Setting(content).setName(t2("selectTemplate")).addDropdown((dropdown) => {
|
||||
if (config.templates.length === 0) dropdown.addOption("", t2("noTemplate"));
|
||||
for (const file of config.templates) dropdown.addOption(file.path, file.basename);
|
||||
dropdown.setValue(uiState.templatePath).onChange((value) => {
|
||||
uiState.templatePath = value;
|
||||
});
|
||||
});
|
||||
let reuseSetting = null;
|
||||
new ea2.obsidian.Setting(content).setName(t2("openDeconstructedImage")).addToggle(
|
||||
(toggle) => toggle.setValue(uiState.openDeconstructedImage).onChange((value) => {
|
||||
uiState.openDeconstructedImage = value;
|
||||
if (reuseSetting) reuseSetting.settingEl.style.display = value ? "" : "none";
|
||||
})
|
||||
);
|
||||
|
||||
// -- Reuse Tab Toggle --
|
||||
const reuseSetting = new ea.obsidian.Setting(content)
|
||||
.setName(`Reuse existing tab`)
|
||||
.setDesc("If available, open in an adjacent tab. Otherwise open in a new tab.")
|
||||
.setClass("reuse-tab-setting")
|
||||
.addToggle((toggle) => toggle
|
||||
.setValue(window.ExcalidrawDeconstructElements.reuseTab)
|
||||
.onChange(value => {
|
||||
window.ExcalidrawDeconstructElements.reuseTab = value;
|
||||
reuseSetting = new ea2.obsidian.Setting(content).setName(t2("reuseExistingTab")).setDesc(t2("reuseExistingTabDesc")).setClass("reuse-tab-setting").addToggle(
|
||||
(toggle) => toggle.setValue(uiState.reuseTab).onChange((value) => {
|
||||
uiState.reuseTab = value;
|
||||
})
|
||||
);
|
||||
|
||||
// Initialize visibility and style
|
||||
reuseSetting.settingEl.style.display = window.ExcalidrawDeconstructElements.openDeconstructedImage ? "" : "none";
|
||||
reuseSetting.settingEl.style.borderTop = "none";
|
||||
|
||||
// -- Buttons --
|
||||
const buttonContainer = content.createDiv({ cls: "excalidraw-dialog-buttons", style: "margin-top: 20px; display: flex; gap: 12px; justify-content: flex-end;" });
|
||||
|
||||
const btnInsert = new ea.obsidian.ButtonComponent(buttonContainer)
|
||||
.setButtonText("Insert")
|
||||
.setTooltip("Insert without anchoring")
|
||||
.onClick(async () => {
|
||||
const folder = folderInput.getValue();
|
||||
const filename = fileInput.getValue();
|
||||
if (!filename) {
|
||||
new Notice("Filename is required");
|
||||
return;
|
||||
}
|
||||
modal.close();
|
||||
await executeDeconstruction(folder, filename, false);
|
||||
});
|
||||
reuseSetting.settingEl.style.display = uiState.openDeconstructedImage ? "" : "none";
|
||||
reuseSetting.settingEl.style.borderTop = "none";
|
||||
}
|
||||
async function submitDeconstruction(context, modal, inputs, shouldAnchor) {
|
||||
const destination = validateDeconstructionDestination(
|
||||
inputs.folder.getValue(),
|
||||
inputs.file.getValue()
|
||||
);
|
||||
if (!destination.valid) {
|
||||
new Notice(formatDestinationValidationError(context.t, destination));
|
||||
return;
|
||||
}
|
||||
modal.close();
|
||||
await executeDeconstruction(context, destination, shouldAnchor);
|
||||
}
|
||||
function addButtons(context, modal, content, inputs) {
|
||||
const buttons = content.createDiv({ cls: "excalidraw-dialog-buttons" });
|
||||
buttons.style.marginTop = "20px";
|
||||
buttons.style.display = "flex";
|
||||
buttons.style.gap = "12px";
|
||||
buttons.style.justifyContent = "flex-end";
|
||||
new context.ea.obsidian.ButtonComponent(buttons).setButtonText(context.t("insert")).setTooltip(context.t("insertTooltip")).onClick(async () => submitDeconstruction(context, modal, inputs, false));
|
||||
new context.ea.obsidian.ButtonComponent(buttons).setButtonText(context.t("insertAt100")).setTooltip(context.t("insertAt100Tooltip")).setCta().onClick(async () => submitDeconstruction(context, modal, inputs, true));
|
||||
}
|
||||
function openDeconstructModal(context) {
|
||||
const { ea: ea2, app: app2, t: t2, config } = context;
|
||||
const modal = new ea2.FloatingModal(app2);
|
||||
modal.setTitle(t2("modalTitle"));
|
||||
let folderSuggest = null;
|
||||
modal.onOpen = () => {
|
||||
const content = modal.contentEl;
|
||||
content.empty();
|
||||
const currentFolder = ea2.targetView?.file.parent?.path ?? "";
|
||||
const folderInput = createTextInput(context, content, t2("folderPath"), currentFolder);
|
||||
folderSuggest = attachFolderSuggest(ea2, app2, folderInput.inputEl);
|
||||
const fileInput = createTextInput(context, content, t2("fileName"), config.defaultFileName);
|
||||
ea2.targetView?.ownerWindow.setTimeout(() => fileInput.inputEl.focus(), 50);
|
||||
addBehaviorSettings(context, content);
|
||||
addButtons(context, modal, content, { folder: folderInput, file: fileInput });
|
||||
};
|
||||
modal.onClose = () => {
|
||||
folderSuggest?.close();
|
||||
modal.contentEl.empty();
|
||||
};
|
||||
modal.open();
|
||||
}
|
||||
|
||||
const btnInsertAnchor = new ea.obsidian.ButtonComponent(buttonContainer)
|
||||
.setButtonText("Insert @100%")
|
||||
.setTooltip("Anchor to 100% size")
|
||||
.setCta()
|
||||
.onClick(async () => {
|
||||
const folder = folderInput.getValue();
|
||||
const filename = fileInput.getValue();
|
||||
if (!filename) {
|
||||
new Notice("Filename is required");
|
||||
return;
|
||||
}
|
||||
modal.close();
|
||||
await executeDeconstruction(folder, filename, true);
|
||||
});
|
||||
};
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/settings.ts
|
||||
var TEMPLATES_SETTING = "Templates";
|
||||
var DEFAULT_FILE_NAME_SETTING = "Default file name";
|
||||
var DEFAULT_FILE_NAME = "deconstructed";
|
||||
function asTextScriptSetting(value) {
|
||||
if (!value || typeof value !== "object" || Array.isArray(value)) return null;
|
||||
const record = value;
|
||||
if (typeof record.value !== "string") return null;
|
||||
return {
|
||||
value: record.value,
|
||||
description: typeof record.description === "string" ? record.description : ""
|
||||
};
|
||||
}
|
||||
async function ensureSettings(ea2, t2) {
|
||||
const current = ea2.getScriptSettings() ?? {};
|
||||
const templates = asTextScriptSetting(current[TEMPLATES_SETTING]);
|
||||
const defaultFileName = asTextScriptSetting(current[DEFAULT_FILE_NAME_SETTING]);
|
||||
if (templates && defaultFileName) return current;
|
||||
const next = { ...current };
|
||||
if (!templates) {
|
||||
next[TEMPLATES_SETTING] = {
|
||||
value: "",
|
||||
description: t2("templatesSettingDesc")
|
||||
};
|
||||
}
|
||||
if (!defaultFileName) {
|
||||
next[DEFAULT_FILE_NAME_SETTING] = {
|
||||
value: DEFAULT_FILE_NAME,
|
||||
description: t2("defaultFilenameSettingDesc")
|
||||
};
|
||||
}
|
||||
await ea2.setScriptSettings(next);
|
||||
return next;
|
||||
}
|
||||
function resolveTemplates(ea2, app2, configuredPaths) {
|
||||
const customTemplates = configuredPaths.split(",").map((path) => path.trim()).filter(Boolean).map((path) => app2.metadataCache.getFirstLinkpathDest(path, "")).filter((file) => file !== null);
|
||||
const byPath = /* @__PURE__ */ new Map();
|
||||
for (const file of [...customTemplates, ...ea2.getListOfTemplateFiles() ?? []]) {
|
||||
byPath.set(file.path, file);
|
||||
}
|
||||
return [...byPath.values()].sort((left, right) => left.basename.localeCompare(right.basename));
|
||||
}
|
||||
async function loadDeconstructConfig(ea2, app2, t2) {
|
||||
const settings = await ensureSettings(ea2, t2);
|
||||
const templatesSetting = asTextScriptSetting(settings[TEMPLATES_SETTING]);
|
||||
const defaultFileNameSetting = asTextScriptSetting(settings[DEFAULT_FILE_NAME_SETTING]);
|
||||
const configuredTemplatePaths = templatesSetting?.value ?? "";
|
||||
return {
|
||||
defaultFileName: defaultFileNameSetting?.value || DEFAULT_FILE_NAME,
|
||||
templates: resolveTemplates(ea2, app2, configuredTemplatePaths)
|
||||
};
|
||||
}
|
||||
|
||||
modal.open();
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/uiState.ts
|
||||
function getDeconstructUiState(ownerWindow, defaultTemplatePath) {
|
||||
const deconstructWindow = ownerWindow;
|
||||
const existing = deconstructWindow.ExcalidrawDeconstructElements;
|
||||
if (!existing) {
|
||||
const state = {
|
||||
openDeconstructedImage: true,
|
||||
reuseTab: true,
|
||||
templatePath: defaultTemplatePath
|
||||
};
|
||||
deconstructWindow.ExcalidrawDeconstructElements = state;
|
||||
return state;
|
||||
}
|
||||
if (typeof existing.reuseTab !== "boolean") existing.reuseTab = true;
|
||||
if (typeof existing.openDeconstructedImage !== "boolean") {
|
||||
existing.openDeconstructedImage = true;
|
||||
}
|
||||
if (typeof existing.templatePath !== "string") existing.templatePath = defaultTemplatePath;
|
||||
return existing;
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/run.ts
|
||||
async function runDeconstructSelectedElements(scriptEa, app2, t2) {
|
||||
if (!scriptEa.verifyMinimumPluginVersion("2.27.0")) {
|
||||
new Notice(t2("requiresNewerVersion"));
|
||||
return;
|
||||
}
|
||||
const targetView = scriptEa.targetView;
|
||||
if (!targetView) return;
|
||||
const selectedElements = scriptEa.getViewSelectedElements();
|
||||
if (selectedElements.length === 0) {
|
||||
new Notice(t2("selectElements"));
|
||||
return;
|
||||
}
|
||||
const ea2 = scriptEa;
|
||||
const bounds = ea2.getBoundingBox(selectedElements);
|
||||
ea2.clear();
|
||||
ea2.copyViewElementsToEAforEditing(selectedElements);
|
||||
copyEmbeddedFilesToEa(ea2, ea2.getElements());
|
||||
const config = await loadDeconstructConfig(ea2, app2, t2);
|
||||
const defaultTemplatePath = config.templates[0]?.path ?? "";
|
||||
const uiState = getDeconstructUiState(targetView.ownerWindow, defaultTemplatePath);
|
||||
if (uiState.templatePath && !config.templates.some((file) => file.path === uiState.templatePath)) {
|
||||
uiState.templatePath = defaultTemplatePath;
|
||||
}
|
||||
openDeconstructModal({
|
||||
ea: ea2,
|
||||
app: app2,
|
||||
t: t2,
|
||||
config,
|
||||
uiState,
|
||||
bounds,
|
||||
ownerWindow: targetView.ownerWindow
|
||||
});
|
||||
}
|
||||
|
||||
// src/scripts/deconstruct-selected-elements-into-new-drawing/main.ts
|
||||
var t = createDeconstructTranslator(ea.obsidian.moment.locale());
|
||||
void runDeconstructSelectedElements(ea, app, t);
|
||||
})();
|
||||
|
||||
/* end of bundle */
|
||||
Loaded 100 of 637 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user