@meridianlabs/log-viewer 0.3.248 → 0.3.250
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/lib/{AsciinemaPlayerImpl-qGoigKMF.js → AsciinemaPlayerImpl-Dy5o19PX.js} +18 -4
- package/lib/{AsciinemaPlayerImpl-qGoigKMF.js.map → AsciinemaPlayerImpl-Dy5o19PX.js.map} +1 -1
- package/lib/e2e/fixtures/handlers.d.ts.map +1 -1
- package/lib/e2e/log-list-find.spec.d.ts +2 -0
- package/lib/e2e/log-list-find.spec.d.ts.map +1 -0
- package/lib/e2e/message-deeplink.spec.d.ts +2 -0
- package/lib/e2e/message-deeplink.spec.d.ts.map +1 -0
- package/lib/e2e/turn-navigation.spec.d.ts +2 -0
- package/lib/e2e/turn-navigation.spec.d.ts.map +1 -0
- package/lib/index.js +39481 -34229
- package/lib/index.js.map +1 -1
- package/lib/src/app/log-list/LogsPanel.d.ts.map +1 -1
- package/lib/src/app/log-list/ViewerOptionsPopover.d.ts.map +1 -1
- package/lib/src/app/log-list/fileLogItem.d.ts +37 -0
- package/lib/src/app/log-list/fileLogItem.d.ts.map +1 -0
- package/lib/src/app/log-list/grid/LogListGrid.d.ts +11 -0
- package/lib/src/app/log-list/grid/LogListGrid.d.ts.map +1 -1
- package/lib/src/app/log-list/grid/columns/hooks.d.ts +6 -0
- package/lib/src/app/log-list/grid/columns/hooks.d.ts.map +1 -1
- package/lib/src/app/log-list/grid/logListRow.d.ts +5 -0
- package/lib/src/app/log-list/grid/logListRow.d.ts.map +1 -0
- package/lib/src/app/log-list/grid/useLogListData.d.ts +29 -11
- package/lib/src/app/log-list/grid/useLogListData.d.ts.map +1 -1
- package/lib/src/app/log-list/listing/applyListingQuery.d.ts +8 -0
- package/lib/src/app/log-list/listing/applyListingQuery.d.ts.map +1 -1
- package/lib/src/app/log-list/listing/planner.d.ts +10 -0
- package/lib/src/app/log-list/listing/planner.d.ts.map +1 -0
- package/lib/src/app/log-list/listing/types.d.ts +1 -9
- package/lib/src/app/log-list/listing/types.d.ts.map +1 -1
- package/lib/src/app/log-list/listing/useLogsListingQuery.d.ts +92 -7
- package/lib/src/app/log-list/listing/useLogsListingQuery.d.ts.map +1 -1
- package/lib/src/app/log-list/useLogsOverview.d.ts +18 -0
- package/lib/src/app/log-list/useLogsOverview.d.ts.map +1 -0
- package/lib/src/app/log-view/tabs/ModelsTab.d.ts.map +1 -1
- package/lib/src/app/navbar/ApplicationNavbar.d.ts +2 -0
- package/lib/src/app/navbar/ApplicationNavbar.d.ts.map +1 -1
- package/lib/src/app/navbar/Navbar.d.ts +4 -0
- package/lib/src/app/navbar/Navbar.d.ts.map +1 -1
- package/lib/src/app/routing/AppRouter.d.ts.map +1 -1
- package/lib/src/app/routing/RouteDispatcher.d.ts +1 -0
- package/lib/src/app/routing/RouteDispatcher.d.ts.map +1 -1
- package/lib/src/app/routing/SamplesRouter.d.ts.map +1 -1
- package/lib/src/app/routing/TasksRouter.d.ts.map +1 -1
- package/lib/src/app/routing/sampleNavigation.d.ts +1 -0
- package/lib/src/app/routing/sampleNavigation.d.ts.map +1 -1
- package/lib/src/app/routing/url.d.ts +12 -0
- package/lib/src/app/routing/url.d.ts.map +1 -1
- package/lib/src/app/samples/InlineSampleDisplay.d.ts.map +1 -1
- package/lib/src/app/samples/SampleDetailComponent.d.ts +4 -26
- package/lib/src/app/samples/SampleDetailComponent.d.ts.map +1 -1
- package/lib/src/app/samples/SampleDisplay.d.ts.map +1 -1
- package/lib/src/app/samples/SampleNavbar.d.ts +34 -0
- package/lib/src/app/samples/SampleNavbar.d.ts.map +1 -0
- package/lib/src/app/samples/SampleRetriedErrors.d.ts +3 -1
- package/lib/src/app/samples/SampleRetriedErrors.d.ts.map +1 -1
- package/lib/src/app/samples/event/SampleEventView.d.ts +11 -0
- package/lib/src/app/samples/event/SampleEventView.d.ts.map +1 -0
- package/lib/src/app/samples/retry-display/RetryTerminalAnchor.d.ts +3 -0
- package/lib/src/app/samples/retry-display/RetryTerminalAnchor.d.ts.map +1 -1
- package/lib/src/app/samples/scans/scanReferencePreviews.d.ts.map +1 -1
- package/lib/src/app/samples/transcript/TranscriptPanel.d.ts +18 -1
- package/lib/src/app/samples/transcript/TranscriptPanel.d.ts.map +1 -1
- package/lib/src/app/samples/transcript/chunked/ChunkedRowView.d.ts +18 -0
- package/lib/src/app/samples/transcript/chunked/ChunkedRowView.d.ts.map +1 -0
- package/lib/src/app/samples/transcript/chunked/ChunkedTranscriptPanel.d.ts +25 -0
- package/lib/src/app/samples/transcript/chunked/ChunkedTranscriptPanel.d.ts.map +1 -0
- package/lib/src/app/samples/transcript/chunked/mainViewOutline.d.ts +46 -0
- package/lib/src/app/samples/transcript/chunked/mainViewOutline.d.ts.map +1 -0
- package/lib/src/app/samples/transcript/chunked/useChunkedRows.d.ts +21 -0
- package/lib/src/app/samples/transcript/chunked/useChunkedRows.d.ts.map +1 -0
- package/lib/src/app/shared/data-grid/findMatches.d.ts +8 -4
- package/lib/src/app/shared/data-grid/findMatches.d.ts.map +1 -1
- package/lib/src/client/api/client-api.d.ts.map +1 -1
- package/lib/src/client/api/types.d.ts +7 -0
- package/lib/src/client/api/types.d.ts.map +1 -1
- package/lib/src/client/api/view-server/api-view-server.d.ts.map +1 -1
- package/lib/src/client/database/listing.d.ts +23 -0
- package/lib/src/client/database/listing.d.ts.map +1 -0
- package/lib/src/client/remote/remoteLogFile.d.ts +13 -0
- package/lib/src/client/remote/remoteLogFile.d.ts.map +1 -1
- package/lib/src/client/remote/remotePendingSampleData.d.ts.map +1 -1
- package/lib/src/components/DownloadButton.d.ts.map +1 -1
- package/lib/src/components/LinkButton.d.ts.map +1 -1
- package/lib/src/components/MessageBand.d.ts.map +1 -1
- package/lib/src/constants.d.ts +1 -0
- package/lib/src/constants.d.ts.map +1 -1
- package/lib/src/log_data/chunked/chunkStore.d.ts +85 -0
- package/lib/src/log_data/chunked/chunkStore.d.ts.map +1 -0
- package/lib/src/log_data/chunked/chunkedSample.d.ts +30 -0
- package/lib/src/log_data/chunked/chunkedSample.d.ts.map +1 -0
- package/lib/src/log_data/chunked/cursor.d.ts +35 -0
- package/lib/src/log_data/chunked/cursor.d.ts.map +1 -0
- package/lib/src/log_data/chunked/decode.d.ts +55 -0
- package/lib/src/log_data/chunked/decode.d.ts.map +1 -0
- package/lib/src/log_data/chunked/format.d.ts +39 -0
- package/lib/src/log_data/chunked/format.d.ts.map +1 -0
- package/lib/src/log_data/chunked/index.d.ts +17 -0
- package/lib/src/log_data/chunked/index.d.ts.map +1 -0
- package/lib/src/log_data/chunked/log.d.ts +14 -0
- package/lib/src/log_data/chunked/log.d.ts.map +1 -0
- package/lib/src/log_data/chunked/outlineRows.d.ts +33 -0
- package/lib/src/log_data/chunked/outlineRows.d.ts.map +1 -0
- package/lib/src/log_data/chunked/pyTimestamp.d.ts +23 -0
- package/lib/src/log_data/chunked/pyTimestamp.d.ts.map +1 -0
- package/lib/src/log_data/chunked/rowSpace.d.ts +53 -0
- package/lib/src/log_data/chunked/rowSpace.d.ts.map +1 -0
- package/lib/src/log_data/chunked/skeleton.d.ts +49 -0
- package/lib/src/log_data/chunked/skeleton.d.ts.map +1 -0
- package/lib/src/log_data/chunked/skeletonIndex.d.ts +23 -0
- package/lib/src/log_data/chunked/skeletonIndex.d.ts.map +1 -0
- package/lib/src/log_data/chunked/syntheticEvents.d.ts +9 -0
- package/lib/src/log_data/chunked/syntheticEvents.d.ts.map +1 -0
- package/lib/src/log_data/chunked/types.d.ts +104 -0
- package/lib/src/log_data/chunked/types.d.ts.map +1 -0
- package/lib/src/log_data/chunkedAttachments.d.ts +20 -0
- package/lib/src/log_data/chunkedAttachments.d.ts.map +1 -0
- package/lib/src/log_data/chunkedHydrate.d.ts +25 -0
- package/lib/src/log_data/chunkedHydrate.d.ts.map +1 -0
- package/lib/src/log_data/chunkedMessages.d.ts +28 -0
- package/lib/src/log_data/chunkedMessages.d.ts.map +1 -0
- package/lib/src/log_data/chunkedSampleQuery.d.ts +40 -0
- package/lib/src/log_data/chunkedSampleQuery.d.ts.map +1 -0
- package/lib/src/log_data/databaseListings.d.ts +14 -0
- package/lib/src/log_data/databaseListings.d.ts.map +1 -0
- package/lib/src/log_data/index.d.ts +6 -0
- package/lib/src/log_data/index.d.ts.map +1 -1
- package/lib/src/log_data/logsContent.d.ts +12 -4
- package/lib/src/log_data/logsContent.d.ts.map +1 -1
- package/lib/src/log_data/logsListingRead.d.ts +59 -0
- package/lib/src/log_data/logsListingRead.d.ts.map +1 -0
- package/lib/src/log_data/sampleData.d.ts +11 -1
- package/lib/src/log_data/sampleData.d.ts.map +1 -1
- package/lib/src/state/sampleSlice.d.ts +0 -1
- package/lib/src/state/sampleSlice.d.ts.map +1 -1
- package/lib/src/utils/uri.d.ts +2 -0
- package/lib/src/utils/uri.d.ts.map +1 -1
- package/lib/styles/index.css +4278 -3474
- package/package.json +13 -16
- package/lib/src/components/LargeModal.d.ts +0 -30
- package/lib/src/components/LargeModal.d.ts.map +0 -1
- package/lib/src/utils/json-worker.d.ts +0 -13
- package/lib/src/utils/json-worker.d.ts.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChatMessage } from '@tsmono/inspect-common/types';
|
|
2
|
+
import { AsyncData } from '@tsmono/util';
|
|
3
|
+
import { SampleHandle } from '../app/types';
|
|
4
|
+
import { ChunkedSample } from './chunked';
|
|
5
|
+
/**
|
|
6
|
+
* Hydrate a chunked sample's final conversation: the shell's `message_refs`
|
|
7
|
+
* ranges resolved against the messages sequence, attachments substituted —
|
|
8
|
+
* the same material a monolith sample stores inline as `messages`.
|
|
9
|
+
*
|
|
10
|
+
* INTERIM: full hydration is a bridge until the Messages tab pages by
|
|
11
|
+
* index window (design/large-samples.md, access pattern 3 / effort C3).
|
|
12
|
+
* "The final conversation is conversation-sized" does NOT hold under
|
|
13
|
+
* compaction — measured 134,989 messages / 7,961 ranges (~135MB of member
|
|
14
|
+
* fetches) on the mirror-code monster — so this matches the monolith
|
|
15
|
+
* path's memory profile, no better. Windowed replacement is C3; this
|
|
16
|
+
* fetches on-demand (tab open), never at sample open.
|
|
17
|
+
*
|
|
18
|
+
* Attachment chunks are prefetched per message range as ranges arrive, so
|
|
19
|
+
* attachment downloads overlap the remaining message downloads instead of
|
|
20
|
+
* serializing behind the full conversation assembly.
|
|
21
|
+
*/
|
|
22
|
+
export declare const hydrateFinalConversation: (chunked: ChunkedSample) => Promise<ChatMessage[]>;
|
|
23
|
+
/**
|
|
24
|
+
* The final conversation for the Messages tab, hydrated on first use and
|
|
25
|
+
* cached alongside the sample queries.
|
|
26
|
+
*/
|
|
27
|
+
export declare const useChunkedMessages: (logDir: string, handle: SampleHandle | undefined, chunked: ChunkedSample | undefined) => AsyncData<ChatMessage[]>;
|
|
28
|
+
//# sourceMappingURL=chunkedMessages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunkedMessages.d.ts","sourceRoot":"","sources":["../../../src/log_data/chunkedMessages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAQ/C;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB,GACnC,SAAS,aAAa,KACrB,OAAO,CAAC,WAAW,EAAE,CAiBvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,MAAM,EACd,QAAQ,YAAY,GAAG,SAAS,EAChC,SAAS,aAAa,GAAG,SAAS,KACjC,SAAS,CAAC,WAAW,EAAE,CAiBtB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EvalSample } from '@tsmono/inspect-common/types';
|
|
2
|
+
import { AsyncData } from '@tsmono/util';
|
|
3
|
+
import { SampleHandle } from '../app/types';
|
|
4
|
+
import { ChunkedSample } from './chunked';
|
|
5
|
+
/**
|
|
6
|
+
* A chunked-shape sample and the EvalSample synthesized from it.
|
|
7
|
+
* `null` (as the query datum) means the sample is a monolith — the caller
|
|
8
|
+
* proceeds down the existing completed-sample path.
|
|
9
|
+
*/
|
|
10
|
+
export interface ChunkedSampleData {
|
|
11
|
+
/**
|
|
12
|
+
* Present when the sample renders through the chunked windowed path.
|
|
13
|
+
* Absent when the sample was fully hydrated instead (it needs
|
|
14
|
+
* producer-timeline fidelity and is under the size gate — see
|
|
15
|
+
* `shouldFullyHydrate`): the legacy UI then renders `evalSample` alone,
|
|
16
|
+
* exactly as it would a monolith sample.
|
|
17
|
+
*/
|
|
18
|
+
chunked?: ChunkedSample;
|
|
19
|
+
/**
|
|
20
|
+
* The sample as an EvalSample. Windowed path: the shell only (sequences
|
|
21
|
+
* empty — the transcript never reads `events` on this object). Hydrated
|
|
22
|
+
* path: the fully downloaded, fully resolved sample.
|
|
23
|
+
*/
|
|
24
|
+
evalSample: EvalSample;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Chunked-shape classification + open for a sample, keyed
|
|
28
|
+
* `["log_data", "chunked-sample", ...]`. Settles `null` for monolith
|
|
29
|
+
* samples (classification is a central-directory lookup on the already-open
|
|
30
|
+
* log — no extra fetch); the completed-sample fetch is gated on that
|
|
31
|
+
* settlement so exactly one path acquires the sample.
|
|
32
|
+
*
|
|
33
|
+
* Classification failures also settle `null`: the pre-existing monolith
|
|
34
|
+
* path must stay the sole error surface for old-format samples (its
|
|
35
|
+
* retry/fallback handling is authoritative), so this query only reports
|
|
36
|
+
* errors for samples it has positively classified as chunked — which the
|
|
37
|
+
* monolith path could never serve anyway.
|
|
38
|
+
*/
|
|
39
|
+
export declare const useChunkedSample: (logDir: string, handle: SampleHandle | undefined) => AsyncData<ChunkedSampleData | null>;
|
|
40
|
+
//# sourceMappingURL=chunkedSampleQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunkedSampleQuery.d.ts","sourceRoot":"","sources":["../../../src/log_data/chunkedSampleQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,WAAW,CAAC;AAInB;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAC;CACxB;AAoCD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,MAAM,EACd,QAAQ,YAAY,GAAG,SAAS,KAC/B,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAqCjC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Condition, OrderByModel, Pagination } from '@tsmono/inspect-common/query';
|
|
2
|
+
export declare const databaseLogsListingKeyRoot: readonly ["log_data", "dexie-listing", "logs"];
|
|
3
|
+
export declare const databaseLogsListingKey: (universe: string | undefined, accessorsKey: string, filter?: Condition, orderBy?: OrderByModel[], pagination?: Pagination) => readonly ["log_data", "dexie-listing", "logs", string | null, string, Condition | null, OrderByModel[] | null, Pagination | null];
|
|
4
|
+
/** The universe slot of a {@link databaseLogsListingKey} — for same-universe
|
|
5
|
+
* checks (placeholders) without hard-coding the key shape at call sites. */
|
|
6
|
+
export declare const listingKeyUniverse: (queryKey: readonly unknown[]) => unknown;
|
|
7
|
+
/**
|
|
8
|
+
* Coalesce replication bursts into at most one refetch of observed Dexie
|
|
9
|
+
* listings per 100ms. A throttle, not a debounce: the flush loops can write
|
|
10
|
+
* back-to-back for a whole sync, and a trailing-only debounce would postpone
|
|
11
|
+
* the invalidation for the entire burst instead of updating incrementally.
|
|
12
|
+
*/
|
|
13
|
+
export declare const invalidateDatabaseLogsListings: () => void;
|
|
14
|
+
//# sourceMappingURL=databaseListings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"databaseListings.d.ts","sourceRoot":"","sources":["../../../src/log_data/databaseListings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,YAAY,EACZ,UAAU,EACX,MAAM,8BAA8B,CAAC;AAKtC,eAAO,MAAM,0BAA0B,gDAI7B,CAAC;AAEX,eAAO,MAAM,sBAAsB,GACjC,UAAU,MAAM,GAAG,SAAS,EAC5B,cAAc,MAAM,EACpB,SAAS,SAAS,EAClB,UAAU,YAAY,EAAE,EACxB,aAAa,UAAU,sIASb,CAAC;AAEb;6EAC6E;AAC7E,eAAO,MAAM,kBAAkB,GAAI,UAAU,SAAS,OAAO,EAAE,KAAG,OACrB,CAAC;AAE9C;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,MAAM,IASlD,CAAC"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
export { imperativeLogData } from './imperativeLogData';
|
|
2
|
+
export { databaseLogsListingKey, databaseLogsListingKeyRoot, invalidateDatabaseLogsListings, listingKeyUniverse, } from './databaseListings';
|
|
3
|
+
export { readLogsListing, readLogsListingMatches, readLogsOverview, type LogsOverview, type LogsOverviewView, } from './logsListingRead';
|
|
2
4
|
export { useLogHeader, useLogFetchState } from './log';
|
|
3
5
|
export { type LogListingRow, useLogListing } from './logListing';
|
|
4
6
|
export { resolveLogKey } from './logsContent';
|
|
5
7
|
export { useRunningMetrics } from './pendingSamples';
|
|
6
8
|
export { type EvalSampleData, usePassiveEvalSampleData, useEvalSampleData, } from './sampleData';
|
|
7
9
|
export { type SamplesListingRow, type SamplesScope, useSamplesListing, } from './samplesListing';
|
|
10
|
+
export { candidateOutlineRows, defaultCollapsedSpanIds, RowSpace, sampleSkeleton, syntheticEventsFromSkeleton, type ChunkedEvent, type ChunkedSample, type DecodeCtx, type OutlineRow, type RowSlot, type SampleSkeleton, type SkeletonEvent, type SkeletonSpan, type SyntheticStream, type ViewRow, } from './chunked';
|
|
11
|
+
export { resolvedEventsReader } from './chunkedAttachments';
|
|
12
|
+
export { useChunkedMessages } from './chunkedMessages';
|
|
13
|
+
export { useChunkedSample, type ChunkedSampleData } from './chunkedSampleQuery';
|
|
8
14
|
export { useSampleSummaries } from './sampleSummaries';
|
|
9
15
|
export { type ScorerMap, scorerMetricKey, useScoreSchema } from './scoreSchema';
|
|
10
16
|
export { useDatabaseStats } from './useFetchEngineStatus';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/log_data/index.ts"],"names":[],"mappings":"AA6FA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,KAAK,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACL,KAAK,cAAc,EACnB,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,iBAAiB,GAClB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/log_data/index.ts"],"names":[],"mappings":"AA6FA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,8BAA8B,EAC9B,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,eAAe,EACf,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string, previews: Record<string, Lo
|
|
|
23
23
|
* up on the next row write.
|
|
24
24
|
*/
|
|
25
25
|
export declare const mergeFetchStates: (logDir: string, states: Record<string, LogFetchState>) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Whether `logDir`'s listing degraded to cache-only persistence
|
|
28
|
+
* (out-of-namespace names — see `namesInScope`). Session-sticky: once a
|
|
29
|
+
* listing sync detects the degrade, listing reads for the dir serve from
|
|
30
|
+
* the react-query cache instead of the database.
|
|
31
|
+
*/
|
|
32
|
+
export declare const isCacheOnlyListingScope: (logDir: string) => boolean;
|
|
26
33
|
/**
|
|
27
34
|
* Persist the listing identity tier and cache the resulting full row list.
|
|
28
35
|
* The db write is a merge-upsert (rows keep depth/content) and the cache
|
|
@@ -37,10 +44,11 @@ export declare const writePreviews: (db: DatabaseService | null | undefined, log
|
|
|
37
44
|
* own store. Cache updates land synchronously; samples rows land BEFORE the
|
|
38
45
|
* row merge (the status flip is what drops a running log's pending-buffer
|
|
39
46
|
* rows, so a render between the two updates must already have the settled
|
|
40
|
-
* rows). Persistence is one transaction per call
|
|
41
|
-
*
|
|
42
|
-
* sessions the pushes
|
|
43
|
-
*
|
|
47
|
+
* rows). Persistence is one transaction per call. The samples sweep is
|
|
48
|
+
* persistence-gated: samples listings read from the database, and in db-less
|
|
49
|
+
* sessions invalidating would clobber the pushes — the only landing spot —
|
|
50
|
+
* with an empty read. Log listings have a cache-backed read path, so their
|
|
51
|
+
* invalidation is unconditional.
|
|
44
52
|
*/
|
|
45
53
|
export declare const writeDetails: (db: DatabaseService | null | undefined, logDir: string, details: Record<string, LogDetails>) => Promise<void>;
|
|
46
54
|
export declare const writeFetchStates: (db: DatabaseService | null | undefined, logDir: string, states: Record<string, LogFetchState>) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logsContent.d.ts","sourceRoot":"","sources":["../../../src/log_data/logsContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8B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;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,QAAQ,MAAM,GAAG,SAAS,KAAG,GAAG,EACF,CAAC;AAI1D,eAAO,MAAM,OAAO,GAAI,QAAQ,MAAM,KAAG,SAAS,CAAC,GAAG,EAAE,CAKpD,CAAC;AAEL;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,GAAG,SAAS,EAC1B,SAAS,MAAM,KACd,MAGF,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { DatabaseListingPlan, DatabaseListingResult } from '../client/database/listing';
|
|
2
|
+
import { LogListingRow } from './logListing';
|
|
3
|
+
export declare const readLogsListing: <TRow>(logDir: string, prefix: string, toRow: (log: LogListingRow) => TRow | undefined, plan: DatabaseListingPlan<TRow>) => Promise<DatabaseListingResult<TRow>>;
|
|
4
|
+
/** View inputs for {@link readLogsOverview}. */
|
|
5
|
+
export interface LogsOverviewView {
|
|
6
|
+
/** Folder-mode current directory; unset in the flat tasks view (which
|
|
7
|
+
* lists the whole dir and derives no folders). */
|
|
8
|
+
folderDir?: string;
|
|
9
|
+
showRetriedLogs: boolean;
|
|
10
|
+
/** Pre-hide row-universe membership for the view (`fileLogIdentity`
|
|
11
|
+
* presence — path logic only; the overview applies retried-hiding
|
|
12
|
+
* itself so it can also count what hiding removed). */
|
|
13
|
+
isCandidate: (log: LogListingRow) => boolean;
|
|
14
|
+
}
|
|
15
|
+
/** Aggregate facts about a scope that the log-list page needs beyond the
|
|
16
|
+
* queried rows themselves. See {@link readLogsOverview}. */
|
|
17
|
+
export interface LogsOverview {
|
|
18
|
+
/** Distinct task_ids with a log anywhere under the dir — the pending-task
|
|
19
|
+
* anti-join input. */
|
|
20
|
+
taskIds: string[];
|
|
21
|
+
/** File rows in the view universe (retried-hidden excluded). */
|
|
22
|
+
fileCount: number;
|
|
23
|
+
/** Among `fileCount`, logs still running (status "started"). */
|
|
24
|
+
startedCount: number;
|
|
25
|
+
/** Retried runs in the view universe pre-hiding — drives the
|
|
26
|
+
* "Show Retried Logs" toggle's visibility. */
|
|
27
|
+
retriedCount: number;
|
|
28
|
+
/** Set when exactly one file row exists (single-log workspace redirect). */
|
|
29
|
+
soleFileName: string | undefined;
|
|
30
|
+
/** Folder-mode: the current directory's immediate subdirectories. */
|
|
31
|
+
folders: {
|
|
32
|
+
name: string;
|
|
33
|
+
itemCount: number;
|
|
34
|
+
}[];
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* One scan of `logDir`'s rows producing the page-level aggregates: pending
|
|
38
|
+
* anti-join input, progress/footer counts, retried presence, the sole-file
|
|
39
|
+
* redirect target, and folder summaries. These are the derivations that
|
|
40
|
+
* would otherwise force the full row list into memory beside the row query;
|
|
41
|
+
* keeping them behind one read means pagination only changes this module.
|
|
42
|
+
* Like `readLogsListing`, deliberately not gated on sync state.
|
|
43
|
+
*/
|
|
44
|
+
export declare const readLogsOverview: (logDir: string, view: LogsOverviewView) => Promise<LogsOverview>;
|
|
45
|
+
/**
|
|
46
|
+
* Ids of the rows whose searchable text contains `term`
|
|
47
|
+
* (case-insensitive), in listing order under the same universe + plan as
|
|
48
|
+
* the row query — the find band's data-level backing. Runs over the scan
|
|
49
|
+
* today; under keys-first pagination it becomes a snapshot projection, so
|
|
50
|
+
* matches keep covering rows outside the loaded pages.
|
|
51
|
+
*/
|
|
52
|
+
export declare const readLogsListingMatches: <TRow>(logDir: string, prefix: string, toRow: (log: LogListingRow) => TRow | undefined, plan: DatabaseListingPlan<TRow>, find: {
|
|
53
|
+
term: string;
|
|
54
|
+
getRowId: (row: TRow) => string;
|
|
55
|
+
/** A row's searchable text, already lowercased (`rowSearchText`'s
|
|
56
|
+
* contract) — the scan must not pay a second per-row lowering. */
|
|
57
|
+
rowText: (row: TRow) => string;
|
|
58
|
+
}) => Promise<string[]>;
|
|
59
|
+
//# sourceMappingURL=logsListingRead.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logsListingRead.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EACd,QAAQ,MAAM,EACd,OAAO,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,GAAG,SAAS,EAC/C,MAAM,mBAAmB,CAAC,IAAI,CAAC,EAC/B,MAAM;IACJ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,MAAM,CAAC;IAChC;uEACmE;IACnE,OAAO,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,MAAM,CAAC;CAChC,KACA,OAAO,CAAC,MAAM,EAAE,CAUlB,CAAC"}
|
|
@@ -3,6 +3,8 @@ import { AsyncData } from '@tsmono/util';
|
|
|
3
3
|
import { Events } from '../@types/extraInspect';
|
|
4
4
|
import { SampleHandle, SampleStatus } from '../app/types';
|
|
5
5
|
import { SampleSummary } from '../client/api/types';
|
|
6
|
+
import { ChunkedSample } from './chunked';
|
|
7
|
+
import { ChunkedSampleData } from './chunkedSampleQuery';
|
|
6
8
|
import { RunningSampleData } from './runningSampleQuery';
|
|
7
9
|
export interface EvalSampleData {
|
|
8
10
|
/** The settled EvalSample: completed fetch, error-summary fallback, or
|
|
@@ -19,6 +21,12 @@ export interface EvalSampleData {
|
|
|
19
21
|
* draining), as opposed to waiting on live output. Drives the
|
|
20
22
|
* "Loading events…" affordances. */
|
|
21
23
|
backfilling: boolean;
|
|
24
|
+
/** Set when a chunked-shape sample renders through the windowed path:
|
|
25
|
+
* the transcript reads windowed rows through this instead of
|
|
26
|
+
* `sample.events` (which the shell-synthesized `sample` carries empty).
|
|
27
|
+
* Absent on every other path — including chunked samples that were fully
|
|
28
|
+
* hydrated for timeline fidelity (their `sample` is complete). */
|
|
29
|
+
chunked?: ChunkedSample;
|
|
22
30
|
}
|
|
23
31
|
export interface SampleDataInputs {
|
|
24
32
|
handle: SampleHandle | undefined;
|
|
@@ -27,6 +35,8 @@ export interface SampleDataInputs {
|
|
|
27
35
|
/** The sample's merged summary (undefined while the summaries settle or
|
|
28
36
|
* when the handle isn't among them). */
|
|
29
37
|
summary: SampleSummary | undefined;
|
|
38
|
+
/** Chunked-shape classification + open (null datum = monolith sample). */
|
|
39
|
+
chunked: AsyncData<ChunkedSampleData | null>;
|
|
30
40
|
/** The completed-path EvalSample query. */
|
|
31
41
|
query: AsyncData<EvalSample>;
|
|
32
42
|
/** The running-path stream query. */
|
|
@@ -36,7 +46,7 @@ export interface SampleDataInputs {
|
|
|
36
46
|
finalizedSample: AsyncData<EvalSample>;
|
|
37
47
|
}
|
|
38
48
|
/** The path-selection state machine (exported for tests). */
|
|
39
|
-
export declare const deriveSampleData: ({ handle, summaries, summary, query, running, finalizedSample, }: SampleDataInputs) => EvalSampleData;
|
|
49
|
+
export declare const deriveSampleData: ({ handle, summaries, summary, chunked, query, running, finalizedSample, }: SampleDataInputs) => EvalSampleData;
|
|
40
50
|
/**
|
|
41
51
|
* A sample's data — EvalSample, stream, and status — as one derivation over
|
|
42
52
|
* the subsystem's sample queries. Which path serves the EvalSample (completed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sampleData.d.ts","sourceRoot":"","sources":["../../../src/log_data/sampleData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAoB,MAAM,sBAAsB,CAAC;AAM3E,MAAM,WAAW,cAAc;IAC7B;6CACyC;IACzC,MAAM,EAAE,UAAU,GAAG,SAAS,CAAC;IAC/B,MAAM,EAAE,YAAY,CAAC;IACrB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,+EAA+E;IAC/E,OAAO,EAAE,MAAM,CAAC;IAChB;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AA2C;IAC3C,KAAK,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC7B,qCAAqC;IACrC,OAAO,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACtC;2DACuD;IACvD,eAAe,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;CACxC;AAED,6DAA6D;AAC7D,eAAO,MAAM,gBAAgB,GAAI,2EAQ9B,gBAAgB,KAAG,cAmHrB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,MAAM,EACd,QAAQ,YAAY,GAAG,SAAS,KAC/B,cA2CF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,GACnC,QAAQ,MAAM,EACd,QAAQ,YAAY,GAAG,SAAS,KAC/B,SAAS,CAAC,cAAc,CAG1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sampleSlice.d.ts","sourceRoot":"","sources":["../../../src/state/sampleSlice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sampleSlice.d.ts","sourceRoot":"","sources":["../../../src/state/sampleSlice.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,WAAW,CAAC;IACpB,aAAa,EAAE;QACb,mBAAmB,EAAE,MAAM,IAAI,CAAC;QAEhC,kBAAkB,EAAE,CAClB,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC/B,IAAI,CAAC;QACV,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;QACvE,oBAAoB,EAAE,MAAM,IAAI,CAAC;QAEjC,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC;QACxE,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;QAClE,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QACzC,gBAAgB,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;QAElE,qBAAqB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;QAEjD,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;QACxC,mBAAmB,EAAE,MAAM,IAAI,CAAC;QAEhC,oBAAoB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;QAC3C,sBAAsB,EAAE,MAAM,IAAI,CAAC;QAEnC,mBAAmB,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;QACvD,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;KACjD,CAAC;CACH;AAkBD,eAAO,MAAM,iBAAiB,GAC5B,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,KAAK,IAAI,EAC9C,MAAM,MAAM,UAAU,EACtB,QAAQ,OAAO,KACd,WAqHF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,KAAK,IAAI,SAO/C,CAAC"}
|
package/lib/src/utils/uri.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** First segment of a relative path ("" when empty). */
|
|
2
|
+
export declare const rootName: (relativePath: string) => string;
|
|
1
3
|
export declare const directoryRelativeUrl: (file: string, dir?: string) => string;
|
|
2
4
|
export declare const join: (file: string, dir?: string) => string;
|
|
3
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../../../src/utils/uri.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,MA8BjE,CAAC;AAQF,eAAO,MAAM,IAAI,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,MAoBjD,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAsBnD;AAED;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,KAAG,OASrC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,WAMvC,CAAC"}
|
|
1
|
+
{"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../../../src/utils/uri.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,eAAO,MAAM,QAAQ,GAAI,cAAc,MAAM,KAAG,MACd,CAAC;AAEnC,eAAO,MAAM,oBAAoB,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,MA8BjE,CAAC;AAQF,eAAO,MAAM,IAAI,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,MAoBjD,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAsBnD;AAED;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,KAAG,OASrC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,WAMvC,CAAC"}
|