visualproof 0.8.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -9
- package/dist/assets/tips/tour-library.webp +0 -0
- package/dist/assets/tips/tour-source.webp +0 -0
- package/dist/assets/tips/tour.json +90 -90
- package/dist/extractor/Extract.lean +34 -11
- package/dist/mcp/visualproof-mcp.mjs +30 -5
- package/dist/server/agent.js +19 -7
- package/dist/server/agententry.js +13 -6
- package/dist/server/agentexport.js +2 -1
- package/dist/server/agentfollow.js +13 -3
- package/dist/server/agentlean.js +91 -1
- package/dist/server/agentnotes.js +6 -4
- package/dist/server/agentread.js +33 -1
- package/dist/server/app.js +7 -3
- package/dist/server/appagent.js +1 -1
- package/dist/server/appgraph.js +24 -0
- package/dist/server/appshare.js +119 -1
- package/dist/server/apptalk.js +26 -0
- package/dist/server/boardspots.js +1 -1
- package/dist/server/children.js +6 -2
- package/dist/server/claudetokens.js +113 -0
- package/dist/server/doctor.js +7 -0
- package/dist/server/goals.js +224 -0
- package/dist/server/hosted.js +480 -0
- package/dist/server/hover.js +281 -8
- package/dist/server/live.js +34 -2
- package/dist/server/main.js +30 -2
- package/dist/server/mcptools.js +15 -7
- package/dist/server/options.js +30 -2
- package/dist/server/presence.js +2 -2
- package/dist/server/prompt.js +25 -0
- package/dist/server/readonlygate.js +2 -1
- package/dist/server/reviewapi.js +5 -2
- package/dist/server/status.js +43 -5
- package/dist/server/tokens.js +7 -4
- package/dist/shared/build.js +9 -0
- package/dist/shared/collab.js +17 -2
- package/dist/shared/declfind.js +23 -3
- package/dist/shared/goals.js +309 -0
- package/dist/shared/hygiene.js +18 -0
- package/dist/shared/noteplace.js +45 -19
- package/dist/shared/scope.js +74 -45
- package/dist/shared/sharesnap.js +4 -2
- package/dist/web/bundle/app.js +2368 -591
- package/dist/web/index.html +2 -1
- package/dist/web/src/highlight.js +53 -3
- package/dist/web/style.css +151 -0
- package/docs/agent-api/README.md +1 -1
- package/docs/agent-api/mcp.md +4 -2
- package/docs/agent-api/notes.md +3 -2
- package/docs/agent-api/reading.md +38 -2
- package/docs/agent-api/talking.md +7 -0
- package/docs/agent-api/words.md +3 -2
- package/package.json +1 -1
package/dist/shared/sharesnap.js
CHANGED
|
@@ -105,8 +105,10 @@ export const SNAPSHOT_FORMS = {
|
|
|
105
105
|
read: (o, clean) => ("visitors" in o && clean.visitors ? { visitors: clean.visitors } : {}),
|
|
106
106
|
},
|
|
107
107
|
panel: same("sel"),
|
|
108
|
-
sources: same("source", "sourceCollapsed", "pinned"),
|
|
108
|
+
sources: same("source", "sourceCollapsed", "sourceMode", "pinned"),
|
|
109
109
|
paper: same("paper"),
|
|
110
|
+
// the InfoView's caret, in the window it is in (the owner's decision of 2026-11-01)
|
|
111
|
+
caret: same("caret"),
|
|
110
112
|
activity: same("activity"),
|
|
111
113
|
lostFound: same("lostFound"),
|
|
112
114
|
colouring: same("scheme"),
|
|
@@ -215,7 +217,7 @@ export function sortOut(v, has) {
|
|
|
215
217
|
* tells of, the declarations of the selection (`picked`), the visitors, the pinned windows — and a
|
|
216
218
|
* focus on what is no target now. */
|
|
217
219
|
export function goneNames(v, picked, has) {
|
|
218
|
-
const named = [v.sel, ...picked, ...(v.visitors ?? []).map((w) => w.decl), ...(v.pinned ?? []).
|
|
220
|
+
const named = [v.sel, ...picked, ...(v.visitors ?? []).map((w) => w.decl), ...(v.pinned ?? []).flatMap((w) => ("decl" in w ? [w.decl] : []))];
|
|
219
221
|
const decls = [...new Set(named.filter((n) => !!n && !has.decl(n)))];
|
|
220
222
|
return { decls, ...(typeof v.focus === "string" && !has.target(v.focus) ? { focus: v.focus } : {}) };
|
|
221
223
|
}
|