@bitcobblers/wod-wiki-engine 0.59.2236 → 0.59.2238

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/dist/index.d.cts CHANGED
@@ -4,8 +4,8 @@ import { IRealtimeProcessor, ISummaryProcessor, IEffort, IEquipment, ReferenceIn
4
4
  export { ABSENT, AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AmrapLogicStrategy, AnalyticsContext, AnalyticsEngine, AnalyticsProfileContext, AnalyticsResult, AnalyticsTransformer, BUILTIN_CALCS, BUNDLED_EFFORT_COUNT, BehaviorContext, BehaviorEventListener, BehaviorEventType, BlockBuilder, BlockContext, BlockLifecycleOptions, ButtonBehavior, CONSUMED_HINTS, CONSUMED_HINT_KEYS, CONTEXT_ATOMS, CalcDefinition, CalcEngine, CalcOrigin, CalcScope, CalculationDefinition, CalculationRegistry, CardioDialect, ChildSelectionBehavior, ChildrenStrategy, ChoiceGroupMetric, ClimbDialect, ClimbMetricType, CompletionDecision, CountdownTimerBehavior, CountupTimerBehavior, CrossFitDialect, DAY, DEFAULT_RESOLVER_OPTIONS, DEFAULT_RUNTIME_OPTIONS, DEFAULT_SOUND_PROFILE, DEFAULT_UNRESOLVED_EFFORT_MET, DIM_LENGTH, DIM_MASS, DIM_TIME, DIM_ZERO, DayRollup, DialectStack, DimVector, EFFORT_DATA_METRIC_TYPE, EFFORT_REGISTRY_ORIGINS, EffortBaseAttributes, EffortDerivation, EffortFallbackStrategy, EffortRegistrySource, EffortResolutionOptions, EffortResolver, EffortResolverOptions, ErrorAction, EventBus, EventCallback, EventHandlerOptions, ExecutionContext, ExecutionStatus, ExitBehavior, ExprNode, FixtureSyntaxError, GenericGroupStrategy, GenericLoopStrategy, GenericTimerStrategy, HabitsDialect, IAnalyticsEngine, IAnalyticsProcessorDescriptor, IAnalyticsProfile, IAnchorValue, IBehaviorContext, IBlockContext, ICastSubscription, IEffort, IEffortRegistry, IEffortResolver, IEvent, IEventBus, IEventHandler, IJitCompiler, ILookupTable, IMemoryLocation, IMemoryReference, IMetricPresentationPolicy, INTENSITY_TIERS, INowProvider, IRealtimeProcessor, IRuntimeAction, IRuntimeActionable, IRuntimeBehavior, IRuntimeBlock, IRuntimeBlockStrategy, IRuntimeClock, IRuntimeEventProvider, IRuntimeFactory, IRuntimeMemory, IRuntimeStack, IRuntimeSubscription, IScript, IScriptRuntime, ISummaryProcessor, InMemoryEffortRegistry, IntensityTier, InterceptMode, IntervalLogicStrategy, JitCompiler, LabelingBehavior, LineFormScope, LiteralKind, LiveRoundSplitRow, LiveSessionTelemetryFrame, LiveSummaryMetric, LocalRuntimeSubscription, LookupRegistry, MAX_TAG_CONTRIBUTION_DEPTH, MatchMode, MdTimerRuntime, MemoryEntry, MemoryLocation, MemoryTag, MemoryTypeEnum, MetricLine, MetricPresentationSurface, MetricPresentationToken, MetricRenderKind, MetricTone, MetricVisibility, MockClock, NextEvent, OutputEmitter, OutputListener, PRODUCTION_STRATEGIES, PopBlockAction, ProjectedRepTarget, ProjectedSecondaryTimer, ProjectionResult, PropertyRuleInput, PropertySourceLayer, PushBlockAction, RegisterEventHandlerAction, Registry, ReportOutputBehavior, ReportOutputStrategy, ResolvedEffort, ResolvedEffortData, ResolvedTagContributions, RoundState, RoundsMetric, RuntimeAdapter, RuntimeBlock, RuntimeBlockOptions, RuntimeClock, RuntimeController, RuntimeError, RuntimeFactory, RuntimeLogger, RuntimeMemory, RuntimeObservers, RuntimeStack, RuntimeStackOptions, SEED_PRECEDENCE_RANK, SOUND_PLAY_EVENT, SOUND_PROFILE_METRIC, STORE_CALCS, STREAM_ATOMS, ScriptOutlineNode, ScriptOutlineStatus, ScriptRuntime, ScriptRuntimeDependencies, SeedPrecedenceTier, SegmentWithMetadata, SerializedTimerSpan, SessionClockFrame, SessionClockInputSignal, SessionClockProjectionOptions, SessionExecutionStatus, SessionRootStrategy, SessionVisualPolarity, ShakeOutResult, SkippedDependencyDiagnostic, SnapshotClock, SoundProfile, SoundProfileBehavior, SoundRule, SoundStrategy, SoundTriggerAnchor, SoundTriggerPoint, StackEvent, StackListener, StackObserver, StackSnapshot, StackedDashboardWidgetDescriptor, StandardAnalyticsProfile, StartSessionAction, StartSessionOptions, StartWorkoutAction, StatementMetricDiff, SubscribeOptions, SubscriptionManager, TAG_MARKER_PREFIX, TestableBlockConfig, TimeSpan, TimerState, TwoPassEffortResolutionProcess, TypedMemoryReference, UNITS, UnitsDialect, UnregisterEventHandlerAction, Unsubscribe, VISIBILITY_ICONS, VISIBILITY_LABELS, Val, WhiteboardScript, WodDialect, YogaDialect, buildTooltip, bundledEfforts, calculateDuration, calculateElapsed, canonicalizeType, collapseUnresolvedChoices, compareStatement, compileLineForm, compilePropertySummaryCalcs, compoundName, computeColumnLabel, computeLabel, computeWorkloadRollups, createAnalyticsEngineForBlock, createCalcEngine, createCompiler, createDialectStack, createMetricPresentationPolicy, createMockClock, createParser, dailySessionLoads, dayBucket, dedupeEntitiesByPrecedence, dialectRegistry, dialectStack, diffStatement, evaluate, extractMetrics, extractPropertyRulesFromMeta, extractStatements, extractTagPropertyRules, findBestFuzzyMatch, findTagContributionCycles, findUnresolvedChoices, formatDurationCompact, formatDurationSmart, formatSecondsHHMMSS, formatSecondsMMSS, formatSoundTrigger, formatTime, formatTimeHHMMSS, formatTimeMMSS, formatTimePrecise, formatTimestamp, frozenNow, getAnalyticsFromLogs, getAnalyticsFromRuntime, getHints, getMetricVisibility, getRuntimeNowMs, hasHint, hintMetric, hintsToContainer, interpolateSessionClockFrame, isCastSubscription, isChoiceResolved, isRequiredCountdownLocked, isTimeLikeMetric, isWithinThreshold, levenshteinDistance, metricPresentation, normalizeForFuzzy, observeSessionClockInputs, outputNodeId, outputNodeIds, parseCalcLine, parseExpression, parseMetricLine, parseScript, parseSoundTrigger, projectLiveSessionTelemetry, projectScriptOutline, projectSessionClock, realtimeProcessorRegistry, renderMetric, resolveEntityRank, resolveEntityTier, resolveProfileRules, resolvePropertyDashboardWidgets, resolveSoundProfile, resolveSourceRank, resolveSourceTier, resolveTagContributions, resolveVisualPolarity, roundToTenth, runMetricShakeOutQueue, strategyRegistry, summaryProcessorRegistry, synthesizeWorkoutFormat, tagContributionMetrics, tagMarkerSlug, tagMarkerSlugs, tagMarkerType, toStoredOutputStatement, truthy, wallClockNow, whiteboardParser, whiteboardScript, whiteboardScriptLanguage, writeChoiceSelection } from '@bitcobblers/wod-wiki-lang';
5
5
  import { EventStore } from '@bitcobblers/wod-wiki-wql';
6
6
  export { Aggregator, AnyParsedQuery, BlockQueryStore, BuildScopedDashboardOptions, ComparisonOp, DASHBOARD_GRID_MAX_COLS, DASHBOARD_WIDGET_TYPES, DEFAULT_DASHBOARD_TITLE, DEFAULT_NOTEBOOK_SLUGS, DashboardDocument, DashboardMeta, DashboardToken, DashboardWidget, EffortQueryStore, EntityScopeDescriptor, EntityScopeKind, EventStore, FeedCatalogQueryStore, FindOptions, FindPredicate, FindQueryResult, MetricPredicate, NoteQueryStore, NotebookId, PLANNED_WIDGET_TYPES, ParseQueryBlockOptions, ParsedAggregateQuery, ParsedFindQuery, ParsedPipelineQuery, ParsedRowsQuery, PipelineSink, PipelineSource, QueryBlockObject, QueryOptions, QueryResult, QuerySeriesSpec, QueryService, QueryServiceStores, QuerySortSpec, QueryViewKind, QueryWidgetSuffix, QueryWindow, ResolveEntityScopeInput, RowsQueryResult, RowsRun, ScalarOrParam, Series, SeriesPoint, TagFilter, TagValue, WQL_AGGREGATORS, WQL_CALC_TARGETS, WQL_CHART_HEADS, WQL_COMPARISON_OPS, WQL_CONTENT_FILTER_KEYS, WQL_DISPLAY_UNITS, WQL_FIND_TARGETS, WQL_FUNCTION_HEADS, WQL_GRAINS, WQL_INTENSITY_TIERS, WQL_KEYWORDS, WQL_METRIC_AGGREGATES, WQL_METRIC_FAMILIES, WQL_RESULT_PLANES, WQL_ROLLUP_PERIODS, WQL_SOURCES, WQL_SOURCE_HEADS, WQL_SOURCE_VALUES, WQL_STANDARD_DATASETS, WQL_TAG_KEYS, WQL_TYPED_TAG_KEYS, WQL_VIRTUAL_DIMS, WqlChartHead, WqlFindTarget, WqlSourceValue, bindQueryParams, buildDashboardDocument, buildDashboardFromScope, buildDashboardScaffold, buildWidgetsForWqlScope, collectQueryBlockParams, collectQueryParams, dashboardSlug, defaultTokenValues, extractDashboardTokens, extractNoteWqlOverride, isAggregateQuery, isDashboardMeta, isDashboardWidgetType, isDefaultShorthandQueryBlock, isFindQuery, isNoteEditable, isPipelineQuery, isYamlQueryBlockBody, normalizeWql, notebookOfItem, notebookSlugFromId, notebooksOfItem, parseFilterFragment, parseQuery, parseQueryBlock, parseQueryWidgetSuffix, parseWqlSuffixes, queryBlockAttributes, queryBlockToDocumentText, resolveEntityScope, resolveWidgetType, serialize, serializeQueryBlock, serializeQueryBlockFence, splitAtWhere, substituteTokens, toNotebookId, unknownTokensMessage, unknownWidgetTypeMessage, wql, wqlLanguage, wqlParser, wqlTerms } from '@bitcobblers/wod-wiki-wql';
7
- import { a as SeedRow, b as SeedManifest, c as SeedMetaRecord, N as NotebookIndex, d as FeedTreeReader, F as FeedTree } from './ir-CKImc4T0.cjs';
8
- export { C as CANVAS_CHUNK_ID, e as ChunkKind, f as CorpusIRData, D as DASHBOARDS_CHUNK_ID, g as DirectoryHandleFeedTree, E as EFFORTS_CHUNK_ID, h as EQUIPMENT_CHUNK_ID, i as ExecutionLog, j as FeedFileStat, k as FeedPath, l as FeedTreeError, m as FeedTreeErrorCode, n as FeedTreeWriter, o as FetchLike, p as FileSystemDirectoryHandleLike, q as FileSystemFileHandleLike, r as FileSystemWritableLike, H as HttpFeedTree, I as IrKind, M as ManifestChunk, s as MemoryFeedTree, t as MetricNode, u as NotebookIndexSummary, v as PortabilityImportReport, P as PortableFileEntry, w as PrepareJournalSessionRunInput, x as PreparedJournalSessionRun, R as ResolvedUpstreamProvenance, y as SEED_BROADCAST_CHANNEL, z as SEED_NAMESPACE, A as SEED_REGISTERED_WIDGETS, B as SEED_SCHEMA, G as SeedRecordRef, S as StatementNode, W as WodWikiIRFile, J as buildNoteProvenance, K as buildStatementTree, L as canvasRouteSlug, O as cloneRemoteRecord, Q as createIRFile, T as decodeUtf8, U as emptySeedMeta, V as encodeUtf8, X as exportPortableFilesFromStorage, Y as feedIdOfMetaKey, Z as getNotePublicationSummary, _ as ingestPortableFilesIntoStorage, $ as isIRFile, a0 as normalizeFeedTreePath, a1 as notebookSlugForChunkId, a2 as prepareJournalSessionRun, a3 as previewRemoteNotebook, a4 as previewRemoteRecord, a5 as resolveUpstreamProvenance, a6 as seedMetaKey, a7 as seedNoteSourceId, a8 as seedPrecedenceRank, a9 as seedSourceTier, aa as setNotebookPublic, ab as setSessionPublic, ac as sha256HexAsync, ad as statementToNode } from './ir-CKImc4T0.cjs';
7
+ import { b as SeedRow, c as SeedManifest, d as SeedMetaRecord, N as NotebookIndex, e as FeedTreeReader, F as FeedTree } from './ir-CQnh_Tid.cjs';
8
+ export { C as CANVAS_CHUNK_ID, f as ChunkKind, g as CorpusIRData, D as DASHBOARDS_CHUNK_ID, h as DirectoryHandleFeedTree, E as EFFORTS_CHUNK_ID, i as EQUIPMENT_CHUNK_ID, j as ExecutionLog, k as FEED_SUBSCRIPTIONS_META_KEY, l as FeedFileStat, m as FeedPath, a as FeedSubscriptionEntry, n as FeedSubscriptionsMetaRecord, o as FeedTreeError, p as FeedTreeErrorCode, q as FeedTreeWriter, r as FetchLike, s as FileSystemDirectoryHandleLike, t as FileSystemFileHandleLike, u as FileSystemWritableLike, H as HttpFeedTree, I as IrKind, M as ManifestChunk, v as MemoryFeedTree, w as MetricNode, x as NotebookIndexSummary, y as PortabilityImportReport, P as PortableFileEntry, z as PrepareJournalSessionRunInput, A as PreparedJournalSessionRun, R as ResolvedUpstreamProvenance, B as SEED_BROADCAST_CHANNEL, G as SEED_NAMESPACE, J as SEED_REGISTERED_WIDGETS, K as SEED_SCHEMA, L as SeedRecordRef, S as StatementNode, W as WodWikiIRFile, O as buildNoteProvenance, Q as buildStatementTree, T as canvasRouteSlug, U as cloneRemoteRecord, V as createIRFile, X as decodeUtf8, Y as deleteFeedSourceHeadless, Z as emptySeedMeta, _ as encodeUtf8, $ as exportPortableFilesFromStorage, a0 as feedIdOfMetaKey, a1 as getNotePublicationSummary, a2 as ingestPortableFilesIntoStorage, a3 as isIRFile, a4 as listFeedSubscriptionsHeadless, a5 as normalizeFeedTreePath, a6 as notebookSlugForChunkId, a7 as prepareJournalSessionRun, a8 as previewRemoteNotebook, a9 as previewRemoteRecord, aa as removeSeedSourceContent, ab as resolveUpstreamProvenance, ac as seedMetaKey, ad as seedNoteSourceId, ae as seedPrecedenceRank, af as seedSourceTier, ag as setNotebookPublic, ah as setSessionPublic, ai as sha256HexAsync, aj as statementToNode, ak as subscribeFeedSourceHeadless, al as unsubscribeFeedSourceHeadless } from './ir-CQnh_Tid.cjs';
9
9
  import { Session, Note, IStorage } from '@bitcobblers/wod-wiki-storage';
10
10
 
11
11
  /**
@@ -187,13 +187,13 @@ declare function csvToTelemetryBundle(csv: string): NoteTelemetryBundleResult;
187
187
  * Auto-generated build version metadata.
188
188
  * Do not edit directly; updated by scripts/stamp-version.ts
189
189
  */
190
- declare const VERSION = "0.59.2236";
191
- declare const GIT_SHA = "7b4743b";
192
- declare const BUILD_TIME = "2026-11-16T04:52:27.639Z";
190
+ declare const VERSION = "0.59.2238";
191
+ declare const GIT_SHA = "9029981";
192
+ declare const BUILD_TIME = "2026-11-16T16:02:29.109Z";
193
193
  declare const SEMVER: {
194
- readonly version: "0.59.2236";
195
- readonly gitSha: "7b4743b";
196
- readonly buildTime: "2026-11-16T04:52:27.639Z";
194
+ readonly version: "0.59.2238";
195
+ readonly gitSha: "9029981";
196
+ readonly buildTime: "2026-11-16T16:02:29.109Z";
197
197
  };
198
198
 
199
199
  declare function seedNoteId(path: string): Promise<string>;
@@ -361,6 +361,8 @@ interface PublishFeedOptions {
361
361
  builtAt?: string;
362
362
  /** Update the storage checkpoint (`publish:local-feed`) on completion (default true when layout === 'feed'). */
363
363
  recordCheckpoint?: boolean;
364
+ /** Optional abort signal to cancel long-running feed compilation on timeout. */
365
+ signal?: AbortSignal;
364
366
  }
365
367
  interface PublishFeedReport {
366
368
  manifest: SeedManifest;
@@ -382,6 +384,8 @@ interface UnpublishedFeedStatus {
382
384
  status: 'added' | 'modified' | 'removed';
383
385
  }>;
384
386
  }
387
+ /** Persist the published-feed checkpoint in the `meta` store after a successful publish/export. */
388
+ declare function recordPublishedFeedCheckpoint(storage: IStorage, report: Pick<PublishFeedReport, 'manifest' | 'manifestSha256'>): Promise<void>;
385
389
  declare function publishFeedFromStorage(storage: IStorage, tree: FeedTree, options?: PublishFeedOptions): Promise<PublishFeedReport>;
386
390
  /**
387
391
  * Compare current public Notebooks & public Sessions in `storage` against the last
@@ -504,4 +508,4 @@ declare function promoteReferencedOverridesToNotebook(storage: IStorage, input:
504
508
  tagSlugs?: Iterable<string>;
505
509
  }): Promise<ScopedPropertyOverride[]>;
506
510
 
507
- export { APP_ORIGIN, BUILD_TIME, type FeedLandingData, FeedTree, FeedTreeReader, GIT_SHA, type LandingNote, type LandingNotebook, type LanguagePack, type LanguagePackIdentity, type LanguagePackLangSlice, type LanguagePackUiSlice, NOTE_ID_FRONTMATTER_KEY, type NoteIdentity, NotebookIndex, PUBLISHED_FEED_META_KEY, type ParsedNoteMarkdown, type PromoteNoteResult, type PromoteNoteToNotebooksInput, type PropertyInheritanceMode, type PropertyResolutionContext, type PublishFeedOptions, type PublishFeedReport, type PublishedFeedCheckpoint, QR_SCRIPT_ID, type ResolvedScopedCatalog, SEMVER, SESSION_CSV_HEADER, type SaveScopedPropertyOverrideInput, type SeedChunkResult, type SeedChunkWrite, SeedManifest, SeedMetaRecord, SeedRow, type SessionImportRows, TELEMETRY_CSV_HEADER, type TypedTagItem, type UnpublishedFeedStatus, VERSION, applySeedChunk, applySeedChunks, assertNotebookIndex, assertSeedManifest, assertSeedRow, assertSeedRows, backfillFeedProvenance, checkUnpublishedFeedChanges, composeNoteMarkdown, createUserNotebookLanding, csvToEquipmentLabels, csvToSessionRows, csvToTelemetryBundle, defineLanguagePack, effortToMarkdown, equipmentToCsv, equipmentToMarkdown, extractNoteIdentity, extractTypedTags, getNoteNotebooks, getRegisteredLanguagePacks, inMemoryEventStore, injectIdentityFrontmatter, listLanguagePacks, listScopedPropertyOverrides, makeNotebookLinkId, makeScopedOverrideId, migrateNotebookVocabulary, parseCsvLine, parseFrontmatterDateMs, parseNoteMarkdown, promoteNoteToNotebooks, promoteReferencedOverridesToNotebook, publishFeedFromStorage, qrInlineScript, readFrontmatterMeta, registerLanguagePack, removeNoteFromNotebook, renderFeedLandingHtml, resolveScopedPropertyCatalog, saveScopedPropertyOverride, seedNoteId, sessionToCsv, setNoteNotebooks, splitCsvRecords, telemetryBundleToCsv, unregisterLanguagePack };
511
+ export { APP_ORIGIN, BUILD_TIME, type FeedLandingData, FeedTree, FeedTreeReader, GIT_SHA, type LandingNote, type LandingNotebook, type LanguagePack, type LanguagePackIdentity, type LanguagePackLangSlice, type LanguagePackUiSlice, NOTE_ID_FRONTMATTER_KEY, type NoteIdentity, NotebookIndex, PUBLISHED_FEED_META_KEY, type ParsedNoteMarkdown, type PromoteNoteResult, type PromoteNoteToNotebooksInput, type PropertyInheritanceMode, type PropertyResolutionContext, type PublishFeedOptions, type PublishFeedReport, type PublishedFeedCheckpoint, QR_SCRIPT_ID, type ResolvedScopedCatalog, SEMVER, SESSION_CSV_HEADER, type SaveScopedPropertyOverrideInput, type SeedChunkResult, type SeedChunkWrite, SeedManifest, SeedMetaRecord, SeedRow, type SessionImportRows, TELEMETRY_CSV_HEADER, type TypedTagItem, type UnpublishedFeedStatus, VERSION, applySeedChunk, applySeedChunks, assertNotebookIndex, assertSeedManifest, assertSeedRow, assertSeedRows, backfillFeedProvenance, checkUnpublishedFeedChanges, composeNoteMarkdown, createUserNotebookLanding, csvToEquipmentLabels, csvToSessionRows, csvToTelemetryBundle, defineLanguagePack, effortToMarkdown, equipmentToCsv, equipmentToMarkdown, extractNoteIdentity, extractTypedTags, getNoteNotebooks, getRegisteredLanguagePacks, inMemoryEventStore, injectIdentityFrontmatter, listLanguagePacks, listScopedPropertyOverrides, makeNotebookLinkId, makeScopedOverrideId, migrateNotebookVocabulary, parseCsvLine, parseFrontmatterDateMs, parseNoteMarkdown, promoteNoteToNotebooks, promoteReferencedOverridesToNotebook, publishFeedFromStorage, qrInlineScript, readFrontmatterMeta, recordPublishedFeedCheckpoint, registerLanguagePack, removeNoteFromNotebook, renderFeedLandingHtml, resolveScopedPropertyCatalog, saveScopedPropertyOverride, seedNoteId, sessionToCsv, setNoteNotebooks, splitCsvRecords, telemetryBundleToCsv, unregisterLanguagePack };
package/dist/index.d.ts CHANGED
@@ -4,8 +4,8 @@ import { IRealtimeProcessor, ISummaryProcessor, IEffort, IEquipment, ReferenceIn
4
4
  export { ABSENT, AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AmrapLogicStrategy, AnalyticsContext, AnalyticsEngine, AnalyticsProfileContext, AnalyticsResult, AnalyticsTransformer, BUILTIN_CALCS, BUNDLED_EFFORT_COUNT, BehaviorContext, BehaviorEventListener, BehaviorEventType, BlockBuilder, BlockContext, BlockLifecycleOptions, ButtonBehavior, CONSUMED_HINTS, CONSUMED_HINT_KEYS, CONTEXT_ATOMS, CalcDefinition, CalcEngine, CalcOrigin, CalcScope, CalculationDefinition, CalculationRegistry, CardioDialect, ChildSelectionBehavior, ChildrenStrategy, ChoiceGroupMetric, ClimbDialect, ClimbMetricType, CompletionDecision, CountdownTimerBehavior, CountupTimerBehavior, CrossFitDialect, DAY, DEFAULT_RESOLVER_OPTIONS, DEFAULT_RUNTIME_OPTIONS, DEFAULT_SOUND_PROFILE, DEFAULT_UNRESOLVED_EFFORT_MET, DIM_LENGTH, DIM_MASS, DIM_TIME, DIM_ZERO, DayRollup, DialectStack, DimVector, EFFORT_DATA_METRIC_TYPE, EFFORT_REGISTRY_ORIGINS, EffortBaseAttributes, EffortDerivation, EffortFallbackStrategy, EffortRegistrySource, EffortResolutionOptions, EffortResolver, EffortResolverOptions, ErrorAction, EventBus, EventCallback, EventHandlerOptions, ExecutionContext, ExecutionStatus, ExitBehavior, ExprNode, FixtureSyntaxError, GenericGroupStrategy, GenericLoopStrategy, GenericTimerStrategy, HabitsDialect, IAnalyticsEngine, IAnalyticsProcessorDescriptor, IAnalyticsProfile, IAnchorValue, IBehaviorContext, IBlockContext, ICastSubscription, IEffort, IEffortRegistry, IEffortResolver, IEvent, IEventBus, IEventHandler, IJitCompiler, ILookupTable, IMemoryLocation, IMemoryReference, IMetricPresentationPolicy, INTENSITY_TIERS, INowProvider, IRealtimeProcessor, IRuntimeAction, IRuntimeActionable, IRuntimeBehavior, IRuntimeBlock, IRuntimeBlockStrategy, IRuntimeClock, IRuntimeEventProvider, IRuntimeFactory, IRuntimeMemory, IRuntimeStack, IRuntimeSubscription, IScript, IScriptRuntime, ISummaryProcessor, InMemoryEffortRegistry, IntensityTier, InterceptMode, IntervalLogicStrategy, JitCompiler, LabelingBehavior, LineFormScope, LiteralKind, LiveRoundSplitRow, LiveSessionTelemetryFrame, LiveSummaryMetric, LocalRuntimeSubscription, LookupRegistry, MAX_TAG_CONTRIBUTION_DEPTH, MatchMode, MdTimerRuntime, MemoryEntry, MemoryLocation, MemoryTag, MemoryTypeEnum, MetricLine, MetricPresentationSurface, MetricPresentationToken, MetricRenderKind, MetricTone, MetricVisibility, MockClock, NextEvent, OutputEmitter, OutputListener, PRODUCTION_STRATEGIES, PopBlockAction, ProjectedRepTarget, ProjectedSecondaryTimer, ProjectionResult, PropertyRuleInput, PropertySourceLayer, PushBlockAction, RegisterEventHandlerAction, Registry, ReportOutputBehavior, ReportOutputStrategy, ResolvedEffort, ResolvedEffortData, ResolvedTagContributions, RoundState, RoundsMetric, RuntimeAdapter, RuntimeBlock, RuntimeBlockOptions, RuntimeClock, RuntimeController, RuntimeError, RuntimeFactory, RuntimeLogger, RuntimeMemory, RuntimeObservers, RuntimeStack, RuntimeStackOptions, SEED_PRECEDENCE_RANK, SOUND_PLAY_EVENT, SOUND_PROFILE_METRIC, STORE_CALCS, STREAM_ATOMS, ScriptOutlineNode, ScriptOutlineStatus, ScriptRuntime, ScriptRuntimeDependencies, SeedPrecedenceTier, SegmentWithMetadata, SerializedTimerSpan, SessionClockFrame, SessionClockInputSignal, SessionClockProjectionOptions, SessionExecutionStatus, SessionRootStrategy, SessionVisualPolarity, ShakeOutResult, SkippedDependencyDiagnostic, SnapshotClock, SoundProfile, SoundProfileBehavior, SoundRule, SoundStrategy, SoundTriggerAnchor, SoundTriggerPoint, StackEvent, StackListener, StackObserver, StackSnapshot, StackedDashboardWidgetDescriptor, StandardAnalyticsProfile, StartSessionAction, StartSessionOptions, StartWorkoutAction, StatementMetricDiff, SubscribeOptions, SubscriptionManager, TAG_MARKER_PREFIX, TestableBlockConfig, TimeSpan, TimerState, TwoPassEffortResolutionProcess, TypedMemoryReference, UNITS, UnitsDialect, UnregisterEventHandlerAction, Unsubscribe, VISIBILITY_ICONS, VISIBILITY_LABELS, Val, WhiteboardScript, WodDialect, YogaDialect, buildTooltip, bundledEfforts, calculateDuration, calculateElapsed, canonicalizeType, collapseUnresolvedChoices, compareStatement, compileLineForm, compilePropertySummaryCalcs, compoundName, computeColumnLabel, computeLabel, computeWorkloadRollups, createAnalyticsEngineForBlock, createCalcEngine, createCompiler, createDialectStack, createMetricPresentationPolicy, createMockClock, createParser, dailySessionLoads, dayBucket, dedupeEntitiesByPrecedence, dialectRegistry, dialectStack, diffStatement, evaluate, extractMetrics, extractPropertyRulesFromMeta, extractStatements, extractTagPropertyRules, findBestFuzzyMatch, findTagContributionCycles, findUnresolvedChoices, formatDurationCompact, formatDurationSmart, formatSecondsHHMMSS, formatSecondsMMSS, formatSoundTrigger, formatTime, formatTimeHHMMSS, formatTimeMMSS, formatTimePrecise, formatTimestamp, frozenNow, getAnalyticsFromLogs, getAnalyticsFromRuntime, getHints, getMetricVisibility, getRuntimeNowMs, hasHint, hintMetric, hintsToContainer, interpolateSessionClockFrame, isCastSubscription, isChoiceResolved, isRequiredCountdownLocked, isTimeLikeMetric, isWithinThreshold, levenshteinDistance, metricPresentation, normalizeForFuzzy, observeSessionClockInputs, outputNodeId, outputNodeIds, parseCalcLine, parseExpression, parseMetricLine, parseScript, parseSoundTrigger, projectLiveSessionTelemetry, projectScriptOutline, projectSessionClock, realtimeProcessorRegistry, renderMetric, resolveEntityRank, resolveEntityTier, resolveProfileRules, resolvePropertyDashboardWidgets, resolveSoundProfile, resolveSourceRank, resolveSourceTier, resolveTagContributions, resolveVisualPolarity, roundToTenth, runMetricShakeOutQueue, strategyRegistry, summaryProcessorRegistry, synthesizeWorkoutFormat, tagContributionMetrics, tagMarkerSlug, tagMarkerSlugs, tagMarkerType, toStoredOutputStatement, truthy, wallClockNow, whiteboardParser, whiteboardScript, whiteboardScriptLanguage, writeChoiceSelection } from '@bitcobblers/wod-wiki-lang';
5
5
  import { EventStore } from '@bitcobblers/wod-wiki-wql';
6
6
  export { Aggregator, AnyParsedQuery, BlockQueryStore, BuildScopedDashboardOptions, ComparisonOp, DASHBOARD_GRID_MAX_COLS, DASHBOARD_WIDGET_TYPES, DEFAULT_DASHBOARD_TITLE, DEFAULT_NOTEBOOK_SLUGS, DashboardDocument, DashboardMeta, DashboardToken, DashboardWidget, EffortQueryStore, EntityScopeDescriptor, EntityScopeKind, EventStore, FeedCatalogQueryStore, FindOptions, FindPredicate, FindQueryResult, MetricPredicate, NoteQueryStore, NotebookId, PLANNED_WIDGET_TYPES, ParseQueryBlockOptions, ParsedAggregateQuery, ParsedFindQuery, ParsedPipelineQuery, ParsedRowsQuery, PipelineSink, PipelineSource, QueryBlockObject, QueryOptions, QueryResult, QuerySeriesSpec, QueryService, QueryServiceStores, QuerySortSpec, QueryViewKind, QueryWidgetSuffix, QueryWindow, ResolveEntityScopeInput, RowsQueryResult, RowsRun, ScalarOrParam, Series, SeriesPoint, TagFilter, TagValue, WQL_AGGREGATORS, WQL_CALC_TARGETS, WQL_CHART_HEADS, WQL_COMPARISON_OPS, WQL_CONTENT_FILTER_KEYS, WQL_DISPLAY_UNITS, WQL_FIND_TARGETS, WQL_FUNCTION_HEADS, WQL_GRAINS, WQL_INTENSITY_TIERS, WQL_KEYWORDS, WQL_METRIC_AGGREGATES, WQL_METRIC_FAMILIES, WQL_RESULT_PLANES, WQL_ROLLUP_PERIODS, WQL_SOURCES, WQL_SOURCE_HEADS, WQL_SOURCE_VALUES, WQL_STANDARD_DATASETS, WQL_TAG_KEYS, WQL_TYPED_TAG_KEYS, WQL_VIRTUAL_DIMS, WqlChartHead, WqlFindTarget, WqlSourceValue, bindQueryParams, buildDashboardDocument, buildDashboardFromScope, buildDashboardScaffold, buildWidgetsForWqlScope, collectQueryBlockParams, collectQueryParams, dashboardSlug, defaultTokenValues, extractDashboardTokens, extractNoteWqlOverride, isAggregateQuery, isDashboardMeta, isDashboardWidgetType, isDefaultShorthandQueryBlock, isFindQuery, isNoteEditable, isPipelineQuery, isYamlQueryBlockBody, normalizeWql, notebookOfItem, notebookSlugFromId, notebooksOfItem, parseFilterFragment, parseQuery, parseQueryBlock, parseQueryWidgetSuffix, parseWqlSuffixes, queryBlockAttributes, queryBlockToDocumentText, resolveEntityScope, resolveWidgetType, serialize, serializeQueryBlock, serializeQueryBlockFence, splitAtWhere, substituteTokens, toNotebookId, unknownTokensMessage, unknownWidgetTypeMessage, wql, wqlLanguage, wqlParser, wqlTerms } from '@bitcobblers/wod-wiki-wql';
7
- import { a as SeedRow, b as SeedManifest, c as SeedMetaRecord, N as NotebookIndex, d as FeedTreeReader, F as FeedTree } from './ir-CKImc4T0.js';
8
- export { C as CANVAS_CHUNK_ID, e as ChunkKind, f as CorpusIRData, D as DASHBOARDS_CHUNK_ID, g as DirectoryHandleFeedTree, E as EFFORTS_CHUNK_ID, h as EQUIPMENT_CHUNK_ID, i as ExecutionLog, j as FeedFileStat, k as FeedPath, l as FeedTreeError, m as FeedTreeErrorCode, n as FeedTreeWriter, o as FetchLike, p as FileSystemDirectoryHandleLike, q as FileSystemFileHandleLike, r as FileSystemWritableLike, H as HttpFeedTree, I as IrKind, M as ManifestChunk, s as MemoryFeedTree, t as MetricNode, u as NotebookIndexSummary, v as PortabilityImportReport, P as PortableFileEntry, w as PrepareJournalSessionRunInput, x as PreparedJournalSessionRun, R as ResolvedUpstreamProvenance, y as SEED_BROADCAST_CHANNEL, z as SEED_NAMESPACE, A as SEED_REGISTERED_WIDGETS, B as SEED_SCHEMA, G as SeedRecordRef, S as StatementNode, W as WodWikiIRFile, J as buildNoteProvenance, K as buildStatementTree, L as canvasRouteSlug, O as cloneRemoteRecord, Q as createIRFile, T as decodeUtf8, U as emptySeedMeta, V as encodeUtf8, X as exportPortableFilesFromStorage, Y as feedIdOfMetaKey, Z as getNotePublicationSummary, _ as ingestPortableFilesIntoStorage, $ as isIRFile, a0 as normalizeFeedTreePath, a1 as notebookSlugForChunkId, a2 as prepareJournalSessionRun, a3 as previewRemoteNotebook, a4 as previewRemoteRecord, a5 as resolveUpstreamProvenance, a6 as seedMetaKey, a7 as seedNoteSourceId, a8 as seedPrecedenceRank, a9 as seedSourceTier, aa as setNotebookPublic, ab as setSessionPublic, ac as sha256HexAsync, ad as statementToNode } from './ir-CKImc4T0.js';
7
+ import { b as SeedRow, c as SeedManifest, d as SeedMetaRecord, N as NotebookIndex, e as FeedTreeReader, F as FeedTree } from './ir-CQnh_Tid.js';
8
+ export { C as CANVAS_CHUNK_ID, f as ChunkKind, g as CorpusIRData, D as DASHBOARDS_CHUNK_ID, h as DirectoryHandleFeedTree, E as EFFORTS_CHUNK_ID, i as EQUIPMENT_CHUNK_ID, j as ExecutionLog, k as FEED_SUBSCRIPTIONS_META_KEY, l as FeedFileStat, m as FeedPath, a as FeedSubscriptionEntry, n as FeedSubscriptionsMetaRecord, o as FeedTreeError, p as FeedTreeErrorCode, q as FeedTreeWriter, r as FetchLike, s as FileSystemDirectoryHandleLike, t as FileSystemFileHandleLike, u as FileSystemWritableLike, H as HttpFeedTree, I as IrKind, M as ManifestChunk, v as MemoryFeedTree, w as MetricNode, x as NotebookIndexSummary, y as PortabilityImportReport, P as PortableFileEntry, z as PrepareJournalSessionRunInput, A as PreparedJournalSessionRun, R as ResolvedUpstreamProvenance, B as SEED_BROADCAST_CHANNEL, G as SEED_NAMESPACE, J as SEED_REGISTERED_WIDGETS, K as SEED_SCHEMA, L as SeedRecordRef, S as StatementNode, W as WodWikiIRFile, O as buildNoteProvenance, Q as buildStatementTree, T as canvasRouteSlug, U as cloneRemoteRecord, V as createIRFile, X as decodeUtf8, Y as deleteFeedSourceHeadless, Z as emptySeedMeta, _ as encodeUtf8, $ as exportPortableFilesFromStorage, a0 as feedIdOfMetaKey, a1 as getNotePublicationSummary, a2 as ingestPortableFilesIntoStorage, a3 as isIRFile, a4 as listFeedSubscriptionsHeadless, a5 as normalizeFeedTreePath, a6 as notebookSlugForChunkId, a7 as prepareJournalSessionRun, a8 as previewRemoteNotebook, a9 as previewRemoteRecord, aa as removeSeedSourceContent, ab as resolveUpstreamProvenance, ac as seedMetaKey, ad as seedNoteSourceId, ae as seedPrecedenceRank, af as seedSourceTier, ag as setNotebookPublic, ah as setSessionPublic, ai as sha256HexAsync, aj as statementToNode, ak as subscribeFeedSourceHeadless, al as unsubscribeFeedSourceHeadless } from './ir-CQnh_Tid.js';
9
9
  import { Session, Note, IStorage } from '@bitcobblers/wod-wiki-storage';
10
10
 
11
11
  /**
@@ -187,13 +187,13 @@ declare function csvToTelemetryBundle(csv: string): NoteTelemetryBundleResult;
187
187
  * Auto-generated build version metadata.
188
188
  * Do not edit directly; updated by scripts/stamp-version.ts
189
189
  */
190
- declare const VERSION = "0.59.2236";
191
- declare const GIT_SHA = "7b4743b";
192
- declare const BUILD_TIME = "2026-11-16T04:52:27.639Z";
190
+ declare const VERSION = "0.59.2238";
191
+ declare const GIT_SHA = "9029981";
192
+ declare const BUILD_TIME = "2026-11-16T16:02:29.109Z";
193
193
  declare const SEMVER: {
194
- readonly version: "0.59.2236";
195
- readonly gitSha: "7b4743b";
196
- readonly buildTime: "2026-11-16T04:52:27.639Z";
194
+ readonly version: "0.59.2238";
195
+ readonly gitSha: "9029981";
196
+ readonly buildTime: "2026-11-16T16:02:29.109Z";
197
197
  };
198
198
 
199
199
  declare function seedNoteId(path: string): Promise<string>;
@@ -361,6 +361,8 @@ interface PublishFeedOptions {
361
361
  builtAt?: string;
362
362
  /** Update the storage checkpoint (`publish:local-feed`) on completion (default true when layout === 'feed'). */
363
363
  recordCheckpoint?: boolean;
364
+ /** Optional abort signal to cancel long-running feed compilation on timeout. */
365
+ signal?: AbortSignal;
364
366
  }
365
367
  interface PublishFeedReport {
366
368
  manifest: SeedManifest;
@@ -382,6 +384,8 @@ interface UnpublishedFeedStatus {
382
384
  status: 'added' | 'modified' | 'removed';
383
385
  }>;
384
386
  }
387
+ /** Persist the published-feed checkpoint in the `meta` store after a successful publish/export. */
388
+ declare function recordPublishedFeedCheckpoint(storage: IStorage, report: Pick<PublishFeedReport, 'manifest' | 'manifestSha256'>): Promise<void>;
385
389
  declare function publishFeedFromStorage(storage: IStorage, tree: FeedTree, options?: PublishFeedOptions): Promise<PublishFeedReport>;
386
390
  /**
387
391
  * Compare current public Notebooks & public Sessions in `storage` against the last
@@ -504,4 +508,4 @@ declare function promoteReferencedOverridesToNotebook(storage: IStorage, input:
504
508
  tagSlugs?: Iterable<string>;
505
509
  }): Promise<ScopedPropertyOverride[]>;
506
510
 
507
- export { APP_ORIGIN, BUILD_TIME, type FeedLandingData, FeedTree, FeedTreeReader, GIT_SHA, type LandingNote, type LandingNotebook, type LanguagePack, type LanguagePackIdentity, type LanguagePackLangSlice, type LanguagePackUiSlice, NOTE_ID_FRONTMATTER_KEY, type NoteIdentity, NotebookIndex, PUBLISHED_FEED_META_KEY, type ParsedNoteMarkdown, type PromoteNoteResult, type PromoteNoteToNotebooksInput, type PropertyInheritanceMode, type PropertyResolutionContext, type PublishFeedOptions, type PublishFeedReport, type PublishedFeedCheckpoint, QR_SCRIPT_ID, type ResolvedScopedCatalog, SEMVER, SESSION_CSV_HEADER, type SaveScopedPropertyOverrideInput, type SeedChunkResult, type SeedChunkWrite, SeedManifest, SeedMetaRecord, SeedRow, type SessionImportRows, TELEMETRY_CSV_HEADER, type TypedTagItem, type UnpublishedFeedStatus, VERSION, applySeedChunk, applySeedChunks, assertNotebookIndex, assertSeedManifest, assertSeedRow, assertSeedRows, backfillFeedProvenance, checkUnpublishedFeedChanges, composeNoteMarkdown, createUserNotebookLanding, csvToEquipmentLabels, csvToSessionRows, csvToTelemetryBundle, defineLanguagePack, effortToMarkdown, equipmentToCsv, equipmentToMarkdown, extractNoteIdentity, extractTypedTags, getNoteNotebooks, getRegisteredLanguagePacks, inMemoryEventStore, injectIdentityFrontmatter, listLanguagePacks, listScopedPropertyOverrides, makeNotebookLinkId, makeScopedOverrideId, migrateNotebookVocabulary, parseCsvLine, parseFrontmatterDateMs, parseNoteMarkdown, promoteNoteToNotebooks, promoteReferencedOverridesToNotebook, publishFeedFromStorage, qrInlineScript, readFrontmatterMeta, registerLanguagePack, removeNoteFromNotebook, renderFeedLandingHtml, resolveScopedPropertyCatalog, saveScopedPropertyOverride, seedNoteId, sessionToCsv, setNoteNotebooks, splitCsvRecords, telemetryBundleToCsv, unregisterLanguagePack };
511
+ export { APP_ORIGIN, BUILD_TIME, type FeedLandingData, FeedTree, FeedTreeReader, GIT_SHA, type LandingNote, type LandingNotebook, type LanguagePack, type LanguagePackIdentity, type LanguagePackLangSlice, type LanguagePackUiSlice, NOTE_ID_FRONTMATTER_KEY, type NoteIdentity, NotebookIndex, PUBLISHED_FEED_META_KEY, type ParsedNoteMarkdown, type PromoteNoteResult, type PromoteNoteToNotebooksInput, type PropertyInheritanceMode, type PropertyResolutionContext, type PublishFeedOptions, type PublishFeedReport, type PublishedFeedCheckpoint, QR_SCRIPT_ID, type ResolvedScopedCatalog, SEMVER, SESSION_CSV_HEADER, type SaveScopedPropertyOverrideInput, type SeedChunkResult, type SeedChunkWrite, SeedManifest, SeedMetaRecord, SeedRow, type SessionImportRows, TELEMETRY_CSV_HEADER, type TypedTagItem, type UnpublishedFeedStatus, VERSION, applySeedChunk, applySeedChunks, assertNotebookIndex, assertSeedManifest, assertSeedRow, assertSeedRows, backfillFeedProvenance, checkUnpublishedFeedChanges, composeNoteMarkdown, createUserNotebookLanding, csvToEquipmentLabels, csvToSessionRows, csvToTelemetryBundle, defineLanguagePack, effortToMarkdown, equipmentToCsv, equipmentToMarkdown, extractNoteIdentity, extractTypedTags, getNoteNotebooks, getRegisteredLanguagePacks, inMemoryEventStore, injectIdentityFrontmatter, listLanguagePacks, listScopedPropertyOverrides, makeNotebookLinkId, makeScopedOverrideId, migrateNotebookVocabulary, parseCsvLine, parseFrontmatterDateMs, parseNoteMarkdown, promoteNoteToNotebooks, promoteReferencedOverridesToNotebook, publishFeedFromStorage, qrInlineScript, readFrontmatterMeta, recordPublishedFeedCheckpoint, registerLanguagePack, removeNoteFromNotebook, renderFeedLandingHtml, resolveScopedPropertyCatalog, saveScopedPropertyOverride, seedNoteId, sessionToCsv, setNoteNotebooks, splitCsvRecords, telemetryBundleToCsv, unregisterLanguagePack };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { APP_ORIGIN, BUILD_TIME, CANVAS_CHUNK_ID, DASHBOARDS_CHUNK_ID, DirectoryHandleFeedTree, EFFORTS_CHUNK_ID, EQUIPMENT_CHUNK_ID, FeedTreeError, GIT_SHA, HttpFeedTree, MemoryFeedTree, NOTE_ID_FRONTMATTER_KEY, PUBLISHED_FEED_META_KEY, QR_SCRIPT_ID, SEED_BROADCAST_CHANNEL, SEED_NAMESPACE, SEED_REGISTERED_WIDGETS, SEED_SCHEMA, SEMVER, SESSION_CSV_HEADER, TELEMETRY_CSV_HEADER, VERSION, applySeedChunk, applySeedChunks, assertNotebookIndex, assertSeedManifest, assertSeedRow, assertSeedRows, backfillFeedProvenance, buildNoteProvenance, buildStatementTree, canvasRouteSlug, checkUnpublishedFeedChanges, cloneRemoteRecord, composeNoteMarkdown, createIRFile, createUserNotebookLanding, csvToEquipmentLabels, csvToSessionRows, csvToTelemetryBundle, decodeUtf8, effortToMarkdown, emptySeedMeta, encodeUtf8, equipmentToCsv, equipmentToMarkdown, exportPortableFilesFromStorage, extractNoteIdentity, extractTypedTags, feedIdOfMetaKey, getNoteNotebooks, getNotePublicationSummary, ingestPortableFilesIntoStorage, injectIdentityFrontmatter, isIRFile, listScopedPropertyOverrides, makeNotebookLinkId, makeScopedOverrideId, migrateNotebookVocabulary, normalizeFeedTreePath, notebookSlugForChunkId, parseCsvLine, parseFrontmatterDateMs, parseNoteMarkdown, prepareJournalSessionRun, previewRemoteNotebook, previewRemoteRecord, promoteNoteToNotebooks, promoteReferencedOverridesToNotebook, publishFeedFromStorage, qrInlineScript, readFrontmatterMeta, removeNoteFromNotebook, renderFeedLandingHtml, resolveScopedPropertyCatalog, resolveUpstreamProvenance, saveScopedPropertyOverride, seedMetaKey, seedNoteId, seedNoteSourceId, seedPrecedenceRank, seedSourceTier, sessionToCsv, setNoteNotebooks, setNotebookPublic, setSessionPublic, sha256HexAsync, splitCsvRecords, statementToNode, telemetryBundleToCsv } from './chunk-KQYTRLW3.mjs';
1
+ export { APP_ORIGIN, BUILD_TIME, CANVAS_CHUNK_ID, DASHBOARDS_CHUNK_ID, DirectoryHandleFeedTree, EFFORTS_CHUNK_ID, EQUIPMENT_CHUNK_ID, FEED_SUBSCRIPTIONS_META_KEY, FeedTreeError, GIT_SHA, HttpFeedTree, MemoryFeedTree, NOTE_ID_FRONTMATTER_KEY, PUBLISHED_FEED_META_KEY, QR_SCRIPT_ID, SEED_BROADCAST_CHANNEL, SEED_NAMESPACE, SEED_REGISTERED_WIDGETS, SEED_SCHEMA, SEMVER, SESSION_CSV_HEADER, TELEMETRY_CSV_HEADER, VERSION, applySeedChunk, applySeedChunks, assertNotebookIndex, assertSeedManifest, assertSeedRow, assertSeedRows, backfillFeedProvenance, buildNoteProvenance, buildStatementTree, canvasRouteSlug, checkUnpublishedFeedChanges, cloneRemoteRecord, composeNoteMarkdown, createIRFile, createUserNotebookLanding, csvToEquipmentLabels, csvToSessionRows, csvToTelemetryBundle, decodeUtf8, deleteFeedSourceHeadless, effortToMarkdown, emptySeedMeta, encodeUtf8, equipmentToCsv, equipmentToMarkdown, exportPortableFilesFromStorage, extractNoteIdentity, extractTypedTags, feedIdOfMetaKey, getNoteNotebooks, getNotePublicationSummary, ingestPortableFilesIntoStorage, injectIdentityFrontmatter, isIRFile, listFeedSubscriptionsHeadless, listScopedPropertyOverrides, makeNotebookLinkId, makeScopedOverrideId, migrateNotebookVocabulary, normalizeFeedTreePath, notebookSlugForChunkId, parseCsvLine, parseFrontmatterDateMs, parseNoteMarkdown, prepareJournalSessionRun, previewRemoteNotebook, previewRemoteRecord, promoteNoteToNotebooks, promoteReferencedOverridesToNotebook, publishFeedFromStorage, qrInlineScript, readFrontmatterMeta, recordPublishedFeedCheckpoint, removeNoteFromNotebook, removeSeedSourceContent, renderFeedLandingHtml, resolveScopedPropertyCatalog, resolveUpstreamProvenance, saveScopedPropertyOverride, seedMetaKey, seedNoteId, seedNoteSourceId, seedPrecedenceRank, seedSourceTier, sessionToCsv, setNoteNotebooks, setNotebookPublic, setSessionPublic, sha256HexAsync, splitCsvRecords, statementToNode, subscribeFeedSourceHeadless, telemetryBundleToCsv, unsubscribeFeedSourceHeadless } from './chunk-YUFWRUL6.mjs';
2
2
  export * from '@bitcobblers/wod-wiki-core';
3
3
  import { dialectRegistry, realtimeProcessorRegistry, summaryProcessorRegistry } from '@bitcobblers/wod-wiki-lang';
4
4
  export { ABSENT, AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AmrapLogicStrategy, AnalyticsEngine, AnalyticsTransformer, BUILTIN_CALCS, BUNDLED_EFFORT_COUNT, BlockBuilder, BlockContext, ButtonBehavior, CONSUMED_HINTS, CONSUMED_HINT_KEYS, CONTEXT_ATOMS, CalcEngine, CalculationRegistry, CardioDialect, ChildSelectionBehavior, ChildrenStrategy, ChoiceGroupMetric, ClimbDialect, ClimbMetricType, CountdownTimerBehavior, CountupTimerBehavior, CrossFitDialect, DAY, DEFAULT_RESOLVER_OPTIONS, DEFAULT_RUNTIME_OPTIONS, DEFAULT_SOUND_PROFILE, DEFAULT_UNRESOLVED_EFFORT_MET, DIM_LENGTH, DIM_MASS, DIM_TIME, DIM_ZERO, DialectStack, EFFORT_DATA_METRIC_TYPE, EFFORT_REGISTRY_ORIGINS, EffortFallbackStrategy, EffortResolver, ErrorAction, EventBus, ExecutionContext, ExitBehavior, FixtureSyntaxError, GenericGroupStrategy, GenericLoopStrategy, GenericTimerStrategy, HabitsDialect, INTENSITY_TIERS, InMemoryEffortRegistry, IntervalLogicStrategy, JitCompiler, LabelingBehavior, LocalRuntimeSubscription, LookupRegistry, MAX_TAG_CONTRIBUTION_DEPTH, MdTimerRuntime, MemoryLocation, MemoryTypeEnum, NextEvent, OutputEmitter, PRODUCTION_STRATEGIES, PopBlockAction, PushBlockAction, RegisterEventHandlerAction, Registry, ReportOutputBehavior, ReportOutputStrategy, RoundsMetric, RuntimeAdapter, RuntimeClock, RuntimeFactory, RuntimeLogger, RuntimeMemory, RuntimeObservers, RuntimeStack, SEED_PRECEDENCE_RANK, SOUND_PLAY_EVENT, SOUND_PROFILE_METRIC, STORE_CALCS, STREAM_ATOMS, ScriptRuntime, SessionRootStrategy, SnapshotClock, SoundProfileBehavior, SoundStrategy, StandardAnalyticsProfile, StartSessionAction, StartWorkoutAction, SubscriptionManager, TAG_MARKER_PREFIX, TimeSpan, TypedMemoryReference, UNITS, UnitsDialect, UnregisterEventHandlerAction, VISIBILITY_ICONS, VISIBILITY_LABELS, WhiteboardScript, WodDialect, YogaDialect, buildTooltip, bundledEfforts, calculateDuration, calculateElapsed, canonicalizeType, collapseUnresolvedChoices, compareStatement, compileLineForm, compilePropertySummaryCalcs, compoundName, computeColumnLabel, computeLabel, computeWorkloadRollups, createAnalyticsEngineForBlock, createCalcEngine, createCompiler, createDialectStack, createMetricPresentationPolicy, createMockClock, createParser, dailySessionLoads, dayBucket, dedupeEntitiesByPrecedence, dialectRegistry, dialectStack, diffStatement, evaluate, extractMetrics, extractPropertyRulesFromMeta, extractStatements, extractTagPropertyRules, findBestFuzzyMatch, findTagContributionCycles, findUnresolvedChoices, formatDurationCompact, formatDurationSmart, formatSecondsHHMMSS, formatSecondsMMSS, formatSoundTrigger, formatTime, formatTimeHHMMSS, formatTimeMMSS, formatTimePrecise, formatTimestamp, frozenNow, getAnalyticsFromLogs, getAnalyticsFromRuntime, getHints, getMetricVisibility, getRuntimeNowMs, hasHint, hintMetric, hintsToContainer, interpolateSessionClockFrame, isCastSubscription, isChoiceResolved, isRequiredCountdownLocked, isTimeLikeMetric, isWithinThreshold, levenshteinDistance, metricPresentation, normalizeForFuzzy, observeSessionClockInputs, outputNodeId, outputNodeIds, parseCalcLine, parseExpression, parseMetricLine, parseScript, parseSoundTrigger, projectLiveSessionTelemetry, projectScriptOutline, projectSessionClock, realtimeProcessorRegistry, renderMetric, resolveEntityRank, resolveEntityTier, resolveProfileRules, resolvePropertyDashboardWidgets, resolveSoundProfile, resolveSourceRank, resolveSourceTier, resolveTagContributions, resolveVisualPolarity, roundToTenth, runMetricShakeOutQueue, strategyRegistry, summaryProcessorRegistry, synthesizeWorkoutFormat, tagContributionMetrics, tagMarkerSlug, tagMarkerSlugs, tagMarkerType, toStoredOutputStatement, truthy, wallClockNow, whiteboardParser, whiteboardScript, whiteboardScriptLanguage, writeChoiceSelection } from '@bitcobblers/wod-wiki-lang';
@@ -242,6 +242,47 @@ declare function ingestPortableFilesIntoStorage(storage: IStorage, files: readon
242
242
  now?: number;
243
243
  }): Promise<PortabilityImportReport>;
244
244
 
245
+ declare const FEED_SUBSCRIPTIONS_META_KEY = "feed:subscriptions";
246
+ interface FeedSubscriptionEntry {
247
+ subscribed: boolean;
248
+ notebookIds?: string[] | null;
249
+ hidden?: boolean;
250
+ url?: string;
251
+ name?: string;
252
+ updatedAt: number;
253
+ }
254
+ interface FeedSubscriptionsMetaRecord {
255
+ key: typeof FEED_SUBSCRIPTIONS_META_KEY;
256
+ entries: Record<string, FeedSubscriptionEntry>;
257
+ }
258
+ /**
259
+ * Remove one seed/feed source's imported notes, tags, index rows, bundled
260
+ * definitions (falling back to the next highest-precedence checkpoint),
261
+ * property overrides, and checkpoint record. User-authored notes are never
262
+ * touched.
263
+ */
264
+ declare function removeSeedSourceContent(storage: IStorage, meta: SeedMetaRecord): Promise<number>;
265
+ declare function listFeedSubscriptionsHeadless(storage: IStorage): Promise<Record<string, FeedSubscriptionEntry>>;
266
+ declare function subscribeFeedSourceHeadless(storage: IStorage, sourceId: string, options?: {
267
+ notebookIds?: string[];
268
+ url?: string;
269
+ name?: string;
270
+ }): Promise<{
271
+ sourceId: string;
272
+ subscribed: true;
273
+ notebookIds: string[] | null;
274
+ }>;
275
+ declare function unsubscribeFeedSourceHeadless(storage: IStorage, sourceId: string): Promise<{
276
+ sourceId: string;
277
+ unsubscribed: true;
278
+ deletedNotes: number;
279
+ }>;
280
+ declare function deleteFeedSourceHeadless(storage: IStorage, sourceId: string): Promise<{
281
+ sourceId: string;
282
+ deleted: true;
283
+ deletedNotes: number;
284
+ }>;
285
+
245
286
  /**
246
287
  * JournalSessionIntake — Deep module owning read-only workout cloning into
247
288
  * `notebook/journal`, atomic Session pinning, and upstream Note provenance
@@ -357,4 +398,4 @@ interface CorpusIRData {
357
398
  tags?: Record<string, string[]>;
358
399
  }
359
400
 
360
- export { isIRFile as $, SEED_REGISTERED_WIDGETS as A, SEED_SCHEMA as B, CANVAS_CHUNK_ID as C, DASHBOARDS_CHUNK_ID as D, EFFORTS_CHUNK_ID as E, type FeedTree as F, type SeedRecordRef as G, HttpFeedTree as H, type IrKind as I, buildNoteProvenance as J, buildStatementTree as K, canvasRouteSlug as L, type ManifestChunk as M, type NotebookIndex as N, cloneRemoteRecord as O, type PortableFileEntry as P, createIRFile as Q, type ResolvedUpstreamProvenance as R, type StatementNode as S, decodeUtf8 as T, emptySeedMeta as U, encodeUtf8 as V, type WodWikiIRFile as W, exportPortableFilesFromStorage as X, feedIdOfMetaKey as Y, getNotePublicationSummary as Z, ingestPortableFilesIntoStorage as _, type SeedRow as a, normalizeFeedTreePath as a0, notebookSlugForChunkId as a1, prepareJournalSessionRun as a2, previewRemoteNotebook as a3, previewRemoteRecord as a4, resolveUpstreamProvenance as a5, seedMetaKey as a6, seedNoteSourceId as a7, seedPrecedenceRank as a8, seedSourceTier as a9, setNotebookPublic as aa, setSessionPublic as ab, sha256HexAsync as ac, statementToNode as ad, type SeedManifest as b, type SeedMetaRecord as c, type FeedTreeReader as d, type ChunkKind as e, type CorpusIRData as f, DirectoryHandleFeedTree as g, EQUIPMENT_CHUNK_ID as h, type ExecutionLog as i, type FeedFileStat as j, type FeedPath as k, FeedTreeError as l, type FeedTreeErrorCode as m, type FeedTreeWriter as n, type FetchLike as o, type FileSystemDirectoryHandleLike as p, type FileSystemFileHandleLike as q, type FileSystemWritableLike as r, MemoryFeedTree as s, type MetricNode as t, type NotebookIndexSummary as u, type PortabilityImportReport as v, type PrepareJournalSessionRunInput as w, type PreparedJournalSessionRun as x, SEED_BROADCAST_CHANNEL as y, SEED_NAMESPACE as z };
401
+ export { exportPortableFilesFromStorage as $, type PreparedJournalSessionRun as A, SEED_BROADCAST_CHANNEL as B, CANVAS_CHUNK_ID as C, DASHBOARDS_CHUNK_ID as D, EFFORTS_CHUNK_ID as E, type FeedTree as F, SEED_NAMESPACE as G, HttpFeedTree as H, type IrKind as I, SEED_REGISTERED_WIDGETS as J, SEED_SCHEMA as K, type SeedRecordRef as L, type ManifestChunk as M, type NotebookIndex as N, buildNoteProvenance as O, type PortableFileEntry as P, buildStatementTree as Q, type ResolvedUpstreamProvenance as R, type StatementNode as S, canvasRouteSlug as T, cloneRemoteRecord as U, createIRFile as V, type WodWikiIRFile as W, decodeUtf8 as X, deleteFeedSourceHeadless as Y, emptySeedMeta as Z, encodeUtf8 as _, type FeedSubscriptionEntry as a, feedIdOfMetaKey as a0, getNotePublicationSummary as a1, ingestPortableFilesIntoStorage as a2, isIRFile as a3, listFeedSubscriptionsHeadless as a4, normalizeFeedTreePath as a5, notebookSlugForChunkId as a6, prepareJournalSessionRun as a7, previewRemoteNotebook as a8, previewRemoteRecord as a9, removeSeedSourceContent as aa, resolveUpstreamProvenance as ab, seedMetaKey as ac, seedNoteSourceId as ad, seedPrecedenceRank as ae, seedSourceTier as af, setNotebookPublic as ag, setSessionPublic as ah, sha256HexAsync as ai, statementToNode as aj, subscribeFeedSourceHeadless as ak, unsubscribeFeedSourceHeadless as al, type SeedRow as b, type SeedManifest as c, type SeedMetaRecord as d, type FeedTreeReader as e, type ChunkKind as f, type CorpusIRData as g, DirectoryHandleFeedTree as h, EQUIPMENT_CHUNK_ID as i, type ExecutionLog as j, FEED_SUBSCRIPTIONS_META_KEY as k, type FeedFileStat as l, type FeedPath as m, type FeedSubscriptionsMetaRecord as n, FeedTreeError as o, type FeedTreeErrorCode as p, type FeedTreeWriter as q, type FetchLike as r, type FileSystemDirectoryHandleLike as s, type FileSystemFileHandleLike as t, type FileSystemWritableLike as u, MemoryFeedTree as v, type MetricNode as w, type NotebookIndexSummary as x, type PortabilityImportReport as y, type PrepareJournalSessionRunInput as z };
@@ -242,6 +242,47 @@ declare function ingestPortableFilesIntoStorage(storage: IStorage, files: readon
242
242
  now?: number;
243
243
  }): Promise<PortabilityImportReport>;
244
244
 
245
+ declare const FEED_SUBSCRIPTIONS_META_KEY = "feed:subscriptions";
246
+ interface FeedSubscriptionEntry {
247
+ subscribed: boolean;
248
+ notebookIds?: string[] | null;
249
+ hidden?: boolean;
250
+ url?: string;
251
+ name?: string;
252
+ updatedAt: number;
253
+ }
254
+ interface FeedSubscriptionsMetaRecord {
255
+ key: typeof FEED_SUBSCRIPTIONS_META_KEY;
256
+ entries: Record<string, FeedSubscriptionEntry>;
257
+ }
258
+ /**
259
+ * Remove one seed/feed source's imported notes, tags, index rows, bundled
260
+ * definitions (falling back to the next highest-precedence checkpoint),
261
+ * property overrides, and checkpoint record. User-authored notes are never
262
+ * touched.
263
+ */
264
+ declare function removeSeedSourceContent(storage: IStorage, meta: SeedMetaRecord): Promise<number>;
265
+ declare function listFeedSubscriptionsHeadless(storage: IStorage): Promise<Record<string, FeedSubscriptionEntry>>;
266
+ declare function subscribeFeedSourceHeadless(storage: IStorage, sourceId: string, options?: {
267
+ notebookIds?: string[];
268
+ url?: string;
269
+ name?: string;
270
+ }): Promise<{
271
+ sourceId: string;
272
+ subscribed: true;
273
+ notebookIds: string[] | null;
274
+ }>;
275
+ declare function unsubscribeFeedSourceHeadless(storage: IStorage, sourceId: string): Promise<{
276
+ sourceId: string;
277
+ unsubscribed: true;
278
+ deletedNotes: number;
279
+ }>;
280
+ declare function deleteFeedSourceHeadless(storage: IStorage, sourceId: string): Promise<{
281
+ sourceId: string;
282
+ deleted: true;
283
+ deletedNotes: number;
284
+ }>;
285
+
245
286
  /**
246
287
  * JournalSessionIntake — Deep module owning read-only workout cloning into
247
288
  * `notebook/journal`, atomic Session pinning, and upstream Note provenance
@@ -357,4 +398,4 @@ interface CorpusIRData {
357
398
  tags?: Record<string, string[]>;
358
399
  }
359
400
 
360
- export { isIRFile as $, SEED_REGISTERED_WIDGETS as A, SEED_SCHEMA as B, CANVAS_CHUNK_ID as C, DASHBOARDS_CHUNK_ID as D, EFFORTS_CHUNK_ID as E, type FeedTree as F, type SeedRecordRef as G, HttpFeedTree as H, type IrKind as I, buildNoteProvenance as J, buildStatementTree as K, canvasRouteSlug as L, type ManifestChunk as M, type NotebookIndex as N, cloneRemoteRecord as O, type PortableFileEntry as P, createIRFile as Q, type ResolvedUpstreamProvenance as R, type StatementNode as S, decodeUtf8 as T, emptySeedMeta as U, encodeUtf8 as V, type WodWikiIRFile as W, exportPortableFilesFromStorage as X, feedIdOfMetaKey as Y, getNotePublicationSummary as Z, ingestPortableFilesIntoStorage as _, type SeedRow as a, normalizeFeedTreePath as a0, notebookSlugForChunkId as a1, prepareJournalSessionRun as a2, previewRemoteNotebook as a3, previewRemoteRecord as a4, resolveUpstreamProvenance as a5, seedMetaKey as a6, seedNoteSourceId as a7, seedPrecedenceRank as a8, seedSourceTier as a9, setNotebookPublic as aa, setSessionPublic as ab, sha256HexAsync as ac, statementToNode as ad, type SeedManifest as b, type SeedMetaRecord as c, type FeedTreeReader as d, type ChunkKind as e, type CorpusIRData as f, DirectoryHandleFeedTree as g, EQUIPMENT_CHUNK_ID as h, type ExecutionLog as i, type FeedFileStat as j, type FeedPath as k, FeedTreeError as l, type FeedTreeErrorCode as m, type FeedTreeWriter as n, type FetchLike as o, type FileSystemDirectoryHandleLike as p, type FileSystemFileHandleLike as q, type FileSystemWritableLike as r, MemoryFeedTree as s, type MetricNode as t, type NotebookIndexSummary as u, type PortabilityImportReport as v, type PrepareJournalSessionRunInput as w, type PreparedJournalSessionRun as x, SEED_BROADCAST_CHANNEL as y, SEED_NAMESPACE as z };
401
+ export { exportPortableFilesFromStorage as $, type PreparedJournalSessionRun as A, SEED_BROADCAST_CHANNEL as B, CANVAS_CHUNK_ID as C, DASHBOARDS_CHUNK_ID as D, EFFORTS_CHUNK_ID as E, type FeedTree as F, SEED_NAMESPACE as G, HttpFeedTree as H, type IrKind as I, SEED_REGISTERED_WIDGETS as J, SEED_SCHEMA as K, type SeedRecordRef as L, type ManifestChunk as M, type NotebookIndex as N, buildNoteProvenance as O, type PortableFileEntry as P, buildStatementTree as Q, type ResolvedUpstreamProvenance as R, type StatementNode as S, canvasRouteSlug as T, cloneRemoteRecord as U, createIRFile as V, type WodWikiIRFile as W, decodeUtf8 as X, deleteFeedSourceHeadless as Y, emptySeedMeta as Z, encodeUtf8 as _, type FeedSubscriptionEntry as a, feedIdOfMetaKey as a0, getNotePublicationSummary as a1, ingestPortableFilesIntoStorage as a2, isIRFile as a3, listFeedSubscriptionsHeadless as a4, normalizeFeedTreePath as a5, notebookSlugForChunkId as a6, prepareJournalSessionRun as a7, previewRemoteNotebook as a8, previewRemoteRecord as a9, removeSeedSourceContent as aa, resolveUpstreamProvenance as ab, seedMetaKey as ac, seedNoteSourceId as ad, seedPrecedenceRank as ae, seedSourceTier as af, setNotebookPublic as ag, setSessionPublic as ah, sha256HexAsync as ai, statementToNode as aj, subscribeFeedSourceHeadless as ak, unsubscribeFeedSourceHeadless as al, type SeedRow as b, type SeedManifest as c, type SeedMetaRecord as d, type FeedTreeReader as e, type ChunkKind as f, type CorpusIRData as g, DirectoryHandleFeedTree as h, EQUIPMENT_CHUNK_ID as i, type ExecutionLog as j, FEED_SUBSCRIPTIONS_META_KEY as k, type FeedFileStat as l, type FeedPath as m, type FeedSubscriptionsMetaRecord as n, FeedTreeError as o, type FeedTreeErrorCode as p, type FeedTreeWriter as q, type FetchLike as r, type FileSystemDirectoryHandleLike as s, type FileSystemFileHandleLike as t, type FileSystemWritableLike as u, MemoryFeedTree as v, type MetricNode as w, type NotebookIndexSummary as x, type PortabilityImportReport as y, type PrepareJournalSessionRunInput as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitcobblers/wod-wiki-engine",
3
- "version": "0.59.2236",
3
+ "version": "0.59.2238",
4
4
  "description": "Umbrella package for Whiteboard Language & WQL engine",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -30,10 +30,10 @@
30
30
  "access": "public"
31
31
  },
32
32
  "dependencies": {
33
- "@bitcobblers/wod-wiki-core": "^0.59.2236",
34
- "@bitcobblers/wod-wiki-lang": "^0.59.2236",
35
- "@bitcobblers/wod-wiki-storage": "^0.59.2236",
36
- "@bitcobblers/wod-wiki-wql": "^0.59.2236",
33
+ "@bitcobblers/wod-wiki-core": "^0.59.2238",
34
+ "@bitcobblers/wod-wiki-lang": "^0.59.2238",
35
+ "@bitcobblers/wod-wiki-storage": "^0.59.2238",
36
+ "@bitcobblers/wod-wiki-wql": "^0.59.2238",
37
37
  "@codemirror/autocomplete": "^6.0.0",
38
38
  "@codemirror/language": "^6.0.0",
39
39
  "@lezer/common": "^1.0.0",