@cchistory/lite 0.4.2
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/INSTALL.md +13 -0
- package/LICENSE +21 -0
- package/README.md +16 -0
- package/apps/lite-cli/dist/bin.d.ts +3 -0
- package/apps/lite-cli/dist/bin.d.ts.map +1 -0
- package/apps/lite-cli/dist/bin.js +7 -0
- package/apps/lite-cli/dist/bin.js.map +1 -0
- package/apps/lite-cli/dist/index.d.ts +21 -0
- package/apps/lite-cli/dist/index.d.ts.map +1 -0
- package/apps/lite-cli/dist/index.js +1812 -0
- package/apps/lite-cli/dist/index.js.map +1 -0
- package/apps/lite-cli/dist/index.test.d.ts +2 -0
- package/apps/lite-cli/dist/index.test.d.ts.map +1 -0
- package/apps/lite-cli/dist/index.test.js +1290 -0
- package/apps/lite-cli/dist/index.test.js.map +1 -0
- package/apps/lite-cli/dist/json-v2.d.ts +17 -0
- package/apps/lite-cli/dist/json-v2.d.ts.map +1 -0
- package/apps/lite-cli/dist/json-v2.js +352 -0
- package/apps/lite-cli/dist/json-v2.js.map +1 -0
- package/apps/lite-cli/dist/query.d.ts +50 -0
- package/apps/lite-cli/dist/query.d.ts.map +1 -0
- package/apps/lite-cli/dist/query.js +297 -0
- package/apps/lite-cli/dist/query.js.map +1 -0
- package/apps/lite-cli/dist/shell.d.ts +18 -0
- package/apps/lite-cli/dist/shell.d.ts.map +1 -0
- package/apps/lite-cli/dist/shell.js +276 -0
- package/apps/lite-cli/dist/shell.js.map +1 -0
- package/apps/lite-tui/dist/bin.d.ts +3 -0
- package/apps/lite-tui/dist/bin.d.ts.map +1 -0
- package/apps/lite-tui/dist/bin.js +7 -0
- package/apps/lite-tui/dist/bin.js.map +1 -0
- package/apps/lite-tui/dist/colors.d.ts +49 -0
- package/apps/lite-tui/dist/colors.d.ts.map +1 -0
- package/apps/lite-tui/dist/colors.js +70 -0
- package/apps/lite-tui/dist/colors.js.map +1 -0
- package/apps/lite-tui/dist/index.d.ts +23 -0
- package/apps/lite-tui/dist/index.d.ts.map +1 -0
- package/apps/lite-tui/dist/index.js +519 -0
- package/apps/lite-tui/dist/index.js.map +1 -0
- package/apps/lite-tui/dist/index.test.d.ts +2 -0
- package/apps/lite-tui/dist/index.test.d.ts.map +1 -0
- package/apps/lite-tui/dist/index.test.js +487 -0
- package/apps/lite-tui/dist/index.test.js.map +1 -0
- package/apps/lite-tui/dist/input.d.ts +23 -0
- package/apps/lite-tui/dist/input.d.ts.map +1 -0
- package/apps/lite-tui/dist/input.js +98 -0
- package/apps/lite-tui/dist/input.js.map +1 -0
- package/apps/lite-tui/dist/keys.d.ts +32 -0
- package/apps/lite-tui/dist/keys.d.ts.map +1 -0
- package/apps/lite-tui/dist/keys.js +136 -0
- package/apps/lite-tui/dist/keys.js.map +1 -0
- package/apps/lite-tui/dist/keys.test.d.ts +2 -0
- package/apps/lite-tui/dist/keys.test.d.ts.map +1 -0
- package/apps/lite-tui/dist/keys.test.js +67 -0
- package/apps/lite-tui/dist/keys.test.js.map +1 -0
- package/apps/lite-tui/dist/model.d.ts +88 -0
- package/apps/lite-tui/dist/model.d.ts.map +1 -0
- package/apps/lite-tui/dist/model.js +146 -0
- package/apps/lite-tui/dist/model.js.map +1 -0
- package/apps/lite-tui/dist/render.d.ts +46 -0
- package/apps/lite-tui/dist/render.d.ts.map +1 -0
- package/apps/lite-tui/dist/render.js +706 -0
- package/apps/lite-tui/dist/render.js.map +1 -0
- package/apps/lite-tui/dist/render.test.d.ts +2 -0
- package/apps/lite-tui/dist/render.test.d.ts.map +1 -0
- package/apps/lite-tui/dist/render.test.js +594 -0
- package/apps/lite-tui/dist/render.test.js.map +1 -0
- package/apps/lite-tui/dist/state.d.ts +127 -0
- package/apps/lite-tui/dist/state.d.ts.map +1 -0
- package/apps/lite-tui/dist/state.js +391 -0
- package/apps/lite-tui/dist/state.js.map +1 -0
- package/apps/lite-tui/dist/state.test.d.ts +2 -0
- package/apps/lite-tui/dist/state.test.d.ts.map +1 -0
- package/apps/lite-tui/dist/state.test.js +331 -0
- package/apps/lite-tui/dist/state.test.js.map +1 -0
- package/apps/lite-tui/dist/text.d.ts +38 -0
- package/apps/lite-tui/dist/text.d.ts.map +1 -0
- package/apps/lite-tui/dist/text.js +246 -0
- package/apps/lite-tui/dist/text.js.map +1 -0
- package/apps/lite-tui/dist/version.d.ts +10 -0
- package/apps/lite-tui/dist/version.d.ts.map +1 -0
- package/apps/lite-tui/dist/version.js +10 -0
- package/apps/lite-tui/dist/version.js.map +1 -0
- package/apps/lite-tui/dist/view-model.d.ts +26 -0
- package/apps/lite-tui/dist/view-model.d.ts.map +1 -0
- package/apps/lite-tui/dist/view-model.js +87 -0
- package/apps/lite-tui/dist/view-model.js.map +1 -0
- package/bin/cchistory-lite +3 -0
- package/bin/cchistory-lite-tui +3 -0
- package/bin/cchistory-lite-tui.cmd +3 -0
- package/bin/cchistory-lite-tui.mjs +7 -0
- package/bin/cchistory-lite.cmd +3 -0
- package/bin/cchistory-lite.mjs +11 -0
- package/node_modules/@cchistory/canonical/dist/directory-scope.d.ts +33 -0
- package/node_modules/@cchistory/canonical/dist/directory-scope.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/directory-scope.js +95 -0
- package/node_modules/@cchistory/canonical/dist/directory-scope.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/fallback-projects.d.ts +14 -0
- package/node_modules/@cchistory/canonical/dist/fallback-projects.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/fallback-projects.js +120 -0
- package/node_modules/@cchistory/canonical/dist/fallback-projects.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/index.d.ts +12 -0
- package/node_modules/@cchistory/canonical/dist/index.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/index.js +12 -0
- package/node_modules/@cchistory/canonical/dist/index.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/index.test.d.ts +2 -0
- package/node_modules/@cchistory/canonical/dist/index.test.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/index.test.js +901 -0
- package/node_modules/@cchistory/canonical/dist/index.test.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/project-linker.d.ts +30 -0
- package/node_modules/@cchistory/canonical/dist/project-linker.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/project-linker.js +720 -0
- package/node_modules/@cchistory/canonical/dist/project-linker.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/projection-audit.d.ts +23 -0
- package/node_modules/@cchistory/canonical/dist/projection-audit.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/projection-audit.js +192 -0
- package/node_modules/@cchistory/canonical/dist/projection-audit.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/read-order.d.ts +19 -0
- package/node_modules/@cchistory/canonical/dist/read-order.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/read-order.js +73 -0
- package/node_modules/@cchistory/canonical/dist/read-order.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/related-work.d.ts +4 -0
- package/node_modules/@cchistory/canonical/dist/related-work.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/related-work.js +232 -0
- package/node_modules/@cchistory/canonical/dist/related-work.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/runtime-warning-filter.d.ts +10 -0
- package/node_modules/@cchistory/canonical/dist/runtime-warning-filter.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/runtime-warning-filter.js +34 -0
- package/node_modules/@cchistory/canonical/dist/runtime-warning-filter.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/search.d.ts +69 -0
- package/node_modules/@cchistory/canonical/dist/search.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/search.js +337 -0
- package/node_modules/@cchistory/canonical/dist/search.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/session-collections.d.ts +8 -0
- package/node_modules/@cchistory/canonical/dist/session-collections.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/session-collections.js +21 -0
- package/node_modules/@cchistory/canonical/dist/session-collections.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/session-family.d.ts +23 -0
- package/node_modules/@cchistory/canonical/dist/session-family.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/session-family.js +808 -0
- package/node_modules/@cchistory/canonical/dist/session-family.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/session-family.test.d.ts +2 -0
- package/node_modules/@cchistory/canonical/dist/session-family.test.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/session-family.test.js +650 -0
- package/node_modules/@cchistory/canonical/dist/session-family.test.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/usage.d.ts +79 -0
- package/node_modules/@cchistory/canonical/dist/usage.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/usage.js +232 -0
- package/node_modules/@cchistory/canonical/dist/usage.js.map +1 -0
- package/node_modules/@cchistory/canonical/dist/utils.d.ts +5 -0
- package/node_modules/@cchistory/canonical/dist/utils.d.ts.map +1 -0
- package/node_modules/@cchistory/canonical/dist/utils.js +18 -0
- package/node_modules/@cchistory/canonical/dist/utils.js.map +1 -0
- package/node_modules/@cchistory/canonical/package.json +14 -0
- package/node_modules/@cchistory/domain/dist/index.d.ts +943 -0
- package/node_modules/@cchistory/domain/dist/index.d.ts.map +1 -0
- package/node_modules/@cchistory/domain/dist/index.js +238 -0
- package/node_modules/@cchistory/domain/dist/index.js.map +1 -0
- package/node_modules/@cchistory/domain/dist/index.test.d.ts +2 -0
- package/node_modules/@cchistory/domain/dist/index.test.d.ts.map +1 -0
- package/node_modules/@cchistory/domain/dist/index.test.js +423 -0
- package/node_modules/@cchistory/domain/dist/index.test.js.map +1 -0
- package/node_modules/@cchistory/domain/package.json +14 -0
- package/node_modules/@cchistory/live-runtime/dist/async-pool.d.ts +3 -0
- package/node_modules/@cchistory/live-runtime/dist/async-pool.d.ts.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/async-pool.js +19 -0
- package/node_modules/@cchistory/live-runtime/dist/async-pool.js.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/bootstrap.d.ts +3 -0
- package/node_modules/@cchistory/live-runtime/dist/bootstrap.d.ts.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/bootstrap.js +22 -0
- package/node_modules/@cchistory/live-runtime/dist/bootstrap.js.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/index.d.ts +149 -0
- package/node_modules/@cchistory/live-runtime/dist/index.d.ts.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/index.js +1180 -0
- package/node_modules/@cchistory/live-runtime/dist/index.js.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/index.test.d.ts +2 -0
- package/node_modules/@cchistory/live-runtime/dist/index.test.d.ts.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/index.test.js +1819 -0
- package/node_modules/@cchistory/live-runtime/dist/index.test.js.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/node-memory.d.ts +5 -0
- package/node_modules/@cchistory/live-runtime/dist/node-memory.d.ts.map +1 -0
- package/node_modules/@cchistory/live-runtime/dist/node-memory.js +83 -0
- package/node_modules/@cchistory/live-runtime/dist/node-memory.js.map +1 -0
- package/node_modules/@cchistory/live-runtime/package.json +18 -0
- package/node_modules/@cchistory/source-adapters/dist/core/antigravity-logic.d.ts +8 -0
- package/node_modules/@cchistory/source-adapters/dist/core/antigravity-logic.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/antigravity-logic.js +115 -0
- package/node_modules/@cchistory/source-adapters/dist/core/antigravity-logic.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/ask-user-registry.d.ts +9 -0
- package/node_modules/@cchistory/source-adapters/dist/core/ask-user-registry.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/ask-user-registry.js +223 -0
- package/node_modules/@cchistory/source-adapters/dist/core/ask-user-registry.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/ask-user.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/ask-user.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/ask-user.test.js +318 -0
- package/node_modules/@cchistory/source-adapters/dist/core/ask-user.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/atomizer.d.ts +11 -0
- package/node_modules/@cchistory/source-adapters/dist/core/atomizer.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/atomizer.js +206 -0
- package/node_modules/@cchistory/source-adapters/dist/core/atomizer.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.d.ts +62 -0
- package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.js +224 -0
- package/node_modules/@cchistory/source-adapters/dist/core/conversation-seeds.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/directory-preview.d.ts +15 -0
- package/node_modules/@cchistory/source-adapters/dist/core/directory-preview.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/directory-preview.js +96 -0
- package/node_modules/@cchistory/source-adapters/dist/core/directory-preview.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/directory-preview.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/directory-preview.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/directory-preview.test.js +97 -0
- package/node_modules/@cchistory/source-adapters/dist/core/directory-preview.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.d.ts +11 -0
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.js +412 -0
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.test.js +552 -0
- package/node_modules/@cchistory/source-adapters/dist/core/discovery.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/factories.d.ts +10 -0
- package/node_modules/@cchistory/source-adapters/dist/core/factories.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/factories.js +83 -0
- package/node_modules/@cchistory/source-adapters/dist/core/factories.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.d.ts +5 -0
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.js +86 -0
- package/node_modules/@cchistory/source-adapters/dist/core/git-project.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/jsonl-records.d.ts +31 -0
- package/node_modules/@cchistory/source-adapters/dist/core/jsonl-records.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/jsonl-records.js +216 -0
- package/node_modules/@cchistory/source-adapters/dist/core/jsonl-records.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/jsonl-records.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/jsonl-records.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/jsonl-records.test.js +367 -0
- package/node_modules/@cchistory/source-adapters/dist/core/jsonl-records.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/legacy.d.ts +10 -0
- package/node_modules/@cchistory/source-adapters/dist/core/legacy.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/legacy.js +10 -0
- package/node_modules/@cchistory/source-adapters/dist/core/legacy.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/parser.d.ts +70 -0
- package/node_modules/@cchistory/source-adapters/dist/core/parser.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/parser.js +1389 -0
- package/node_modules/@cchistory/source-adapters/dist/core/parser.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/path-utils.d.ts +15 -0
- package/node_modules/@cchistory/source-adapters/dist/core/path-utils.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/path-utils.js +76 -0
- package/node_modules/@cchistory/source-adapters/dist/core/path-utils.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/path-utils.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/path-utils.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/path-utils.test.js +33 -0
- package/node_modules/@cchistory/source-adapters/dist/core/path-utils.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/probe.d.ts +24 -0
- package/node_modules/@cchistory/source-adapters/dist/core/probe.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/probe.js +1829 -0
- package/node_modules/@cchistory/source-adapters/dist/core/probe.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/projections.d.ts +39 -0
- package/node_modules/@cchistory/source-adapters/dist/core/projections.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/projections.js +873 -0
- package/node_modules/@cchistory/source-adapters/dist/core/projections.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/projections.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/projections.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/projections.test.js +165 -0
- package/node_modules/@cchistory/source-adapters/dist/core/projections.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/registry.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/registry.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/registry.test.js +87 -0
- package/node_modules/@cchistory/source-adapters/dist/core/registry.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping-worker.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping-worker.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping-worker.js +10 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping-worker.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.d.ts +29 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.js +455 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.test.js +357 -0
- package/node_modules/@cchistory/source-adapters/dist/core/session-grouping.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/source-identity.d.ts +25 -0
- package/node_modules/@cchistory/source-adapters/dist/core/source-identity.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/source-identity.js +144 -0
- package/node_modules/@cchistory/source-adapters/dist/core/source-identity.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/token-usage.d.ts +14 -0
- package/node_modules/@cchistory/source-adapters/dist/core/token-usage.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/token-usage.js +247 -0
- package/node_modules/@cchistory/source-adapters/dist/core/token-usage.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/tokens.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/tokens.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/tokens.test.js +323 -0
- package/node_modules/@cchistory/source-adapters/dist/core/tokens.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/type-guards.d.ts +26 -0
- package/node_modules/@cchistory/source-adapters/dist/core/type-guards.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/type-guards.js +80 -0
- package/node_modules/@cchistory/source-adapters/dist/core/type-guards.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/types.d.ts +226 -0
- package/node_modules/@cchistory/source-adapters/dist/core/types.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/types.js +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/types.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/user-text.d.ts +29 -0
- package/node_modules/@cchistory/source-adapters/dist/core/user-text.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/user-text.js +327 -0
- package/node_modules/@cchistory/source-adapters/dist/core/user-text.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/utils.d.ts +11 -0
- package/node_modules/@cchistory/source-adapters/dist/core/utils.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/utils.js +19 -0
- package/node_modules/@cchistory/source-adapters/dist/core/utils.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/utils.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/core/utils.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/utils.test.js +289 -0
- package/node_modules/@cchistory/source-adapters/dist/core/utils.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/vscode-state.d.ts +43 -0
- package/node_modules/@cchistory/source-adapters/dist/core/vscode-state.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/core/vscode-state.js +520 -0
- package/node_modules/@cchistory/source-adapters/dist/core/vscode-state.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/index.d.ts +13 -0
- package/node_modules/@cchistory/source-adapters/dist/index.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/index.js +8 -0
- package/node_modules/@cchistory/source-adapters/dist/index.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/index.test.d.ts +31 -0
- package/node_modules/@cchistory/source-adapters/dist/index.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/index.test.js +31 -0
- package/node_modules/@cchistory/source-adapters/dist/index.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/masks.d.ts +31 -0
- package/node_modules/@cchistory/source-adapters/dist/masks.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/masks.js +342 -0
- package/node_modules/@cchistory/source-adapters/dist/masks.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio/runtime.d.ts +31 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio/runtime.js +161 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio.js +107 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio.test.js +202 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/accio.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp/runtime.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp/runtime.js +85 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp.js +10 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp.test.js +105 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/amp.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity/live.d.ts +45 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity/live.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity/live.js +609 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity/live.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity/runtime.d.ts +16 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity/runtime.js +534 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity.d.ts +12 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity.js +105 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity.test.js +820 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/antigravity.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude-code/runtime.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude-code/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude-code/runtime.js +130 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude-code/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude-code.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude-code.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude-code.js +10 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude-code.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude.test.js +357 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/claude.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codebuddy.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codebuddy.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codebuddy.js +27 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codebuddy.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codebuddy.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codebuddy.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codebuddy.test.js +49 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codebuddy.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex/runtime.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex/runtime.js +555 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex.js +15 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex.test.js +893 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/codex.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor/runtime.d.ts +70 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor/runtime.js +786 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.js +14 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.test.js +154 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor-agent.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor.js +151 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor.test.js +1486 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/cursor.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid/runtime.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid/runtime.js +229 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid.js +10 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid.test.js +222 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/factory-droid.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/gemini.d.ts +7 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/gemini.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/gemini.js +65 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/gemini.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/gemini.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/gemini.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/gemini.test.js +220 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/gemini.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.d.ts +20 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.js +365 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/generic/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok/runtime.d.ts +17 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok/runtime.js +498 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok.d.ts +36 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok.js +261 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok.test.js +565 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/grok.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi/runtime.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi/runtime.js +193 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi.d.ts +7 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi.js +55 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi.test.js +163 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/kimi.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/lobechat.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/lobechat.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/lobechat.js +10 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/lobechat.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/lobechat.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/lobechat.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/lobechat.test.js +179 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/lobechat.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw/runtime.d.ts +4 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw/runtime.js +44 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw.js +60 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw.test.js +39 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/openclaw.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.js +45 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.test.js +170 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/opencode.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/registry.d.ts +7 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/registry.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/registry.js +52 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/registry.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/runtime-types.d.ts +104 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/runtime-types.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/runtime-types.js +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/runtime-types.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/types.d.ts +38 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/types.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/types.js +19 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/types.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode/runtime.d.ts +14 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode/runtime.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode/runtime.js +283 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode/runtime.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode.d.ts +3 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode.js +26 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode.test.d.ts +2 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode.test.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode.test.js +411 -0
- package/node_modules/@cchistory/source-adapters/dist/platforms/zcode.test.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/test-helpers.d.ts +85 -0
- package/node_modules/@cchistory/source-adapters/dist/test-helpers.d.ts.map +1 -0
- package/node_modules/@cchistory/source-adapters/dist/test-helpers.js +2106 -0
- package/node_modules/@cchistory/source-adapters/dist/test-helpers.js.map +1 -0
- package/node_modules/@cchistory/source-adapters/package.json +14 -0
- package/package.json +38 -0
- package/schemas/cchistory-lite-canonical-v1.schema.json +13 -0
- package/schemas/cchistory-lite-error-v1.schema.json +30 -0
- package/schemas/cchistory-lite-query-result-v1.schema.json +29 -0
- package/schemas/cchistory-lite-query-result-v2.schema.json +29 -0
- package/schemas/cchistory-lite-query-v1.schema.json +62 -0
- package/schemas/cchistory-lite-query-v2.schema.json +82 -0
- package/schemas/cchistory-lite-v2.schema.json +176 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure frame renderer for the Lite TUI.
|
|
3
|
+
*
|
|
4
|
+
* `renderLiteFrame` returns one complete screen: exactly `height` lines, each
|
|
5
|
+
* at most `width` columns. The runtime paints it by homing the cursor and
|
|
6
|
+
* rewriting every line, so there is no incremental diffing to get wrong and
|
|
7
|
+
* the same function serves the non-interactive snapshot path.
|
|
8
|
+
*/
|
|
9
|
+
import type { TurnSearchResult } from "@cchistory/domain";
|
|
10
|
+
import type { LiteBrowserModel } from "./model.js";
|
|
11
|
+
import { type LiteBrowserState, type LiteSearchGroup } from "./state.js";
|
|
12
|
+
/** Byte-identical to the pre-rewrite banner: release verifiers grep for both. */
|
|
13
|
+
export declare const BANNER_TITLE = "CC History Lite TUI 0.4.2";
|
|
14
|
+
export declare const BANNER_SUBTITLE = "Ephemeral live snapshot \u00B7 single machine \u00B7 no Full store";
|
|
15
|
+
export declare const DEFAULT_WIDTH = 120;
|
|
16
|
+
export declare const DEFAULT_HEIGHT = 40;
|
|
17
|
+
export interface LiteRenderDimensions {
|
|
18
|
+
width?: number;
|
|
19
|
+
height?: number;
|
|
20
|
+
/** Milliseconds since epoch, injected so frames are deterministic in tests. */
|
|
21
|
+
now?: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Reconciled scroll offsets the renderer writes while painting. The reducer
|
|
25
|
+
* stores a bottom sentinel (`Number.MAX_SAFE_INTEGER`) for `jump-last` because
|
|
26
|
+
* it has no terminal dimensions; only the renderer can resolve that to a real
|
|
27
|
+
* maximum. The runtime reads these back so the stored offset never stays out
|
|
28
|
+
* of range and scrolling back up keeps working.
|
|
29
|
+
*/
|
|
30
|
+
export interface LiteScrollReconciliation {
|
|
31
|
+
detailScrollOffset?: number;
|
|
32
|
+
conversationScrollOffset?: number;
|
|
33
|
+
overlayScrollOffset?: number;
|
|
34
|
+
}
|
|
35
|
+
export declare function renderLiteFrame(model: LiteBrowserModel, state: LiteBrowserState, dimensions?: LiteRenderDimensions, scroll?: LiteScrollReconciliation): string;
|
|
36
|
+
/** Title + scrollable viewport, always exactly `maxLines` tall. */
|
|
37
|
+
export declare function renderScrollablePane(rows: string[], titleLine: string, maxLines: number, scrollOffset: number, scroll?: LiteScrollReconciliation): string[];
|
|
38
|
+
export declare function viewportWindow(total: number, selectedIndex: number, size: number): {
|
|
39
|
+
start: number;
|
|
40
|
+
end: number;
|
|
41
|
+
};
|
|
42
|
+
/** Exported for tests that assert on search grouping without a terminal. */
|
|
43
|
+
export declare function describeSearchGroup(group: LiteSearchGroup): string;
|
|
44
|
+
/** Exported for tests: the first ranked match's turn id, if any. */
|
|
45
|
+
export declare function firstSearchTurnId(results: readonly TurnSearchResult[]): string | undefined;
|
|
46
|
+
//# sourceMappingURL=render.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../src/render.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAA8C,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAqBtG,OAAO,KAAK,EAAE,gBAAgB,EAAmC,MAAM,YAAY,CAAC;AACpF,OAAO,EAUL,KAAK,gBAAgB,EAErB,KAAK,eAAe,EACrB,MAAM,YAAY,CAAC;AAkBpB,iFAAiF;AACjF,eAAO,MAAM,YAAY,8BAAmC,CAAC;AAC7D,eAAO,MAAM,eAAe,uEAA6D,CAAC;AAE1F,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,eAAO,MAAM,cAAc,KAAK,CAAC;AASjC,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+EAA+E;IAC/E,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,gBAAgB,EACvB,KAAK,EAAE,gBAAgB,EACvB,UAAU,GAAE,oBAAyB,EACrC,MAAM,CAAC,EAAE,wBAAwB,GAChC,MAAM,CAmBR;AAguBD,mEAAmE;AACnE,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EAAE,EACd,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,wBAAwB,GAChC,MAAM,EAAE,CA8BV;AAED,wBAAgB,cAAc,CAC5B,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,MAAM,GACX;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAUhC;AA4BD,4EAA4E;AAC5E,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAElE;AAED,oEAAoE;AACpE,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,SAAS,gBAAgB,EAAE,GAAG,MAAM,GAAG,SAAS,CAE1F"}
|