@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,943 @@
|
|
|
1
|
+
export type SourceFamily = "local_coding_agent" | "conversational_export" | "local_runtime_sessions" | "manual_export_bundles";
|
|
2
|
+
export type SourcePlatform = "codex" | "claude_code" | "factory_droid" | "amp" | "cursor" | "antigravity" | "openclaw" | "opencode" | "chatgpt" | "claude_web" | "gemini" | "lobechat" | "codebuddy" | "accio" | "zcode" | "kimi" | "cursor_agent" | "grok" | "other";
|
|
3
|
+
export type LinkState = "committed" | "candidate" | "unlinked";
|
|
4
|
+
export type SyncAxis = "current" | "superseded" | "source_absent" | "import_snapshot";
|
|
5
|
+
export type ValueAxis = "active" | "covered" | "archived" | "suppressed";
|
|
6
|
+
export type RetentionAxis = "keep_raw_and_derived" | "keep_raw_only" | "purged";
|
|
7
|
+
export type ProjectLinkageState = Exclude<LinkState, "unlinked">;
|
|
8
|
+
export type ManualOverrideStatus = "none" | "applied" | "rejected" | "required";
|
|
9
|
+
export interface TurnIdentity {
|
|
10
|
+
turn_id: string;
|
|
11
|
+
turn_revision_id: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ProjectRevisionIdentity {
|
|
14
|
+
project_id: string;
|
|
15
|
+
project_revision_id: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ArtifactIdentity {
|
|
18
|
+
artifact_id: string;
|
|
19
|
+
artifact_revision_id: string;
|
|
20
|
+
}
|
|
21
|
+
export interface LifecycleState {
|
|
22
|
+
sync_axis: SyncAxis;
|
|
23
|
+
value_axis: ValueAxis;
|
|
24
|
+
retention_axis: RetentionAxis;
|
|
25
|
+
}
|
|
26
|
+
export type StageKind = "capture" | "extract_records" | "parse_source_fragments" | "atomize" | "derive_candidates" | "finalize_projections" | "apply_masks" | "index_projections";
|
|
27
|
+
export type ParserCapability = "session_meta" | "title_signal" | "workspace_signal" | "model_signal" | "token_usage" | "text_fragments" | "tool_calls" | "tool_results" | "submission_group_candidates" | "project_observation_candidates" | "turn_projections" | "turn_context_projections" | "loss_audits";
|
|
28
|
+
export interface SourceFormatProfile {
|
|
29
|
+
id: string;
|
|
30
|
+
family: SourceFamily;
|
|
31
|
+
platform: SourcePlatform;
|
|
32
|
+
parser_version: string;
|
|
33
|
+
description: string;
|
|
34
|
+
capabilities: ParserCapability[];
|
|
35
|
+
}
|
|
36
|
+
export type CanonicalOrderingView = "raw_session_debug" | "global_turn_recall" | "project_feed" | "project_list" | "linking_inbox" | "source_admin_diagnostics";
|
|
37
|
+
export type CanonicalOrderingField = "event_time" | "seq_no" | "submission_started_at" | "last_context_activity_at" | "last_committed_turn_activity_at" | "project_last_activity_at" | "review_priority" | "health_severity" | "created_at" | "updated_at";
|
|
38
|
+
export interface CanonicalOrderingTerm {
|
|
39
|
+
field: CanonicalOrderingField;
|
|
40
|
+
direction: "asc" | "desc";
|
|
41
|
+
nulls?: "first" | "last";
|
|
42
|
+
}
|
|
43
|
+
/** Canonical ranking for source sync status used in health-based sorting (lower = worse). */
|
|
44
|
+
export declare const statusRank: {
|
|
45
|
+
readonly error: 0;
|
|
46
|
+
readonly stale: 1;
|
|
47
|
+
readonly healthy: 2;
|
|
48
|
+
};
|
|
49
|
+
export declare const CANONICAL_ORDERING_POLICIES: Record<CanonicalOrderingView, readonly CanonicalOrderingTerm[]>;
|
|
50
|
+
export type FragmentKind = "session_meta" | "title_signal" | "workspace_signal" | "model_signal" | "token_usage_signal" | "session_relation" | "text" | "tool_call" | "tool_result" | "unknown";
|
|
51
|
+
export type ActorKind = "user" | "assistant" | "system" | "tool";
|
|
52
|
+
export type OriginKind = "user_authored" | "assistant_authored" | "injected_user_shaped" | "delegated_instruction" | "automation_trigger" | "source_instruction" | "tool_generated" | "source_meta";
|
|
53
|
+
export type ContentKind = "text" | "tool_call" | "tool_result" | "meta_signal";
|
|
54
|
+
export type DisplayPolicy = "show" | "collapse" | "hide";
|
|
55
|
+
export type AtomEdgeKind = "tool_result_for" | "spawned_from" | "same_submission" | "continuation_of" | "derived_from_fragment";
|
|
56
|
+
export type CandidateKind = "submission_group" | "turn" | "context_span" | "turn_context" | "project_observation" | "ask_user_question";
|
|
57
|
+
export interface SourceDefinition {
|
|
58
|
+
id: string;
|
|
59
|
+
slot_id: string;
|
|
60
|
+
family: SourceFamily;
|
|
61
|
+
platform: SourcePlatform;
|
|
62
|
+
display_name: string;
|
|
63
|
+
base_dir: string;
|
|
64
|
+
}
|
|
65
|
+
export interface SourceInstance extends SourceDefinition {
|
|
66
|
+
host_id: string;
|
|
67
|
+
last_sync: string | null;
|
|
68
|
+
sync_status: "healthy" | "stale" | "error";
|
|
69
|
+
error_message?: string;
|
|
70
|
+
}
|
|
71
|
+
export interface SourceStatus extends SourceInstance {
|
|
72
|
+
total_blobs: number;
|
|
73
|
+
total_records: number;
|
|
74
|
+
total_fragments: number;
|
|
75
|
+
total_atoms: number;
|
|
76
|
+
total_sessions: number;
|
|
77
|
+
total_turns: number;
|
|
78
|
+
}
|
|
79
|
+
export interface StageRun {
|
|
80
|
+
id: string;
|
|
81
|
+
source_id: string;
|
|
82
|
+
stage_kind: StageKind;
|
|
83
|
+
parser_version?: string;
|
|
84
|
+
parser_capabilities?: ParserCapability[];
|
|
85
|
+
source_format_profile_ids?: string[];
|
|
86
|
+
started_at: string;
|
|
87
|
+
finished_at: string;
|
|
88
|
+
status: "success" | "error";
|
|
89
|
+
stats: Record<string, number>;
|
|
90
|
+
error_message?: string;
|
|
91
|
+
}
|
|
92
|
+
export interface LossAuditRecord {
|
|
93
|
+
id: string;
|
|
94
|
+
source_id: string;
|
|
95
|
+
stage_run_id: string;
|
|
96
|
+
stage_kind: StageKind;
|
|
97
|
+
diagnostic_code: string;
|
|
98
|
+
severity: "info" | "warning" | "error";
|
|
99
|
+
scope_ref: string;
|
|
100
|
+
session_ref?: string;
|
|
101
|
+
blob_ref?: string;
|
|
102
|
+
record_ref?: string;
|
|
103
|
+
fragment_ref?: string;
|
|
104
|
+
atom_ref?: string;
|
|
105
|
+
candidate_ref?: string;
|
|
106
|
+
source_format_profile_id?: string;
|
|
107
|
+
loss_kind: "unknown_fragment" | "opaque_atom" | "dropped_for_projection";
|
|
108
|
+
detail: string;
|
|
109
|
+
created_at: string;
|
|
110
|
+
}
|
|
111
|
+
export interface CapturedBlob {
|
|
112
|
+
id: string;
|
|
113
|
+
source_id: string;
|
|
114
|
+
host_id: string;
|
|
115
|
+
origin_path: string;
|
|
116
|
+
captured_path?: string;
|
|
117
|
+
checksum: string;
|
|
118
|
+
size_bytes: number;
|
|
119
|
+
captured_at: string;
|
|
120
|
+
capture_run_id: string;
|
|
121
|
+
file_modified_at?: string;
|
|
122
|
+
file_changed_at?: string;
|
|
123
|
+
file_identity_stable?: boolean;
|
|
124
|
+
content_max_timestamp?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface RawRecord {
|
|
127
|
+
id: string;
|
|
128
|
+
source_id: string;
|
|
129
|
+
blob_id: string;
|
|
130
|
+
session_ref: string;
|
|
131
|
+
ordinal: number;
|
|
132
|
+
record_path_or_offset: string;
|
|
133
|
+
observed_at: string;
|
|
134
|
+
parseable: boolean;
|
|
135
|
+
raw_json: string;
|
|
136
|
+
}
|
|
137
|
+
export interface RawEvent {
|
|
138
|
+
id: string;
|
|
139
|
+
source_id: string;
|
|
140
|
+
session_ref: string;
|
|
141
|
+
observed_at: string;
|
|
142
|
+
record_ref: string;
|
|
143
|
+
blob_ref: string;
|
|
144
|
+
payload: Record<string, unknown>;
|
|
145
|
+
}
|
|
146
|
+
export interface SourceFragment {
|
|
147
|
+
id: string;
|
|
148
|
+
source_id: string;
|
|
149
|
+
session_ref: string;
|
|
150
|
+
record_id: string;
|
|
151
|
+
seq_no: number;
|
|
152
|
+
fragment_kind: FragmentKind;
|
|
153
|
+
actor_kind?: ActorKind;
|
|
154
|
+
origin_kind?: OriginKind;
|
|
155
|
+
time_key: string;
|
|
156
|
+
payload: Record<string, unknown>;
|
|
157
|
+
raw_refs: string[];
|
|
158
|
+
source_format_profile_id: string;
|
|
159
|
+
}
|
|
160
|
+
export interface ConversationAtom {
|
|
161
|
+
id: string;
|
|
162
|
+
source_id: string;
|
|
163
|
+
session_ref: string;
|
|
164
|
+
seq_no: number;
|
|
165
|
+
actor_kind: ActorKind;
|
|
166
|
+
origin_kind: OriginKind;
|
|
167
|
+
content_kind: ContentKind;
|
|
168
|
+
time_key: string;
|
|
169
|
+
display_policy: DisplayPolicy;
|
|
170
|
+
payload: Record<string, unknown>;
|
|
171
|
+
fragment_refs: string[];
|
|
172
|
+
source_format_profile_id: string;
|
|
173
|
+
}
|
|
174
|
+
export interface AtomEdge {
|
|
175
|
+
id: string;
|
|
176
|
+
source_id: string;
|
|
177
|
+
session_ref: string;
|
|
178
|
+
from_atom_id: string;
|
|
179
|
+
to_atom_id: string;
|
|
180
|
+
edge_kind: AtomEdgeKind;
|
|
181
|
+
}
|
|
182
|
+
export interface DerivedCandidate {
|
|
183
|
+
id: string;
|
|
184
|
+
source_id: string;
|
|
185
|
+
session_ref: string;
|
|
186
|
+
candidate_kind: CandidateKind;
|
|
187
|
+
input_atom_refs: string[];
|
|
188
|
+
started_at: string;
|
|
189
|
+
ended_at: string;
|
|
190
|
+
rule_version: string;
|
|
191
|
+
evidence: Record<string, unknown>;
|
|
192
|
+
}
|
|
193
|
+
export interface ProjectObservation {
|
|
194
|
+
id: string;
|
|
195
|
+
source_id: string;
|
|
196
|
+
session_ref: string;
|
|
197
|
+
observed_at: string;
|
|
198
|
+
confidence: number;
|
|
199
|
+
workspace_path?: string;
|
|
200
|
+
workspace_path_normalized?: string;
|
|
201
|
+
repo_root?: string;
|
|
202
|
+
repo_remote?: string;
|
|
203
|
+
repo_fingerprint?: string;
|
|
204
|
+
source_native_project_ref?: string;
|
|
205
|
+
evidence: Record<string, unknown>;
|
|
206
|
+
}
|
|
207
|
+
export type ProjectLinkReason = "repo_fingerprint_match" | "repo_remote_match" | "repo_root_match" | "workspace_path_continuity" | "source_native_project" | "manual_override" | "weak_path_hint" | "metadata_hint";
|
|
208
|
+
export interface ProjectIdentity extends ProjectRevisionIdentity {
|
|
209
|
+
display_name: string;
|
|
210
|
+
slug: string;
|
|
211
|
+
linkage_state: ProjectLinkageState;
|
|
212
|
+
confidence: number;
|
|
213
|
+
link_reason: ProjectLinkReason;
|
|
214
|
+
manual_override_status: ManualOverrideStatus;
|
|
215
|
+
primary_workspace_path?: string;
|
|
216
|
+
source_native_project_ref?: string;
|
|
217
|
+
repo_root?: string;
|
|
218
|
+
repo_remote?: string;
|
|
219
|
+
repo_fingerprint?: string;
|
|
220
|
+
source_platforms: SourcePlatform[];
|
|
221
|
+
host_ids: string[];
|
|
222
|
+
committed_turn_count: number;
|
|
223
|
+
candidate_turn_count: number;
|
|
224
|
+
session_count: number;
|
|
225
|
+
project_last_activity_at?: string;
|
|
226
|
+
created_at: string;
|
|
227
|
+
updated_at: string;
|
|
228
|
+
}
|
|
229
|
+
export interface ProjectLinkRevision extends ProjectRevisionIdentity {
|
|
230
|
+
id: string;
|
|
231
|
+
linkage_state: ProjectLinkageState;
|
|
232
|
+
confidence: number;
|
|
233
|
+
link_reason: ProjectLinkReason;
|
|
234
|
+
manual_override_status: ManualOverrideStatus;
|
|
235
|
+
observation_refs: string[];
|
|
236
|
+
supersedes_project_revision_id?: string;
|
|
237
|
+
created_at: string;
|
|
238
|
+
}
|
|
239
|
+
export type ManualOverrideTargetKind = "turn" | "session" | "observation";
|
|
240
|
+
export interface ProjectManualOverride {
|
|
241
|
+
id: string;
|
|
242
|
+
target_kind: ManualOverrideTargetKind;
|
|
243
|
+
target_ref: string;
|
|
244
|
+
project_id: string;
|
|
245
|
+
display_name: string;
|
|
246
|
+
created_at: string;
|
|
247
|
+
updated_at: string;
|
|
248
|
+
note?: string;
|
|
249
|
+
}
|
|
250
|
+
export interface ProjectLineageEvent {
|
|
251
|
+
id: string;
|
|
252
|
+
project_id: string;
|
|
253
|
+
project_revision_id: string;
|
|
254
|
+
previous_project_revision_id?: string;
|
|
255
|
+
event_kind: "created" | "revised" | "manual_override" | "superseded" | "split" | "merge";
|
|
256
|
+
created_at: string;
|
|
257
|
+
detail: Record<string, unknown>;
|
|
258
|
+
}
|
|
259
|
+
export interface ImportBundle {
|
|
260
|
+
id: string;
|
|
261
|
+
source_family: SourceFamily;
|
|
262
|
+
source_platform?: SourcePlatform;
|
|
263
|
+
bundle_version: string;
|
|
264
|
+
captured_at: string;
|
|
265
|
+
host_id?: string;
|
|
266
|
+
manifest: Record<string, unknown>;
|
|
267
|
+
}
|
|
268
|
+
export interface BundleObjectCounts {
|
|
269
|
+
sources: number;
|
|
270
|
+
sessions: number;
|
|
271
|
+
turns: number;
|
|
272
|
+
blobs: number;
|
|
273
|
+
}
|
|
274
|
+
export interface ImportBundleManifest {
|
|
275
|
+
bundle_id: string;
|
|
276
|
+
bundle_version: string;
|
|
277
|
+
exported_at: string;
|
|
278
|
+
exported_from_host_ids: string[];
|
|
279
|
+
schema_version: string;
|
|
280
|
+
source_instance_ids: string[];
|
|
281
|
+
counts: BundleObjectCounts;
|
|
282
|
+
includes_raw_blobs: boolean;
|
|
283
|
+
created_by: string;
|
|
284
|
+
}
|
|
285
|
+
export interface BundleChecksums {
|
|
286
|
+
manifest_sha256: string;
|
|
287
|
+
payload_sha256_by_source_id: Record<string, string>;
|
|
288
|
+
raw_sha256_by_path: Record<string, string>;
|
|
289
|
+
}
|
|
290
|
+
export interface ImportedBundleRecord {
|
|
291
|
+
bundle_id: string;
|
|
292
|
+
bundle_version: string;
|
|
293
|
+
imported_at: string;
|
|
294
|
+
source_instance_ids: string[];
|
|
295
|
+
manifest: ImportBundleManifest;
|
|
296
|
+
checksums: BundleChecksums;
|
|
297
|
+
}
|
|
298
|
+
export type RemoteSourcePresence = "present" | "unreadable" | "absent";
|
|
299
|
+
export interface RemoteAgentPairRequest {
|
|
300
|
+
pairing_token: string;
|
|
301
|
+
display_name?: string;
|
|
302
|
+
reported_hostname?: string;
|
|
303
|
+
}
|
|
304
|
+
export interface RemoteAgentPairResponse {
|
|
305
|
+
agent_id: string;
|
|
306
|
+
agent_token: string;
|
|
307
|
+
paired_at: string;
|
|
308
|
+
}
|
|
309
|
+
export interface RemoteAgentBundlePayload {
|
|
310
|
+
manifest: ImportBundleManifest;
|
|
311
|
+
checksums: BundleChecksums;
|
|
312
|
+
payloads: SourceSyncPayload[];
|
|
313
|
+
raw_blobs_base64_by_path: Record<string, string>;
|
|
314
|
+
}
|
|
315
|
+
export interface RemoteAgentSourceManifestEntry {
|
|
316
|
+
source_id: string;
|
|
317
|
+
slot_id: string;
|
|
318
|
+
platform: SourcePlatform;
|
|
319
|
+
display_name: string;
|
|
320
|
+
base_dir: string;
|
|
321
|
+
sync_status: SourceStatus["sync_status"];
|
|
322
|
+
presence: RemoteSourcePresence;
|
|
323
|
+
total_turns: number;
|
|
324
|
+
payload_checksum?: string;
|
|
325
|
+
generation: number;
|
|
326
|
+
included_in_bundle: boolean;
|
|
327
|
+
error_message?: string;
|
|
328
|
+
}
|
|
329
|
+
export interface RemoteAgentUploadRequest {
|
|
330
|
+
agent_id: string;
|
|
331
|
+
agent_token: string;
|
|
332
|
+
job_id?: string;
|
|
333
|
+
collected_at: string;
|
|
334
|
+
bundle: RemoteAgentBundlePayload;
|
|
335
|
+
source_manifest: RemoteAgentSourceManifestEntry[];
|
|
336
|
+
}
|
|
337
|
+
export interface RemoteAgentUploadResponse {
|
|
338
|
+
bundle_id: string;
|
|
339
|
+
imported_source_ids: string[];
|
|
340
|
+
replaced_source_ids: string[];
|
|
341
|
+
skipped_source_ids: string[];
|
|
342
|
+
source_manifest_count: number;
|
|
343
|
+
/** Server-side accepted generation per source_id, so the client can
|
|
344
|
+
* reconcile local state even after a crash-before-write scenario. */
|
|
345
|
+
accepted_generations: Record<string, number>;
|
|
346
|
+
}
|
|
347
|
+
export type RemoteAgentJobTriggerKind = "manual" | "scheduled" | "server_requested";
|
|
348
|
+
export type RemoteAgentJobSyncMode = "dirty_snapshot" | "force_snapshot";
|
|
349
|
+
export type RemoteAgentJobLifecycleStatus = "pending" | "leased" | "succeeded" | "failed";
|
|
350
|
+
export type RemoteAgentJobSelector = {
|
|
351
|
+
kind: "all";
|
|
352
|
+
} | {
|
|
353
|
+
kind: "agent_ids";
|
|
354
|
+
agent_ids: string[];
|
|
355
|
+
} | {
|
|
356
|
+
kind: "labels";
|
|
357
|
+
labels: string[];
|
|
358
|
+
};
|
|
359
|
+
export interface RemoteAgentJobAgentStatus {
|
|
360
|
+
agent_id: string;
|
|
361
|
+
status: RemoteAgentJobLifecycleStatus;
|
|
362
|
+
leased_at?: string;
|
|
363
|
+
lease_expires_at?: string;
|
|
364
|
+
completed_at?: string;
|
|
365
|
+
bundle_id?: string;
|
|
366
|
+
imported_source_ids?: string[];
|
|
367
|
+
replaced_source_ids?: string[];
|
|
368
|
+
skipped_source_ids?: string[];
|
|
369
|
+
error_message?: string;
|
|
370
|
+
}
|
|
371
|
+
export interface RemoteAgentCollectionJobSummary {
|
|
372
|
+
job_id: string;
|
|
373
|
+
trigger_kind: RemoteAgentJobTriggerKind;
|
|
374
|
+
selector: RemoteAgentJobSelector;
|
|
375
|
+
source_slots: "all" | string[];
|
|
376
|
+
sync_mode: RemoteAgentJobSyncMode;
|
|
377
|
+
limit_files_per_source?: number;
|
|
378
|
+
expected_generation?: number;
|
|
379
|
+
created_at: string;
|
|
380
|
+
lease_duration_seconds: number;
|
|
381
|
+
status: RemoteAgentJobLifecycleStatus;
|
|
382
|
+
matched_agent_ids: string[];
|
|
383
|
+
agent_statuses: RemoteAgentJobAgentStatus[];
|
|
384
|
+
}
|
|
385
|
+
export interface RemoteAgentCreateJobRequest {
|
|
386
|
+
trigger_kind?: RemoteAgentJobTriggerKind;
|
|
387
|
+
selector: RemoteAgentJobSelector;
|
|
388
|
+
source_slots?: "all" | string[];
|
|
389
|
+
sync_mode?: RemoteAgentJobSyncMode;
|
|
390
|
+
limit_files_per_source?: number;
|
|
391
|
+
expected_generation?: number;
|
|
392
|
+
lease_duration_seconds?: number;
|
|
393
|
+
}
|
|
394
|
+
export interface RemoteAgentLeasedJob {
|
|
395
|
+
job_id: string;
|
|
396
|
+
trigger_kind: RemoteAgentJobTriggerKind;
|
|
397
|
+
selector: RemoteAgentJobSelector;
|
|
398
|
+
source_slots: "all" | string[];
|
|
399
|
+
sync_mode: RemoteAgentJobSyncMode;
|
|
400
|
+
limit_files_per_source?: number;
|
|
401
|
+
expected_generation?: number;
|
|
402
|
+
created_at: string;
|
|
403
|
+
leased_at: string;
|
|
404
|
+
lease_expires_at: string;
|
|
405
|
+
}
|
|
406
|
+
export interface RemoteAgentLeaseJobRequest {
|
|
407
|
+
agent_id: string;
|
|
408
|
+
agent_token: string;
|
|
409
|
+
}
|
|
410
|
+
export interface RemoteAgentLeaseJobResponse {
|
|
411
|
+
agent_id: string;
|
|
412
|
+
job?: RemoteAgentLeasedJob;
|
|
413
|
+
}
|
|
414
|
+
export interface RemoteAgentCompleteJobRequest {
|
|
415
|
+
agent_id: string;
|
|
416
|
+
agent_token: string;
|
|
417
|
+
status: "succeeded" | "failed";
|
|
418
|
+
error_message?: string;
|
|
419
|
+
bundle_id?: string;
|
|
420
|
+
imported_source_ids?: string[];
|
|
421
|
+
replaced_source_ids?: string[];
|
|
422
|
+
skipped_source_ids?: string[];
|
|
423
|
+
}
|
|
424
|
+
export interface RemoteAgentCompleteJobResponse {
|
|
425
|
+
job_id: string;
|
|
426
|
+
agent_id: string;
|
|
427
|
+
status: "succeeded" | "failed";
|
|
428
|
+
completed_at: string;
|
|
429
|
+
}
|
|
430
|
+
export interface RemoteAgentHeartbeatRequest {
|
|
431
|
+
agent_id: string;
|
|
432
|
+
agent_token: string;
|
|
433
|
+
display_name?: string;
|
|
434
|
+
reported_hostname?: string;
|
|
435
|
+
labels?: string[];
|
|
436
|
+
source_manifest?: RemoteAgentSourceManifestEntry[];
|
|
437
|
+
}
|
|
438
|
+
export interface RemoteAgentHeartbeatResponse {
|
|
439
|
+
agent_id: string;
|
|
440
|
+
last_seen_at: string;
|
|
441
|
+
source_manifest_count: number;
|
|
442
|
+
}
|
|
443
|
+
export interface RemoteAgentAdminSummary {
|
|
444
|
+
agent_id: string;
|
|
445
|
+
paired_at: string;
|
|
446
|
+
display_name?: string;
|
|
447
|
+
reported_hostname?: string;
|
|
448
|
+
labels: string[];
|
|
449
|
+
last_seen_at?: string;
|
|
450
|
+
last_upload_at?: string;
|
|
451
|
+
source_manifest: RemoteAgentSourceManifestEntry[];
|
|
452
|
+
}
|
|
453
|
+
export interface Host {
|
|
454
|
+
id: string;
|
|
455
|
+
hostname: string;
|
|
456
|
+
os?: string;
|
|
457
|
+
first_seen: string;
|
|
458
|
+
last_seen: string;
|
|
459
|
+
}
|
|
460
|
+
export interface SessionProjection {
|
|
461
|
+
id: string;
|
|
462
|
+
source_id: string;
|
|
463
|
+
source_platform: SourcePlatform;
|
|
464
|
+
host_id: string;
|
|
465
|
+
title?: string;
|
|
466
|
+
canonical_title?: string;
|
|
467
|
+
created_at: string;
|
|
468
|
+
updated_at: string;
|
|
469
|
+
turn_count: number;
|
|
470
|
+
model?: string;
|
|
471
|
+
working_directory?: string;
|
|
472
|
+
source_native_project_ref?: string;
|
|
473
|
+
source_session_id?: string;
|
|
474
|
+
resume_command?: string;
|
|
475
|
+
resume_working_directory?: string;
|
|
476
|
+
resume_command_confidence?: number;
|
|
477
|
+
primary_project_id?: string;
|
|
478
|
+
sync_axis: SyncAxis;
|
|
479
|
+
}
|
|
480
|
+
export type SessionRelatedWorkKind = "delegated_session" | "automation_run";
|
|
481
|
+
export type SessionRelatedWorkTargetKind = "session" | "automation_run";
|
|
482
|
+
export type SessionRelatedWorkDirection = "outbound" | "inbound" | "self";
|
|
483
|
+
export interface SessionRelatedWorkProjection {
|
|
484
|
+
id: string;
|
|
485
|
+
query_session_ref: string;
|
|
486
|
+
source_id: string;
|
|
487
|
+
source_platform: SourcePlatform;
|
|
488
|
+
source_session_ref: string;
|
|
489
|
+
evidence_session_ref?: string;
|
|
490
|
+
parent_session_ref?: string;
|
|
491
|
+
child_session_ref?: string;
|
|
492
|
+
automation_session_ref?: string;
|
|
493
|
+
automation_owner_session_ref?: string;
|
|
494
|
+
relation_kind: SessionRelatedWorkKind;
|
|
495
|
+
target_kind: SessionRelatedWorkTargetKind;
|
|
496
|
+
direction?: SessionRelatedWorkDirection;
|
|
497
|
+
target_session_ref?: string;
|
|
498
|
+
target_run_ref?: string;
|
|
499
|
+
transcript_primary: boolean;
|
|
500
|
+
evidence_confidence: number;
|
|
501
|
+
parent_event_ref?: string;
|
|
502
|
+
parent_tool_ref?: string;
|
|
503
|
+
child_agent_key?: string;
|
|
504
|
+
automation_job_ref?: string;
|
|
505
|
+
automation_run_key?: string;
|
|
506
|
+
title?: string;
|
|
507
|
+
canonical_title?: string;
|
|
508
|
+
status?: string;
|
|
509
|
+
created_at: string;
|
|
510
|
+
updated_at: string;
|
|
511
|
+
fragment_refs: string[];
|
|
512
|
+
raw_detail: Record<string, unknown>;
|
|
513
|
+
}
|
|
514
|
+
export interface SessionContributionStats {
|
|
515
|
+
storage_bytes: number;
|
|
516
|
+
blob_count: number;
|
|
517
|
+
turn_count: number;
|
|
518
|
+
assistant_reply_count: number;
|
|
519
|
+
tool_call_count: number;
|
|
520
|
+
tool_success_count: number;
|
|
521
|
+
tool_error_count: number;
|
|
522
|
+
tool_pending_count: number;
|
|
523
|
+
input_tokens?: number;
|
|
524
|
+
output_tokens?: number;
|
|
525
|
+
cached_input_tokens?: number;
|
|
526
|
+
reasoning_output_tokens?: number;
|
|
527
|
+
total_tokens?: number;
|
|
528
|
+
}
|
|
529
|
+
export interface SessionContributionProjection {
|
|
530
|
+
session_ref: string;
|
|
531
|
+
source_id: string;
|
|
532
|
+
source_platform: SourcePlatform;
|
|
533
|
+
stats: SessionContributionStats;
|
|
534
|
+
/**
|
|
535
|
+
* Present when stats.storage_bytes includes a proportional share of a
|
|
536
|
+
* container blob (for example a SQLite store). The share is estimated from
|
|
537
|
+
* the session's raw record bytes and is already included in
|
|
538
|
+
* stats.storage_bytes; container_bytes is the summed size of those
|
|
539
|
+
* container blob(s). Marked even when the snapshot currently contains only
|
|
540
|
+
* one session from that store, so callers can render it as an estimate.
|
|
541
|
+
*/
|
|
542
|
+
shared_storage?: {
|
|
543
|
+
estimated_bytes: number;
|
|
544
|
+
container_bytes: number;
|
|
545
|
+
};
|
|
546
|
+
}
|
|
547
|
+
export type DelegatedChildIdentityKind = "session" | "sidecar";
|
|
548
|
+
export interface DelegatedChildProjection {
|
|
549
|
+
id: string;
|
|
550
|
+
identity_kind: DelegatedChildIdentityKind;
|
|
551
|
+
parent_session_ref: string;
|
|
552
|
+
child_session_ref?: string;
|
|
553
|
+
source_id: string;
|
|
554
|
+
source_platform: SourcePlatform;
|
|
555
|
+
agent_key?: string;
|
|
556
|
+
title?: string;
|
|
557
|
+
status?: string;
|
|
558
|
+
created_at: string;
|
|
559
|
+
updated_at: string;
|
|
560
|
+
input_preview?: string;
|
|
561
|
+
output_preview?: string;
|
|
562
|
+
parent_tool_ref?: string;
|
|
563
|
+
origin_paths: string[];
|
|
564
|
+
stats: SessionContributionStats;
|
|
565
|
+
}
|
|
566
|
+
export interface SessionFamilyProjection {
|
|
567
|
+
parent_session_ref: string;
|
|
568
|
+
source_id: string;
|
|
569
|
+
source_platform: SourcePlatform;
|
|
570
|
+
child_count: number;
|
|
571
|
+
parent: SessionContributionStats;
|
|
572
|
+
children: DelegatedChildProjection[];
|
|
573
|
+
combined: SessionContributionStats;
|
|
574
|
+
}
|
|
575
|
+
export interface UserMessageProjection {
|
|
576
|
+
id: string;
|
|
577
|
+
raw_text: string;
|
|
578
|
+
sequence: number;
|
|
579
|
+
is_injected: boolean;
|
|
580
|
+
created_at: string;
|
|
581
|
+
atom_refs: string[];
|
|
582
|
+
canonical_text?: string;
|
|
583
|
+
display_segments?: DisplaySegment[];
|
|
584
|
+
}
|
|
585
|
+
export type SegmentType = "text" | "masked" | "highlight" | "code" | "reference" | "injected";
|
|
586
|
+
export interface DisplaySegment {
|
|
587
|
+
type: SegmentType;
|
|
588
|
+
content: string;
|
|
589
|
+
mask_label?: string;
|
|
590
|
+
mask_char_count?: number;
|
|
591
|
+
mask_template_id?: string;
|
|
592
|
+
highlight_type?: "search" | "diff" | "error";
|
|
593
|
+
is_expanded?: boolean;
|
|
594
|
+
original_content?: string;
|
|
595
|
+
}
|
|
596
|
+
export declare function joinDisplaySegments(segmentGroups: readonly (readonly DisplaySegment[])[]): DisplaySegment[];
|
|
597
|
+
export type ZeroTokenReason = "no_assistant_reply" | "command_only";
|
|
598
|
+
export interface TurnContextSummary {
|
|
599
|
+
assistant_reply_count: number;
|
|
600
|
+
tool_call_count: number;
|
|
601
|
+
token_usage?: TokenUsageSummary;
|
|
602
|
+
total_tokens?: number;
|
|
603
|
+
primary_model?: string;
|
|
604
|
+
has_errors: boolean;
|
|
605
|
+
zero_token_reason?: ZeroTokenReason;
|
|
606
|
+
}
|
|
607
|
+
export interface TokenUsageSummary {
|
|
608
|
+
input_tokens?: number;
|
|
609
|
+
cache_read_input_tokens?: number;
|
|
610
|
+
cache_creation_input_tokens?: number;
|
|
611
|
+
cached_input_tokens?: number;
|
|
612
|
+
output_tokens?: number;
|
|
613
|
+
reasoning_output_tokens?: number;
|
|
614
|
+
total_tokens?: number;
|
|
615
|
+
}
|
|
616
|
+
export interface UserTurnProjection extends TurnIdentity {
|
|
617
|
+
id: string;
|
|
618
|
+
revision_id: string;
|
|
619
|
+
user_messages: UserMessageProjection[];
|
|
620
|
+
raw_text: string;
|
|
621
|
+
canonical_text: string;
|
|
622
|
+
display_segments: DisplaySegment[];
|
|
623
|
+
created_at: string;
|
|
624
|
+
submission_started_at: string;
|
|
625
|
+
last_context_activity_at: string;
|
|
626
|
+
session_id: string;
|
|
627
|
+
path_text?: string;
|
|
628
|
+
source_id: string;
|
|
629
|
+
project_id?: string;
|
|
630
|
+
project_ref?: string;
|
|
631
|
+
link_state: LinkState;
|
|
632
|
+
project_link_state?: LinkState;
|
|
633
|
+
project_confidence?: number;
|
|
634
|
+
candidate_project_ids?: string[];
|
|
635
|
+
sync_axis: SyncAxis;
|
|
636
|
+
value_axis: ValueAxis;
|
|
637
|
+
retention_axis: RetentionAxis;
|
|
638
|
+
context_ref: string;
|
|
639
|
+
context_summary: TurnContextSummary;
|
|
640
|
+
lineage: {
|
|
641
|
+
atom_refs: string[];
|
|
642
|
+
candidate_refs: string[];
|
|
643
|
+
fragment_refs: string[];
|
|
644
|
+
record_refs: string[];
|
|
645
|
+
blob_refs: string[];
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
export interface SystemMessageProjection {
|
|
649
|
+
id: string;
|
|
650
|
+
content: string;
|
|
651
|
+
display_segments: DisplaySegment[];
|
|
652
|
+
position: "before_user" | "after_user" | "interleaved";
|
|
653
|
+
sequence: number;
|
|
654
|
+
created_at: string;
|
|
655
|
+
}
|
|
656
|
+
export interface AssistantReplyProjection {
|
|
657
|
+
id: string;
|
|
658
|
+
content: string;
|
|
659
|
+
canonical_text: string;
|
|
660
|
+
display_segments: DisplaySegment[];
|
|
661
|
+
content_preview: string;
|
|
662
|
+
token_usage?: TokenUsageSummary;
|
|
663
|
+
token_count?: number;
|
|
664
|
+
model: string;
|
|
665
|
+
created_at: string;
|
|
666
|
+
tool_call_ids: string[];
|
|
667
|
+
stop_reason?: "end_turn" | "tool_use" | "max_tokens" | "error";
|
|
668
|
+
}
|
|
669
|
+
export interface ToolCallProjection {
|
|
670
|
+
id: string;
|
|
671
|
+
tool_name: string;
|
|
672
|
+
input: Record<string, unknown>;
|
|
673
|
+
input_summary: string;
|
|
674
|
+
input_display_segments: DisplaySegment[];
|
|
675
|
+
output?: string;
|
|
676
|
+
output_preview?: string;
|
|
677
|
+
output_display_segments?: DisplaySegment[];
|
|
678
|
+
status: "pending" | "running" | "success" | "error";
|
|
679
|
+
error_message?: string;
|
|
680
|
+
duration_ms?: number;
|
|
681
|
+
reply_id: string;
|
|
682
|
+
sequence: number;
|
|
683
|
+
created_at: string;
|
|
684
|
+
}
|
|
685
|
+
export interface TurnContextProjection {
|
|
686
|
+
turn_id: string;
|
|
687
|
+
system_messages: SystemMessageProjection[];
|
|
688
|
+
assistant_replies: AssistantReplyProjection[];
|
|
689
|
+
tool_calls: ToolCallProjection[];
|
|
690
|
+
raw_event_refs: string[];
|
|
691
|
+
}
|
|
692
|
+
export type TombstoneObjectKind = "project" | "turn" | "artifact";
|
|
693
|
+
export interface TombstoneProjection {
|
|
694
|
+
object_kind: TombstoneObjectKind;
|
|
695
|
+
logical_id: string;
|
|
696
|
+
last_revision_id: string;
|
|
697
|
+
sync_axis: SyncAxis;
|
|
698
|
+
value_axis: ValueAxis;
|
|
699
|
+
retention_axis: "purged";
|
|
700
|
+
purged_at: string;
|
|
701
|
+
purge_reason?: string;
|
|
702
|
+
replaced_by_logical_ids?: string[];
|
|
703
|
+
lineage_event_refs?: string[];
|
|
704
|
+
}
|
|
705
|
+
export type MaskRuleKind = "regex" | "prefix" | "contains" | "exact";
|
|
706
|
+
export interface MaskTemplate {
|
|
707
|
+
id: string;
|
|
708
|
+
name: string;
|
|
709
|
+
description?: string;
|
|
710
|
+
rule_kind: MaskRuleKind;
|
|
711
|
+
pattern: string;
|
|
712
|
+
replacement_label: string;
|
|
713
|
+
display_policy: DisplayPolicy;
|
|
714
|
+
created_at: string;
|
|
715
|
+
updated_at: string;
|
|
716
|
+
}
|
|
717
|
+
export type KnowledgeArtifactKind = "decision" | "instruction" | "fact" | "pattern" | "other";
|
|
718
|
+
export interface KnowledgeArtifact extends ArtifactIdentity, LifecycleState {
|
|
719
|
+
artifact_kind: KnowledgeArtifactKind;
|
|
720
|
+
title: string;
|
|
721
|
+
summary: string;
|
|
722
|
+
project_id?: string;
|
|
723
|
+
source_turn_refs: string[];
|
|
724
|
+
created_at: string;
|
|
725
|
+
updated_at: string;
|
|
726
|
+
}
|
|
727
|
+
export interface ArtifactCoverageRecord {
|
|
728
|
+
id: string;
|
|
729
|
+
artifact_id: string;
|
|
730
|
+
artifact_revision_id: string;
|
|
731
|
+
turn_id: string;
|
|
732
|
+
created_at: string;
|
|
733
|
+
}
|
|
734
|
+
export interface SearchDocument {
|
|
735
|
+
turn_id: string;
|
|
736
|
+
project_id?: string;
|
|
737
|
+
source_id: string;
|
|
738
|
+
link_state: LinkState;
|
|
739
|
+
value_axis: ValueAxis;
|
|
740
|
+
canonical_text: string;
|
|
741
|
+
path_text?: string;
|
|
742
|
+
raw_text: string;
|
|
743
|
+
updated_at: string;
|
|
744
|
+
}
|
|
745
|
+
export interface SearchHighlight {
|
|
746
|
+
start: number;
|
|
747
|
+
end: number;
|
|
748
|
+
}
|
|
749
|
+
export type SearchMatchField = "title" | "text" | "path";
|
|
750
|
+
export interface TurnSearchResult {
|
|
751
|
+
turn: UserTurnProjection;
|
|
752
|
+
session?: SessionProjection;
|
|
753
|
+
project?: ProjectIdentity;
|
|
754
|
+
highlights: SearchHighlight[];
|
|
755
|
+
relevance_score: number;
|
|
756
|
+
match_field?: SearchMatchField;
|
|
757
|
+
}
|
|
758
|
+
export interface SessionSearchResult {
|
|
759
|
+
session: SessionProjection;
|
|
760
|
+
project?: ProjectIdentity;
|
|
761
|
+
best_turn?: UserTurnProjection;
|
|
762
|
+
highlights: SearchHighlight[];
|
|
763
|
+
relevance_score: number;
|
|
764
|
+
match_field: SearchMatchField;
|
|
765
|
+
}
|
|
766
|
+
export interface DriftTimelinePoint {
|
|
767
|
+
date: string;
|
|
768
|
+
global_drift_index: number;
|
|
769
|
+
consistency_score: number;
|
|
770
|
+
total_turns: number;
|
|
771
|
+
}
|
|
772
|
+
export interface DriftReport {
|
|
773
|
+
generated_at: string;
|
|
774
|
+
global_drift_index: number;
|
|
775
|
+
active_sources: number;
|
|
776
|
+
sources_awaiting_sync: number;
|
|
777
|
+
orphaned_turns: number;
|
|
778
|
+
unlinked_turns: number;
|
|
779
|
+
candidate_turns: number;
|
|
780
|
+
consistency_score: number;
|
|
781
|
+
timeline: DriftTimelinePoint[];
|
|
782
|
+
}
|
|
783
|
+
export interface PipelineLineage {
|
|
784
|
+
turn: UserTurnProjection;
|
|
785
|
+
session?: SessionProjection;
|
|
786
|
+
candidate_chain: DerivedCandidate[];
|
|
787
|
+
atoms: ConversationAtom[];
|
|
788
|
+
edges: AtomEdge[];
|
|
789
|
+
fragments: SourceFragment[];
|
|
790
|
+
records: RawRecord[];
|
|
791
|
+
blobs: CapturedBlob[];
|
|
792
|
+
}
|
|
793
|
+
export interface SourceSyncPayload {
|
|
794
|
+
source: SourceStatus;
|
|
795
|
+
stage_runs: StageRun[];
|
|
796
|
+
loss_audits: LossAuditRecord[];
|
|
797
|
+
blobs: CapturedBlob[];
|
|
798
|
+
records: RawRecord[];
|
|
799
|
+
fragments: SourceFragment[];
|
|
800
|
+
atoms: ConversationAtom[];
|
|
801
|
+
edges: AtomEdge[];
|
|
802
|
+
candidates: DerivedCandidate[];
|
|
803
|
+
sessions: SessionProjection[];
|
|
804
|
+
turns: UserTurnProjection[];
|
|
805
|
+
contexts: TurnContextProjection[];
|
|
806
|
+
ask_user_question_turns: AskUserQuestionTurn[];
|
|
807
|
+
}
|
|
808
|
+
export type Session = SessionProjection;
|
|
809
|
+
export type UserTurn = UserTurnProjection;
|
|
810
|
+
export type TurnContext = TurnContextProjection;
|
|
811
|
+
export interface AskUserQuestionOptionSpec {
|
|
812
|
+
label: string;
|
|
813
|
+
description?: string;
|
|
814
|
+
}
|
|
815
|
+
export interface AskUserQuestionSpec {
|
|
816
|
+
header?: string;
|
|
817
|
+
question: string;
|
|
818
|
+
options: AskUserQuestionOptionSpec[];
|
|
819
|
+
/**
|
|
820
|
+
* Codex request_user_input assigns each question a stable id; the result
|
|
821
|
+
* payload keys answers by this id. Claude AskUserQuestion does not set it.
|
|
822
|
+
*/
|
|
823
|
+
id?: string;
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* A single user response to one question of an AskUserQuestion /
|
|
827
|
+
* request_user_input call.
|
|
828
|
+
*
|
|
829
|
+
* Semantics:
|
|
830
|
+
* - `question_index` refers to the parallel `AskUserQuestionSpec[]` on the
|
|
831
|
+
* parent turn.
|
|
832
|
+
* - When the user picked a known option, `selected_label` holds that option's
|
|
833
|
+
* label (case-normalized to the spec's casing).
|
|
834
|
+
* - Otherwise `free_text` carries the raw user input (trimmed). For Codex
|
|
835
|
+
* multi-select, the first matched label wins as `selected_label` and the
|
|
836
|
+
* remaining labels are joined into `free_text` (comma-separated) because
|
|
837
|
+
* this schema only models a single selection per question.
|
|
838
|
+
* - Questions that received no answer are omitted from the parent turn's
|
|
839
|
+
* `answers[]` rather than represented with null fields.
|
|
840
|
+
*/
|
|
841
|
+
export interface AskUserAnswer {
|
|
842
|
+
question_index: number;
|
|
843
|
+
selected_label?: string;
|
|
844
|
+
free_text?: string;
|
|
845
|
+
}
|
|
846
|
+
export interface AskUserQuestionTurn {
|
|
847
|
+
id: string;
|
|
848
|
+
source_id: string;
|
|
849
|
+
session_id: string;
|
|
850
|
+
/**
|
|
851
|
+
* Reserved for future projection-time linkage to the session's primary
|
|
852
|
+
* project. Not populated today; consumers should not rely on it being set.
|
|
853
|
+
*/
|
|
854
|
+
project_id?: string;
|
|
855
|
+
source_platform: SourcePlatform;
|
|
856
|
+
created_at: string;
|
|
857
|
+
tool_name: string;
|
|
858
|
+
call_atom_id: string;
|
|
859
|
+
result_atom_id: string;
|
|
860
|
+
questions: AskUserQuestionSpec[];
|
|
861
|
+
answers: AskUserAnswer[];
|
|
862
|
+
}
|
|
863
|
+
export type UsageStatsDimension = "model" | "project" | "source" | "host" | "day" | "month";
|
|
864
|
+
export interface UsageStatsOverview {
|
|
865
|
+
generated_at: string;
|
|
866
|
+
total_turns: number;
|
|
867
|
+
turns_with_token_usage: number;
|
|
868
|
+
turn_coverage_ratio: number;
|
|
869
|
+
turns_with_primary_model: number;
|
|
870
|
+
total_input_tokens: number;
|
|
871
|
+
total_cached_input_tokens: number;
|
|
872
|
+
total_output_tokens: number;
|
|
873
|
+
total_reasoning_output_tokens: number;
|
|
874
|
+
total_tokens: number;
|
|
875
|
+
excluded_zero_token_turns?: number;
|
|
876
|
+
}
|
|
877
|
+
export interface UsageStatsRollupRow {
|
|
878
|
+
key: string;
|
|
879
|
+
label: string;
|
|
880
|
+
dimension: UsageStatsDimension;
|
|
881
|
+
turn_count: number;
|
|
882
|
+
turns_with_token_usage: number;
|
|
883
|
+
turn_coverage_ratio: number;
|
|
884
|
+
turns_with_primary_model: number;
|
|
885
|
+
total_input_tokens: number;
|
|
886
|
+
total_cached_input_tokens: number;
|
|
887
|
+
total_output_tokens: number;
|
|
888
|
+
total_reasoning_output_tokens: number;
|
|
889
|
+
total_tokens: number;
|
|
890
|
+
}
|
|
891
|
+
export interface UsageStatsRollup {
|
|
892
|
+
generated_at: string;
|
|
893
|
+
dimension: UsageStatsDimension;
|
|
894
|
+
rows: UsageStatsRollupRow[];
|
|
895
|
+
excluded_zero_token_turns?: number;
|
|
896
|
+
}
|
|
897
|
+
export declare function deriveSourceSlotId(platform: SourcePlatform): string;
|
|
898
|
+
export declare function normalizeSourceBaseDir(baseDir: string): string;
|
|
899
|
+
export declare function normalizeLocalPathIdentity(value: string | undefined): string | undefined;
|
|
900
|
+
export declare function getLocalPathBasename(value: string | undefined): string | undefined;
|
|
901
|
+
export declare function localPathIdentitiesMatch(left: string | undefined, right: string | undefined): boolean;
|
|
902
|
+
export declare function deriveHostId(hostname: string): string;
|
|
903
|
+
export declare function deriveSourceInstanceId(input: {
|
|
904
|
+
host_id: string;
|
|
905
|
+
slot_id: string;
|
|
906
|
+
base_dir: string;
|
|
907
|
+
}): string;
|
|
908
|
+
export declare function isLegacySourceInstanceId(sourceId: string): boolean;
|
|
909
|
+
/**
|
|
910
|
+
* Pick the "tail" blob from a list — the one with the largest `size_bytes`.
|
|
911
|
+
* For incremental JSONL platforms (codex, claude_code, factory_droid) the
|
|
912
|
+
* largest blob is the most recent capture of an append-only file, so its
|
|
913
|
+
* size_bytes doubles as the prefix length for append-detection sha1 checks
|
|
914
|
+
* (see `processAppendedJsonlBlob` in source-adapters and
|
|
915
|
+
* `buildCodexMetadataOnlyReusePayloadForStableOldBatch` in apps/cli sync.ts).
|
|
916
|
+
*
|
|
917
|
+
* Returns `undefined` for an empty list. Ties resolve to the first-encountered
|
|
918
|
+
* maximum (stable for any given input ordering).
|
|
919
|
+
*
|
|
920
|
+
* Lives in domain (not source-adapters) so storage can reuse the same
|
|
921
|
+
* reducer without a circular dependency. Divergent tail-blob logic between
|
|
922
|
+
* sites was identified as a silent re-parse root cause — centralizing here
|
|
923
|
+
* keeps the projection, probe, and storage paths aligned.
|
|
924
|
+
*/
|
|
925
|
+
export declare function selectTailBlob(blobs: readonly CapturedBlob[]): CapturedBlob | undefined;
|
|
926
|
+
/**
|
|
927
|
+
* Produce a deterministic, content-addressable hex ID by SHA-1-hashing the
|
|
928
|
+
* joined parts. Used throughout the pipeline for fragment, atom, edge, and
|
|
929
|
+
* other entity IDs.
|
|
930
|
+
*/
|
|
931
|
+
export declare function stableId(...parts: string[]): string;
|
|
932
|
+
/** Current wall-clock time as an ISO-8601 string. */
|
|
933
|
+
export declare function nowIso(): string;
|
|
934
|
+
/** Return the earlier of two optional ISO-8601 timestamps (or the defined one). */
|
|
935
|
+
export declare function minIso(left: string | undefined, right: string | undefined): string | undefined;
|
|
936
|
+
/** Return the later of two optional ISO-8601 timestamps (or the defined one). */
|
|
937
|
+
export declare function maxIso(left: string | undefined, right: string | undefined): string | undefined;
|
|
938
|
+
/**
|
|
939
|
+
* Decode percent-encoded segments in a URI path. Returns the original
|
|
940
|
+
* string when no encoded sequences are detected or decoding fails.
|
|
941
|
+
*/
|
|
942
|
+
export declare function decodeUriPath(value: string): string;
|
|
943
|
+
//# sourceMappingURL=index.d.ts.map
|