@overcrow/mcp 0.0.0 → 0.1.1
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/LICENSE +21 -0
- package/README.md +91 -1
- package/dist/audit/index.js +103 -0
- package/dist/audit/lexer.js +417 -0
- package/dist/audit/project.js +200 -0
- package/dist/audit/rules.js +661 -0
- package/dist/bootstrap/download.js +229 -0
- package/dist/bootstrap/install.js +280 -0
- package/dist/bootstrap/pin.js +85 -0
- package/dist/bootstrap/pin.json +119 -0
- package/dist/bootstrap/zip.js +258 -0
- package/dist/cli.js +200 -0
- package/dist/confine.js +244 -0
- package/dist/content/docs/en/cli.md +768 -0
- package/dist/content/docs/en/creator-space.md +78 -0
- package/dist/content/docs/en/dev-channel.md +130 -0
- package/dist/content/docs/en/elements.md +469 -0
- package/dist/content/docs/en/forms.md +328 -0
- package/dist/content/docs/en/guide.md +252 -0
- package/dist/content/docs/en/index.md +85 -0
- package/dist/content/docs/en/limits.md +241 -0
- package/dist/content/docs/en/logic.md +446 -0
- package/dist/content/docs/en/manifest.md +388 -0
- package/dist/content/docs/en/mcp.md +165 -0
- package/dist/content/docs/en/package.md +131 -0
- package/dist/content/docs/en/publish-a-widget.md +94 -0
- package/dist/content/docs/en/publish-keys.md +95 -0
- package/dist/content/docs/en/publishing.md +167 -0
- package/dist/content/docs/en/reference.md +55 -0
- package/dist/content/docs/en/result-shapes.md +332 -0
- package/dist/content/docs/en/sdk.md +295 -0
- package/dist/content/docs/en/security.md +115 -0
- package/dist/content/docs/en/service-reference.md +344 -0
- package/dist/content/docs/en/services.md +517 -0
- package/dist/content/docs/en/style-properties.md +270 -0
- package/dist/content/docs/en/style.md +266 -0
- package/dist/content/docs/en/testing.md +400 -0
- package/dist/content/docs/en/verified-domain.md +46 -0
- package/dist/content/docs/en/view.md +338 -0
- package/dist/content/docs/en/widget-listing.md +65 -0
- package/dist/content/docs/en/widget-review.md +57 -0
- package/dist/content/docs/en/widget-statistics.md +134 -0
- package/dist/content/docs/en/widgets.md +76 -0
- package/dist/content/docs/fr/cli.md +802 -0
- package/dist/content/docs/fr/creator-space.md +83 -0
- package/dist/content/docs/fr/dev-channel.md +140 -0
- package/dist/content/docs/fr/elements.md +475 -0
- package/dist/content/docs/fr/forms.md +341 -0
- package/dist/content/docs/fr/guide.md +263 -0
- package/dist/content/docs/fr/index.md +90 -0
- package/dist/content/docs/fr/limits.md +244 -0
- package/dist/content/docs/fr/logic.md +461 -0
- package/dist/content/docs/fr/manifest.md +401 -0
- package/dist/content/docs/fr/mcp.md +173 -0
- package/dist/content/docs/fr/package.md +139 -0
- package/dist/content/docs/fr/publish-a-widget.md +101 -0
- package/dist/content/docs/fr/publish-keys.md +97 -0
- package/dist/content/docs/fr/publishing.md +177 -0
- package/dist/content/docs/fr/reference.md +59 -0
- package/dist/content/docs/fr/result-shapes.md +333 -0
- package/dist/content/docs/fr/sdk.md +301 -0
- package/dist/content/docs/fr/security.md +129 -0
- package/dist/content/docs/fr/service-reference.md +346 -0
- package/dist/content/docs/fr/services.md +540 -0
- package/dist/content/docs/fr/style-properties.md +272 -0
- package/dist/content/docs/fr/style.md +281 -0
- package/dist/content/docs/fr/testing.md +417 -0
- package/dist/content/docs/fr/verified-domain.md +49 -0
- package/dist/content/docs/fr/view.md +352 -0
- package/dist/content/docs/fr/widget-listing.md +69 -0
- package/dist/content/docs/fr/widget-review.md +59 -0
- package/dist/content/docs/fr/widget-statistics.md +141 -0
- package/dist/content/docs/fr/widgets.md +81 -0
- package/dist/content/examples/clock/LICENSE +21 -0
- package/dist/content/examples/clock/README.md +75 -0
- package/dist/content/examples/clock/listing.json +19 -0
- package/dist/content/examples/clock/locales/en.json +4 -0
- package/dist/content/examples/clock/locales/fr.json +4 -0
- package/dist/content/examples/clock/logic.ts +85 -0
- package/dist/content/examples/clock/manifest.json +44 -0
- package/dist/content/examples/clock/package.json +16 -0
- package/dist/content/examples/clock/style.ocss +26 -0
- package/dist/content/examples/clock/tests/hidden.scenario.json +68 -0
- package/dist/content/examples/clock/tests/load-logic.mjs +22 -0
- package/dist/content/examples/clock/tests/logic.test.mjs +89 -0
- package/dist/content/examples/clock/tests/options.scenario.json +108 -0
- package/dist/content/examples/clock/tests/preview.scenario.json +25 -0
- package/dist/content/examples/clock/tests/render.scenario.json +94 -0
- package/dist/content/examples/clock/tests/summer-time.scenario.json +74 -0
- package/dist/content/examples/clock/tests/ticks.scenario.json +120 -0
- package/dist/content/examples/clock/tsconfig.json +16 -0
- package/dist/content/examples/clock/view.ocml +8 -0
- package/dist/content/examples/countdown/LICENSE +20 -0
- package/dist/content/examples/countdown/listing.json +10 -0
- package/dist/content/examples/countdown/locales/en.json +15 -0
- package/dist/content/examples/countdown/locales/fr.json +15 -0
- package/dist/content/examples/countdown/logic.ts +179 -0
- package/dist/content/examples/countdown/manifest.json +34 -0
- package/dist/content/examples/countdown/package.json +15 -0
- package/dist/content/examples/countdown/style.ocss +94 -0
- package/dist/content/examples/countdown/tsconfig.json +16 -0
- package/dist/content/examples/countdown/view.ocml +42 -0
- package/dist/content/examples/fps/LICENSE +21 -0
- package/dist/content/examples/fps/README.md +64 -0
- package/dist/content/examples/fps/listing.json +19 -0
- package/dist/content/examples/fps/locales/en.json +11 -0
- package/dist/content/examples/fps/locales/fr.json +11 -0
- package/dist/content/examples/fps/logic.ts +64 -0
- package/dist/content/examples/fps/manifest.json +30 -0
- package/dist/content/examples/fps/package.json +16 -0
- package/dist/content/examples/fps/style.ocss +31 -0
- package/dist/content/examples/fps/submission.json +8 -0
- package/dist/content/examples/fps/tests/label.scenario.json +63 -0
- package/dist/content/examples/fps/tests/load-logic.mjs +22 -0
- package/dist/content/examples/fps/tests/logic.test.mjs +60 -0
- package/dist/content/examples/fps/tests/preview.scenario.json +29 -0
- package/dist/content/examples/fps/tests/refused.scenario.json +20 -0
- package/dist/content/examples/fps/tests/render.scenario.json +96 -0
- package/dist/content/examples/fps/tests/stale.scenario.json +91 -0
- package/dist/content/examples/fps/tests/unavailable.scenario.json +111 -0
- package/dist/content/examples/fps/tsconfig.json +16 -0
- package/dist/content/examples/fps/view.ocml +11 -0
- package/dist/content/examples/media/LICENSE +21 -0
- package/dist/content/examples/media/README.md +147 -0
- package/dist/content/examples/media/listing.json +19 -0
- package/dist/content/examples/media/locales/en.json +11 -0
- package/dist/content/examples/media/locales/fr.json +11 -0
- package/dist/content/examples/media/logic.ts +191 -0
- package/dist/content/examples/media/manifest.json +35 -0
- package/dist/content/examples/media/package.json +16 -0
- package/dist/content/examples/media/style.ocss +148 -0
- package/dist/content/examples/media/submission.json +12 -0
- package/dist/content/examples/media/tests/covers.scenario.json +144 -0
- package/dist/content/examples/media/tests/gesture.scenario.json +173 -0
- package/dist/content/examples/media/tests/load-logic.mjs +22 -0
- package/dist/content/examples/media/tests/logic.test.mjs +176 -0
- package/dist/content/examples/media/tests/marquee.scenario.json +127 -0
- package/dist/content/examples/media/tests/preview.scenario.json +52 -0
- package/dist/content/examples/media/tests/read-only.scenario.json +53 -0
- package/dist/content/examples/media/tests/refused.scenario.json +22 -0
- package/dist/content/examples/media/tests/refused.test.mjs +31 -0
- package/dist/content/examples/media/tests/render.scenario.json +136 -0
- package/dist/content/examples/media/tests/states.scenario.json +257 -0
- package/dist/content/examples/media/tests/unavailable.scenario.json +120 -0
- package/dist/content/examples/media/tsconfig.json +16 -0
- package/dist/content/examples/media/view.ocml +41 -0
- package/dist/content/examples/notes/LICENSE +21 -0
- package/dist/content/examples/notes/README.md +219 -0
- package/dist/content/examples/notes/listing.json +19 -0
- package/dist/content/examples/notes/locales/en.json +25 -0
- package/dist/content/examples/notes/locales/fr.json +25 -0
- package/dist/content/examples/notes/logic.ts +799 -0
- package/dist/content/examples/notes/manifest.json +40 -0
- package/dist/content/examples/notes/package.json +16 -0
- package/dist/content/examples/notes/style.ocss +469 -0
- package/dist/content/examples/notes/submission.json +12 -0
- package/dist/content/examples/notes/tests/checks.scenario.json +237 -0
- package/dist/content/examples/notes/tests/create.scenario.json +260 -0
- package/dist/content/examples/notes/tests/delete.scenario.json +342 -0
- package/dist/content/examples/notes/tests/drafts.scenario.json +714 -0
- package/dist/content/examples/notes/tests/editor.scenario.json +232 -0
- package/dist/content/examples/notes/tests/frame.scenario.json +93 -0
- package/dist/content/examples/notes/tests/interactive.scenario.json +344 -0
- package/dist/content/examples/notes/tests/limits.scenario.json +1351 -0
- package/dist/content/examples/notes/tests/load-logic.mjs +22 -0
- package/dist/content/examples/notes/tests/logic.test.mjs +514 -0
- package/dist/content/examples/notes/tests/preview.scenario.json +99 -0
- package/dist/content/examples/notes/tests/read-only.scenario.json +105 -0
- package/dist/content/examples/notes/tests/refused.scenario.json +33 -0
- package/dist/content/examples/notes/tests/save.scenario.json +378 -0
- package/dist/content/examples/notes/tests/states.scenario.json +640 -0
- package/dist/content/examples/notes/tests/typing.scenario.json +562 -0
- package/dist/content/examples/notes/tests/unavailable.scenario.json +246 -0
- package/dist/content/examples/notes/tsconfig.json +16 -0
- package/dist/content/examples/notes/view.ocml +154 -0
- package/dist/content/examples/performance/LICENSE +21 -0
- package/dist/content/examples/performance/README.md +134 -0
- package/dist/content/examples/performance/listing.json +19 -0
- package/dist/content/examples/performance/locales/en.json +20 -0
- package/dist/content/examples/performance/locales/fr.json +20 -0
- package/dist/content/examples/performance/logic.ts +210 -0
- package/dist/content/examples/performance/manifest.json +83 -0
- package/dist/content/examples/performance/package.json +16 -0
- package/dist/content/examples/performance/style.ocss +75 -0
- package/dist/content/examples/performance/submission.json +12 -0
- package/dist/content/examples/performance/tests/fahrenheit.scenario.json +110 -0
- package/dist/content/examples/performance/tests/horizontal.scenario.json +96 -0
- package/dist/content/examples/performance/tests/load-logic.mjs +22 -0
- package/dist/content/examples/performance/tests/logic.test.mjs +226 -0
- package/dist/content/examples/performance/tests/menu.scenario.json +170 -0
- package/dist/content/examples/performance/tests/no-fps-source.scenario.json +47 -0
- package/dist/content/examples/performance/tests/preview.scenario.json +45 -0
- package/dist/content/examples/performance/tests/refused.scenario.json +20 -0
- package/dist/content/examples/performance/tests/refused.test.mjs +19 -0
- package/dist/content/examples/performance/tests/region.scenario.json +89 -0
- package/dist/content/examples/performance/tests/render.scenario.json +112 -0
- package/dist/content/examples/performance/tests/sources.scenario.json +151 -0
- package/dist/content/examples/performance/tests/stale.scenario.json +111 -0
- package/dist/content/examples/performance/tests/telemetry-only.scenario.json +44 -0
- package/dist/content/examples/performance/tests/thresholds.scenario.json +147 -0
- package/dist/content/examples/performance/tests/waiting.scenario.json +105 -0
- package/dist/content/examples/performance/tsconfig.json +16 -0
- package/dist/content/examples/performance/view.ocml +18 -0
- package/dist/content/examples/playervox-journal/LICENSE +21 -0
- package/dist/content/examples/playervox-journal/README.md +150 -0
- package/dist/content/examples/playervox-journal/listing.json +19 -0
- package/dist/content/examples/playervox-journal/locales/en.json +25 -0
- package/dist/content/examples/playervox-journal/locales/fr.json +25 -0
- package/dist/content/examples/playervox-journal/logic.ts +556 -0
- package/dist/content/examples/playervox-journal/manifest.json +19 -0
- package/dist/content/examples/playervox-journal/package.json +16 -0
- package/dist/content/examples/playervox-journal/style.ocss +142 -0
- package/dist/content/examples/playervox-journal/submission.json +12 -0
- package/dist/content/examples/playervox-journal/tests/changes.scenario.json +482 -0
- package/dist/content/examples/playervox-journal/tests/delete.scenario.json +432 -0
- package/dist/content/examples/playervox-journal/tests/frame.scenario.json +169 -0
- package/dist/content/examples/playervox-journal/tests/load-logic.mjs +22 -0
- package/dist/content/examples/playervox-journal/tests/logic.test.mjs +349 -0
- package/dist/content/examples/playervox-journal/tests/paging.scenario.json +428 -0
- package/dist/content/examples/playervox-journal/tests/preview.scenario.json +184 -0
- package/dist/content/examples/playervox-journal/tests/read-only.scenario.json +157 -0
- package/dist/content/examples/playervox-journal/tests/refused.scenario.json +39 -0
- package/dist/content/examples/playervox-journal/tests/scale.scenario.json +286 -0
- package/dist/content/examples/playervox-journal/tests/signed-out.scenario.json +134 -0
- package/dist/content/examples/playervox-journal/tests/states.scenario.json +741 -0
- package/dist/content/examples/playervox-journal/tests/unavailable.scenario.json +183 -0
- package/dist/content/examples/playervox-journal/tsconfig.json +16 -0
- package/dist/content/examples/playervox-journal/view.ocml +52 -0
- package/dist/content/examples/playervox-rating/LICENSE +21 -0
- package/dist/content/examples/playervox-rating/README.md +166 -0
- package/dist/content/examples/playervox-rating/listing.json +19 -0
- package/dist/content/examples/playervox-rating/locales/en.json +35 -0
- package/dist/content/examples/playervox-rating/locales/fr.json +35 -0
- package/dist/content/examples/playervox-rating/logic.ts +581 -0
- package/dist/content/examples/playervox-rating/manifest.json +19 -0
- package/dist/content/examples/playervox-rating/package.json +16 -0
- package/dist/content/examples/playervox-rating/style.ocss +333 -0
- package/dist/content/examples/playervox-rating/submission.json +12 -0
- package/dist/content/examples/playervox-rating/tests/account.scenario.json +125 -0
- package/dist/content/examples/playervox-rating/tests/bounds.scenario.json +73 -0
- package/dist/content/examples/playervox-rating/tests/draft.scenario.json +199 -0
- package/dist/content/examples/playervox-rating/tests/form.scenario.json +142 -0
- package/dist/content/examples/playervox-rating/tests/load-logic.mjs +22 -0
- package/dist/content/examples/playervox-rating/tests/logic.test.mjs +346 -0
- package/dist/content/examples/playervox-rating/tests/offline.scenario.json +142 -0
- package/dist/content/examples/playervox-rating/tests/preview.scenario.json +44 -0
- package/dist/content/examples/playervox-rating/tests/publish-keyboard.scenario.json +221 -0
- package/dist/content/examples/playervox-rating/tests/publish-pointer.scenario.json +314 -0
- package/dist/content/examples/playervox-rating/tests/read-only.scenario.json +70 -0
- package/dist/content/examples/playervox-rating/tests/refused.scenario.json +45 -0
- package/dist/content/examples/playervox-rating/tests/states.scenario.json +362 -0
- package/dist/content/examples/playervox-rating/tsconfig.json +16 -0
- package/dist/content/examples/playervox-rating/view.ocml +62 -0
- package/dist/content/examples/playervox-reviews/LICENSE +21 -0
- package/dist/content/examples/playervox-reviews/README.md +194 -0
- package/dist/content/examples/playervox-reviews/listing.json +19 -0
- package/dist/content/examples/playervox-reviews/locales/en.json +32 -0
- package/dist/content/examples/playervox-reviews/locales/fr.json +32 -0
- package/dist/content/examples/playervox-reviews/logic.ts +822 -0
- package/dist/content/examples/playervox-reviews/manifest.json +30 -0
- package/dist/content/examples/playervox-reviews/package.json +16 -0
- package/dist/content/examples/playervox-reviews/style.ocss +260 -0
- package/dist/content/examples/playervox-reviews/submission.json +8 -0
- package/dist/content/examples/playervox-reviews/tests/account.scenario.json +249 -0
- package/dist/content/examples/playervox-reviews/tests/bounds.scenario.json +336 -0
- package/dist/content/examples/playervox-reviews/tests/changes.scenario.json +515 -0
- package/dist/content/examples/playervox-reviews/tests/filter.scenario.json +400 -0
- package/dist/content/examples/playervox-reviews/tests/frame.scenario.json +185 -0
- package/dist/content/examples/playervox-reviews/tests/keyboard.scenario.json +188 -0
- package/dist/content/examples/playervox-reviews/tests/load-logic.mjs +22 -0
- package/dist/content/examples/playervox-reviews/tests/logic.test.mjs +559 -0
- package/dist/content/examples/playervox-reviews/tests/offline-start.scenario.json +152 -0
- package/dist/content/examples/playervox-reviews/tests/offline.scenario.json +311 -0
- package/dist/content/examples/playervox-reviews/tests/paging.scenario.json +497 -0
- package/dist/content/examples/playervox-reviews/tests/preview.scenario.json +286 -0
- package/dist/content/examples/playervox-reviews/tests/reading.scenario.json +591 -0
- package/dist/content/examples/playervox-reviews/tests/refused.scenario.json +54 -0
- package/dist/content/examples/playervox-reviews/tests/scale.scenario.json +303 -0
- package/dist/content/examples/playervox-reviews/tests/states.scenario.json +700 -0
- package/dist/content/examples/playervox-reviews/tests/unavailable.scenario.json +192 -0
- package/dist/content/examples/playervox-reviews/tsconfig.json +16 -0
- package/dist/content/examples/playervox-reviews/view.ocml +110 -0
- package/dist/content/examples/playervox-score/LICENSE +21 -0
- package/dist/content/examples/playervox-score/README.md +131 -0
- package/dist/content/examples/playervox-score/listing.json +19 -0
- package/dist/content/examples/playervox-score/locales/en.json +23 -0
- package/dist/content/examples/playervox-score/locales/fr.json +23 -0
- package/dist/content/examples/playervox-score/logic.ts +430 -0
- package/dist/content/examples/playervox-score/manifest.json +47 -0
- package/dist/content/examples/playervox-score/package.json +16 -0
- package/dist/content/examples/playervox-score/style.ocss +247 -0
- package/dist/content/examples/playervox-score/submission.json +8 -0
- package/dist/content/examples/playervox-score/tests/grades.scenario.json +279 -0
- package/dist/content/examples/playervox-score/tests/load-logic.mjs +22 -0
- package/dist/content/examples/playervox-score/tests/logic.test.mjs +229 -0
- package/dist/content/examples/playervox-score/tests/options.scenario.json +302 -0
- package/dist/content/examples/playervox-score/tests/preview.scenario.json +68 -0
- package/dist/content/examples/playervox-score/tests/pulse.scenario.json +157 -0
- package/dist/content/examples/playervox-score/tests/refused.scenario.json +21 -0
- package/dist/content/examples/playervox-score/tests/signed-out.scenario.json +46 -0
- package/dist/content/examples/playervox-score/tests/states.scenario.json +450 -0
- package/dist/content/examples/playervox-score/tests/unavailable.scenario.json +84 -0
- package/dist/content/examples/playervox-score/tsconfig.json +16 -0
- package/dist/content/examples/playervox-score/view.ocml +51 -0
- package/dist/content/examples/session/LICENSE +21 -0
- package/dist/content/examples/session/README.md +57 -0
- package/dist/content/examples/session/listing.json +19 -0
- package/dist/content/examples/session/locales/en.json +3 -0
- package/dist/content/examples/session/locales/fr.json +3 -0
- package/dist/content/examples/session/logic.ts +26 -0
- package/dist/content/examples/session/manifest.json +19 -0
- package/dist/content/examples/session/package.json +16 -0
- package/dist/content/examples/session/style.ocss +16 -0
- package/dist/content/examples/session/submission.json +8 -0
- package/dist/content/examples/session/tests/hidden.scenario.json +45 -0
- package/dist/content/examples/session/tests/load-logic.mjs +22 -0
- package/dist/content/examples/session/tests/logic.test.mjs +37 -0
- package/dist/content/examples/session/tests/preview.scenario.json +28 -0
- package/dist/content/examples/session/tests/refused.scenario.json +20 -0
- package/dist/content/examples/session/tests/refused.test.mjs +16 -0
- package/dist/content/examples/session/tests/render.scenario.json +95 -0
- package/dist/content/examples/session/tests/ticks.scenario.json +139 -0
- package/dist/content/examples/session/tests/unknown.scenario.json +37 -0
- package/dist/content/examples/session/tsconfig.json +16 -0
- package/dist/content/examples/session/view.ocml +11 -0
- package/dist/content/examples/stopwatch/LICENSE +21 -0
- package/dist/content/examples/stopwatch/README.md +99 -0
- package/dist/content/examples/stopwatch/listing.json +19 -0
- package/dist/content/examples/stopwatch/locales/en.json +8 -0
- package/dist/content/examples/stopwatch/locales/fr.json +8 -0
- package/dist/content/examples/stopwatch/logic.ts +93 -0
- package/dist/content/examples/stopwatch/manifest.json +19 -0
- package/dist/content/examples/stopwatch/package.json +16 -0
- package/dist/content/examples/stopwatch/style.ocss +54 -0
- package/dist/content/examples/stopwatch/submission.json +12 -0
- package/dist/content/examples/stopwatch/tests/errors.scenario.json +121 -0
- package/dist/content/examples/stopwatch/tests/gesture.scenario.json +154 -0
- package/dist/content/examples/stopwatch/tests/hidden.scenario.json +57 -0
- package/dist/content/examples/stopwatch/tests/hundredths.scenario.json +173 -0
- package/dist/content/examples/stopwatch/tests/load-logic.mjs +22 -0
- package/dist/content/examples/stopwatch/tests/logic.test.mjs +99 -0
- package/dist/content/examples/stopwatch/tests/preview.scenario.json +36 -0
- package/dist/content/examples/stopwatch/tests/read-only.scenario.json +42 -0
- package/dist/content/examples/stopwatch/tests/read-only.test.mjs +18 -0
- package/dist/content/examples/stopwatch/tests/refused.scenario.json +22 -0
- package/dist/content/examples/stopwatch/tests/refused.test.mjs +18 -0
- package/dist/content/examples/stopwatch/tests/render.scenario.json +105 -0
- package/dist/content/examples/stopwatch/tests/states.scenario.json +246 -0
- package/dist/content/examples/stopwatch/tests/unknown.scenario.json +40 -0
- package/dist/content/examples/stopwatch/tsconfig.json +16 -0
- package/dist/content/examples/stopwatch/view.ocml +29 -0
- package/dist/content/examples/twitch-chat/LICENSE +21 -0
- package/dist/content/examples/twitch-chat/README.md +283 -0
- package/dist/content/examples/twitch-chat/listing.json +19 -0
- package/dist/content/examples/twitch-chat/locales/en.json +52 -0
- package/dist/content/examples/twitch-chat/locales/fr.json +52 -0
- package/dist/content/examples/twitch-chat/logic.ts +887 -0
- package/dist/content/examples/twitch-chat/manifest.json +33 -0
- package/dist/content/examples/twitch-chat/package.json +16 -0
- package/dist/content/examples/twitch-chat/style.ocss +544 -0
- package/dist/content/examples/twitch-chat/submission.json +12 -0
- package/dist/content/examples/twitch-chat/tests/account.scenario.json +325 -0
- package/dist/content/examples/twitch-chat/tests/burst.scenario.json +1866 -0
- package/dist/content/examples/twitch-chat/tests/channel-refused.scenario.json +372 -0
- package/dist/content/examples/twitch-chat/tests/channel.scenario.json +480 -0
- package/dist/content/examples/twitch-chat/tests/draft.scenario.json +279 -0
- package/dist/content/examples/twitch-chat/tests/fade.scenario.json +269 -0
- package/dist/content/examples/twitch-chat/tests/failures.scenario.json +420 -0
- package/dist/content/examples/twitch-chat/tests/favorites.scenario.json +376 -0
- package/dist/content/examples/twitch-chat/tests/frame.scenario.json +152 -0
- package/dist/content/examples/twitch-chat/tests/lifetime.scenario.json +186 -0
- package/dist/content/examples/twitch-chat/tests/load-logic.mjs +22 -0
- package/dist/content/examples/twitch-chat/tests/logic.test.mjs +1053 -0
- package/dist/content/examples/twitch-chat/tests/passive.scenario.json +536 -0
- package/dist/content/examples/twitch-chat/tests/preview.scenario.json +147 -0
- package/dist/content/examples/twitch-chat/tests/read-only.scenario.json +202 -0
- package/dist/content/examples/twitch-chat/tests/read-only.test.mjs +63 -0
- package/dist/content/examples/twitch-chat/tests/refused.scenario.json +65 -0
- package/dist/content/examples/twitch-chat/tests/refused.test.mjs +43 -0
- package/dist/content/examples/twitch-chat/tests/render.scenario.json +347 -0
- package/dist/content/examples/twitch-chat/tests/reply.scenario.json +384 -0
- package/dist/content/examples/twitch-chat/tests/send-refused.scenario.json +383 -0
- package/dist/content/examples/twitch-chat/tests/send.scenario.json +300 -0
- package/dist/content/examples/twitch-chat/tests/states.scenario.json +455 -0
- package/dist/content/examples/twitch-chat/tests/unavailable.scenario.json +256 -0
- package/dist/content/examples/twitch-chat/tests/unread.scenario.json +997 -0
- package/dist/content/examples/twitch-chat/tsconfig.json +16 -0
- package/dist/content/examples/twitch-chat/view.ocml +141 -0
- package/dist/content/examples/warframe-market/LICENSE +21 -0
- package/dist/content/examples/warframe-market/README.md +176 -0
- package/dist/content/examples/warframe-market/listing.json +19 -0
- package/dist/content/examples/warframe-market/locales/en.json +44 -0
- package/dist/content/examples/warframe-market/locales/fr.json +44 -0
- package/dist/content/examples/warframe-market/logic.ts +1265 -0
- package/dist/content/examples/warframe-market/manifest.json +92 -0
- package/dist/content/examples/warframe-market/package.json +16 -0
- package/dist/content/examples/warframe-market/style.ocss +422 -0
- package/dist/content/examples/warframe-market/submission.json +24 -0
- package/dist/content/examples/warframe-market/tests/bounds.scenario.json +60 -0
- package/dist/content/examples/warframe-market/tests/cached.scenario.json +70 -0
- package/dist/content/examples/warframe-market/tests/detail.scenario.json +251 -0
- package/dist/content/examples/warframe-market/tests/errors.scenario.json +105 -0
- package/dist/content/examples/warframe-market/tests/fixtures.json +295 -0
- package/dist/content/examples/warframe-market/tests/load-logic.mjs +22 -0
- package/dist/content/examples/warframe-market/tests/logic.test.mjs +505 -0
- package/dist/content/examples/warframe-market/tests/no-clipboard.scenario.json +104 -0
- package/dist/content/examples/warframe-market/tests/passive.scenario.json +87 -0
- package/dist/content/examples/warframe-market/tests/preview.scenario.json +146 -0
- package/dist/content/examples/warframe-market/tests/refresh.scenario.json +56 -0
- package/dist/content/examples/warframe-market/tests/refused.scenario.json +74 -0
- package/dist/content/examples/warframe-market/tests/render.scenario.json +210 -0
- package/dist/content/examples/warframe-market/tests/search.scenario.json +189 -0
- package/dist/content/examples/warframe-market/tests/unavailable.scenario.json +54 -0
- package/dist/content/examples/warframe-market/tsconfig.json +16 -0
- package/dist/content/examples/warframe-market/view.ocml +116 -0
- package/dist/content/examples/weather/LICENSE +20 -0
- package/dist/content/examples/weather/listing.json +10 -0
- package/dist/content/examples/weather/locales/en.json +9 -0
- package/dist/content/examples/weather/locales/fr.json +9 -0
- package/dist/content/examples/weather/logic.ts +62 -0
- package/dist/content/examples/weather/manifest.json +51 -0
- package/dist/content/examples/weather/package.json +15 -0
- package/dist/content/examples/weather/style.ocss +29 -0
- package/dist/content/examples/weather/submission.json +17 -0
- package/dist/content/examples/weather/tsconfig.json +16 -0
- package/dist/content/examples/weather/view.ocml +12 -0
- package/dist/content/index.json +3705 -0
- package/dist/content/reference/errors.json +1924 -0
- package/dist/content/reference/limits.json +1154 -0
- package/dist/content/reference/manifest.md +223 -0
- package/dist/content/reference/permissions.json +413 -0
- package/dist/content/templates/blank/locales/en.json +3 -0
- package/dist/content/templates/blank/locales/fr.json +3 -0
- package/dist/content/templates/blank/logic.ts +7 -0
- package/dist/content/templates/blank/manifest.json +16 -0
- package/dist/content/templates/blank/style.ocss +10 -0
- package/dist/content/templates/blank/tests/example.scenario.json +10 -0
- package/dist/content/templates/blank/view.ocml +6 -0
- package/dist/content/templates/chart/locales/en.json +3 -0
- package/dist/content/templates/chart/locales/fr.json +3 -0
- package/dist/content/templates/chart/logic.ts +27 -0
- package/dist/content/templates/chart/manifest.json +16 -0
- package/dist/content/templates/chart/style.ocss +27 -0
- package/dist/content/templates/chart/tests/example.scenario.json +10 -0
- package/dist/content/templates/chart/view.ocml +10 -0
- package/dist/content/templates/counter/locales/en.json +4 -0
- package/dist/content/templates/counter/locales/fr.json +4 -0
- package/dist/content/templates/counter/logic.ts +20 -0
- package/dist/content/templates/counter/manifest.json +16 -0
- package/dist/content/templates/counter/style.ocss +26 -0
- package/dist/content/templates/counter/tests/example.scenario.json +11 -0
- package/dist/content/templates/counter/view.ocml +13 -0
- package/dist/content/templates/list/locales/en.json +8 -0
- package/dist/content/templates/list/locales/fr.json +8 -0
- package/dist/content/templates/list/logic.ts +35 -0
- package/dist/content/templates/list/manifest.json +16 -0
- package/dist/content/templates/list/style.ocss +42 -0
- package/dist/content/templates/list/tests/example.scenario.json +10 -0
- package/dist/content/templates/list/view.ocml +17 -0
- package/dist/content/templates/shared/LICENSE +20 -0
- package/dist/content/templates/shared/package.json +14 -0
- package/dist/content/templates/shared/tsconfig.json +16 -0
- package/dist/content.js +68 -0
- package/dist/env.js +156 -0
- package/dist/fingerprint.js +32 -0
- package/dist/hidden.js +47 -0
- package/dist/ids.js +27 -0
- package/dist/index.js +82 -0
- package/dist/knowledge.js +222 -0
- package/dist/npm.js +149 -0
- package/dist/prompts.js +47 -0
- package/dist/resources.js +82 -0
- package/dist/run.js +120 -0
- package/dist/server.js +43 -0
- package/dist/session.js +205 -0
- package/dist/sources.js +218 -0
- package/dist/text.js +80 -0
- package/dist/texts.js +44 -0
- package/dist/tools/audit.js +105 -0
- package/dist/tools/build.js +453 -0
- package/dist/tools/common.js +122 -0
- package/dist/tools/docs.js +196 -0
- package/dist/tools/preview.js +87 -0
- package/dist/tools/project.js +183 -0
- package/dist/tools/setup.js +146 -0
- package/dist/tools/submission.js +369 -0
- package/dist/version.js +3 -0
- package/npm-shrinkwrap.json +402 -0
- package/package.json +50 -4
|
@@ -0,0 +1,1154 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "MAX_VIEW_SOURCE_BYTES",
|
|
4
|
+
"topic": "Project files and package",
|
|
5
|
+
"written": "256 KiB",
|
|
6
|
+
"value": 262144,
|
|
7
|
+
"unit": "bytes",
|
|
8
|
+
"meaning": "`view.ocml` source size."
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "MAX_STYLE_SOURCE_BYTES",
|
|
12
|
+
"topic": "Project files and package",
|
|
13
|
+
"written": "128 KiB",
|
|
14
|
+
"value": 131072,
|
|
15
|
+
"unit": "bytes",
|
|
16
|
+
"meaning": "`style.ocss` source size."
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "MAX_LOGIC_BYTES",
|
|
20
|
+
"topic": "Project files and package",
|
|
21
|
+
"written": "512 KiB",
|
|
22
|
+
"value": 524288,
|
|
23
|
+
"unit": "bytes",
|
|
24
|
+
"meaning": "The `logic.js` script, compiled code of the view included."
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "MAX_LOCALE_ENTRIES",
|
|
28
|
+
"topic": "Project files and package",
|
|
29
|
+
"written": "2048",
|
|
30
|
+
"value": 2048,
|
|
31
|
+
"unit": "count",
|
|
32
|
+
"meaning": "Messages in one `locales/<locale>.json` file."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "MAX_LOCALE_KEY_BYTES",
|
|
36
|
+
"topic": "Project files and package",
|
|
37
|
+
"written": "128 bytes",
|
|
38
|
+
"value": 128,
|
|
39
|
+
"unit": "bytes",
|
|
40
|
+
"meaning": "Length of one message key."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "MAX_LOCALE_VALUE_BYTES",
|
|
44
|
+
"topic": "Project files and package",
|
|
45
|
+
"written": "4 KiB",
|
|
46
|
+
"value": 4096,
|
|
47
|
+
"unit": "bytes",
|
|
48
|
+
"meaning": "Length of one message text."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "MAX_LOCALE_FILE_BYTES",
|
|
52
|
+
"topic": "Project files and package",
|
|
53
|
+
"written": "256 KiB",
|
|
54
|
+
"value": 262144,
|
|
55
|
+
"unit": "bytes",
|
|
56
|
+
"meaning": "One `locales/<locale>.json` file."
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "MAX_MANIFEST_BYTES",
|
|
60
|
+
"topic": "Project files and package",
|
|
61
|
+
"written": "64 KiB",
|
|
62
|
+
"value": 65536,
|
|
63
|
+
"unit": "bytes",
|
|
64
|
+
"meaning": "`manifest.json` size."
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "MAX_LICENSE_BYTES",
|
|
68
|
+
"topic": "Project files and package",
|
|
69
|
+
"written": "64 KiB",
|
|
70
|
+
"value": 65536,
|
|
71
|
+
"unit": "bytes",
|
|
72
|
+
"meaning": "`LICENSE` text."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "MAX_COMPILED_VIEW_BYTES",
|
|
76
|
+
"topic": "Project files and package",
|
|
77
|
+
"written": "512 KiB",
|
|
78
|
+
"value": 524288,
|
|
79
|
+
"unit": "bytes",
|
|
80
|
+
"meaning": "`view.json`, the compiled view."
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "MAX_PACKAGE_BYTES",
|
|
84
|
+
"topic": "Project files and package",
|
|
85
|
+
"written": "16 MiB",
|
|
86
|
+
"value": 16777216,
|
|
87
|
+
"unit": "bytes",
|
|
88
|
+
"meaning": "Size of one `.ocpkg` archive."
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "MAX_PACKAGE_FILES",
|
|
92
|
+
"topic": "Project files and package",
|
|
93
|
+
"written": "256",
|
|
94
|
+
"value": 256,
|
|
95
|
+
"unit": "count",
|
|
96
|
+
"meaning": "Entries in one archive, `manifest.json` and `ledger.json` included."
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "MAX_PACKAGE_PATH_BYTES",
|
|
100
|
+
"topic": "Project files and package",
|
|
101
|
+
"written": "128 bytes",
|
|
102
|
+
"value": 128,
|
|
103
|
+
"unit": "bytes",
|
|
104
|
+
"meaning": "Path of one archive entry."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "MAX_ASSET_PATH_SEGMENTS",
|
|
108
|
+
"topic": "Project files and package",
|
|
109
|
+
"written": "4",
|
|
110
|
+
"value": 4,
|
|
111
|
+
"unit": "count",
|
|
112
|
+
"meaning": "Path segments below `assets/`, the file name included."
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "MIN_WIDGET_ID_BYTES",
|
|
116
|
+
"topic": "Manifest and options menu",
|
|
117
|
+
"written": "3 bytes",
|
|
118
|
+
"value": 3,
|
|
119
|
+
"unit": "bytes",
|
|
120
|
+
"meaning": "Shortest widget ID."
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "MAX_WIDGET_ID_BYTES",
|
|
124
|
+
"topic": "Manifest and options menu",
|
|
125
|
+
"written": "128 bytes",
|
|
126
|
+
"value": 128,
|
|
127
|
+
"unit": "bytes",
|
|
128
|
+
"meaning": "Longest widget ID; each dot-separated segment is at most 63 bytes."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "MAX_VERSION_BYTES",
|
|
132
|
+
"topic": "Manifest and options menu",
|
|
133
|
+
"written": "64 bytes",
|
|
134
|
+
"value": 64,
|
|
135
|
+
"unit": "bytes",
|
|
136
|
+
"meaning": "Package version text."
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "MAX_WIDGET_NAME_CHARS",
|
|
140
|
+
"topic": "Manifest and options menu",
|
|
141
|
+
"written": "48 characters",
|
|
142
|
+
"value": 48,
|
|
143
|
+
"unit": "characters",
|
|
144
|
+
"meaning": "One English or French widget name in the manifest."
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "MAX_WIDGET_EDGE_PX",
|
|
148
|
+
"topic": "Manifest and options menu",
|
|
149
|
+
"written": "4096 px",
|
|
150
|
+
"value": 4096,
|
|
151
|
+
"unit": "px",
|
|
152
|
+
"meaning": "Width or height of a widget's frame."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "MIN_CONTENT_SCALE",
|
|
156
|
+
"topic": "Manifest and options menu",
|
|
157
|
+
"written": "500 ‰",
|
|
158
|
+
"value": 500,
|
|
159
|
+
"unit": "‰",
|
|
160
|
+
"meaning": "Smallest content scale (50 %)."
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "MAX_CONTENT_SCALE",
|
|
164
|
+
"topic": "Manifest and options menu",
|
|
165
|
+
"written": "1750 ‰",
|
|
166
|
+
"value": 1750,
|
|
167
|
+
"unit": "‰",
|
|
168
|
+
"meaning": "Largest content scale (175 %)."
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "MAX_GAME_EVENTS",
|
|
172
|
+
"topic": "Manifest and options menu",
|
|
173
|
+
"written": "32",
|
|
174
|
+
"value": 32,
|
|
175
|
+
"unit": "count",
|
|
176
|
+
"meaning": "Semantic game events declared by one package."
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "MAX_MENU_ROWS",
|
|
180
|
+
"topic": "Manifest and options menu",
|
|
181
|
+
"written": "16",
|
|
182
|
+
"value": 16,
|
|
183
|
+
"unit": "count",
|
|
184
|
+
"meaning": "Widget rows in `wrapper.menu`, group rows and their children included."
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "MAX_MENU_DEPTH",
|
|
188
|
+
"topic": "Manifest and options menu",
|
|
189
|
+
"written": "1",
|
|
190
|
+
"value": 1,
|
|
191
|
+
"unit": "count",
|
|
192
|
+
"meaning": "Submenu levels: a `group` cannot contain another `group`."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "MAX_MENU_LABEL_CHARS",
|
|
196
|
+
"topic": "Manifest and options menu",
|
|
197
|
+
"written": "80 characters",
|
|
198
|
+
"value": 80,
|
|
199
|
+
"unit": "characters",
|
|
200
|
+
"meaning": "One English or French label of a row or choice."
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "MAX_MENU_ID_BYTES",
|
|
204
|
+
"topic": "Manifest and options menu",
|
|
205
|
+
"written": "48 bytes",
|
|
206
|
+
"value": 48,
|
|
207
|
+
"unit": "bytes",
|
|
208
|
+
"meaning": "Row ID and choice value."
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "MIN_MENU_CHOICES",
|
|
212
|
+
"topic": "Manifest and options menu",
|
|
213
|
+
"written": "2",
|
|
214
|
+
"value": 2,
|
|
215
|
+
"unit": "count",
|
|
216
|
+
"meaning": "Choices of one `choice` row, lower bound."
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "MAX_MENU_CHOICES",
|
|
220
|
+
"topic": "Manifest and options menu",
|
|
221
|
+
"written": "16",
|
|
222
|
+
"value": 16,
|
|
223
|
+
"unit": "count",
|
|
224
|
+
"meaning": "Choices of one `choice` row, upper bound."
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "MAX_MENU_NUMBER",
|
|
228
|
+
"topic": "Manifest and options menu",
|
|
229
|
+
"written": "1000000 absolute value",
|
|
230
|
+
"value": 1000000,
|
|
231
|
+
"unit": "absolute value",
|
|
232
|
+
"meaning": "Absolute value of a slider bound, step or default."
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "MAX_SLIDER_STEPS",
|
|
236
|
+
"topic": "Manifest and options menu",
|
|
237
|
+
"written": "10000",
|
|
238
|
+
"value": 10000,
|
|
239
|
+
"unit": "count",
|
|
240
|
+
"meaning": "`(max - min) / step` of one slider row."
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "MAX_NETWORK_RULES",
|
|
244
|
+
"topic": "Network rules",
|
|
245
|
+
"written": "32",
|
|
246
|
+
"value": 32,
|
|
247
|
+
"unit": "count",
|
|
248
|
+
"meaning": "Network rules declared by one package."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "MAX_NETWORK_PATH_BYTES",
|
|
252
|
+
"topic": "Network rules",
|
|
253
|
+
"written": "1 KiB",
|
|
254
|
+
"value": 1024,
|
|
255
|
+
"unit": "bytes",
|
|
256
|
+
"meaning": "`path` template of one network rule."
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "MAX_PATH_PARAMS",
|
|
260
|
+
"topic": "Network rules",
|
|
261
|
+
"written": "8",
|
|
262
|
+
"value": 8,
|
|
263
|
+
"unit": "count",
|
|
264
|
+
"meaning": "`pathParams` of one network rule."
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "MAX_QUERY_PARAMS",
|
|
268
|
+
"topic": "Network rules",
|
|
269
|
+
"written": "16",
|
|
270
|
+
"value": 16,
|
|
271
|
+
"unit": "count",
|
|
272
|
+
"meaning": "`queryParams` of one network rule."
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "MAX_ENUM_VALUES",
|
|
276
|
+
"topic": "Network rules",
|
|
277
|
+
"written": "32",
|
|
278
|
+
"value": 32,
|
|
279
|
+
"unit": "count",
|
|
280
|
+
"meaning": "Values of one `enum` parameter constraint."
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "MAX_ENUM_VALUE_BYTES",
|
|
284
|
+
"topic": "Network rules",
|
|
285
|
+
"written": "128 bytes",
|
|
286
|
+
"value": 128,
|
|
287
|
+
"unit": "bytes",
|
|
288
|
+
"meaning": "One `enum` parameter value."
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "MAX_PARAMETER_NAME_BYTES",
|
|
292
|
+
"topic": "Network rules",
|
|
293
|
+
"written": "32 bytes",
|
|
294
|
+
"value": 32,
|
|
295
|
+
"unit": "bytes",
|
|
296
|
+
"meaning": "Name of one path or query parameter."
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "MAX_SLUG_PARAMETER_BYTES",
|
|
300
|
+
"topic": "Network rules",
|
|
301
|
+
"written": "128 bytes",
|
|
302
|
+
"value": 128,
|
|
303
|
+
"unit": "bytes",
|
|
304
|
+
"meaning": "Largest `maxLength` of a `slug` parameter constraint."
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "MAX_STRING_PARAMETER_BYTES",
|
|
308
|
+
"topic": "Network rules",
|
|
309
|
+
"written": "256 bytes",
|
|
310
|
+
"value": 256,
|
|
311
|
+
"unit": "bytes",
|
|
312
|
+
"meaning": "Largest `maxLength` of a `string` query parameter constraint."
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "MAX_DNS_LABEL_BYTES",
|
|
316
|
+
"topic": "Network rules",
|
|
317
|
+
"written": "63 bytes",
|
|
318
|
+
"value": 63,
|
|
319
|
+
"unit": "bytes",
|
|
320
|
+
"meaning": "One dot-separated label of a network origin host or of a widget ID."
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "MAX_DNS_NAME_BYTES",
|
|
324
|
+
"topic": "Network rules",
|
|
325
|
+
"written": "253 bytes",
|
|
326
|
+
"value": 253,
|
|
327
|
+
"unit": "bytes",
|
|
328
|
+
"meaning": "Host name of one network origin."
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "MAX_REQUEST_URL_BYTES",
|
|
332
|
+
"topic": "Network rules",
|
|
333
|
+
"written": "2 KiB",
|
|
334
|
+
"value": 2048,
|
|
335
|
+
"unit": "bytes",
|
|
336
|
+
"meaning": "URL text of one request."
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "MAX_HTTP_REQUEST_BYTES",
|
|
340
|
+
"topic": "Network rules",
|
|
341
|
+
"written": "256 KiB",
|
|
342
|
+
"value": 262144,
|
|
343
|
+
"unit": "bytes",
|
|
344
|
+
"meaning": "Body of one outgoing request."
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "MAX_HTTP_RESPONSE_BYTES",
|
|
348
|
+
"topic": "Network rules",
|
|
349
|
+
"written": "1 MiB",
|
|
350
|
+
"value": 1048576,
|
|
351
|
+
"unit": "bytes",
|
|
352
|
+
"meaning": "Body of one response delivered to the widget when its network rule declares no `maxResponseBytes`, and of every `as: \"image\"` response."
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "MAX_HTTP_DECLARED_RESPONSE_BYTES",
|
|
356
|
+
"topic": "Network rules",
|
|
357
|
+
"written": "3 MiB",
|
|
358
|
+
"value": 3145728,
|
|
359
|
+
"unit": "bytes",
|
|
360
|
+
"meaning": "Largest `maxResponseBytes` of one network rule: the body of one response the rule allows, delivered to the widget."
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "MAX_HTTP_RESPONSE_BYTES_PER_WIDGET",
|
|
364
|
+
"topic": "Network rules",
|
|
365
|
+
"written": "4 MiB",
|
|
366
|
+
"value": 4194304,
|
|
367
|
+
"unit": "bytes",
|
|
368
|
+
"meaning": "Response bytes one widget's requests in flight may reserve, each the bound of its rule; `busy` beyond. Equals `MAX_HTTP_CONCURRENT_PER_WIDGET` × `MAX_HTTP_RESPONSE_BYTES`, so rules without `maxResponseBytes` never reach it."
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "MAX_HTTP_RESPONSE_BYTES_GLOBAL",
|
|
372
|
+
"topic": "Network rules",
|
|
373
|
+
"written": "64 MiB",
|
|
374
|
+
"value": 67108864,
|
|
375
|
+
"unit": "bytes",
|
|
376
|
+
"meaning": "Response bytes all widgets' requests in flight may reserve; `busy` beyond. Equals `MAX_HTTP_CONCURRENT_GLOBAL` × `MAX_HTTP_RESPONSE_BYTES`."
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "MAX_HTTP_CONCURRENT_PER_WIDGET",
|
|
380
|
+
"topic": "Network rules",
|
|
381
|
+
"written": "4",
|
|
382
|
+
"value": 4,
|
|
383
|
+
"unit": "count",
|
|
384
|
+
"meaning": "Requests in flight for one widget."
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "MAX_HTTP_CONCURRENT_GLOBAL",
|
|
388
|
+
"topic": "Network rules",
|
|
389
|
+
"written": "64",
|
|
390
|
+
"value": 64,
|
|
391
|
+
"unit": "count",
|
|
392
|
+
"meaning": "Requests in flight for all widgets."
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "HTTP_TIMEOUT_MS",
|
|
396
|
+
"topic": "Network rules",
|
|
397
|
+
"written": "30000 ms",
|
|
398
|
+
"value": 30000,
|
|
399
|
+
"unit": "ms",
|
|
400
|
+
"meaning": "Total duration of one request."
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "MAX_LISTING_LOCALIZATIONS",
|
|
404
|
+
"topic": "Listing",
|
|
405
|
+
"written": "16",
|
|
406
|
+
"value": 16,
|
|
407
|
+
"unit": "count",
|
|
408
|
+
"meaning": "Localized texts of one listing."
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "MAX_LISTING_NAME_BYTES",
|
|
412
|
+
"topic": "Listing",
|
|
413
|
+
"written": "128 bytes",
|
|
414
|
+
"value": 128,
|
|
415
|
+
"unit": "bytes",
|
|
416
|
+
"meaning": "Marketplace name of one localization."
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "MAX_LISTING_DESCRIPTION_BYTES",
|
|
420
|
+
"topic": "Listing",
|
|
421
|
+
"written": "512 bytes",
|
|
422
|
+
"value": 512,
|
|
423
|
+
"unit": "bytes",
|
|
424
|
+
"meaning": "Marketplace description of one localization."
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"name": "MAX_AUTHOR_BYTES",
|
|
428
|
+
"topic": "Listing",
|
|
429
|
+
"written": "128 bytes",
|
|
430
|
+
"value": 128,
|
|
431
|
+
"unit": "bytes",
|
|
432
|
+
"meaning": "Author shown in a listing."
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "MAX_SPDX_LICENSE_BYTES",
|
|
436
|
+
"topic": "Listing",
|
|
437
|
+
"written": "64 bytes",
|
|
438
|
+
"value": 64,
|
|
439
|
+
"unit": "bytes",
|
|
440
|
+
"meaning": "SPDX license expression of a listing."
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "MAX_CATALOG_URL_BYTES",
|
|
444
|
+
"topic": "Listing",
|
|
445
|
+
"written": "2 KiB",
|
|
446
|
+
"value": 2048,
|
|
447
|
+
"unit": "bytes",
|
|
448
|
+
"meaning": "Source URL of a listing."
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"name": "MAX_PREVIEW_BYTES",
|
|
452
|
+
"topic": "Listing",
|
|
453
|
+
"written": "256 KiB",
|
|
454
|
+
"value": 262144,
|
|
455
|
+
"unit": "bytes",
|
|
456
|
+
"meaning": "PNG preview image of a listing."
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "MAX_VIEW_ELEMENTS",
|
|
460
|
+
"topic": "View",
|
|
461
|
+
"written": "4096",
|
|
462
|
+
"value": 4096,
|
|
463
|
+
"unit": "count",
|
|
464
|
+
"meaning": "Elements written in `view.ocml`, components included."
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "MAX_COMPONENTS",
|
|
468
|
+
"topic": "View",
|
|
469
|
+
"written": "64",
|
|
470
|
+
"value": 64,
|
|
471
|
+
"unit": "count",
|
|
472
|
+
"meaning": "Local components declared in one view."
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "MAX_COMPONENT_PROPS",
|
|
476
|
+
"topic": "View",
|
|
477
|
+
"written": "32",
|
|
478
|
+
"value": 32,
|
|
479
|
+
"unit": "count",
|
|
480
|
+
"meaning": "Declared properties of one local component."
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "MAX_VIEW_EXPRESSIONS",
|
|
484
|
+
"topic": "View",
|
|
485
|
+
"written": "4096",
|
|
486
|
+
"value": 4096,
|
|
487
|
+
"unit": "count",
|
|
488
|
+
"meaning": "Compiled expressions of one view, handlers included."
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"name": "MAX_EXPRESSION_BYTES",
|
|
492
|
+
"topic": "View",
|
|
493
|
+
"written": "1 KiB",
|
|
494
|
+
"value": 1024,
|
|
495
|
+
"unit": "bytes",
|
|
496
|
+
"meaning": "Source length of one `{expr}` expression."
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "MAX_EXPRESSION_DEPTH",
|
|
500
|
+
"topic": "View",
|
|
501
|
+
"written": "32",
|
|
502
|
+
"value": 32,
|
|
503
|
+
"unit": "count",
|
|
504
|
+
"meaning": "Nesting of operators, calls, members and literals in one expression."
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "MAX_CALL_ARGUMENTS",
|
|
508
|
+
"topic": "View",
|
|
509
|
+
"written": "8",
|
|
510
|
+
"value": 8,
|
|
511
|
+
"unit": "count",
|
|
512
|
+
"meaning": "Arguments of one call, and entries of one object or array literal, in an expression."
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "MAX_SCENE_NODES",
|
|
516
|
+
"topic": "View",
|
|
517
|
+
"written": "4096",
|
|
518
|
+
"value": 4096,
|
|
519
|
+
"unit": "count",
|
|
520
|
+
"meaning": "Elements present in the view of a running widget, list items included."
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "MAX_TREE_DEPTH",
|
|
524
|
+
"topic": "View",
|
|
525
|
+
"written": "32",
|
|
526
|
+
"value": 32,
|
|
527
|
+
"unit": "count",
|
|
528
|
+
"meaning": "Depth of the view's tree below its root, also the nesting limit of `if`, `for` and components."
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "MAX_CHILDREN",
|
|
532
|
+
"topic": "View",
|
|
533
|
+
"written": "1024",
|
|
534
|
+
"value": 1024,
|
|
535
|
+
"unit": "count",
|
|
536
|
+
"meaning": "Children of one element."
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "MAX_NODE_TEXT_BYTES",
|
|
540
|
+
"topic": "View",
|
|
541
|
+
"written": "16 KiB",
|
|
542
|
+
"value": 16384,
|
|
543
|
+
"unit": "bytes",
|
|
544
|
+
"meaning": "Text content of one `text`, `span`, `badge` or `option` element."
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "MAX_ATTRIBUTE_TEXT_BYTES",
|
|
548
|
+
"topic": "View",
|
|
549
|
+
"written": "1 KiB",
|
|
550
|
+
"value": 1024,
|
|
551
|
+
"unit": "bytes",
|
|
552
|
+
"meaning": "Any text attribute not bounded more tightly."
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "MAX_LABEL_BYTES",
|
|
556
|
+
"topic": "View",
|
|
557
|
+
"written": "256 bytes",
|
|
558
|
+
"value": 256,
|
|
559
|
+
"unit": "bytes",
|
|
560
|
+
"meaning": "`label`, `tooltip` and `placeholder` attributes."
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "MAX_IDENTIFIER_BYTES",
|
|
564
|
+
"topic": "View",
|
|
565
|
+
"written": "64 bytes",
|
|
566
|
+
"value": 64,
|
|
567
|
+
"unit": "bytes",
|
|
568
|
+
"meaning": "Class names, component names, field names, `@keyframes` names and similar identifiers."
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "MAX_INITIALS_BYTES",
|
|
572
|
+
"topic": "View",
|
|
573
|
+
"written": "16 bytes",
|
|
574
|
+
"value": 16,
|
|
575
|
+
"unit": "bytes",
|
|
576
|
+
"meaning": "`initials` fallback of an `avatar`."
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "MAX_CLASSES_PER_NODE",
|
|
580
|
+
"topic": "View",
|
|
581
|
+
"written": "16",
|
|
582
|
+
"value": 16,
|
|
583
|
+
"unit": "count",
|
|
584
|
+
"meaning": "Classes on one element."
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"name": "MAX_FIELD_TEXT_BYTES",
|
|
588
|
+
"topic": "View",
|
|
589
|
+
"written": "16 KiB",
|
|
590
|
+
"value": 16384,
|
|
591
|
+
"unit": "bytes",
|
|
592
|
+
"meaning": "Content of one `field` or `textarea`, and of one `input` or `change` event."
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"name": "MAX_CHART_POINTS",
|
|
596
|
+
"topic": "View",
|
|
597
|
+
"written": "1024",
|
|
598
|
+
"value": 1024,
|
|
599
|
+
"unit": "count",
|
|
600
|
+
"meaning": "Values in one chart series."
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "MAX_CHART_SERIES",
|
|
604
|
+
"topic": "View",
|
|
605
|
+
"written": "4",
|
|
606
|
+
"value": 4,
|
|
607
|
+
"unit": "count",
|
|
608
|
+
"meaning": "`series` children of one `chart`."
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"name": "MAX_KEY_BYTES",
|
|
612
|
+
"topic": "View",
|
|
613
|
+
"written": "32 bytes",
|
|
614
|
+
"value": 32,
|
|
615
|
+
"unit": "bytes",
|
|
616
|
+
"meaning": "`key` of one `keydown` event: one printable character or a named key."
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "MAX_STYLE_RULES",
|
|
620
|
+
"topic": "Style",
|
|
621
|
+
"written": "1024",
|
|
622
|
+
"value": 1024,
|
|
623
|
+
"unit": "count",
|
|
624
|
+
"meaning": "Rules in one style sheet, `@keyframes` blocks excluded."
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "MAX_SELECTORS_PER_RULE",
|
|
628
|
+
"topic": "Style",
|
|
629
|
+
"written": "8",
|
|
630
|
+
"value": 8,
|
|
631
|
+
"unit": "count",
|
|
632
|
+
"meaning": "Comma-separated selectors of one rule."
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "MAX_COMPOUNDS_PER_SELECTOR",
|
|
636
|
+
"topic": "Style",
|
|
637
|
+
"written": "4",
|
|
638
|
+
"value": 4,
|
|
639
|
+
"unit": "count",
|
|
640
|
+
"meaning": "Compound selectors joined by combinators in one selector."
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "MAX_SIMPLE_SELECTORS_PER_COMPOUND",
|
|
644
|
+
"topic": "Style",
|
|
645
|
+
"written": "6",
|
|
646
|
+
"value": 6,
|
|
647
|
+
"unit": "count",
|
|
648
|
+
"meaning": "Type, class and state selectors in one compound selector."
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "MAX_DECLARATIONS_PER_RULE",
|
|
652
|
+
"topic": "Style",
|
|
653
|
+
"written": "64",
|
|
654
|
+
"value": 64,
|
|
655
|
+
"unit": "count",
|
|
656
|
+
"meaning": "Declarations in one rule or `@keyframes` stop."
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"name": "MAX_KEYFRAMES",
|
|
660
|
+
"topic": "Style",
|
|
661
|
+
"written": "32",
|
|
662
|
+
"value": 32,
|
|
663
|
+
"unit": "count",
|
|
664
|
+
"meaning": "`@keyframes` blocks in one style sheet."
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "MAX_KEYFRAME_STOPS",
|
|
668
|
+
"topic": "Style",
|
|
669
|
+
"written": "16",
|
|
670
|
+
"value": 16,
|
|
671
|
+
"unit": "count",
|
|
672
|
+
"meaning": "Stops in one `@keyframes` block."
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"name": "MAX_SHADOWS",
|
|
676
|
+
"topic": "Style",
|
|
677
|
+
"written": "2",
|
|
678
|
+
"value": 2,
|
|
679
|
+
"unit": "count",
|
|
680
|
+
"meaning": "Layers in one `box-shadow` value."
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "MAX_SHADOW_BLUR_PX",
|
|
684
|
+
"topic": "Style",
|
|
685
|
+
"written": "64 px",
|
|
686
|
+
"value": 64,
|
|
687
|
+
"unit": "px",
|
|
688
|
+
"meaning": "Blur and spread radius of one shadow."
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "MAX_GRADIENT_STOPS",
|
|
692
|
+
"topic": "Style",
|
|
693
|
+
"written": "8",
|
|
694
|
+
"value": 8,
|
|
695
|
+
"unit": "count",
|
|
696
|
+
"meaning": "Colour stops in one `linear-gradient()`."
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"name": "MAX_GRID_TRACKS",
|
|
700
|
+
"topic": "Style",
|
|
701
|
+
"written": "24",
|
|
702
|
+
"value": 24,
|
|
703
|
+
"unit": "count",
|
|
704
|
+
"meaning": "Tracks in one `grid-template-rows` or `grid-template-columns`."
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "MAX_GRID_FRACTION",
|
|
708
|
+
"topic": "Style",
|
|
709
|
+
"written": "1000 absolute value",
|
|
710
|
+
"value": 1000,
|
|
711
|
+
"unit": "absolute value",
|
|
712
|
+
"meaning": "Largest `<fr>` factor of one grid track."
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"name": "MAX_TRANSITIONS",
|
|
716
|
+
"topic": "Style",
|
|
717
|
+
"written": "8",
|
|
718
|
+
"value": 8,
|
|
719
|
+
"unit": "count",
|
|
720
|
+
"meaning": "Entries in one `transition` or `animation` list."
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"name": "MAX_ANIMATION_MS",
|
|
724
|
+
"topic": "Style",
|
|
725
|
+
"written": "300000 ms",
|
|
726
|
+
"value": 300000,
|
|
727
|
+
"unit": "ms",
|
|
728
|
+
"meaning": "Duration or delay of one transition or animation."
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "MAX_ACTIVE_ANIMATIONS",
|
|
732
|
+
"topic": "Style",
|
|
733
|
+
"written": "64",
|
|
734
|
+
"value": 64,
|
|
735
|
+
"unit": "count",
|
|
736
|
+
"meaning": "Transitions and animations running at once in one widget; extra ones jump to their end state."
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "ANIMATION_RATE_HZ",
|
|
740
|
+
"topic": "Style",
|
|
741
|
+
"written": "60 Hz",
|
|
742
|
+
"value": 60,
|
|
743
|
+
"unit": "Hz",
|
|
744
|
+
"meaning": "Maximum repaint rate while an animation runs; nothing repaints when nothing changes."
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"name": "MAX_LENGTH_PX",
|
|
748
|
+
"topic": "Style",
|
|
749
|
+
"written": "16384 px",
|
|
750
|
+
"value": 16384,
|
|
751
|
+
"unit": "px",
|
|
752
|
+
"meaning": "Absolute value of any length, offset or coordinate."
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "MIN_FONT_SIZE_PX",
|
|
756
|
+
"topic": "Style",
|
|
757
|
+
"written": "6 px",
|
|
758
|
+
"value": 6,
|
|
759
|
+
"unit": "px",
|
|
760
|
+
"meaning": "Smallest `font-size` before content scale."
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "MAX_FONT_SIZE_PX",
|
|
764
|
+
"topic": "Style",
|
|
765
|
+
"written": "96 px",
|
|
766
|
+
"value": 96,
|
|
767
|
+
"unit": "px",
|
|
768
|
+
"meaning": "Largest `font-size` before content scale."
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"name": "MAX_PERCENT",
|
|
772
|
+
"topic": "Style",
|
|
773
|
+
"written": "1000 absolute value",
|
|
774
|
+
"value": 1000,
|
|
775
|
+
"unit": "absolute value",
|
|
776
|
+
"meaning": "Absolute value of any `<percent>` in a style value."
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"name": "MAX_ANGLE_DEG",
|
|
780
|
+
"topic": "Style",
|
|
781
|
+
"written": "3600 absolute value",
|
|
782
|
+
"value": 3600,
|
|
783
|
+
"unit": "absolute value",
|
|
784
|
+
"meaning": "Absolute value of any `<angle>`, in degrees (ten turns)."
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"name": "MAX_TRANSFORM_FUNCTIONS",
|
|
788
|
+
"topic": "Style",
|
|
789
|
+
"written": "4",
|
|
790
|
+
"value": 4,
|
|
791
|
+
"unit": "count",
|
|
792
|
+
"meaning": "Functions in one `transform` value."
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "MAX_TRANSFORM_SCALE",
|
|
796
|
+
"topic": "Style",
|
|
797
|
+
"written": "8 absolute value",
|
|
798
|
+
"value": 8,
|
|
799
|
+
"unit": "absolute value",
|
|
800
|
+
"meaning": "Largest `scale()` factor; the smallest is 0."
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"name": "MAX_EASING_STEPS",
|
|
804
|
+
"topic": "Style",
|
|
805
|
+
"written": "60",
|
|
806
|
+
"value": 60,
|
|
807
|
+
"unit": "count",
|
|
808
|
+
"meaning": "Steps of one `steps()` easing."
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"name": "MAX_ANIMATION_ITERATIONS",
|
|
812
|
+
"topic": "Style",
|
|
813
|
+
"written": "10000",
|
|
814
|
+
"value": 10000,
|
|
815
|
+
"unit": "count",
|
|
816
|
+
"meaning": "Finite iteration count of one animation; `infinite` stays allowed."
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "MAX_CANVASES",
|
|
820
|
+
"topic": "Drawing and images",
|
|
821
|
+
"written": "8",
|
|
822
|
+
"value": 8,
|
|
823
|
+
"unit": "count",
|
|
824
|
+
"meaning": "`canvas` elements in one widget."
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "MAX_DRAW_COMMANDS",
|
|
828
|
+
"topic": "Drawing and images",
|
|
829
|
+
"written": "4096",
|
|
830
|
+
"value": 4096,
|
|
831
|
+
"unit": "count",
|
|
832
|
+
"meaning": "Commands in one call of `draw`, replacing the canvas content."
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "MAX_PATH_POINTS",
|
|
836
|
+
"topic": "Drawing and images",
|
|
837
|
+
"written": "16384",
|
|
838
|
+
"value": 16384,
|
|
839
|
+
"unit": "count",
|
|
840
|
+
"meaning": "Vertices the host draws for one call of `draw`, all paths included, counted with a fixed ceiling per command: `moveTo` and `lineTo` 1, `quadTo` 8, `cubicTo` 16, `arc` and `circle` 64, `rect` 36, other commands 0."
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "MAX_DRAW_STATE_DEPTH",
|
|
844
|
+
"topic": "Drawing and images",
|
|
845
|
+
"written": "16",
|
|
846
|
+
"value": 16,
|
|
847
|
+
"unit": "count",
|
|
848
|
+
"meaning": "Nested `save` commands."
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"name": "MAX_IMAGE_EDGE_PX",
|
|
852
|
+
"topic": "Drawing and images",
|
|
853
|
+
"written": "2048 px",
|
|
854
|
+
"value": 2048,
|
|
855
|
+
"unit": "px",
|
|
856
|
+
"meaning": "Width or height of one decoded image."
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"name": "MAX_IMAGE_ENCODED_BYTES",
|
|
860
|
+
"topic": "Drawing and images",
|
|
861
|
+
"written": "2 MiB",
|
|
862
|
+
"value": 2097152,
|
|
863
|
+
"unit": "bytes",
|
|
864
|
+
"meaning": "Encoded size of one PNG, JPEG or WebP image before decoding."
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"name": "VM_HEAP_BYTES",
|
|
868
|
+
"topic": "Logic",
|
|
869
|
+
"written": "16 MiB",
|
|
870
|
+
"value": 16777216,
|
|
871
|
+
"unit": "bytes",
|
|
872
|
+
"meaning": "Heap ceiling of the VM when the manifest requests none."
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"name": "VM_MAX_HEAP_BYTES",
|
|
876
|
+
"topic": "Logic",
|
|
877
|
+
"written": "48 MiB",
|
|
878
|
+
"value": 50331648,
|
|
879
|
+
"unit": "bytes",
|
|
880
|
+
"meaning": "Largest heap ceiling a manifest may request."
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"name": "VM_STACK_BYTES",
|
|
884
|
+
"topic": "Logic",
|
|
885
|
+
"written": "256 KiB",
|
|
886
|
+
"value": 262144,
|
|
887
|
+
"unit": "bytes",
|
|
888
|
+
"meaning": "Stack ceiling of the VM."
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "VM_PROCESS_MEMORY_BYTES",
|
|
892
|
+
"topic": "Logic",
|
|
893
|
+
"written": "64 MiB",
|
|
894
|
+
"value": 67108864,
|
|
895
|
+
"unit": "bytes",
|
|
896
|
+
"meaning": "Hard memory ceiling of one widget's process."
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "VM_CPU_PERCENT",
|
|
900
|
+
"topic": "Logic",
|
|
901
|
+
"written": "25 % of one core",
|
|
902
|
+
"value": 25,
|
|
903
|
+
"unit": "% of one core",
|
|
904
|
+
"meaning": "CPU ceiling of one widget's process."
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "VM_TURN_BUDGET_MS",
|
|
908
|
+
"topic": "Logic",
|
|
909
|
+
"written": "50 ms",
|
|
910
|
+
"value": 50,
|
|
911
|
+
"unit": "ms",
|
|
912
|
+
"meaning": "Wall time of one turn of the logic before the VM interrupts it."
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"name": "VM_JOBS_PER_TURN",
|
|
916
|
+
"topic": "Logic",
|
|
917
|
+
"written": "1024",
|
|
918
|
+
"value": 1024,
|
|
919
|
+
"unit": "count",
|
|
920
|
+
"meaning": "Promise jobs run in one turn; a longer queue is a resource failure."
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "VM_MESSAGES_PER_TURN",
|
|
924
|
+
"topic": "Logic",
|
|
925
|
+
"written": "64",
|
|
926
|
+
"value": 64,
|
|
927
|
+
"unit": "count",
|
|
928
|
+
"meaning": "Messages the widget may emit during one turn."
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"name": "MAX_VM_MESSAGES_PER_SECOND",
|
|
932
|
+
"topic": "Logic",
|
|
933
|
+
"written": "120 per second",
|
|
934
|
+
"value": 120,
|
|
935
|
+
"unit": "per second",
|
|
936
|
+
"meaning": "Sustained rate of messages from the widget to the host."
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"name": "MAX_VM_MESSAGE_BURST",
|
|
940
|
+
"topic": "Logic",
|
|
941
|
+
"written": "240",
|
|
942
|
+
"value": 240,
|
|
943
|
+
"unit": "count",
|
|
944
|
+
"meaning": "Burst of messages allowed above that rate."
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"name": "MAX_PATCH_BYTES",
|
|
948
|
+
"topic": "Logic",
|
|
949
|
+
"written": "256 KiB",
|
|
950
|
+
"value": 262144,
|
|
951
|
+
"unit": "bytes",
|
|
952
|
+
"meaning": "Size of what the widget sends at once: one change of the view or one call of `draw`."
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"name": "MAX_PATCH_OPS",
|
|
956
|
+
"topic": "Logic",
|
|
957
|
+
"written": "4096",
|
|
958
|
+
"value": 4096,
|
|
959
|
+
"unit": "count",
|
|
960
|
+
"meaning": "Operations in one change of the view (elements created, removed, moved or changed) after a turn."
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "MAX_TIMERS",
|
|
964
|
+
"topic": "Logic",
|
|
965
|
+
"written": "16",
|
|
966
|
+
"value": 16,
|
|
967
|
+
"unit": "count",
|
|
968
|
+
"meaning": "Active timers of one widget."
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"name": "MIN_TIMER_INTERVAL_MS",
|
|
972
|
+
"topic": "Logic",
|
|
973
|
+
"written": "100 ms",
|
|
974
|
+
"value": 100,
|
|
975
|
+
"unit": "ms",
|
|
976
|
+
"meaning": "Shortest timer period; animation belongs to style, not to timers."
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "CLOCK_RESOLUTION_MS",
|
|
980
|
+
"topic": "Logic",
|
|
981
|
+
"written": "1 ms",
|
|
982
|
+
"value": 1,
|
|
983
|
+
"unit": "ms",
|
|
984
|
+
"meaning": "Granularity of `Date.now()` inside the VM."
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"name": "MAX_LOG_BYTES",
|
|
988
|
+
"topic": "Logic",
|
|
989
|
+
"written": "4 KiB",
|
|
990
|
+
"value": 4096,
|
|
991
|
+
"unit": "bytes",
|
|
992
|
+
"meaning": "Text of one `log` call."
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "MAX_SERVICE_CALLS_IN_FLIGHT",
|
|
996
|
+
"topic": "Services",
|
|
997
|
+
"written": "16",
|
|
998
|
+
"value": 16,
|
|
999
|
+
"unit": "count",
|
|
1000
|
+
"meaning": "Unanswered service calls of one widget, subscriptions excluded."
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "MAX_SUBSCRIPTIONS",
|
|
1004
|
+
"topic": "Services",
|
|
1005
|
+
"written": "16",
|
|
1006
|
+
"value": 16,
|
|
1007
|
+
"unit": "count",
|
|
1008
|
+
"meaning": "Open service subscriptions of one widget."
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "STORAGE_QUOTA_BYTES",
|
|
1012
|
+
"topic": "Services",
|
|
1013
|
+
"written": "256 KiB",
|
|
1014
|
+
"value": 262144,
|
|
1015
|
+
"unit": "bytes",
|
|
1016
|
+
"meaning": "Keys and values stored by one widget."
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"name": "MAX_STORAGE_KEYS",
|
|
1020
|
+
"topic": "Services",
|
|
1021
|
+
"written": "512",
|
|
1022
|
+
"value": 512,
|
|
1023
|
+
"unit": "count",
|
|
1024
|
+
"meaning": "Keys stored by one widget."
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "MAX_STORAGE_KEY_BYTES",
|
|
1028
|
+
"topic": "Services",
|
|
1029
|
+
"written": "128 bytes",
|
|
1030
|
+
"value": 128,
|
|
1031
|
+
"unit": "bytes",
|
|
1032
|
+
"meaning": "Length of one storage key."
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"name": "MAX_STORAGE_VALUE_BYTES",
|
|
1036
|
+
"topic": "Services",
|
|
1037
|
+
"written": "64 KiB",
|
|
1038
|
+
"value": 65536,
|
|
1039
|
+
"unit": "bytes",
|
|
1040
|
+
"meaning": "Serialized JSON size of one storage value."
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"name": "MAX_CLIPBOARD_BYTES",
|
|
1044
|
+
"topic": "Services",
|
|
1045
|
+
"written": "16 KiB",
|
|
1046
|
+
"value": 16384,
|
|
1047
|
+
"unit": "bytes",
|
|
1048
|
+
"meaning": "Text of one clipboard write."
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"name": "MAX_OBJECT_ID_BYTES",
|
|
1052
|
+
"topic": "Services",
|
|
1053
|
+
"written": "128 bytes",
|
|
1054
|
+
"value": 128,
|
|
1055
|
+
"unit": "bytes",
|
|
1056
|
+
"meaning": "Opaque object ID or cursor exchanged with a capability service."
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "MAX_NOTES",
|
|
1060
|
+
"topic": "Notes, reviews and chat",
|
|
1061
|
+
"written": "8",
|
|
1062
|
+
"value": 8,
|
|
1063
|
+
"unit": "count",
|
|
1064
|
+
"meaning": "Notes in the user's notes document; `notes.create` fails beyond it."
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "MAX_NOTE_TITLE_BYTES",
|
|
1068
|
+
"topic": "Notes, reviews and chat",
|
|
1069
|
+
"written": "96 bytes",
|
|
1070
|
+
"value": 96,
|
|
1071
|
+
"unit": "bytes",
|
|
1072
|
+
"meaning": "Note title, non-empty after trimming."
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "MAX_NOTE_BODY_BYTES",
|
|
1076
|
+
"topic": "Notes, reviews and chat",
|
|
1077
|
+
"written": "8 KiB",
|
|
1078
|
+
"value": 8192,
|
|
1079
|
+
"unit": "bytes",
|
|
1080
|
+
"meaning": "Note body."
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"name": "MAX_NOTE_ITEMS",
|
|
1084
|
+
"topic": "Notes, reviews and chat",
|
|
1085
|
+
"written": "64",
|
|
1086
|
+
"value": 64,
|
|
1087
|
+
"unit": "count",
|
|
1088
|
+
"meaning": "Checklist items of one note."
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "MAX_NOTE_ITEM_BYTES",
|
|
1092
|
+
"topic": "Notes, reviews and chat",
|
|
1093
|
+
"written": "256 bytes",
|
|
1094
|
+
"value": 256,
|
|
1095
|
+
"unit": "bytes",
|
|
1096
|
+
"meaning": "One checklist item."
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "MAX_REVIEW_CHARS",
|
|
1100
|
+
"topic": "Notes, reviews and chat",
|
|
1101
|
+
"written": "2000 characters",
|
|
1102
|
+
"value": 2000,
|
|
1103
|
+
"unit": "characters",
|
|
1104
|
+
"meaning": "PlayerVox review text."
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"name": "MAX_CHAT_MESSAGE_CHARS",
|
|
1108
|
+
"topic": "Notes, reviews and chat",
|
|
1109
|
+
"written": "500 characters",
|
|
1110
|
+
"value": 500,
|
|
1111
|
+
"unit": "characters",
|
|
1112
|
+
"meaning": "Twitch chat message, the Twitch limit; not empty or whitespace-only, no control characters."
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"name": "MAX_CHAT_FRAGMENTS",
|
|
1116
|
+
"topic": "Notes, reviews and chat",
|
|
1117
|
+
"written": "16",
|
|
1118
|
+
"value": 16,
|
|
1119
|
+
"unit": "count",
|
|
1120
|
+
"meaning": "Text and emote runs of one delivered chat message; the host merges the rest into text."
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"name": "MAX_CHAT_FAVORITES",
|
|
1124
|
+
"topic": "Notes, reviews and chat",
|
|
1125
|
+
"written": "20",
|
|
1126
|
+
"value": 20,
|
|
1127
|
+
"unit": "count",
|
|
1128
|
+
"meaning": "Favourite Twitch channels kept by the host."
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"name": "MAX_CHAT_CHANNEL_BYTES",
|
|
1132
|
+
"topic": "Notes, reviews and chat",
|
|
1133
|
+
"written": "25 bytes",
|
|
1134
|
+
"value": 25,
|
|
1135
|
+
"unit": "bytes",
|
|
1136
|
+
"meaning": "Twitch channel login after normalization: ASCII letters, digits and `_`, lowercased."
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"name": "PARITY_CHANNEL_TOLERANCE",
|
|
1140
|
+
"topic": "Reference images",
|
|
1141
|
+
"written": "2 levels of 255",
|
|
1142
|
+
"value": 2,
|
|
1143
|
+
"unit": "levels of 255",
|
|
1144
|
+
"meaning": "Largest per-channel difference for a pixel to count as equal to the reference image's."
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "PARITY_MAX_DIFFERENT_PIXELS",
|
|
1148
|
+
"topic": "Reference images",
|
|
1149
|
+
"written": "100 ppm",
|
|
1150
|
+
"value": 100,
|
|
1151
|
+
"unit": "ppm",
|
|
1152
|
+
"meaning": "Share of pixels allowed beyond the channel tolerance. One wrong 10 px letter in a 360 × 260 widget is 385 ppm."
|
|
1153
|
+
}
|
|
1154
|
+
]
|