@rho-workspace/rho 0.5.3 → 0.5.5
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 +24 -5
- package/dist/browser-access.js +3 -2
- package/dist/capabilities.d.ts +29 -2
- package/dist/capabilities.js +79 -2
- package/dist/cli.js +237 -99
- package/dist/contract.generated.d.ts +441 -16
- package/dist/contract.generated.js +1 -1
- package/dist/contracts/owners.generated.js +459 -10
- package/dist/conversation-presentation.d.ts +3 -1
- package/dist/conversation-presentation.js +16 -6
- package/dist/conversations.d.ts +10 -6
- package/dist/conversations.js +17 -13
- package/dist/discovery.d.ts +1 -0
- package/dist/discovery.js +3 -3
- package/dist/extension-contract.d.ts +99 -0
- package/dist/extension-contract.js +52 -0
- package/dist/extension-directory.d.ts +9 -0
- package/dist/extension-directory.js +11 -0
- package/dist/extension-worker.d.ts +1 -0
- package/dist/extension-worker.js +36 -0
- package/dist/extensions.d.ts +157 -0
- package/dist/extensions.js +349 -0
- package/dist/installs.d.ts +11 -0
- package/dist/installs.js +179 -0
- package/dist/plugin-cli.d.ts +1 -0
- package/dist/plugin-cli.js +139 -0
- package/dist/plugin-inventory.json +18 -0
- package/dist/plugins.d.ts +3 -3
- package/dist/project-notes.js +2 -0
- package/dist/project-work.d.ts +3 -1
- package/dist/project-work.js +15 -2
- package/dist/protocol.d.ts +7 -0
- package/dist/protocol.js +11 -7
- package/dist/screen-check-skill.d.ts +2 -0
- package/dist/screen-check-skill.js +39 -0
- package/dist/server.d.ts +6 -1
- package/dist/server.js +105 -15
- package/dist/web/.vite/manifest.json +65 -65
- package/dist/web/assets/{canvas-BXhC8RDZ.js → canvas-D8rDdfDz.js} +1 -1
- package/dist/web/assets/choices-b0XhrGQV.js +1 -0
- package/dist/web/assets/{console-e1P5qYQ5.js → console-BSjLGe0T.js} +1 -1
- package/dist/web/assets/{dist-Dd3iAGFy.js → dist-Buk0lwzI.js} +2 -2
- package/dist/web/assets/dist-Cw8hRIlT.js +1 -0
- package/dist/web/assets/dist-Tzoe_zm-.js +3 -0
- package/dist/web/assets/{dist-DEorbOW0.js → dist-foH9IKc6.js} +1 -1
- package/dist/web/assets/explore-in-BVUy3ZW_.js +1 -0
- package/dist/web/assets/graph-1OdIJ9l7.js +2 -0
- package/dist/web/assets/index-CsC3sTRq.css +1 -0
- package/dist/web/assets/{index-BYuKpyoi.js → index-CxmItXqa.js} +220 -121
- package/dist/web/assets/{notes-meaning-B3HFbh84.js → notes-meaning-pVbbQUGP.js} +1 -1
- package/dist/web/assets/overview-B9UtVJ32.js +6 -0
- package/dist/web/assets/preview-CksD_5KS.js +1 -0
- package/dist/web/assets/{review-BVh9jWMB.js → review-CMxQlQ-C.js} +1 -1
- package/dist/web/assets/{skills-DPaEYkln.js → skills-BFNSyrnD.js} +1 -1
- package/dist/web/assets/{skills-work-dvjfy_tu.js → skills-work-BGPSnF_I.js} +1 -1
- package/dist/web/assets/{studio-process-BYm8mjRJ.js → studio-process-CsRoTHOh.js} +2 -2
- package/dist/web/assets/{timeline-events-CDZ7wiJX.js → timeline-events-BbuuFWHV.js} +1 -1
- package/dist/web/assets/{work-turns-BeCt303c.js → work-turns-BvJlIMmA.js} +1 -1
- package/dist/web/assets/workspace-CWlkjLNx.js +5 -0
- package/dist/web/composition.json +80 -80
- package/dist/web/index.html +3 -3
- package/dist/web/renderer.json +1 -1
- package/dist/web-assets.d.ts +2 -1
- package/dist/web-assets.js +3 -2
- package/dist/work-contract.js +2 -2
- package/docs/FRONTEND.md +30 -14
- package/docs/HEADLESS.md +60 -14
- package/docs/PLUGIN-AUTHORING.md +4 -0
- package/docs/THIRD-PARTY-PLUGINS.md +190 -0
- package/example/pa14-qs/.rho/rho/conversations/c-67f77cfebaba2cea.json +1 -1
- package/example/pa14-qs/.rho/rho/conversations/c-91aa2e46b1ac1a6c.json +1 -1
- package/example/pa14-qs/.rho/rho/conversations/c-fa24dfd80dfe4bcb.json +1 -1
- package/node_modules/@hono/node-server/dist/index.js +11 -0
- package/node_modules/@hono/node-server/dist/index.mjs +11 -0
- package/node_modules/@hono/node-server/dist/listener.js +11 -0
- package/node_modules/@hono/node-server/dist/listener.mjs +11 -0
- package/node_modules/@hono/node-server/dist/request.js +11 -0
- package/node_modules/@hono/node-server/dist/request.mjs +11 -0
- package/node_modules/@hono/node-server/dist/server.js +11 -0
- package/node_modules/@hono/node-server/dist/server.mjs +11 -0
- package/node_modules/@hono/node-server/dist/vercel.js +11 -0
- package/node_modules/@hono/node-server/dist/vercel.mjs +11 -0
- package/node_modules/@hono/node-server/package.json +1 -1
- package/node_modules/@rho-workspace/plugin-agent/README.md +42 -1
- package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +14 -3
- package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.d.ts +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/activity-normalize.js +2 -2
- package/node_modules/@rho-workspace/plugin-agent/dist/conversation.d.ts +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/conversation.js +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.d.ts +6 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/dsh-session.js +174 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.d.ts +82 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session-contract.js +15 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session.d.ts +73 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/external-session.js +190 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/generic-acp.d.ts +11 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/generic-acp.js +7 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/index.d.ts +373 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/index.js +1 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/mcp.js +5 -1
- package/node_modules/@rho-workspace/plugin-agent/dist/operations.d.ts +33 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/operations.js +3 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/presentation.d.ts +14 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/presentation.js +2 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.d.ts +15 -0
- package/node_modules/@rho-workspace/plugin-agent/dist/ui-external-session.js +37 -0
- package/node_modules/@rho-workspace/plugin-agent/package.json +5 -1
- package/node_modules/@rho-workspace/plugin-annotations/package.json +1 -1
- package/node_modules/@rho-workspace/plugin-documents/README.md +4 -0
- package/node_modules/@rho-workspace/plugin-documents/dist/index.d.ts +3 -0
- package/node_modules/@rho-workspace/plugin-documents/dist/index.js +1 -1
- package/node_modules/@rho-workspace/plugin-documents/package.json +1 -1
- package/node_modules/@rho-workspace/plugin-kernel/README.md +71 -10
- package/node_modules/@rho-workspace/plugin-kernel/dist/code.d.ts +2 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/code.js +4 -1
- package/node_modules/@rho-workspace/plugin-kernel/dist/contract.js +5 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/index.d.ts +7 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/index.js +55 -8
- package/node_modules/@rho-workspace/plugin-kernel/dist/lineage.d.ts +9 -6
- package/node_modules/@rho-workspace/plugin-kernel/dist/lineage.js +18 -41
- package/node_modules/@rho-workspace/plugin-kernel/dist/operations.js +5 -2
- package/node_modules/@rho-workspace/plugin-kernel/dist/script-flow.d.ts +39 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/script-flow.js +661 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-base.d.ts +3 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-base.js +10 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-flow.d.ts +38 -4
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-flow.js +194 -97
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook-work.js +1 -2
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.d.ts +10 -2
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-notebook.js +79 -18
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui-styles.js +115 -45
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui.d.ts +1 -1
- package/node_modules/@rho-workspace/plugin-kernel/dist/ui.js +1 -1
- package/node_modules/@rho-workspace/plugin-kernel/dist/value-graph.d.ts +63 -0
- package/node_modules/@rho-workspace/plugin-kernel/dist/value-graph.js +344 -0
- package/node_modules/@rho-workspace/plugin-kernel/package.json +1 -1
- package/node_modules/@rho-workspace/plugin-kernel/runners/runner.R +6 -3
- package/node_modules/@rho-workspace/plugin-kernel/runners/runner.py +6 -3
- package/node_modules/express-rate-limit/dist/index.cjs +1 -1
- package/node_modules/express-rate-limit/dist/index.mjs +1 -1
- package/node_modules/express-rate-limit/package.json +1 -1
- package/node_modules/ip-address/dist/ipv6.js +1 -1
- package/node_modules/ip-address/package.json +1 -1
- package/node_modules/playwright-core/LICENSE +202 -0
- package/node_modules/playwright-core/NOTICE +5 -0
- package/node_modules/playwright-core/ThirdPartyNotices.txt +13 -0
- package/node_modules/playwright-core/bin/install_media_pack.ps1 +5 -0
- package/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +33 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +42 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +13 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +24 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +42 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +12 -0
- package/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +24 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +48 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +11 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +23 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +48 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +11 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +23 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +48 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +11 -0
- package/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +24 -0
- package/node_modules/playwright-core/browsers.json +52 -0
- package/node_modules/playwright-core/cli.js +22 -0
- package/node_modules/playwright-core/index.js +17 -0
- package/node_modules/playwright-core/index.mjs +28 -0
- package/node_modules/playwright-core/lib/bootstrap.js +149 -0
- package/node_modules/playwright-core/lib/coreBundle.js +78041 -0
- package/node_modules/playwright-core/lib/entry/cliDaemon.js +5 -0
- package/node_modules/playwright-core/lib/entry/dashboardApp.js +3 -0
- package/node_modules/playwright-core/lib/entry/mcp.js +10 -0
- package/node_modules/playwright-core/lib/entry/oopBrowserDownload.js +3 -0
- package/node_modules/playwright-core/lib/package.js +50 -0
- package/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
- package/node_modules/playwright-core/lib/server/electron/loader.js +123 -0
- package/node_modules/playwright-core/lib/serverRegistry.js +1939 -0
- package/node_modules/playwright-core/lib/serverRegistry.js.LICENSE +65 -0
- package/node_modules/playwright-core/lib/tools/cli-client/channelSessions.js +141 -0
- package/node_modules/playwright-core/lib/tools/cli-client/cli.js +7 -0
- package/node_modules/playwright-core/lib/tools/cli-client/help.json +808 -0
- package/node_modules/playwright-core/lib/tools/cli-client/minimist.js +128 -0
- package/node_modules/playwright-core/lib/tools/cli-client/output.js +352 -0
- package/node_modules/playwright-core/lib/tools/cli-client/program.js +422 -0
- package/node_modules/playwright-core/lib/tools/cli-client/registry.js +180 -0
- package/node_modules/playwright-core/lib/tools/cli-client/session.js +261 -0
- package/node_modules/playwright-core/lib/tools/dashboard/appIcon.png +0 -0
- package/node_modules/playwright-core/lib/tools/utils/extension.js +112 -0
- package/node_modules/playwright-core/lib/tools/utils/socketConnection.js +108 -0
- package/node_modules/playwright-core/lib/utilsBundle.js +86078 -0
- package/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +1890 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule--QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule-CQ8RZGBm.js +32 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-AwgwcYie.css +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-hRvO4yU2.js +12 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/index.html +29 -0
- package/node_modules/playwright-core/lib/vite/dashboard/playwright-logo.svg +24 -0
- package/node_modules/playwright-core/lib/vite/htmlReport/index.html +16 -0
- package/node_modules/playwright-core/lib/vite/htmlReport/report.css +2 -0
- package/node_modules/playwright-core/lib/vite/htmlReport/report.js +32 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DK72OMRi.js +32 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-BZpYJZ-P.css +1 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-Cn0mmDuv.js +129 -0
- package/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
- package/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +9 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BEB2e8M3.js +32 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-D-g2vrvf.js +184 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-B794rD2Z.js +7 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.C8BeHuxd.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.html +44 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.oNry3Hjv.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +16 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +9 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +10 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +4 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CYwC_gH1.js +5 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CyMfwkXJ.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +18 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
- package/node_modules/playwright-core/lib/webp_codec.LICENSE +173 -0
- package/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
- package/node_modules/playwright-core/lib/xdg-open +1267 -0
- package/node_modules/playwright-core/package.json +34 -0
- package/package.json +13 -7
- package/protocol/index.json +75 -21
- package/protocol/operations/agent.sessions.list.json +100 -0
- package/protocol/operations/agent.sessions.read.json +266 -0
- package/protocol/operations/conversation.settings.check.json +147 -4
- package/protocol/operations/conversation.settings.read.json +145 -3
- package/protocol/operations/conversation.settings.update.json +166 -4
- package/protocol/operations/conversation.start.json +2 -1
- package/protocol/operations/extension.call.json +132 -0
- package/protocol/operations/extension.content.json +78 -0
- package/protocol/operations/extension.describe.json +195 -0
- package/protocol/operations/extension.install.json +198 -0
- package/protocol/operations/extension.list.json +123 -0
- package/protocol/operations/extension.manage.json +55 -0
- package/protocol/operations/extension.read.json +112 -0
- package/protocol/operations/kernel.interrupt.json +20 -0
- package/protocol/operations/kernel.read.json +30 -0
- package/protocol/operations/kernel.run.json +36 -1
- package/protocol/operations/kernel.stop.json +10 -0
- package/protocol/operations/project.work.read.json +3 -2
- package/protocol/operations/session.grant.json +9 -0
- package/scripts/browser-checks.mjs +53 -0
- package/scripts/screen-check.mjs +193 -0
- package/scripts/third-party-acceptance.mjs +77 -0
- package/vendor/composition.json +111 -111
- package/vendor/rho-workspace-plugin-agent-0.4.29.tgz +0 -0
- package/vendor/rho-workspace-plugin-annotations-0.5.2.tgz +0 -0
- package/vendor/rho-workspace-plugin-documents-0.4.11.tgz +0 -0
- package/vendor/rho-workspace-plugin-kernel-0.5.5.tgz +0 -0
- package/web/theme.css +17 -2
- package/dist/web/assets/choices-B-y2OYvE.js +0 -1
- package/dist/web/assets/dist-CBM2oq6g.js +0 -1
- package/dist/web/assets/dist-CH56yNDn.js +0 -3
- package/dist/web/assets/explore-in-muWXOGOY.js +0 -1
- package/dist/web/assets/graph-CK-df5lh.js +0 -2
- package/dist/web/assets/index-DBd77u4a.css +0 -1
- package/dist/web/assets/overview-D1Ev2OC_.js +0 -6
- package/dist/web/assets/preview-HbmQKUGY.js +0 -1
- package/dist/web/assets/workspace-d5Hw_ClZ.js +0 -5
- package/vendor/rho-workspace-plugin-agent-0.4.27.tgz +0 -0
- package/vendor/rho-workspace-plugin-documents-0.4.10.tgz +0 -0
- package/vendor/rho-workspace-plugin-kernel-0.5.2.tgz +0 -0
package/vendor/composition.json
CHANGED
|
@@ -11,21 +11,21 @@
|
|
|
11
11
|
"build": {
|
|
12
12
|
"system": "github-actions",
|
|
13
13
|
"workflow": "YuLab-SMU/Rho/.github/workflows/ci.yml@refs/heads/main",
|
|
14
|
-
"run": "https://github.com/YuLab-SMU/Rho/actions/runs/
|
|
14
|
+
"run": "https://github.com/YuLab-SMU/Rho/actions/runs/42276270326",
|
|
15
15
|
"attempt": 1
|
|
16
16
|
},
|
|
17
17
|
"application": {
|
|
18
18
|
"repository": "https://github.com/YuLab-SMU/Rho",
|
|
19
|
-
"commit": "
|
|
20
|
-
"tree": "
|
|
21
|
-
"buildInputsSha256": "
|
|
19
|
+
"commit": "50ccd85b907c08621fd90efde9a76b375af0ee3e",
|
|
20
|
+
"tree": "d651f224c619ad7c1a6bc451a775e1342742060a",
|
|
21
|
+
"buildInputsSha256": "cddc88906e0f4dc5b1d9df33cbb23f02b304eb8fd5ff645cca6f092dce84bb67",
|
|
22
22
|
"localOverride": null
|
|
23
23
|
},
|
|
24
24
|
"plugins": {
|
|
25
25
|
"repository": "https://github.com/YuLab-SMU/Rho-plugins",
|
|
26
|
-
"commit": "
|
|
27
|
-
"tree": "
|
|
28
|
-
"buildInputsSha256": "
|
|
26
|
+
"commit": "00e5c24bfdfd37a0afc795e6c98391ec9a26ca76",
|
|
27
|
+
"tree": "ffda516275ac0f7a0e06a0f3ec700db8dbdfb230",
|
|
28
|
+
"buildInputsSha256": "febd72357608c1d5310be114c25ddc9154d7b250ab8b947abc72698b6c3db79c",
|
|
29
29
|
"localOverride": null,
|
|
30
30
|
"selected": [
|
|
31
31
|
"documents",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
{
|
|
59
59
|
"id": "documents",
|
|
60
60
|
"package": "@rho-workspace/plugin-documents",
|
|
61
|
-
"version": "0.4.
|
|
62
|
-
"filename": "rho-workspace-plugin-documents-0.4.
|
|
63
|
-
"bytes":
|
|
64
|
-
"sha256": "
|
|
65
|
-
"integrity": "sha512
|
|
61
|
+
"version": "0.4.11",
|
|
62
|
+
"filename": "rho-workspace-plugin-documents-0.4.11.tgz",
|
|
63
|
+
"bytes": 59266,
|
|
64
|
+
"sha256": "4a77afbd1c983fae25b6a7f9ea14fe4864bf8b1c62426e6a4c2bcd89aa6b1f9c",
|
|
65
|
+
"integrity": "sha512-/DZYt/MSkbO3q5+H3UtDCR3R79ydc8jfH8tSn+Y7qgOa9fSRs3zFEwj0KCP9ZfmsKW49ikKNW5GYXcJBMWFcSQ=="
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"id": "files",
|
|
@@ -121,20 +121,20 @@
|
|
|
121
121
|
{
|
|
122
122
|
"id": "agent",
|
|
123
123
|
"package": "@rho-workspace/plugin-agent",
|
|
124
|
-
"version": "0.4.
|
|
125
|
-
"filename": "rho-workspace-plugin-agent-0.4.
|
|
126
|
-
"bytes":
|
|
127
|
-
"sha256": "
|
|
128
|
-
"integrity": "sha512-
|
|
124
|
+
"version": "0.4.29",
|
|
125
|
+
"filename": "rho-workspace-plugin-agent-0.4.29.tgz",
|
|
126
|
+
"bytes": 130664,
|
|
127
|
+
"sha256": "741ab25a0736b4dd59bb8209cb665e0e6cd060a6160e2fd89e9dab89e3eea3b5",
|
|
128
|
+
"integrity": "sha512-DRt7zDX+jH5WKQryhSuwIpUtqA6N1uvObIW929m7a1PFT9R9z4S1Mp55434tvjyhg1DlRHMAYTM3a3yO9GRvDw=="
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
"id": "annotations",
|
|
132
132
|
"package": "@rho-workspace/plugin-annotations",
|
|
133
133
|
"version": "0.5.2",
|
|
134
134
|
"filename": "rho-workspace-plugin-annotations-0.5.2.tgz",
|
|
135
|
-
"bytes":
|
|
136
|
-
"sha256": "
|
|
137
|
-
"integrity": "sha512-
|
|
135
|
+
"bytes": 33154,
|
|
136
|
+
"sha256": "3104b21ea1d30e61698855118d362d01eed6cc19c54daa17dc13f7831aa624e3",
|
|
137
|
+
"integrity": "sha512-HnhLDVHwtftNVf5dCQtBeGPvwUPioSbX39nFS5bM4ISIP/JU1WUOWmJotdlg8VlRSvRWOLf+/LgX2+1UYa8cnw=="
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"id": "console",
|
|
@@ -148,11 +148,11 @@
|
|
|
148
148
|
{
|
|
149
149
|
"id": "kernel",
|
|
150
150
|
"package": "@rho-workspace/plugin-kernel",
|
|
151
|
-
"version": "0.5.
|
|
152
|
-
"filename": "rho-workspace-plugin-kernel-0.5.
|
|
153
|
-
"bytes":
|
|
154
|
-
"sha256": "
|
|
155
|
-
"integrity": "sha512-
|
|
151
|
+
"version": "0.5.5",
|
|
152
|
+
"filename": "rho-workspace-plugin-kernel-0.5.5.tgz",
|
|
153
|
+
"bytes": 142503,
|
|
154
|
+
"sha256": "8d5f67cce406a664d2d23ecdc905423de6ed2955e1cba9b5751c136e656d5571",
|
|
155
|
+
"integrity": "sha512-v6xr4+kvpp3JClrW7PHa88ZlrJkUSmlPDw7o9JUeoDriJAsOAQkor32O1gElBR/Htlxd5KrNYK5b3dpn1LndxA=="
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
"id": "skills",
|
|
@@ -167,12 +167,12 @@
|
|
|
167
167
|
},
|
|
168
168
|
"catalog": {
|
|
169
169
|
"path": "dist/plugin-inventory.json",
|
|
170
|
-
"sha256": "
|
|
171
|
-
"bytes":
|
|
170
|
+
"sha256": "c91b2283576672a2f4fb11fd9839e2b6f1adae47758434b560c06c071c5b0090",
|
|
171
|
+
"bytes": 40021,
|
|
172
172
|
"source": {
|
|
173
|
-
"commit": "
|
|
174
|
-
"tree": "
|
|
175
|
-
"buildInputsSha256": "
|
|
173
|
+
"commit": "00e5c24bfdfd37a0afc795e6c98391ec9a26ca76",
|
|
174
|
+
"tree": "ffda516275ac0f7a0e06a0f3ec700db8dbdfb230",
|
|
175
|
+
"buildInputsSha256": "febd72357608c1d5310be114c25ddc9154d7b250ab8b947abc72698b6c3db79c",
|
|
176
176
|
"localOverride": null
|
|
177
177
|
},
|
|
178
178
|
"scope": "Descriptive inventory of the reviewed owners; contributes no runtime entry or authority."
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
"web": {
|
|
217
217
|
"format": "rho.web-build/1",
|
|
218
218
|
"uiProtocol": "0.1-draft",
|
|
219
|
-
"rendererBuild": "
|
|
219
|
+
"rendererBuild": "3b349e536ff70ed5bfcf74df245c2b6806cd8689ba0ca31c1d1f3a560cb55f29",
|
|
220
220
|
"ownerEntries": [
|
|
221
221
|
{
|
|
222
222
|
"plugin": "documents",
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"component": "rho.editor",
|
|
226
226
|
"version": "0.2.0",
|
|
227
227
|
"source": "web/entries/documents.tsx",
|
|
228
|
-
"packageVersion": "0.4.
|
|
228
|
+
"packageVersion": "0.4.11",
|
|
229
229
|
"entrySha256": "076b4b63643813eb32f8c81caa35abdcf0e1a7b88420d49e7b984ec9acd53d23"
|
|
230
230
|
},
|
|
231
231
|
{
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"component": "rho.agent-note",
|
|
276
276
|
"version": "0.2.0",
|
|
277
277
|
"source": "web/entries/agent.tsx",
|
|
278
|
-
"packageVersion": "0.4.
|
|
278
|
+
"packageVersion": "0.4.29",
|
|
279
279
|
"entrySha256": "0e18d175dfc25fd8e237ec0341422e0d1311d2d8882e487962e8c7c25794d69e"
|
|
280
280
|
},
|
|
281
281
|
{
|
|
@@ -286,8 +286,8 @@
|
|
|
286
286
|
"version": "1",
|
|
287
287
|
"source": "web/entries/kernel.tsx",
|
|
288
288
|
"export": "notebook",
|
|
289
|
-
"packageVersion": "0.5.
|
|
290
|
-
"entrySha256": "
|
|
289
|
+
"packageVersion": "0.5.5",
|
|
290
|
+
"entrySha256": "b5a012c8cd766e04cafb550e62eeec1c3b85eae07ac2fa69175f472268ddfbb2"
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
"plugin": "kernel",
|
|
@@ -297,8 +297,8 @@
|
|
|
297
297
|
"version": "1",
|
|
298
298
|
"source": "web/entries/kernel.tsx",
|
|
299
299
|
"export": "variables",
|
|
300
|
-
"packageVersion": "0.5.
|
|
301
|
-
"entrySha256": "
|
|
300
|
+
"packageVersion": "0.5.5",
|
|
301
|
+
"entrySha256": "b5a012c8cd766e04cafb550e62eeec1c3b85eae07ac2fa69175f472268ddfbb2"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
"plugin": "kernel",
|
|
@@ -308,8 +308,8 @@
|
|
|
308
308
|
"version": "1",
|
|
309
309
|
"source": "web/entries/kernel.tsx",
|
|
310
310
|
"export": "plots",
|
|
311
|
-
"packageVersion": "0.5.
|
|
312
|
-
"entrySha256": "
|
|
311
|
+
"packageVersion": "0.5.5",
|
|
312
|
+
"entrySha256": "b5a012c8cd766e04cafb550e62eeec1c3b85eae07ac2fa69175f472268ddfbb2"
|
|
313
313
|
},
|
|
314
314
|
{
|
|
315
315
|
"plugin": "kernel",
|
|
@@ -319,8 +319,8 @@
|
|
|
319
319
|
"version": "1",
|
|
320
320
|
"source": "web/entries/kernel.tsx",
|
|
321
321
|
"export": "flow",
|
|
322
|
-
"packageVersion": "0.5.
|
|
323
|
-
"entrySha256": "
|
|
322
|
+
"packageVersion": "0.5.5",
|
|
323
|
+
"entrySha256": "b5a012c8cd766e04cafb550e62eeec1c3b85eae07ac2fa69175f472268ddfbb2"
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
326
|
"plugin": "kernel",
|
|
@@ -330,8 +330,8 @@
|
|
|
330
330
|
"version": "1",
|
|
331
331
|
"source": "web/entries/kernel.tsx",
|
|
332
332
|
"export": "servers",
|
|
333
|
-
"packageVersion": "0.5.
|
|
334
|
-
"entrySha256": "
|
|
333
|
+
"packageVersion": "0.5.5",
|
|
334
|
+
"entrySha256": "b5a012c8cd766e04cafb550e62eeec1c3b85eae07ac2fa69175f472268ddfbb2"
|
|
335
335
|
},
|
|
336
336
|
{
|
|
337
337
|
"plugin": "kernel",
|
|
@@ -341,8 +341,8 @@
|
|
|
341
341
|
"version": "1",
|
|
342
342
|
"source": "web/entries/kernel.tsx",
|
|
343
343
|
"export": "object",
|
|
344
|
-
"packageVersion": "0.5.
|
|
345
|
-
"entrySha256": "
|
|
344
|
+
"packageVersion": "0.5.5",
|
|
345
|
+
"entrySha256": "b5a012c8cd766e04cafb550e62eeec1c3b85eae07ac2fa69175f472268ddfbb2"
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
"plugin": "documents",
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
{
|
|
471
471
|
"path": ".vite/manifest.json",
|
|
472
472
|
"bytes": 23614,
|
|
473
|
-
"sha256": "
|
|
473
|
+
"sha256": "c005620ae7168c671f7a2b1bfcf1d41ac06d4f9a86d1424dd8e0262574327f3e"
|
|
474
474
|
},
|
|
475
475
|
{
|
|
476
476
|
"path": "assets/answer-board-CBkGbSLD.js",
|
|
@@ -478,39 +478,39 @@
|
|
|
478
478
|
"sha256": "2d1a41d6ce8a1ad1e06c6eb26bf33520b467b1fcb3a158d6c585c6b9140a0bc6"
|
|
479
479
|
},
|
|
480
480
|
{
|
|
481
|
-
"path": "assets/canvas-
|
|
482
|
-
"bytes":
|
|
483
|
-
"sha256": "
|
|
481
|
+
"path": "assets/canvas-D8rDdfDz.js",
|
|
482
|
+
"bytes": 20318,
|
|
483
|
+
"sha256": "cd9dfbef068bacb28e1327cd137b26fff32004288a0827152ec532abc24f7558"
|
|
484
484
|
},
|
|
485
485
|
{
|
|
486
|
-
"path": "assets/choices-
|
|
487
|
-
"bytes":
|
|
488
|
-
"sha256": "
|
|
486
|
+
"path": "assets/choices-b0XhrGQV.js",
|
|
487
|
+
"bytes": 11096,
|
|
488
|
+
"sha256": "53dcc1371554e3bd7a498e014a14bdd1d8b88f38779b2ae99d0b3508c7bd334b"
|
|
489
489
|
},
|
|
490
490
|
{
|
|
491
491
|
"path": "assets/choices-DLah50GC.css",
|
|
492
492
|
"bytes": 1659,
|
|
493
493
|
"sha256": "2285c02644e12f379880df802cd34ed6262d73a159aeb9a12e80de44f12db447"
|
|
494
494
|
},
|
|
495
|
+
{
|
|
496
|
+
"path": "assets/console-BSjLGe0T.js",
|
|
497
|
+
"bytes": 21020,
|
|
498
|
+
"sha256": "a00778dfaf497479106979941bb938bc2bc12b2548229bad026db0444bad236f"
|
|
499
|
+
},
|
|
495
500
|
{
|
|
496
501
|
"path": "assets/console-By4Mvn1y.css",
|
|
497
502
|
"bytes": 3779,
|
|
498
503
|
"sha256": "38fdefe20f181e6a050793f715a13bcbde2e9c167f80f554a775e3578dcd78bc"
|
|
499
504
|
},
|
|
500
505
|
{
|
|
501
|
-
"path": "assets/
|
|
502
|
-
"bytes":
|
|
503
|
-
"sha256": "
|
|
506
|
+
"path": "assets/dist-Buk0lwzI.js",
|
|
507
|
+
"bytes": 183314,
|
|
508
|
+
"sha256": "345aa1f35697b2ac10b7f7675c5945f684ffa7aa6f7d5e19c628691c2c062dd3"
|
|
504
509
|
},
|
|
505
510
|
{
|
|
506
|
-
"path": "assets/dist-
|
|
511
|
+
"path": "assets/dist-Cw8hRIlT.js",
|
|
507
512
|
"bytes": 35411,
|
|
508
|
-
"sha256": "
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"path": "assets/dist-CH56yNDn.js",
|
|
512
|
-
"bytes": 37498,
|
|
513
|
-
"sha256": "a7022c2c528d9d083c294bf943b7134214935262753a12761a32bd60d6f5d7ec"
|
|
513
|
+
"sha256": "6bc9507492e252c592d32bb496698906c50f8a7c24d68dfd91d47a740986eadc"
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
516
|
"path": "assets/dist-DCtcCJPs.js",
|
|
@@ -518,19 +518,19 @@
|
|
|
518
518
|
"sha256": "9deb65f8b227a08473b422b448735f045aa2251acf498f169640f7d38d96173e"
|
|
519
519
|
},
|
|
520
520
|
{
|
|
521
|
-
"path": "assets/dist-
|
|
522
|
-
"bytes":
|
|
523
|
-
"sha256": "
|
|
521
|
+
"path": "assets/dist-foH9IKc6.js",
|
|
522
|
+
"bytes": 44651,
|
|
523
|
+
"sha256": "d6cde09d1e887a5e9ccd174b5424a4cd221fd8925fa798b78e72809603c54cfe"
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
|
-
"path": "assets/dist-
|
|
527
|
-
"bytes":
|
|
528
|
-
"sha256": "
|
|
526
|
+
"path": "assets/dist-Tzoe_zm-.js",
|
|
527
|
+
"bytes": 37492,
|
|
528
|
+
"sha256": "3d46a1e1e8b62f03387b5bc58ed26e96f6dd7a7e69d3e60a4fb1aa274ef9a494"
|
|
529
529
|
},
|
|
530
530
|
{
|
|
531
|
-
"path": "assets/explore-in-
|
|
532
|
-
"bytes":
|
|
533
|
-
"sha256": "
|
|
531
|
+
"path": "assets/explore-in-BVUy3ZW_.js",
|
|
532
|
+
"bytes": 782,
|
|
533
|
+
"sha256": "a1fefc75676c96992b581d3429e519ee54599bde934edbdb035937bec560e62c"
|
|
534
534
|
},
|
|
535
535
|
{
|
|
536
536
|
"path": "assets/facts-BMO6V3-3.js",
|
|
@@ -542,30 +542,30 @@
|
|
|
542
542
|
"bytes": 18546,
|
|
543
543
|
"sha256": "413304efcb99472948f1c20b997d0a0f9a4a6c84f2255338fef001ddfe8408b4"
|
|
544
544
|
},
|
|
545
|
+
{
|
|
546
|
+
"path": "assets/graph-1OdIJ9l7.js",
|
|
547
|
+
"bytes": 48768,
|
|
548
|
+
"sha256": "cdbeeeafd4c5a13544309bba4899963f30ced19ad1f17decc05f0be7689f5088"
|
|
549
|
+
},
|
|
545
550
|
{
|
|
546
551
|
"path": "assets/graph-BYKN84J3.css",
|
|
547
552
|
"bytes": 24857,
|
|
548
553
|
"sha256": "e84aa51d7376fc0a6104c0b140821c54bc25a2b55be32be6005e08b85dd7e0df"
|
|
549
554
|
},
|
|
550
|
-
{
|
|
551
|
-
"path": "assets/graph-CK-df5lh.js",
|
|
552
|
-
"bytes": 48764,
|
|
553
|
-
"sha256": "e1d8e1df49559b199e53b222a352bf539136e1ce6d27d35aaaaf95d26faa17a1"
|
|
554
|
-
},
|
|
555
555
|
{
|
|
556
556
|
"path": "assets/home-CCbP6kS-.js",
|
|
557
557
|
"bytes": 12617,
|
|
558
558
|
"sha256": "6bbbe67af01bd03b2777abcc02e63dda1bad1fa7aaf9296b07cda04ac481e7cb"
|
|
559
559
|
},
|
|
560
560
|
{
|
|
561
|
-
"path": "assets/index-
|
|
562
|
-
"bytes":
|
|
563
|
-
"sha256": "
|
|
561
|
+
"path": "assets/index-CsC3sTRq.css",
|
|
562
|
+
"bytes": 114371,
|
|
563
|
+
"sha256": "f305fffa17b37918b85c86996a24140e19b9d33e1214b3def5fbad04ada940dc"
|
|
564
564
|
},
|
|
565
565
|
{
|
|
566
|
-
"path": "assets/index-
|
|
567
|
-
"bytes":
|
|
568
|
-
"sha256": "
|
|
566
|
+
"path": "assets/index-CxmItXqa.js",
|
|
567
|
+
"bytes": 1779546,
|
|
568
|
+
"sha256": "9372a2cd0c090b7e1077d24f8f206db1d93db79419865c2cf6e99f7cedc939f3"
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
571
|
"path": "assets/KaTeX_AMS-Regular-BQhdFMY1.woff2",
|
|
@@ -878,9 +878,14 @@
|
|
|
878
878
|
"sha256": "717274e2c02c05db67e7f1bf6fec4dfae799f3a2780ea7a95c4fdf0d160dfab8"
|
|
879
879
|
},
|
|
880
880
|
{
|
|
881
|
-
"path": "assets/notes-meaning-
|
|
881
|
+
"path": "assets/notes-meaning-pVbbQUGP.js",
|
|
882
882
|
"bytes": 5850,
|
|
883
|
-
"sha256": "
|
|
883
|
+
"sha256": "ba4560479d571ec61395840496b0e2e05c2c126e595c65f5814103f1d68affaa"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"path": "assets/overview-B9UtVJ32.js",
|
|
887
|
+
"bytes": 48647,
|
|
888
|
+
"sha256": "12207a8d05b37a007d55505143c8fea36509c976573bd86885204e7103d58c91"
|
|
884
889
|
},
|
|
885
890
|
{
|
|
886
891
|
"path": "assets/overview-CmC7mah4.css",
|
|
@@ -888,14 +893,9 @@
|
|
|
888
893
|
"sha256": "f6b19e1fbbb7cc884faff634b6f7b016f806313b946600b11bbf76dc59caf1a9"
|
|
889
894
|
},
|
|
890
895
|
{
|
|
891
|
-
"path": "assets/
|
|
892
|
-
"bytes":
|
|
893
|
-
"sha256": "
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
"path": "assets/preview-HbmQKUGY.js",
|
|
897
|
-
"bytes": 4705,
|
|
898
|
-
"sha256": "8386028a035490ae285ae9f8a87e7e0afc2535a28954c1799471c73decd93828"
|
|
896
|
+
"path": "assets/preview-CksD_5KS.js",
|
|
897
|
+
"bytes": 4703,
|
|
898
|
+
"sha256": "1bad11efd47741dc1817f88234e38f5d0d478909a98c38b4397b44d4373b8ff7"
|
|
899
899
|
},
|
|
900
900
|
{
|
|
901
901
|
"path": "assets/r-CxDmU1I4.js",
|
|
@@ -913,9 +913,9 @@
|
|
|
913
913
|
"sha256": "364a909acd2231cafe737e8f9b19ad58ba16d3b6cbb90b0de78015dd437bd56b"
|
|
914
914
|
},
|
|
915
915
|
{
|
|
916
|
-
"path": "assets/review-
|
|
916
|
+
"path": "assets/review-CMxQlQ-C.js",
|
|
917
917
|
"bytes": 4860,
|
|
918
|
-
"sha256": "
|
|
918
|
+
"sha256": "7cb8a5c22a14c0b163c25022ba05582484884e83151f838d0856ad635f8ce88a"
|
|
919
919
|
},
|
|
920
920
|
{
|
|
921
921
|
"path": "assets/rolldown-runtime-XKyaHtl9.js",
|
|
@@ -923,9 +923,9 @@
|
|
|
923
923
|
"sha256": "548d1dbf321e7d2ae804fcc158b588706a7c52f8ca175de1490c6ccb4dbe55b7"
|
|
924
924
|
},
|
|
925
925
|
{
|
|
926
|
-
"path": "assets/skills-
|
|
926
|
+
"path": "assets/skills-BFNSyrnD.js",
|
|
927
927
|
"bytes": 12538,
|
|
928
|
-
"sha256": "
|
|
928
|
+
"sha256": "5207aa503328e407dee96aa07be5c6f707b21069f6684650566a3819ea47cd17"
|
|
929
929
|
},
|
|
930
930
|
{
|
|
931
931
|
"path": "assets/skills-WkE0KCzn.css",
|
|
@@ -933,9 +933,9 @@
|
|
|
933
933
|
"sha256": "162823ce43fd1e1f2bd92a330516c171280b59a0b5460752f0d7aba5f194f3eb"
|
|
934
934
|
},
|
|
935
935
|
{
|
|
936
|
-
"path": "assets/skills-work-
|
|
936
|
+
"path": "assets/skills-work-BGPSnF_I.js",
|
|
937
937
|
"bytes": 2528,
|
|
938
|
-
"sha256": "
|
|
938
|
+
"sha256": "1e61e6767a7744a7a120e34092ec70a68b80f22b0c01e56d56556790d9b251a8"
|
|
939
939
|
},
|
|
940
940
|
{
|
|
941
941
|
"path": "assets/snapshot-CAxBYPvV.js",
|
|
@@ -948,29 +948,29 @@
|
|
|
948
948
|
"sha256": "7acddf1303643a15a8df990808a42e218033edf56b8c03b0fcc8271683b0195f"
|
|
949
949
|
},
|
|
950
950
|
{
|
|
951
|
-
"path": "assets/studio-process-
|
|
951
|
+
"path": "assets/studio-process-CsRoTHOh.js",
|
|
952
952
|
"bytes": 22888,
|
|
953
|
-
"sha256": "
|
|
953
|
+
"sha256": "98e6c6bfcbd2ab43f657dc34772a14884723cfffe4e2af7e2ec1e37f04cd5709"
|
|
954
954
|
},
|
|
955
955
|
{
|
|
956
|
-
"path": "assets/timeline-events-
|
|
956
|
+
"path": "assets/timeline-events-BbuuFWHV.js",
|
|
957
957
|
"bytes": 2227,
|
|
958
|
-
"sha256": "
|
|
958
|
+
"sha256": "860f7d40a19244286dbb7771c45992000f282f7f7603db8c273f2fb6090525a4"
|
|
959
959
|
},
|
|
960
960
|
{
|
|
961
|
-
"path": "assets/work-turns-
|
|
961
|
+
"path": "assets/work-turns-BvJlIMmA.js",
|
|
962
962
|
"bytes": 1460,
|
|
963
|
-
"sha256": "
|
|
963
|
+
"sha256": "57995cc85aa24db8834e6047ff5227110042e8e13d3fce2ecd6c1e48c2336e7c"
|
|
964
964
|
},
|
|
965
965
|
{
|
|
966
|
-
"path": "assets/workspace-
|
|
967
|
-
"bytes":
|
|
968
|
-
"sha256": "
|
|
966
|
+
"path": "assets/workspace-CWlkjLNx.js",
|
|
967
|
+
"bytes": 81815,
|
|
968
|
+
"sha256": "82a8a02610fd34227bd91ed60a4c918c8a25e857b44ce126c4c6053b46351366"
|
|
969
969
|
},
|
|
970
970
|
{
|
|
971
971
|
"path": "index.html",
|
|
972
972
|
"bytes": 1142,
|
|
973
|
-
"sha256": "
|
|
973
|
+
"sha256": "145025b89b02370b28af3c5295572c9f6edc87d8cb767a171d9243a255a51671"
|
|
974
974
|
},
|
|
975
975
|
{
|
|
976
976
|
"path": "licenses.md",
|
|
@@ -980,14 +980,14 @@
|
|
|
980
980
|
{
|
|
981
981
|
"path": "renderer.json",
|
|
982
982
|
"bytes": 85,
|
|
983
|
-
"sha256": "
|
|
983
|
+
"sha256": "068fe23a6be66244df9c7c9aaa25986182541bb896e55c974cdc6174114336c3"
|
|
984
984
|
}
|
|
985
985
|
],
|
|
986
|
-
"assetsSha256": "
|
|
986
|
+
"assetsSha256": "8c4dfdbb9df9b547648487cb3dadf4c44b2d0f5760d01e563bcc4caccd66bca6",
|
|
987
987
|
"licenses": "licenses.md",
|
|
988
988
|
"node": "v22.23.4"
|
|
989
989
|
},
|
|
990
|
-
"productionLockSha256": "
|
|
990
|
+
"productionLockSha256": "ce83e0338174eaed91893cb67339dab941a50e3be81f326095b7ed1ef98f1df8",
|
|
991
991
|
"bundledPruning": {
|
|
992
992
|
"declarationsKept": [
|
|
993
993
|
"@agentclientprotocol/sdk",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/web/theme.css
CHANGED
|
@@ -356,7 +356,7 @@ div.nav-files-note > .nav-more { display: block; margin: 4px 0 0 -8px; }
|
|
|
356
356
|
/* Separate rules: a list with :has() is minified into :is(), whose specificity would outrank the rules below. */
|
|
357
357
|
:is(.shell-header-slot, .preview-owner-header, .notes-modes) button { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--color-muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; box-shadow: none; }
|
|
358
358
|
:is(.shell-header-slot, .preview-owner-header, .notes-modes) button:hover:not(:disabled) { background: var(--color-hover); color: var(--color-ink); }
|
|
359
|
-
:is(.shell-header-slot, .preview-owner-header, .notes-modes) label:has(> input[type=checkbox]) { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 4px 8px; border-radius: 6px; color: var(--color-muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; cursor: pointer; }
|
|
359
|
+
:is(.shell-header-slot, .preview-owner-header, .notes-modes) label:has(> input[type=checkbox]) { display: inline-flex; flex-direction: row; align-items: center; gap: 5px; min-height: 28px; padding: 4px 8px; border-radius: 6px; color: var(--color-muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; cursor: pointer; }
|
|
360
360
|
:is(.shell-header-slot, .preview-owner-header, .notes-modes) label:has(> input[type=checkbox]):hover { background: var(--color-hover); color: var(--color-ink); }
|
|
361
361
|
:is(.shell-header-slot, .preview-owner-header, .notes-modes) button.run-line { color: var(--color-accent-strong); font-weight: 600; }
|
|
362
362
|
:is(.shell-header-slot, .preview-owner-header, .notes-modes) [role=group]:has(> button[aria-pressed]) { display: inline-flex; flex: none; gap: 0; margin: 0 2px; padding: 2px; border: 0; border-radius: 8px; background: var(--color-well); overflow: visible; }
|
|
@@ -706,7 +706,7 @@ ol.md-list { list-style-type: decimal; }
|
|
|
706
706
|
.activity-row > details > summary:hover::after, .activity-row > details > summary:focus-visible::after, .activity-row > details[open] > summary::after { opacity: .6; }
|
|
707
707
|
.activity-target.path, .activity-target.command, .activity-target.operation, .activity-target.query { font-family: var(--font-mono); font-size: 12px; }
|
|
708
708
|
/* A command keeps one more line of meaning instead of ending at the first ellipsis. */
|
|
709
|
-
.activity-target.command { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
|
|
709
|
+
.activity-target.command, .activity-target.packages { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
|
|
710
710
|
.activity-row[data-action="execute"] > p, .activity-row[data-action="execute"] > details > summary { align-items: flex-start; }
|
|
711
711
|
.activity-row[data-action="execute"] .activity-icon, .activity-row[data-action="execute"] > details > summary::after { margin-top: .2em; }
|
|
712
712
|
.activity-flag { flex: none; color: var(--color-failed); font-size: 12px; }
|
|
@@ -922,6 +922,21 @@ dialog.review-overlay{border:1px solid var(--border);color:inherit;margin:auto;w
|
|
|
922
922
|
.rho-review .review-version { align-self: flex-start; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; margin-top: 14px; color: var(--color-meta); font-size: 12.5px; font-weight: 400; text-align: left; }
|
|
923
923
|
.rho-review .review-version select { min-width: 220px; padding: 5px 8px; border: 1px solid var(--color-control-border); border-radius: 8px; background: var(--color-surface); color: var(--color-ink); font: inherit; }
|
|
924
924
|
|
|
925
|
+
/* A script beside its data flow: the flow takes a column at the right, or the lower half of a
|
|
926
|
+
narrow view. The editor marks the lines that make the value chosen, those that make what it
|
|
927
|
+
comes from and those that make what comes of it, in the colors the flow draws its path in. */
|
|
928
|
+
.script-flow { height: 100%; min-height: 0; container-type: inline-size; }
|
|
929
|
+
.script-flow-split { display: grid; grid-template-columns: minmax(0, 1fr); height: 100%; min-height: 0; }
|
|
930
|
+
.script-flow-split.open { grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); }
|
|
931
|
+
.script-flow-editor { min-width: 0; min-height: 0; height: 100%; }
|
|
932
|
+
.script-flow-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; overflow-y: auto; padding: 10px 12px 14px; border-left: 1px solid var(--color-divider); background: var(--color-canvas); }
|
|
933
|
+
.cm-flow-here { background: var(--color-accent-soft); box-shadow: inset 3px 0 0 var(--color-accent); }
|
|
934
|
+
.cm-flow-from { background: var(--color-hue-sky); box-shadow: inset 3px 0 0 var(--color-hue-sky-ink); }
|
|
935
|
+
.cm-flow-into { background: var(--color-hue-clay); box-shadow: inset 3px 0 0 var(--color-hue-clay-ink); }
|
|
936
|
+
@container (max-width: 640px) {
|
|
937
|
+
.script-flow-split.open { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
|
|
938
|
+
.script-flow-side { border-top: 1px solid var(--color-divider); border-left: 0; }
|
|
939
|
+
}
|
|
925
940
|
/* Explore in the Notebook: a short phrase with one button per language that can read the file. */
|
|
926
941
|
.explore-in { display: inline-flex; align-items: center; gap: 0; color: var(--color-muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
|
|
927
942
|
span.explore-in > svg { margin: 0 5px 0 8px; }
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{n as t,t as n}from"./react-Dss-ouuy.js";import{r}from"./markdown-0ngRuTpW.js";import{N as i}from"./canvas-BXhC8RDZ.js";import{Ct as a,Q as o,St as s,X as c,h as l}from"./index-BYuKpyoi.js";import{a as u,i as d,n as f,o as p,r as m,t as h}from"./notes-meaning-B3HFbh84.js";var g=e(n(),1),_=(e,t)=>e.length>t?e.slice(0,t-1).trimEnd()+`…`:e;function v(e){let{process:t,meanings:n,traces:r}=e,i=new Map(e.files.map(e=>[e.path,e])),s=f(n),c=e.described??new Map,l=new Map,u=new Map,d=new Map,p=[],m=(e,t,n,r,i,a,o)=>{let s=t+`>`+n+`:`+r;e.has(s)||e.set(s,{id:s,from:t,to:n,label:r,basis:i,at:a,turn:o})},h=e=>t.nodes.filter(t=>t.kind===`file`&&t.path===e).flatMap(e=>e.versions??(e.resource?[{resource:e.resource,capturedAt:e.capturedAt??e.at}]:[])).sort((e,t)=>e.capturedAt-t.capturedAt),g=(e,n)=>t.nodes.find(t=>t.kind===`file`&&t.path===e&&(!n||t.resource?.version===n||t.versions?.some(e=>e.resource.version===n))),v=(t,n,o,u)=>{let d=`m:f:`+t,f=l.get(d);if(!f){let p=i.get(t),m=u?.files.find(e=>e.path===t)?.kept??null,g=h(t).at(-1),_=m??(g?{resource:g.resource,at:g.capturedAt}:null),v=a(t,s,c),y=s.get(t);f={id:d,kind:`file`,title:t.split(`/`).at(-1)??t,path:t,at:o,category:p?.category??e.kindOf(t),exists:!!p,bytes:p?.bytes,modifiedAt:p?.modifiedAt,..._?{resource:_.resource,capturedAt:_.at}:{gap:`No version of this file was kept in the Agent's record.`},events:[{key:d,at:o,node:d,turn:n,action:`write`,label:`Named in the notes`}],meaning:{session:``,conversationId:null,...v?{description:{...v,...v.source===`notes`&&y?{trace:r.get(y.statement)}:{}}}:{}}},l.set(d,f)}return f};n.forEach(n=>{let a=n.statements;if(!a.length)return;let o=`m:`+(n.conversationId??`notes-`+n.line),s=t.turns.find(e=>e.conversationId===n.conversationId),c=a.map(e=>r.get(e)?.written?.at).filter(e=>e!==void 0),f=c.length?Math.min(...c):s?.start??0;p.push({id:o,conversationId:n.conversationId??``,title:n.title,agent:s?.agent??`Notes`,start:f,end:Math.max(f,...c),running:!1});let h=e=>r.get(e)?.written?.at??f,g=e=>({session:n.title,conversationId:n.conversationId,...e?{statement:e,trace:r.get(e)}:{}}),y=a.filter(e=>e.kind===`todo`),b=a.find(e=>e.kind===`question`),C={id:`q:`+o,kind:`question`,title:_(b?.text||n.title,160),text:b?.text||n.title,at:b?h(b):f,turn:o,conversationId:n.conversationId??void 0,agent:s?.agent,events:[],meaning:{...g(b),...y.length?{todos:{done:y.filter(e=>e.done).length,total:y.length}}:{}}};l.set(C.id,C);let w=new Map;a.forEach((e,i)=>{if(e.kind!==`finding`&&e.kind!==`choice`)return;let a={id:`m:s:`+o+`:`+e.line,kind:e.kind,title:_(e.text,220),text:e.text,at:h(e),turn:o,conversationId:n.conversationId??void 0,events:[{key:`m:s:`+o+`:`+e.line,at:h(e),node:`m:s:`+o+`:`+e.line,turn:o,action:`write`,label:`Written in the notes`}],meaning:g(e)};l.set(a.id,a),w.set(i,a),m(u,C.id,a.id,e.kind===`finding`?`found`:`chose`,`declared`,h(e),o);for(let t of e.links)m(u,a.id,v(t,o,h(e),r.get(e)).id,e.kind===`finding`?`rests on`:`gives`,`declared`,h(e),o);for(let t of e.alternatives??[])for(let n of t.links)m(u,a.id,v(n,o,h(e),r.get(e)).id,`instead gives`,`declared`,h(e),o);let s=r.get(e)?.written;s&&t.nodes.some(e=>e.id===`q:`+s.turn)&&m(d,a.id,`q:`+s.turn,`written in`,`observed`,s.at,o)}),a.forEach(e=>{if(e.kind!==`figure`)return;let t=e.of===void 0?void 0:w.get(e.of);for(let n of e.links)m(u,(t??C).id,v(n,o,h(e),r.get(e)).id,t?`shown in`:`shows`,`declared`,h(e),o)});let T=()=>new Set([...u.values()].map(e=>e.to));for(let e of a)if(e.kind===`file`)for(let t of e.links){let n=v(t,o,h(e),r.get(e));!T().has(n.id)&&n.category!==`code`&&n.category!==`data`&&m(u,C.id,n.id,`made`,`declared`,h(e),o)}let E=a.filter(e=>e.kind===`method`||e.kind===`file`);for(let t of E){let n=t.links.filter(t=>(i.get(t)?.category??e.kindOf(t))===`code`),a=t.links.filter(t=>(i.get(t)?.category??e.kindOf(t))===`data`);for(let e of n)for(let n of a)m(u,v(e,o,h(t),r.get(t)).id,v(n,o,h(t),r.get(t)).id,`reads`,`declared`,h(t),o)}n.conversationId&&x(o,C,n.conversationId),S(o,n.conversationId);for(let e of E)for(let t of e.links){let n=v(t,o,h(e),r.get(e));T().has(n.id)||m(u,C.id,n.id,n.category===`data`?`uses data`:`uses`,`declared`,h(e),o)}});let y=new Set(n.map(e=>e.conversationId));for(let e of new Set([...c.values()].map(e=>e.conversationId))){if(y.has(e)||!b(e).length)continue;let n=`m:`+e,r=t.turns.find(t=>t.conversationId===e),i=t.nodes.find(t=>t.kind===`question`&&t.conversationId===e),a=b(e).map(e=>Date.parse(e.observedAt)),o=r?.start??Math.min(...a);p.push({id:n,conversationId:e,title:r?.title??`Conversation`,agent:r?.agent??`Agent`,start:o,end:Math.max(o,...a),running:!1});let s={id:`q:`+n,kind:`question`,title:_(i?.text??r?.title??`Conversation`,160),text:i?.text??r?.title??``,at:o,turn:n,conversationId:e,agent:r?.agent,events:[],meaning:{session:r?.title??`Conversation`,conversationId:e,...i?{message:{id:i.id,at:i.at}}:{}}};l.set(s.id,s),x(n,s,e),S(n,e)}function b(t){return[...c.values()].filter(n=>n.conversationId===t&&[`results`,`figures`].includes(i.get(n.path)?.category??e.kindOf(n.path)??``))}function x(e,t,n){for(let r of b(n)){if(l.has(`m:f:`+r.path))continue;let n=Date.parse(r.observedAt),i=v(r.path,e,n);m(u,t.id,i.id,`made`,`observed`,n,e)}}function S(e,n){let r=e=>!n||e.turn.startsWith(n+`/`),i=new Map(t.nodes.map(e=>[e.id,e])),a=!0;for(;a;){a=!1;for(let n of[...l.values()])if(n.kind===`file`&&n.path&&n.events[0]?.turn===e){for(let o of t.edges.filter(e=>r(e)&&i.get(e.to)?.path===n.path)){let r=i.get(o.from);if(r?.kind===`run`)for(let s of t.edges.filter(e=>e.to===r.id&&(e.label===`runs`||e.label===`named`))){let t=i.get(s.from);if(!t?.path||t.path===n.path)continue;let r=l.size,c=v(t.path,e,s.at);m(u,n.id,c.id,s.label===`runs`?`made by`:`named with`,o.basis,o.at,e),l.size>r&&(a=!0)}}if(n.category===`code`)for(let o of t.edges.filter(e=>r(e)&&e.label===`runs`&&i.get(e.from)?.path===n.path))for(let r of t.edges.filter(e=>e.to===o.to&&e.label===`named`)){let t=i.get(r.from);if(!t?.path||t.path===n.path)continue;let o=l.size;m(u,n.id,v(t.path,e,r.at).id,`reads`,`named`,r.at,e),l.size>o&&(a=!0)}}}}for(let e of l.values()){if(e.kind!==`file`||!e.path)continue;let t=g(e.path,e.resource?.version)??g(e.path);t&&m(d,e.id,t.id,`kept as`,`observed`,e.capturedAt??e.at,e.events[0].turn)}let C=`m:f:`+o,w=e=>e.from!==C&&e.to!==C;return{nodes:[...l.values()].filter(e=>e.id!==C),edges:[...u.values()].filter(w),turns:p,traces:[...d.values()].filter(w)}}function y(e,t,n){return n===`process`||!t||!t.nodes.length?e:n===`meaning`?{...e,nodes:t.nodes,edges:t.edges,turns:t.turns,events:[],live:null,omittedNodes:0}:{...e,nodes:[...t.nodes,...e.nodes],edges:[...t.edges,...t.traces,...e.edges],turns:[...t.turns,...e.turns]}}var b={versions:24},x=new Map;function S(e,t,n,r,o,d=[]){let p=t.project.id,h=(0,g.useMemo)(()=>n.nodes.filter(e=>e.kind===`file`&&e.path===`project-notes.md`).flatMap(e=>(e.versions??(e.resource?[{resource:e.resource,capturedAt:e.capturedAt??e.at}]:[])).map(t=>({...t,turn:e.events.find(e=>e.action===`capture`&&e.key.endsWith(`:`+t.resource.id))?.turn??e.events[0]?.turn??``}))).sort((e,t)=>e.capturedAt-t.capturedAt).slice(-b.versions),[n]),_=h.map(e=>e.resource.version).join(`,`),[y,S]=(0,g.useState)([]);return(0,g.useEffect)(()=>{let t=!0;return Promise.all(h.map(t=>{let n=p+`:`+t.resource.id+`@`+t.resource.version;return x.has(n)||x.set(n,l(e,p,t.resource,c.maxTitleBytes).then(e=>new TextDecoder().decode(e)).catch(()=>(x.delete(n),``))),x.get(n).then(e=>({text:e,at:t.capturedAt,turn:t.turn,conversationId:t.turn.split(`/`)[0]??``,resource:t.resource}))})).then(e=>{t&&S(e.filter(e=>e.text))}),()=>{t=!1}},[e,p,_]),(0,g.useMemo)(()=>{let e=m(o.length>c.maxTitleBytes?``:o),t=e=>n.nodes.filter(t=>t.kind===`file`&&t.path===e).flatMap(e=>e.versions??(e.resource?[{resource:e.resource,capturedAt:e.capturedAt??e.at}]:[])).map(e=>({at:e.capturedAt,resource:e.resource})),l=e=>{let t=r.find(t=>t.path===e);return t?.modifiedAt?Date.parse(t.modifiedAt):null},p=new Map;for(let n of e)for(let e of n.statements)p.set(e,u(e,y,t,l));let g=s(d),_=f(e);return{meanings:e,traces:p,layer:v({process:n,meanings:e,traces:p,files:r,kindOf:e=>i(e),described:g}),descriptions:_,versions:{read:y.length,kept:h.length},holds:e=>a(e,_,g)}},[o,y,n,r,d])}var C=t();function w({statement:e,trace:t,conversationId:n,client:i,projectId:a,onPath:o,onSent:s}){let[c,l]=(0,g.useState)(null),u=e=>t?.files.find(t=>t.path===e)?.later,f=e=>e.map(e=>(0,C.jsxs)(`button`,{className:`work-file`,title:e+(u(e)===`kept`?` · a newer version was kept since this was written`:u(e)===`written`?` · written again since this was written`:``),onClick:()=>o(e),children:[(0,C.jsx)(r,{name:/\.(png|jpe?g|svg)$/i.test(e)?`image`:/\.(csv|tsv)$/i.test(e)?`table`:`file`,size:13}),(0,C.jsx)(`span`,{children:e.split(`/`).at(-1)}),u(e)&&(0,C.jsx)(`small`,{children:`changed since`})]},e)),{topic:m,rest:_}=d(p(e.text,e.links)),v=e.alternatives??[];return(0,C.jsx)(`div`,{className:`choice`+(m?``:` untitled`),children:(0,C.jsxs)(`div`,{className:`choice-grid`,children:[m&&(0,C.jsx)(`p`,{className:`choice-topic`,children:m}),(0,C.jsxs)(`div`,{className:`choice-body`,children:[(0,C.jsx)(`p`,{className:`choice-taken`,children:_}),e.links.length>0&&(0,C.jsx)(`div`,{className:`choice-foot`,children:f(e.links)}),v.map((t,r)=>(0,C.jsxs)(`div`,{className:`choice-other`,children:[(0,C.jsxs)(`p`,{children:[(0,C.jsx)(`span`,{className:`choice-other-label`,children:`Other option`}),h(p(t.text,t.links))]}),t.links.length>0&&(0,C.jsx)(`div`,{className:`choice-foot`,children:f(t.links)}),n&&c!==r&&(0,C.jsx)(`button`,{className:`text-button choice-instead`,onClick:()=>l(r),children:`Use this instead…`}),n&&c===r&&(0,C.jsx)(T,{conversationId:n,client:i,projectId:a,taken:e.text,option:t.text,onCancel:()=>l(null),onSent:e=>{l(null),s?.(e)}})]},r))]})]})})}function T({conversationId:e,client:t,projectId:n,taken:r,option:i,onCancel:a,onSent:o}){let[s,c]=(0,g.useState)(`Use this option instead: “${i}” (in place of “${r}”). Redo what depends on it and update the notes.`),[l,u]=(0,g.useState)(!1),[d,f]=(0,g.useState)(``),p=(0,g.useRef)(null);async function m(){if(s.trim()&&!l){p.current?.text!==s&&(p.current={text:s,changeId:`choice-`+crypto.randomUUID()}),u(!0),f(``);try{await t.call(`conversation.send`,{projectId:n,conversationId:e,changeId:p.current.changeId,text:s}),p.current=null,o(e)}catch(e){f(e instanceof Error?e.message:`The message could not be sent.`)}finally{u(!1)}}}return(0,C.jsxs)(`form`,{className:`choice-send`,onSubmit:e=>{e.preventDefault(),m()},onKeyDown:e=>{e.key===`Escape`&&a()},children:[(0,C.jsx)(`textarea`,{rows:3,value:s,"aria-label":`Message to the Agent`,onChange:e=>c(e.target.value),autoFocus:!0}),d&&(0,C.jsx)(`p`,{className:`inline-error`,role:`alert`,children:d}),(0,C.jsxs)(`div`,{className:`choice-send-actions`,children:[(0,C.jsx)(`button`,{type:`button`,onClick:a,children:`Cancel`}),(0,C.jsx)(`button`,{type:`submit`,className:`primary`,disabled:l||!s.trim(),children:l?`Sending…`:`Send to the Agent`})]})]})}export{S as n,y as r,w as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,M as s,R as c,T as l,U as u,W as d,q as f,z as p}from"./index-BYuKpyoi.js";import{c as ee,d as te,l as m,m as h,p as g,s as _,u as ne}from"./dist-DCtcCJPs.js";import{indentUnit as re,syntaxTree as v}from"./dist-CH56yNDn.js";var y=class{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=v(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(S(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(e,t,n){e==`abort`&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}};function b(e){let t=Object.keys(e).join(``),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,``)),`[${n?`\\w`:``}${t.replace(/[^\w\s]/g,`\\$&`)}]`}function ie(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=b(t)+b(n)+`*$`;return[RegExp(`^`+r),new RegExp(r)]}function ae(e){let t=e.map(e=>typeof e==`string`?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:ie(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}function x(e,t){return n=>{for(let t=v(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}function S(e,t){let{source:n}=e,r=t&&n[0]!=`^`,i=n[n.length-1]!=`$`;return!r&&!i?e:RegExp(`${r?`^`:``}(?:${n})${i?`$`:``}`,e.flags??(e.ignoreCase?`i`:``))}var C=r.define();typeof navigator==`object`&&navigator.platform;var w=n.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:`monospace`,whiteSpace:`nowrap`,overflow:`hidden auto`,maxWidth_fallback:`700px`,maxWidth:`min(700px, 95vw)`,minWidth:`250px`,maxHeight:`10em`,height:`100%`,listStyle:`none`,margin:0,padding:0,"& > li, & > completion-section":{padding:`1px 3px`,lineHeight:1.2},"& > li":{overflowX:`hidden`,textOverflow:`ellipsis`,cursor:`pointer`},"& > completion-section":{display:`list-item`,borderBottom:`1px solid silver`,paddingLeft:`0.5em`,opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:`#17c`,color:`white`},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:`#777`},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:`#347`,color:`white`},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:`#444`},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:`"···"`,opacity:.5,display:`block`,textAlign:`center`,cursor:`pointer`},".cm-tooltip.cm-completionInfo":{position:`absolute`,padding:`3px 9px`,width:`max-content`,maxWidth:`400px`,boxSizing:`border-box`,whiteSpace:`pre-line`},".cm-completionInfo.cm-completionInfo-left":{right:`100%`},".cm-completionInfo.cm-completionInfo-right":{left:`100%`},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`30px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`30px`},"&light .cm-snippetField":{backgroundColor:`#00000022`},"&dark .cm-snippetField":{backgroundColor:`#ffffff22`},".cm-snippetFieldPosition":{verticalAlign:`text-top`,width:0,height:`1.15em`,display:`inline-block`,margin:`0 -0.7px -.7em`,borderLeft:`1.4px dotted #888`},".cm-completionMatchedText":{textDecoration:`underline`},".cm-completionDetail":{marginLeft:`0.5em`,fontStyle:`italic`},".cm-completionIcon":{fontSize:`90%`,width:`.8em`,display:`inline-block`,textAlign:`center`,paddingRight:`.6em`,opacity:`0.6`,boxSizing:`content-box`},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:`'ƒ'`}},".cm-completionIcon-class":{"&:after":{content:`'○'`}},".cm-completionIcon-interface":{"&:after":{content:`'◌'`}},".cm-completionIcon-variable":{"&:after":{content:`'𝑥'`}},".cm-completionIcon-constant":{"&:after":{content:`'𝐶'`}},".cm-completionIcon-type":{"&:after":{content:`'𝑡'`}},".cm-completionIcon-enum":{"&:after":{content:`'∪'`}},".cm-completionIcon-property":{"&:after":{content:`'□'`}},".cm-completionIcon-keyword":{"&:after":{content:`'🔑︎'`}},".cm-completionIcon-namespace":{"&:after":{content:`'▢'`}},".cm-completionIcon-text":{"&:after":{content:`'abc'`,fontSize:`50%`,verticalAlign:`middle`}}}),oe=class{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}},se=class e{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(t){let n=t.mapPos(this.from,-1,p.TrackDel),r=t.mapPos(this.to,1,p.TrackDel);return n==null||r==null?null:new e(this.field,n,r)}},ce=class e{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],i=e.doc.lineAt(t),a=/^\s*/.exec(i.text)[0];for(let i of this.lines){if(n.length){let n=a,o=/^\t*/.exec(i)[0].length;for(let t=0;t<o;t++)n+=e.facet(re);r.push(t+n.length-o),i=n+i.slice(o)}n.push(i),t+=i.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new se(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(t){let n=[],r=[],i=[],a;for(let e of t.split(/\r\n?|\n/)){for(;a=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(e);){let t=a[1]?+a[1]:null,o=a[2]||a[3]||``,s=-1;t===0&&(t=1e9);let c=o.replace(/\\[{}]/g,e=>e[1]);for(let e=0;e<n.length;e++)(t==null?c&&n[e].name==c:n[e].seq==t)&&(s=e);if(s<0){let e=0;for(;e<n.length&&(t==null||n[e].seq!=null&&n[e].seq<t);)e++;n.splice(e,0,{seq:t,name:c}),s=e;for(let e of i)e.field>=s&&e.field++}for(let e of i)if(e.line==r.length&&e.from>a.index){let t=a[2]?3+(a[1]||``).length:2;e.from-=t,e.to-=t}i.push(new oe(s,r.length,a.index,a.index+c.length)),e=e.slice(0,a.index)+o+e.slice(a.index+a[0].length)}e=e.replace(/\\([{}])/g,(e,t,n)=>{for(let e of i)e.line==r.length&&e.from>n&&(e.from--,e.to--);return t}),r.push(e)}return new e(r,i)}},le=l.widget({widget:new class extends e{toDOM(){let e=document.createElement(`span`);return e.className=`cm-snippetFieldPosition`,e}ignoreEvent(){return!1}}}),ue=l.mark({class:`cm-snippetField`}),T=class e{constructor(e,t){this.ranges=e,this.active=t,this.deco=l.set(e.map(e=>(e.from==e.to?le:ue).range(e.from,e.to)),!0)}map(t){let n=[];for(let e of this.ranges){let r=e.map(t);if(!r)return null;n.push(r)}return new e(n,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}},E=d.define({map(e,t){return e&&e.map(t)}}),de=d.define(),D=i.define({create(){return null},update(e,t){for(let n of t.effects){if(n.is(E))return n.value;if(n.is(de)&&e)return new T(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>n.decorations.from(e,e=>e?e.deco:l.none)});function O(e,t){return a.create(e.filter(e=>e.field==t).map(e=>a.range(e.from,e.to)))}function fe(e){let t=ce.parse(e);return(e,n,r,i)=>{let{text:a,ranges:s}=t.instantiate(e.state,r),{main:c}=e.state.selection,l={changes:{from:r,to:i==c.from?c.to:i,insert:o.of(a)},scrollIntoView:!0,annotations:n?[C.of(n),f.userEvent.of(`input.complete`)]:void 0};if(s.length&&(l.selection=O(s,0)),s.some(e=>e.field>0)){let t=new T(s,0),n=l.effects=[E.of(t)];e.state.field(D,!1)===void 0&&n.push(d.appendConfig.of([D,M,P,w]))}e.dispatch(e.state.update(l))}}function k(e){return({state:t,dispatch:n})=>{let r=t.field(D,!1);if(!r||e<0&&r.active==0)return!1;let i=r.active+e,a=e>0&&!r.ranges.some(t=>t.field==i+e);return n(t.update({selection:O(r.ranges,i),effects:E.of(a?null:new T(r.ranges,i)),scrollIntoView:!0})),!0}}var A=[{key:`Tab`,run:k(1),shift:k(-1)},{key:`Escape`,run:({state:e,dispatch:t})=>e.field(D,!1)?(t(e.update({effects:E.of(null)})),!0):!1}],j=c.define({combine(e){return e.length?e[0]:A}}),M=t.highest(s.compute([j],e=>e.facet(j)));function N(e,t){return{...t,apply:fe(e)}}var P=n.domEventHandlers({mousedown(e,t){let n=t.state.field(D,!1),r;if(!n||(r=t.posAtCoords({x:e.clientX,y:e.clientY}))==null)return!1;let i=n.ranges.find(e=>e.from<=r&&e.to>=r);return!i||i.field==n.active?!1:(t.dispatch({selection:O(n.ranges,i.field),effects:E.of(n.ranges.some(e=>e.field>i.field)?new T(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),F=new class extends u{};F.startSide=1,F.endSide=-1,typeof navigator==`object`&&navigator.userAgent;var I=class e{constructor(e,t,n,r,i,a,o,s,c,l=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=a,this.buffer=o,this.bufferBase=s,this.curContext=c,this.lookAhead=l,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?`!`+this.score:``}`}static start(t,n,r=0){let i=t.parser.context;return new e(t,[],n,r,r,0,[],0,i?new L(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=e&65535,{parser:r}=this.p,i=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),a=r.dynamicPrecedence(n);if(a&&(this.score+=a),t==0){n<r.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(r.getGoto(this.state,n,!0),this.reducePos),n<r.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,i?8:4,!0),this.reduceContext(n,this.reducePos);return}let o=this.stack.length-(t-1)*3-(e&262144?6:0),s=o?this.stack[o-2]:this.p.ranges[0].from;n<r.minRepeatTerm&&s==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let c=this.reducePos-s;c>=2e3&&!this.p.parser.nodeSet.types[n]?.isAnonymous&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=c));let l=o?this.stack[o-1]:0,u=this.bufferBase+this.buffer.length-l;if(n<r.minRepeatTerm||e&131072){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,s,e,u+4,!0)}if(e&262144)this.state=this.stack[o];else{let e=this.stack[o-3];this.state=r.getGoto(e,n,!0)}for(;this.stack.length>o;)this.stack.pop();this.reduceContext(n,s)}storeNode(e,t,n,r=4,i=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this.buffer.length;if(e>0&&this.buffer[e-4]==0&&this.buffer[e-1]>-1){if(t==n)return;if(this.buffer[e-2]>=t){this.buffer[e-2]=n;return}}}if(!i||this.pos==n)this.buffer.push(e,t,n,r);else{let i=this.buffer.length;if(i>0&&(this.buffer[i-4]!=0||this.buffer[i-1]<0)){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}}shift(e,t,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{let i=e,{parser:a}=this.p;this.pos=r;let o=a.stateFlag(i,1);!o&&(r>n||t<=a.maxNode)&&(this.reducePos=r),this.pushState(i,o?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=a.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){e&65536?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let i=this.reducePos=this.pos=n+e.length;this.pushState(t,n),this.buffer.push(r,n,i,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let t=this,n=t.buffer.length;for(n&&t.buffer[n-4]==0&&(n-=4);n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),i=t.bufferBase+n;for(;t&&i==t.bufferBase;)t=t.parent;return new e(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new R(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r=0,i;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>t&1&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let i=this.split();i.pushState(r,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.reducePos=this.pos,i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(t&65536))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=t&65535,i=this.stack.length-n*3;if(i<0||e.getGoto(this.stack[i],r,!1)<0){let e=this.findForcedReduction();if(e==null)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(!(t&393216)){if(t&65536){let n=(t>>19)-i;if(n>1){let r=t&65535,i=this.stack.length-n*3;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(e!=null)return e}}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.storeNode(this.curContext.hash,this.reducePos,this.reducePos,-3,!0)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new L(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return e<=this.lookAhead?!1:(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},L=class{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}},R=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}},z=class e{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new e(t,n,n-t.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new e(this.stack,this.pos,this.index)}};function B(e,t=Uint16Array){if(typeof e!=`string`)return e;let n=null;for(let r=0,i=0;r<e.length;){let a=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(t==126){a=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),a+=i,n)break;a*=46}n?n[i++]=a:n=new t(a)}return n}var V=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},H=new V,pe=class{constructor(e,t){this.input=e,this.ranges=t,this.chunk=``,this.chunkOff=0,this.chunk2=``,this.chunk2Pos=0,this.next=-1,this.token=H,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(t==null)return-1;if(n=t,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n<this.token.start)throw RangeError(`Token end out of bounds`);this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.next=this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?-1:this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk=``,this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=H,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk=``,this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n=``;for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}},U=class{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;G(this.data,e,t,this.id,n.data,n.tokenPrecTable)}};U.prototype.contextual=U.prototype.fallback=U.prototype.extend=!1;var W=class{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e==`string`?B(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(G(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(n||r++,i==null)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}};W.prototype.contextual=U.prototype.fallback=U.prototype.extend=!1;var me=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}};function G(e,t,n,r,i,a){let o=0,s=1<<r,{dialect:c}=n.p.parser;scan:for(;(s&e[o])!=0;){let n=e[o+1];for(let r=o+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(c.allows(n)&&(t.token.value==-1||t.token.value==n||he(n,t.token.value,i,a))){t.acceptToken(n);break}}let r=t.next,l=0,u=e[o+2];if(t.next<0&&u>l&&e[n+u*3-3]==65535){o=e[n+u*3-1];continue scan}for(;l<u;){let i=l+u>>1,a=n+i+(i<<1),s=e[a],c=e[a+1]||65536;if(r<s)u=i;else if(r>=c)l=i+1;else{o=e[a+2],t.advance();continue scan}}break}}function K(e,t,n){for(let r=t,i;(i=e[r])!=65535;r++)if(i==n)return r-t;return-1}function he(e,t,n,r){let i=K(n,r,t);return i<0||K(n,r,e)<i}var q=typeof process<`u`&&/\bparse\b/.test({}.LOG),J=null;function Y(e,t,n){let r=e.cursor(ee.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}var ge=class{constructor(e,t){this.fragments=e,this.minRepeat=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.lastRepeat=null,this.lastRepeatPos=-1,this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Y(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Y(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],r=this.index[t];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[r],a=this.start[t]+n.positions[r];if(a>e)return this.nextStart=a,null;if(i instanceof h){let n=a>this.lastRepeatPos&&i.type.id>=this.minRepeat;if(a==e||n){let t=a+i.length,r;if(a>=this.safeFrom&&t<=this.safeTo&&(!(r=i.prop(m.lookAhead))||t+r<this.fragment.to)){if(n&&(this.lastRepeat=i,this.lastRepeatPos=a),a==e)return i}else if(a==e)return null}this.index[t]++,a+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+i.length}}},_e=class{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new V)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,a=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if(!(1<<r&a))continue;let c=i[r],l=this.tokens[r];if((!n||c.fallback)&&((c.contextual||l.start!=e.pos||l.mask!=a||l.context!=o)&&(this.updateCachedToken(l,c,e),l.mask=a,l.context=o),l.lookAhead>l.end+25&&(s=Math.max(l.lookAhead,s)),l.value!=0)){let r=t;if(l.extended>-1&&(t=this.addActions(e,l.extended,l.end,t)),t=this.addActions(e,l.value,l.end,t),!c.extend&&(n=l,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),!n&&e.pos==this.stream.end&&(n=new V,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new V,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){i&1?e.extended=i>>1:e.value=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:a}=e.p,{data:o}=a;for(let e=0;e<2;e++)for(let s=a.stateSlot(i,e?2:1);;s+=3){if(o[s]==65535){if(o[s+1]==1)s=Q(o,s+2);else{r==0&&o[s+1]==2&&(r=this.putAction(Q(o,s+2),t,n,r));break}}o[s]==t&&(r=this.putAction(Q(o,s+1),t,n,r))}return r}},ve=class{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new pe(t,r),this.tokens=new _e(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[I.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>e.bufferLength*4?new ge(n,e.minRepeatTerm):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],r,i;if(this.bigReductionCount>300&&e.length==1){let[t]=e;for(;t.forceReduce()&&t.stack.length&&t.stack[t.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let o=e[a];for(;;){if(this.tokens.mainToken=null,o.pos>t)n.push(o);else if(this.advanceStack(o,n,e))continue;else{r||(r=[],i=[]),r.push(o);let e=this.tokens.getMainToken(o);i.push(e.value,e.end)}break}}if(!n.length){let e=r&&Se(r);if(e)return q&&console.log(`Finish with `+this.stackID(e)),this.stackToTree(e);if(this.parser.strict)throw q&&r&&console.log(`Stuck with token `+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):`none`)),SyntaxError(`No parse at `+t);this.recovering||=5}if(this.recovering&&r){let e=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,i,n);if(e)return q&&console.log(`Force-finish `+this.stackID(e)),this.stackToTree(e.forceAll())}if(this.recovering){let e=this.recovering==1?1:this.recovering*3;if(n.length>e)for(n.sort((e,t)=>t.score-e.score);n.length>e;)n.pop();n.some(e=>e.reducePos>t)&&this.recovering--}else if(n.length>1){outer:for(let e=0;e<n.length-1;e++){let t=n[e];for(let r=e+1;r<n.length;r++){let i=n[r];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500){if((t.score-i.score||t.buffer.length-i.buffer.length)>0)n.splice(r--,1);else{n.splice(e--,1);continue outer}}}}n.length>12&&(n.sort((e,t)=>t.score-e.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let e=1;e<n.length;e++)n[e].pos<this.minStackPos&&(this.minStackPos=n[e].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw RangeError(`Can't move stoppedAt forward`);this.stoppedAt=e}tryReuse(e,t,n,r){if(!n)return null;let i=e.curContext&&e.curContext.tracker.strict,a=i?e.curContext.hash:0;for(;n;){let o=this.parser.nodeSet.types[n.type.id]==n.type?this.parser.getGoto(e.state,n.type.id):-1;if(o>-1&&n.length&&(!i||(n.prop(m.contextHash)||0)==a))return e.useNode(n,o,t),n;if(n.children.length==0||n.positions[0]>0)break;let s=n.children[0];if(s instanceof h&&(!r||s.type.id>=this.parser.minRepeatTerm))n=s;else break}return null}advanceStack(e,t,n){let r=e.pos,{parser:i}=this,a=q?this.stackID(e)+` -> `:``;if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.reducePos<r&&e.buffer.length&&e.buffer[e.buffer.length-2]<=e.reducePos&&this.fragments.lastRepeatPos==e.reducePos&&this.tryReuse(e,e.reducePos,this.fragments.lastRepeat,!0)||this.tryReuse(e,r,this.fragments.nodeAt(r),!1);if(t)return q&&console.log(a+this.stackID(e)+` (via reuse of ${i.getName(t.type.id)})`),!0}let o=i.stateSlot(e.state,4);if(o>0)return e.reduce(o),q&&console.log(a+this.stackID(e)+` (via always-reduce ${i.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let o=0;o<s.length;){let c=s[o++],l=s[o++],u=s[o++],d=o==s.length||!n,f=d?e:e.split(),p=this.tokens.mainToken;if(f.apply(c,l,p?p.start:f.pos,u),q&&console.log(a+this.stackID(f)+` (via ${c&65536?`reduce of ${i.getName(c&65535)}`:`shift`} for ${i.getName(l)} @ ${r}${f==e?``:`, split`})`),d)return!0;f.pos>r?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return X(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let a=0;a<e.length;a++){let o=e[a],s=t[a<<1],c=t[(a<<1)+1],l=q?this.stackID(o)+` -> `:``;if(o.deadEnd&&(i||(i=!0,o.restart(),q&&console.log(l+this.stackID(o)+` (restarted)`),this.advanceFully(o,n))))continue;let u=o.split(),d=l;for(let e=0;e<10&&u.forceReduce()&&(q&&console.log(d+this.stackID(u)+` (via force-reduce)`),!this.advanceFully(u,n));e++)q&&(d=this.stackID(u)+` -> `);for(let e of o.recoverByInsert(s))q&&console.log(l+this.stackID(e)+` (via recover-insert)`),this.advanceFully(e,n);this.stream.end>o.pos?(c==o.pos&&(c++,s=0),o.recoverByDelete(s,c),q&&console.log(l+this.stackID(o)+` (via recover-delete ${this.parser.getName(s)})`),X(o,n)):(!r||r.score<u.score)&&(r=u)}return r}stackToTree(e){return e.close(),h.build({buffer:z.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(J||=new WeakMap).get(e);return t||J.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}};function X(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}var ye=class{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}},Z=e=>e,be=class{constructor(e){this.start=e.start,this.shift=e.shift||Z,this.reduce=e.reduce||Z,this.reuse=e.reuse||Z,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},xe=class e extends g{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(` `);this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push(``);let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),r=[];for(let e=0;e<t.length;e++)r.push([]);function i(e,t,n){r[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];typeof e==`string`&&(e=m[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)i(r,e,t[n++]);else{let a=t[n+-r];for(let o=-r;o>0;o--)i(t[n++],e,a);n++}}}this.nodeSet=new ne(t.map((t,i)=>te.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:r[i],top:n.indexOf(i)>-1,error:i==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=_;let a=B(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map($),this.states=B(e.states,Uint32Array),this.data=B(e.stateData),this.goto=B(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>typeof e==`number`?new U(a,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new ve(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let i=r[t+1];;){let t=r[i++],a=t&1,o=r[i++];if(a&&n)return o;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return o;if(a)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i=this.stateSlot(e,r?2:1),a;;i+=3){if((a=n[i])==65535){if(n[i+1]==1)a=n[i=Q(n,i+2)];else if(n[i+1]==2)return Q(n,i+2);else break}if(a==t||a==0)return Q(n,i+1)}return 0}stateSlot(e,t){return this.states[e*6+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);r==null;n+=3){if(this.data[n]==65535){if(this.data[n+1]==1)n=Q(this.data,n+2);else break}r=t(Q(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535){if(this.data[n+1]==1)n=Q(this.data,n+2);else break}if(!(this.data[n+2]&1)){let e=this.data[n+1];t.some((t,n)=>n&1&&t==e)||t.push(this.data[n],e)}}return t}configure(t){let n=Object.assign(Object.create(e.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let e=this.topRules[t.top];if(!e)throw RangeError(`Invalid top rule name ${t.top}`);n.top=e}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(e=>{let n=t.tokenizers.find(t=>t.from==e);return n?n.to:e})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((e,r)=>{let i=t.specializers.find(t=>t.from==e.external);if(!i)return e;let a=Object.assign(Object.assign({},e),{external:i.to});return n.specializers[r]=$(a),a})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(` `)){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],i;(i=this.data[n++])!=65535;)(r||=new Uint8Array(this.maxTerm+1))[i]=1;return new ye(e,n,r)}static deserialize(t){return new e(t)}};function Q(e,t){return e[t]|e[t+1]<<16}function Se(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||e!=null&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}function $(e){if(e.external){let t=+!!e.extend;return(n,r)=>e.external(n,r)<<1|t}return e.get}export{y as a,N as c,W as i,me as n,ae as o,xe as r,x as s,be as t};
|